struct.pb.go 16 KB

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