// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.5 // protoc v5.29.3 // source: skills/protobuf/hello.proto package protobuf import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) 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) ) type DESCRIBE_BY int32 const ( DESCRIBE_BY_ID DESCRIBE_BY = 0 DESCRIBE_BY_NAME DESCRIBE_BY = 1 ) // Enum value maps for DESCRIBE_BY. var ( DESCRIBE_BY_name = map[int32]string{ 0: "ID", 1: "NAME", } DESCRIBE_BY_value = map[string]int32{ "ID": 0, "NAME": 1, } ) func (x DESCRIBE_BY) Enum() *DESCRIBE_BY { p := new(DESCRIBE_BY) *p = x return p } func (x DESCRIBE_BY) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (DESCRIBE_BY) Descriptor() protoreflect.EnumDescriptor { return file_skills_protobuf_hello_proto_enumTypes[0].Descriptor() } func (DESCRIBE_BY) Type() protoreflect.EnumType { return &file_skills_protobuf_hello_proto_enumTypes[0] } func (x DESCRIBE_BY) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use DESCRIBE_BY.Descriptor instead. func (DESCRIBE_BY) EnumDescriptor() ([]byte, []int) { return file_skills_protobuf_hello_proto_rawDescGZIP(), []int{0} } type HelloRequest struct { state protoimpl.MessageState `protogen:"open.v1"` MyName string `protobuf:"bytes,1,opt,name=my_name,json=myName,proto3" json:"my_name,omitempty"` Age int64 `protobuf:"varint,2,opt,name=age,proto3" json:"age,omitempty"` MagicNumber []int64 `protobuf:"varint,3,rep,packed,name=magic_number,json=magicNumber,proto3" json:"magic_number,omitempty"` Extras map[string]string `protobuf:"bytes,4,rep,name=extras,proto3" json:"extras,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *HelloRequest) Reset() { *x = HelloRequest{} mi := &file_skills_protobuf_hello_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *HelloRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*HelloRequest) ProtoMessage() {} func (x *HelloRequest) ProtoReflect() protoreflect.Message { mi := &file_skills_protobuf_hello_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use HelloRequest.ProtoReflect.Descriptor instead. func (*HelloRequest) Descriptor() ([]byte, []int) { return file_skills_protobuf_hello_proto_rawDescGZIP(), []int{0} } func (x *HelloRequest) GetMyName() string { if x != nil { return x.MyName } return "" } func (x *HelloRequest) GetAge() int64 { if x != nil { return x.Age } return 0 } func (x *HelloRequest) GetMagicNumber() []int64 { if x != nil { return x.MagicNumber } return nil } func (x *HelloRequest) GetExtras() map[string]string { if x != nil { return x.Extras } return nil } type HelloResponse struct { state protoimpl.MessageState `protogen:"open.v1"` Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *HelloResponse) Reset() { *x = HelloResponse{} mi := &file_skills_protobuf_hello_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *HelloResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*HelloResponse) ProtoMessage() {} func (x *HelloResponse) ProtoReflect() protoreflect.Message { mi := &file_skills_protobuf_hello_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use HelloResponse.ProtoReflect.Descriptor instead. func (*HelloResponse) Descriptor() ([]byte, []int) { return file_skills_protobuf_hello_proto_rawDescGZIP(), []int{1} } func (x *HelloResponse) GetMessage() string { if x != nil { return x.Message } return "" } type EventSet struct { state protoimpl.MessageState `protogen:"open.v1"` Items []*Event `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *EventSet) Reset() { *x = EventSet{} mi := &file_skills_protobuf_hello_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *EventSet) String() string { return protoimpl.X.MessageStringOf(x) } func (*EventSet) ProtoMessage() {} func (x *EventSet) ProtoReflect() protoreflect.Message { mi := &file_skills_protobuf_hello_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use EventSet.ProtoReflect.Descriptor instead. func (*EventSet) Descriptor() ([]byte, []int) { return file_skills_protobuf_hello_proto_rawDescGZIP(), []int{2} } func (x *EventSet) GetItems() []*Event { if x != nil { return x.Items } return nil } var File_skills_protobuf_hello_proto protoreflect.FileDescriptor var file_skills_protobuf_hello_proto_rawDesc = string([]byte{ 0x0a, 0x1b, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x1a, 0x1b, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd0, 0x01, 0x0a, 0x0c, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x67, 0x69, 0x63, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0b, 0x6d, 0x61, 0x67, 0x69, 0x63, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x06, 0x65, 0x78, 0x74, 0x72, 0x61, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x2e, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x45, 0x78, 0x74, 0x72, 0x61, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x65, 0x78, 0x74, 0x72, 0x61, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x45, 0x78, 0x74, 0x72, 0x61, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x29, 0x0a, 0x0d, 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x2e, 0x0a, 0x08, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x74, 0x12, 0x22, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x68, 0x65, 0x6c, 0x6c, 0x6f, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x2a, 0x1f, 0x0a, 0x0b, 0x44, 0x45, 0x53, 0x43, 0x52, 0x49, 0x42, 0x45, 0x5f, 0x42, 0x59, 0x12, 0x06, 0x0a, 0x02, 0x49, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x41, 0x4d, 0x45, 0x10, 0x01, 0x42, 0x33, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x6c, 0x61, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2d, 0x63, 0x6f, 0x75, 0x72, 0x73, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x67, 0x6f, 0x31, 0x37, 0x2f, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, }) var ( file_skills_protobuf_hello_proto_rawDescOnce sync.Once file_skills_protobuf_hello_proto_rawDescData []byte ) func file_skills_protobuf_hello_proto_rawDescGZIP() []byte { file_skills_protobuf_hello_proto_rawDescOnce.Do(func() { file_skills_protobuf_hello_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_skills_protobuf_hello_proto_rawDesc), len(file_skills_protobuf_hello_proto_rawDesc))) }) return file_skills_protobuf_hello_proto_rawDescData } var file_skills_protobuf_hello_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_skills_protobuf_hello_proto_msgTypes = make([]protoimpl.MessageInfo, 4) var file_skills_protobuf_hello_proto_goTypes = []any{ (DESCRIBE_BY)(0), // 0: hello.DESCRIBE_BY (*HelloRequest)(nil), // 1: hello.HelloRequest (*HelloResponse)(nil), // 2: hello.HelloResponse (*EventSet)(nil), // 3: hello.EventSet nil, // 4: hello.HelloRequest.ExtrasEntry (*Event)(nil), // 5: hello.Event } var file_skills_protobuf_hello_proto_depIdxs = []int32{ 4, // 0: hello.HelloRequest.extras:type_name -> hello.HelloRequest.ExtrasEntry 5, // 1: hello.EventSet.items:type_name -> hello.Event 2, // [2:2] is the sub-list for method output_type 2, // [2:2] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name 2, // [2:2] is the sub-list for extension extendee 0, // [0:2] is the sub-list for field type_name } func init() { file_skills_protobuf_hello_proto_init() } func file_skills_protobuf_hello_proto_init() { if File_skills_protobuf_hello_proto != nil { return } file_skills_protobuf_event_proto_init() type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_skills_protobuf_hello_proto_rawDesc), len(file_skills_protobuf_hello_proto_rawDesc)), NumEnums: 1, NumMessages: 4, NumExtensions: 0, NumServices: 0, }, GoTypes: file_skills_protobuf_hello_proto_goTypes, DependencyIndexes: file_skills_protobuf_hello_proto_depIdxs, EnumInfos: file_skills_protobuf_hello_proto_enumTypes, MessageInfos: file_skills_protobuf_hello_proto_msgTypes, }.Build() File_skills_protobuf_hello_proto = out.File file_skills_protobuf_hello_proto_goTypes = nil file_skills_protobuf_hello_proto_depIdxs = nil }