Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: google/protobuf/struct.proto |
| 3 | |
Joe Tsai | a95b29f | 2019-05-16 12:47:20 -0700 | [diff] [blame] | 4 | package structpb |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 5 | |
| 6 | import ( |
Damien Neil | e89e624 | 2019-05-13 23:55:40 -0700 | [diff] [blame] | 7 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
Joe Tsai | d888139 | 2019-06-06 13:01:53 -0700 | [diff] [blame] | 8 | prototype "google.golang.org/protobuf/reflect/prototype" |
Damien Neil | e89e624 | 2019-05-13 23:55:40 -0700 | [diff] [blame] | 9 | protoiface "google.golang.org/protobuf/runtime/protoiface" |
| 10 | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 11 | sync "sync" |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 12 | ) |
| 13 | |
Joe Tsai | 58b42d8 | 2019-05-22 16:27:51 -0400 | [diff] [blame] | 14 | const ( |
| 15 | // Verify that runtime/protoimpl is sufficiently up-to-date. |
| 16 | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 0) |
| 17 | // Verify that this generated code is sufficiently up-to-date. |
| 18 | _ = protoimpl.EnforceVersion(0 - protoimpl.MinVersion) |
| 19 | ) |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 20 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 21 | // `NullValue` is a singleton enumeration to represent the null value for the |
| 22 | // `Value` type union. |
| 23 | // |
| 24 | // The JSON representation for `NullValue` is JSON `null`. |
| 25 | type NullValue int32 |
| 26 | |
| 27 | const ( |
| 28 | // Null value. |
| 29 | NullValue_NULL_VALUE NullValue = 0 |
| 30 | ) |
| 31 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 32 | var NullValue_name = map[int32]string{ |
| 33 | 0: "NULL_VALUE", |
| 34 | } |
| 35 | |
| 36 | var NullValue_value = map[string]int32{ |
| 37 | "NULL_VALUE": 0, |
| 38 | } |
| 39 | |
Joe Tsai | dbab6c0 | 2019-05-14 15:06:03 -0700 | [diff] [blame] | 40 | func (x NullValue) Enum() *NullValue { |
| 41 | p := new(NullValue) |
| 42 | *p = x |
| 43 | return p |
| 44 | } |
| 45 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 46 | func (x NullValue) String() string { |
Joe Tsai | 0fc49f8 | 2019-05-01 12:29:25 -0700 | [diff] [blame] | 47 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 48 | } |
| 49 | |
Joe Tsai | 0fc49f8 | 2019-05-01 12:29:25 -0700 | [diff] [blame] | 50 | func (NullValue) Descriptor() protoreflect.EnumDescriptor { |
Joe Tsai | d888139 | 2019-06-06 13:01:53 -0700 | [diff] [blame] | 51 | return file_google_protobuf_struct_proto_enumTypes[0].EnumDescriptor |
Joe Tsai | 0fc49f8 | 2019-05-01 12:29:25 -0700 | [diff] [blame] | 52 | } |
| 53 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 54 | func (x NullValue) Number() protoreflect.EnumNumber { |
| 55 | return protoreflect.EnumNumber(x) |
| 56 | } |
| 57 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 58 | // Deprecated: Use NullValue.Type instead. |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 59 | func (NullValue) EnumDescriptor() ([]byte, []int) { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 60 | return file_google_protobuf_struct_proto_rawDescGZIP(), []int{0} |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 61 | } |
| 62 | |
| 63 | func (NullValue) XXX_WellKnownType() string { return "NullValue" } |
| 64 | |
| 65 | // `Struct` represents a structured data value, consisting of fields |
| 66 | // which map to dynamically typed values. In some languages, `Struct` |
| 67 | // might be supported by a native representation. For example, in |
| 68 | // scripting languages like JS a struct is represented as an |
| 69 | // object. The details of that representation are described together |
| 70 | // with the proto support for the language. |
| 71 | // |
| 72 | // The JSON representation for `Struct` is JSON object. |
| 73 | type Struct struct { |
| 74 | // Unordered map of dynamically typed values. |
Joe Tsai | 5e71dc9 | 2019-04-16 13:22:20 -0700 | [diff] [blame] | 75 | 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"` |
| 76 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 77 | XXX_unrecognized protoimpl.UnknownFields `json:"-"` |
| 78 | XXX_sizecache protoimpl.SizeCache `json:"-"` |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 79 | } |
| 80 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 81 | func (x *Struct) Reset() { |
| 82 | *x = Struct{} |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 83 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 84 | |
| 85 | func (x *Struct) String() string { |
| 86 | return protoimpl.X.MessageStringOf(x) |
| 87 | } |
| 88 | |
| 89 | func (*Struct) ProtoMessage() {} |
| 90 | |
| 91 | func (x *Struct) ProtoReflect() protoreflect.Message { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 92 | return file_google_protobuf_struct_proto_msgTypes[0].MessageOf(x) |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 93 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 94 | |
Damien Neil | 0d3e8cc | 2019-04-01 13:31:55 -0700 | [diff] [blame] | 95 | func (m *Struct) XXX_Methods() *protoiface.Methods { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 96 | return file_google_protobuf_struct_proto_msgTypes[0].Methods() |
Damien Neil | 0d3e8cc | 2019-04-01 13:31:55 -0700 | [diff] [blame] | 97 | } |
| 98 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 99 | // Deprecated: Use Struct.ProtoReflect.Type instead. |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 100 | func (*Struct) Descriptor() ([]byte, []int) { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 101 | return file_google_protobuf_struct_proto_rawDescGZIP(), []int{0} |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 102 | } |
| 103 | |
| 104 | func (*Struct) XXX_WellKnownType() string { return "Struct" } |
| 105 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 106 | func (x *Struct) GetFields() map[string]*Value { |
| 107 | if x != nil { |
| 108 | return x.Fields |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 109 | } |
| 110 | return nil |
| 111 | } |
| 112 | |
| 113 | // `Value` represents a dynamically typed value which can be either |
| 114 | // null, a number, a string, a boolean, a recursive struct value, or a |
| 115 | // list of values. A producer of value is expected to set one of that |
| 116 | // variants, absence of any variant indicates an error. |
| 117 | // |
| 118 | // The JSON representation for `Value` is JSON value. |
| 119 | type Value struct { |
| 120 | // The kind of value. |
| 121 | // |
| 122 | // Types that are valid to be assigned to Kind: |
| 123 | // Represents a null value. |
| 124 | // *Value_NullValue |
| 125 | // Represents a double value. |
| 126 | // *Value_NumberValue |
| 127 | // Represents a string value. |
| 128 | // *Value_StringValue |
| 129 | // Represents a boolean value. |
| 130 | // *Value_BoolValue |
| 131 | // Represents a structured value. |
| 132 | // *Value_StructValue |
| 133 | // Represents a repeated `Value`. |
| 134 | // *Value_ListValue |
Joe Tsai | 5e71dc9 | 2019-04-16 13:22:20 -0700 | [diff] [blame] | 135 | Kind isValue_Kind `protobuf_oneof:"kind"` |
| 136 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 137 | XXX_unrecognized protoimpl.UnknownFields `json:"-"` |
| 138 | XXX_sizecache protoimpl.SizeCache `json:"-"` |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 139 | } |
| 140 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 141 | func (x *Value) Reset() { |
| 142 | *x = Value{} |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 143 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 144 | |
| 145 | func (x *Value) String() string { |
| 146 | return protoimpl.X.MessageStringOf(x) |
| 147 | } |
| 148 | |
| 149 | func (*Value) ProtoMessage() {} |
| 150 | |
| 151 | func (x *Value) ProtoReflect() protoreflect.Message { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 152 | return file_google_protobuf_struct_proto_msgTypes[1].MessageOf(x) |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 153 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 154 | |
Damien Neil | 0d3e8cc | 2019-04-01 13:31:55 -0700 | [diff] [blame] | 155 | func (m *Value) XXX_Methods() *protoiface.Methods { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 156 | return file_google_protobuf_struct_proto_msgTypes[1].Methods() |
Damien Neil | 0d3e8cc | 2019-04-01 13:31:55 -0700 | [diff] [blame] | 157 | } |
| 158 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 159 | // Deprecated: Use Value.ProtoReflect.Type instead. |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 160 | func (*Value) Descriptor() ([]byte, []int) { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 161 | return file_google_protobuf_struct_proto_rawDescGZIP(), []int{1} |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 162 | } |
| 163 | |
| 164 | func (*Value) XXX_WellKnownType() string { return "Value" } |
| 165 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 166 | func (m *Value) GetKind() isValue_Kind { |
| 167 | if m != nil { |
| 168 | return m.Kind |
| 169 | } |
| 170 | return nil |
| 171 | } |
| 172 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 173 | func (x *Value) GetNullValue() NullValue { |
| 174 | if x, ok := x.GetKind().(*Value_NullValue); ok { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 175 | return x.NullValue |
| 176 | } |
| 177 | return NullValue_NULL_VALUE |
| 178 | } |
| 179 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 180 | func (x *Value) GetNumberValue() float64 { |
| 181 | if x, ok := x.GetKind().(*Value_NumberValue); ok { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 182 | return x.NumberValue |
| 183 | } |
| 184 | return 0 |
| 185 | } |
| 186 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 187 | func (x *Value) GetStringValue() string { |
| 188 | if x, ok := x.GetKind().(*Value_StringValue); ok { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 189 | return x.StringValue |
| 190 | } |
| 191 | return "" |
| 192 | } |
| 193 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 194 | func (x *Value) GetBoolValue() bool { |
| 195 | if x, ok := x.GetKind().(*Value_BoolValue); ok { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 196 | return x.BoolValue |
| 197 | } |
| 198 | return false |
| 199 | } |
| 200 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 201 | func (x *Value) GetStructValue() *Struct { |
| 202 | if x, ok := x.GetKind().(*Value_StructValue); ok { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 203 | return x.StructValue |
| 204 | } |
| 205 | return nil |
| 206 | } |
| 207 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 208 | func (x *Value) GetListValue() *ListValue { |
| 209 | if x, ok := x.GetKind().(*Value_ListValue); ok { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 210 | return x.ListValue |
| 211 | } |
| 212 | return nil |
| 213 | } |
| 214 | |
Joe Tsai | 872b500 | 2019-04-08 14:03:15 -0700 | [diff] [blame] | 215 | type isValue_Kind interface { |
| 216 | isValue_Kind() |
| 217 | } |
| 218 | |
| 219 | type Value_NullValue struct { |
| 220 | NullValue NullValue `protobuf:"varint,1,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"` |
| 221 | } |
| 222 | |
| 223 | type Value_NumberValue struct { |
| 224 | NumberValue float64 `protobuf:"fixed64,2,opt,name=number_value,json=numberValue,proto3,oneof"` |
| 225 | } |
| 226 | |
| 227 | type Value_StringValue struct { |
| 228 | StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"` |
| 229 | } |
| 230 | |
| 231 | type Value_BoolValue struct { |
| 232 | BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"` |
| 233 | } |
| 234 | |
| 235 | type Value_StructValue struct { |
| 236 | StructValue *Struct `protobuf:"bytes,5,opt,name=struct_value,json=structValue,proto3,oneof"` |
| 237 | } |
| 238 | |
| 239 | type Value_ListValue struct { |
| 240 | ListValue *ListValue `protobuf:"bytes,6,opt,name=list_value,json=listValue,proto3,oneof"` |
| 241 | } |
| 242 | |
| 243 | func (*Value_NullValue) isValue_Kind() {} |
| 244 | |
| 245 | func (*Value_NumberValue) isValue_Kind() {} |
| 246 | |
| 247 | func (*Value_StringValue) isValue_Kind() {} |
| 248 | |
| 249 | func (*Value_BoolValue) isValue_Kind() {} |
| 250 | |
| 251 | func (*Value_StructValue) isValue_Kind() {} |
| 252 | |
| 253 | func (*Value_ListValue) isValue_Kind() {} |
| 254 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 255 | // `ListValue` is a wrapper around a repeated field of values. |
| 256 | // |
| 257 | // The JSON representation for `ListValue` is JSON array. |
| 258 | type ListValue struct { |
| 259 | // Repeated field of dynamically typed values. |
Joe Tsai | 5e71dc9 | 2019-04-16 13:22:20 -0700 | [diff] [blame] | 260 | Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` |
| 261 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 262 | XXX_unrecognized protoimpl.UnknownFields `json:"-"` |
| 263 | XXX_sizecache protoimpl.SizeCache `json:"-"` |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 264 | } |
| 265 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 266 | func (x *ListValue) Reset() { |
| 267 | *x = ListValue{} |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 268 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 269 | |
| 270 | func (x *ListValue) String() string { |
| 271 | return protoimpl.X.MessageStringOf(x) |
| 272 | } |
| 273 | |
| 274 | func (*ListValue) ProtoMessage() {} |
| 275 | |
| 276 | func (x *ListValue) ProtoReflect() protoreflect.Message { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 277 | return file_google_protobuf_struct_proto_msgTypes[2].MessageOf(x) |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 278 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 279 | |
Damien Neil | 0d3e8cc | 2019-04-01 13:31:55 -0700 | [diff] [blame] | 280 | func (m *ListValue) XXX_Methods() *protoiface.Methods { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 281 | return file_google_protobuf_struct_proto_msgTypes[2].Methods() |
Damien Neil | 0d3e8cc | 2019-04-01 13:31:55 -0700 | [diff] [blame] | 282 | } |
| 283 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 284 | // Deprecated: Use ListValue.ProtoReflect.Type instead. |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 285 | func (*ListValue) Descriptor() ([]byte, []int) { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 286 | return file_google_protobuf_struct_proto_rawDescGZIP(), []int{2} |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 287 | } |
| 288 | |
| 289 | func (*ListValue) XXX_WellKnownType() string { return "ListValue" } |
| 290 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 291 | func (x *ListValue) GetValues() []*Value { |
| 292 | if x != nil { |
| 293 | return x.Values |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 294 | } |
| 295 | return nil |
| 296 | } |
| 297 | |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 298 | var File_google_protobuf_struct_proto protoreflect.FileDescriptor |
| 299 | |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 300 | var file_google_protobuf_struct_proto_rawDesc = []byte{ |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 301 | 0x0a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, |
| 302 | 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, |
| 303 | 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x22, |
| 304 | 0x98, 0x01, 0x0a, 0x06, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x12, 0x3b, 0x0a, 0x06, 0x66, 0x69, |
| 305 | 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, |
| 306 | 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, |
| 307 | 0x75, 0x63, 0x74, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, |
| 308 | 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x1a, 0x51, 0x0a, 0x0b, 0x46, 0x69, 0x65, 0x6c, 0x64, |
| 309 | 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, |
| 310 | 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, |
| 311 | 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 312 | 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, |
| 313 | 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb2, 0x02, 0x0a, 0x05, 0x56, |
| 314 | 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6e, 0x75, 0x6c, 0x6c, 0x5f, 0x76, 0x61, 0x6c, |
| 315 | 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 316 | 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x56, |
| 317 | 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x09, 0x6e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, |
| 318 | 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x5f, 0x76, 0x61, 0x6c, 0x75, |
| 319 | 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x6e, 0x75, 0x6d, 0x62, 0x65, |
| 320 | 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, |
| 321 | 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, |
| 322 | 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x62, |
| 323 | 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, |
| 324 | 0x00, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3c, 0x0a, 0x0c, |
| 325 | 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, |
| 326 | 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 327 | 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x73, |
| 328 | 0x74, 0x72, 0x75, 0x63, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6c, 0x69, |
| 329 | 0x73, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, |
| 330 | 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 331 | 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x48, 0x00, 0x52, 0x09, 0x6c, 0x69, |
| 332 | 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, |
| 333 | 0x3b, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x2e, 0x0a, 0x06, |
| 334 | 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, |
| 335 | 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, |
| 336 | 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2a, 0x1b, 0x0a, 0x09, |
| 337 | 0x4e, 0x75, 0x6c, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x55, 0x4c, |
Joe Tsai | a95b29f | 2019-05-16 12:47:20 -0700 | [diff] [blame] | 338 | 0x4c, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x00, 0x42, 0x7f, 0x0a, 0x13, 0x63, 0x6f, 0x6d, |
| 339 | 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 340 | 0x42, 0x0b, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, |
| 341 | 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, |
| 342 | 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, |
| 343 | 0x73, 0x2f, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x70, 0x62, |
| 344 | 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x03, 0x47, 0x50, 0x42, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, |
| 345 | 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x57, 0x65, 0x6c, 0x6c, |
| 346 | 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, |
| 347 | 0x6f, 0x33, |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 348 | } |
| 349 | |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 350 | var ( |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 351 | file_google_protobuf_struct_proto_rawDescOnce sync.Once |
| 352 | file_google_protobuf_struct_proto_rawDescData = file_google_protobuf_struct_proto_rawDesc |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 353 | ) |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 354 | |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 355 | func file_google_protobuf_struct_proto_rawDescGZIP() []byte { |
| 356 | file_google_protobuf_struct_proto_rawDescOnce.Do(func() { |
| 357 | file_google_protobuf_struct_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_struct_proto_rawDescData) |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 358 | }) |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 359 | return file_google_protobuf_struct_proto_rawDescData |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 360 | } |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 361 | |
Joe Tsai | d888139 | 2019-06-06 13:01:53 -0700 | [diff] [blame] | 362 | var file_google_protobuf_struct_proto_enumTypes = make([]prototype.Enum, 1) |
Joe Tsai | 4fe9663 | 2019-05-22 05:12:36 -0400 | [diff] [blame] | 363 | var file_google_protobuf_struct_proto_msgTypes = make([]protoimpl.MessageInfo, 4) |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 364 | var file_google_protobuf_struct_proto_goTypes = []interface{}{ |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 365 | (NullValue)(0), // 0: google.protobuf.NullValue |
| 366 | (*Struct)(nil), // 1: google.protobuf.Struct |
| 367 | (*Value)(nil), // 2: google.protobuf.Value |
| 368 | (*ListValue)(nil), // 3: google.protobuf.ListValue |
| 369 | nil, // 4: google.protobuf.Struct.FieldsEntry |
| 370 | } |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 371 | var file_google_protobuf_struct_proto_depIdxs = []int32{ |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 372 | 4, // google.protobuf.Struct.fields:type_name -> google.protobuf.Struct.FieldsEntry |
| 373 | 0, // google.protobuf.Value.null_value:type_name -> google.protobuf.NullValue |
| 374 | 1, // google.protobuf.Value.struct_value:type_name -> google.protobuf.Struct |
| 375 | 3, // google.protobuf.Value.list_value:type_name -> google.protobuf.ListValue |
| 376 | 2, // google.protobuf.ListValue.values:type_name -> google.protobuf.Value |
| 377 | 2, // google.protobuf.Struct.FieldsEntry.value:type_name -> google.protobuf.Value |
Joe Tsai | d888139 | 2019-06-06 13:01:53 -0700 | [diff] [blame] | 378 | 6, // starting offset of method output_type sub-list |
| 379 | 6, // starting offset of method input_type sub-list |
| 380 | 6, // starting offset of extension type_name sub-list |
| 381 | 6, // starting offset of extension extendee sub-list |
| 382 | 0, // starting offset of field type_name sub-list |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 383 | } |
| 384 | |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 385 | func init() { file_google_protobuf_struct_proto_init() } |
| 386 | func file_google_protobuf_struct_proto_init() { |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 387 | if File_google_protobuf_struct_proto != nil { |
| 388 | return |
| 389 | } |
Joe Tsai | 0991227 | 2019-07-08 10:38:11 -0700 | [diff] [blame^] | 390 | file_google_protobuf_struct_proto_msgTypes[1].OneofWrappers = []interface{}{ |
| 391 | (*Value_NullValue)(nil), |
| 392 | (*Value_NumberValue)(nil), |
| 393 | (*Value_StringValue)(nil), |
| 394 | (*Value_BoolValue)(nil), |
| 395 | (*Value_StructValue)(nil), |
| 396 | (*Value_ListValue)(nil), |
| 397 | } |
Joe Tsai | d888139 | 2019-06-06 13:01:53 -0700 | [diff] [blame] | 398 | out := protoimpl.TypeBuilder{ |
| 399 | File: protoimpl.DescBuilder{ |
| 400 | RawDescriptor: file_google_protobuf_struct_proto_rawDesc, |
| 401 | NumEnums: 1, |
| 402 | NumMessages: 4, |
| 403 | NumExtensions: 0, |
| 404 | NumServices: 0, |
| 405 | }, |
| 406 | GoTypes: file_google_protobuf_struct_proto_goTypes, |
| 407 | DependencyIndexes: file_google_protobuf_struct_proto_depIdxs, |
| 408 | MessageInfos: file_google_protobuf_struct_proto_msgTypes, |
| 409 | }.Build() |
| 410 | File_google_protobuf_struct_proto = out.File |
| 411 | file_google_protobuf_struct_proto_enumTypes = out.Enums |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 412 | file_google_protobuf_struct_proto_rawDesc = nil |
| 413 | file_google_protobuf_struct_proto_goTypes = nil |
| 414 | file_google_protobuf_struct_proto_depIdxs = nil |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 415 | } |