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