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