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