MethodOptions_IdempotencyLevel.php 917 Bytes
Newer Older
1 2 3 4
<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/protobuf/descriptor.proto

5 6
namespace Google\Protobuf\Internal;

7 8 9 10 11
/**
 * Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
 * or neither? HTTP based RPC implementation may choose GET verb for safe
 * methods, and PUT verb for idempotent methods instead of the default POST.
 *
12
 * Protobuf enum <code>Google\Protobuf\Internal</code>
13 14 15 16
 */
class MethodOptions_IdempotencyLevel
{
    /**
17
     * Generated from protobuf enum <code>IDEMPOTENCY_UNKNOWN = 0;</code>
18 19 20 21 22
     */
    const IDEMPOTENCY_UNKNOWN = 0;
    /**
     * implies idempotent
     *
23
     * Generated from protobuf enum <code>NO_SIDE_EFFECTS = 1;</code>
24 25 26 27 28
     */
    const NO_SIDE_EFFECTS = 1;
    /**
     * idempotent, but may have side effects
     *
29
     * Generated from protobuf enum <code>IDEMPOTENT = 2;</code>
30 31 32 33
     */
    const IDEMPOTENT = 2;
}