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