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