MethodOptions

Types

Link copied to clipboard
sealed class IdempotencyLevel(val number: Int)

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.

Properties

Link copied to clipboard
abstract val deprecated: Boolean

Note: Field numbers 1 through 32 are reserved for Google's internal RPC framework. We apologize for hoarding these numbers to ourselves, but we were already using them long before we decided to release Protocol Buffers.

Link copied to clipboard
abstract val features: FeatureSet

Any features defined in the specific edition. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.

Link copied to clipboard
Link copied to clipboard

Returns the field-presence view for this com.google.protobuf.kotlin.MethodOptions instance.

Link copied to clipboard

The parser stores options it doesn't recognize here. See above.

Functions

Link copied to clipboard
fun MethodOptions.copy(body: ERROR CLASS: Symbol not found for MethodOptions.Builder.() -> Unit = {}): MethodOptions

Copies the original message, including unknown fields.