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: pb3/test.proto |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 3 | |
| 4 | package pb3 |
| 5 | |
| 6 | import ( |
Damien Neil | e89e624 | 2019-05-13 23:55:40 -0700 | [diff] [blame] | 7 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 8 | protoregistry "google.golang.org/protobuf/reflect/protoregistry" |
| 9 | protoiface "google.golang.org/protobuf/runtime/protoiface" |
| 10 | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 11 | sync "sync" |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 12 | ) |
| 13 | |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 14 | const _ = protoimpl.EnforceVersion(protoimpl.Version - 0) |
| 15 | |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 16 | type Enum int32 |
| 17 | |
| 18 | const ( |
| 19 | Enum_ZERO Enum = 0 |
| 20 | Enum_ONE Enum = 1 |
| 21 | Enum_TWO Enum = 2 |
| 22 | Enum_TEN Enum = 10 |
| 23 | ) |
| 24 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 25 | // Deprecated: Use Enum.Type.Values instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 26 | var Enum_name = map[int32]string{ |
| 27 | 0: "ZERO", |
| 28 | 1: "ONE", |
| 29 | 2: "TWO", |
| 30 | 10: "TEN", |
| 31 | } |
| 32 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 33 | // Deprecated: Use Enum.Type.Values instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 34 | var Enum_value = map[string]int32{ |
| 35 | "ZERO": 0, |
| 36 | "ONE": 1, |
| 37 | "TWO": 2, |
| 38 | "TEN": 10, |
| 39 | } |
| 40 | |
Joe Tsai | dbab6c0 | 2019-05-14 15:06:03 -0700 | [diff] [blame^] | 41 | func (x Enum) Enum() *Enum { |
| 42 | p := new(Enum) |
| 43 | *p = x |
| 44 | return p |
| 45 | } |
| 46 | |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 47 | func (x Enum) String() string { |
Joe Tsai | 0fc49f8 | 2019-05-01 12:29:25 -0700 | [diff] [blame] | 48 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 49 | } |
| 50 | |
Joe Tsai | 0fc49f8 | 2019-05-01 12:29:25 -0700 | [diff] [blame] | 51 | func (Enum) Descriptor() protoreflect.EnumDescriptor { |
| 52 | return file_pb3_test_proto_enumTypes[0].Descriptor() |
| 53 | } |
| 54 | |
| 55 | // Deprecated: Use Descriptor instead. |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 56 | func (Enum) Type() protoreflect.EnumType { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 57 | return file_pb3_test_proto_enumTypes[0] |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 58 | } |
| 59 | |
| 60 | func (x Enum) Number() protoreflect.EnumNumber { |
| 61 | return protoreflect.EnumNumber(x) |
| 62 | } |
| 63 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 64 | // Deprecated: Use Enum.Type instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 65 | func (Enum) EnumDescriptor() ([]byte, []int) { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 66 | return file_pb3_test_proto_rawDescGZIP(), []int{0} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 67 | } |
| 68 | |
| 69 | type Enums_NestedEnum int32 |
| 70 | |
| 71 | const ( |
| 72 | Enums_CERO Enums_NestedEnum = 0 |
| 73 | Enums_UNO Enums_NestedEnum = 1 |
| 74 | Enums_DOS Enums_NestedEnum = 2 |
| 75 | Enums_DIEZ Enums_NestedEnum = 10 |
| 76 | ) |
| 77 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 78 | // Deprecated: Use Enums_NestedEnum.Type.Values instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 79 | var Enums_NestedEnum_name = map[int32]string{ |
| 80 | 0: "CERO", |
| 81 | 1: "UNO", |
| 82 | 2: "DOS", |
| 83 | 10: "DIEZ", |
| 84 | } |
| 85 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 86 | // Deprecated: Use Enums_NestedEnum.Type.Values instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 87 | var Enums_NestedEnum_value = map[string]int32{ |
| 88 | "CERO": 0, |
| 89 | "UNO": 1, |
| 90 | "DOS": 2, |
| 91 | "DIEZ": 10, |
| 92 | } |
| 93 | |
Joe Tsai | dbab6c0 | 2019-05-14 15:06:03 -0700 | [diff] [blame^] | 94 | func (x Enums_NestedEnum) Enum() *Enums_NestedEnum { |
| 95 | p := new(Enums_NestedEnum) |
| 96 | *p = x |
| 97 | return p |
| 98 | } |
| 99 | |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 100 | func (x Enums_NestedEnum) String() string { |
Joe Tsai | 0fc49f8 | 2019-05-01 12:29:25 -0700 | [diff] [blame] | 101 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 102 | } |
| 103 | |
Joe Tsai | 0fc49f8 | 2019-05-01 12:29:25 -0700 | [diff] [blame] | 104 | func (Enums_NestedEnum) Descriptor() protoreflect.EnumDescriptor { |
| 105 | return file_pb3_test_proto_enumTypes[1].Descriptor() |
| 106 | } |
| 107 | |
| 108 | // Deprecated: Use Descriptor instead. |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 109 | func (Enums_NestedEnum) Type() protoreflect.EnumType { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 110 | return file_pb3_test_proto_enumTypes[1] |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 111 | } |
| 112 | |
| 113 | func (x Enums_NestedEnum) Number() protoreflect.EnumNumber { |
| 114 | return protoreflect.EnumNumber(x) |
| 115 | } |
| 116 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 117 | // Deprecated: Use Enums_NestedEnum.Type instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 118 | func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 119 | return file_pb3_test_proto_rawDescGZIP(), []int{1, 0} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 120 | } |
| 121 | |
| 122 | // Scalars contains scalar field types. |
| 123 | type Scalars struct { |
Joe Tsai | 5e71dc9 | 2019-04-16 13:22:20 -0700 | [diff] [blame] | 124 | SBool bool `protobuf:"varint,1,opt,name=s_bool,json=sBool,proto3" json:"s_bool,omitempty"` |
| 125 | SInt32 int32 `protobuf:"varint,2,opt,name=s_int32,json=sInt32,proto3" json:"s_int32,omitempty"` |
| 126 | SInt64 int64 `protobuf:"varint,3,opt,name=s_int64,json=sInt64,proto3" json:"s_int64,omitempty"` |
| 127 | SUint32 uint32 `protobuf:"varint,4,opt,name=s_uint32,json=sUint32,proto3" json:"s_uint32,omitempty"` |
| 128 | SUint64 uint64 `protobuf:"varint,5,opt,name=s_uint64,json=sUint64,proto3" json:"s_uint64,omitempty"` |
| 129 | SSint32 int32 `protobuf:"zigzag32,6,opt,name=s_sint32,json=sSint32,proto3" json:"s_sint32,omitempty"` |
| 130 | SSint64 int64 `protobuf:"zigzag64,7,opt,name=s_sint64,json=sSint64,proto3" json:"s_sint64,omitempty"` |
| 131 | SFixed32 uint32 `protobuf:"fixed32,8,opt,name=s_fixed32,json=sFixed32,proto3" json:"s_fixed32,omitempty"` |
| 132 | SFixed64 uint64 `protobuf:"fixed64,9,opt,name=s_fixed64,json=sFixed64,proto3" json:"s_fixed64,omitempty"` |
| 133 | SSfixed32 int32 `protobuf:"fixed32,10,opt,name=s_sfixed32,json=sSfixed32,proto3" json:"s_sfixed32,omitempty"` |
| 134 | SSfixed64 int64 `protobuf:"fixed64,11,opt,name=s_sfixed64,json=sSfixed64,proto3" json:"s_sfixed64,omitempty"` |
| 135 | SFloat float32 `protobuf:"fixed32,20,opt,name=s_float,json=sFloat,proto3" json:"s_float,omitempty"` |
| 136 | SDouble float64 `protobuf:"fixed64,21,opt,name=s_double,json=sDouble,proto3" json:"s_double,omitempty"` |
| 137 | SBytes []byte `protobuf:"bytes,14,opt,name=s_bytes,json=sBytes,proto3" json:"s_bytes,omitempty"` |
| 138 | SString string `protobuf:"bytes,13,opt,name=s_string,json=sString,proto3" json:"s_string,omitempty"` |
| 139 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 140 | XXX_unrecognized protoimpl.UnknownFields `json:"-"` |
| 141 | XXX_sizecache protoimpl.SizeCache `json:"-"` |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 142 | } |
| 143 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 144 | func (x *Scalars) Reset() { |
| 145 | *x = Scalars{} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 146 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 147 | |
| 148 | func (x *Scalars) String() string { |
| 149 | return protoimpl.X.MessageStringOf(x) |
| 150 | } |
| 151 | |
| 152 | func (*Scalars) ProtoMessage() {} |
| 153 | |
| 154 | func (x *Scalars) ProtoReflect() protoreflect.Message { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 155 | return file_pb3_test_proto_msgTypes[0].MessageOf(x) |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 156 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 157 | |
Damien Neil | 0d3e8cc | 2019-04-01 13:31:55 -0700 | [diff] [blame] | 158 | func (m *Scalars) XXX_Methods() *protoiface.Methods { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 159 | return file_pb3_test_proto_msgTypes[0].Methods() |
Damien Neil | 0d3e8cc | 2019-04-01 13:31:55 -0700 | [diff] [blame] | 160 | } |
| 161 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 162 | // Deprecated: Use Scalars.ProtoReflect.Type instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 163 | func (*Scalars) Descriptor() ([]byte, []int) { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 164 | return file_pb3_test_proto_rawDescGZIP(), []int{0} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 165 | } |
| 166 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 167 | func (x *Scalars) GetSBool() bool { |
| 168 | if x != nil { |
| 169 | return x.SBool |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 170 | } |
| 171 | return false |
| 172 | } |
| 173 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 174 | func (x *Scalars) GetSInt32() int32 { |
| 175 | if x != nil { |
| 176 | return x.SInt32 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 177 | } |
| 178 | return 0 |
| 179 | } |
| 180 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 181 | func (x *Scalars) GetSInt64() int64 { |
| 182 | if x != nil { |
| 183 | return x.SInt64 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 184 | } |
| 185 | return 0 |
| 186 | } |
| 187 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 188 | func (x *Scalars) GetSUint32() uint32 { |
| 189 | if x != nil { |
| 190 | return x.SUint32 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 191 | } |
| 192 | return 0 |
| 193 | } |
| 194 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 195 | func (x *Scalars) GetSUint64() uint64 { |
| 196 | if x != nil { |
| 197 | return x.SUint64 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 198 | } |
| 199 | return 0 |
| 200 | } |
| 201 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 202 | func (x *Scalars) GetSSint32() int32 { |
| 203 | if x != nil { |
| 204 | return x.SSint32 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 205 | } |
| 206 | return 0 |
| 207 | } |
| 208 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 209 | func (x *Scalars) GetSSint64() int64 { |
| 210 | if x != nil { |
| 211 | return x.SSint64 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 212 | } |
| 213 | return 0 |
| 214 | } |
| 215 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 216 | func (x *Scalars) GetSFixed32() uint32 { |
| 217 | if x != nil { |
| 218 | return x.SFixed32 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 219 | } |
| 220 | return 0 |
| 221 | } |
| 222 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 223 | func (x *Scalars) GetSFixed64() uint64 { |
| 224 | if x != nil { |
| 225 | return x.SFixed64 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 226 | } |
| 227 | return 0 |
| 228 | } |
| 229 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 230 | func (x *Scalars) GetSSfixed32() int32 { |
| 231 | if x != nil { |
| 232 | return x.SSfixed32 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 233 | } |
| 234 | return 0 |
| 235 | } |
| 236 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 237 | func (x *Scalars) GetSSfixed64() int64 { |
| 238 | if x != nil { |
| 239 | return x.SSfixed64 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 240 | } |
| 241 | return 0 |
| 242 | } |
| 243 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 244 | func (x *Scalars) GetSFloat() float32 { |
| 245 | if x != nil { |
| 246 | return x.SFloat |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 247 | } |
| 248 | return 0 |
| 249 | } |
| 250 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 251 | func (x *Scalars) GetSDouble() float64 { |
| 252 | if x != nil { |
| 253 | return x.SDouble |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 254 | } |
| 255 | return 0 |
| 256 | } |
| 257 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 258 | func (x *Scalars) GetSBytes() []byte { |
| 259 | if x != nil { |
| 260 | return x.SBytes |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 261 | } |
| 262 | return nil |
| 263 | } |
| 264 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 265 | func (x *Scalars) GetSString() string { |
| 266 | if x != nil { |
| 267 | return x.SString |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 268 | } |
| 269 | return "" |
| 270 | } |
| 271 | |
| 272 | // Message contains enum fields. |
| 273 | type Enums struct { |
Joe Tsai | 5e71dc9 | 2019-04-16 13:22:20 -0700 | [diff] [blame] | 274 | SEnum Enum `protobuf:"varint,1,opt,name=s_enum,json=sEnum,proto3,enum=pb3.Enum" json:"s_enum,omitempty"` |
| 275 | SNestedEnum Enums_NestedEnum `protobuf:"varint,3,opt,name=s_nested_enum,json=sNestedEnum,proto3,enum=pb3.Enums_NestedEnum" json:"s_nested_enum,omitempty"` |
| 276 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 277 | XXX_unrecognized protoimpl.UnknownFields `json:"-"` |
| 278 | XXX_sizecache protoimpl.SizeCache `json:"-"` |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 279 | } |
| 280 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 281 | func (x *Enums) Reset() { |
| 282 | *x = Enums{} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 283 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 284 | |
| 285 | func (x *Enums) String() string { |
| 286 | return protoimpl.X.MessageStringOf(x) |
| 287 | } |
| 288 | |
| 289 | func (*Enums) ProtoMessage() {} |
| 290 | |
| 291 | func (x *Enums) ProtoReflect() protoreflect.Message { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 292 | return file_pb3_test_proto_msgTypes[1].MessageOf(x) |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 293 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 294 | |
Damien Neil | 0d3e8cc | 2019-04-01 13:31:55 -0700 | [diff] [blame] | 295 | func (m *Enums) XXX_Methods() *protoiface.Methods { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 296 | return file_pb3_test_proto_msgTypes[1].Methods() |
Damien Neil | 0d3e8cc | 2019-04-01 13:31:55 -0700 | [diff] [blame] | 297 | } |
| 298 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 299 | // Deprecated: Use Enums.ProtoReflect.Type instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 300 | func (*Enums) Descriptor() ([]byte, []int) { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 301 | return file_pb3_test_proto_rawDescGZIP(), []int{1} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 302 | } |
| 303 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 304 | func (x *Enums) GetSEnum() Enum { |
| 305 | if x != nil { |
| 306 | return x.SEnum |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 307 | } |
| 308 | return Enum_ZERO |
| 309 | } |
| 310 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 311 | func (x *Enums) GetSNestedEnum() Enums_NestedEnum { |
| 312 | if x != nil { |
| 313 | return x.SNestedEnum |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 314 | } |
| 315 | return Enums_CERO |
| 316 | } |
| 317 | |
| 318 | // Message contains nested message field. |
| 319 | type Nests struct { |
Joe Tsai | 5e71dc9 | 2019-04-16 13:22:20 -0700 | [diff] [blame] | 320 | SNested *Nested `protobuf:"bytes,2,opt,name=s_nested,json=sNested,proto3" json:"s_nested,omitempty"` |
| 321 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 322 | XXX_unrecognized protoimpl.UnknownFields `json:"-"` |
| 323 | XXX_sizecache protoimpl.SizeCache `json:"-"` |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 324 | } |
| 325 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 326 | func (x *Nests) Reset() { |
| 327 | *x = Nests{} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 328 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 329 | |
| 330 | func (x *Nests) String() string { |
| 331 | return protoimpl.X.MessageStringOf(x) |
| 332 | } |
| 333 | |
| 334 | func (*Nests) ProtoMessage() {} |
| 335 | |
| 336 | func (x *Nests) ProtoReflect() protoreflect.Message { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 337 | return file_pb3_test_proto_msgTypes[2].MessageOf(x) |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 338 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 339 | |
Damien Neil | 0d3e8cc | 2019-04-01 13:31:55 -0700 | [diff] [blame] | 340 | func (m *Nests) XXX_Methods() *protoiface.Methods { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 341 | return file_pb3_test_proto_msgTypes[2].Methods() |
Damien Neil | 0d3e8cc | 2019-04-01 13:31:55 -0700 | [diff] [blame] | 342 | } |
| 343 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 344 | // Deprecated: Use Nests.ProtoReflect.Type instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 345 | func (*Nests) Descriptor() ([]byte, []int) { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 346 | return file_pb3_test_proto_rawDescGZIP(), []int{2} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 347 | } |
| 348 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 349 | func (x *Nests) GetSNested() *Nested { |
| 350 | if x != nil { |
| 351 | return x.SNested |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 352 | } |
| 353 | return nil |
| 354 | } |
| 355 | |
| 356 | // Message type used as submessage. |
| 357 | type Nested struct { |
Joe Tsai | 5e71dc9 | 2019-04-16 13:22:20 -0700 | [diff] [blame] | 358 | SString string `protobuf:"bytes,1,opt,name=s_string,json=sString,proto3" json:"s_string,omitempty"` |
| 359 | SNested *Nested `protobuf:"bytes,2,opt,name=s_nested,json=sNested,proto3" json:"s_nested,omitempty"` |
| 360 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 361 | XXX_unrecognized protoimpl.UnknownFields `json:"-"` |
| 362 | XXX_sizecache protoimpl.SizeCache `json:"-"` |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 363 | } |
| 364 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 365 | func (x *Nested) Reset() { |
| 366 | *x = Nested{} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 367 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 368 | |
| 369 | func (x *Nested) String() string { |
| 370 | return protoimpl.X.MessageStringOf(x) |
| 371 | } |
| 372 | |
| 373 | func (*Nested) ProtoMessage() {} |
| 374 | |
| 375 | func (x *Nested) ProtoReflect() protoreflect.Message { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 376 | return file_pb3_test_proto_msgTypes[3].MessageOf(x) |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 377 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 378 | |
Damien Neil | 0d3e8cc | 2019-04-01 13:31:55 -0700 | [diff] [blame] | 379 | func (m *Nested) XXX_Methods() *protoiface.Methods { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 380 | return file_pb3_test_proto_msgTypes[3].Methods() |
Damien Neil | 0d3e8cc | 2019-04-01 13:31:55 -0700 | [diff] [blame] | 381 | } |
| 382 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 383 | // Deprecated: Use Nested.ProtoReflect.Type instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 384 | func (*Nested) Descriptor() ([]byte, []int) { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 385 | return file_pb3_test_proto_rawDescGZIP(), []int{3} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 386 | } |
| 387 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 388 | func (x *Nested) GetSString() string { |
| 389 | if x != nil { |
| 390 | return x.SString |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 391 | } |
| 392 | return "" |
| 393 | } |
| 394 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 395 | func (x *Nested) GetSNested() *Nested { |
| 396 | if x != nil { |
| 397 | return x.SNested |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 398 | } |
| 399 | return nil |
| 400 | } |
| 401 | |
| 402 | // Message contains oneof field. |
| 403 | type Oneofs struct { |
| 404 | // Types that are valid to be assigned to Union: |
| 405 | // *Oneofs_OneofEnum |
| 406 | // *Oneofs_OneofString |
| 407 | // *Oneofs_OneofNested |
Joe Tsai | 5e71dc9 | 2019-04-16 13:22:20 -0700 | [diff] [blame] | 408 | Union isOneofs_Union `protobuf_oneof:"union"` |
| 409 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 410 | XXX_unrecognized protoimpl.UnknownFields `json:"-"` |
| 411 | XXX_sizecache protoimpl.SizeCache `json:"-"` |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 412 | } |
| 413 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 414 | func (x *Oneofs) Reset() { |
| 415 | *x = Oneofs{} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 416 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 417 | |
| 418 | func (x *Oneofs) String() string { |
| 419 | return protoimpl.X.MessageStringOf(x) |
| 420 | } |
| 421 | |
| 422 | func (*Oneofs) ProtoMessage() {} |
| 423 | |
| 424 | func (x *Oneofs) ProtoReflect() protoreflect.Message { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 425 | return file_pb3_test_proto_msgTypes[4].MessageOf(x) |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 426 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 427 | |
Damien Neil | 0d3e8cc | 2019-04-01 13:31:55 -0700 | [diff] [blame] | 428 | func (m *Oneofs) XXX_Methods() *protoiface.Methods { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 429 | return file_pb3_test_proto_msgTypes[4].Methods() |
Damien Neil | 0d3e8cc | 2019-04-01 13:31:55 -0700 | [diff] [blame] | 430 | } |
| 431 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 432 | // Deprecated: Use Oneofs.ProtoReflect.Type instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 433 | func (*Oneofs) Descriptor() ([]byte, []int) { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 434 | return file_pb3_test_proto_rawDescGZIP(), []int{4} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 435 | } |
| 436 | |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 437 | func (m *Oneofs) GetUnion() isOneofs_Union { |
| 438 | if m != nil { |
| 439 | return m.Union |
| 440 | } |
| 441 | return nil |
| 442 | } |
| 443 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 444 | func (x *Oneofs) GetOneofEnum() Enum { |
| 445 | if x, ok := x.GetUnion().(*Oneofs_OneofEnum); ok { |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 446 | return x.OneofEnum |
| 447 | } |
| 448 | return Enum_ZERO |
| 449 | } |
| 450 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 451 | func (x *Oneofs) GetOneofString() string { |
| 452 | if x, ok := x.GetUnion().(*Oneofs_OneofString); ok { |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 453 | return x.OneofString |
| 454 | } |
| 455 | return "" |
| 456 | } |
| 457 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 458 | func (x *Oneofs) GetOneofNested() *Nested { |
| 459 | if x, ok := x.GetUnion().(*Oneofs_OneofNested); ok { |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 460 | return x.OneofNested |
| 461 | } |
| 462 | return nil |
| 463 | } |
| 464 | |
| 465 | // XXX_OneofWrappers is for the internal use of the proto package. |
| 466 | func (*Oneofs) XXX_OneofWrappers() []interface{} { |
| 467 | return []interface{}{ |
| 468 | (*Oneofs_OneofEnum)(nil), |
| 469 | (*Oneofs_OneofString)(nil), |
| 470 | (*Oneofs_OneofNested)(nil), |
| 471 | } |
| 472 | } |
| 473 | |
Joe Tsai | 872b500 | 2019-04-08 14:03:15 -0700 | [diff] [blame] | 474 | type isOneofs_Union interface { |
| 475 | isOneofs_Union() |
| 476 | } |
| 477 | |
| 478 | type Oneofs_OneofEnum struct { |
| 479 | OneofEnum Enum `protobuf:"varint,1,opt,name=oneof_enum,json=oneofEnum,proto3,enum=pb3.Enum,oneof"` |
| 480 | } |
| 481 | |
| 482 | type Oneofs_OneofString struct { |
| 483 | OneofString string `protobuf:"bytes,2,opt,name=oneof_string,json=oneofString,proto3,oneof"` |
| 484 | } |
| 485 | |
| 486 | type Oneofs_OneofNested struct { |
| 487 | OneofNested *Nested `protobuf:"bytes,3,opt,name=oneof_nested,json=oneofNested,proto3,oneof"` |
| 488 | } |
| 489 | |
| 490 | func (*Oneofs_OneofEnum) isOneofs_Union() {} |
| 491 | |
| 492 | func (*Oneofs_OneofString) isOneofs_Union() {} |
| 493 | |
| 494 | func (*Oneofs_OneofNested) isOneofs_Union() {} |
| 495 | |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 496 | // Message contains map fields. |
| 497 | type Maps struct { |
Joe Tsai | 5e71dc9 | 2019-04-16 13:22:20 -0700 | [diff] [blame] | 498 | Int32ToStr map[int32]string `protobuf:"bytes,1,rep,name=int32_to_str,json=int32ToStr,proto3" json:"int32_to_str,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 499 | BoolToUint32 map[bool]uint32 `protobuf:"bytes,2,rep,name=bool_to_uint32,json=boolToUint32,proto3" json:"bool_to_uint32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` |
| 500 | Uint64ToEnum map[uint64]Enum `protobuf:"bytes,3,rep,name=uint64_to_enum,json=uint64ToEnum,proto3" json:"uint64_to_enum,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=pb3.Enum"` |
| 501 | StrToNested map[string]*Nested `protobuf:"bytes,4,rep,name=str_to_nested,json=strToNested,proto3" json:"str_to_nested,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 502 | StrToOneofs map[string]*Oneofs `protobuf:"bytes,5,rep,name=str_to_oneofs,json=strToOneofs,proto3" json:"str_to_oneofs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` |
| 503 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 504 | XXX_unrecognized protoimpl.UnknownFields `json:"-"` |
| 505 | XXX_sizecache protoimpl.SizeCache `json:"-"` |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 506 | } |
| 507 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 508 | func (x *Maps) Reset() { |
| 509 | *x = Maps{} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 510 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 511 | |
| 512 | func (x *Maps) String() string { |
| 513 | return protoimpl.X.MessageStringOf(x) |
| 514 | } |
| 515 | |
| 516 | func (*Maps) ProtoMessage() {} |
| 517 | |
| 518 | func (x *Maps) ProtoReflect() protoreflect.Message { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 519 | return file_pb3_test_proto_msgTypes[5].MessageOf(x) |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 520 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 521 | |
Damien Neil | 0d3e8cc | 2019-04-01 13:31:55 -0700 | [diff] [blame] | 522 | func (m *Maps) XXX_Methods() *protoiface.Methods { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 523 | return file_pb3_test_proto_msgTypes[5].Methods() |
Damien Neil | 0d3e8cc | 2019-04-01 13:31:55 -0700 | [diff] [blame] | 524 | } |
| 525 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 526 | // Deprecated: Use Maps.ProtoReflect.Type instead. |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 527 | func (*Maps) Descriptor() ([]byte, []int) { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 528 | return file_pb3_test_proto_rawDescGZIP(), []int{5} |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 529 | } |
| 530 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 531 | func (x *Maps) GetInt32ToStr() map[int32]string { |
| 532 | if x != nil { |
| 533 | return x.Int32ToStr |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 534 | } |
| 535 | return nil |
| 536 | } |
| 537 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 538 | func (x *Maps) GetBoolToUint32() map[bool]uint32 { |
| 539 | if x != nil { |
| 540 | return x.BoolToUint32 |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 541 | } |
| 542 | return nil |
| 543 | } |
| 544 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 545 | func (x *Maps) GetUint64ToEnum() map[uint64]Enum { |
| 546 | if x != nil { |
| 547 | return x.Uint64ToEnum |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 548 | } |
| 549 | return nil |
| 550 | } |
| 551 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 552 | func (x *Maps) GetStrToNested() map[string]*Nested { |
| 553 | if x != nil { |
| 554 | return x.StrToNested |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 555 | } |
| 556 | return nil |
| 557 | } |
| 558 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 559 | func (x *Maps) GetStrToOneofs() map[string]*Oneofs { |
| 560 | if x != nil { |
| 561 | return x.StrToOneofs |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 562 | } |
| 563 | return nil |
| 564 | } |
| 565 | |
Herbie Ong | 7b828bc | 2019-02-08 19:56:24 -0800 | [diff] [blame] | 566 | // Message for testing json_name option. |
| 567 | type JSONNames struct { |
Joe Tsai | 5e71dc9 | 2019-04-16 13:22:20 -0700 | [diff] [blame] | 568 | SString string `protobuf:"bytes,1,opt,name=s_string,json=foo_bar,proto3" json:"s_string,omitempty"` |
| 569 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 570 | XXX_unrecognized protoimpl.UnknownFields `json:"-"` |
| 571 | XXX_sizecache protoimpl.SizeCache `json:"-"` |
Herbie Ong | 7b828bc | 2019-02-08 19:56:24 -0800 | [diff] [blame] | 572 | } |
| 573 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 574 | func (x *JSONNames) Reset() { |
| 575 | *x = JSONNames{} |
Herbie Ong | 7b828bc | 2019-02-08 19:56:24 -0800 | [diff] [blame] | 576 | } |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 577 | |
| 578 | func (x *JSONNames) String() string { |
| 579 | return protoimpl.X.MessageStringOf(x) |
| 580 | } |
| 581 | |
| 582 | func (*JSONNames) ProtoMessage() {} |
| 583 | |
| 584 | func (x *JSONNames) ProtoReflect() protoreflect.Message { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 585 | return file_pb3_test_proto_msgTypes[6].MessageOf(x) |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 586 | } |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 587 | |
Damien Neil | 0d3e8cc | 2019-04-01 13:31:55 -0700 | [diff] [blame] | 588 | func (m *JSONNames) XXX_Methods() *protoiface.Methods { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 589 | return file_pb3_test_proto_msgTypes[6].Methods() |
Damien Neil | 0d3e8cc | 2019-04-01 13:31:55 -0700 | [diff] [blame] | 590 | } |
| 591 | |
Joe Tsai | 8e506a8 | 2019-03-16 00:05:34 -0700 | [diff] [blame] | 592 | // Deprecated: Use JSONNames.ProtoReflect.Type instead. |
Herbie Ong | 7b828bc | 2019-02-08 19:56:24 -0800 | [diff] [blame] | 593 | func (*JSONNames) Descriptor() ([]byte, []int) { |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 594 | return file_pb3_test_proto_rawDescGZIP(), []int{6} |
Herbie Ong | 7b828bc | 2019-02-08 19:56:24 -0800 | [diff] [blame] | 595 | } |
| 596 | |
Joe Tsai | 61968ce | 2019-04-01 12:59:24 -0700 | [diff] [blame] | 597 | func (x *JSONNames) GetSString() string { |
| 598 | if x != nil { |
| 599 | return x.SString |
Herbie Ong | 7b828bc | 2019-02-08 19:56:24 -0800 | [diff] [blame] | 600 | } |
| 601 | return "" |
| 602 | } |
| 603 | |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 604 | var File_pb3_test_proto protoreflect.FileDescriptor |
| 605 | |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 606 | var file_pb3_test_proto_rawDesc = []byte{ |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 607 | 0x0a, 0x0e, 0x70, 0x62, 0x33, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 608 | 0x12, 0x03, 0x70, 0x62, 0x33, 0x22, 0x9e, 0x03, 0x0a, 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, |
| 609 | 0x73, 0x12, 0x15, 0x0a, 0x06, 0x73, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 610 | 0x08, 0x52, 0x05, 0x73, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x69, 0x6e, |
| 611 | 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x49, 0x6e, 0x74, 0x33, |
| 612 | 0x32, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, |
| 613 | 0x28, 0x03, 0x52, 0x06, 0x73, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, |
| 614 | 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x55, |
| 615 | 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, |
| 616 | 0x34, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x73, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, |
| 617 | 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x06, 0x20, 0x01, |
| 618 | 0x28, 0x11, 0x52, 0x07, 0x73, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x19, 0x0a, 0x08, 0x73, |
| 619 | 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x73, |
| 620 | 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x5f, 0x66, 0x69, 0x78, 0x65, |
| 621 | 0x64, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28, 0x07, 0x52, 0x08, 0x73, 0x46, 0x69, 0x78, 0x65, |
| 622 | 0x64, 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, |
| 623 | 0x18, 0x09, 0x20, 0x01, 0x28, 0x06, 0x52, 0x08, 0x73, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, |
| 624 | 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a, |
| 625 | 0x20, 0x01, 0x28, 0x0f, 0x52, 0x09, 0x73, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, |
| 626 | 0x1d, 0x0a, 0x0a, 0x73, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x0b, 0x20, |
| 627 | 0x01, 0x28, 0x10, 0x52, 0x09, 0x73, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x17, |
| 628 | 0x0a, 0x07, 0x73, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52, |
| 629 | 0x06, 0x73, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x64, 0x6f, 0x75, |
| 630 | 0x62, 0x6c, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x73, 0x44, 0x6f, 0x75, 0x62, |
| 631 | 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, |
| 632 | 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x73, |
| 633 | 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, |
| 634 | 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x98, 0x01, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x73, |
| 635 | 0x12, 0x20, 0x0a, 0x06, 0x73, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, |
| 636 | 0x32, 0x09, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x05, 0x73, 0x45, 0x6e, |
| 637 | 0x75, 0x6d, 0x12, 0x39, 0x0a, 0x0d, 0x73, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, |
| 638 | 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x33, 0x2e, |
| 639 | 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, |
| 640 | 0x52, 0x0b, 0x73, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x22, 0x32, 0x0a, |
| 641 | 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x08, 0x0a, 0x04, 0x43, |
| 642 | 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07, |
| 643 | 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x49, 0x45, 0x5a, 0x10, |
| 644 | 0x0a, 0x22, 0x2f, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x08, 0x73, 0x5f, |
| 645 | 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, |
| 646 | 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x07, 0x73, 0x4e, 0x65, 0x73, 0x74, |
| 647 | 0x65, 0x64, 0x22, 0x4b, 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, |
| 648 | 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, |
| 649 | 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x26, 0x0a, 0x08, 0x73, 0x5f, 0x6e, 0x65, 0x73, |
| 650 | 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, |
| 651 | 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x07, 0x73, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, |
| 652 | 0x94, 0x01, 0x0a, 0x06, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x6e, |
| 653 | 0x65, 0x6f, 0x66, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, |
| 654 | 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x48, 0x00, 0x52, 0x09, 0x6f, 0x6e, 0x65, |
| 655 | 0x6f, 0x66, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x23, 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, |
| 656 | 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, |
| 657 | 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x30, 0x0a, 0x0c, 0x6f, |
| 658 | 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, |
| 659 | 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x48, 0x00, |
| 660 | 0x52, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x42, 0x07, 0x0a, |
| 661 | 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0xaf, 0x05, 0x0a, 0x04, 0x4d, 0x61, 0x70, 0x73, 0x12, |
| 662 | 0x3b, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x72, 0x18, |
| 663 | 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73, |
| 664 | 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53, 0x74, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, |
| 665 | 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53, 0x74, 0x72, 0x12, 0x41, 0x0a, 0x0e, |
| 666 | 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x74, 0x6f, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, |
| 667 | 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, |
| 668 | 0x42, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72, |
| 669 | 0x79, 0x52, 0x0c, 0x62, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, |
| 670 | 0x41, 0x0a, 0x0e, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x74, 0x6f, 0x5f, 0x65, 0x6e, 0x75, |
| 671 | 0x6d, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61, |
| 672 | 0x70, 0x73, 0x2e, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x54, 0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x45, |
| 673 | 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x54, 0x6f, 0x45, 0x6e, |
| 674 | 0x75, 0x6d, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6e, 0x65, 0x73, |
| 675 | 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x62, 0x33, 0x2e, |
| 676 | 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, |
| 677 | 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, |
| 678 | 0x65, 0x64, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6f, 0x6e, 0x65, |
| 679 | 0x6f, 0x66, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x62, 0x33, 0x2e, |
| 680 | 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, |
| 681 | 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4f, 0x6e, 0x65, 0x6f, |
| 682 | 0x66, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53, 0x74, 0x72, |
| 683 | 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, |
| 684 | 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, |
| 685 | 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, |
| 686 | 0x01, 0x1a, 0x3f, 0x0a, 0x11, 0x42, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55, 0x69, 0x6e, 0x74, 0x33, |
| 687 | 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, |
| 688 | 0x01, 0x28, 0x08, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, |
| 689 | 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, |
| 690 | 0x38, 0x01, 0x1a, 0x4a, 0x0a, 0x11, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x54, 0x6f, 0x45, 0x6e, |
| 691 | 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, |
| 692 | 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x05, 0x76, 0x61, 0x6c, |
| 693 | 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, |
| 694 | 0x6e, 0x75, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4b, |
| 695 | 0x0a, 0x10, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, |
| 696 | 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 697 | 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, |
| 698 | 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, |
| 699 | 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4b, 0x0a, 0x10, 0x53, |
| 700 | 0x74, 0x72, 0x54, 0x6f, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, |
| 701 | 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, |
| 702 | 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, |
| 703 | 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x52, 0x05, 0x76, |
| 704 | 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x26, 0x0a, 0x09, 0x4a, 0x53, 0x4f, 0x4e, |
| 705 | 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, |
| 706 | 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x6f, 0x6f, 0x5f, 0x62, 0x61, 0x72, |
| 707 | 0x2a, 0x2b, 0x0a, 0x04, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x08, 0x0a, 0x04, 0x5a, 0x45, 0x52, 0x4f, |
| 708 | 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, |
Damien Neil | e89e624 | 2019-05-13 23:55:40 -0700 | [diff] [blame] | 709 | 0x57, 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x45, 0x4e, 0x10, 0x0a, 0x42, 0x34, 0x5a, |
| 710 | 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, |
| 711 | 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6e, 0x63, 0x6f, |
| 712 | 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, |
| 713 | 0x70, 0x62, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 714 | } |
| 715 | |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 716 | var ( |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 717 | file_pb3_test_proto_rawDescOnce sync.Once |
| 718 | file_pb3_test_proto_rawDescData = file_pb3_test_proto_rawDesc |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 719 | ) |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 720 | |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 721 | func file_pb3_test_proto_rawDescGZIP() []byte { |
| 722 | file_pb3_test_proto_rawDescOnce.Do(func() { |
| 723 | file_pb3_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb3_test_proto_rawDescData) |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 724 | }) |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 725 | return file_pb3_test_proto_rawDescData |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 726 | } |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 727 | |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 728 | var file_pb3_test_proto_enumTypes = make([]protoreflect.EnumType, 2) |
| 729 | var file_pb3_test_proto_msgTypes = make([]protoimpl.MessageType, 12) |
| 730 | var file_pb3_test_proto_goTypes = []interface{}{ |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 731 | (Enum)(0), // 0: pb3.Enum |
| 732 | (Enums_NestedEnum)(0), // 1: pb3.Enums.NestedEnum |
| 733 | (*Scalars)(nil), // 2: pb3.Scalars |
| 734 | (*Enums)(nil), // 3: pb3.Enums |
| 735 | (*Nests)(nil), // 4: pb3.Nests |
| 736 | (*Nested)(nil), // 5: pb3.Nested |
| 737 | (*Oneofs)(nil), // 6: pb3.Oneofs |
| 738 | (*Maps)(nil), // 7: pb3.Maps |
Herbie Ong | 7b828bc | 2019-02-08 19:56:24 -0800 | [diff] [blame] | 739 | (*JSONNames)(nil), // 8: pb3.JSONNames |
| 740 | nil, // 9: pb3.Maps.Int32ToStrEntry |
| 741 | nil, // 10: pb3.Maps.BoolToUint32Entry |
| 742 | nil, // 11: pb3.Maps.Uint64ToEnumEntry |
| 743 | nil, // 12: pb3.Maps.StrToNestedEntry |
| 744 | nil, // 13: pb3.Maps.StrToOneofsEntry |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 745 | } |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 746 | var file_pb3_test_proto_depIdxs = []int32{ |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 747 | 0, // pb3.Enums.s_enum:type_name -> pb3.Enum |
| 748 | 1, // pb3.Enums.s_nested_enum:type_name -> pb3.Enums.NestedEnum |
| 749 | 5, // pb3.Nests.s_nested:type_name -> pb3.Nested |
| 750 | 5, // pb3.Nested.s_nested:type_name -> pb3.Nested |
| 751 | 0, // pb3.Oneofs.oneof_enum:type_name -> pb3.Enum |
| 752 | 5, // pb3.Oneofs.oneof_nested:type_name -> pb3.Nested |
Herbie Ong | 7b828bc | 2019-02-08 19:56:24 -0800 | [diff] [blame] | 753 | 9, // pb3.Maps.int32_to_str:type_name -> pb3.Maps.Int32ToStrEntry |
| 754 | 10, // pb3.Maps.bool_to_uint32:type_name -> pb3.Maps.BoolToUint32Entry |
| 755 | 11, // pb3.Maps.uint64_to_enum:type_name -> pb3.Maps.Uint64ToEnumEntry |
| 756 | 12, // pb3.Maps.str_to_nested:type_name -> pb3.Maps.StrToNestedEntry |
| 757 | 13, // pb3.Maps.str_to_oneofs:type_name -> pb3.Maps.StrToOneofsEntry |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 758 | 0, // pb3.Maps.Uint64ToEnumEntry.value:type_name -> pb3.Enum |
| 759 | 5, // pb3.Maps.StrToNestedEntry.value:type_name -> pb3.Nested |
| 760 | 6, // pb3.Maps.StrToOneofsEntry.value:type_name -> pb3.Oneofs |
| 761 | } |
| 762 | |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 763 | func init() { file_pb3_test_proto_init() } |
| 764 | func file_pb3_test_proto_init() { |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 765 | if File_pb3_test_proto != nil { |
| 766 | return |
| 767 | } |
Joe Tsai | 1905843 | 2019-02-27 21:46:29 -0800 | [diff] [blame] | 768 | File_pb3_test_proto = protoimpl.FileBuilder{ |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 769 | RawDescriptor: file_pb3_test_proto_rawDesc, |
| 770 | GoTypes: file_pb3_test_proto_goTypes, |
| 771 | DependencyIndexes: file_pb3_test_proto_depIdxs, |
| 772 | EnumOutputTypes: file_pb3_test_proto_enumTypes, |
| 773 | MessageOutputTypes: file_pb3_test_proto_msgTypes, |
Joe Tsai | 35ec98f | 2019-03-25 14:41:32 -0700 | [diff] [blame] | 774 | FilesRegistry: protoregistry.GlobalFiles, |
| 775 | TypesRegistry: protoregistry.GlobalTypes, |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 776 | }.Init() |
Joe Tsai | 7ca7098 | 2019-04-15 13:57:56 -0700 | [diff] [blame] | 777 | file_pb3_test_proto_rawDesc = nil |
| 778 | file_pb3_test_proto_goTypes = nil |
| 779 | file_pb3_test_proto_depIdxs = nil |
Herbie Ong | 8170d69 | 2019-02-13 14:13:21 -0800 | [diff] [blame] | 780 | } |