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