Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 2 | // source: pb2/test.proto |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 3 | |
| 4 | package pb2 |
| 5 | |
| 6 | import ( |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 7 | proto "github.com/golang/protobuf/proto" |
Joe Tsai | cf81e67 | 2019-02-28 14:08:31 -0800 | [diff] [blame] | 8 | protoapi "github.com/golang/protobuf/protoapi" |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 9 | protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect" |
| 10 | protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl" |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 11 | known "github.com/golang/protobuf/v2/types/known" |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 12 | reflect "reflect" |
| 13 | ) |
| 14 | |
| 15 | // This is a compile-time assertion to ensure that this generated file |
| 16 | // is compatible with the proto package it is being compiled against. |
| 17 | // A compilation error at this line likely means your copy of the |
| 18 | // proto package needs to be updated. |
| 19 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| 20 | |
| 21 | type Enum int32 |
| 22 | |
| 23 | const ( |
| 24 | Enum_ONE Enum = 1 |
| 25 | Enum_TWO Enum = 2 |
| 26 | Enum_TEN Enum = 10 |
| 27 | ) |
| 28 | |
| 29 | func (e Enum) Type() protoreflect.EnumType { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 30 | return xxx_File_pb2_test_proto_enumTypes[0] |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 31 | } |
| 32 | func (e Enum) Number() protoreflect.EnumNumber { |
| 33 | return protoreflect.EnumNumber(e) |
| 34 | } |
| 35 | |
| 36 | var Enum_name = map[int32]string{ |
| 37 | 1: "ONE", |
| 38 | 2: "TWO", |
| 39 | 10: "TEN", |
| 40 | } |
| 41 | |
| 42 | var Enum_value = map[string]int32{ |
| 43 | "ONE": 1, |
| 44 | "TWO": 2, |
| 45 | "TEN": 10, |
| 46 | } |
| 47 | |
| 48 | func (x Enum) Enum() *Enum { |
| 49 | p := new(Enum) |
| 50 | *p = x |
| 51 | return p |
| 52 | } |
| 53 | |
| 54 | func (x Enum) String() string { |
| 55 | return proto.EnumName(Enum_name, int32(x)) |
| 56 | } |
| 57 | |
| 58 | func (x *Enum) UnmarshalJSON(data []byte) error { |
| 59 | value, err := proto.UnmarshalJSONEnum(Enum_value, data, "Enum") |
| 60 | if err != nil { |
| 61 | return err |
| 62 | } |
| 63 | *x = Enum(value) |
| 64 | return nil |
| 65 | } |
| 66 | |
| 67 | func (Enum) EnumDescriptor() ([]byte, []int) { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 68 | return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{0} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 69 | } |
| 70 | |
| 71 | type Enums_NestedEnum int32 |
| 72 | |
| 73 | const ( |
| 74 | Enums_UNO Enums_NestedEnum = 1 |
| 75 | Enums_DOS Enums_NestedEnum = 2 |
| 76 | Enums_DIEZ Enums_NestedEnum = 10 |
| 77 | ) |
| 78 | |
| 79 | func (e Enums_NestedEnum) Type() protoreflect.EnumType { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 80 | return xxx_File_pb2_test_proto_enumTypes[1] |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 81 | } |
| 82 | func (e Enums_NestedEnum) Number() protoreflect.EnumNumber { |
| 83 | return protoreflect.EnumNumber(e) |
| 84 | } |
| 85 | |
| 86 | var Enums_NestedEnum_name = map[int32]string{ |
| 87 | 1: "UNO", |
| 88 | 2: "DOS", |
| 89 | 10: "DIEZ", |
| 90 | } |
| 91 | |
| 92 | var Enums_NestedEnum_value = map[string]int32{ |
| 93 | "UNO": 1, |
| 94 | "DOS": 2, |
| 95 | "DIEZ": 10, |
| 96 | } |
| 97 | |
| 98 | func (x Enums_NestedEnum) Enum() *Enums_NestedEnum { |
| 99 | p := new(Enums_NestedEnum) |
| 100 | *p = x |
| 101 | return p |
| 102 | } |
| 103 | |
| 104 | func (x Enums_NestedEnum) String() string { |
| 105 | return proto.EnumName(Enums_NestedEnum_name, int32(x)) |
| 106 | } |
| 107 | |
| 108 | func (x *Enums_NestedEnum) UnmarshalJSON(data []byte) error { |
| 109 | value, err := proto.UnmarshalJSONEnum(Enums_NestedEnum_value, data, "Enums_NestedEnum") |
| 110 | if err != nil { |
| 111 | return err |
| 112 | } |
| 113 | *x = Enums_NestedEnum(value) |
| 114 | return nil |
| 115 | } |
| 116 | |
| 117 | func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 118 | return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{1, 0} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 119 | } |
| 120 | |
| 121 | // Scalars contains optional scalar fields. |
| 122 | type Scalars struct { |
| 123 | OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"` |
| 124 | OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"` |
| 125 | OptInt64 *int64 `protobuf:"varint,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"` |
| 126 | OptUint32 *uint32 `protobuf:"varint,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"` |
| 127 | OptUint64 *uint64 `protobuf:"varint,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"` |
| 128 | OptSint32 *int32 `protobuf:"zigzag32,6,opt,name=opt_sint32,json=optSint32" json:"opt_sint32,omitempty"` |
| 129 | OptSint64 *int64 `protobuf:"zigzag64,7,opt,name=opt_sint64,json=optSint64" json:"opt_sint64,omitempty"` |
| 130 | OptFixed32 *uint32 `protobuf:"fixed32,8,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"` |
| 131 | OptFixed64 *uint64 `protobuf:"fixed64,9,opt,name=opt_fixed64,json=optFixed64" json:"opt_fixed64,omitempty"` |
| 132 | OptSfixed32 *int32 `protobuf:"fixed32,10,opt,name=opt_sfixed32,json=optSfixed32" json:"opt_sfixed32,omitempty"` |
| 133 | OptSfixed64 *int64 `protobuf:"fixed64,11,opt,name=opt_sfixed64,json=optSfixed64" json:"opt_sfixed64,omitempty"` |
| 134 | OptFloat *float32 `protobuf:"fixed32,20,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"` |
| 135 | OptDouble *float64 `protobuf:"fixed64,21,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"` |
| 136 | OptBytes []byte `protobuf:"bytes,14,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"` |
| 137 | OptString *string `protobuf:"bytes,13,opt,name=opt_string,json=optString" json:"opt_string,omitempty"` |
| 138 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 139 | XXX_unrecognized []byte `json:"-"` |
| 140 | XXX_sizecache int32 `json:"-"` |
| 141 | } |
| 142 | |
| 143 | func (m *Scalars) ProtoReflect() protoreflect.Message { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 144 | return xxx_File_pb2_test_proto_messageTypes[0].MessageOf(m) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 145 | } |
| 146 | func (m *Scalars) Reset() { *m = Scalars{} } |
| 147 | func (m *Scalars) String() string { return proto.CompactTextString(m) } |
| 148 | func (*Scalars) ProtoMessage() {} |
| 149 | func (*Scalars) Descriptor() ([]byte, []int) { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 150 | return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{0} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 151 | } |
| 152 | |
| 153 | func (m *Scalars) XXX_Unmarshal(b []byte) error { |
| 154 | return xxx_messageInfo_Scalars.Unmarshal(m, b) |
| 155 | } |
| 156 | func (m *Scalars) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 157 | return xxx_messageInfo_Scalars.Marshal(b, m, deterministic) |
| 158 | } |
| 159 | func (m *Scalars) XXX_Merge(src proto.Message) { |
| 160 | xxx_messageInfo_Scalars.Merge(m, src) |
| 161 | } |
| 162 | func (m *Scalars) XXX_Size() int { |
| 163 | return xxx_messageInfo_Scalars.Size(m) |
| 164 | } |
| 165 | func (m *Scalars) XXX_DiscardUnknown() { |
| 166 | xxx_messageInfo_Scalars.DiscardUnknown(m) |
| 167 | } |
| 168 | |
| 169 | var xxx_messageInfo_Scalars proto.InternalMessageInfo |
| 170 | |
| 171 | func (m *Scalars) GetOptBool() bool { |
| 172 | if m != nil && m.OptBool != nil { |
| 173 | return *m.OptBool |
| 174 | } |
| 175 | return false |
| 176 | } |
| 177 | |
| 178 | func (m *Scalars) GetOptInt32() int32 { |
| 179 | if m != nil && m.OptInt32 != nil { |
| 180 | return *m.OptInt32 |
| 181 | } |
| 182 | return 0 |
| 183 | } |
| 184 | |
| 185 | func (m *Scalars) GetOptInt64() int64 { |
| 186 | if m != nil && m.OptInt64 != nil { |
| 187 | return *m.OptInt64 |
| 188 | } |
| 189 | return 0 |
| 190 | } |
| 191 | |
| 192 | func (m *Scalars) GetOptUint32() uint32 { |
| 193 | if m != nil && m.OptUint32 != nil { |
| 194 | return *m.OptUint32 |
| 195 | } |
| 196 | return 0 |
| 197 | } |
| 198 | |
| 199 | func (m *Scalars) GetOptUint64() uint64 { |
| 200 | if m != nil && m.OptUint64 != nil { |
| 201 | return *m.OptUint64 |
| 202 | } |
| 203 | return 0 |
| 204 | } |
| 205 | |
| 206 | func (m *Scalars) GetOptSint32() int32 { |
| 207 | if m != nil && m.OptSint32 != nil { |
| 208 | return *m.OptSint32 |
| 209 | } |
| 210 | return 0 |
| 211 | } |
| 212 | |
| 213 | func (m *Scalars) GetOptSint64() int64 { |
| 214 | if m != nil && m.OptSint64 != nil { |
| 215 | return *m.OptSint64 |
| 216 | } |
| 217 | return 0 |
| 218 | } |
| 219 | |
| 220 | func (m *Scalars) GetOptFixed32() uint32 { |
| 221 | if m != nil && m.OptFixed32 != nil { |
| 222 | return *m.OptFixed32 |
| 223 | } |
| 224 | return 0 |
| 225 | } |
| 226 | |
| 227 | func (m *Scalars) GetOptFixed64() uint64 { |
| 228 | if m != nil && m.OptFixed64 != nil { |
| 229 | return *m.OptFixed64 |
| 230 | } |
| 231 | return 0 |
| 232 | } |
| 233 | |
| 234 | func (m *Scalars) GetOptSfixed32() int32 { |
| 235 | if m != nil && m.OptSfixed32 != nil { |
| 236 | return *m.OptSfixed32 |
| 237 | } |
| 238 | return 0 |
| 239 | } |
| 240 | |
| 241 | func (m *Scalars) GetOptSfixed64() int64 { |
| 242 | if m != nil && m.OptSfixed64 != nil { |
| 243 | return *m.OptSfixed64 |
| 244 | } |
| 245 | return 0 |
| 246 | } |
| 247 | |
| 248 | func (m *Scalars) GetOptFloat() float32 { |
| 249 | if m != nil && m.OptFloat != nil { |
| 250 | return *m.OptFloat |
| 251 | } |
| 252 | return 0 |
| 253 | } |
| 254 | |
| 255 | func (m *Scalars) GetOptDouble() float64 { |
| 256 | if m != nil && m.OptDouble != nil { |
| 257 | return *m.OptDouble |
| 258 | } |
| 259 | return 0 |
| 260 | } |
| 261 | |
| 262 | func (m *Scalars) GetOptBytes() []byte { |
| 263 | if m != nil { |
| 264 | return m.OptBytes |
| 265 | } |
| 266 | return nil |
| 267 | } |
| 268 | |
| 269 | func (m *Scalars) GetOptString() string { |
| 270 | if m != nil && m.OptString != nil { |
| 271 | return *m.OptString |
| 272 | } |
| 273 | return "" |
| 274 | } |
| 275 | |
| 276 | // Message contains enum fields. |
| 277 | type Enums struct { |
| 278 | OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"` |
| 279 | RptEnum []Enum `protobuf:"varint,2,rep,name=rpt_enum,json=rptEnum,enum=pb2.Enum" json:"rpt_enum,omitempty"` |
| 280 | OptNestedEnum *Enums_NestedEnum `protobuf:"varint,3,opt,name=opt_nested_enum,json=optNestedEnum,enum=pb2.Enums_NestedEnum" json:"opt_nested_enum,omitempty"` |
| 281 | RptNestedEnum []Enums_NestedEnum `protobuf:"varint,4,rep,name=rpt_nested_enum,json=rptNestedEnum,enum=pb2.Enums_NestedEnum" json:"rpt_nested_enum,omitempty"` |
| 282 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 283 | XXX_unrecognized []byte `json:"-"` |
| 284 | XXX_sizecache int32 `json:"-"` |
| 285 | } |
| 286 | |
| 287 | func (m *Enums) ProtoReflect() protoreflect.Message { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 288 | return xxx_File_pb2_test_proto_messageTypes[1].MessageOf(m) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 289 | } |
| 290 | func (m *Enums) Reset() { *m = Enums{} } |
| 291 | func (m *Enums) String() string { return proto.CompactTextString(m) } |
| 292 | func (*Enums) ProtoMessage() {} |
| 293 | func (*Enums) Descriptor() ([]byte, []int) { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 294 | return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{1} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 295 | } |
| 296 | |
| 297 | func (m *Enums) XXX_Unmarshal(b []byte) error { |
| 298 | return xxx_messageInfo_Enums.Unmarshal(m, b) |
| 299 | } |
| 300 | func (m *Enums) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 301 | return xxx_messageInfo_Enums.Marshal(b, m, deterministic) |
| 302 | } |
| 303 | func (m *Enums) XXX_Merge(src proto.Message) { |
| 304 | xxx_messageInfo_Enums.Merge(m, src) |
| 305 | } |
| 306 | func (m *Enums) XXX_Size() int { |
| 307 | return xxx_messageInfo_Enums.Size(m) |
| 308 | } |
| 309 | func (m *Enums) XXX_DiscardUnknown() { |
| 310 | xxx_messageInfo_Enums.DiscardUnknown(m) |
| 311 | } |
| 312 | |
| 313 | var xxx_messageInfo_Enums proto.InternalMessageInfo |
| 314 | |
| 315 | func (m *Enums) GetOptEnum() Enum { |
| 316 | if m != nil && m.OptEnum != nil { |
| 317 | return *m.OptEnum |
| 318 | } |
| 319 | return Enum_ONE |
| 320 | } |
| 321 | |
| 322 | func (m *Enums) GetRptEnum() []Enum { |
| 323 | if m != nil { |
| 324 | return m.RptEnum |
| 325 | } |
| 326 | return nil |
| 327 | } |
| 328 | |
| 329 | func (m *Enums) GetOptNestedEnum() Enums_NestedEnum { |
| 330 | if m != nil && m.OptNestedEnum != nil { |
| 331 | return *m.OptNestedEnum |
| 332 | } |
| 333 | return Enums_UNO |
| 334 | } |
| 335 | |
| 336 | func (m *Enums) GetRptNestedEnum() []Enums_NestedEnum { |
| 337 | if m != nil { |
| 338 | return m.RptNestedEnum |
| 339 | } |
| 340 | return nil |
| 341 | } |
| 342 | |
| 343 | // Message contains repeated fields. |
| 344 | type Repeats struct { |
| 345 | RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"` |
| 346 | RptInt32 []int32 `protobuf:"varint,2,rep,name=rpt_int32,json=rptInt32" json:"rpt_int32,omitempty"` |
| 347 | RptInt64 []int64 `protobuf:"varint,3,rep,name=rpt_int64,json=rptInt64" json:"rpt_int64,omitempty"` |
| 348 | RptUint32 []uint32 `protobuf:"varint,4,rep,name=rpt_uint32,json=rptUint32" json:"rpt_uint32,omitempty"` |
| 349 | RptUint64 []uint64 `protobuf:"varint,5,rep,name=rpt_uint64,json=rptUint64" json:"rpt_uint64,omitempty"` |
| 350 | RptFloat []float32 `protobuf:"fixed32,6,rep,name=rpt_float,json=rptFloat" json:"rpt_float,omitempty"` |
| 351 | RptDouble []float64 `protobuf:"fixed64,7,rep,name=rpt_double,json=rptDouble" json:"rpt_double,omitempty"` |
| 352 | RptString []string `protobuf:"bytes,8,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"` |
| 353 | RptBytes [][]byte `protobuf:"bytes,9,rep,name=rpt_bytes,json=rptBytes" json:"rpt_bytes,omitempty"` |
| 354 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 355 | XXX_unrecognized []byte `json:"-"` |
| 356 | XXX_sizecache int32 `json:"-"` |
| 357 | } |
| 358 | |
| 359 | func (m *Repeats) ProtoReflect() protoreflect.Message { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 360 | return xxx_File_pb2_test_proto_messageTypes[2].MessageOf(m) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 361 | } |
| 362 | func (m *Repeats) Reset() { *m = Repeats{} } |
| 363 | func (m *Repeats) String() string { return proto.CompactTextString(m) } |
| 364 | func (*Repeats) ProtoMessage() {} |
| 365 | func (*Repeats) Descriptor() ([]byte, []int) { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 366 | return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{2} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 367 | } |
| 368 | |
| 369 | func (m *Repeats) XXX_Unmarshal(b []byte) error { |
| 370 | return xxx_messageInfo_Repeats.Unmarshal(m, b) |
| 371 | } |
| 372 | func (m *Repeats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 373 | return xxx_messageInfo_Repeats.Marshal(b, m, deterministic) |
| 374 | } |
| 375 | func (m *Repeats) XXX_Merge(src proto.Message) { |
| 376 | xxx_messageInfo_Repeats.Merge(m, src) |
| 377 | } |
| 378 | func (m *Repeats) XXX_Size() int { |
| 379 | return xxx_messageInfo_Repeats.Size(m) |
| 380 | } |
| 381 | func (m *Repeats) XXX_DiscardUnknown() { |
| 382 | xxx_messageInfo_Repeats.DiscardUnknown(m) |
| 383 | } |
| 384 | |
| 385 | var xxx_messageInfo_Repeats proto.InternalMessageInfo |
| 386 | |
| 387 | func (m *Repeats) GetRptBool() []bool { |
| 388 | if m != nil { |
| 389 | return m.RptBool |
| 390 | } |
| 391 | return nil |
| 392 | } |
| 393 | |
| 394 | func (m *Repeats) GetRptInt32() []int32 { |
| 395 | if m != nil { |
| 396 | return m.RptInt32 |
| 397 | } |
| 398 | return nil |
| 399 | } |
| 400 | |
| 401 | func (m *Repeats) GetRptInt64() []int64 { |
| 402 | if m != nil { |
| 403 | return m.RptInt64 |
| 404 | } |
| 405 | return nil |
| 406 | } |
| 407 | |
| 408 | func (m *Repeats) GetRptUint32() []uint32 { |
| 409 | if m != nil { |
| 410 | return m.RptUint32 |
| 411 | } |
| 412 | return nil |
| 413 | } |
| 414 | |
| 415 | func (m *Repeats) GetRptUint64() []uint64 { |
| 416 | if m != nil { |
| 417 | return m.RptUint64 |
| 418 | } |
| 419 | return nil |
| 420 | } |
| 421 | |
| 422 | func (m *Repeats) GetRptFloat() []float32 { |
| 423 | if m != nil { |
| 424 | return m.RptFloat |
| 425 | } |
| 426 | return nil |
| 427 | } |
| 428 | |
| 429 | func (m *Repeats) GetRptDouble() []float64 { |
| 430 | if m != nil { |
| 431 | return m.RptDouble |
| 432 | } |
| 433 | return nil |
| 434 | } |
| 435 | |
| 436 | func (m *Repeats) GetRptString() []string { |
| 437 | if m != nil { |
| 438 | return m.RptString |
| 439 | } |
| 440 | return nil |
| 441 | } |
| 442 | |
| 443 | func (m *Repeats) GetRptBytes() [][]byte { |
| 444 | if m != nil { |
| 445 | return m.RptBytes |
| 446 | } |
| 447 | return nil |
| 448 | } |
| 449 | |
| 450 | // Message type used as submessage. |
| 451 | type Nested struct { |
| 452 | OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"` |
| 453 | OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"` |
| 454 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 455 | XXX_unrecognized []byte `json:"-"` |
| 456 | XXX_sizecache int32 `json:"-"` |
| 457 | } |
| 458 | |
| 459 | func (m *Nested) ProtoReflect() protoreflect.Message { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 460 | return xxx_File_pb2_test_proto_messageTypes[3].MessageOf(m) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 461 | } |
| 462 | func (m *Nested) Reset() { *m = Nested{} } |
| 463 | func (m *Nested) String() string { return proto.CompactTextString(m) } |
| 464 | func (*Nested) ProtoMessage() {} |
| 465 | func (*Nested) Descriptor() ([]byte, []int) { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 466 | return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{3} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 467 | } |
| 468 | |
| 469 | func (m *Nested) XXX_Unmarshal(b []byte) error { |
| 470 | return xxx_messageInfo_Nested.Unmarshal(m, b) |
| 471 | } |
| 472 | func (m *Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 473 | return xxx_messageInfo_Nested.Marshal(b, m, deterministic) |
| 474 | } |
| 475 | func (m *Nested) XXX_Merge(src proto.Message) { |
| 476 | xxx_messageInfo_Nested.Merge(m, src) |
| 477 | } |
| 478 | func (m *Nested) XXX_Size() int { |
| 479 | return xxx_messageInfo_Nested.Size(m) |
| 480 | } |
| 481 | func (m *Nested) XXX_DiscardUnknown() { |
| 482 | xxx_messageInfo_Nested.DiscardUnknown(m) |
| 483 | } |
| 484 | |
| 485 | var xxx_messageInfo_Nested proto.InternalMessageInfo |
| 486 | |
| 487 | func (m *Nested) GetOptString() string { |
| 488 | if m != nil && m.OptString != nil { |
| 489 | return *m.OptString |
| 490 | } |
| 491 | return "" |
| 492 | } |
| 493 | |
| 494 | func (m *Nested) GetOptNested() *Nested { |
| 495 | if m != nil { |
| 496 | return m.OptNested |
| 497 | } |
| 498 | return nil |
| 499 | } |
| 500 | |
| 501 | // Message contains message and group fields. |
| 502 | type Nests struct { |
| 503 | OptNested *Nested `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"` |
| 504 | Optgroup *Nests_OptGroup `protobuf:"group,2,opt,name=OptGroup,json=optgroup" json:"optgroup,omitempty"` |
| 505 | RptNested []*Nested `protobuf:"bytes,4,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"` |
| 506 | Rptgroup []*Nests_RptGroup `protobuf:"group,5,rep,name=RptGroup,json=rptgroup" json:"rptgroup,omitempty"` |
| 507 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 508 | XXX_unrecognized []byte `json:"-"` |
| 509 | XXX_sizecache int32 `json:"-"` |
| 510 | } |
| 511 | |
| 512 | func (m *Nests) ProtoReflect() protoreflect.Message { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 513 | return xxx_File_pb2_test_proto_messageTypes[4].MessageOf(m) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 514 | } |
| 515 | func (m *Nests) Reset() { *m = Nests{} } |
| 516 | func (m *Nests) String() string { return proto.CompactTextString(m) } |
| 517 | func (*Nests) ProtoMessage() {} |
| 518 | func (*Nests) Descriptor() ([]byte, []int) { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 519 | return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{4} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 520 | } |
| 521 | |
| 522 | func (m *Nests) XXX_Unmarshal(b []byte) error { |
| 523 | return xxx_messageInfo_Nests.Unmarshal(m, b) |
| 524 | } |
| 525 | func (m *Nests) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 526 | return xxx_messageInfo_Nests.Marshal(b, m, deterministic) |
| 527 | } |
| 528 | func (m *Nests) XXX_Merge(src proto.Message) { |
| 529 | xxx_messageInfo_Nests.Merge(m, src) |
| 530 | } |
| 531 | func (m *Nests) XXX_Size() int { |
| 532 | return xxx_messageInfo_Nests.Size(m) |
| 533 | } |
| 534 | func (m *Nests) XXX_DiscardUnknown() { |
| 535 | xxx_messageInfo_Nests.DiscardUnknown(m) |
| 536 | } |
| 537 | |
| 538 | var xxx_messageInfo_Nests proto.InternalMessageInfo |
| 539 | |
| 540 | func (m *Nests) GetOptNested() *Nested { |
| 541 | if m != nil { |
| 542 | return m.OptNested |
| 543 | } |
| 544 | return nil |
| 545 | } |
| 546 | |
| 547 | func (m *Nests) GetOptgroup() *Nests_OptGroup { |
| 548 | if m != nil { |
| 549 | return m.Optgroup |
| 550 | } |
| 551 | return nil |
| 552 | } |
| 553 | |
| 554 | func (m *Nests) GetRptNested() []*Nested { |
| 555 | if m != nil { |
| 556 | return m.RptNested |
| 557 | } |
| 558 | return nil |
| 559 | } |
| 560 | |
| 561 | func (m *Nests) GetRptgroup() []*Nests_RptGroup { |
| 562 | if m != nil { |
| 563 | return m.Rptgroup |
| 564 | } |
| 565 | return nil |
| 566 | } |
| 567 | |
| 568 | // Message contains required fields. |
| 569 | type Requireds struct { |
| 570 | ReqBool *bool `protobuf:"varint,1,req,name=req_bool,json=reqBool" json:"req_bool,omitempty"` |
| 571 | ReqSfixed64 *int64 `protobuf:"fixed64,2,req,name=req_sfixed64,json=reqSfixed64" json:"req_sfixed64,omitempty"` |
| 572 | ReqDouble *float64 `protobuf:"fixed64,3,req,name=req_double,json=reqDouble" json:"req_double,omitempty"` |
| 573 | ReqString *string `protobuf:"bytes,4,req,name=req_string,json=reqString" json:"req_string,omitempty"` |
| 574 | ReqEnum *Enum `protobuf:"varint,5,req,name=req_enum,json=reqEnum,enum=pb2.Enum" json:"req_enum,omitempty"` |
| 575 | ReqNested *Nested `protobuf:"bytes,6,req,name=req_nested,json=reqNested" json:"req_nested,omitempty"` |
| 576 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 577 | XXX_unrecognized []byte `json:"-"` |
| 578 | XXX_sizecache int32 `json:"-"` |
| 579 | } |
| 580 | |
| 581 | func (m *Requireds) ProtoReflect() protoreflect.Message { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 582 | return xxx_File_pb2_test_proto_messageTypes[5].MessageOf(m) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 583 | } |
| 584 | func (m *Requireds) Reset() { *m = Requireds{} } |
| 585 | func (m *Requireds) String() string { return proto.CompactTextString(m) } |
| 586 | func (*Requireds) ProtoMessage() {} |
| 587 | func (*Requireds) Descriptor() ([]byte, []int) { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 588 | return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{5} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 589 | } |
| 590 | |
| 591 | func (m *Requireds) XXX_Unmarshal(b []byte) error { |
| 592 | return xxx_messageInfo_Requireds.Unmarshal(m, b) |
| 593 | } |
| 594 | func (m *Requireds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 595 | return xxx_messageInfo_Requireds.Marshal(b, m, deterministic) |
| 596 | } |
| 597 | func (m *Requireds) XXX_Merge(src proto.Message) { |
| 598 | xxx_messageInfo_Requireds.Merge(m, src) |
| 599 | } |
| 600 | func (m *Requireds) XXX_Size() int { |
| 601 | return xxx_messageInfo_Requireds.Size(m) |
| 602 | } |
| 603 | func (m *Requireds) XXX_DiscardUnknown() { |
| 604 | xxx_messageInfo_Requireds.DiscardUnknown(m) |
| 605 | } |
| 606 | |
| 607 | var xxx_messageInfo_Requireds proto.InternalMessageInfo |
| 608 | |
| 609 | func (m *Requireds) GetReqBool() bool { |
| 610 | if m != nil && m.ReqBool != nil { |
| 611 | return *m.ReqBool |
| 612 | } |
| 613 | return false |
| 614 | } |
| 615 | |
| 616 | func (m *Requireds) GetReqSfixed64() int64 { |
| 617 | if m != nil && m.ReqSfixed64 != nil { |
| 618 | return *m.ReqSfixed64 |
| 619 | } |
| 620 | return 0 |
| 621 | } |
| 622 | |
| 623 | func (m *Requireds) GetReqDouble() float64 { |
| 624 | if m != nil && m.ReqDouble != nil { |
| 625 | return *m.ReqDouble |
| 626 | } |
| 627 | return 0 |
| 628 | } |
| 629 | |
| 630 | func (m *Requireds) GetReqString() string { |
| 631 | if m != nil && m.ReqString != nil { |
| 632 | return *m.ReqString |
| 633 | } |
| 634 | return "" |
| 635 | } |
| 636 | |
| 637 | func (m *Requireds) GetReqEnum() Enum { |
| 638 | if m != nil && m.ReqEnum != nil { |
| 639 | return *m.ReqEnum |
| 640 | } |
| 641 | return Enum_ONE |
| 642 | } |
| 643 | |
| 644 | func (m *Requireds) GetReqNested() *Nested { |
| 645 | if m != nil { |
| 646 | return m.ReqNested |
| 647 | } |
| 648 | return nil |
| 649 | } |
| 650 | |
| 651 | // Message contains both required and optional fields. |
| 652 | type PartialRequired struct { |
| 653 | ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"` |
| 654 | OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"` |
| 655 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 656 | XXX_unrecognized []byte `json:"-"` |
| 657 | XXX_sizecache int32 `json:"-"` |
| 658 | } |
| 659 | |
| 660 | func (m *PartialRequired) ProtoReflect() protoreflect.Message { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 661 | return xxx_File_pb2_test_proto_messageTypes[6].MessageOf(m) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 662 | } |
| 663 | func (m *PartialRequired) Reset() { *m = PartialRequired{} } |
| 664 | func (m *PartialRequired) String() string { return proto.CompactTextString(m) } |
| 665 | func (*PartialRequired) ProtoMessage() {} |
| 666 | func (*PartialRequired) Descriptor() ([]byte, []int) { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 667 | return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{6} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 668 | } |
| 669 | |
| 670 | func (m *PartialRequired) XXX_Unmarshal(b []byte) error { |
| 671 | return xxx_messageInfo_PartialRequired.Unmarshal(m, b) |
| 672 | } |
| 673 | func (m *PartialRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 674 | return xxx_messageInfo_PartialRequired.Marshal(b, m, deterministic) |
| 675 | } |
| 676 | func (m *PartialRequired) XXX_Merge(src proto.Message) { |
| 677 | xxx_messageInfo_PartialRequired.Merge(m, src) |
| 678 | } |
| 679 | func (m *PartialRequired) XXX_Size() int { |
| 680 | return xxx_messageInfo_PartialRequired.Size(m) |
| 681 | } |
| 682 | func (m *PartialRequired) XXX_DiscardUnknown() { |
| 683 | xxx_messageInfo_PartialRequired.DiscardUnknown(m) |
| 684 | } |
| 685 | |
| 686 | var xxx_messageInfo_PartialRequired proto.InternalMessageInfo |
| 687 | |
| 688 | func (m *PartialRequired) GetReqString() string { |
| 689 | if m != nil && m.ReqString != nil { |
| 690 | return *m.ReqString |
| 691 | } |
| 692 | return "" |
| 693 | } |
| 694 | |
| 695 | func (m *PartialRequired) GetOptString() string { |
| 696 | if m != nil && m.OptString != nil { |
| 697 | return *m.OptString |
| 698 | } |
| 699 | return "" |
| 700 | } |
| 701 | |
| 702 | type NestedWithRequired struct { |
| 703 | ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"` |
| 704 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 705 | XXX_unrecognized []byte `json:"-"` |
| 706 | XXX_sizecache int32 `json:"-"` |
| 707 | } |
| 708 | |
| 709 | func (m *NestedWithRequired) ProtoReflect() protoreflect.Message { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 710 | return xxx_File_pb2_test_proto_messageTypes[7].MessageOf(m) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 711 | } |
| 712 | func (m *NestedWithRequired) Reset() { *m = NestedWithRequired{} } |
| 713 | func (m *NestedWithRequired) String() string { return proto.CompactTextString(m) } |
| 714 | func (*NestedWithRequired) ProtoMessage() {} |
| 715 | func (*NestedWithRequired) Descriptor() ([]byte, []int) { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 716 | return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{7} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 717 | } |
| 718 | |
| 719 | func (m *NestedWithRequired) XXX_Unmarshal(b []byte) error { |
| 720 | return xxx_messageInfo_NestedWithRequired.Unmarshal(m, b) |
| 721 | } |
| 722 | func (m *NestedWithRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 723 | return xxx_messageInfo_NestedWithRequired.Marshal(b, m, deterministic) |
| 724 | } |
| 725 | func (m *NestedWithRequired) XXX_Merge(src proto.Message) { |
| 726 | xxx_messageInfo_NestedWithRequired.Merge(m, src) |
| 727 | } |
| 728 | func (m *NestedWithRequired) XXX_Size() int { |
| 729 | return xxx_messageInfo_NestedWithRequired.Size(m) |
| 730 | } |
| 731 | func (m *NestedWithRequired) XXX_DiscardUnknown() { |
| 732 | xxx_messageInfo_NestedWithRequired.DiscardUnknown(m) |
| 733 | } |
| 734 | |
| 735 | var xxx_messageInfo_NestedWithRequired proto.InternalMessageInfo |
| 736 | |
| 737 | func (m *NestedWithRequired) GetReqString() string { |
| 738 | if m != nil && m.ReqString != nil { |
| 739 | return *m.ReqString |
| 740 | } |
| 741 | return "" |
| 742 | } |
| 743 | |
| 744 | type IndirectRequired struct { |
| 745 | OptNested *NestedWithRequired `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"` |
| 746 | RptNested []*NestedWithRequired `protobuf:"bytes,2,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"` |
| 747 | StrToNested map[string]*NestedWithRequired `protobuf:"bytes,3,rep,name=str_to_nested,json=strToNested" json:"str_to_nested,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` |
| 748 | // Types that are valid to be assigned to Union: |
| 749 | // *IndirectRequired_OneofNested |
| 750 | Union isIndirectRequired_Union `protobuf_oneof:"union"` |
| 751 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 752 | XXX_unrecognized []byte `json:"-"` |
| 753 | XXX_sizecache int32 `json:"-"` |
| 754 | } |
| 755 | |
| 756 | func (m *IndirectRequired) ProtoReflect() protoreflect.Message { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 757 | return xxx_File_pb2_test_proto_messageTypes[8].MessageOf(m) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 758 | } |
| 759 | func (m *IndirectRequired) Reset() { *m = IndirectRequired{} } |
| 760 | func (m *IndirectRequired) String() string { return proto.CompactTextString(m) } |
| 761 | func (*IndirectRequired) ProtoMessage() {} |
| 762 | func (*IndirectRequired) Descriptor() ([]byte, []int) { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 763 | return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{8} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 764 | } |
| 765 | |
| 766 | func (m *IndirectRequired) XXX_Unmarshal(b []byte) error { |
| 767 | return xxx_messageInfo_IndirectRequired.Unmarshal(m, b) |
| 768 | } |
| 769 | func (m *IndirectRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 770 | return xxx_messageInfo_IndirectRequired.Marshal(b, m, deterministic) |
| 771 | } |
| 772 | func (m *IndirectRequired) XXX_Merge(src proto.Message) { |
| 773 | xxx_messageInfo_IndirectRequired.Merge(m, src) |
| 774 | } |
| 775 | func (m *IndirectRequired) XXX_Size() int { |
| 776 | return xxx_messageInfo_IndirectRequired.Size(m) |
| 777 | } |
| 778 | func (m *IndirectRequired) XXX_DiscardUnknown() { |
| 779 | xxx_messageInfo_IndirectRequired.DiscardUnknown(m) |
| 780 | } |
| 781 | |
| 782 | var xxx_messageInfo_IndirectRequired proto.InternalMessageInfo |
| 783 | |
| 784 | func (m *IndirectRequired) GetOptNested() *NestedWithRequired { |
| 785 | if m != nil { |
| 786 | return m.OptNested |
| 787 | } |
| 788 | return nil |
| 789 | } |
| 790 | |
| 791 | func (m *IndirectRequired) GetRptNested() []*NestedWithRequired { |
| 792 | if m != nil { |
| 793 | return m.RptNested |
| 794 | } |
| 795 | return nil |
| 796 | } |
| 797 | |
| 798 | func (m *IndirectRequired) GetStrToNested() map[string]*NestedWithRequired { |
| 799 | if m != nil { |
| 800 | return m.StrToNested |
| 801 | } |
| 802 | return nil |
| 803 | } |
| 804 | |
| 805 | type isIndirectRequired_Union interface { |
| 806 | isIndirectRequired_Union() |
| 807 | } |
| 808 | |
| 809 | type IndirectRequired_OneofNested struct { |
| 810 | OneofNested *NestedWithRequired `protobuf:"bytes,4,opt,name=oneof_nested,json=oneofNested,oneof"` |
| 811 | } |
| 812 | |
| 813 | func (*IndirectRequired_OneofNested) isIndirectRequired_Union() {} |
| 814 | |
| 815 | func (m *IndirectRequired) GetUnion() isIndirectRequired_Union { |
| 816 | if m != nil { |
| 817 | return m.Union |
| 818 | } |
| 819 | return nil |
| 820 | } |
| 821 | |
| 822 | func (m *IndirectRequired) GetOneofNested() *NestedWithRequired { |
| 823 | if x, ok := m.GetUnion().(*IndirectRequired_OneofNested); ok { |
| 824 | return x.OneofNested |
| 825 | } |
| 826 | return nil |
| 827 | } |
| 828 | |
| 829 | // XXX_OneofWrappers is for the internal use of the proto package. |
| 830 | func (*IndirectRequired) XXX_OneofWrappers() []interface{} { |
| 831 | return []interface{}{ |
| 832 | (*IndirectRequired_OneofNested)(nil), |
| 833 | } |
| 834 | } |
| 835 | |
| 836 | type Extensions struct { |
| 837 | OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"` |
| 838 | OptBool *bool `protobuf:"varint,101,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"` |
| 839 | OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"` |
| 840 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 841 | proto.XXX_InternalExtensions `json:"-"` |
| 842 | XXX_unrecognized []byte `json:"-"` |
| 843 | XXX_sizecache int32 `json:"-"` |
| 844 | } |
| 845 | |
| 846 | func (m *Extensions) ProtoReflect() protoreflect.Message { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 847 | return xxx_File_pb2_test_proto_messageTypes[9].MessageOf(m) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 848 | } |
| 849 | func (m *Extensions) Reset() { *m = Extensions{} } |
| 850 | func (m *Extensions) String() string { return proto.CompactTextString(m) } |
| 851 | func (*Extensions) ProtoMessage() {} |
| 852 | func (*Extensions) Descriptor() ([]byte, []int) { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 853 | return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{9} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 854 | } |
| 855 | |
| 856 | var extRange_Extensions = []proto.ExtensionRange{ |
| 857 | {Start: 20, End: 100}, |
| 858 | } |
| 859 | |
| 860 | func (*Extensions) ExtensionRangeArray() []proto.ExtensionRange { |
| 861 | return extRange_Extensions |
| 862 | } |
| 863 | |
| 864 | func (m *Extensions) XXX_Unmarshal(b []byte) error { |
| 865 | return xxx_messageInfo_Extensions.Unmarshal(m, b) |
| 866 | } |
| 867 | func (m *Extensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 868 | return xxx_messageInfo_Extensions.Marshal(b, m, deterministic) |
| 869 | } |
| 870 | func (m *Extensions) XXX_Merge(src proto.Message) { |
| 871 | xxx_messageInfo_Extensions.Merge(m, src) |
| 872 | } |
| 873 | func (m *Extensions) XXX_Size() int { |
| 874 | return xxx_messageInfo_Extensions.Size(m) |
| 875 | } |
| 876 | func (m *Extensions) XXX_DiscardUnknown() { |
| 877 | xxx_messageInfo_Extensions.DiscardUnknown(m) |
| 878 | } |
| 879 | |
| 880 | var xxx_messageInfo_Extensions proto.InternalMessageInfo |
| 881 | |
| 882 | func (m *Extensions) GetOptString() string { |
| 883 | if m != nil && m.OptString != nil { |
| 884 | return *m.OptString |
| 885 | } |
| 886 | return "" |
| 887 | } |
| 888 | |
| 889 | func (m *Extensions) GetOptBool() bool { |
| 890 | if m != nil && m.OptBool != nil { |
| 891 | return *m.OptBool |
| 892 | } |
| 893 | return false |
| 894 | } |
| 895 | |
| 896 | func (m *Extensions) GetOptInt32() int32 { |
| 897 | if m != nil && m.OptInt32 != nil { |
| 898 | return *m.OptInt32 |
| 899 | } |
| 900 | return 0 |
| 901 | } |
| 902 | |
| 903 | type ExtensionsContainer struct { |
| 904 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 905 | XXX_unrecognized []byte `json:"-"` |
| 906 | XXX_sizecache int32 `json:"-"` |
| 907 | } |
| 908 | |
| 909 | func (m *ExtensionsContainer) ProtoReflect() protoreflect.Message { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 910 | return xxx_File_pb2_test_proto_messageTypes[10].MessageOf(m) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 911 | } |
| 912 | func (m *ExtensionsContainer) Reset() { *m = ExtensionsContainer{} } |
| 913 | func (m *ExtensionsContainer) String() string { return proto.CompactTextString(m) } |
| 914 | func (*ExtensionsContainer) ProtoMessage() {} |
| 915 | func (*ExtensionsContainer) Descriptor() ([]byte, []int) { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 916 | return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{10} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 917 | } |
| 918 | |
| 919 | func (m *ExtensionsContainer) XXX_Unmarshal(b []byte) error { |
| 920 | return xxx_messageInfo_ExtensionsContainer.Unmarshal(m, b) |
| 921 | } |
| 922 | func (m *ExtensionsContainer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 923 | return xxx_messageInfo_ExtensionsContainer.Marshal(b, m, deterministic) |
| 924 | } |
| 925 | func (m *ExtensionsContainer) XXX_Merge(src proto.Message) { |
| 926 | xxx_messageInfo_ExtensionsContainer.Merge(m, src) |
| 927 | } |
| 928 | func (m *ExtensionsContainer) XXX_Size() int { |
| 929 | return xxx_messageInfo_ExtensionsContainer.Size(m) |
| 930 | } |
| 931 | func (m *ExtensionsContainer) XXX_DiscardUnknown() { |
| 932 | xxx_messageInfo_ExtensionsContainer.DiscardUnknown(m) |
| 933 | } |
| 934 | |
| 935 | var xxx_messageInfo_ExtensionsContainer proto.InternalMessageInfo |
| 936 | |
| 937 | type MessageSet struct { |
| 938 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 939 | proto.XXX_InternalExtensions `protobuf_messageset:"1" json:"-"` |
| 940 | XXX_unrecognized []byte `json:"-"` |
| 941 | XXX_sizecache int32 `json:"-"` |
| 942 | } |
| 943 | |
| 944 | func (m *MessageSet) ProtoReflect() protoreflect.Message { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 945 | return xxx_File_pb2_test_proto_messageTypes[11].MessageOf(m) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 946 | } |
| 947 | func (m *MessageSet) Reset() { *m = MessageSet{} } |
| 948 | func (m *MessageSet) String() string { return proto.CompactTextString(m) } |
| 949 | func (*MessageSet) ProtoMessage() {} |
| 950 | func (*MessageSet) Descriptor() ([]byte, []int) { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 951 | return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{11} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 952 | } |
| 953 | |
| 954 | var extRange_MessageSet = []proto.ExtensionRange{ |
| 955 | {Start: 4, End: 2147483646}, |
| 956 | } |
| 957 | |
| 958 | func (*MessageSet) ExtensionRangeArray() []proto.ExtensionRange { |
| 959 | return extRange_MessageSet |
| 960 | } |
| 961 | |
| 962 | func (m *MessageSet) XXX_Unmarshal(b []byte) error { |
| 963 | return xxx_messageInfo_MessageSet.Unmarshal(m, b) |
| 964 | } |
| 965 | func (m *MessageSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 966 | return xxx_messageInfo_MessageSet.Marshal(b, m, deterministic) |
| 967 | } |
| 968 | func (m *MessageSet) XXX_Merge(src proto.Message) { |
| 969 | xxx_messageInfo_MessageSet.Merge(m, src) |
| 970 | } |
| 971 | func (m *MessageSet) XXX_Size() int { |
| 972 | return xxx_messageInfo_MessageSet.Size(m) |
| 973 | } |
| 974 | func (m *MessageSet) XXX_DiscardUnknown() { |
| 975 | xxx_messageInfo_MessageSet.DiscardUnknown(m) |
| 976 | } |
| 977 | |
| 978 | var xxx_messageInfo_MessageSet proto.InternalMessageInfo |
| 979 | |
| 980 | type MessageSetExtension struct { |
| 981 | OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"` |
| 982 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 983 | XXX_unrecognized []byte `json:"-"` |
| 984 | XXX_sizecache int32 `json:"-"` |
| 985 | } |
| 986 | |
| 987 | func (m *MessageSetExtension) ProtoReflect() protoreflect.Message { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 988 | return xxx_File_pb2_test_proto_messageTypes[12].MessageOf(m) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 989 | } |
| 990 | func (m *MessageSetExtension) Reset() { *m = MessageSetExtension{} } |
| 991 | func (m *MessageSetExtension) String() string { return proto.CompactTextString(m) } |
| 992 | func (*MessageSetExtension) ProtoMessage() {} |
| 993 | func (*MessageSetExtension) Descriptor() ([]byte, []int) { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 994 | return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{12} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 995 | } |
| 996 | |
| 997 | func (m *MessageSetExtension) XXX_Unmarshal(b []byte) error { |
| 998 | return xxx_messageInfo_MessageSetExtension.Unmarshal(m, b) |
| 999 | } |
| 1000 | func (m *MessageSetExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1001 | return xxx_messageInfo_MessageSetExtension.Marshal(b, m, deterministic) |
| 1002 | } |
| 1003 | func (m *MessageSetExtension) XXX_Merge(src proto.Message) { |
| 1004 | xxx_messageInfo_MessageSetExtension.Merge(m, src) |
| 1005 | } |
| 1006 | func (m *MessageSetExtension) XXX_Size() int { |
| 1007 | return xxx_messageInfo_MessageSetExtension.Size(m) |
| 1008 | } |
| 1009 | func (m *MessageSetExtension) XXX_DiscardUnknown() { |
| 1010 | xxx_messageInfo_MessageSetExtension.DiscardUnknown(m) |
| 1011 | } |
| 1012 | |
| 1013 | var xxx_messageInfo_MessageSetExtension proto.InternalMessageInfo |
| 1014 | |
| 1015 | func (m *MessageSetExtension) GetOptString() string { |
| 1016 | if m != nil && m.OptString != nil { |
| 1017 | return *m.OptString |
| 1018 | } |
| 1019 | return "" |
| 1020 | } |
| 1021 | |
| 1022 | type FakeMessageSet struct { |
| 1023 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1024 | proto.XXX_InternalExtensions `json:"-"` |
| 1025 | XXX_unrecognized []byte `json:"-"` |
| 1026 | XXX_sizecache int32 `json:"-"` |
| 1027 | } |
| 1028 | |
| 1029 | func (m *FakeMessageSet) ProtoReflect() protoreflect.Message { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1030 | return xxx_File_pb2_test_proto_messageTypes[13].MessageOf(m) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1031 | } |
| 1032 | func (m *FakeMessageSet) Reset() { *m = FakeMessageSet{} } |
| 1033 | func (m *FakeMessageSet) String() string { return proto.CompactTextString(m) } |
| 1034 | func (*FakeMessageSet) ProtoMessage() {} |
| 1035 | func (*FakeMessageSet) Descriptor() ([]byte, []int) { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1036 | return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{13} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1037 | } |
| 1038 | |
| 1039 | var extRange_FakeMessageSet = []proto.ExtensionRange{ |
| 1040 | {Start: 4, End: 536870911}, |
| 1041 | } |
| 1042 | |
| 1043 | func (*FakeMessageSet) ExtensionRangeArray() []proto.ExtensionRange { |
| 1044 | return extRange_FakeMessageSet |
| 1045 | } |
| 1046 | |
| 1047 | func (m *FakeMessageSet) XXX_Unmarshal(b []byte) error { |
| 1048 | return xxx_messageInfo_FakeMessageSet.Unmarshal(m, b) |
| 1049 | } |
| 1050 | func (m *FakeMessageSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1051 | return xxx_messageInfo_FakeMessageSet.Marshal(b, m, deterministic) |
| 1052 | } |
| 1053 | func (m *FakeMessageSet) XXX_Merge(src proto.Message) { |
| 1054 | xxx_messageInfo_FakeMessageSet.Merge(m, src) |
| 1055 | } |
| 1056 | func (m *FakeMessageSet) XXX_Size() int { |
| 1057 | return xxx_messageInfo_FakeMessageSet.Size(m) |
| 1058 | } |
| 1059 | func (m *FakeMessageSet) XXX_DiscardUnknown() { |
| 1060 | xxx_messageInfo_FakeMessageSet.DiscardUnknown(m) |
| 1061 | } |
| 1062 | |
| 1063 | var xxx_messageInfo_FakeMessageSet proto.InternalMessageInfo |
| 1064 | |
| 1065 | type FakeMessageSetExtension struct { |
| 1066 | OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"` |
| 1067 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1068 | XXX_unrecognized []byte `json:"-"` |
| 1069 | XXX_sizecache int32 `json:"-"` |
| 1070 | } |
| 1071 | |
| 1072 | func (m *FakeMessageSetExtension) ProtoReflect() protoreflect.Message { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1073 | return xxx_File_pb2_test_proto_messageTypes[14].MessageOf(m) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1074 | } |
| 1075 | func (m *FakeMessageSetExtension) Reset() { *m = FakeMessageSetExtension{} } |
| 1076 | func (m *FakeMessageSetExtension) String() string { return proto.CompactTextString(m) } |
| 1077 | func (*FakeMessageSetExtension) ProtoMessage() {} |
| 1078 | func (*FakeMessageSetExtension) Descriptor() ([]byte, []int) { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1079 | return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{14} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1080 | } |
| 1081 | |
| 1082 | func (m *FakeMessageSetExtension) XXX_Unmarshal(b []byte) error { |
| 1083 | return xxx_messageInfo_FakeMessageSetExtension.Unmarshal(m, b) |
| 1084 | } |
| 1085 | func (m *FakeMessageSetExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1086 | return xxx_messageInfo_FakeMessageSetExtension.Marshal(b, m, deterministic) |
| 1087 | } |
| 1088 | func (m *FakeMessageSetExtension) XXX_Merge(src proto.Message) { |
| 1089 | xxx_messageInfo_FakeMessageSetExtension.Merge(m, src) |
| 1090 | } |
| 1091 | func (m *FakeMessageSetExtension) XXX_Size() int { |
| 1092 | return xxx_messageInfo_FakeMessageSetExtension.Size(m) |
| 1093 | } |
| 1094 | func (m *FakeMessageSetExtension) XXX_DiscardUnknown() { |
| 1095 | xxx_messageInfo_FakeMessageSetExtension.DiscardUnknown(m) |
| 1096 | } |
| 1097 | |
| 1098 | var xxx_messageInfo_FakeMessageSetExtension proto.InternalMessageInfo |
| 1099 | |
| 1100 | func (m *FakeMessageSetExtension) GetOptString() string { |
| 1101 | if m != nil && m.OptString != nil { |
| 1102 | return *m.OptString |
| 1103 | } |
| 1104 | return "" |
| 1105 | } |
| 1106 | |
| 1107 | // Message contains well-known type fields. |
| 1108 | type KnownTypes struct { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1109 | OptBool *known.BoolValue `protobuf:"bytes,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"` |
| 1110 | OptInt32 *known.Int32Value `protobuf:"bytes,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"` |
| 1111 | OptInt64 *known.Int64Value `protobuf:"bytes,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"` |
| 1112 | OptUint32 *known.UInt32Value `protobuf:"bytes,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"` |
| 1113 | OptUint64 *known.UInt64Value `protobuf:"bytes,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"` |
| 1114 | OptFloat *known.FloatValue `protobuf:"bytes,6,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"` |
| 1115 | OptDouble *known.DoubleValue `protobuf:"bytes,7,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"` |
| 1116 | OptString *known.StringValue `protobuf:"bytes,8,opt,name=opt_string,json=optString" json:"opt_string,omitempty"` |
| 1117 | OptBytes *known.BytesValue `protobuf:"bytes,9,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"` |
| 1118 | OptDuration *known.Duration `protobuf:"bytes,20,opt,name=opt_duration,json=optDuration" json:"opt_duration,omitempty"` |
| 1119 | OptTimestamp *known.Timestamp `protobuf:"bytes,21,opt,name=opt_timestamp,json=optTimestamp" json:"opt_timestamp,omitempty"` |
| 1120 | OptStruct *known.Struct `protobuf:"bytes,25,opt,name=opt_struct,json=optStruct" json:"opt_struct,omitempty"` |
| 1121 | OptList *known.ListValue `protobuf:"bytes,26,opt,name=opt_list,json=optList" json:"opt_list,omitempty"` |
| 1122 | OptValue *known.Value `protobuf:"bytes,27,opt,name=opt_value,json=optValue" json:"opt_value,omitempty"` |
| 1123 | OptEmpty *known.Empty `protobuf:"bytes,30,opt,name=opt_empty,json=optEmpty" json:"opt_empty,omitempty"` |
| 1124 | OptAny *known.Any `protobuf:"bytes,32,opt,name=opt_any,json=optAny" json:"opt_any,omitempty"` |
| 1125 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1126 | XXX_unrecognized []byte `json:"-"` |
| 1127 | XXX_sizecache int32 `json:"-"` |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1128 | } |
| 1129 | |
| 1130 | func (m *KnownTypes) ProtoReflect() protoreflect.Message { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1131 | return xxx_File_pb2_test_proto_messageTypes[15].MessageOf(m) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1132 | } |
| 1133 | func (m *KnownTypes) Reset() { *m = KnownTypes{} } |
| 1134 | func (m *KnownTypes) String() string { return proto.CompactTextString(m) } |
| 1135 | func (*KnownTypes) ProtoMessage() {} |
| 1136 | func (*KnownTypes) Descriptor() ([]byte, []int) { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1137 | return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{15} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1138 | } |
| 1139 | |
| 1140 | func (m *KnownTypes) XXX_Unmarshal(b []byte) error { |
| 1141 | return xxx_messageInfo_KnownTypes.Unmarshal(m, b) |
| 1142 | } |
| 1143 | func (m *KnownTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1144 | return xxx_messageInfo_KnownTypes.Marshal(b, m, deterministic) |
| 1145 | } |
| 1146 | func (m *KnownTypes) XXX_Merge(src proto.Message) { |
| 1147 | xxx_messageInfo_KnownTypes.Merge(m, src) |
| 1148 | } |
| 1149 | func (m *KnownTypes) XXX_Size() int { |
| 1150 | return xxx_messageInfo_KnownTypes.Size(m) |
| 1151 | } |
| 1152 | func (m *KnownTypes) XXX_DiscardUnknown() { |
| 1153 | xxx_messageInfo_KnownTypes.DiscardUnknown(m) |
| 1154 | } |
| 1155 | |
| 1156 | var xxx_messageInfo_KnownTypes proto.InternalMessageInfo |
| 1157 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1158 | func (m *KnownTypes) GetOptBool() *known.BoolValue { |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1159 | if m != nil { |
| 1160 | return m.OptBool |
| 1161 | } |
| 1162 | return nil |
| 1163 | } |
| 1164 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1165 | func (m *KnownTypes) GetOptInt32() *known.Int32Value { |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1166 | if m != nil { |
| 1167 | return m.OptInt32 |
| 1168 | } |
| 1169 | return nil |
| 1170 | } |
| 1171 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1172 | func (m *KnownTypes) GetOptInt64() *known.Int64Value { |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1173 | if m != nil { |
| 1174 | return m.OptInt64 |
| 1175 | } |
| 1176 | return nil |
| 1177 | } |
| 1178 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1179 | func (m *KnownTypes) GetOptUint32() *known.UInt32Value { |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1180 | if m != nil { |
| 1181 | return m.OptUint32 |
| 1182 | } |
| 1183 | return nil |
| 1184 | } |
| 1185 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1186 | func (m *KnownTypes) GetOptUint64() *known.UInt64Value { |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1187 | if m != nil { |
| 1188 | return m.OptUint64 |
| 1189 | } |
| 1190 | return nil |
| 1191 | } |
| 1192 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1193 | func (m *KnownTypes) GetOptFloat() *known.FloatValue { |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1194 | if m != nil { |
| 1195 | return m.OptFloat |
| 1196 | } |
| 1197 | return nil |
| 1198 | } |
| 1199 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1200 | func (m *KnownTypes) GetOptDouble() *known.DoubleValue { |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1201 | if m != nil { |
| 1202 | return m.OptDouble |
| 1203 | } |
| 1204 | return nil |
| 1205 | } |
| 1206 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1207 | func (m *KnownTypes) GetOptString() *known.StringValue { |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1208 | if m != nil { |
| 1209 | return m.OptString |
| 1210 | } |
| 1211 | return nil |
| 1212 | } |
| 1213 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1214 | func (m *KnownTypes) GetOptBytes() *known.BytesValue { |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1215 | if m != nil { |
| 1216 | return m.OptBytes |
| 1217 | } |
| 1218 | return nil |
| 1219 | } |
| 1220 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1221 | func (m *KnownTypes) GetOptDuration() *known.Duration { |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1222 | if m != nil { |
| 1223 | return m.OptDuration |
| 1224 | } |
| 1225 | return nil |
| 1226 | } |
| 1227 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1228 | func (m *KnownTypes) GetOptTimestamp() *known.Timestamp { |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1229 | if m != nil { |
| 1230 | return m.OptTimestamp |
| 1231 | } |
| 1232 | return nil |
| 1233 | } |
| 1234 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1235 | func (m *KnownTypes) GetOptStruct() *known.Struct { |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1236 | if m != nil { |
| 1237 | return m.OptStruct |
| 1238 | } |
| 1239 | return nil |
| 1240 | } |
| 1241 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1242 | func (m *KnownTypes) GetOptList() *known.ListValue { |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1243 | if m != nil { |
| 1244 | return m.OptList |
| 1245 | } |
| 1246 | return nil |
| 1247 | } |
| 1248 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1249 | func (m *KnownTypes) GetOptValue() *known.Value { |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1250 | if m != nil { |
| 1251 | return m.OptValue |
| 1252 | } |
| 1253 | return nil |
| 1254 | } |
| 1255 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1256 | func (m *KnownTypes) GetOptEmpty() *known.Empty { |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1257 | if m != nil { |
| 1258 | return m.OptEmpty |
| 1259 | } |
| 1260 | return nil |
| 1261 | } |
| 1262 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1263 | func (m *KnownTypes) GetOptAny() *known.Any { |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1264 | if m != nil { |
| 1265 | return m.OptAny |
| 1266 | } |
| 1267 | return nil |
| 1268 | } |
| 1269 | |
| 1270 | type Nests_OptGroup struct { |
| 1271 | OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"` |
| 1272 | OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"` |
| 1273 | Optnestedgroup *Nests_OptGroup_OptNestedGroup `protobuf:"group,3,opt,name=OptNestedGroup,json=optnestedgroup" json:"optnestedgroup,omitempty"` |
| 1274 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1275 | XXX_unrecognized []byte `json:"-"` |
| 1276 | XXX_sizecache int32 `json:"-"` |
| 1277 | } |
| 1278 | |
| 1279 | func (m *Nests_OptGroup) ProtoReflect() protoreflect.Message { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1280 | return xxx_File_pb2_test_proto_messageTypes[16].MessageOf(m) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1281 | } |
| 1282 | func (m *Nests_OptGroup) Reset() { *m = Nests_OptGroup{} } |
| 1283 | func (m *Nests_OptGroup) String() string { return proto.CompactTextString(m) } |
| 1284 | func (*Nests_OptGroup) ProtoMessage() {} |
| 1285 | func (*Nests_OptGroup) Descriptor() ([]byte, []int) { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1286 | return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{4, 0} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1287 | } |
| 1288 | |
| 1289 | func (m *Nests_OptGroup) XXX_Unmarshal(b []byte) error { |
| 1290 | return xxx_messageInfo_Nests_OptGroup.Unmarshal(m, b) |
| 1291 | } |
| 1292 | func (m *Nests_OptGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1293 | return xxx_messageInfo_Nests_OptGroup.Marshal(b, m, deterministic) |
| 1294 | } |
| 1295 | func (m *Nests_OptGroup) XXX_Merge(src proto.Message) { |
| 1296 | xxx_messageInfo_Nests_OptGroup.Merge(m, src) |
| 1297 | } |
| 1298 | func (m *Nests_OptGroup) XXX_Size() int { |
| 1299 | return xxx_messageInfo_Nests_OptGroup.Size(m) |
| 1300 | } |
| 1301 | func (m *Nests_OptGroup) XXX_DiscardUnknown() { |
| 1302 | xxx_messageInfo_Nests_OptGroup.DiscardUnknown(m) |
| 1303 | } |
| 1304 | |
| 1305 | var xxx_messageInfo_Nests_OptGroup proto.InternalMessageInfo |
| 1306 | |
| 1307 | func (m *Nests_OptGroup) GetOptString() string { |
| 1308 | if m != nil && m.OptString != nil { |
| 1309 | return *m.OptString |
| 1310 | } |
| 1311 | return "" |
| 1312 | } |
| 1313 | |
| 1314 | func (m *Nests_OptGroup) GetOptNested() *Nested { |
| 1315 | if m != nil { |
| 1316 | return m.OptNested |
| 1317 | } |
| 1318 | return nil |
| 1319 | } |
| 1320 | |
| 1321 | func (m *Nests_OptGroup) GetOptnestedgroup() *Nests_OptGroup_OptNestedGroup { |
| 1322 | if m != nil { |
| 1323 | return m.Optnestedgroup |
| 1324 | } |
| 1325 | return nil |
| 1326 | } |
| 1327 | |
| 1328 | type Nests_RptGroup struct { |
| 1329 | RptString []string `protobuf:"bytes,1,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"` |
| 1330 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1331 | XXX_unrecognized []byte `json:"-"` |
| 1332 | XXX_sizecache int32 `json:"-"` |
| 1333 | } |
| 1334 | |
| 1335 | func (m *Nests_RptGroup) ProtoReflect() protoreflect.Message { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1336 | return xxx_File_pb2_test_proto_messageTypes[17].MessageOf(m) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1337 | } |
| 1338 | func (m *Nests_RptGroup) Reset() { *m = Nests_RptGroup{} } |
| 1339 | func (m *Nests_RptGroup) String() string { return proto.CompactTextString(m) } |
| 1340 | func (*Nests_RptGroup) ProtoMessage() {} |
| 1341 | func (*Nests_RptGroup) Descriptor() ([]byte, []int) { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1342 | return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{4, 1} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1343 | } |
| 1344 | |
| 1345 | func (m *Nests_RptGroup) XXX_Unmarshal(b []byte) error { |
| 1346 | return xxx_messageInfo_Nests_RptGroup.Unmarshal(m, b) |
| 1347 | } |
| 1348 | func (m *Nests_RptGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1349 | return xxx_messageInfo_Nests_RptGroup.Marshal(b, m, deterministic) |
| 1350 | } |
| 1351 | func (m *Nests_RptGroup) XXX_Merge(src proto.Message) { |
| 1352 | xxx_messageInfo_Nests_RptGroup.Merge(m, src) |
| 1353 | } |
| 1354 | func (m *Nests_RptGroup) XXX_Size() int { |
| 1355 | return xxx_messageInfo_Nests_RptGroup.Size(m) |
| 1356 | } |
| 1357 | func (m *Nests_RptGroup) XXX_DiscardUnknown() { |
| 1358 | xxx_messageInfo_Nests_RptGroup.DiscardUnknown(m) |
| 1359 | } |
| 1360 | |
| 1361 | var xxx_messageInfo_Nests_RptGroup proto.InternalMessageInfo |
| 1362 | |
| 1363 | func (m *Nests_RptGroup) GetRptString() []string { |
| 1364 | if m != nil { |
| 1365 | return m.RptString |
| 1366 | } |
| 1367 | return nil |
| 1368 | } |
| 1369 | |
| 1370 | type Nests_OptGroup_OptNestedGroup struct { |
| 1371 | OptFixed32 *uint32 `protobuf:"fixed32,1,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"` |
| 1372 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 1373 | XXX_unrecognized []byte `json:"-"` |
| 1374 | XXX_sizecache int32 `json:"-"` |
| 1375 | } |
| 1376 | |
| 1377 | func (m *Nests_OptGroup_OptNestedGroup) ProtoReflect() protoreflect.Message { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1378 | return xxx_File_pb2_test_proto_messageTypes[18].MessageOf(m) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1379 | } |
| 1380 | func (m *Nests_OptGroup_OptNestedGroup) Reset() { *m = Nests_OptGroup_OptNestedGroup{} } |
| 1381 | func (m *Nests_OptGroup_OptNestedGroup) String() string { return proto.CompactTextString(m) } |
| 1382 | func (*Nests_OptGroup_OptNestedGroup) ProtoMessage() {} |
| 1383 | func (*Nests_OptGroup_OptNestedGroup) Descriptor() ([]byte, []int) { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1384 | return xxx_File_pb2_test_proto_rawdesc_gzipped, []int{4, 0, 0} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1385 | } |
| 1386 | |
| 1387 | func (m *Nests_OptGroup_OptNestedGroup) XXX_Unmarshal(b []byte) error { |
| 1388 | return xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Unmarshal(m, b) |
| 1389 | } |
| 1390 | func (m *Nests_OptGroup_OptNestedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 1391 | return xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Marshal(b, m, deterministic) |
| 1392 | } |
| 1393 | func (m *Nests_OptGroup_OptNestedGroup) XXX_Merge(src proto.Message) { |
| 1394 | xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Merge(m, src) |
| 1395 | } |
| 1396 | func (m *Nests_OptGroup_OptNestedGroup) XXX_Size() int { |
| 1397 | return xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Size(m) |
| 1398 | } |
| 1399 | func (m *Nests_OptGroup_OptNestedGroup) XXX_DiscardUnknown() { |
| 1400 | xxx_messageInfo_Nests_OptGroup_OptNestedGroup.DiscardUnknown(m) |
| 1401 | } |
| 1402 | |
| 1403 | var xxx_messageInfo_Nests_OptGroup_OptNestedGroup proto.InternalMessageInfo |
| 1404 | |
| 1405 | func (m *Nests_OptGroup_OptNestedGroup) GetOptFixed32() uint32 { |
| 1406 | if m != nil && m.OptFixed32 != nil { |
| 1407 | return *m.OptFixed32 |
| 1408 | } |
| 1409 | return 0 |
| 1410 | } |
| 1411 | |
| 1412 | var E_OptExtBool = &proto.ExtensionDesc{ |
| 1413 | ExtendedType: (*Extensions)(nil), |
| 1414 | ExtensionType: (*bool)(nil), |
| 1415 | Field: 21, |
| 1416 | Name: "pb2.opt_ext_bool", |
| 1417 | Tag: "varint,21,opt,name=opt_ext_bool", |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1418 | Filename: "pb2/test.proto", |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1419 | } |
| 1420 | |
| 1421 | var E_OptExtString = &proto.ExtensionDesc{ |
| 1422 | ExtendedType: (*Extensions)(nil), |
| 1423 | ExtensionType: (*string)(nil), |
| 1424 | Field: 22, |
| 1425 | Name: "pb2.opt_ext_string", |
| 1426 | Tag: "bytes,22,opt,name=opt_ext_string", |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1427 | Filename: "pb2/test.proto", |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1428 | } |
| 1429 | |
| 1430 | var E_OptExtEnum = &proto.ExtensionDesc{ |
| 1431 | ExtendedType: (*Extensions)(nil), |
| 1432 | ExtensionType: (*Enum)(nil), |
| 1433 | Field: 23, |
| 1434 | Name: "pb2.opt_ext_enum", |
| 1435 | Tag: "varint,23,opt,name=opt_ext_enum,enum=pb2.Enum", |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1436 | Filename: "pb2/test.proto", |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1437 | } |
| 1438 | |
| 1439 | var E_OptExtNested = &proto.ExtensionDesc{ |
| 1440 | ExtendedType: (*Extensions)(nil), |
| 1441 | ExtensionType: (*Nested)(nil), |
| 1442 | Field: 24, |
| 1443 | Name: "pb2.opt_ext_nested", |
| 1444 | Tag: "bytes,24,opt,name=opt_ext_nested", |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1445 | Filename: "pb2/test.proto", |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1446 | } |
| 1447 | |
| 1448 | var E_RptExtFixed32 = &proto.ExtensionDesc{ |
| 1449 | ExtendedType: (*Extensions)(nil), |
| 1450 | ExtensionType: ([]uint32)(nil), |
| 1451 | Field: 31, |
| 1452 | Name: "pb2.rpt_ext_fixed32", |
| 1453 | Tag: "fixed32,31,rep,name=rpt_ext_fixed32", |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1454 | Filename: "pb2/test.proto", |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1455 | } |
| 1456 | |
| 1457 | var E_RptExtEnum = &proto.ExtensionDesc{ |
| 1458 | ExtendedType: (*Extensions)(nil), |
| 1459 | ExtensionType: ([]Enum)(nil), |
| 1460 | Field: 32, |
| 1461 | Name: "pb2.rpt_ext_enum", |
| 1462 | Tag: "varint,32,rep,name=rpt_ext_enum,enum=pb2.Enum", |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1463 | Filename: "pb2/test.proto", |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1464 | } |
| 1465 | |
| 1466 | var E_RptExtNested = &proto.ExtensionDesc{ |
| 1467 | ExtendedType: (*Extensions)(nil), |
| 1468 | ExtensionType: ([]*Nested)(nil), |
| 1469 | Field: 33, |
| 1470 | Name: "pb2.rpt_ext_nested", |
| 1471 | Tag: "bytes,33,rep,name=rpt_ext_nested", |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1472 | Filename: "pb2/test.proto", |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1473 | } |
| 1474 | |
| 1475 | var E_MessageSetExtension = &proto.ExtensionDesc{ |
| 1476 | ExtendedType: (*MessageSet)(nil), |
| 1477 | ExtensionType: (*FakeMessageSetExtension)(nil), |
| 1478 | Field: 50, |
| 1479 | Name: "pb2.", |
| 1480 | Tag: "bytes,50,opt,name=message_set_extension", |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1481 | Filename: "pb2/test.proto", |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1482 | } |
| 1483 | |
| 1484 | var E_ExtensionsContainer_OptExtBool = &proto.ExtensionDesc{ |
| 1485 | ExtendedType: (*Extensions)(nil), |
| 1486 | ExtensionType: (*bool)(nil), |
| 1487 | Field: 51, |
| 1488 | Name: "pb2.ExtensionsContainer.opt_ext_bool", |
| 1489 | Tag: "varint,51,opt,name=opt_ext_bool", |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1490 | Filename: "pb2/test.proto", |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1491 | } |
| 1492 | |
| 1493 | var E_ExtensionsContainer_OptExtString = &proto.ExtensionDesc{ |
| 1494 | ExtendedType: (*Extensions)(nil), |
| 1495 | ExtensionType: (*string)(nil), |
| 1496 | Field: 52, |
| 1497 | Name: "pb2.ExtensionsContainer.opt_ext_string", |
| 1498 | Tag: "bytes,52,opt,name=opt_ext_string", |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1499 | Filename: "pb2/test.proto", |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1500 | } |
| 1501 | |
| 1502 | var E_ExtensionsContainer_OptExtEnum = &proto.ExtensionDesc{ |
| 1503 | ExtendedType: (*Extensions)(nil), |
| 1504 | ExtensionType: (*Enum)(nil), |
| 1505 | Field: 53, |
| 1506 | Name: "pb2.ExtensionsContainer.opt_ext_enum", |
| 1507 | Tag: "varint,53,opt,name=opt_ext_enum,enum=pb2.Enum", |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1508 | Filename: "pb2/test.proto", |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1509 | } |
| 1510 | |
| 1511 | var E_ExtensionsContainer_OptExtNested = &proto.ExtensionDesc{ |
| 1512 | ExtendedType: (*Extensions)(nil), |
| 1513 | ExtensionType: (*Nested)(nil), |
| 1514 | Field: 54, |
| 1515 | Name: "pb2.ExtensionsContainer.opt_ext_nested", |
| 1516 | Tag: "bytes,54,opt,name=opt_ext_nested", |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1517 | Filename: "pb2/test.proto", |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1518 | } |
| 1519 | |
| 1520 | var E_ExtensionsContainer_RptExtString = &proto.ExtensionDesc{ |
| 1521 | ExtendedType: (*Extensions)(nil), |
| 1522 | ExtensionType: ([]string)(nil), |
| 1523 | Field: 61, |
| 1524 | Name: "pb2.ExtensionsContainer.rpt_ext_string", |
| 1525 | Tag: "bytes,61,rep,name=rpt_ext_string", |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1526 | Filename: "pb2/test.proto", |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1527 | } |
| 1528 | |
| 1529 | var E_ExtensionsContainer_RptExtEnum = &proto.ExtensionDesc{ |
| 1530 | ExtendedType: (*Extensions)(nil), |
| 1531 | ExtensionType: ([]Enum)(nil), |
| 1532 | Field: 62, |
| 1533 | Name: "pb2.ExtensionsContainer.rpt_ext_enum", |
| 1534 | Tag: "varint,62,rep,name=rpt_ext_enum,enum=pb2.Enum", |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1535 | Filename: "pb2/test.proto", |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1536 | } |
| 1537 | |
| 1538 | var E_ExtensionsContainer_RptExtNested = &proto.ExtensionDesc{ |
| 1539 | ExtendedType: (*Extensions)(nil), |
| 1540 | ExtensionType: ([]*Nested)(nil), |
| 1541 | Field: 63, |
| 1542 | Name: "pb2.ExtensionsContainer.rpt_ext_nested", |
| 1543 | Tag: "bytes,63,rep,name=rpt_ext_nested", |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1544 | Filename: "pb2/test.proto", |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1545 | } |
| 1546 | |
| 1547 | var E_MessageSetExtension_MessageSetExtension = &proto.ExtensionDesc{ |
| 1548 | ExtendedType: (*MessageSet)(nil), |
| 1549 | ExtensionType: (*MessageSetExtension)(nil), |
| 1550 | Field: 10, |
| 1551 | Name: "pb2.MessageSetExtension", |
| 1552 | Tag: "bytes,10,opt,name=message_set_extension", |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1553 | Filename: "pb2/test.proto", |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1554 | } |
| 1555 | |
| 1556 | var E_MessageSetExtension_NotMessageSetExtension = &proto.ExtensionDesc{ |
| 1557 | ExtendedType: (*MessageSet)(nil), |
| 1558 | ExtensionType: (*MessageSetExtension)(nil), |
| 1559 | Field: 20, |
| 1560 | Name: "pb2.MessageSetExtension.not_message_set_extension", |
| 1561 | Tag: "bytes,20,opt,name=not_message_set_extension", |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1562 | Filename: "pb2/test.proto", |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1563 | } |
| 1564 | |
| 1565 | var E_MessageSetExtension_ExtNested = &proto.ExtensionDesc{ |
| 1566 | ExtendedType: (*MessageSet)(nil), |
| 1567 | ExtensionType: (*Nested)(nil), |
| 1568 | Field: 30, |
| 1569 | Name: "pb2.MessageSetExtension.ext_nested", |
| 1570 | Tag: "bytes,30,opt,name=ext_nested", |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1571 | Filename: "pb2/test.proto", |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1572 | } |
| 1573 | |
| 1574 | var E_FakeMessageSetExtension_MessageSetExtension = &proto.ExtensionDesc{ |
| 1575 | ExtendedType: (*FakeMessageSet)(nil), |
| 1576 | ExtensionType: (*FakeMessageSetExtension)(nil), |
| 1577 | Field: 10, |
| 1578 | Name: "pb2.FakeMessageSetExtension.message_set_extension", |
| 1579 | Tag: "bytes,10,opt,name=message_set_extension", |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1580 | Filename: "pb2/test.proto", |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1581 | } |
| 1582 | |
| 1583 | func init() { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1584 | proto.RegisterFile("pb2/test.proto", xxx_File_pb2_test_proto_rawdesc_gzipped) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1585 | proto.RegisterEnum("pb2.Enum", Enum_name, Enum_value) |
| 1586 | proto.RegisterEnum("pb2.Enums_NestedEnum", Enums_NestedEnum_name, Enums_NestedEnum_value) |
| 1587 | proto.RegisterType((*Scalars)(nil), "pb2.Scalars") |
| 1588 | proto.RegisterType((*Enums)(nil), "pb2.Enums") |
| 1589 | proto.RegisterType((*Repeats)(nil), "pb2.Repeats") |
| 1590 | proto.RegisterType((*Nested)(nil), "pb2.Nested") |
| 1591 | proto.RegisterType((*Nests)(nil), "pb2.Nests") |
| 1592 | proto.RegisterType((*Requireds)(nil), "pb2.Requireds") |
| 1593 | proto.RegisterType((*PartialRequired)(nil), "pb2.PartialRequired") |
| 1594 | proto.RegisterType((*NestedWithRequired)(nil), "pb2.NestedWithRequired") |
| 1595 | proto.RegisterType((*IndirectRequired)(nil), "pb2.IndirectRequired") |
| 1596 | proto.RegisterMapType((map[string]*NestedWithRequired)(nil), "pb2.IndirectRequired.StrToNestedEntry") |
| 1597 | proto.RegisterType((*Extensions)(nil), "pb2.Extensions") |
| 1598 | proto.RegisterType((*ExtensionsContainer)(nil), "pb2.ExtensionsContainer") |
| 1599 | proto.RegisterType((*MessageSet)(nil), "pb2.MessageSet") |
| 1600 | proto.RegisterType((*MessageSetExtension)(nil), "pb2.MessageSetExtension") |
| 1601 | proto.RegisterType((*FakeMessageSet)(nil), "pb2.FakeMessageSet") |
| 1602 | proto.RegisterType((*FakeMessageSetExtension)(nil), "pb2.FakeMessageSetExtension") |
| 1603 | proto.RegisterType((*KnownTypes)(nil), "pb2.KnownTypes") |
| 1604 | proto.RegisterType((*Nests_OptGroup)(nil), "pb2.Nests.OptGroup") |
| 1605 | proto.RegisterType((*Nests_RptGroup)(nil), "pb2.Nests.RptGroup") |
| 1606 | proto.RegisterType((*Nests_OptGroup_OptNestedGroup)(nil), "pb2.Nests.OptGroup.OptNestedGroup") |
| 1607 | proto.RegisterExtension(E_OptExtBool) |
| 1608 | proto.RegisterExtension(E_OptExtString) |
| 1609 | proto.RegisterExtension(E_OptExtEnum) |
| 1610 | proto.RegisterExtension(E_OptExtNested) |
| 1611 | proto.RegisterExtension(E_RptExtFixed32) |
| 1612 | proto.RegisterExtension(E_RptExtEnum) |
| 1613 | proto.RegisterExtension(E_RptExtNested) |
| 1614 | proto.RegisterExtension(E_MessageSetExtension) |
| 1615 | proto.RegisterExtension(E_ExtensionsContainer_OptExtBool) |
| 1616 | proto.RegisterExtension(E_ExtensionsContainer_OptExtString) |
| 1617 | proto.RegisterExtension(E_ExtensionsContainer_OptExtEnum) |
| 1618 | proto.RegisterExtension(E_ExtensionsContainer_OptExtNested) |
| 1619 | proto.RegisterExtension(E_ExtensionsContainer_RptExtString) |
| 1620 | proto.RegisterExtension(E_ExtensionsContainer_RptExtEnum) |
| 1621 | proto.RegisterExtension(E_ExtensionsContainer_RptExtNested) |
| 1622 | proto.RegisterExtension(E_MessageSetExtension_MessageSetExtension) |
| 1623 | proto.RegisterExtension(E_MessageSetExtension_NotMessageSetExtension) |
| 1624 | proto.RegisterExtension(E_MessageSetExtension_ExtNested) |
| 1625 | proto.RegisterExtension(E_FakeMessageSetExtension_MessageSetExtension) |
| 1626 | } |
| 1627 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1628 | var xxx_File_pb2_test_proto_rawdesc = []byte{ |
| 1629 | // 5126 bytes of the wire-encoded FileDescriptorProto |
| 1630 | 0x0a, 0x0e, 0x70, 0x62, 0x32, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 1631 | 0x12, 0x03, 0x70, 0x62, 0x32, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, |
| 1632 | 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 1633 | 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, |
| 1634 | 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, |
| 1635 | 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, |
| 1636 | 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, |
| 1637 | 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, |
| 1638 | 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, |
| 1639 | 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, |
| 1640 | 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, |
| 1641 | 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, |
| 1642 | 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda, 0x03, 0x0a, |
| 1643 | 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, |
| 1644 | 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x42, |
| 1645 | 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, |
| 1646 | 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, |
| 1647 | 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, |
| 1648 | 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a, |
| 1649 | 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, |
| 1650 | 0x0d, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, |
| 1651 | 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, |
| 1652 | 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, |
| 1653 | 0x70, 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, |
| 1654 | 0x09, 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, |
| 1655 | 0x74, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, |
| 1656 | 0x6f, 0x70, 0x74, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x70, 0x74, |
| 1657 | 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28, 0x07, 0x52, 0x0a, |
| 1658 | 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x70, |
| 1659 | 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x09, 0x20, 0x01, 0x28, 0x06, 0x52, |
| 1660 | 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x21, 0x0a, 0x0c, 0x6f, |
| 1661 | 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a, 0x20, 0x01, 0x28, |
| 1662 | 0x0f, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x21, |
| 1663 | 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x0b, |
| 1664 | 0x20, 0x01, 0x28, 0x10, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, |
| 1665 | 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x14, |
| 1666 | 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, |
| 1667 | 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x15, 0x20, 0x01, |
| 1668 | 0x28, 0x01, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1b, 0x0a, |
| 1669 | 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, |
| 1670 | 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, |
| 1671 | 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, |
| 1672 | 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xfb, 0x01, 0x0a, 0x05, 0x45, 0x6e, |
| 1673 | 0x75, 0x6d, 0x73, 0x12, 0x24, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, |
| 1674 | 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, |
| 1675 | 0x52, 0x07, 0x6f, 0x70, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x24, 0x0a, 0x08, 0x72, 0x70, 0x74, |
| 1676 | 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, |
| 1677 | 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x72, 0x70, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, |
| 1678 | 0x3d, 0x0a, 0x0f, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, |
| 1679 | 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, |
| 1680 | 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52, |
| 1681 | 0x0d, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x3d, |
| 1682 | 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, |
| 1683 | 0x6d, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, |
| 1684 | 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0d, |
| 1685 | 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x22, 0x28, 0x0a, |
| 1686 | 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x55, |
| 1687 | 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12, 0x08, 0x0a, |
| 1688 | 0x04, 0x44, 0x49, 0x45, 0x5a, 0x10, 0x0a, 0x22, 0x94, 0x02, 0x0a, 0x07, 0x52, 0x65, 0x70, 0x65, |
| 1689 | 0x61, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, |
| 1690 | 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, 0x07, 0x72, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, |
| 1691 | 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x03, 0x28, |
| 1692 | 0x05, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x72, |
| 1693 | 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x08, |
| 1694 | 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, |
| 1695 | 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x70, |
| 1696 | 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x75, |
| 1697 | 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x03, 0x28, 0x04, 0x52, 0x09, 0x72, 0x70, 0x74, |
| 1698 | 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x66, 0x6c, |
| 1699 | 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x02, 0x52, 0x08, 0x72, 0x70, 0x74, 0x46, 0x6c, |
| 1700 | 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, |
| 1701 | 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x01, 0x52, 0x09, 0x72, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, |
| 1702 | 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, |
| 1703 | 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, |
| 1704 | 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, |
| 1705 | 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0x53, |
| 1706 | 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1707 | 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, |
| 1708 | 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, |
| 1709 | 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, |
| 1710 | 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1711 | 0x74, 0x65, 0x64, 0x22, 0xd3, 0x03, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x12, 0x2a, 0x0a, |
| 1712 | 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1713 | 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1714 | 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x6f, 0x70, 0x74, |
| 1715 | 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x13, 0x2e, 0x70, 0x62, |
| 1716 | 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, |
| 1717 | 0x52, 0x08, 0x6f, 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x2a, 0x0a, 0x0a, 0x72, 0x70, |
| 1718 | 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, |
| 1719 | 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72, 0x70, 0x74, |
| 1720 | 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x2f, 0x0a, 0x08, 0x72, 0x70, 0x74, 0x67, 0x72, 0x6f, |
| 1721 | 0x75, 0x70, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0a, 0x32, 0x13, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, |
| 1722 | 0x65, 0x73, 0x74, 0x73, 0x2e, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x08, 0x72, |
| 1723 | 0x70, 0x74, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0xd4, 0x01, 0x0a, 0x08, 0x4f, 0x70, 0x74, 0x47, |
| 1724 | 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, |
| 1725 | 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, |
| 1726 | 0x69, 0x6e, 0x67, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, |
| 1727 | 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, |
| 1728 | 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, |
| 1729 | 0x4a, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, |
| 1730 | 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x22, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, |
| 1731 | 0x73, 0x74, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4f, 0x70, 0x74, |
| 1732 | 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x0e, 0x6f, 0x70, 0x74, |
| 1733 | 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x31, 0x0a, 0x0e, 0x4f, |
| 1734 | 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1f, 0x0a, |
| 1735 | 0x0b, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x01, 0x20, 0x01, |
| 1736 | 0x28, 0x07, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x1a, 0x29, |
| 1737 | 0x0a, 0x08, 0x52, 0x70, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, |
| 1738 | 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, |
| 1739 | 0x72, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x65, 0x72, |
| 1740 | 0x76, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0xd9, 0x01, 0x0a, 0x09, 0x52, 0x65, |
| 1741 | 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x5f, 0x62, |
| 1742 | 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x07, 0x72, 0x65, 0x71, 0x42, 0x6f, |
| 1743 | 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, |
| 1744 | 0x36, 0x34, 0x18, 0x02, 0x20, 0x02, 0x28, 0x10, 0x52, 0x0b, 0x72, 0x65, 0x71, 0x53, 0x66, 0x69, |
| 1745 | 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x64, 0x6f, 0x75, |
| 1746 | 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x01, 0x52, 0x09, 0x72, 0x65, 0x71, 0x44, 0x6f, |
| 1747 | 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, |
| 1748 | 0x6e, 0x67, 0x18, 0x04, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, |
| 1749 | 0x69, 0x6e, 0x67, 0x12, 0x24, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, |
| 1750 | 0x05, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, |
| 1751 | 0x52, 0x07, 0x72, 0x65, 0x71, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x2a, 0x0a, 0x0a, 0x72, 0x65, 0x71, |
| 1752 | 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x0b, 0x2e, |
| 1753 | 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, 0x72, 0x65, 0x71, 0x4e, |
| 1754 | 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x4f, 0x0a, 0x0f, 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, |
| 1755 | 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x5f, |
| 1756 | 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, |
| 1757 | 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, |
| 1758 | 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, |
| 1759 | 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x33, 0x0a, 0x12, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, |
| 1760 | 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1761 | 0x72, 0x65, 0x71, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1762 | 0x52, 0x09, 0x72, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0xee, 0x02, 0x0a, 0x10, |
| 1763 | 0x49, 0x6e, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, |
| 1764 | 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x01, |
| 1765 | 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, |
| 1766 | 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x09, 0x6f, |
| 1767 | 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, |
| 1768 | 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, |
| 1769 | 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, |
| 1770 | 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x09, 0x72, 0x70, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, |
| 1771 | 0x12, 0x4a, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, |
| 1772 | 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x49, 0x6e, |
| 1773 | 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x2e, 0x53, |
| 1774 | 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, |
| 1775 | 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x3c, 0x0a, 0x0c, |
| 1776 | 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, |
| 1777 | 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, |
| 1778 | 0x69, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0b, 0x6f, |
| 1779 | 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x1a, 0x57, 0x0a, 0x10, 0x53, 0x74, |
| 1780 | 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, |
| 1781 | 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, |
| 1782 | 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 1783 | 0x17, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x57, 0x69, 0x74, 0x68, |
| 1784 | 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, |
| 1785 | 0x02, 0x38, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0x69, 0x0a, 0x0a, |
| 1786 | 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, |
| 1787 | 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, |
| 1788 | 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70, 0x74, |
| 1789 | 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x65, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x70, 0x74, |
| 1790 | 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, |
| 1791 | 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, |
| 1792 | 0x32, 0x2a, 0x04, 0x08, 0x14, 0x10, 0x65, 0x22, 0xba, 0x03, 0x0a, 0x13, 0x45, 0x78, 0x74, 0x65, |
| 1793 | 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x32, |
| 1794 | 0x31, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x12, |
| 1795 | 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, |
| 1796 | 0x18, 0x33, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x42, 0x6f, |
| 1797 | 0x6f, 0x6c, 0x32, 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, |
| 1798 | 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, |
| 1799 | 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x34, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x70, 0x74, |
| 1800 | 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x6f, 0x70, 0x74, |
| 1801 | 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, |
| 1802 | 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x35, 0x20, 0x01, 0x28, 0x0e, |
| 1803 | 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x6f, 0x70, 0x74, |
| 1804 | 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x42, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, |
| 1805 | 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, |
| 1806 | 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x36, 0x20, 0x01, 0x28, 0x0b, |
| 1807 | 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x6f, |
| 1808 | 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x32, 0x35, 0x0a, 0x0e, 0x72, |
| 1809 | 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, |
| 1810 | 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x3d, |
| 1811 | 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, |
| 1812 | 0x6e, 0x67, 0x32, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, |
| 1813 | 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, |
| 1814 | 0x6f, 0x6e, 0x73, 0x18, 0x3e, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, |
| 1815 | 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, |
| 1816 | 0x32, 0x42, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, |
| 1817 | 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, |
| 1818 | 0x6f, 0x6e, 0x73, 0x18, 0x3f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, |
| 1819 | 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, |
| 1820 | 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0a, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, |
| 1821 | 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04, 0x10, 0xff, 0xff, 0xff, 0xff, 0x07, 0x3a, 0x02, 0x08, 0x01, |
| 1822 | 0x22, 0xb6, 0x02, 0x0a, 0x13, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, |
| 1823 | 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, |
| 1824 | 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, |
| 1825 | 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x32, 0x5d, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, |
| 1826 | 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, |
| 1827 | 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, |
| 1828 | 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1829 | 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1830 | 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, |
| 1831 | 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x64, 0x0a, 0x19, 0x6e, 0x6f, 0x74, 0x5f, 0x6d, 0x65, |
| 1832 | 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, |
| 1833 | 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, |
| 1834 | 0x65, 0x53, 0x65, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x62, 0x32, |
| 1835 | 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, |
| 1836 | 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x16, 0x6e, 0x6f, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, |
| 1837 | 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x3b, 0x0a, 0x0a, |
| 1838 | 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, |
| 1839 | 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x1e, 0x20, 0x01, 0x28, |
| 1840 | 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x09, |
| 1841 | 0x65, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x1a, 0x0a, 0x0e, 0x46, 0x61, 0x6b, |
| 1842 | 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x2a, 0x08, 0x08, 0x04, 0x10, |
| 1843 | 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x9f, 0x01, 0x0a, 0x17, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, |
| 1844 | 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, |
| 1845 | 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, |
| 1846 | 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, |
| 1847 | 0x32, 0x65, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, |
| 1848 | 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x13, 0x2e, 0x70, 0x62, 0x32, 0x2e, |
| 1849 | 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x0a, |
| 1850 | 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, |
| 1851 | 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, |
| 1852 | 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, |
| 1853 | 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xa6, 0x07, 0x0a, 0x0a, 0x4b, 0x6e, 0x6f, 0x77, |
| 1854 | 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x6f, |
| 1855 | 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 1856 | 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, |
| 1857 | 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x38, 0x0a, |
| 1858 | 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, |
| 1859 | 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, |
| 1860 | 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, |
| 1861 | 0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x69, |
| 1862 | 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, |
| 1863 | 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, |
| 1864 | 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, |
| 1865 | 0x34, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, |
| 1866 | 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, |
| 1867 | 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, |
| 1868 | 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x3b, |
| 1869 | 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01, |
| 1870 | 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 1871 | 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, |
| 1872 | 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x38, 0x0a, 0x09, 0x6f, |
| 1873 | 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, |
| 1874 | 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 1875 | 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, |
| 1876 | 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, |
| 1877 | 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, |
| 1878 | 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75, 0x62, |
| 1879 | 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, |
| 1880 | 0x6c, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, |
| 1881 | 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 1882 | 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, |
| 1883 | 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, |
| 1884 | 0x38, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, |
| 1885 | 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 1886 | 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, |
| 1887 | 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x3c, 0x0a, 0x0c, 0x6f, 0x70, 0x74, |
| 1888 | 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 1889 | 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, |
| 1890 | 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x44, |
| 1891 | 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0d, 0x6f, 0x70, 0x74, 0x5f, 0x74, |
| 1892 | 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, |
| 1893 | 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 1894 | 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x54, |
| 1895 | 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x36, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, |
| 1896 | 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, |
| 1897 | 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, |
| 1898 | 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, |
| 1899 | 0x12, 0x35, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x1a, 0x20, 0x01, |
| 1900 | 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 1901 | 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, |
| 1902 | 0x6f, 0x70, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x33, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x76, |
| 1903 | 0x61, 0x6c, 0x75, 0x65, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, |
| 1904 | 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, |
| 1905 | 0x75, 0x65, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x33, 0x0a, 0x09, |
| 1906 | 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 1907 | 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, |
| 1908 | 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x45, 0x6d, 0x70, 0x74, |
| 1909 | 0x79, 0x12, 0x2d, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x5f, 0x61, 0x6e, 0x79, 0x18, 0x20, 0x20, 0x01, |
| 1910 | 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 1911 | 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x06, 0x6f, 0x70, 0x74, 0x41, 0x6e, 0x79, |
| 1912 | 0x2a, 0x21, 0x0a, 0x04, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10, |
| 1913 | 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57, 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x45, |
| 1914 | 0x4e, 0x10, 0x0a, 0x3a, 0x31, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x62, |
| 1915 | 0x6f, 0x6f, 0x6c, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, |
| 1916 | 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6f, 0x70, 0x74, 0x45, |
| 1917 | 0x78, 0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x3a, 0x35, 0x0a, 0x0e, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, |
| 1918 | 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, |
| 1919 | 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 1920 | 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3c, 0x0a, |
| 1921 | 0x0c, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, |
| 1922 | 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x17, |
| 1923 | 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, |
| 1924 | 0x0a, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42, 0x0a, 0x0e, 0x6f, |
| 1925 | 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, |
| 1926 | 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x18, |
| 1927 | 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, |
| 1928 | 0x64, 0x52, 0x0c, 0x6f, 0x70, 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x3a, |
| 1929 | 0x37, 0x0a, 0x0f, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, |
| 1930 | 0x33, 0x32, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, |
| 1931 | 0x6f, 0x6e, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28, 0x07, 0x52, 0x0d, 0x72, 0x70, 0x74, 0x45, 0x78, |
| 1932 | 0x74, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x3a, 0x3c, 0x0a, 0x0c, 0x72, 0x70, 0x74, 0x5f, |
| 1933 | 0x65, 0x78, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, |
| 1934 | 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x20, 0x20, 0x03, 0x28, 0x0e, 0x32, |
| 1935 | 0x09, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0a, 0x72, 0x70, 0x74, 0x45, |
| 1936 | 0x78, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x42, 0x0a, 0x0e, 0x72, 0x70, 0x74, 0x5f, 0x65, 0x78, |
| 1937 | 0x74, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x45, |
| 1938 | 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x21, 0x20, 0x03, 0x28, 0x0b, 0x32, |
| 1939 | 0x0b, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x0c, 0x72, 0x70, |
| 1940 | 0x74, 0x45, 0x78, 0x74, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x3a, 0x61, 0x0a, 0x15, 0x6d, 0x65, |
| 1941 | 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, |
| 1942 | 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x2e, 0x70, 0x62, 0x32, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, |
| 1943 | 0x65, 0x53, 0x65, 0x74, 0x18, 0x32, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x62, 0x32, |
| 1944 | 0x2e, 0x46, 0x61, 0x6b, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, |
| 1945 | 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, |
| 1946 | 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x37, 0x5a, |
| 1947 | 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c, 0x61, |
| 1948 | 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32, 0x2f, 0x65, |
| 1949 | 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, |
| 1950 | 0x6f, 0x73, 0x2f, 0x70, 0x62, 0x32, |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1951 | } |
| 1952 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1953 | var xxx_File_pb2_test_proto_rawdesc_gzipped = protoapi.CompressGZIP(xxx_File_pb2_test_proto_rawdesc) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1954 | |
| 1955 | const _ = protoimpl.EnforceVersion(protoimpl.Version - 0) |
| 1956 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1957 | var File_pb2_test_proto protoreflect.FileDescriptor |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1958 | |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1959 | var xxx_File_pb2_test_proto_enumTypes [2]protoreflect.EnumType |
| 1960 | var xxx_File_pb2_test_proto_messageTypes [20]protoimpl.MessageType |
| 1961 | var xxx_File_pb2_test_proto_goTypes = []interface{}{ |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 1962 | (Enum)(0), // 0: pb2.Enum |
| 1963 | (Enums_NestedEnum)(0), // 1: pb2.Enums.NestedEnum |
| 1964 | (*Scalars)(nil), // 2: pb2.Scalars |
| 1965 | (*Enums)(nil), // 3: pb2.Enums |
| 1966 | (*Repeats)(nil), // 4: pb2.Repeats |
| 1967 | (*Nested)(nil), // 5: pb2.Nested |
| 1968 | (*Nests)(nil), // 6: pb2.Nests |
| 1969 | (*Requireds)(nil), // 7: pb2.Requireds |
| 1970 | (*PartialRequired)(nil), // 8: pb2.PartialRequired |
| 1971 | (*NestedWithRequired)(nil), // 9: pb2.NestedWithRequired |
| 1972 | (*IndirectRequired)(nil), // 10: pb2.IndirectRequired |
| 1973 | (*Extensions)(nil), // 11: pb2.Extensions |
| 1974 | (*ExtensionsContainer)(nil), // 12: pb2.ExtensionsContainer |
| 1975 | (*MessageSet)(nil), // 13: pb2.MessageSet |
| 1976 | (*MessageSetExtension)(nil), // 14: pb2.MessageSetExtension |
| 1977 | (*FakeMessageSet)(nil), // 15: pb2.FakeMessageSet |
| 1978 | (*FakeMessageSetExtension)(nil), // 16: pb2.FakeMessageSetExtension |
| 1979 | (*KnownTypes)(nil), // 17: pb2.KnownTypes |
| 1980 | (*Nests_OptGroup)(nil), // 18: pb2.Nests.OptGroup |
| 1981 | (*Nests_RptGroup)(nil), // 19: pb2.Nests.RptGroup |
| 1982 | (*Nests_OptGroup_OptNestedGroup)(nil), // 20: pb2.Nests.OptGroup.OptNestedGroup |
| 1983 | nil, // 21: pb2.IndirectRequired.StrToNestedEntry |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 1984 | (*known.BoolValue)(nil), // 22: google.protobuf.BoolValue |
| 1985 | (*known.Int32Value)(nil), // 23: google.protobuf.Int32Value |
| 1986 | (*known.Int64Value)(nil), // 24: google.protobuf.Int64Value |
| 1987 | (*known.UInt32Value)(nil), // 25: google.protobuf.UInt32Value |
| 1988 | (*known.UInt64Value)(nil), // 26: google.protobuf.UInt64Value |
| 1989 | (*known.FloatValue)(nil), // 27: google.protobuf.FloatValue |
| 1990 | (*known.DoubleValue)(nil), // 28: google.protobuf.DoubleValue |
| 1991 | (*known.StringValue)(nil), // 29: google.protobuf.StringValue |
| 1992 | (*known.BytesValue)(nil), // 30: google.protobuf.BytesValue |
| 1993 | (*known.Duration)(nil), // 31: google.protobuf.Duration |
| 1994 | (*known.Timestamp)(nil), // 32: google.protobuf.Timestamp |
| 1995 | (*known.Struct)(nil), // 33: google.protobuf.Struct |
| 1996 | (*known.ListValue)(nil), // 34: google.protobuf.ListValue |
| 1997 | (*known.Value)(nil), // 35: google.protobuf.Value |
| 1998 | (*known.Empty)(nil), // 36: google.protobuf.Empty |
| 1999 | (*known.Any)(nil), // 37: google.protobuf.Any |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 2000 | } |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 2001 | var xxx_File_pb2_test_proto_depIdxs = []int32{ |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 2002 | 11, // pb2.opt_ext_bool:extendee -> pb2.Extensions |
| 2003 | 11, // pb2.opt_ext_string:extendee -> pb2.Extensions |
| 2004 | 11, // pb2.opt_ext_enum:extendee -> pb2.Extensions |
| 2005 | 11, // pb2.opt_ext_nested:extendee -> pb2.Extensions |
| 2006 | 11, // pb2.rpt_ext_fixed32:extendee -> pb2.Extensions |
| 2007 | 11, // pb2.rpt_ext_enum:extendee -> pb2.Extensions |
| 2008 | 11, // pb2.rpt_ext_nested:extendee -> pb2.Extensions |
| 2009 | 13, // pb2.message_set_extension:extendee -> pb2.MessageSet |
| 2010 | 11, // pb2.ExtensionsContainer.opt_ext_bool:extendee -> pb2.Extensions |
| 2011 | 11, // pb2.ExtensionsContainer.opt_ext_string:extendee -> pb2.Extensions |
| 2012 | 11, // pb2.ExtensionsContainer.opt_ext_enum:extendee -> pb2.Extensions |
| 2013 | 11, // pb2.ExtensionsContainer.opt_ext_nested:extendee -> pb2.Extensions |
| 2014 | 11, // pb2.ExtensionsContainer.rpt_ext_string:extendee -> pb2.Extensions |
| 2015 | 11, // pb2.ExtensionsContainer.rpt_ext_enum:extendee -> pb2.Extensions |
| 2016 | 11, // pb2.ExtensionsContainer.rpt_ext_nested:extendee -> pb2.Extensions |
| 2017 | 13, // pb2.MessageSetExtension.message_set_extension:extendee -> pb2.MessageSet |
| 2018 | 13, // pb2.MessageSetExtension.not_message_set_extension:extendee -> pb2.MessageSet |
| 2019 | 13, // pb2.MessageSetExtension.ext_nested:extendee -> pb2.MessageSet |
| 2020 | 15, // pb2.FakeMessageSetExtension.message_set_extension:extendee -> pb2.FakeMessageSet |
| 2021 | 0, // pb2.Enums.opt_enum:type_name -> pb2.Enum |
| 2022 | 0, // pb2.Enums.rpt_enum:type_name -> pb2.Enum |
| 2023 | 1, // pb2.Enums.opt_nested_enum:type_name -> pb2.Enums.NestedEnum |
| 2024 | 1, // pb2.Enums.rpt_nested_enum:type_name -> pb2.Enums.NestedEnum |
| 2025 | 5, // pb2.Nested.opt_nested:type_name -> pb2.Nested |
| 2026 | 5, // pb2.Nests.opt_nested:type_name -> pb2.Nested |
| 2027 | 18, // pb2.Nests.optgroup:type_name -> pb2.Nests.OptGroup |
| 2028 | 5, // pb2.Nests.rpt_nested:type_name -> pb2.Nested |
| 2029 | 19, // pb2.Nests.rptgroup:type_name -> pb2.Nests.RptGroup |
| 2030 | 0, // pb2.Requireds.req_enum:type_name -> pb2.Enum |
| 2031 | 5, // pb2.Requireds.req_nested:type_name -> pb2.Nested |
| 2032 | 9, // pb2.IndirectRequired.opt_nested:type_name -> pb2.NestedWithRequired |
| 2033 | 9, // pb2.IndirectRequired.rpt_nested:type_name -> pb2.NestedWithRequired |
| 2034 | 21, // pb2.IndirectRequired.str_to_nested:type_name -> pb2.IndirectRequired.StrToNestedEntry |
| 2035 | 9, // pb2.IndirectRequired.oneof_nested:type_name -> pb2.NestedWithRequired |
| 2036 | 22, // pb2.KnownTypes.opt_bool:type_name -> google.protobuf.BoolValue |
| 2037 | 23, // pb2.KnownTypes.opt_int32:type_name -> google.protobuf.Int32Value |
| 2038 | 24, // pb2.KnownTypes.opt_int64:type_name -> google.protobuf.Int64Value |
| 2039 | 25, // pb2.KnownTypes.opt_uint32:type_name -> google.protobuf.UInt32Value |
| 2040 | 26, // pb2.KnownTypes.opt_uint64:type_name -> google.protobuf.UInt64Value |
| 2041 | 27, // pb2.KnownTypes.opt_float:type_name -> google.protobuf.FloatValue |
| 2042 | 28, // pb2.KnownTypes.opt_double:type_name -> google.protobuf.DoubleValue |
| 2043 | 29, // pb2.KnownTypes.opt_string:type_name -> google.protobuf.StringValue |
| 2044 | 30, // pb2.KnownTypes.opt_bytes:type_name -> google.protobuf.BytesValue |
| 2045 | 31, // pb2.KnownTypes.opt_duration:type_name -> google.protobuf.Duration |
| 2046 | 32, // pb2.KnownTypes.opt_timestamp:type_name -> google.protobuf.Timestamp |
| 2047 | 33, // pb2.KnownTypes.opt_struct:type_name -> google.protobuf.Struct |
| 2048 | 34, // pb2.KnownTypes.opt_list:type_name -> google.protobuf.ListValue |
| 2049 | 35, // pb2.KnownTypes.opt_value:type_name -> google.protobuf.Value |
| 2050 | 36, // pb2.KnownTypes.opt_empty:type_name -> google.protobuf.Empty |
| 2051 | 37, // pb2.KnownTypes.opt_any:type_name -> google.protobuf.Any |
| 2052 | 5, // pb2.Nests.OptGroup.opt_nested:type_name -> pb2.Nested |
| 2053 | 20, // pb2.Nests.OptGroup.optnestedgroup:type_name -> pb2.Nests.OptGroup.OptNestedGroup |
| 2054 | 9, // pb2.IndirectRequired.StrToNestedEntry.value:type_name -> pb2.NestedWithRequired |
| 2055 | 0, // pb2.opt_ext_enum:type_name -> pb2.Enum |
| 2056 | 5, // pb2.opt_ext_nested:type_name -> pb2.Nested |
| 2057 | 0, // pb2.rpt_ext_enum:type_name -> pb2.Enum |
| 2058 | 5, // pb2.rpt_ext_nested:type_name -> pb2.Nested |
| 2059 | 16, // pb2.message_set_extension:type_name -> pb2.FakeMessageSetExtension |
| 2060 | 0, // pb2.ExtensionsContainer.opt_ext_enum:type_name -> pb2.Enum |
| 2061 | 5, // pb2.ExtensionsContainer.opt_ext_nested:type_name -> pb2.Nested |
| 2062 | 0, // pb2.ExtensionsContainer.rpt_ext_enum:type_name -> pb2.Enum |
| 2063 | 5, // pb2.ExtensionsContainer.rpt_ext_nested:type_name -> pb2.Nested |
| 2064 | 14, // pb2.MessageSetExtension.message_set_extension:type_name -> pb2.MessageSetExtension |
| 2065 | 14, // pb2.MessageSetExtension.not_message_set_extension:type_name -> pb2.MessageSetExtension |
| 2066 | 5, // pb2.MessageSetExtension.ext_nested:type_name -> pb2.Nested |
| 2067 | 16, // pb2.FakeMessageSetExtension.message_set_extension:type_name -> pb2.FakeMessageSetExtension |
| 2068 | } |
| 2069 | |
| 2070 | func init() { |
| 2071 | var messageTypes [20]protoreflect.MessageType |
| 2072 | var extensionTypes [19]protoreflect.ExtensionType |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 2073 | File_pb2_test_proto = protoimpl.FileBuilder{ |
| 2074 | RawDescriptor: xxx_File_pb2_test_proto_rawdesc, |
| 2075 | GoTypes: xxx_File_pb2_test_proto_goTypes, |
| 2076 | DependencyIndexes: xxx_File_pb2_test_proto_depIdxs, |
| 2077 | EnumOutputTypes: xxx_File_pb2_test_proto_enumTypes[:], |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 2078 | MessageOutputTypes: messageTypes[:], |
| 2079 | ExtensionOutputTypes: extensionTypes[:], |
| 2080 | }.Init() |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 2081 | messageGoTypes := xxx_File_pb2_test_proto_goTypes[2:][:20] |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 2082 | for i, mt := range messageTypes[:] { |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 2083 | xxx_File_pb2_test_proto_messageTypes[i].GoType = reflect.TypeOf(messageGoTypes[i]) |
| 2084 | xxx_File_pb2_test_proto_messageTypes[i].PBType = mt |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 2085 | } |
| 2086 | E_OptExtBool.Type = extensionTypes[0] |
| 2087 | E_OptExtString.Type = extensionTypes[1] |
| 2088 | E_OptExtEnum.Type = extensionTypes[2] |
| 2089 | E_OptExtNested.Type = extensionTypes[3] |
| 2090 | E_RptExtFixed32.Type = extensionTypes[4] |
| 2091 | E_RptExtEnum.Type = extensionTypes[5] |
| 2092 | E_RptExtNested.Type = extensionTypes[6] |
| 2093 | E_MessageSetExtension.Type = extensionTypes[7] |
| 2094 | E_ExtensionsContainer_OptExtBool.Type = extensionTypes[8] |
| 2095 | E_ExtensionsContainer_OptExtString.Type = extensionTypes[9] |
| 2096 | E_ExtensionsContainer_OptExtEnum.Type = extensionTypes[10] |
| 2097 | E_ExtensionsContainer_OptExtNested.Type = extensionTypes[11] |
| 2098 | E_ExtensionsContainer_RptExtString.Type = extensionTypes[12] |
| 2099 | E_ExtensionsContainer_RptExtEnum.Type = extensionTypes[13] |
| 2100 | E_ExtensionsContainer_RptExtNested.Type = extensionTypes[14] |
| 2101 | E_MessageSetExtension_MessageSetExtension.Type = extensionTypes[15] |
| 2102 | E_MessageSetExtension_NotMessageSetExtension.Type = extensionTypes[16] |
| 2103 | E_MessageSetExtension_ExtNested.Type = extensionTypes[17] |
| 2104 | E_FakeMessageSetExtension_MessageSetExtension.Type = extensionTypes[18] |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame^] | 2105 | xxx_File_pb2_test_proto_goTypes = nil |
| 2106 | xxx_File_pb2_test_proto_depIdxs = nil |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 2107 | } |