Module: ProtobufTestMessages::Proto2

Defined in:
lib/protobuf_test_messages/proto2/test_messages_proto2_pb.rb

Defined Under Namespace

Classes: EnumOnlyProto2, ForeignEnumProto2, ForeignMessageProto2, NullHypothesisProto2, OneStringProto2, ProtoWithKeywords, TestAllRequiredTypesProto2, TestAllTypesProto2, UnknownToTestAllTypes

Class Method Summary collapse

Class Method Details

.register_test_messages_proto2_protos(registry) ⇒ Object



1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
# File 'lib/protobuf_test_messages/proto2/test_messages_proto2_pb.rb', line 1069

def self.register_test_messages_proto2_protos(registry)
  registry.register(ProtobufTestMessages::Proto2::TestAllTypesProto2)
  registry.register(
    ProtobufTestMessages::Proto2::TestAllTypesProto2::NestedMessage
  )
  registry.register(
    ProtobufTestMessages::Proto2::TestAllTypesProto2::NestedEnum
  )
  registry.register(ProtobufTestMessages::Proto2::TestAllTypesProto2::Data)
  registry.register(
    ProtobufTestMessages::Proto2::TestAllTypesProto2::MessageSetCorrect
  )
  registry.register(
    ProtobufTestMessages::Proto2::TestAllTypesProto2::MessageSetCorrectExtension1
  )
  # extension: protobuf_test_messages.proto2.TestAllTypesProto2.MessageSetCorrect
  #   TYPE_MESSAGE 1547769
  registry.register(
    ProtobufTestMessages::Proto2::TestAllTypesProto2::MessageSetCorrectExtension2
  )
  # extension: protobuf_test_messages.proto2.TestAllTypesProto2.MessageSetCorrect
  #   TYPE_MESSAGE 4135312
  registry.register(ProtobufTestMessages::Proto2::ForeignMessageProto2)
  registry.register(ProtobufTestMessages::Proto2::ForeignEnumProto2)
  # extension: protobuf_test_messages.proto2.TestAllTypesProto2
  #   TYPE_INT32 120
  registry.register(ProtobufTestMessages::Proto2::UnknownToTestAllTypes)
  registry.register(
    ProtobufTestMessages::Proto2::UnknownToTestAllTypes::OptionalGroup
  )
  registry.register(ProtobufTestMessages::Proto2::NullHypothesisProto2)
  registry.register(ProtobufTestMessages::Proto2::EnumOnlyProto2)
  registry.register(ProtobufTestMessages::Proto2::EnumOnlyProto2::Bool)
  registry.register(ProtobufTestMessages::Proto2::OneStringProto2)
  registry.register(ProtobufTestMessages::Proto2::ProtoWithKeywords)
  registry.register(
    ProtobufTestMessages::Proto2::TestAllRequiredTypesProto2
  )
  registry.register(
    ProtobufTestMessages::Proto2::TestAllRequiredTypesProto2::NestedMessage
  )
  registry.register(
    ProtobufTestMessages::Proto2::TestAllRequiredTypesProto2::NestedEnum
  )
  registry.register(
    ProtobufTestMessages::Proto2::TestAllRequiredTypesProto2::Data
  )
  registry.register(
    ProtobufTestMessages::Proto2::TestAllRequiredTypesProto2::MessageSetCorrect
  )
  registry.register(
    ProtobufTestMessages::Proto2::TestAllRequiredTypesProto2::MessageSetCorrectExtension1
  )
  # extension: protobuf_test_messages.proto2.TestAllRequiredTypesProto2.MessageSetCorrect
  #   TYPE_MESSAGE 1547769
  registry.register(
    ProtobufTestMessages::Proto2::TestAllRequiredTypesProto2::MessageSetCorrectExtension2
  )
  # extension: protobuf_test_messages.proto2.TestAllRequiredTypesProto2.MessageSetCorrect
  #   TYPE_MESSAGE 4135312
end