Class: Protobug::Field::GroupField

Inherits:
Protobug::Field show all
Defined in:
lib/protobug/field.rb

Constant Summary

Constants inherited from Protobug::Field

PACKABLE_WIRE_TYPES

Instance Attribute Summary

Attributes inherited from Protobug::Field

#adder, #cardinality, #clearer, #haser, #ivar, #json_name, #name, #number, #oneof, #setter

Instance Method Summary collapse

Methods inherited from Protobug::Field

#adder_method_definition, #binary_decode, #binary_encode, #json_decode, #json_encode, #json_key_encode, #method_definitions, #optional?, #packed?, #pretty_print, #proto3_optional?, #repeated?, #to_text, #validate!

Constructor Details

#initialize(*args, group_type:, **kwargs) ⇒ GroupField

Returns a new instance of GroupField.



932
933
934
935
# File 'lib/protobug/field.rb', line 932

def initialize(*args, group_type:, **kwargs)
  _ = group_type
  super(*args, **kwargs)
end