github.com/grpc-ecosystem/grpc-gateway/v2@v2.19.1/examples/internal/proto/examplepb/use_go_template.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.1 4 // protoc (unknown) 5 // source: examples/internal/proto/examplepb/use_go_template.proto 6 7 package examplepb 8 9 import ( 10 _ "google.golang.org/genproto/googleapis/api/annotations" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 type LoginRequest struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 // The entered username 30 Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` 31 // The entered password 32 Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` 33 } 34 35 func (x *LoginRequest) Reset() { 36 *x = LoginRequest{} 37 if protoimpl.UnsafeEnabled { 38 mi := &file_examples_internal_proto_examplepb_use_go_template_proto_msgTypes[0] 39 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 40 ms.StoreMessageInfo(mi) 41 } 42 } 43 44 func (x *LoginRequest) String() string { 45 return protoimpl.X.MessageStringOf(x) 46 } 47 48 func (*LoginRequest) ProtoMessage() {} 49 50 func (x *LoginRequest) ProtoReflect() protoreflect.Message { 51 mi := &file_examples_internal_proto_examplepb_use_go_template_proto_msgTypes[0] 52 if protoimpl.UnsafeEnabled && x != nil { 53 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 54 if ms.LoadMessageInfo() == nil { 55 ms.StoreMessageInfo(mi) 56 } 57 return ms 58 } 59 return mi.MessageOf(x) 60 } 61 62 // Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead. 63 func (*LoginRequest) Descriptor() ([]byte, []int) { 64 return file_examples_internal_proto_examplepb_use_go_template_proto_rawDescGZIP(), []int{0} 65 } 66 67 func (x *LoginRequest) GetUsername() string { 68 if x != nil { 69 return x.Username 70 } 71 return "" 72 } 73 74 func (x *LoginRequest) GetPassword() string { 75 if x != nil { 76 return x.Password 77 } 78 return "" 79 } 80 81 type LoginReply struct { 82 state protoimpl.MessageState 83 sizeCache protoimpl.SizeCache 84 unknownFields protoimpl.UnknownFields 85 86 Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` 87 // Whether you have access or not 88 Access bool `protobuf:"varint,2,opt,name=access,proto3" json:"access,omitempty"` 89 } 90 91 func (x *LoginReply) Reset() { 92 *x = LoginReply{} 93 if protoimpl.UnsafeEnabled { 94 mi := &file_examples_internal_proto_examplepb_use_go_template_proto_msgTypes[1] 95 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 96 ms.StoreMessageInfo(mi) 97 } 98 } 99 100 func (x *LoginReply) String() string { 101 return protoimpl.X.MessageStringOf(x) 102 } 103 104 func (*LoginReply) ProtoMessage() {} 105 106 func (x *LoginReply) ProtoReflect() protoreflect.Message { 107 mi := &file_examples_internal_proto_examplepb_use_go_template_proto_msgTypes[1] 108 if protoimpl.UnsafeEnabled && x != nil { 109 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 110 if ms.LoadMessageInfo() == nil { 111 ms.StoreMessageInfo(mi) 112 } 113 return ms 114 } 115 return mi.MessageOf(x) 116 } 117 118 // Deprecated: Use LoginReply.ProtoReflect.Descriptor instead. 119 func (*LoginReply) Descriptor() ([]byte, []int) { 120 return file_examples_internal_proto_examplepb_use_go_template_proto_rawDescGZIP(), []int{1} 121 } 122 123 func (x *LoginReply) GetMessage() string { 124 if x != nil { 125 return x.Message 126 } 127 return "" 128 } 129 130 func (x *LoginReply) GetAccess() bool { 131 if x != nil { 132 return x.Access 133 } 134 return false 135 } 136 137 type LogoutRequest struct { 138 state protoimpl.MessageState 139 sizeCache protoimpl.SizeCache 140 unknownFields protoimpl.UnknownFields 141 142 // The time the logout was registered 143 Timeoflogout string `protobuf:"bytes,1,opt,name=timeoflogout,proto3" json:"timeoflogout,omitempty"` 144 // This is the title 145 // 146 // This is the "Description" of field test 147 // you can use as many newlines as you want 148 // 149 // it will still format the same in the table 150 Test int32 `protobuf:"varint,2,opt,name=test,proto3" json:"test,omitempty"` 151 // This is an array 152 // 153 // It displays that using [] infront of the type 154 Stringarray []string `protobuf:"bytes,3,rep,name=stringarray,proto3" json:"stringarray,omitempty"` 155 } 156 157 func (x *LogoutRequest) Reset() { 158 *x = LogoutRequest{} 159 if protoimpl.UnsafeEnabled { 160 mi := &file_examples_internal_proto_examplepb_use_go_template_proto_msgTypes[2] 161 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 162 ms.StoreMessageInfo(mi) 163 } 164 } 165 166 func (x *LogoutRequest) String() string { 167 return protoimpl.X.MessageStringOf(x) 168 } 169 170 func (*LogoutRequest) ProtoMessage() {} 171 172 func (x *LogoutRequest) ProtoReflect() protoreflect.Message { 173 mi := &file_examples_internal_proto_examplepb_use_go_template_proto_msgTypes[2] 174 if protoimpl.UnsafeEnabled && x != nil { 175 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 176 if ms.LoadMessageInfo() == nil { 177 ms.StoreMessageInfo(mi) 178 } 179 return ms 180 } 181 return mi.MessageOf(x) 182 } 183 184 // Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead. 185 func (*LogoutRequest) Descriptor() ([]byte, []int) { 186 return file_examples_internal_proto_examplepb_use_go_template_proto_rawDescGZIP(), []int{2} 187 } 188 189 func (x *LogoutRequest) GetTimeoflogout() string { 190 if x != nil { 191 return x.Timeoflogout 192 } 193 return "" 194 } 195 196 func (x *LogoutRequest) GetTest() int32 { 197 if x != nil { 198 return x.Test 199 } 200 return 0 201 } 202 203 func (x *LogoutRequest) GetStringarray() []string { 204 if x != nil { 205 return x.Stringarray 206 } 207 return nil 208 } 209 210 type LogoutReply struct { 211 state protoimpl.MessageState 212 sizeCache protoimpl.SizeCache 213 unknownFields protoimpl.UnknownFields 214 215 // Message that tells you whether your 216 // logout was successful or not 217 Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` 218 } 219 220 func (x *LogoutReply) Reset() { 221 *x = LogoutReply{} 222 if protoimpl.UnsafeEnabled { 223 mi := &file_examples_internal_proto_examplepb_use_go_template_proto_msgTypes[3] 224 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 225 ms.StoreMessageInfo(mi) 226 } 227 } 228 229 func (x *LogoutReply) String() string { 230 return protoimpl.X.MessageStringOf(x) 231 } 232 233 func (*LogoutReply) ProtoMessage() {} 234 235 func (x *LogoutReply) ProtoReflect() protoreflect.Message { 236 mi := &file_examples_internal_proto_examplepb_use_go_template_proto_msgTypes[3] 237 if protoimpl.UnsafeEnabled && x != nil { 238 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 239 if ms.LoadMessageInfo() == nil { 240 ms.StoreMessageInfo(mi) 241 } 242 return ms 243 } 244 return mi.MessageOf(x) 245 } 246 247 // Deprecated: Use LogoutReply.ProtoReflect.Descriptor instead. 248 func (*LogoutReply) Descriptor() ([]byte, []int) { 249 return file_examples_internal_proto_examplepb_use_go_template_proto_rawDescGZIP(), []int{3} 250 } 251 252 func (x *LogoutReply) GetMessage() string { 253 if x != nil { 254 return x.Message 255 } 256 return "" 257 } 258 259 var File_examples_internal_proto_examplepb_use_go_template_proto protoreflect.FileDescriptor 260 261 var file_examples_internal_proto_examplepb_use_go_template_proto_rawDesc = []byte{ 262 0x0a, 0x37, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 263 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 264 0x65, 0x70, 0x62, 0x2f, 0x75, 0x73, 0x65, 0x5f, 0x67, 0x6f, 0x5f, 0x74, 0x65, 0x6d, 0x70, 0x6c, 265 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 266 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 267 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 268 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 269 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 270 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 271 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 272 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 273 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 274 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x22, 275 0x3e, 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x18, 0x0a, 276 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 277 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 278 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 279 0x69, 0x0a, 0x0d, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 280 0x12, 0x22, 0x0a, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x66, 0x6c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 281 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x66, 0x6c, 0x6f, 282 0x67, 0x6f, 0x75, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 283 0x28, 0x05, 0x52, 0x04, 0x74, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x74, 0x72, 0x69, 284 0x6e, 0x67, 0x61, 0x72, 0x72, 0x61, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x73, 285 0x74, 0x72, 0x69, 0x6e, 0x67, 0x61, 0x72, 0x72, 0x61, 0x79, 0x22, 0x27, 0x0a, 0x0b, 0x4c, 0x6f, 286 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 287 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 288 0x61, 0x67, 0x65, 0x32, 0xd6, 0x02, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x53, 0x65, 0x72, 289 0x76, 0x69, 0x63, 0x65, 0x12, 0x9f, 0x01, 0x0a, 0x05, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x3c, 290 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 291 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 292 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 293 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x67, 294 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 295 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 296 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 297 0x67, 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x1c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 298 0x3a, 0x01, 0x2a, 0x22, 0x11, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 299 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0xa3, 0x01, 0x0a, 0x06, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 300 0x74, 0x12, 0x3d, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 301 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 302 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 303 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 304 0x1a, 0x3b, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 305 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 306 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 307 0x62, 0x2e, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x22, 0x1d, 0x82, 308 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x3a, 0x01, 0x2a, 0x22, 0x12, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 309 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x42, 0x4d, 0x5a, 0x4b, 310 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 311 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 312 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 313 0x65, 0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 314 0x6f, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 315 0x74, 0x6f, 0x33, 316 } 317 318 var ( 319 file_examples_internal_proto_examplepb_use_go_template_proto_rawDescOnce sync.Once 320 file_examples_internal_proto_examplepb_use_go_template_proto_rawDescData = file_examples_internal_proto_examplepb_use_go_template_proto_rawDesc 321 ) 322 323 func file_examples_internal_proto_examplepb_use_go_template_proto_rawDescGZIP() []byte { 324 file_examples_internal_proto_examplepb_use_go_template_proto_rawDescOnce.Do(func() { 325 file_examples_internal_proto_examplepb_use_go_template_proto_rawDescData = protoimpl.X.CompressGZIP(file_examples_internal_proto_examplepb_use_go_template_proto_rawDescData) 326 }) 327 return file_examples_internal_proto_examplepb_use_go_template_proto_rawDescData 328 } 329 330 var file_examples_internal_proto_examplepb_use_go_template_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 331 var file_examples_internal_proto_examplepb_use_go_template_proto_goTypes = []interface{}{ 332 (*LoginRequest)(nil), // 0: grpc.gateway.examples.internal.proto.examplepb.LoginRequest 333 (*LoginReply)(nil), // 1: grpc.gateway.examples.internal.proto.examplepb.LoginReply 334 (*LogoutRequest)(nil), // 2: grpc.gateway.examples.internal.proto.examplepb.LogoutRequest 335 (*LogoutReply)(nil), // 3: grpc.gateway.examples.internal.proto.examplepb.LogoutReply 336 } 337 var file_examples_internal_proto_examplepb_use_go_template_proto_depIdxs = []int32{ 338 0, // 0: grpc.gateway.examples.internal.proto.examplepb.LoginService.Login:input_type -> grpc.gateway.examples.internal.proto.examplepb.LoginRequest 339 2, // 1: grpc.gateway.examples.internal.proto.examplepb.LoginService.Logout:input_type -> grpc.gateway.examples.internal.proto.examplepb.LogoutRequest 340 1, // 2: grpc.gateway.examples.internal.proto.examplepb.LoginService.Login:output_type -> grpc.gateway.examples.internal.proto.examplepb.LoginReply 341 3, // 3: grpc.gateway.examples.internal.proto.examplepb.LoginService.Logout:output_type -> grpc.gateway.examples.internal.proto.examplepb.LogoutReply 342 2, // [2:4] is the sub-list for method output_type 343 0, // [0:2] is the sub-list for method input_type 344 0, // [0:0] is the sub-list for extension type_name 345 0, // [0:0] is the sub-list for extension extendee 346 0, // [0:0] is the sub-list for field type_name 347 } 348 349 func init() { file_examples_internal_proto_examplepb_use_go_template_proto_init() } 350 func file_examples_internal_proto_examplepb_use_go_template_proto_init() { 351 if File_examples_internal_proto_examplepb_use_go_template_proto != nil { 352 return 353 } 354 if !protoimpl.UnsafeEnabled { 355 file_examples_internal_proto_examplepb_use_go_template_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 356 switch v := v.(*LoginRequest); i { 357 case 0: 358 return &v.state 359 case 1: 360 return &v.sizeCache 361 case 2: 362 return &v.unknownFields 363 default: 364 return nil 365 } 366 } 367 file_examples_internal_proto_examplepb_use_go_template_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 368 switch v := v.(*LoginReply); i { 369 case 0: 370 return &v.state 371 case 1: 372 return &v.sizeCache 373 case 2: 374 return &v.unknownFields 375 default: 376 return nil 377 } 378 } 379 file_examples_internal_proto_examplepb_use_go_template_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 380 switch v := v.(*LogoutRequest); i { 381 case 0: 382 return &v.state 383 case 1: 384 return &v.sizeCache 385 case 2: 386 return &v.unknownFields 387 default: 388 return nil 389 } 390 } 391 file_examples_internal_proto_examplepb_use_go_template_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 392 switch v := v.(*LogoutReply); i { 393 case 0: 394 return &v.state 395 case 1: 396 return &v.sizeCache 397 case 2: 398 return &v.unknownFields 399 default: 400 return nil 401 } 402 } 403 } 404 type x struct{} 405 out := protoimpl.TypeBuilder{ 406 File: protoimpl.DescBuilder{ 407 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 408 RawDescriptor: file_examples_internal_proto_examplepb_use_go_template_proto_rawDesc, 409 NumEnums: 0, 410 NumMessages: 4, 411 NumExtensions: 0, 412 NumServices: 1, 413 }, 414 GoTypes: file_examples_internal_proto_examplepb_use_go_template_proto_goTypes, 415 DependencyIndexes: file_examples_internal_proto_examplepb_use_go_template_proto_depIdxs, 416 MessageInfos: file_examples_internal_proto_examplepb_use_go_template_proto_msgTypes, 417 }.Build() 418 File_examples_internal_proto_examplepb_use_go_template_proto = out.File 419 file_examples_internal_proto_examplepb_use_go_template_proto_rawDesc = nil 420 file_examples_internal_proto_examplepb_use_go_template_proto_goTypes = nil 421 file_examples_internal_proto_examplepb_use_go_template_proto_depIdxs = nil 422 }