struct

Protobuf::CodeGeneratorRequest::ServiceOptions

Inherits JSON::Serializable < Protobuf::Message < Struct < Value < Object

Constants

FIELDS = {33 => {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)
Fields = {} of String => Field

Constructors

new(buf : Protobuf::Buffer)
new(deprecated : Bool | Nil = false.as(Bool), uninterpreted_option : Array(UninterpretedOption) | Nil = nil)
new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Class methods

from_protobuf(io)

Instance methods

[](key : String)
[]=(key : String, val)
[]?(key : String)
deprecated
deprecated=(deprecated : Bool | Nil)
to_hash
to_protobuf(io : IO, embedded = false)
to_protobuf
uninterpreted_option
uninterpreted_option=(uninterpreted_option : Array(UninterpretedOption) | Nil)
uninterpreted_option=(uninterpreted_option : Array(UninterpretedOption) | Nil)