struct.pb.go 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/protobuf/struct.proto
  3. package known_proto
  4. import (
  5. proto "github.com/golang/protobuf/proto"
  6. protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
  7. protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
  8. reflect "reflect"
  9. )
  10. // `NullValue` is a singleton enumeration to represent the null value for the
  11. // `Value` type union.
  12. //
  13. // The JSON representation for `NullValue` is JSON `null`.
  14. type NullValue int32
  15. const (
  16. // Null value.
  17. NullValue_NULL_VALUE NullValue = 0
  18. )
  19. func (e NullValue) Type() protoreflect.EnumType {
  20. return xxx_File_google_protobuf_struct_proto_enumTypes[0]
  21. }
  22. func (e NullValue) Number() protoreflect.EnumNumber {
  23. return protoreflect.EnumNumber(e)
  24. }
  25. // Deprecated: Use NullValue.Type.Values instead.
  26. var NullValue_name = map[int32]string{
  27. 0: "NULL_VALUE",
  28. }
  29. // Deprecated: Use NullValue.Type.Values instead.
  30. var NullValue_value = map[string]int32{
  31. "NULL_VALUE": 0,
  32. }
  33. func (x NullValue) String() string {
  34. return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
  35. }
  36. // Deprecated: Use NullValue.Type instead.
  37. func (NullValue) EnumDescriptor() ([]byte, []int) {
  38. return xxx_File_google_protobuf_struct_proto_rawdesc_gzipped, []int{0}
  39. }
  40. func (NullValue) XXX_WellKnownType() string { return "NullValue" }
  41. // `Struct` represents a structured data value, consisting of fields
  42. // which map to dynamically typed values. In some languages, `Struct`
  43. // might be supported by a native representation. For example, in
  44. // scripting languages like JS a struct is represented as an
  45. // object. The details of that representation are described together
  46. // with the proto support for the language.
  47. //
  48. // The JSON representation for `Struct` is JSON object.
  49. type Struct struct {
  50. // Unordered map of dynamically typed values.
  51. Fields map[string]*Value `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  52. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  53. XXX_unrecognized []byte `json:"-"`
  54. XXX_sizecache int32 `json:"-"`
  55. }
  56. func (m *Struct) ProtoReflect() protoreflect.Message {
  57. return xxx_File_google_protobuf_struct_proto_messageTypes[0].MessageOf(m)
  58. }
  59. func (m *Struct) Reset() { *m = Struct{} }
  60. func (m *Struct) String() string { return proto.CompactTextString(m) }
  61. func (*Struct) ProtoMessage() {}
  62. // Deprecated: Use Struct.ProtoReflect.Type instead.
  63. func (*Struct) Descriptor() ([]byte, []int) {
  64. return xxx_File_google_protobuf_struct_proto_rawdesc_gzipped, []int{0}
  65. }
  66. func (*Struct) XXX_WellKnownType() string { return "Struct" }
  67. func (m *Struct) XXX_Unmarshal(b []byte) error {
  68. return xxx_messageInfo_Struct.Unmarshal(m, b)
  69. }
  70. func (m *Struct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  71. return xxx_messageInfo_Struct.Marshal(b, m, deterministic)
  72. }
  73. func (m *Struct) XXX_Merge(src proto.Message) {
  74. xxx_messageInfo_Struct.Merge(m, src)
  75. }
  76. func (m *Struct) XXX_Size() int {
  77. return xxx_messageInfo_Struct.Size(m)
  78. }
  79. func (m *Struct) XXX_DiscardUnknown() {
  80. xxx_messageInfo_Struct.DiscardUnknown(m)
  81. }
  82. var xxx_messageInfo_Struct proto.InternalMessageInfo
  83. func (m *Struct) GetFields() map[string]*Value {
  84. if m != nil {
  85. return m.Fields
  86. }
  87. return nil
  88. }
  89. // `Value` represents a dynamically typed value which can be either
  90. // null, a number, a string, a boolean, a recursive struct value, or a
  91. // list of values. A producer of value is expected to set one of that
  92. // variants, absence of any variant indicates an error.
  93. //
  94. // The JSON representation for `Value` is JSON value.
  95. type Value struct {
  96. // The kind of value.
  97. //
  98. // Types that are valid to be assigned to Kind:
  99. // Represents a null value.
  100. // *Value_NullValue
  101. // Represents a double value.
  102. // *Value_NumberValue
  103. // Represents a string value.
  104. // *Value_StringValue
  105. // Represents a boolean value.
  106. // *Value_BoolValue
  107. // Represents a structured value.
  108. // *Value_StructValue
  109. // Represents a repeated `Value`.
  110. // *Value_ListValue
  111. Kind isValue_Kind `protobuf_oneof:"kind"`
  112. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  113. XXX_unrecognized []byte `json:"-"`
  114. XXX_sizecache int32 `json:"-"`
  115. }
  116. func (m *Value) ProtoReflect() protoreflect.Message {
  117. return xxx_File_google_protobuf_struct_proto_messageTypes[1].MessageOf(m)
  118. }
  119. func (m *Value) Reset() { *m = Value{} }
  120. func (m *Value) String() string { return proto.CompactTextString(m) }
  121. func (*Value) ProtoMessage() {}
  122. // Deprecated: Use Value.ProtoReflect.Type instead.
  123. func (*Value) Descriptor() ([]byte, []int) {
  124. return xxx_File_google_protobuf_struct_proto_rawdesc_gzipped, []int{1}
  125. }
  126. func (*Value) XXX_WellKnownType() string { return "Value" }
  127. func (m *Value) XXX_Unmarshal(b []byte) error {
  128. return xxx_messageInfo_Value.Unmarshal(m, b)
  129. }
  130. func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  131. return xxx_messageInfo_Value.Marshal(b, m, deterministic)
  132. }
  133. func (m *Value) XXX_Merge(src proto.Message) {
  134. xxx_messageInfo_Value.Merge(m, src)
  135. }
  136. func (m *Value) XXX_Size() int {
  137. return xxx_messageInfo_Value.Size(m)
  138. }
  139. func (m *Value) XXX_DiscardUnknown() {
  140. xxx_messageInfo_Value.DiscardUnknown(m)
  141. }
  142. var xxx_messageInfo_Value proto.InternalMessageInfo
  143. type isValue_Kind interface {
  144. isValue_Kind()
  145. }
  146. type Value_NullValue struct {
  147. NullValue NullValue `protobuf:"varint,1,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"`
  148. }
  149. type Value_NumberValue struct {
  150. NumberValue float64 `protobuf:"fixed64,2,opt,name=number_value,json=numberValue,proto3,oneof"`
  151. }
  152. type Value_StringValue struct {
  153. StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
  154. }
  155. type Value_BoolValue struct {
  156. BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"`
  157. }
  158. type Value_StructValue struct {
  159. StructValue *Struct `protobuf:"bytes,5,opt,name=struct_value,json=structValue,proto3,oneof"`
  160. }
  161. type Value_ListValue struct {
  162. ListValue *ListValue `protobuf:"bytes,6,opt,name=list_value,json=listValue,proto3,oneof"`
  163. }
  164. func (*Value_NullValue) isValue_Kind() {}
  165. func (*Value_NumberValue) isValue_Kind() {}
  166. func (*Value_StringValue) isValue_Kind() {}
  167. func (*Value_BoolValue) isValue_Kind() {}
  168. func (*Value_StructValue) isValue_Kind() {}
  169. func (*Value_ListValue) isValue_Kind() {}
  170. func (m *Value) GetKind() isValue_Kind {
  171. if m != nil {
  172. return m.Kind
  173. }
  174. return nil
  175. }
  176. func (m *Value) GetNullValue() NullValue {
  177. if x, ok := m.GetKind().(*Value_NullValue); ok {
  178. return x.NullValue
  179. }
  180. return NullValue_NULL_VALUE
  181. }
  182. func (m *Value) GetNumberValue() float64 {
  183. if x, ok := m.GetKind().(*Value_NumberValue); ok {
  184. return x.NumberValue
  185. }
  186. return 0
  187. }
  188. func (m *Value) GetStringValue() string {
  189. if x, ok := m.GetKind().(*Value_StringValue); ok {
  190. return x.StringValue
  191. }
  192. return ""
  193. }
  194. func (m *Value) GetBoolValue() bool {
  195. if x, ok := m.GetKind().(*Value_BoolValue); ok {
  196. return x.BoolValue
  197. }
  198. return false
  199. }
  200. func (m *Value) GetStructValue() *Struct {
  201. if x, ok := m.GetKind().(*Value_StructValue); ok {
  202. return x.StructValue
  203. }
  204. return nil
  205. }
  206. func (m *Value) GetListValue() *ListValue {
  207. if x, ok := m.GetKind().(*Value_ListValue); ok {
  208. return x.ListValue
  209. }
  210. return nil
  211. }
  212. // XXX_OneofWrappers is for the internal use of the proto package.
  213. func (*Value) XXX_OneofWrappers() []interface{} {
  214. return []interface{}{
  215. (*Value_NullValue)(nil),
  216. (*Value_NumberValue)(nil),
  217. (*Value_StringValue)(nil),
  218. (*Value_BoolValue)(nil),
  219. (*Value_StructValue)(nil),
  220. (*Value_ListValue)(nil),
  221. }
  222. }
  223. // `ListValue` is a wrapper around a repeated field of values.
  224. //
  225. // The JSON representation for `ListValue` is JSON array.
  226. type ListValue struct {
  227. // Repeated field of dynamically typed values.
  228. Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
  229. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  230. XXX_unrecognized []byte `json:"-"`
  231. XXX_sizecache int32 `json:"-"`
  232. }
  233. func (m *ListValue) ProtoReflect() protoreflect.Message {
  234. return xxx_File_google_protobuf_struct_proto_messageTypes[2].MessageOf(m)
  235. }
  236. func (m *ListValue) Reset() { *m = ListValue{} }
  237. func (m *ListValue) String() string { return proto.CompactTextString(m) }
  238. func (*ListValue) ProtoMessage() {}
  239. // Deprecated: Use ListValue.ProtoReflect.Type instead.
  240. func (*ListValue) Descriptor() ([]byte, []int) {
  241. return xxx_File_google_protobuf_struct_proto_rawdesc_gzipped, []int{2}
  242. }
  243. func (*ListValue) XXX_WellKnownType() string { return "ListValue" }
  244. func (m *ListValue) XXX_Unmarshal(b []byte) error {
  245. return xxx_messageInfo_ListValue.Unmarshal(m, b)
  246. }
  247. func (m *ListValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  248. return xxx_messageInfo_ListValue.Marshal(b, m, deterministic)
  249. }
  250. func (m *ListValue) XXX_Merge(src proto.Message) {
  251. xxx_messageInfo_ListValue.Merge(m, src)
  252. }
  253. func (m *ListValue) XXX_Size() int {
  254. return xxx_messageInfo_ListValue.Size(m)
  255. }
  256. func (m *ListValue) XXX_DiscardUnknown() {
  257. xxx_messageInfo_ListValue.DiscardUnknown(m)
  258. }
  259. var xxx_messageInfo_ListValue proto.InternalMessageInfo
  260. func (m *ListValue) GetValues() []*Value {
  261. if m != nil {
  262. return m.Values
  263. }
  264. return nil
  265. }
  266. var xxx_File_google_protobuf_struct_proto_rawdesc = []byte{
  267. // 745 bytes of the wire-encoded FileDescriptorProto
  268. 0x0a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  269. 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f,
  270. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22,
  271. 0x98, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x3b, 0x0a, 0x06, 0x66, 0x69,
  272. 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f,
  273. 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72,
  274. 0x75, 0x63, 0x74, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
  275. 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x1a, 0x51, 0x0a, 0x0b, 0x46, 0x69, 0x65, 0x6c, 0x64,
  276. 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
  277. 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
  278. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
  279. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
  280. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb2, 0x02, 0x0a, 0x05, 0x56,
  281. 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x61, 0x6c,
  282. 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
  283. 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56,
  284. 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75,
  285. 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75,
  286. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x6e, 0x75, 0x6d, 0x62, 0x65,
  287. 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
  288. 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b,
  289. 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x62,
  290. 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48,
  291. 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3c, 0x0a, 0x0c,
  292. 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01,
  293. 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  294. 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x73,
  295. 0x74, 0x72, 0x75, 0x63, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6c, 0x69,
  296. 0x73, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
  297. 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  298. 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x69,
  299. 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22,
  300. 0x3b, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a, 0x06,
  301. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67,
  302. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56,
  303. 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2a, 0x1b, 0x0a, 0x09,
  304. 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x55, 0x4c,
  305. 0x4c, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x00, 0x42, 0x85, 0x01, 0x0a, 0x13, 0x63, 0x6f,
  306. 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  307. 0x66, 0x42, 0x0b, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
  308. 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c,
  309. 0x61, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32, 0x2f,
  310. 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x3b, 0x6b, 0x6e, 0x6f, 0x77,
  311. 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x03, 0x47, 0x50, 0x42,
  312. 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62,
  313. 0x75, 0x66, 0x2e, 0x57, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65,
  314. 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  315. }
  316. var xxx_File_google_protobuf_struct_proto_rawdesc_gzipped = protoimpl.X.CompressGZIP(xxx_File_google_protobuf_struct_proto_rawdesc)
  317. const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
  318. var File_google_protobuf_struct_proto protoreflect.FileDescriptor
  319. var xxx_File_google_protobuf_struct_proto_enumTypes = make([]protoreflect.EnumType, 1)
  320. var xxx_File_google_protobuf_struct_proto_messageTypes = make([]protoimpl.MessageType, 4)
  321. var xxx_File_google_protobuf_struct_proto_goTypes = []interface{}{
  322. (NullValue)(0), // 0: google.protobuf.NullValue
  323. (*Struct)(nil), // 1: google.protobuf.Struct
  324. (*Value)(nil), // 2: google.protobuf.Value
  325. (*ListValue)(nil), // 3: google.protobuf.ListValue
  326. nil, // 4: google.protobuf.Struct.FieldsEntry
  327. }
  328. var xxx_File_google_protobuf_struct_proto_depIdxs = []int32{
  329. 4, // google.protobuf.Struct.fields:type_name -> google.protobuf.Struct.FieldsEntry
  330. 0, // google.protobuf.Value.null_value:type_name -> google.protobuf.NullValue
  331. 1, // google.protobuf.Value.struct_value:type_name -> google.protobuf.Struct
  332. 3, // google.protobuf.Value.list_value:type_name -> google.protobuf.ListValue
  333. 2, // google.protobuf.ListValue.values:type_name -> google.protobuf.Value
  334. 2, // google.protobuf.Struct.FieldsEntry.value:type_name -> google.protobuf.Value
  335. }
  336. func init() { xxx_File_google_protobuf_struct_proto_init() }
  337. func xxx_File_google_protobuf_struct_proto_init() {
  338. if File_google_protobuf_struct_proto != nil {
  339. return
  340. }
  341. messageTypes := make([]protoreflect.MessageType, 4)
  342. File_google_protobuf_struct_proto = protoimpl.FileBuilder{
  343. RawDescriptor: xxx_File_google_protobuf_struct_proto_rawdesc,
  344. GoTypes: xxx_File_google_protobuf_struct_proto_goTypes,
  345. DependencyIndexes: xxx_File_google_protobuf_struct_proto_depIdxs,
  346. EnumOutputTypes: xxx_File_google_protobuf_struct_proto_enumTypes,
  347. MessageOutputTypes: messageTypes,
  348. }.Init()
  349. messageGoTypes := xxx_File_google_protobuf_struct_proto_goTypes[1:][:4]
  350. for i, mt := range messageTypes {
  351. xxx_File_google_protobuf_struct_proto_messageTypes[i].GoType = reflect.TypeOf(messageGoTypes[i])
  352. xxx_File_google_protobuf_struct_proto_messageTypes[i].PBType = mt
  353. }
  354. proto.RegisterFile("google/protobuf/struct.proto", xxx_File_google_protobuf_struct_proto_rawdesc_gzipped)
  355. proto.RegisterEnum("google.protobuf.NullValue", NullValue_name, NullValue_value)
  356. proto.RegisterType((*Struct)(nil), "google.protobuf.Struct")
  357. proto.RegisterMapType((map[string]*Value)(nil), "google.protobuf.Struct.FieldsEntry")
  358. proto.RegisterType((*Value)(nil), "google.protobuf.Value")
  359. proto.RegisterType((*ListValue)(nil), "google.protobuf.ListValue")
  360. xxx_File_google_protobuf_struct_proto_goTypes = nil
  361. xxx_File_google_protobuf_struct_proto_depIdxs = nil
  362. }