google-protobuf 3.7.0 → 3.18.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of google-protobuf might be problematic. Click here for more details.

Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/ext/google/protobuf_c/convert.c +348 -0
  3. data/ext/google/protobuf_c/convert.h +72 -0
  4. data/ext/google/protobuf_c/defs.c +611 -1584
  5. data/ext/google/protobuf_c/defs.h +107 -0
  6. data/ext/google/protobuf_c/extconf.rb +4 -7
  7. data/ext/google/protobuf_c/map.c +312 -470
  8. data/ext/google/protobuf_c/map.h +67 -0
  9. data/ext/google/protobuf_c/message.c +941 -346
  10. data/ext/google/protobuf_c/message.h +101 -0
  11. data/ext/google/protobuf_c/protobuf.c +400 -51
  12. data/ext/google/protobuf_c/protobuf.h +47 -543
  13. data/ext/google/protobuf_c/repeated_field.c +313 -308
  14. data/ext/google/protobuf_c/repeated_field.h +63 -0
  15. data/ext/google/protobuf_c/ruby-upb.c +9171 -0
  16. data/ext/google/protobuf_c/ruby-upb.h +4704 -0
  17. data/lib/google/protobuf/any_pb.rb +1 -1
  18. data/lib/google/protobuf/api_pb.rb +5 -5
  19. data/lib/google/protobuf/descriptor_dsl.rb +458 -0
  20. data/lib/google/protobuf/descriptor_pb.rb +266 -0
  21. data/lib/google/protobuf/duration_pb.rb +1 -1
  22. data/lib/google/protobuf/empty_pb.rb +1 -1
  23. data/lib/google/protobuf/field_mask_pb.rb +1 -1
  24. data/lib/google/protobuf/source_context_pb.rb +1 -1
  25. data/lib/google/protobuf/struct_pb.rb +4 -4
  26. data/lib/google/protobuf/timestamp_pb.rb +1 -1
  27. data/lib/google/protobuf/type_pb.rb +10 -10
  28. data/lib/google/protobuf/well_known_types.rb +8 -2
  29. data/lib/google/protobuf/wrappers_pb.rb +9 -9
  30. data/lib/google/protobuf.rb +2 -0
  31. data/tests/basic.rb +322 -72
  32. data/tests/generated_code_test.rb +0 -0
  33. data/tests/stress.rb +0 -0
  34. metadata +28 -16
  35. data/ext/google/protobuf_c/encode_decode.c +0 -1574
  36. data/ext/google/protobuf_c/storage.c +0 -1019
  37. data/ext/google/protobuf_c/upb.c +0 -17318
  38. data/ext/google/protobuf_c/upb.h +0 -9755
