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