// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.27.1-devel // protoc v3.17.2 // source: complex.proto package complex import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // SimpleMessage represents a simple message sent to the Echo service. type Complex struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields // Id represents the message identifier. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` NoOne string `protobuf:"bytes,2,opt,name=no_one,json=numberOne,proto3" json:"no_one,omitempty"` Simple *Simple `protobuf:"bytes,3,opt,name=simple,json=very_simple,proto3" json:"simple,omitempty"` Simples []string `protobuf:"bytes,4,rep,name=simples,proto3" json:"simples,omitempty"` } func (x *Complex) Reset() { *x = Complex{} if protoimpl.UnsafeEnabled { mi := &file_complex_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Complex) String() string { return protoimpl.X.MessageStringOf(x) } func (*Complex) ProtoMessage() {} func (x *Complex) ProtoReflect() protoreflect.Message { mi := &file_complex_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Complex.ProtoReflect.Descriptor instead. func (*Complex) Descriptor() ([]byte, []int) { return file_complex_proto_rawDescGZIP(), []int{0} } func (x *Complex) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *Complex) GetNoOne() string { if x != nil { return x.NoOne } return "" } func (x *Complex) GetSimple() *Simple { if x != nil { return x.Simple } return nil } func (x *Complex) GetSimples() []string { if x != nil { return x.Simples } return nil } type Simple struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Component string `protobuf:"bytes,1,opt,name=component,proto3" json:"component,omitempty"` } func (x *Simple) Reset() { *x = Simple{} if protoimpl.UnsafeEnabled { mi := &file_complex_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Simple) String() string { return protoimpl.X.MessageStringOf(x) } func (*Simple) ProtoMessage() {} func (x *Simple) ProtoReflect() protoreflect.Message { mi := &file_complex_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Simple.ProtoReflect.Descriptor instead. func (*Simple) Descriptor() ([]byte, []int) { return file_complex_proto_rawDescGZIP(), []int{1} } func (x *Simple) GetComponent() string { if x != nil { return x.Component } return "" } var File_complex_proto protoreflect.FileDescriptor var file_complex_proto_rawDesc = []byte{ 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7e, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x06, 0x6e, 0x6f, 0x5f, 0x6f, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x4f, 0x6e, 0x65, 0x12, 0x2e, 0x0a, 0x06, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x52, 0x0b, 0x76, 0x65, 0x72, 0x79, 0x5f, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x73, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x22, 0x26, 0x0a, 0x06, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6f, 0x6e, 0x65, 0x6e, 0x74, 0x42, 0x58, 0x5a, 0x56, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2d, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2f, 0x6b, 0x72, 0x61, 0x74, 0x6f, 0x73, 0x2f, 0x63, 0x6d, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f, 0x2d, 0x68, 0x74, 0x74, 0x70, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x2f, 0x3b, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_complex_proto_rawDescOnce sync.Once file_complex_proto_rawDescData = file_complex_proto_rawDesc ) func file_complex_proto_rawDescGZIP() []byte { file_complex_proto_rawDescOnce.Do(func() { file_complex_proto_rawDescData = protoimpl.X.CompressGZIP(file_complex_proto_rawDescData) }) return file_complex_proto_rawDescData } var file_complex_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_complex_proto_goTypes = []interface{}{ (*Complex)(nil), // 0: testproto.Complex (*Simple)(nil), // 1: testproto.Simple } var file_complex_proto_depIdxs = []int32{ 1, // 0: testproto.Complex.simple:type_name -> testproto.Simple 1, // [1:1] is the sub-list for method output_type 1, // [1:1] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name 1, // [1:1] is the sub-list for extension extendee 0, // [0:1] is the sub-list for field type_name } func init() { file_complex_proto_init() } func file_complex_proto_init() { if File_complex_proto != nil { return } if !protoimpl.UnsafeEnabled { file_complex_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Complex); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_complex_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Simple); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_complex_proto_rawDesc, NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 0, }, GoTypes: file_complex_proto_goTypes, DependencyIndexes: file_complex_proto_depIdxs, MessageInfos: file_complex_proto_msgTypes, }.Build() File_complex_proto = out.File file_complex_proto_rawDesc = nil file_complex_proto_goTypes = nil file_complex_proto_depIdxs = nil }