struct Google::Protobuf::MethodOptions
- Google::Protobuf::MethodOptions
- Struct
- Value
- Object
Included Modules
Defined in:
protobufs/descriptor.pb.crConstant Summary
-
FIELDS =
{33 => {name: :deprecated, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: false, packed: false}, 34 => {name: :idempotency_level, pb_type: MethodOptions::IdempotencyLevel, crystal_type: MethodOptions::IdempotencyLevel, cast_type: MethodOptions::IdempotencyLevel?, native: false, optional: true, repeated: false, default: MethodOptions::IdempotencyLevel::IDEMPOTENCYUNKNOWN, packed: false}, 999 => {name: :uninterpreted_option, pb_type: UninterpretedOption, crystal_type: UninterpretedOption, cast_type: Array(UninterpretedOption)?, native: false, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(buf : ::Protobuf::Buffer)
- .new(deprecated : Bool | Nil = false.as(Bool), idempotency_level : MethodOptions::IdempotencyLevel | Nil = MethodOptions::IdempotencyLevel::IDEMPOTENCYUNKNOWN.as(MethodOptions::IdempotencyLevel), uninterpreted_option : Array(UninterpretedOption) | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #deprecated : Bool | Nil
- #deprecated=(deprecated : Bool | Nil)
- #idempotency_level : MethodOptions::IdempotencyLevel | Nil
- #idempotency_level=(idempotency_level : MethodOptions::IdempotencyLevel | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #uninterpreted_option : Array(UninterpretedOption) | Nil
- #uninterpreted_option=(uninterpreted_option : Array(UninterpretedOption) | Nil)
Instance methods inherited from module Protobuf::Message
to_slice : Bytes
to_slice
Constructor Detail
def self.new(deprecated : Bool | Nil = false.as(Bool), idempotency_level : MethodOptions::IdempotencyLevel | Nil = MethodOptions::IdempotencyLevel::IDEMPOTENCYUNKNOWN.as(MethodOptions::IdempotencyLevel), uninterpreted_option : Array(UninterpretedOption) | Nil = nil)
#