Skip to main content

Enumeration: IdempotencyLevel

protobuf.MethodOptions.IdempotencyLevel

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.

Enumeration Members

IDEMPOTENCY_UNKNOWN

IDEMPOTENCY_UNKNOWN = 0


IDEMPOTENT

IDEMPOTENT = 2


NO_SIDE_EFFECTS

NO_SIDE_EFFECTS = 1