struct Apps::Google::EnumValueOptions
- Apps::Google::EnumValueOptions
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
pb-Apps/descriptor.pb.crConstant Summary
-
FIELDS =
{1 => {name: :deprecated, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: false, 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), uninterpreted_option : Array(UninterpretedOption) | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #deprecated : Bool | Nil
- #deprecated=(deprecated : Bool | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #uninterpreted_option : Array(UninterpretedOption) | Nil
- #uninterpreted_option=(uninterpreted_option : Array(UninterpretedOption) | Nil)
Constructor Detail
def self.new(deprecated : Bool | Nil = false.as(Bool), uninterpreted_option : Array(UninterpretedOption) | Nil = nil)
#