@@ -0,0 +1,266 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/protobuf/descriptor.proto
3
+
4
+ descriptor_data = File.binread(__FILE__).split("\n__END__\n", 2)[1]
5
+ Google::Protobuf::DescriptorPool.generated_pool.add_serialized_file(descriptor_data)
6
+
7
+ module Google
8
+ module Protobuf
9
+ FileDescriptorSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FileDescriptorSet").msgclass
10
+ FileDescriptorProto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FileDescriptorProto").msgclass
11
+ DescriptorProto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.DescriptorProto").msgclass
12
+ DescriptorProto::ExtensionRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.DescriptorProto.ExtensionRange").msgclass
13
+ DescriptorProto::ReservedRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.DescriptorProto.ReservedRange").msgclass
14
+ ExtensionRangeOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.ExtensionRangeOptions").msgclass
15
+ FieldDescriptorProto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FieldDescriptorProto").msgclass
16
+ FieldDescriptorProto::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FieldDescriptorProto.Type").enummodule
17
+ FieldDescriptorProto::Label = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FieldDescriptorProto.Label").enummodule
18
+ OneofDescriptorProto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.OneofDescriptorProto").msgclass
19
+ EnumDescriptorProto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.EnumDescriptorProto").msgclass
20
+ EnumDescriptorProto::EnumReservedRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.EnumDescriptorProto.EnumReservedRange").msgclass
21
+ EnumValueDescriptorProto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.EnumValueDescriptorProto").msgclass
22
+ ServiceDescriptorProto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.ServiceDescriptorProto").msgclass
23
+ MethodDescriptorProto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.MethodDescriptorProto").msgclass
24
+ FileOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FileOptions").msgclass
25
+ FileOptions::OptimizeMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FileOptions.OptimizeMode").enummodule
26
+ MessageOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.MessageOptions").msgclass
27
+ FieldOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FieldOptions").msgclass
28
+ FieldOptions::CType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FieldOptions.CType").enummodule
29
+ FieldOptions::JSType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FieldOptions.JSType").enummodule
30
+ OneofOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.OneofOptions").msgclass
31
+ EnumOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.EnumOptions").msgclass
32
+ EnumValueOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.EnumValueOptions").msgclass
33
+ ServiceOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.ServiceOptions").msgclass
34
+ MethodOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.MethodOptions").msgclass
35
+ MethodOptions::IdempotencyLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.MethodOptions.IdempotencyLevel").enummodule
36
+ UninterpretedOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.UninterpretedOption").msgclass
37
+ UninterpretedOption::NamePart = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.UninterpretedOption.NamePart").msgclass
38
+ SourceCodeInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.SourceCodeInfo").msgclass
39
+ SourceCodeInfo::Location = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.SourceCodeInfo.Location").msgclass
40
+ GeneratedCodeInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.GeneratedCodeInfo").msgclass
41
+ GeneratedCodeInfo::Annotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.GeneratedCodeInfo.Annotation").msgclass
42
+ end
43
+ end
44
+
45
+ __END__
46
+
47
+ google/protobuf/descriptor.protogoogle.protobuf"G
48
+ FileDescriptorSet2
49
+ file ( 2$.google.protobuf.FileDescriptorProto"�
50
+ FileDescriptorProto
51
+ name ( 
52
+ package ( 
53
+
54
+ dependency ( 
55
+ public_dependency
56
+ (
57
+ weak_dependency (6
58
+ message_type ( 2 .google.protobuf.DescriptorProto7
59
+ enum_type ( 2$.google.protobuf.EnumDescriptorProto8
60
+ service ( 2'.google.protobuf.ServiceDescriptorProto8
61
+ extension ( 2%.google.protobuf.FieldDescriptorProto-
62
+ options ( 2.google.protobuf.FileOptions9
63
+ source_code_info ( 2.google.protobuf.SourceCodeInfo
64
+ syntax ( "�
65
+ DescriptorProto
66
+ name ( 4
67
+ field ( 2%.google.protobuf.FieldDescriptorProto8
68
+ extension ( 2%.google.protobuf.FieldDescriptorProto5
69
+ nested_type ( 2 .google.protobuf.DescriptorProto7
70
+ enum_type ( 2$.google.protobuf.EnumDescriptorProtoH
71
+ extension_range ( 2/.google.protobuf.DescriptorProto.ExtensionRange9
72
+
73
+ oneof_decl ( 2%.google.protobuf.OneofDescriptorProto0
74
+ options ( 2.google.protobuf.MessageOptionsF
75
+ reserved_range ( 2..google.protobuf.DescriptorProto.ReservedRange
76
+
77
+ ( e
78
+ ExtensionRange
79
+ start (
80
+ end (7
81
+ options ( 2&.google.protobuf.ExtensionRangeOptions+
82
+
83
+ start (
84
+ end ("g
85
+ ExtensionRangeOptionsC
86
+ uninterpreted_option� ( 2$.google.protobuf.UninterpretedOption* �����"�
87
+ FieldDescriptorProto
88
+ name ( 
89
+ number (:
90
+ label (2+.google.protobuf.FieldDescriptorProto.Label8
91
+ type (2*.google.protobuf.FieldDescriptorProto.Type
92
+ type_name ( 
93
+ extendee ( 
94
+
95
+ oneof_index (
96
+ json_name
97
+ ( .
98
+ options ( 2.google.protobuf.FieldOptions
99
+ proto3_optional ("�
100
+ Type
101
+ TYPE_DOUBLE
102
+
103
+ TYPE_FLOAT
104
+
105
+ TYPE_INT64
106
+ TYPE_UINT64
107
+
108
+ TYPE_INT32
109
+ TYPE_FIXED64
110
+ TYPE_FIXED32
111
+ TYPE_BOOL
112
+ TYPE_STRING 
113
+
114
+ TYPE_GROUP
115
+ 
116
+ TYPE_MESSAGE 
117
+
118
+ TYPE_BYTES 
119
+ TYPE_UINT32
120
+ TYPE_ENUM
121
+
122
+
123
+ TYPE_SINT32
124
+ TYPE_SINT64"C
125
+ Label
126
+ LABEL_OPTIONAL
127
+ LABEL_REQUIRED
128
+ LABEL_REPEATED"T
129
+ OneofDescriptorProto
130
+ name ( .
131
+ options ( 2.google.protobuf.OneofOptions"�
132
+ EnumDescriptorProto
133
+ name ( 8
134
+ value ( 2).google.protobuf.EnumValueDescriptorProto-
135
+ options ( 2.google.protobuf.EnumOptionsN
136
+ reserved_range ( 26.google.protobuf.EnumDescriptorProto.EnumReservedRange
137
+
138
+ EnumReservedRange
139
+ start (
140
+ end ("l
141
+ EnumValueDescriptorProto
142
+ name ( 
143
+ number (2
144
+ options ( 2!.google.protobuf.EnumValueOptions"�
145
+ ServiceDescriptorProto
146
+ name ( 6
147
+ method ( 2&.google.protobuf.MethodDescriptorProto0
148
+ options ( 2.google.protobuf.ServiceOptions"�
149
+ MethodDescriptorProto
150
+ name ( 
151
+
152
+ input_type ( 
153
+ output_type ( /
154
+ options ( 2.google.protobuf.MethodOptions
155
+ client_streaming (:false
156
+ server_streaming (:false"�
157
+ FileOptions
158
+ java_package ( 
159
+ java_outer_classname ( "
160
+ java_multiple_files
161
+ (:false)
162
+ java_generate_equals_and_hash (B%
163
+ java_string_check_utf8 (:falseF
164
+ optimize_for (2).google.protobuf.FileOptions.OptimizeMode:SPEED
165
+
166
+ go_package ( "
167
+ cc_generic_services (:false$
168
+ java_generic_services (:false"
169
+ py_generic_services (:false#
170
+ php_generic_services* (:false
171
+
172
+ deprecated (:false
173
+ cc_enable_arenas (:true
174
+ objc_class_prefix$ ( 
175
+ csharp_namespace% ( 
176
+ swift_prefix' ( 
177
+ php_class_prefix( ( 
178
+
179
+ php_metadata_namespace, ( 
180
+ ruby_package- ( C
181
+ uninterpreted_option� ( 2$.google.protobuf.UninterpretedOption":
182
+ OptimizeMode
183
+ SPEED
184
+ CODE_SIZE
185
+ LITE_RUNTIME* �����J&'"�
186
+ MessageOptions&
187
+ message_set_wire_format (:false.
188
+ no_standard_descriptor_accessor (:false
189
+
190
+ deprecated (:false
191
+ map_entry (C
192
+ uninterpreted_option� ( 2$.google.protobuf.UninterpretedOption* �����JJJJ J 
193
+ "�
194
+ FieldOptions:
195
+ ctype (2#.google.protobuf.FieldOptions.CType:STRING
196
+ packed (?
197
+ jstype (2$.google.protobuf.FieldOptions.JSType: JS_NORMAL
198
+ lazy (:false
199
+
200
+ deprecated (:false
201
+ weak
202
+ (:falseC
203
+ uninterpreted_option� ( 2$.google.protobuf.UninterpretedOption"/
204
+ CType
205
+
206
+ STRING
207
+ CORD
208
+ STRING_PIECE"5
209
+ JSType
210
+ JS_NORMAL
211
+ JS_STRING
212
+ JS_NUMBER* �����J"^
213
+ OneofOptionsC
214
+ uninterpreted_option� ( 2$.google.protobuf.UninterpretedOption* �����"�
215
+ EnumOptions
216
+ allow_alias (
217
+
218
+ deprecated (:falseC
219
+ uninterpreted_option� ( 2$.google.protobuf.UninterpretedOption* �����J"}
220
+ EnumValueOptions
221
+
222
+ deprecated (:falseC
223
+ uninterpreted_option� ( 2$.google.protobuf.UninterpretedOption* �����"{
224
+ ServiceOptions
225
+
226
+ deprecated! (:falseC
227
+ uninterpreted_option� ( 2$.google.protobuf.UninterpretedOption* �����"�
228
+
229
+
230
+ deprecated! (:false_
231
+ idempotency_level" (2/.google.protobuf.MethodOptions.IdempotencyLevel:IDEMPOTENCY_UNKNOWNC
232
+ uninterpreted_option� ( 2$.google.protobuf.UninterpretedOption"P
233
+ IdempotencyLevel
234
+ IDEMPOTENCY_UNKNOWN
235
+ NO_SIDE_EFFECTS
236
+
237
+ IDEMPOTENT* �����"�
238
+ UninterpretedOption;
239
+ name ( 2-.google.protobuf.UninterpretedOption.NamePart
240
+ identifier_value ( 
241
+ positive_int_value (
242
+ negative_int_value (
243
+ double_value (
244
+ string_value ( 
245
+ aggregate_value ( 3
246
+ NamePart
247
+ name_part ( 
248
+ is_extension ("�
249
+ SourceCodeInfo:
250
+ location ( 2(.google.protobuf.SourceCodeInfo.Location�
251
+ Location
252
+ path (B
253
+ span (B
254
+ leading_comments ( 
255
+ trailing_comments ( !
256
+ leading_detached_comments ( "�
257
+ GeneratedCodeInfoA
258
+
259
+ annotation ( 2-.google.protobuf.GeneratedCodeInfo.AnnotationO
260
+
261
+ Annotation
262
+ path (B
263
+ source_file ( 
264
+ begin (
265
+ end (B~
266
+ com.google.protobufBDescriptorProtosHZ-google.golang.org/protobuf/types/descriptorpb��GPB�Google.Protobuf.Reflection
@@ -14,6 +14,6 @@ end
14
14
 
15
15
  module Google
16
16
  module Protobuf
17
- Duration = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Duration").msgclass
17
+ Duration = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Duration").msgclass
18
18
  end
19
19
  end
@@ -12,6 +12,6 @@ end
12
12
 
13
13
  module Google
14
14
  module Protobuf
15
- Empty = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Empty").msgclass
15
+ Empty = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Empty").msgclass
16
16
  end
17
17
  end
@@ -13,6 +13,6 @@ end
13
13
 
14
14
  module Google
15
15
  module Protobuf
16
- FieldMask = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FieldMask").msgclass
16
+ FieldMask = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FieldMask").msgclass
17
17
  end
18
18
  end
@@ -13,6 +13,6 @@ end
13
13
 
14
14
  module Google
15
15
  module Protobuf
16
- SourceContext = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.SourceContext").msgclass
16
+ SourceContext = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.SourceContext").msgclass
17
17
  end
18
18
  end
@@ -29,9 +29,9 @@ end
29
29
 
30
30
  module Google
31
31
  module Protobuf
32
- Struct = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Struct").msgclass
33
- Value = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Value").msgclass
34
- ListValue = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.ListValue").msgclass
35
- NullValue = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.NullValue").enummodule
32
+ Struct = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Struct").msgclass
33
+ Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Value").msgclass
34
+ ListValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.ListValue").msgclass
35
+ NullValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.NullValue").enummodule
36
36
  end
37
37
  end
@@ -14,6 +14,6 @@ end
14
14
 
15
15
  module Google
16
16
  module Protobuf
17
- Timestamp = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Timestamp").msgclass
17
+ Timestamp = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Timestamp").msgclass
18
18
  end
19
19
  end
@@ -1,10 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/protobuf/type.proto
3
3
 
4
- require 'google/protobuf'
5
-
6
4
  require 'google/protobuf/any_pb'
7
5
  require 'google/protobuf/source_context_pb'
6
+ require 'google/protobuf'
7
+
8
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  add_file("google/protobuf/type.proto", :syntax => :proto3) do
10
10
  add_message "google.protobuf.Type" do
@@ -79,13 +79,13 @@ end
79
79
 
80
80
  module Google
81
81
  module Protobuf
82
- Type = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Type").msgclass
83
- Field = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Field").msgclass
84
- Field::Kind = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Field.Kind").enummodule
85
- Field::Cardinality = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Field.Cardinality").enummodule
86
- Enum = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Enum").msgclass
87
- EnumValue = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.EnumValue").msgclass
88
- Option = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Option").msgclass
89
- Syntax = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Syntax").enummodule
82
+ Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Type").msgclass
83
+ Field = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Field").msgclass
84
+ Field::Kind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Field.Kind").enummodule
85
+ Field::Cardinality = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Field.Cardinality").enummodule
86
+ Enum = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Enum").msgclass
87
+ EnumValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.EnumValue").msgclass
88
+ Option = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Option").msgclass
89
+ Syntax = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Syntax").enummodule
90
90
  end
91
91
  end
@@ -72,8 +72,14 @@ module Google
72
72
  end
73
73
 
74
74
  Timestamp.class_eval do
75
- def to_time
76
- Time.at(self.to_f)
75
+ if RUBY_VERSION < "2.5"
76
+ def to_time
77
+ Time.at(self.to_f)
78
+ end
79
+ else
80
+ def to_time
81
+ Time.at(seconds, nanos, :nanosecond)
82
+ end
77
83
  end
78
84
 
79
85
  def from_time(time)
@@ -37,14 +37,14 @@ end
37
37
 
38
38
  module Google
39
39
  module Protobuf
40
- DoubleValue = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.DoubleValue").msgclass
41
- FloatValue = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FloatValue").msgclass
42
- Int64Value = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Int64Value").msgclass
43
- UInt64Value = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.UInt64Value").msgclass
44
- Int32Value = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Int32Value").msgclass
45
- UInt32Value = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.UInt32Value").msgclass
46
- BoolValue = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.BoolValue").msgclass
47
- StringValue = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.StringValue").msgclass
48
- BytesValue = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.BytesValue").msgclass
40
+ DoubleValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.DoubleValue").msgclass
41
+ FloatValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.FloatValue").msgclass
42
+ Int64Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Int64Value").msgclass
43
+ UInt64Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.UInt64Value").msgclass
44
+ Int32Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.Int32Value").msgclass
45
+ UInt32Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.UInt32Value").msgclass
46
+ BoolValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.BoolValue").msgclass
47
+ StringValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.StringValue").msgclass
48
+ BytesValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.protobuf.BytesValue").msgclass
49
49
  end
50
50
  end
@@ -50,6 +50,8 @@ else
50
50
  rescue LoadError
51
51
  require 'google/protobuf_c'
52
52
  end
53
+
54
+ require 'google/protobuf/descriptor_dsl'
53
55
  end
54
56
 
55
57
  require 'google/protobuf/repeated_field'