github.com/grpc-ecosystem/grpc-gateway/v2@v2.19.1/examples/internal/proto/examplepb/echo_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/echo_service.proto 6 7 // Echo Service 8 // 9 // Echo Service API consists of a single service which returns 10 // a message. 11 12 package examplepb 13 14 import ( 15 _ "google.golang.org/genproto/googleapis/api/annotations" 16 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 17 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 18 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 19 structpb "google.golang.org/protobuf/types/known/structpb" 20 reflect "reflect" 21 sync "sync" 22 ) 23 24 const ( 25 // Verify that this generated code is sufficiently up-to-date. 26 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 27 // Verify that runtime/protoimpl is sufficiently up-to-date. 28 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 29 ) 30 31 // Embedded represents a message embedded in SimpleMessage. 32 type Embedded struct { 33 state protoimpl.MessageState 34 sizeCache protoimpl.SizeCache 35 unknownFields protoimpl.UnknownFields 36 37 // Types that are assignable to Mark: 38 // 39 // *Embedded_Progress 40 // *Embedded_Note 41 Mark isEmbedded_Mark `protobuf_oneof:"mark"` 42 } 43 44 func (x *Embedded) Reset() { 45 *x = Embedded{} 46 if protoimpl.UnsafeEnabled { 47 mi := &file_examples_internal_proto_examplepb_echo_service_proto_msgTypes[0] 48 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 49 ms.StoreMessageInfo(mi) 50 } 51 } 52 53 func (x *Embedded) String() string { 54 return protoimpl.X.MessageStringOf(x) 55 } 56 57 func (*Embedded) ProtoMessage() {} 58 59 func (x *Embedded) ProtoReflect() protoreflect.Message { 60 mi := &file_examples_internal_proto_examplepb_echo_service_proto_msgTypes[0] 61 if protoimpl.UnsafeEnabled && x != nil { 62 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 63 if ms.LoadMessageInfo() == nil { 64 ms.StoreMessageInfo(mi) 65 } 66 return ms 67 } 68 return mi.MessageOf(x) 69 } 70 71 // Deprecated: Use Embedded.ProtoReflect.Descriptor instead. 72 func (*Embedded) Descriptor() ([]byte, []int) { 73 return file_examples_internal_proto_examplepb_echo_service_proto_rawDescGZIP(), []int{0} 74 } 75 76 func (m *Embedded) GetMark() isEmbedded_Mark { 77 if m != nil { 78 return m.Mark 79 } 80 return nil 81 } 82 83 func (x *Embedded) GetProgress() int64 { 84 if x, ok := x.GetMark().(*Embedded_Progress); ok { 85 return x.Progress 86 } 87 return 0 88 } 89 90 func (x *Embedded) GetNote() string { 91 if x, ok := x.GetMark().(*Embedded_Note); ok { 92 return x.Note 93 } 94 return "" 95 } 96 97 type isEmbedded_Mark interface { 98 isEmbedded_Mark() 99 } 100 101 type Embedded_Progress struct { 102 Progress int64 `protobuf:"varint,1,opt,name=progress,proto3,oneof"` 103 } 104 105 type Embedded_Note struct { 106 Note string `protobuf:"bytes,2,opt,name=note,proto3,oneof"` 107 } 108 109 func (*Embedded_Progress) isEmbedded_Mark() {} 110 111 func (*Embedded_Note) isEmbedded_Mark() {} 112 113 type NestedMessage struct { 114 state protoimpl.MessageState 115 sizeCache protoimpl.SizeCache 116 unknownFields protoimpl.UnknownFields 117 118 NId string `protobuf:"bytes,1,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` 119 Val string `protobuf:"bytes,2,opt,name=val,proto3" json:"val,omitempty"` 120 } 121 122 func (x *NestedMessage) Reset() { 123 *x = NestedMessage{} 124 if protoimpl.UnsafeEnabled { 125 mi := &file_examples_internal_proto_examplepb_echo_service_proto_msgTypes[1] 126 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 127 ms.StoreMessageInfo(mi) 128 } 129 } 130 131 func (x *NestedMessage) String() string { 132 return protoimpl.X.MessageStringOf(x) 133 } 134 135 func (*NestedMessage) ProtoMessage() {} 136 137 func (x *NestedMessage) ProtoReflect() protoreflect.Message { 138 mi := &file_examples_internal_proto_examplepb_echo_service_proto_msgTypes[1] 139 if protoimpl.UnsafeEnabled && x != nil { 140 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 141 if ms.LoadMessageInfo() == nil { 142 ms.StoreMessageInfo(mi) 143 } 144 return ms 145 } 146 return mi.MessageOf(x) 147 } 148 149 // Deprecated: Use NestedMessage.ProtoReflect.Descriptor instead. 150 func (*NestedMessage) Descriptor() ([]byte, []int) { 151 return file_examples_internal_proto_examplepb_echo_service_proto_rawDescGZIP(), []int{1} 152 } 153 154 func (x *NestedMessage) GetNId() string { 155 if x != nil { 156 return x.NId 157 } 158 return "" 159 } 160 161 func (x *NestedMessage) GetVal() string { 162 if x != nil { 163 return x.Val 164 } 165 return "" 166 } 167 168 // SimpleMessage represents a simple message sent to the Echo service. 169 type SimpleMessage struct { 170 state protoimpl.MessageState 171 sizeCache protoimpl.SizeCache 172 unknownFields protoimpl.UnknownFields 173 174 // Id represents the message identifier. 175 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 176 Num int64 `protobuf:"varint,2,opt,name=num,proto3" json:"num,omitempty"` 177 // Types that are assignable to Code: 178 // 179 // *SimpleMessage_LineNum 180 // *SimpleMessage_Lang 181 Code isSimpleMessage_Code `protobuf_oneof:"code"` 182 Status *Embedded `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` 183 // Types that are assignable to Ext: 184 // 185 // *SimpleMessage_En 186 // *SimpleMessage_No 187 Ext isSimpleMessage_Ext `protobuf_oneof:"ext"` 188 ResourceId string `protobuf:"bytes,8,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` 189 NId *NestedMessage `protobuf:"bytes,9,opt,name=n_id,json=nId,proto3" json:"n_id,omitempty"` 190 } 191 192 func (x *SimpleMessage) Reset() { 193 *x = SimpleMessage{} 194 if protoimpl.UnsafeEnabled { 195 mi := &file_examples_internal_proto_examplepb_echo_service_proto_msgTypes[2] 196 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 197 ms.StoreMessageInfo(mi) 198 } 199 } 200 201 func (x *SimpleMessage) String() string { 202 return protoimpl.X.MessageStringOf(x) 203 } 204 205 func (*SimpleMessage) ProtoMessage() {} 206 207 func (x *SimpleMessage) ProtoReflect() protoreflect.Message { 208 mi := &file_examples_internal_proto_examplepb_echo_service_proto_msgTypes[2] 209 if protoimpl.UnsafeEnabled && x != nil { 210 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 211 if ms.LoadMessageInfo() == nil { 212 ms.StoreMessageInfo(mi) 213 } 214 return ms 215 } 216 return mi.MessageOf(x) 217 } 218 219 // Deprecated: Use SimpleMessage.ProtoReflect.Descriptor instead. 220 func (*SimpleMessage) Descriptor() ([]byte, []int) { 221 return file_examples_internal_proto_examplepb_echo_service_proto_rawDescGZIP(), []int{2} 222 } 223 224 func (x *SimpleMessage) GetId() string { 225 if x != nil { 226 return x.Id 227 } 228 return "" 229 } 230 231 func (x *SimpleMessage) GetNum() int64 { 232 if x != nil { 233 return x.Num 234 } 235 return 0 236 } 237 238 func (m *SimpleMessage) GetCode() isSimpleMessage_Code { 239 if m != nil { 240 return m.Code 241 } 242 return nil 243 } 244 245 func (x *SimpleMessage) GetLineNum() int64 { 246 if x, ok := x.GetCode().(*SimpleMessage_LineNum); ok { 247 return x.LineNum 248 } 249 return 0 250 } 251 252 func (x *SimpleMessage) GetLang() string { 253 if x, ok := x.GetCode().(*SimpleMessage_Lang); ok { 254 return x.Lang 255 } 256 return "" 257 } 258 259 func (x *SimpleMessage) GetStatus() *Embedded { 260 if x != nil { 261 return x.Status 262 } 263 return nil 264 } 265 266 func (m *SimpleMessage) GetExt() isSimpleMessage_Ext { 267 if m != nil { 268 return m.Ext 269 } 270 return nil 271 } 272 273 func (x *SimpleMessage) GetEn() int64 { 274 if x, ok := x.GetExt().(*SimpleMessage_En); ok { 275 return x.En 276 } 277 return 0 278 } 279 280 func (x *SimpleMessage) GetNo() *Embedded { 281 if x, ok := x.GetExt().(*SimpleMessage_No); ok { 282 return x.No 283 } 284 return nil 285 } 286 287 func (x *SimpleMessage) GetResourceId() string { 288 if x != nil { 289 return x.ResourceId 290 } 291 return "" 292 } 293 294 func (x *SimpleMessage) GetNId() *NestedMessage { 295 if x != nil { 296 return x.NId 297 } 298 return nil 299 } 300 301 type isSimpleMessage_Code interface { 302 isSimpleMessage_Code() 303 } 304 305 type SimpleMessage_LineNum struct { 306 LineNum int64 `protobuf:"varint,3,opt,name=line_num,json=lineNum,proto3,oneof"` 307 } 308 309 type SimpleMessage_Lang struct { 310 Lang string `protobuf:"bytes,4,opt,name=lang,proto3,oneof"` 311 } 312 313 func (*SimpleMessage_LineNum) isSimpleMessage_Code() {} 314 315 func (*SimpleMessage_Lang) isSimpleMessage_Code() {} 316 317 type isSimpleMessage_Ext interface { 318 isSimpleMessage_Ext() 319 } 320 321 type SimpleMessage_En struct { 322 En int64 `protobuf:"varint,6,opt,name=en,proto3,oneof"` 323 } 324 325 type SimpleMessage_No struct { 326 No *Embedded `protobuf:"bytes,7,opt,name=no,proto3,oneof"` 327 } 328 329 func (*SimpleMessage_En) isSimpleMessage_Ext() {} 330 331 func (*SimpleMessage_No) isSimpleMessage_Ext() {} 332 333 // DynamicMessage represents a message which can have its structure 334 // built dynamically using Struct and Values. 335 type DynamicMessage struct { 336 state protoimpl.MessageState 337 sizeCache protoimpl.SizeCache 338 unknownFields protoimpl.UnknownFields 339 340 StructField *structpb.Struct `protobuf:"bytes,1,opt,name=struct_field,json=structField,proto3" json:"struct_field,omitempty"` 341 ValueField *structpb.Value `protobuf:"bytes,2,opt,name=value_field,json=valueField,proto3" json:"value_field,omitempty"` 342 } 343 344 func (x *DynamicMessage) Reset() { 345 *x = DynamicMessage{} 346 if protoimpl.UnsafeEnabled { 347 mi := &file_examples_internal_proto_examplepb_echo_service_proto_msgTypes[3] 348 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 349 ms.StoreMessageInfo(mi) 350 } 351 } 352 353 func (x *DynamicMessage) String() string { 354 return protoimpl.X.MessageStringOf(x) 355 } 356 357 func (*DynamicMessage) ProtoMessage() {} 358 359 func (x *DynamicMessage) ProtoReflect() protoreflect.Message { 360 mi := &file_examples_internal_proto_examplepb_echo_service_proto_msgTypes[3] 361 if protoimpl.UnsafeEnabled && x != nil { 362 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 363 if ms.LoadMessageInfo() == nil { 364 ms.StoreMessageInfo(mi) 365 } 366 return ms 367 } 368 return mi.MessageOf(x) 369 } 370 371 // Deprecated: Use DynamicMessage.ProtoReflect.Descriptor instead. 372 func (*DynamicMessage) Descriptor() ([]byte, []int) { 373 return file_examples_internal_proto_examplepb_echo_service_proto_rawDescGZIP(), []int{3} 374 } 375 376 func (x *DynamicMessage) GetStructField() *structpb.Struct { 377 if x != nil { 378 return x.StructField 379 } 380 return nil 381 } 382 383 func (x *DynamicMessage) GetValueField() *structpb.Value { 384 if x != nil { 385 return x.ValueField 386 } 387 return nil 388 } 389 390 type DynamicMessageUpdate struct { 391 state protoimpl.MessageState 392 sizeCache protoimpl.SizeCache 393 unknownFields protoimpl.UnknownFields 394 395 Body *DynamicMessage `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` 396 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 397 } 398 399 func (x *DynamicMessageUpdate) Reset() { 400 *x = DynamicMessageUpdate{} 401 if protoimpl.UnsafeEnabled { 402 mi := &file_examples_internal_proto_examplepb_echo_service_proto_msgTypes[4] 403 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 404 ms.StoreMessageInfo(mi) 405 } 406 } 407 408 func (x *DynamicMessageUpdate) String() string { 409 return protoimpl.X.MessageStringOf(x) 410 } 411 412 func (*DynamicMessageUpdate) ProtoMessage() {} 413 414 func (x *DynamicMessageUpdate) ProtoReflect() protoreflect.Message { 415 mi := &file_examples_internal_proto_examplepb_echo_service_proto_msgTypes[4] 416 if protoimpl.UnsafeEnabled && x != nil { 417 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 418 if ms.LoadMessageInfo() == nil { 419 ms.StoreMessageInfo(mi) 420 } 421 return ms 422 } 423 return mi.MessageOf(x) 424 } 425 426 // Deprecated: Use DynamicMessageUpdate.ProtoReflect.Descriptor instead. 427 func (*DynamicMessageUpdate) Descriptor() ([]byte, []int) { 428 return file_examples_internal_proto_examplepb_echo_service_proto_rawDescGZIP(), []int{4} 429 } 430 431 func (x *DynamicMessageUpdate) GetBody() *DynamicMessage { 432 if x != nil { 433 return x.Body 434 } 435 return nil 436 } 437 438 func (x *DynamicMessageUpdate) GetUpdateMask() *fieldmaskpb.FieldMask { 439 if x != nil { 440 return x.UpdateMask 441 } 442 return nil 443 } 444 445 var File_examples_internal_proto_examplepb_echo_service_proto protoreflect.FileDescriptor 446 447 var file_examples_internal_proto_examplepb_echo_service_proto_rawDesc = []byte{ 448 0x0a, 0x34, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 449 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 450 0x65, 0x70, 0x62, 0x2f, 0x65, 0x63, 0x68, 0x6f, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 451 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 452 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 453 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 454 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 455 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 456 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 457 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 458 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 459 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 460 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x46, 0x0a, 0x08, 0x45, 0x6d, 0x62, 0x65, 0x64, 0x64, 0x65, 0x64, 461 0x12, 0x1c, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 462 0x28, 0x03, 0x48, 0x00, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 463 0x0a, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 464 0x6e, 0x6f, 0x74, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x6d, 0x61, 0x72, 0x6b, 0x22, 0x34, 0x0a, 0x0d, 465 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x11, 0x0a, 466 0x04, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6e, 0x49, 0x64, 467 0x12, 0x10, 0x0a, 0x03, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x76, 468 0x61, 0x6c, 0x22, 0x96, 0x03, 0x0a, 0x0d, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 469 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 470 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 471 0x03, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x1b, 0x0a, 0x08, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x6e, 472 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x07, 0x6c, 0x69, 0x6e, 0x65, 473 0x4e, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x04, 0x6c, 0x61, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 474 0x09, 0x48, 0x00, 0x52, 0x04, 0x6c, 0x61, 0x6e, 0x67, 0x12, 0x50, 0x0a, 0x06, 0x73, 0x74, 0x61, 475 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x72, 0x70, 0x63, 476 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 477 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 478 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x62, 0x65, 0x64, 479 0x64, 0x65, 0x64, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x10, 0x0a, 0x02, 0x65, 480 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x48, 0x01, 0x52, 0x02, 0x65, 0x6e, 0x12, 0x4a, 0x0a, 481 0x02, 0x6e, 0x6f, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x72, 0x70, 0x63, 482 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 483 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 484 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x45, 0x6d, 0x62, 0x65, 0x64, 485 0x64, 0x65, 0x64, 0x48, 0x01, 0x52, 0x02, 0x6e, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 486 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 487 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x50, 0x0a, 0x04, 0x6e, 0x5f, 488 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 489 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 490 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 491 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 492 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x03, 0x6e, 0x49, 0x64, 0x42, 0x06, 0x0a, 0x04, 493 0x63, 0x6f, 0x64, 0x65, 0x42, 0x05, 0x0a, 0x03, 0x65, 0x78, 0x74, 0x22, 0x85, 0x01, 0x0a, 0x0e, 494 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3a, 495 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 496 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 497 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0b, 0x73, 498 0x74, 0x72, 0x75, 0x63, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x37, 0x0a, 0x0b, 0x76, 0x61, 499 0x6c, 0x75, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 500 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 501 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x46, 0x69, 502 0x65, 0x6c, 0x64, 0x22, 0xa7, 0x01, 0x0a, 0x14, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x4d, 503 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x52, 0x0a, 0x04, 504 0x62, 0x6f, 0x64, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x72, 0x70, 505 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 506 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 507 0x6f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x44, 0x79, 0x6e, 0x61, 508 0x6d, 0x69, 0x63, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 509 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 510 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 511 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 512 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x32, 0x95, 0x09, 513 0x0a, 0x0b, 0x45, 0x63, 0x68, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x8e, 0x03, 514 0x0a, 0x04, 0x45, 0x63, 0x68, 0x6f, 0x12, 0x3d, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 515 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 516 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 517 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x65, 518 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x3d, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 519 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 520 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 521 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 522 0x73, 0x61, 0x67, 0x65, 0x22, 0x87, 0x02, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x80, 0x02, 0x5a, 0x1d, 523 0x12, 0x1b, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x65, 0x63, 524 0x68, 0x6f, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x6e, 0x75, 0x6d, 0x7d, 0x5a, 0x24, 0x12, 525 0x22, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x65, 0x63, 0x68, 526 0x6f, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x6e, 0x75, 0x6d, 0x7d, 0x2f, 0x7b, 0x6c, 0x61, 527 0x6e, 0x67, 0x7d, 0x5a, 0x31, 0x12, 0x2f, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 528 0x6c, 0x65, 0x2f, 0x65, 0x63, 0x68, 0x6f, 0x31, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x2f, 0x7b, 0x6c, 529 0x69, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x7d, 0x2f, 0x7b, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 530 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x7d, 0x5a, 0x1d, 0x12, 0x1b, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 531 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x65, 0x63, 0x68, 0x6f, 0x32, 0x2f, 0x7b, 0x6e, 0x6f, 0x2e, 532 0x6e, 0x6f, 0x74, 0x65, 0x7d, 0x5a, 0x29, 0x12, 0x27, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x61, 533 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x65, 0x63, 0x68, 0x6f, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 534 0x63, 0x65, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x7d, 535 0x5a, 0x25, 0x12, 0x23, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 536 0x65, 0x63, 0x68, 0x6f, 0x2f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x2f, 0x7b, 0x6e, 0x5f, 0x69, 537 0x64, 0x2e, 0x6e, 0x5f, 0x69, 0x64, 0x7d, 0x22, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x61, 538 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x65, 0x63, 0x68, 0x6f, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x12, 0xcc, 539 0x01, 0x0a, 0x08, 0x45, 0x63, 0x68, 0x6f, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x3d, 0x2e, 0x67, 0x72, 540 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 541 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 542 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x53, 0x69, 0x6d, 543 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x3d, 0x2e, 0x67, 0x72, 0x70, 544 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 545 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 546 0x6f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x53, 0x69, 0x6d, 0x70, 547 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x42, 0x82, 0xd3, 0xe4, 0x93, 0x02, 548 0x3c, 0x3a, 0x01, 0x2a, 0x5a, 0x20, 0x3a, 0x02, 0x6e, 0x6f, 0x1a, 0x1a, 0x2f, 0x76, 0x31, 0x2f, 549 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x65, 0x63, 0x68, 0x6f, 0x5f, 0x62, 0x6f, 0x64, 550 0x79, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x22, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x61, 0x6d, 551 0x70, 0x6c, 0x65, 0x2f, 0x65, 0x63, 0x68, 0x6f, 0x5f, 0x62, 0x6f, 0x64, 0x79, 0x12, 0xab, 0x01, 552 0x0a, 0x0a, 0x45, 0x63, 0x68, 0x6f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x3d, 0x2e, 0x67, 553 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 554 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 555 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x53, 0x69, 556 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 0x3d, 0x2e, 0x67, 0x72, 557 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 558 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 559 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x53, 0x69, 0x6d, 560 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x1f, 0x82, 0xd3, 0xe4, 0x93, 561 0x02, 0x19, 0x2a, 0x17, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 562 0x65, 0x63, 0x68, 0x6f, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0xbd, 0x01, 0x0a, 0x09, 563 0x45, 0x63, 0x68, 0x6f, 0x50, 0x61, 0x74, 0x63, 0x68, 0x12, 0x44, 0x2e, 0x67, 0x72, 0x70, 0x63, 564 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 565 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 566 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 567 0x69, 0x63, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x1a, 568 0x44, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 569 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 570 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 571 0x2e, 0x44, 0x79, 0x6e, 0x61, 0x6d, 0x69, 0x63, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x55, 572 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0x24, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x3a, 0x04, 0x62, 573 0x6f, 0x64, 0x79, 0x32, 0x16, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 574 0x2f, 0x65, 0x63, 0x68, 0x6f, 0x5f, 0x70, 0x61, 0x74, 0x63, 0x68, 0x12, 0xb7, 0x01, 0x0a, 0x10, 575 0x45, 0x63, 0x68, 0x6f, 0x55, 0x6e, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 576 0x12, 0x3d, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 577 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 578 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 579 0x62, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x1a, 580 0x3d, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 581 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 582 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 583 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x25, 584 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x61, 0x6d, 585 0x70, 0x6c, 0x65, 0x2f, 0x65, 0x63, 0x68, 0x6f, 0x5f, 0x75, 0x6e, 0x61, 0x75, 0x74, 0x68, 0x6f, 586 0x72, 0x69, 0x7a, 0x65, 0x64, 0x42, 0x4d, 0x5a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 587 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x65, 0x63, 0x6f, 0x73, 0x79, 0x73, 0x74, 588 0x65, 0x6d, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2f, 589 0x76, 0x32, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65, 590 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 591 0x6c, 0x65, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 592 } 593 594 var ( 595 file_examples_internal_proto_examplepb_echo_service_proto_rawDescOnce sync.Once 596 file_examples_internal_proto_examplepb_echo_service_proto_rawDescData = file_examples_internal_proto_examplepb_echo_service_proto_rawDesc 597 ) 598 599 func file_examples_internal_proto_examplepb_echo_service_proto_rawDescGZIP() []byte { 600 file_examples_internal_proto_examplepb_echo_service_proto_rawDescOnce.Do(func() { 601 file_examples_internal_proto_examplepb_echo_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_examples_internal_proto_examplepb_echo_service_proto_rawDescData) 602 }) 603 return file_examples_internal_proto_examplepb_echo_service_proto_rawDescData 604 } 605 606 var file_examples_internal_proto_examplepb_echo_service_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 607 var file_examples_internal_proto_examplepb_echo_service_proto_goTypes = []interface{}{ 608 (*Embedded)(nil), // 0: grpc.gateway.examples.internal.proto.examplepb.Embedded 609 (*NestedMessage)(nil), // 1: grpc.gateway.examples.internal.proto.examplepb.NestedMessage 610 (*SimpleMessage)(nil), // 2: grpc.gateway.examples.internal.proto.examplepb.SimpleMessage 611 (*DynamicMessage)(nil), // 3: grpc.gateway.examples.internal.proto.examplepb.DynamicMessage 612 (*DynamicMessageUpdate)(nil), // 4: grpc.gateway.examples.internal.proto.examplepb.DynamicMessageUpdate 613 (*structpb.Struct)(nil), // 5: google.protobuf.Struct 614 (*structpb.Value)(nil), // 6: google.protobuf.Value 615 (*fieldmaskpb.FieldMask)(nil), // 7: google.protobuf.FieldMask 616 } 617 var file_examples_internal_proto_examplepb_echo_service_proto_depIdxs = []int32{ 618 0, // 0: grpc.gateway.examples.internal.proto.examplepb.SimpleMessage.status:type_name -> grpc.gateway.examples.internal.proto.examplepb.Embedded 619 0, // 1: grpc.gateway.examples.internal.proto.examplepb.SimpleMessage.no:type_name -> grpc.gateway.examples.internal.proto.examplepb.Embedded 620 1, // 2: grpc.gateway.examples.internal.proto.examplepb.SimpleMessage.n_id:type_name -> grpc.gateway.examples.internal.proto.examplepb.NestedMessage 621 5, // 3: grpc.gateway.examples.internal.proto.examplepb.DynamicMessage.struct_field:type_name -> google.protobuf.Struct 622 6, // 4: grpc.gateway.examples.internal.proto.examplepb.DynamicMessage.value_field:type_name -> google.protobuf.Value 623 3, // 5: grpc.gateway.examples.internal.proto.examplepb.DynamicMessageUpdate.body:type_name -> grpc.gateway.examples.internal.proto.examplepb.DynamicMessage 624 7, // 6: grpc.gateway.examples.internal.proto.examplepb.DynamicMessageUpdate.update_mask:type_name -> google.protobuf.FieldMask 625 2, // 7: grpc.gateway.examples.internal.proto.examplepb.EchoService.Echo:input_type -> grpc.gateway.examples.internal.proto.examplepb.SimpleMessage 626 2, // 8: grpc.gateway.examples.internal.proto.examplepb.EchoService.EchoBody:input_type -> grpc.gateway.examples.internal.proto.examplepb.SimpleMessage 627 2, // 9: grpc.gateway.examples.internal.proto.examplepb.EchoService.EchoDelete:input_type -> grpc.gateway.examples.internal.proto.examplepb.SimpleMessage 628 4, // 10: grpc.gateway.examples.internal.proto.examplepb.EchoService.EchoPatch:input_type -> grpc.gateway.examples.internal.proto.examplepb.DynamicMessageUpdate 629 2, // 11: grpc.gateway.examples.internal.proto.examplepb.EchoService.EchoUnauthorized:input_type -> grpc.gateway.examples.internal.proto.examplepb.SimpleMessage 630 2, // 12: grpc.gateway.examples.internal.proto.examplepb.EchoService.Echo:output_type -> grpc.gateway.examples.internal.proto.examplepb.SimpleMessage 631 2, // 13: grpc.gateway.examples.internal.proto.examplepb.EchoService.EchoBody:output_type -> grpc.gateway.examples.internal.proto.examplepb.SimpleMessage 632 2, // 14: grpc.gateway.examples.internal.proto.examplepb.EchoService.EchoDelete:output_type -> grpc.gateway.examples.internal.proto.examplepb.SimpleMessage 633 4, // 15: grpc.gateway.examples.internal.proto.examplepb.EchoService.EchoPatch:output_type -> grpc.gateway.examples.internal.proto.examplepb.DynamicMessageUpdate 634 2, // 16: grpc.gateway.examples.internal.proto.examplepb.EchoService.EchoUnauthorized:output_type -> grpc.gateway.examples.internal.proto.examplepb.SimpleMessage 635 12, // [12:17] is the sub-list for method output_type 636 7, // [7:12] is the sub-list for method input_type 637 7, // [7:7] is the sub-list for extension type_name 638 7, // [7:7] is the sub-list for extension extendee 639 0, // [0:7] is the sub-list for field type_name 640 } 641 642 func init() { file_examples_internal_proto_examplepb_echo_service_proto_init() } 643 func file_examples_internal_proto_examplepb_echo_service_proto_init() { 644 if File_examples_internal_proto_examplepb_echo_service_proto != nil { 645 return 646 } 647 if !protoimpl.UnsafeEnabled { 648 file_examples_internal_proto_examplepb_echo_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 649 switch v := v.(*Embedded); i { 650 case 0: 651 return &v.state 652 case 1: 653 return &v.sizeCache 654 case 2: 655 return &v.unknownFields 656 default: 657 return nil 658 } 659 } 660 file_examples_internal_proto_examplepb_echo_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 661 switch v := v.(*NestedMessage); i { 662 case 0: 663 return &v.state 664 case 1: 665 return &v.sizeCache 666 case 2: 667 return &v.unknownFields 668 default: 669 return nil 670 } 671 } 672 file_examples_internal_proto_examplepb_echo_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 673 switch v := v.(*SimpleMessage); i { 674 case 0: 675 return &v.state 676 case 1: 677 return &v.sizeCache 678 case 2: 679 return &v.unknownFields 680 default: 681 return nil 682 } 683 } 684 file_examples_internal_proto_examplepb_echo_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 685 switch v := v.(*DynamicMessage); i { 686 case 0: 687 return &v.state 688 case 1: 689 return &v.sizeCache 690 case 2: 691 return &v.unknownFields 692 default: 693 return nil 694 } 695 } 696 file_examples_internal_proto_examplepb_echo_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 697 switch v := v.(*DynamicMessageUpdate); i { 698 case 0: 699 return &v.state 700 case 1: 701 return &v.sizeCache 702 case 2: 703 return &v.unknownFields 704 default: 705 return nil 706 } 707 } 708 } 709 file_examples_internal_proto_examplepb_echo_service_proto_msgTypes[0].OneofWrappers = []interface{}{ 710 (*Embedded_Progress)(nil), 711 (*Embedded_Note)(nil), 712 } 713 file_examples_internal_proto_examplepb_echo_service_proto_msgTypes[2].OneofWrappers = []interface{}{ 714 (*SimpleMessage_LineNum)(nil), 715 (*SimpleMessage_Lang)(nil), 716 (*SimpleMessage_En)(nil), 717 (*SimpleMessage_No)(nil), 718 } 719 type x struct{} 720 out := protoimpl.TypeBuilder{ 721 File: protoimpl.DescBuilder{ 722 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 723 RawDescriptor: file_examples_internal_proto_examplepb_echo_service_proto_rawDesc, 724 NumEnums: 0, 725 NumMessages: 5, 726 NumExtensions: 0, 727 NumServices: 1, 728 }, 729 GoTypes: file_examples_internal_proto_examplepb_echo_service_proto_goTypes, 730 DependencyIndexes: file_examples_internal_proto_examplepb_echo_service_proto_depIdxs, 731 MessageInfos: file_examples_internal_proto_examplepb_echo_service_proto_msgTypes, 732 }.Build() 733 File_examples_internal_proto_examplepb_echo_service_proto = out.File 734 file_examples_internal_proto_examplepb_echo_service_proto_rawDesc = nil 735 file_examples_internal_proto_examplepb_echo_service_proto_goTypes = nil 736 file_examples_internal_proto_examplepb_echo_service_proto_depIdxs = nil 737 }