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