| OLD | NEW |
| (Empty) |
| 1 <?php | |
| 2 # Generated by the protocol buffer compiler. DO NOT EDIT! | |
| 3 # source: google/protobuf/descriptor.proto | |
| 4 | |
| 5 /** | |
| 6 * <pre> | |
| 7 * Is this method side-effect-free (or safe in HTTP parlance), or idempotent, | |
| 8 * or neither? HTTP based RPC implementation may choose GET verb for safe | |
| 9 * methods, and PUT verb for idempotent methods instead of the default POST. | |
| 10 * </pre> | |
| 11 * | |
| 12 * Protobuf enum <code>google.protobuf.MethodOptions.IdempotencyLevel</code> | |
| 13 */ | |
| 14 namespace Google\Protobuf\Internal; | |
| 15 | |
| 16 class MethodOptions_IdempotencyLevel | |
| 17 { | |
| 18 /** | |
| 19 * <code>IDEMPOTENCY_UNKNOWN = 0;</code> | |
| 20 */ | |
| 21 const IDEMPOTENCY_UNKNOWN = 0; | |
| 22 /** | |
| 23 * <pre> | |
| 24 * implies idempotent | |
| 25 * </pre> | |
| 26 * | |
| 27 * <code>NO_SIDE_EFFECTS = 1;</code> | |
| 28 */ | |
| 29 const NO_SIDE_EFFECTS = 1; | |
| 30 /** | |
| 31 * <pre> | |
| 32 * idempotent, but may have side effects | |
| 33 * </pre> | |
| 34 * | |
| 35 * <code>IDEMPOTENT = 2;</code> | |
| 36 */ | |
| 37 const IDEMPOTENT = 2; | |
| 38 } | |
| 39 | |
| OLD | NEW |