Debian Codegraph @

googleapis/api/expr/v1beta1/value.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 //
15
16 // Code generated by protoc-gen-go. DO NOT EDIT.
17 // versions:
18 // protoc-gen-go v1.26.0
19 // protoc v4.24.4
20 // source: google/api/expr/v1beta1/value.proto
21
22 package expr
23
24 import (
25 reflect "reflect"
26 sync "sync"
27
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 anypb "google.golang.org/protobuf/types/known/anypb"
31 structpb "google.golang.org/protobuf/types/known/structpb"
32 )
33
34 const (
35 // Verify that this generated code is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
37 // Verify that runtime/protoimpl is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
39 )
40
41 // Represents a CEL value.
42 //
43 // This is similar to `google.protobuf.Value`, but can represent CEL's full
44 // range of values.
45 type Value struct {
46 state protoimpl.MessageState
47 sizeCache protoimpl.SizeCache
48 unknownFields protoimpl.UnknownFields
49
50 // Required. The valid kinds of values.
51 //
52 // Types that are assignable to Kind:
53 //
54 // *Value_NullValue
55 // *Value_BoolValue
56 // *Value_Int64Value
57 // *Value_Uint64Value
58 // *Value_DoubleValue
59 // *Value_StringValue
60 // *Value_BytesValue
61 // *Value_EnumValue
62 // *Value_ObjectValue
63 // *Value_MapValue
64 // *Value_ListValue
65 // *Value_TypeValue
66 Kind isValue_Kind `protobuf_oneof:"kind"`
67 }
68
69 func (x *Value) Reset() {
70 *x = Value{}
71 if protoimpl.UnsafeEnabled {
72 mi := &file_google_api_expr_v1beta1_value_proto_msgTypes[0]
73 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
74 ms.StoreMessageInfo(mi)
75 }
76 }
77
78 func (x *Value) String() string {
79 return protoimpl.X.MessageStringOf(x)
80 }
81
82 func (*Value) ProtoMessage() {}
83
84 func (x *Value) ProtoReflect() protoreflect.Message {
85 mi := &file_google_api_expr_v1beta1_value_proto_msgTypes[0]
86 if protoimpl.UnsafeEnabled && x != nil {
87 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
88 if ms.LoadMessageInfo() == nil {
89 ms.StoreMessageInfo(mi)
90 }
91 return ms
92 }
93 return mi.MessageOf(x)
94 }
95
96 // Deprecated: Use Value.ProtoReflect.Descriptor instead.
97 func (*Value) Descriptor() ([]byte, []int) {
98 return file_google_api_expr_v1beta1_value_proto_rawDescGZIP(), []int{0}
99 }
100
101 func (m *Value) GetKind() isValue_Kind {
102 if m != nil {
103 return m.Kind
104 }
105 return nil
106 }
107
108 func (x *Value) GetNullValue() structpb.NullValue {
109 if x, ok := x.GetKind().(*Value_NullValue); ok {
110 return x.NullValue
111 }
112 return structpb.NullValue_NULL_VALUE
113 }
114
115 func (x *Value) GetBoolValue() bool {
116 if x, ok := x.GetKind().(*Value_BoolValue); ok {
117 return x.BoolValue
118 }
119 return false
120 }
121
122 func (x *Value) GetInt64Value() int64 {
123 if x, ok := x.GetKind().(*Value_Int64Value); ok {
124 return x.Int64Value
125 }
126 return 0
127 }
128
129 func (x *Value) GetUint64Value() uint64 {
130 if x, ok := x.GetKind().(*Value_Uint64Value); ok {
131 return x.Uint64Value
132 }
133 return 0
134 }
135
136 func (x *Value) GetDoubleValue() float64 {
137 if x, ok := x.GetKind().(*Value_DoubleValue); ok {
138 return x.DoubleValue
139 }
140 return 0
141 }
142
143 func (x *Value) GetStringValue() string {
144 if x, ok := x.GetKind().(*Value_StringValue); ok {
145 return x.StringValue
146 }
147 return ""
148 }
149
150 func (x *Value) GetBytesValue() []byte {
151 if x, ok := x.GetKind().(*Value_BytesValue); ok {
152 return x.BytesValue
153 }
154 return nil
155 }
156
157 func (x *Value) GetEnumValue() *EnumValue {
158 if x, ok := x.GetKind().(*Value_EnumValue); ok {
159 return x.EnumValue
160 }
161 return nil
162 }
163
164 func (x *Value) GetObjectValue() *anypb.Any {
165 if x, ok := x.GetKind().(*Value_ObjectValue); ok {
166 return x.ObjectValue
167 }
168 return nil
169 }
170
171 func (x *Value) GetMapValue() *MapValue {
172 if x, ok := x.GetKind().(*Value_MapValue); ok {
173 return x.MapValue
174 }
175 return nil
176 }
177
178 func (x *Value) GetListValue() *ListValue {
179 if x, ok := x.GetKind().(*Value_ListValue); ok {
180 return x.ListValue
181 }
182 return nil
183 }
184
185 func (x *Value) GetTypeValue() string {
186 if x, ok := x.GetKind().(*Value_TypeValue); ok {
187 return x.TypeValue
188 }
189 return ""
190 }
191
192 type isValue_Kind interface {
193 isValue_Kind()
194 }
195
196 type Value_NullValue struct {
197 // Null value.
198 NullValue structpb.NullValue `protobuf:"varint,1,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"`
199 }
200
201 type Value_BoolValue struct {
202 // Boolean value.
203 BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"`
204 }
205
206 type Value_Int64Value struct {
207 // Signed integer value.
208 Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3,oneof"`
209 }
210
211 type Value_Uint64Value struct {
212 // Unsigned integer value.
213 Uint64Value uint64 `protobuf:"varint,4,opt,name=uint64_value,json=uint64Value,proto3,oneof"`
214 }
215
216 type Value_DoubleValue struct {
217 // Floating point value.
218 DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3,oneof"`
219 }
220
221 type Value_StringValue struct {
222 // UTF-8 string value.
223 StringValue string `protobuf:"bytes,6,opt,name=string_value,json=stringValue,proto3,oneof"`
224 }
225
226 type Value_BytesValue struct {
227 // Byte string value.
228 BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
229 }
230
231 type Value_EnumValue struct {
232 // An enum value.
233 EnumValue *EnumValue `protobuf:"bytes,9,opt,name=enum_value,json=enumValue,proto3,oneof"`
234 }
235
236 type Value_ObjectValue struct {
237 // The proto message backing an object value.
238 ObjectValue *anypb.Any `protobuf:"bytes,10,opt,name=object_value,json=objectValue,proto3,oneof"`
239 }
240
241 type Value_MapValue struct {
242 // Map value.
243 MapValue *MapValue `protobuf:"bytes,11,opt,name=map_value,json=mapValue,proto3,oneof"`
244 }
245
246 type Value_ListValue struct {
247 // List value.
248 ListValue *ListValue `protobuf:"bytes,12,opt,name=list_value,json=listValue,proto3,oneof"`
249 }
250
251 type Value_TypeValue struct {
252 // A Type value represented by the fully qualified name of the type.
253 TypeValue string `protobuf:"bytes,15,opt,name=type_value,json=typeValue,proto3,oneof"`
254 }
255
256 func (*Value_NullValue) isValue_Kind() {}
257
258 func (*Value_BoolValue) isValue_Kind() {}
259
260 func (*Value_Int64Value) isValue_Kind() {}
261
262 func (*Value_Uint64Value) isValue_Kind() {}
263
264 func (*Value_DoubleValue) isValue_Kind() {}
265
266 func (*Value_StringValue) isValue_Kind() {}
267
268 func (*Value_BytesValue) isValue_Kind() {}
269
270 func (*Value_EnumValue) isValue_Kind() {}
271
272 func (*Value_ObjectValue) isValue_Kind() {}
273
274 func (*Value_MapValue) isValue_Kind() {}
275
276 func (*Value_ListValue) isValue_Kind() {}
277
278 func (*Value_TypeValue) isValue_Kind() {}
279
280 // An enum value.
281 type EnumValue struct {
282 state protoimpl.MessageState
283 sizeCache protoimpl.SizeCache
284 unknownFields protoimpl.UnknownFields
285
286 // The fully qualified name of the enum type.
287 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
288 // The value of the enum.
289 Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
290 }
291
292 func (x *EnumValue) Reset() {
293 *x = EnumValue{}
294 if protoimpl.UnsafeEnabled {
295 mi := &file_google_api_expr_v1beta1_value_proto_msgTypes[1]
296 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
297 ms.StoreMessageInfo(mi)
298 }
299 }
300
301 func (x *EnumValue) String() string {
302 return protoimpl.X.MessageStringOf(x)
303 }
304
305 func (*EnumValue) ProtoMessage() {}
306
307 func (x *EnumValue) ProtoReflect() protoreflect.Message {
308 mi := &file_google_api_expr_v1beta1_value_proto_msgTypes[1]
309 if protoimpl.UnsafeEnabled && x != nil {
310 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
311 if ms.LoadMessageInfo() == nil {
312 ms.StoreMessageInfo(mi)
313 }
314 return ms
315 }
316 return mi.MessageOf(x)
317 }
318
319 // Deprecated: Use EnumValue.ProtoReflect.Descriptor instead.
320 func (*EnumValue) Descriptor() ([]byte, []int) {
321 return file_google_api_expr_v1beta1_value_proto_rawDescGZIP(), []int{1}
322 }
323
324 func (x *EnumValue) GetType() string {
325 if x != nil {
326 return x.Type
327 }
328 return ""
329 }
330
331 func (x *EnumValue) GetValue() int32 {
332 if x != nil {
333 return x.Value
334 }
335 return 0
336 }
337
338 // A list.
339 //
340 // Wrapped in a message so 'not set' and empty can be differentiated, which is
341 // required for use in a 'oneof'.
342 type ListValue struct {
343 state protoimpl.MessageState
344 sizeCache protoimpl.SizeCache
345 unknownFields protoimpl.UnknownFields
346
347 // The ordered values in the list.
348 Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
349 }
350
351 func (x *ListValue) Reset() {
352 *x = ListValue{}
353 if protoimpl.UnsafeEnabled {
354 mi := &file_google_api_expr_v1beta1_value_proto_msgTypes[2]
355 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
356 ms.StoreMessageInfo(mi)
357 }
358 }
359
360 func (x *ListValue) String() string {
361 return protoimpl.X.MessageStringOf(x)
362 }
363
364 func (*ListValue) ProtoMessage() {}
365
366 func (x *ListValue) ProtoReflect() protoreflect.Message {
367 mi := &file_google_api_expr_v1beta1_value_proto_msgTypes[2]
368 if protoimpl.UnsafeEnabled && x != nil {
369 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
370 if ms.LoadMessageInfo() == nil {
371 ms.StoreMessageInfo(mi)
372 }
373 return ms
374 }
375 return mi.MessageOf(x)
376 }
377
378 // Deprecated: Use ListValue.ProtoReflect.Descriptor instead.
379 func (*ListValue) Descriptor() ([]byte, []int) {
380 return file_google_api_expr_v1beta1_value_proto_rawDescGZIP(), []int{2}
381 }
382
383 func (x *ListValue) GetValues() []*Value {
384 if x != nil {
385 return x.Values
386 }
387 return nil
388 }
389
390 // A map.
391 //
392 // Wrapped in a message so 'not set' and empty can be differentiated, which is
393 // required for use in a 'oneof'.
394 type MapValue struct {
395 state protoimpl.MessageState
396 sizeCache protoimpl.SizeCache
397 unknownFields protoimpl.UnknownFields
398
399 // The set of map entries.
400 //
401 // CEL has fewer restrictions on keys, so a protobuf map represenation
402 // cannot be used.
403 Entries []*MapValue_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
404 }
405
406 func (x *MapValue) Reset() {
407 *x = MapValue{}
408 if protoimpl.UnsafeEnabled {
409 mi := &file_google_api_expr_v1beta1_value_proto_msgTypes[3]
410 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
411 ms.StoreMessageInfo(mi)
412 }
413 }
414
415 func (x *MapValue) String() string {
416 return protoimpl.X.MessageStringOf(x)
417 }
418
419 func (*MapValue) ProtoMessage() {}
420
421 func (x *MapValue) ProtoReflect() protoreflect.Message {
422 mi := &file_google_api_expr_v1beta1_value_proto_msgTypes[3]
423 if protoimpl.UnsafeEnabled && x != nil {
424 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
425 if ms.LoadMessageInfo() == nil {
426 ms.StoreMessageInfo(mi)
427 }
428 return ms
429 }
430 return mi.MessageOf(x)
431 }
432
433 // Deprecated: Use MapValue.ProtoReflect.Descriptor instead.
434 func (*MapValue) Descriptor() ([]byte, []int) {
435 return file_google_api_expr_v1beta1_value_proto_rawDescGZIP(), []int{3}
436 }
437
438 func (x *MapValue) GetEntries() []*MapValue_Entry {
439 if x != nil {
440 return x.Entries
441 }
442 return nil
443 }
444
445 // An entry in the map.
446 type MapValue_Entry struct {
447 state protoimpl.MessageState
448 sizeCache protoimpl.SizeCache
449 unknownFields protoimpl.UnknownFields
450
451 // The key.
452 //
453 // Must be unique with in the map.
454 // Currently only boolean, int, uint, and string values can be keys.
455 Key *Value `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
456 // The value.
457 Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
458 }
459
460 func (x *MapValue_Entry) Reset() {
461 *x = MapValue_Entry{}
462 if protoimpl.UnsafeEnabled {
463 mi := &file_google_api_expr_v1beta1_value_proto_msgTypes[4]
464 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
465 ms.StoreMessageInfo(mi)
466 }
467 }
468
469 func (x *MapValue_Entry) String() string {
470 return protoimpl.X.MessageStringOf(x)
471 }
472
473 func (*MapValue_Entry) ProtoMessage() {}
474
475 func (x *MapValue_Entry) ProtoReflect() protoreflect.Message {
476 mi := &file_google_api_expr_v1beta1_value_proto_msgTypes[4]
477 if protoimpl.UnsafeEnabled && x != nil {
478 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
479 if ms.LoadMessageInfo() == nil {
480 ms.StoreMessageInfo(mi)
481 }
482 return ms
483 }
484 return mi.MessageOf(x)
485 }
486
487 // Deprecated: Use MapValue_Entry.ProtoReflect.Descriptor instead.
488 func (*MapValue_Entry) Descriptor() ([]byte, []int) {
489 return file_google_api_expr_v1beta1_value_proto_rawDescGZIP(), []int{3, 0}
490 }
491
492 func (x *MapValue_Entry) GetKey() *Value {
493 if x != nil {
494 return x.Key
495 }
496 return nil
497 }
498
499 func (x *MapValue_Entry) GetValue() *Value {
500 if x != nil {
501 return x.Value
502 }
503 return nil
504 }
505
506 var File_google_api_expr_v1beta1_value_proto protoreflect.FileDescriptor
507
508 var file_google_api_expr_v1beta1_value_proto_rawDesc = []byte{
509 0x0a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x70,
510 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2e,
511 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70,
512 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x19,
513 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
514 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
515 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63,
516 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xca, 0x04, 0x0a, 0x05, 0x56, 0x61, 0x6c, 0x75,
517 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
518 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
519 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75,
520 0x65, 0x48, 0x00, 0x52, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f,
521 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
522 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
523 0x21, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03,
524 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c,
525 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x76, 0x61, 0x6c,
526 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x0b, 0x75, 0x69, 0x6e, 0x74,
527 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c,
528 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52,
529 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c,
530 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01,
531 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75,
532 0x65, 0x12, 0x21, 0x0a, 0x0b, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65,
533 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0a, 0x62, 0x79, 0x74, 0x65, 0x73, 0x56,
534 0x61, 0x6c, 0x75, 0x65, 0x12, 0x43, 0x0a, 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x76, 0x61, 0x6c,
535 0x75, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
536 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
537 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x09,
538 0x65, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x39, 0x0a, 0x0c, 0x6f, 0x62, 0x6a,
539 0x65, 0x63, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32,
540 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
541 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x48, 0x00, 0x52, 0x0b, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x56,
542 0x61, 0x6c, 0x75, 0x65, 0x12, 0x40, 0x0a, 0x09, 0x6d, 0x61, 0x70, 0x5f, 0x76, 0x61, 0x6c, 0x75,
543 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
544 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
545 0x31, 0x2e, 0x4d, 0x61, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x61,
546 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x43, 0x0a, 0x0a, 0x6c, 0x69, 0x73, 0x74, 0x5f, 0x76,
547 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f,
548 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x62,
549 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00,
550 0x52, 0x09, 0x6c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x74,
551 0x79, 0x70, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x48,
552 0x00, 0x52, 0x09, 0x74, 0x79, 0x70, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x06, 0x0a, 0x04,
553 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x35, 0x0a, 0x09, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75,
554 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
555 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
556 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x43, 0x0a, 0x09, 0x4c,
557 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75,
558 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
559 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
560 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
561 0x22, 0xbe, 0x01, 0x0a, 0x08, 0x4d, 0x61, 0x70, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x41, 0x0a,
562 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27,
563 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72,
564 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4d, 0x61, 0x70, 0x56, 0x61, 0x6c, 0x75,
565 0x65, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73,
566 0x1a, 0x6f, 0x0a, 0x05, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x30, 0x0a, 0x03, 0x6b, 0x65, 0x79,
567 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
568 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
569 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x34, 0x0a, 0x05, 0x76,
570 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f,
571 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x62,
572 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
573 0x65, 0x42, 0x6b, 0x0a, 0x1b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
574 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
575 0x42, 0x0a, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b,
576 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72,
577 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
578 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x70, 0x72, 0x2f, 0x76,
579 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x65, 0x78, 0x70, 0x72, 0xf8, 0x01, 0x01, 0x62, 0x06,
580 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
581 }
582
583 var (
584 file_google_api_expr_v1beta1_value_proto_rawDescOnce sync.Once
585 file_google_api_expr_v1beta1_value_proto_rawDescData = file_google_api_expr_v1beta1_value_proto_rawDesc
586 )
587
588 func file_google_api_expr_v1beta1_value_proto_rawDescGZIP() []byte {
589 file_google_api_expr_v1beta1_value_proto_rawDescOnce.Do(func() {
590 file_google_api_expr_v1beta1_value_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_api_expr_v1beta1_value_proto_rawDescData)
591 })
592 return file_google_api_expr_v1beta1_value_proto_rawDescData
593 }
594
595 var file_google_api_expr_v1beta1_value_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
596 var file_google_api_expr_v1beta1_value_proto_goTypes = []interface{}{
597 (*Value)(nil), // 0: google.api.expr.v1beta1.Value
598 (*EnumValue)(nil), // 1: google.api.expr.v1beta1.EnumValue
599 (*ListValue)(nil), // 2: google.api.expr.v1beta1.ListValue
600 (*MapValue)(nil), // 3: google.api.expr.v1beta1.MapValue
601 (*MapValue_Entry)(nil), // 4: google.api.expr.v1beta1.MapValue.Entry
602 (structpb.NullValue)(0), // 5: google.protobuf.NullValue
603 (*anypb.Any)(nil), // 6: google.protobuf.Any
604 }
605 var file_google_api_expr_v1beta1_value_proto_depIdxs = []int32{
606 5, // 0: google.api.expr.v1beta1.Value.null_value:type_name -> google.protobuf.NullValue
607 1, // 1: google.api.expr.v1beta1.Value.enum_value:type_name -> google.api.expr.v1beta1.EnumValue
608 6, // 2: google.api.expr.v1beta1.Value.object_value:type_name -> google.protobuf.Any
609 3, // 3: google.api.expr.v1beta1.Value.map_value:type_name -> google.api.expr.v1beta1.MapValue
610 2, // 4: google.api.expr.v1beta1.Value.list_value:type_name -> google.api.expr.v1beta1.ListValue
611 0, // 5: google.api.expr.v1beta1.ListValue.values:type_name -> google.api.expr.v1beta1.Value
612 4, // 6: google.api.expr.v1beta1.MapValue.entries:type_name -> google.api.expr.v1beta1.MapValue.Entry
613 0, // 7: google.api.expr.v1beta1.MapValue.Entry.key:type_name -> google.api.expr.v1beta1.Value
614 0, // 8: google.api.expr.v1beta1.MapValue.Entry.value:type_name -> google.api.expr.v1beta1.Value
615 9, // [9:9] is the sub-list for method output_type
616 9, // [9:9] is the sub-list for method input_type
617 9, // [9:9] is the sub-list for extension type_name
618 9, // [9:9] is the sub-list for extension extendee
619 0, // [0:9] is the sub-list for field type_name
620 }
621
622 func init() { file_google_api_expr_v1beta1_value_proto_init() }
623 func file_google_api_expr_v1beta1_value_proto_init() {
624 if File_google_api_expr_v1beta1_value_proto != nil {
625 return
626 }
627 if !protoimpl.UnsafeEnabled {
628 file_google_api_expr_v1beta1_value_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
629 switch v := v.(*Value); i {
630 case 0:
631 return &v.state
632 case 1:
633 return &v.sizeCache
634 case 2:
635 return &v.unknownFields
636 default:
637 return nil
638 }
639 }
640 file_google_api_expr_v1beta1_value_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
641 switch v := v.(*EnumValue); i {
642 case 0:
643 return &v.state
644 case 1:
645 return &v.sizeCache
646 case 2:
647 return &v.unknownFields
648 default:
649 return nil
650 }
651 }
652 file_google_api_expr_v1beta1_value_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
653 switch v := v.(*ListValue); i {
654 case 0:
655 return &v.state
656 case 1:
657 return &v.sizeCache
658 case 2:
659 return &v.unknownFields
660 default:
661 return nil
662 }
663 }
664 file_google_api_expr_v1beta1_value_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
665 switch v := v.(*MapValue); i {
666 case 0:
667 return &v.state
668 case 1:
669 return &v.sizeCache
670 case 2:
671 return &v.unknownFields
672 default:
673 return nil
674 }
675 }
676 file_google_api_expr_v1beta1_value_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
677 switch v := v.(*MapValue_Entry); i {
678 case 0:
679 return &v.state
680 case 1:
681 return &v.sizeCache
682 case 2:
683 return &v.unknownFields
684 default:
685 return nil
686 }
687 }
688 }
689 file_google_api_expr_v1beta1_value_proto_msgTypes[0].OneofWrappers = []interface{}{
690 (*Value_NullValue)(nil),
691 (*Value_BoolValue)(nil),
692 (*Value_Int64Value)(nil),
693 (*Value_Uint64Value)(nil),
694 (*Value_DoubleValue)(nil),
695 (*Value_StringValue)(nil),
696 (*Value_BytesValue)(nil),
697 (*Value_EnumValue)(nil),
698 (*Value_ObjectValue)(nil),
699 (*Value_MapValue)(nil),
700 (*Value_ListValue)(nil),
701 (*Value_TypeValue)(nil),
702 }
703 type x struct{}
704 out := protoimpl.TypeBuilder{
705 File: protoimpl.DescBuilder{
706 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
707 RawDescriptor: file_google_api_expr_v1beta1_value_proto_rawDesc,
708 NumEnums: 0,
709 NumMessages: 5,
710 NumExtensions: 0,
711 NumServices: 0,
712 },
713 GoTypes: file_google_api_expr_v1beta1_value_proto_goTypes,
714 DependencyIndexes: file_google_api_expr_v1beta1_value_proto_depIdxs,
715 MessageInfos: file_google_api_expr_v1beta1_value_proto_msgTypes,
716 }.Build()
717 File_google_api_expr_v1beta1_value_proto = out.File
718 file_google_api_expr_v1beta1_value_proto_rawDesc = nil
719 file_google_api_expr_v1beta1_value_proto_goTypes = nil
720 file_google_api_expr_v1beta1_value_proto_depIdxs = nil
721 }