github.com/grpc-ecosystem/grpc-gateway/v2@v2.19.1/examples/internal/proto/examplepb/response_body_service.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/response_body_service.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 RepeatedResponseBodyOut_Response_ResponseType int32 25 26 const ( 27 // UNKNOWN 28 RepeatedResponseBodyOut_Response_UNKNOWN RepeatedResponseBodyOut_Response_ResponseType = 0 29 // A is 1 30 RepeatedResponseBodyOut_Response_A RepeatedResponseBodyOut_Response_ResponseType = 1 31 // B is 2 32 RepeatedResponseBodyOut_Response_B RepeatedResponseBodyOut_Response_ResponseType = 2 33 ) 34 35 // Enum value maps for RepeatedResponseBodyOut_Response_ResponseType. 36 var ( 37 RepeatedResponseBodyOut_Response_ResponseType_name = map[int32]string{ 38 0: "UNKNOWN", 39 1: "A", 40 2: "B", 41 } 42 RepeatedResponseBodyOut_Response_ResponseType_value = map[string]int32{ 43 "UNKNOWN": 0, 44 "A": 1, 45 "B": 2, 46 } 47 ) 48 49 func (x RepeatedResponseBodyOut_Response_ResponseType) Enum() *RepeatedResponseBodyOut_Response_ResponseType { 50 p := new(RepeatedResponseBodyOut_Response_ResponseType) 51 *p = x 52 return p 53 } 54 55 func (x RepeatedResponseBodyOut_Response_ResponseType) String() string { 56 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 57 } 58 59 func (RepeatedResponseBodyOut_Response_ResponseType) Descriptor() protoreflect.EnumDescriptor { 60 return file_examples_internal_proto_examplepb_response_body_service_proto_enumTypes[0].Descriptor() 61 } 62 63 func (RepeatedResponseBodyOut_Response_ResponseType) Type() protoreflect.EnumType { 64 return &file_examples_internal_proto_examplepb_response_body_service_proto_enumTypes[0] 65 } 66 67 func (x RepeatedResponseBodyOut_Response_ResponseType) Number() protoreflect.EnumNumber { 68 return protoreflect.EnumNumber(x) 69 } 70 71 // Deprecated: Use RepeatedResponseBodyOut_Response_ResponseType.Descriptor instead. 72 func (RepeatedResponseBodyOut_Response_ResponseType) EnumDescriptor() ([]byte, []int) { 73 return file_examples_internal_proto_examplepb_response_body_service_proto_rawDescGZIP(), []int{2, 0, 0} 74 } 75 76 type ResponseBodyIn struct { 77 state protoimpl.MessageState 78 sizeCache protoimpl.SizeCache 79 unknownFields protoimpl.UnknownFields 80 81 Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` 82 } 83 84 func (x *ResponseBodyIn) Reset() { 85 *x = ResponseBodyIn{} 86 if protoimpl.UnsafeEnabled { 87 mi := &file_examples_internal_proto_examplepb_response_body_service_proto_msgTypes[0] 88 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 89 ms.StoreMessageInfo(mi) 90 } 91 } 92 93 func (x *ResponseBodyIn) String() string { 94 return protoimpl.X.MessageStringOf(x) 95 } 96 97 func (*ResponseBodyIn) ProtoMessage() {} 98 99 func (x *ResponseBodyIn) ProtoReflect() protoreflect.Message { 100 mi := &file_examples_internal_proto_examplepb_response_body_service_proto_msgTypes[0] 101 if protoimpl.UnsafeEnabled && x != nil { 102 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 103 if ms.LoadMessageInfo() == nil { 104 ms.StoreMessageInfo(mi) 105 } 106 return ms 107 } 108 return mi.MessageOf(x) 109 } 110 111 // Deprecated: Use ResponseBodyIn.ProtoReflect.Descriptor instead. 112 func (*ResponseBodyIn) Descriptor() ([]byte, []int) { 113 return file_examples_internal_proto_examplepb_response_body_service_proto_rawDescGZIP(), []int{0} 114 } 115 116 func (x *ResponseBodyIn) GetData() string { 117 if x != nil { 118 return x.Data 119 } 120 return "" 121 } 122 123 type ResponseBodyOut struct { 124 state protoimpl.MessageState 125 sizeCache protoimpl.SizeCache 126 unknownFields protoimpl.UnknownFields 127 128 Response *ResponseBodyOut_Response `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"` 129 } 130 131 func (x *ResponseBodyOut) Reset() { 132 *x = ResponseBodyOut{} 133 if protoimpl.UnsafeEnabled { 134 mi := &file_examples_internal_proto_examplepb_response_body_service_proto_msgTypes[1] 135 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 136 ms.StoreMessageInfo(mi) 137 } 138 } 139 140 func (x *ResponseBodyOut) String() string { 141 return protoimpl.X.MessageStringOf(x) 142 } 143 144 func (*ResponseBodyOut) ProtoMessage() {} 145 146 func (x *ResponseBodyOut) ProtoReflect() protoreflect.Message { 147 mi := &file_examples_internal_proto_examplepb_response_body_service_proto_msgTypes[1] 148 if protoimpl.UnsafeEnabled && x != nil { 149 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 150 if ms.LoadMessageInfo() == nil { 151 ms.StoreMessageInfo(mi) 152 } 153 return ms 154 } 155 return mi.MessageOf(x) 156 } 157 158 // Deprecated: Use ResponseBodyOut.ProtoReflect.Descriptor instead. 159 func (*ResponseBodyOut) Descriptor() ([]byte, []int) { 160 return file_examples_internal_proto_examplepb_response_body_service_proto_rawDescGZIP(), []int{1} 161 } 162 163 func (x *ResponseBodyOut) GetResponse() *ResponseBodyOut_Response { 164 if x != nil { 165 return x.Response 166 } 167 return nil 168 } 169 170 type RepeatedResponseBodyOut struct { 171 state protoimpl.MessageState 172 sizeCache protoimpl.SizeCache 173 unknownFields protoimpl.UnknownFields 174 175 Response []*RepeatedResponseBodyOut_Response `protobuf:"bytes,2,rep,name=response,proto3" json:"response,omitempty"` 176 } 177 178 func (x *RepeatedResponseBodyOut) Reset() { 179 *x = RepeatedResponseBodyOut{} 180 if protoimpl.UnsafeEnabled { 181 mi := &file_examples_internal_proto_examplepb_response_body_service_proto_msgTypes[2] 182 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 183 ms.StoreMessageInfo(mi) 184 } 185 } 186 187 func (x *RepeatedResponseBodyOut) String() string { 188 return protoimpl.X.MessageStringOf(x) 189 } 190 191 func (*RepeatedResponseBodyOut) ProtoMessage() {} 192 193 func (x *RepeatedResponseBodyOut) ProtoReflect() protoreflect.Message { 194 mi := &file_examples_internal_proto_examplepb_response_body_service_proto_msgTypes[2] 195 if protoimpl.UnsafeEnabled && x != nil { 196 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 197 if ms.LoadMessageInfo() == nil { 198 ms.StoreMessageInfo(mi) 199 } 200 return ms 201 } 202 return mi.MessageOf(x) 203 } 204 205 // Deprecated: Use RepeatedResponseBodyOut.ProtoReflect.Descriptor instead. 206 func (*RepeatedResponseBodyOut) Descriptor() ([]byte, []int) { 207 return file_examples_internal_proto_examplepb_response_body_service_proto_rawDescGZIP(), []int{2} 208 } 209 210 func (x *RepeatedResponseBodyOut) GetResponse() []*RepeatedResponseBodyOut_Response { 211 if x != nil { 212 return x.Response 213 } 214 return nil 215 } 216 217 type RepeatedResponseStrings struct { 218 state protoimpl.MessageState 219 sizeCache protoimpl.SizeCache 220 unknownFields protoimpl.UnknownFields 221 222 Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` 223 } 224 225 func (x *RepeatedResponseStrings) Reset() { 226 *x = RepeatedResponseStrings{} 227 if protoimpl.UnsafeEnabled { 228 mi := &file_examples_internal_proto_examplepb_response_body_service_proto_msgTypes[3] 229 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 230 ms.StoreMessageInfo(mi) 231 } 232 } 233 234 func (x *RepeatedResponseStrings) String() string { 235 return protoimpl.X.MessageStringOf(x) 236 } 237 238 func (*RepeatedResponseStrings) ProtoMessage() {} 239 240 func (x *RepeatedResponseStrings) ProtoReflect() protoreflect.Message { 241 mi := &file_examples_internal_proto_examplepb_response_body_service_proto_msgTypes[3] 242 if protoimpl.UnsafeEnabled && x != nil { 243 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 244 if ms.LoadMessageInfo() == nil { 245 ms.StoreMessageInfo(mi) 246 } 247 return ms 248 } 249 return mi.MessageOf(x) 250 } 251 252 // Deprecated: Use RepeatedResponseStrings.ProtoReflect.Descriptor instead. 253 func (*RepeatedResponseStrings) Descriptor() ([]byte, []int) { 254 return file_examples_internal_proto_examplepb_response_body_service_proto_rawDescGZIP(), []int{3} 255 } 256 257 func (x *RepeatedResponseStrings) GetValues() []string { 258 if x != nil { 259 return x.Values 260 } 261 return nil 262 } 263 264 type ResponseBodyOut_Response struct { 265 state protoimpl.MessageState 266 sizeCache protoimpl.SizeCache 267 unknownFields protoimpl.UnknownFields 268 269 Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` 270 } 271 272 func (x *ResponseBodyOut_Response) Reset() { 273 *x = ResponseBodyOut_Response{} 274 if protoimpl.UnsafeEnabled { 275 mi := &file_examples_internal_proto_examplepb_response_body_service_proto_msgTypes[4] 276 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 277 ms.StoreMessageInfo(mi) 278 } 279 } 280 281 func (x *ResponseBodyOut_Response) String() string { 282 return protoimpl.X.MessageStringOf(x) 283 } 284 285 func (*ResponseBodyOut_Response) ProtoMessage() {} 286 287 func (x *ResponseBodyOut_Response) ProtoReflect() protoreflect.Message { 288 mi := &file_examples_internal_proto_examplepb_response_body_service_proto_msgTypes[4] 289 if protoimpl.UnsafeEnabled && x != nil { 290 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 291 if ms.LoadMessageInfo() == nil { 292 ms.StoreMessageInfo(mi) 293 } 294 return ms 295 } 296 return mi.MessageOf(x) 297 } 298 299 // Deprecated: Use ResponseBodyOut_Response.ProtoReflect.Descriptor instead. 300 func (*ResponseBodyOut_Response) Descriptor() ([]byte, []int) { 301 return file_examples_internal_proto_examplepb_response_body_service_proto_rawDescGZIP(), []int{1, 0} 302 } 303 304 func (x *ResponseBodyOut_Response) GetData() string { 305 if x != nil { 306 return x.Data 307 } 308 return "" 309 } 310 311 type RepeatedResponseBodyOut_Response struct { 312 state protoimpl.MessageState 313 sizeCache protoimpl.SizeCache 314 unknownFields protoimpl.UnknownFields 315 316 Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` 317 Type RepeatedResponseBodyOut_Response_ResponseType `protobuf:"varint,3,opt,name=type,proto3,enum=grpc.gateway.examples.internal.proto.examplepb.RepeatedResponseBodyOut_Response_ResponseType" json:"type,omitempty"` 318 } 319 320 func (x *RepeatedResponseBodyOut_Response) Reset() { 321 *x = RepeatedResponseBodyOut_Response{} 322 if protoimpl.UnsafeEnabled { 323 mi := &file_examples_internal_proto_examplepb_response_body_service_proto_msgTypes[5] 324 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 325 ms.StoreMessageInfo(mi) 326 } 327 } 328 329 func (x *RepeatedResponseBodyOut_Response) String() string { 330 return protoimpl.X.MessageStringOf(x) 331 } 332 333 func (*RepeatedResponseBodyOut_Response) ProtoMessage() {} 334 335 func (x *RepeatedResponseBodyOut_Response) ProtoReflect() protoreflect.Message { 336 mi := &file_examples_internal_proto_examplepb_response_body_service_proto_msgTypes[5] 337 if protoimpl.UnsafeEnabled && x != nil { 338 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 339 if ms.LoadMessageInfo() == nil { 340 ms.StoreMessageInfo(mi) 341 } 342 return ms 343 } 344 return mi.MessageOf(x) 345 } 346 347 // Deprecated: Use RepeatedResponseBodyOut_Response.ProtoReflect.Descriptor instead. 348 func (*RepeatedResponseBodyOut_Response) Descriptor() ([]byte, []int) { 349 return file_examples_internal_proto_examplepb_response_body_service_proto_rawDescGZIP(), []int{2, 0} 350 } 351 352 func (x *RepeatedResponseBodyOut_Response) GetData() string { 353 if x != nil { 354 return x.Data 355 } 356 return "" 357 } 358 359 func (x *RepeatedResponseBodyOut_Response) GetType() RepeatedResponseBodyOut_Response_ResponseType { 360 if x != nil { 361 return x.Type 362 } 363 return RepeatedResponseBodyOut_Response_UNKNOWN 364 } 365 366 var File_examples_internal_proto_examplepb_response_body_service_proto protoreflect.FileDescriptor 367 368 var file_examples_internal_proto_examplepb_response_body_service_proto_rawDesc = []byte{ 369 0x0a, 0x3d, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 370 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 371 0x65, 0x70, 0x62, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x62, 0x6f, 0x64, 372 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 373 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 374 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 375 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x1a, 376 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 377 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x24, 0x0a, 378 0x0e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x49, 0x6e, 0x12, 379 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 380 0x61, 0x74, 0x61, 0x22, 0x97, 0x01, 0x0a, 0x0f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 381 0x42, 0x6f, 0x64, 0x79, 0x4f, 0x75, 0x74, 0x12, 0x64, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 382 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x67, 0x72, 0x70, 0x63, 383 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 384 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 385 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 386 0x6e, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x4f, 0x75, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 387 0x6e, 0x73, 0x65, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x1e, 0x0a, 388 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 389 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xc6, 0x02, 390 0x0a, 0x17, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 391 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x4f, 0x75, 0x74, 0x12, 0x6c, 0x0a, 0x08, 0x72, 0x65, 0x73, 392 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x50, 0x2e, 0x67, 0x72, 393 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 394 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 395 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x70, 396 0x65, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x6f, 0x64, 397 0x79, 0x4f, 0x75, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x08, 0x72, 398 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0xbc, 0x01, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 399 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 400 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x71, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 401 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x5d, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 402 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 403 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 404 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 405 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x4f, 0x75, 0x74, 0x2e, 406 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 407 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x29, 0x0a, 0x0c, 0x52, 408 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 409 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x05, 0x0a, 0x01, 0x41, 0x10, 0x01, 0x12, 410 0x05, 0x0a, 0x01, 0x42, 0x10, 0x02, 0x22, 0x31, 0x0a, 0x17, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 411 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 412 0x73, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 413 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x32, 0xb2, 0x06, 0x0a, 0x13, 0x52, 0x65, 414 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 415 0x65, 0x12, 0xba, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 416 0x65, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x3e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 417 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 418 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 419 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 420 0x6f, 0x64, 0x79, 0x49, 0x6e, 0x1a, 0x3f, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 421 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 422 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 423 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 424 0x6f, 0x64, 0x79, 0x4f, 0x75, 0x74, 0x22, 0x26, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x62, 0x08, 425 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 426 0x6e, 0x73, 0x65, 0x62, 0x6f, 0x64, 0x79, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x7d, 0x12, 0xc7, 427 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 428 0x6f, 0x64, 0x69, 0x65, 0x73, 0x12, 0x3e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 429 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 430 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 431 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 432 0x6f, 0x64, 0x79, 0x49, 0x6e, 0x1a, 0x47, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 433 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 434 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 435 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x52, 436 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x4f, 0x75, 0x74, 0x22, 0x28, 437 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x62, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 438 0x12, 0x16, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x62, 0x6f, 0x64, 0x69, 0x65, 439 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x7d, 0x12, 0xc7, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 440 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x73, 441 0x12, 0x3e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 442 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 443 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 444 0x62, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x49, 0x6e, 445 0x1a, 0x47, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 446 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 447 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 448 0x62, 0x2e, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 449 0x73, 0x65, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x27, 0x82, 0xd3, 0xe4, 0x93, 0x02, 450 0x21, 0x62, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x17, 0x2f, 0x72, 0x65, 0x73, 0x70, 451 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 452 0x61, 0x7d, 0x12, 0xc9, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 453 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x3e, 0x2e, 0x67, 454 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 455 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 456 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x52, 0x65, 457 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x49, 0x6e, 0x1a, 0x3f, 0x2e, 0x67, 458 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 459 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 460 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x52, 0x65, 461 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x4f, 0x75, 0x74, 0x22, 0x2d, 0x82, 462 0xd3, 0xe4, 0x93, 0x02, 0x27, 0x62, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 463 0x1b, 0x2f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x62, 0x6f, 0x64, 0x79, 0x2f, 0x73, 464 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x7d, 0x30, 0x01, 0x42, 0x4d, 465 0x5a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x70, 466 0x63, 0x2d, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x67, 0x72, 0x70, 0x63, 467 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x78, 0x61, 0x6d, 468 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 469 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x62, 0x06, 0x70, 470 0x72, 0x6f, 0x74, 0x6f, 0x33, 471 } 472 473 var ( 474 file_examples_internal_proto_examplepb_response_body_service_proto_rawDescOnce sync.Once 475 file_examples_internal_proto_examplepb_response_body_service_proto_rawDescData = file_examples_internal_proto_examplepb_response_body_service_proto_rawDesc 476 ) 477 478 func file_examples_internal_proto_examplepb_response_body_service_proto_rawDescGZIP() []byte { 479 file_examples_internal_proto_examplepb_response_body_service_proto_rawDescOnce.Do(func() { 480 file_examples_internal_proto_examplepb_response_body_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_examples_internal_proto_examplepb_response_body_service_proto_rawDescData) 481 }) 482 return file_examples_internal_proto_examplepb_response_body_service_proto_rawDescData 483 } 484 485 var file_examples_internal_proto_examplepb_response_body_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 486 var file_examples_internal_proto_examplepb_response_body_service_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 487 var file_examples_internal_proto_examplepb_response_body_service_proto_goTypes = []interface{}{ 488 (RepeatedResponseBodyOut_Response_ResponseType)(0), // 0: grpc.gateway.examples.internal.proto.examplepb.RepeatedResponseBodyOut.Response.ResponseType 489 (*ResponseBodyIn)(nil), // 1: grpc.gateway.examples.internal.proto.examplepb.ResponseBodyIn 490 (*ResponseBodyOut)(nil), // 2: grpc.gateway.examples.internal.proto.examplepb.ResponseBodyOut 491 (*RepeatedResponseBodyOut)(nil), // 3: grpc.gateway.examples.internal.proto.examplepb.RepeatedResponseBodyOut 492 (*RepeatedResponseStrings)(nil), // 4: grpc.gateway.examples.internal.proto.examplepb.RepeatedResponseStrings 493 (*ResponseBodyOut_Response)(nil), // 5: grpc.gateway.examples.internal.proto.examplepb.ResponseBodyOut.Response 494 (*RepeatedResponseBodyOut_Response)(nil), // 6: grpc.gateway.examples.internal.proto.examplepb.RepeatedResponseBodyOut.Response 495 } 496 var file_examples_internal_proto_examplepb_response_body_service_proto_depIdxs = []int32{ 497 5, // 0: grpc.gateway.examples.internal.proto.examplepb.ResponseBodyOut.response:type_name -> grpc.gateway.examples.internal.proto.examplepb.ResponseBodyOut.Response 498 6, // 1: grpc.gateway.examples.internal.proto.examplepb.RepeatedResponseBodyOut.response:type_name -> grpc.gateway.examples.internal.proto.examplepb.RepeatedResponseBodyOut.Response 499 0, // 2: grpc.gateway.examples.internal.proto.examplepb.RepeatedResponseBodyOut.Response.type:type_name -> grpc.gateway.examples.internal.proto.examplepb.RepeatedResponseBodyOut.Response.ResponseType 500 1, // 3: grpc.gateway.examples.internal.proto.examplepb.ResponseBodyService.GetResponseBody:input_type -> grpc.gateway.examples.internal.proto.examplepb.ResponseBodyIn 501 1, // 4: grpc.gateway.examples.internal.proto.examplepb.ResponseBodyService.ListResponseBodies:input_type -> grpc.gateway.examples.internal.proto.examplepb.ResponseBodyIn 502 1, // 5: grpc.gateway.examples.internal.proto.examplepb.ResponseBodyService.ListResponseStrings:input_type -> grpc.gateway.examples.internal.proto.examplepb.ResponseBodyIn 503 1, // 6: grpc.gateway.examples.internal.proto.examplepb.ResponseBodyService.GetResponseBodyStream:input_type -> grpc.gateway.examples.internal.proto.examplepb.ResponseBodyIn 504 2, // 7: grpc.gateway.examples.internal.proto.examplepb.ResponseBodyService.GetResponseBody:output_type -> grpc.gateway.examples.internal.proto.examplepb.ResponseBodyOut 505 3, // 8: grpc.gateway.examples.internal.proto.examplepb.ResponseBodyService.ListResponseBodies:output_type -> grpc.gateway.examples.internal.proto.examplepb.RepeatedResponseBodyOut 506 4, // 9: grpc.gateway.examples.internal.proto.examplepb.ResponseBodyService.ListResponseStrings:output_type -> grpc.gateway.examples.internal.proto.examplepb.RepeatedResponseStrings 507 2, // 10: grpc.gateway.examples.internal.proto.examplepb.ResponseBodyService.GetResponseBodyStream:output_type -> grpc.gateway.examples.internal.proto.examplepb.ResponseBodyOut 508 7, // [7:11] is the sub-list for method output_type 509 3, // [3:7] is the sub-list for method input_type 510 3, // [3:3] is the sub-list for extension type_name 511 3, // [3:3] is the sub-list for extension extendee 512 0, // [0:3] is the sub-list for field type_name 513 } 514 515 func init() { file_examples_internal_proto_examplepb_response_body_service_proto_init() } 516 func file_examples_internal_proto_examplepb_response_body_service_proto_init() { 517 if File_examples_internal_proto_examplepb_response_body_service_proto != nil { 518 return 519 } 520 if !protoimpl.UnsafeEnabled { 521 file_examples_internal_proto_examplepb_response_body_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 522 switch v := v.(*ResponseBodyIn); i { 523 case 0: 524 return &v.state 525 case 1: 526 return &v.sizeCache 527 case 2: 528 return &v.unknownFields 529 default: 530 return nil 531 } 532 } 533 file_examples_internal_proto_examplepb_response_body_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 534 switch v := v.(*ResponseBodyOut); i { 535 case 0: 536 return &v.state 537 case 1: 538 return &v.sizeCache 539 case 2: 540 return &v.unknownFields 541 default: 542 return nil 543 } 544 } 545 file_examples_internal_proto_examplepb_response_body_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 546 switch v := v.(*RepeatedResponseBodyOut); i { 547 case 0: 548 return &v.state 549 case 1: 550 return &v.sizeCache 551 case 2: 552 return &v.unknownFields 553 default: 554 return nil 555 } 556 } 557 file_examples_internal_proto_examplepb_response_body_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 558 switch v := v.(*RepeatedResponseStrings); i { 559 case 0: 560 return &v.state 561 case 1: 562 return &v.sizeCache 563 case 2: 564 return &v.unknownFields 565 default: 566 return nil 567 } 568 } 569 file_examples_internal_proto_examplepb_response_body_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 570 switch v := v.(*ResponseBodyOut_Response); i { 571 case 0: 572 return &v.state 573 case 1: 574 return &v.sizeCache 575 case 2: 576 return &v.unknownFields 577 default: 578 return nil 579 } 580 } 581 file_examples_internal_proto_examplepb_response_body_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 582 switch v := v.(*RepeatedResponseBodyOut_Response); i { 583 case 0: 584 return &v.state 585 case 1: 586 return &v.sizeCache 587 case 2: 588 return &v.unknownFields 589 default: 590 return nil 591 } 592 } 593 } 594 type x struct{} 595 out := protoimpl.TypeBuilder{ 596 File: protoimpl.DescBuilder{ 597 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 598 RawDescriptor: file_examples_internal_proto_examplepb_response_body_service_proto_rawDesc, 599 NumEnums: 1, 600 NumMessages: 6, 601 NumExtensions: 0, 602 NumServices: 1, 603 }, 604 GoTypes: file_examples_internal_proto_examplepb_response_body_service_proto_goTypes, 605 DependencyIndexes: file_examples_internal_proto_examplepb_response_body_service_proto_depIdxs, 606 EnumInfos: file_examples_internal_proto_examplepb_response_body_service_proto_enumTypes, 607 MessageInfos: file_examples_internal_proto_examplepb_response_body_service_proto_msgTypes, 608 }.Build() 609 File_examples_internal_proto_examplepb_response_body_service_proto = out.File 610 file_examples_internal_proto_examplepb_response_body_service_proto_rawDesc = nil 611 file_examples_internal_proto_examplepb_response_body_service_proto_goTypes = nil 612 file_examples_internal_proto_examplepb_response_body_service_proto_depIdxs = nil 613 }