25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 

709 satır
22 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/api/expr/v1beta1/value.proto
  3. package expr // import "google.golang.org/genproto/googleapis/api/expr/v1beta1"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import any "github.com/golang/protobuf/ptypes/any"
  8. import _struct "github.com/golang/protobuf/ptypes/struct"
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  18. // Represents a CEL value.
  19. //
  20. // This is similar to `google.protobuf.Value`, but can represent CEL's full
  21. // range of values.
  22. type Value struct {
  23. // Required. The valid kinds of values.
  24. //
  25. // Types that are valid to be assigned to Kind:
  26. // *Value_NullValue
  27. // *Value_BoolValue
  28. // *Value_Int64Value
  29. // *Value_Uint64Value
  30. // *Value_DoubleValue
  31. // *Value_StringValue
  32. // *Value_BytesValue
  33. // *Value_EnumValue
  34. // *Value_ObjectValue
  35. // *Value_MapValue
  36. // *Value_ListValue
  37. // *Value_TypeValue
  38. Kind isValue_Kind `protobuf_oneof:"kind"`
  39. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  40. XXX_unrecognized []byte `json:"-"`
  41. XXX_sizecache int32 `json:"-"`
  42. }
  43. func (m *Value) Reset() { *m = Value{} }
  44. func (m *Value) String() string { return proto.CompactTextString(m) }
  45. func (*Value) ProtoMessage() {}
  46. func (*Value) Descriptor() ([]byte, []int) {
  47. return fileDescriptor_value_6c2bb4fc7e0e374b, []int{0}
  48. }
  49. func (m *Value) XXX_Unmarshal(b []byte) error {
  50. return xxx_messageInfo_Value.Unmarshal(m, b)
  51. }
  52. func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  53. return xxx_messageInfo_Value.Marshal(b, m, deterministic)
  54. }
  55. func (dst *Value) XXX_Merge(src proto.Message) {
  56. xxx_messageInfo_Value.Merge(dst, src)
  57. }
  58. func (m *Value) XXX_Size() int {
  59. return xxx_messageInfo_Value.Size(m)
  60. }
  61. func (m *Value) XXX_DiscardUnknown() {
  62. xxx_messageInfo_Value.DiscardUnknown(m)
  63. }
  64. var xxx_messageInfo_Value proto.InternalMessageInfo
  65. type isValue_Kind interface {
  66. isValue_Kind()
  67. }
  68. type Value_NullValue struct {
  69. NullValue _struct.NullValue `protobuf:"varint,1,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"`
  70. }
  71. type Value_BoolValue struct {
  72. BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"`
  73. }
  74. type Value_Int64Value struct {
  75. Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3,oneof"`
  76. }
  77. type Value_Uint64Value struct {
  78. Uint64Value uint64 `protobuf:"varint,4,opt,name=uint64_value,json=uint64Value,proto3,oneof"`
  79. }
  80. type Value_DoubleValue struct {
  81. DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3,oneof"`
  82. }
  83. type Value_StringValue struct {
  84. StringValue string `protobuf:"bytes,6,opt,name=string_value,json=stringValue,proto3,oneof"`
  85. }
  86. type Value_BytesValue struct {
  87. BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
  88. }
  89. type Value_EnumValue struct {
  90. EnumValue *EnumValue `protobuf:"bytes,9,opt,name=enum_value,json=enumValue,proto3,oneof"`
  91. }
  92. type Value_ObjectValue struct {
  93. ObjectValue *any.Any `protobuf:"bytes,10,opt,name=object_value,json=objectValue,proto3,oneof"`
  94. }
  95. type Value_MapValue struct {
  96. MapValue *MapValue `protobuf:"bytes,11,opt,name=map_value,json=mapValue,proto3,oneof"`
  97. }
  98. type Value_ListValue struct {
  99. ListValue *ListValue `protobuf:"bytes,12,opt,name=list_value,json=listValue,proto3,oneof"`
  100. }
  101. type Value_TypeValue struct {
  102. TypeValue string `protobuf:"bytes,15,opt,name=type_value,json=typeValue,proto3,oneof"`
  103. }
  104. func (*Value_NullValue) isValue_Kind() {}
  105. func (*Value_BoolValue) isValue_Kind() {}
  106. func (*Value_Int64Value) isValue_Kind() {}
  107. func (*Value_Uint64Value) isValue_Kind() {}
  108. func (*Value_DoubleValue) isValue_Kind() {}
  109. func (*Value_StringValue) isValue_Kind() {}
  110. func (*Value_BytesValue) isValue_Kind() {}
  111. func (*Value_EnumValue) isValue_Kind() {}
  112. func (*Value_ObjectValue) isValue_Kind() {}
  113. func (*Value_MapValue) isValue_Kind() {}
  114. func (*Value_ListValue) isValue_Kind() {}
  115. func (*Value_TypeValue) isValue_Kind() {}
  116. func (m *Value) GetKind() isValue_Kind {
  117. if m != nil {
  118. return m.Kind
  119. }
  120. return nil
  121. }
  122. func (m *Value) GetNullValue() _struct.NullValue {
  123. if x, ok := m.GetKind().(*Value_NullValue); ok {
  124. return x.NullValue
  125. }
  126. return _struct.NullValue_NULL_VALUE
  127. }
  128. func (m *Value) GetBoolValue() bool {
  129. if x, ok := m.GetKind().(*Value_BoolValue); ok {
  130. return x.BoolValue
  131. }
  132. return false
  133. }
  134. func (m *Value) GetInt64Value() int64 {
  135. if x, ok := m.GetKind().(*Value_Int64Value); ok {
  136. return x.Int64Value
  137. }
  138. return 0
  139. }
  140. func (m *Value) GetUint64Value() uint64 {
  141. if x, ok := m.GetKind().(*Value_Uint64Value); ok {
  142. return x.Uint64Value
  143. }
  144. return 0
  145. }
  146. func (m *Value) GetDoubleValue() float64 {
  147. if x, ok := m.GetKind().(*Value_DoubleValue); ok {
  148. return x.DoubleValue
  149. }
  150. return 0
  151. }
  152. func (m *Value) GetStringValue() string {
  153. if x, ok := m.GetKind().(*Value_StringValue); ok {
  154. return x.StringValue
  155. }
  156. return ""
  157. }
  158. func (m *Value) GetBytesValue() []byte {
  159. if x, ok := m.GetKind().(*Value_BytesValue); ok {
  160. return x.BytesValue
  161. }
  162. return nil
  163. }
  164. func (m *Value) GetEnumValue() *EnumValue {
  165. if x, ok := m.GetKind().(*Value_EnumValue); ok {
  166. return x.EnumValue
  167. }
  168. return nil
  169. }
  170. func (m *Value) GetObjectValue() *any.Any {
  171. if x, ok := m.GetKind().(*Value_ObjectValue); ok {
  172. return x.ObjectValue
  173. }
  174. return nil
  175. }
  176. func (m *Value) GetMapValue() *MapValue {
  177. if x, ok := m.GetKind().(*Value_MapValue); ok {
  178. return x.MapValue
  179. }
  180. return nil
  181. }
  182. func (m *Value) GetListValue() *ListValue {
  183. if x, ok := m.GetKind().(*Value_ListValue); ok {
  184. return x.ListValue
  185. }
  186. return nil
  187. }
  188. func (m *Value) GetTypeValue() string {
  189. if x, ok := m.GetKind().(*Value_TypeValue); ok {
  190. return x.TypeValue
  191. }
  192. return ""
  193. }
  194. // XXX_OneofFuncs is for the internal use of the proto package.
  195. func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
  196. return _Value_OneofMarshaler, _Value_OneofUnmarshaler, _Value_OneofSizer, []interface{}{
  197. (*Value_NullValue)(nil),
  198. (*Value_BoolValue)(nil),
  199. (*Value_Int64Value)(nil),
  200. (*Value_Uint64Value)(nil),
  201. (*Value_DoubleValue)(nil),
  202. (*Value_StringValue)(nil),
  203. (*Value_BytesValue)(nil),
  204. (*Value_EnumValue)(nil),
  205. (*Value_ObjectValue)(nil),
  206. (*Value_MapValue)(nil),
  207. (*Value_ListValue)(nil),
  208. (*Value_TypeValue)(nil),
  209. }
  210. }
  211. func _Value_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
  212. m := msg.(*Value)
  213. // kind
  214. switch x := m.Kind.(type) {
  215. case *Value_NullValue:
  216. b.EncodeVarint(1<<3 | proto.WireVarint)
  217. b.EncodeVarint(uint64(x.NullValue))
  218. case *Value_BoolValue:
  219. t := uint64(0)
  220. if x.BoolValue {
  221. t = 1
  222. }
  223. b.EncodeVarint(2<<3 | proto.WireVarint)
  224. b.EncodeVarint(t)
  225. case *Value_Int64Value:
  226. b.EncodeVarint(3<<3 | proto.WireVarint)
  227. b.EncodeVarint(uint64(x.Int64Value))
  228. case *Value_Uint64Value:
  229. b.EncodeVarint(4<<3 | proto.WireVarint)
  230. b.EncodeVarint(uint64(x.Uint64Value))
  231. case *Value_DoubleValue:
  232. b.EncodeVarint(5<<3 | proto.WireFixed64)
  233. b.EncodeFixed64(math.Float64bits(x.DoubleValue))
  234. case *Value_StringValue:
  235. b.EncodeVarint(6<<3 | proto.WireBytes)
  236. b.EncodeStringBytes(x.StringValue)
  237. case *Value_BytesValue:
  238. b.EncodeVarint(7<<3 | proto.WireBytes)
  239. b.EncodeRawBytes(x.BytesValue)
  240. case *Value_EnumValue:
  241. b.EncodeVarint(9<<3 | proto.WireBytes)
  242. if err := b.EncodeMessage(x.EnumValue); err != nil {
  243. return err
  244. }
  245. case *Value_ObjectValue:
  246. b.EncodeVarint(10<<3 | proto.WireBytes)
  247. if err := b.EncodeMessage(x.ObjectValue); err != nil {
  248. return err
  249. }
  250. case *Value_MapValue:
  251. b.EncodeVarint(11<<3 | proto.WireBytes)
  252. if err := b.EncodeMessage(x.MapValue); err != nil {
  253. return err
  254. }
  255. case *Value_ListValue:
  256. b.EncodeVarint(12<<3 | proto.WireBytes)
  257. if err := b.EncodeMessage(x.ListValue); err != nil {
  258. return err
  259. }
  260. case *Value_TypeValue:
  261. b.EncodeVarint(15<<3 | proto.WireBytes)
  262. b.EncodeStringBytes(x.TypeValue)
  263. case nil:
  264. default:
  265. return fmt.Errorf("Value.Kind has unexpected type %T", x)
  266. }
  267. return nil
  268. }
  269. func _Value_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
  270. m := msg.(*Value)
  271. switch tag {
  272. case 1: // kind.null_value
  273. if wire != proto.WireVarint {
  274. return true, proto.ErrInternalBadWireType
  275. }
  276. x, err := b.DecodeVarint()
  277. m.Kind = &Value_NullValue{_struct.NullValue(x)}
  278. return true, err
  279. case 2: // kind.bool_value
  280. if wire != proto.WireVarint {
  281. return true, proto.ErrInternalBadWireType
  282. }
  283. x, err := b.DecodeVarint()
  284. m.Kind = &Value_BoolValue{x != 0}
  285. return true, err
  286. case 3: // kind.int64_value
  287. if wire != proto.WireVarint {
  288. return true, proto.ErrInternalBadWireType
  289. }
  290. x, err := b.DecodeVarint()
  291. m.Kind = &Value_Int64Value{int64(x)}
  292. return true, err
  293. case 4: // kind.uint64_value
  294. if wire != proto.WireVarint {
  295. return true, proto.ErrInternalBadWireType
  296. }
  297. x, err := b.DecodeVarint()
  298. m.Kind = &Value_Uint64Value{x}
  299. return true, err
  300. case 5: // kind.double_value
  301. if wire != proto.WireFixed64 {
  302. return true, proto.ErrInternalBadWireType
  303. }
  304. x, err := b.DecodeFixed64()
  305. m.Kind = &Value_DoubleValue{math.Float64frombits(x)}
  306. return true, err
  307. case 6: // kind.string_value
  308. if wire != proto.WireBytes {
  309. return true, proto.ErrInternalBadWireType
  310. }
  311. x, err := b.DecodeStringBytes()
  312. m.Kind = &Value_StringValue{x}
  313. return true, err
  314. case 7: // kind.bytes_value
  315. if wire != proto.WireBytes {
  316. return true, proto.ErrInternalBadWireType
  317. }
  318. x, err := b.DecodeRawBytes(true)
  319. m.Kind = &Value_BytesValue{x}
  320. return true, err
  321. case 9: // kind.enum_value
  322. if wire != proto.WireBytes {
  323. return true, proto.ErrInternalBadWireType
  324. }
  325. msg := new(EnumValue)
  326. err := b.DecodeMessage(msg)
  327. m.Kind = &Value_EnumValue{msg}
  328. return true, err
  329. case 10: // kind.object_value
  330. if wire != proto.WireBytes {
  331. return true, proto.ErrInternalBadWireType
  332. }
  333. msg := new(any.Any)
  334. err := b.DecodeMessage(msg)
  335. m.Kind = &Value_ObjectValue{msg}
  336. return true, err
  337. case 11: // kind.map_value
  338. if wire != proto.WireBytes {
  339. return true, proto.ErrInternalBadWireType
  340. }
  341. msg := new(MapValue)
  342. err := b.DecodeMessage(msg)
  343. m.Kind = &Value_MapValue{msg}
  344. return true, err
  345. case 12: // kind.list_value
  346. if wire != proto.WireBytes {
  347. return true, proto.ErrInternalBadWireType
  348. }
  349. msg := new(ListValue)
  350. err := b.DecodeMessage(msg)
  351. m.Kind = &Value_ListValue{msg}
  352. return true, err
  353. case 15: // kind.type_value
  354. if wire != proto.WireBytes {
  355. return true, proto.ErrInternalBadWireType
  356. }
  357. x, err := b.DecodeStringBytes()
  358. m.Kind = &Value_TypeValue{x}
  359. return true, err
  360. default:
  361. return false, nil
  362. }
  363. }
  364. func _Value_OneofSizer(msg proto.Message) (n int) {
  365. m := msg.(*Value)
  366. // kind
  367. switch x := m.Kind.(type) {
  368. case *Value_NullValue:
  369. n += 1 // tag and wire
  370. n += proto.SizeVarint(uint64(x.NullValue))
  371. case *Value_BoolValue:
  372. n += 1 // tag and wire
  373. n += 1
  374. case *Value_Int64Value:
  375. n += 1 // tag and wire
  376. n += proto.SizeVarint(uint64(x.Int64Value))
  377. case *Value_Uint64Value:
  378. n += 1 // tag and wire
  379. n += proto.SizeVarint(uint64(x.Uint64Value))
  380. case *Value_DoubleValue:
  381. n += 1 // tag and wire
  382. n += 8
  383. case *Value_StringValue:
  384. n += 1 // tag and wire
  385. n += proto.SizeVarint(uint64(len(x.StringValue)))
  386. n += len(x.StringValue)
  387. case *Value_BytesValue:
  388. n += 1 // tag and wire
  389. n += proto.SizeVarint(uint64(len(x.BytesValue)))
  390. n += len(x.BytesValue)
  391. case *Value_EnumValue:
  392. s := proto.Size(x.EnumValue)
  393. n += 1 // tag and wire
  394. n += proto.SizeVarint(uint64(s))
  395. n += s
  396. case *Value_ObjectValue:
  397. s := proto.Size(x.ObjectValue)
  398. n += 1 // tag and wire
  399. n += proto.SizeVarint(uint64(s))
  400. n += s
  401. case *Value_MapValue:
  402. s := proto.Size(x.MapValue)
  403. n += 1 // tag and wire
  404. n += proto.SizeVarint(uint64(s))
  405. n += s
  406. case *Value_ListValue:
  407. s := proto.Size(x.ListValue)
  408. n += 1 // tag and wire
  409. n += proto.SizeVarint(uint64(s))
  410. n += s
  411. case *Value_TypeValue:
  412. n += 1 // tag and wire
  413. n += proto.SizeVarint(uint64(len(x.TypeValue)))
  414. n += len(x.TypeValue)
  415. case nil:
  416. default:
  417. panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
  418. }
  419. return n
  420. }
  421. // An enum value.
  422. type EnumValue struct {
  423. // The fully qualified name of the enum type.
  424. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
  425. // The value of the enum.
  426. Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
  427. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  428. XXX_unrecognized []byte `json:"-"`
  429. XXX_sizecache int32 `json:"-"`
  430. }
  431. func (m *EnumValue) Reset() { *m = EnumValue{} }
  432. func (m *EnumValue) String() string { return proto.CompactTextString(m) }
  433. func (*EnumValue) ProtoMessage() {}
  434. func (*EnumValue) Descriptor() ([]byte, []int) {
  435. return fileDescriptor_value_6c2bb4fc7e0e374b, []int{1}
  436. }
  437. func (m *EnumValue) XXX_Unmarshal(b []byte) error {
  438. return xxx_messageInfo_EnumValue.Unmarshal(m, b)
  439. }
  440. func (m *EnumValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  441. return xxx_messageInfo_EnumValue.Marshal(b, m, deterministic)
  442. }
  443. func (dst *EnumValue) XXX_Merge(src proto.Message) {
  444. xxx_messageInfo_EnumValue.Merge(dst, src)
  445. }
  446. func (m *EnumValue) XXX_Size() int {
  447. return xxx_messageInfo_EnumValue.Size(m)
  448. }
  449. func (m *EnumValue) XXX_DiscardUnknown() {
  450. xxx_messageInfo_EnumValue.DiscardUnknown(m)
  451. }
  452. var xxx_messageInfo_EnumValue proto.InternalMessageInfo
  453. func (m *EnumValue) GetType() string {
  454. if m != nil {
  455. return m.Type
  456. }
  457. return ""
  458. }
  459. func (m *EnumValue) GetValue() int32 {
  460. if m != nil {
  461. return m.Value
  462. }
  463. return 0
  464. }
  465. // A list.
  466. //
  467. // Wrapped in a message so 'not set' and empty can be differentiated, which is
  468. // required for use in a 'oneof'.
  469. type ListValue struct {
  470. // The ordered values in the list.
  471. Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
  472. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  473. XXX_unrecognized []byte `json:"-"`
  474. XXX_sizecache int32 `json:"-"`
  475. }
  476. func (m *ListValue) Reset() { *m = ListValue{} }
  477. func (m *ListValue) String() string { return proto.CompactTextString(m) }
  478. func (*ListValue) ProtoMessage() {}
  479. func (*ListValue) Descriptor() ([]byte, []int) {
  480. return fileDescriptor_value_6c2bb4fc7e0e374b, []int{2}
  481. }
  482. func (m *ListValue) XXX_Unmarshal(b []byte) error {
  483. return xxx_messageInfo_ListValue.Unmarshal(m, b)
  484. }
  485. func (m *ListValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  486. return xxx_messageInfo_ListValue.Marshal(b, m, deterministic)
  487. }
  488. func (dst *ListValue) XXX_Merge(src proto.Message) {
  489. xxx_messageInfo_ListValue.Merge(dst, src)
  490. }
  491. func (m *ListValue) XXX_Size() int {
  492. return xxx_messageInfo_ListValue.Size(m)
  493. }
  494. func (m *ListValue) XXX_DiscardUnknown() {
  495. xxx_messageInfo_ListValue.DiscardUnknown(m)
  496. }
  497. var xxx_messageInfo_ListValue proto.InternalMessageInfo
  498. func (m *ListValue) GetValues() []*Value {
  499. if m != nil {
  500. return m.Values
  501. }
  502. return nil
  503. }
  504. // A map.
  505. //
  506. // Wrapped in a message so 'not set' and empty can be differentiated, which is
  507. // required for use in a 'oneof'.
  508. type MapValue struct {
  509. // The set of map entries.
  510. //
  511. // CEL has fewer restrictions on keys, so a protobuf map represenation
  512. // cannot be used.
  513. Entries []*MapValue_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
  514. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  515. XXX_unrecognized []byte `json:"-"`
  516. XXX_sizecache int32 `json:"-"`
  517. }
  518. func (m *MapValue) Reset() { *m = MapValue{} }
  519. func (m *MapValue) String() string { return proto.CompactTextString(m) }
  520. func (*MapValue) ProtoMessage() {}
  521. func (*MapValue) Descriptor() ([]byte, []int) {
  522. return fileDescriptor_value_6c2bb4fc7e0e374b, []int{3}
  523. }
  524. func (m *MapValue) XXX_Unmarshal(b []byte) error {
  525. return xxx_messageInfo_MapValue.Unmarshal(m, b)
  526. }
  527. func (m *MapValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  528. return xxx_messageInfo_MapValue.Marshal(b, m, deterministic)
  529. }
  530. func (dst *MapValue) XXX_Merge(src proto.Message) {
  531. xxx_messageInfo_MapValue.Merge(dst, src)
  532. }
  533. func (m *MapValue) XXX_Size() int {
  534. return xxx_messageInfo_MapValue.Size(m)
  535. }
  536. func (m *MapValue) XXX_DiscardUnknown() {
  537. xxx_messageInfo_MapValue.DiscardUnknown(m)
  538. }
  539. var xxx_messageInfo_MapValue proto.InternalMessageInfo
  540. func (m *MapValue) GetEntries() []*MapValue_Entry {
  541. if m != nil {
  542. return m.Entries
  543. }
  544. return nil
  545. }
  546. // An entry in the map.
  547. type MapValue_Entry struct {
  548. // The key.
  549. //
  550. // Must be unique with in the map.
  551. // Currently only boolean, int, uint, and string values can be keys.
  552. Key *Value `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  553. // The value.
  554. Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  555. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  556. XXX_unrecognized []byte `json:"-"`
  557. XXX_sizecache int32 `json:"-"`
  558. }
  559. func (m *MapValue_Entry) Reset() { *m = MapValue_Entry{} }
  560. func (m *MapValue_Entry) String() string { return proto.CompactTextString(m) }
  561. func (*MapValue_Entry) ProtoMessage() {}
  562. func (*MapValue_Entry) Descriptor() ([]byte, []int) {
  563. return fileDescriptor_value_6c2bb4fc7e0e374b, []int{3, 0}
  564. }
  565. func (m *MapValue_Entry) XXX_Unmarshal(b []byte) error {
  566. return xxx_messageInfo_MapValue_Entry.Unmarshal(m, b)
  567. }
  568. func (m *MapValue_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  569. return xxx_messageInfo_MapValue_Entry.Marshal(b, m, deterministic)
  570. }
  571. func (dst *MapValue_Entry) XXX_Merge(src proto.Message) {
  572. xxx_messageInfo_MapValue_Entry.Merge(dst, src)
  573. }
  574. func (m *MapValue_Entry) XXX_Size() int {
  575. return xxx_messageInfo_MapValue_Entry.Size(m)
  576. }
  577. func (m *MapValue_Entry) XXX_DiscardUnknown() {
  578. xxx_messageInfo_MapValue_Entry.DiscardUnknown(m)
  579. }
  580. var xxx_messageInfo_MapValue_Entry proto.InternalMessageInfo
  581. func (m *MapValue_Entry) GetKey() *Value {
  582. if m != nil {
  583. return m.Key
  584. }
  585. return nil
  586. }
  587. func (m *MapValue_Entry) GetValue() *Value {
  588. if m != nil {
  589. return m.Value
  590. }
  591. return nil
  592. }
  593. func init() {
  594. proto.RegisterType((*Value)(nil), "google.api.expr.v1beta1.Value")
  595. proto.RegisterType((*EnumValue)(nil), "google.api.expr.v1beta1.EnumValue")
  596. proto.RegisterType((*ListValue)(nil), "google.api.expr.v1beta1.ListValue")
  597. proto.RegisterType((*MapValue)(nil), "google.api.expr.v1beta1.MapValue")
  598. proto.RegisterType((*MapValue_Entry)(nil), "google.api.expr.v1beta1.MapValue.Entry")
  599. }
  600. func init() {
  601. proto.RegisterFile("google/api/expr/v1beta1/value.proto", fileDescriptor_value_6c2bb4fc7e0e374b)
  602. }
  603. var fileDescriptor_value_6c2bb4fc7e0e374b = []byte{
  604. // 516 bytes of a gzipped FileDescriptorProto
  605. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x94, 0x4d, 0x6f, 0xd3, 0x30,
  606. 0x18, 0xc7, 0x6b, 0xfa, 0xb2, 0xe6, 0x69, 0x05, 0x92, 0x35, 0x89, 0x51, 0x10, 0x64, 0xdd, 0x81,
  607. 0x9c, 0x1c, 0x56, 0xc6, 0x24, 0xd4, 0x0b, 0xeb, 0x34, 0xa9, 0x07, 0x40, 0x53, 0x0e, 0x1c, 0xb8,
  608. 0xa0, 0xa4, 0x33, 0x51, 0xa8, 0x63, 0x47, 0x89, 0x3d, 0x91, 0x2f, 0xc7, 0x07, 0xe0, 0x13, 0x71,
  609. 0x44, 0x7e, 0x0b, 0x63, 0x53, 0xd5, 0x5b, 0x9e, 0xbf, 0x7f, 0x7f, 0x3f, 0x2f, 0x7e, 0x14, 0x38,
  610. 0xc9, 0x85, 0xc8, 0x19, 0x8d, 0xd3, 0xaa, 0x88, 0xe9, 0xcf, 0xaa, 0x8e, 0x6f, 0x4f, 0x33, 0x2a,
  611. 0xd3, 0xd3, 0xf8, 0x36, 0x65, 0x8a, 0x92, 0xaa, 0x16, 0x52, 0xe0, 0xa7, 0x16, 0x22, 0x69, 0x55,
  612. 0x10, 0x0d, 0x11, 0x07, 0xcd, 0x9e, 0x39, 0xb7, 0xc1, 0x32, 0xf5, 0x3d, 0x4e, 0x79, 0x6b, 0x3d,
  613. 0xb3, 0x17, 0xf7, 0x8f, 0x1a, 0x59, 0xab, 0x8d, 0xb4, 0xa7, 0xf3, 0xdf, 0x03, 0x18, 0x7e, 0xd1,
  614. 0x19, 0xf0, 0x12, 0x80, 0x2b, 0xc6, 0xbe, 0x99, 0x7c, 0x47, 0x28, 0x44, 0xd1, 0xe3, 0xc5, 0x8c,
  615. 0xb8, 0x84, 0xde, 0x4c, 0x3e, 0x2b, 0xc6, 0x0c, 0xbf, 0xee, 0x25, 0x01, 0xf7, 0x01, 0x7e, 0x05,
  616. 0x90, 0x09, 0xe1, 0xcd, 0x8f, 0x42, 0x14, 0x8d, 0x35, 0xa0, 0x35, 0x0b, 0x1c, 0xc3, 0xa4, 0xe0,
  617. 0xf2, 0xfc, 0xcc, 0x11, 0xfd, 0x10, 0x45, 0xfd, 0x75, 0x2f, 0x01, 0x23, 0x5a, 0xe4, 0x04, 0xa6,
  618. 0xea, 0x2e, 0x33, 0x08, 0x51, 0x34, 0x58, 0xf7, 0x92, 0x89, 0xfa, 0x1f, 0xba, 0x11, 0x2a, 0x63,
  619. 0xd4, 0x41, 0xc3, 0x10, 0x45, 0x48, 0x43, 0x56, 0xed, 0xa0, 0x46, 0xd6, 0x05, 0xcf, 0x1d, 0x34,
  620. 0x0a, 0x51, 0x14, 0x68, 0xc8, 0xaa, 0x5d, 0x45, 0x59, 0x2b, 0x69, 0xe3, 0x98, 0x83, 0x10, 0x45,
  621. 0x53, 0x5d, 0x91, 0x11, 0x2d, 0x72, 0x09, 0x40, 0xb9, 0x2a, 0x1d, 0x11, 0x84, 0x28, 0x9a, 0x2c,
  622. 0xe6, 0x64, 0xc7, 0x1b, 0x90, 0x2b, 0xae, 0xca, 0x6e, 0x34, 0xd4, 0x07, 0xf8, 0x3d, 0x4c, 0x45,
  623. 0xf6, 0x83, 0x6e, 0xa4, 0xbb, 0x06, 0xcc, 0x35, 0x87, 0x0f, 0x26, 0x7b, 0xc1, 0x5b, 0x5d, 0xa2,
  624. 0x65, 0xad, 0xf5, 0x03, 0x04, 0x65, 0x5a, 0x39, 0xdf, 0xc4, 0xf8, 0x8e, 0x77, 0xa6, 0xff, 0x94,
  625. 0x56, 0x3e, 0xfb, 0xb8, 0x74, 0xdf, 0xba, 0x03, 0x56, 0x34, 0x3e, 0xf5, 0x74, 0x4f, 0x07, 0x1f,
  626. 0x8b, 0x46, 0x76, 0x1d, 0x30, 0x1f, 0xe8, 0xc7, 0x95, 0x6d, 0xe5, 0x27, 0xfe, 0xc4, 0x0d, 0x33,
  627. 0xd0, 0x9a, 0x01, 0x56, 0x23, 0x18, 0x6c, 0x0b, 0x7e, 0x33, 0x7f, 0x07, 0x41, 0x37, 0x04, 0x8c,
  628. 0x61, 0xa0, 0x09, 0xb3, 0x49, 0x41, 0x62, 0xbe, 0xf1, 0x21, 0x0c, 0xff, 0x6d, 0xc8, 0x30, 0xb1,
  629. 0xc1, 0xfc, 0x12, 0x82, 0x2e, 0x33, 0x3e, 0x87, 0x91, 0x51, 0x9b, 0x23, 0x14, 0xf6, 0xa3, 0xc9,
  630. 0xe2, 0xe5, 0xce, 0x6a, 0x0d, 0x9f, 0x38, 0x7a, 0xfe, 0x0b, 0xc1, 0xd8, 0x8f, 0x00, 0x5f, 0xc0,
  631. 0x01, 0xe5, 0xb2, 0x2e, 0xba, 0x5b, 0x5e, 0xef, 0x1d, 0x1b, 0xb9, 0xe2, 0xb2, 0x6e, 0x13, 0xef,
  632. 0x9b, 0x09, 0x18, 0x1a, 0x05, 0xbf, 0x81, 0xfe, 0x96, 0xb6, 0xa6, 0x8d, 0xfd, 0xd5, 0x68, 0x14,
  633. 0x9f, 0xdd, 0xed, 0x72, 0xbf, 0xc7, 0xc2, 0xab, 0x2d, 0x3c, 0xdf, 0x88, 0x72, 0x17, 0xbb, 0x02,
  634. 0x03, 0x5f, 0xeb, 0x6d, 0xb9, 0x46, 0x5f, 0x97, 0x0e, 0xcb, 0x05, 0x4b, 0x79, 0x4e, 0x44, 0x9d,
  635. 0xc7, 0x39, 0xe5, 0x66, 0x97, 0x62, 0x7b, 0x94, 0x56, 0x45, 0xf3, 0xe0, 0x67, 0xb2, 0xd4, 0xc1,
  636. 0x1f, 0x84, 0xb2, 0x91, 0x41, 0xdf, 0xfe, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xb1, 0x11, 0xf9, 0xd9,
  637. 0x76, 0x04, 0x00, 0x00,
  638. }