// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.11 // protoc v6.33.2 // source: proto/pasien.proto package pb 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 GetPasienByNomrRequest struct { state protoimpl.MessageState `protogen:"open.v1"` Nomr string `protobuf:"bytes,1,opt,name=nomr,proto3" json:"nomr,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *GetPasienByNomrRequest) Reset() { *x = GetPasienByNomrRequest{} mi := &file_proto_pasien_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *GetPasienByNomrRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetPasienByNomrRequest) ProtoMessage() {} func (x *GetPasienByNomrRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_pasien_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 GetPasienByNomrRequest.ProtoReflect.Descriptor instead. func (*GetPasienByNomrRequest) Descriptor() ([]byte, []int) { return file_proto_pasien_proto_rawDescGZIP(), []int{0} } func (x *GetPasienByNomrRequest) GetNomr() string { if x != nil { return x.Nomr } return "" } type Pasien struct { state protoimpl.MessageState `protogen:"open.v1"` Nomr string `protobuf:"bytes,1,opt,name=nomr,proto3" json:"nomr,omitempty"` Nama string `protobuf:"bytes,2,opt,name=nama,proto3" json:"nama,omitempty"` Umur int32 `protobuf:"varint,3,opt,name=umur,proto3" json:"umur,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Pasien) Reset() { *x = Pasien{} mi := &file_proto_pasien_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Pasien) String() string { return protoimpl.X.MessageStringOf(x) } func (*Pasien) ProtoMessage() {} func (x *Pasien) ProtoReflect() protoreflect.Message { mi := &file_proto_pasien_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 Pasien.ProtoReflect.Descriptor instead. func (*Pasien) Descriptor() ([]byte, []int) { return file_proto_pasien_proto_rawDescGZIP(), []int{1} } func (x *Pasien) GetNomr() string { if x != nil { return x.Nomr } return "" } func (x *Pasien) GetNama() string { if x != nil { return x.Nama } return "" } func (x *Pasien) GetUmur() int32 { if x != nil { return x.Umur } return 0 } var File_proto_pasien_proto protoreflect.FileDescriptor const file_proto_pasien_proto_rawDesc = "" + "\n" + "\x12proto/pasien.proto\x12\x06pasien\",\n" + "\x16GetPasienByNomrRequest\x12\x12\n" + "\x04nomr\x18\x01 \x01(\tR\x04nomr\"D\n" + "\x06Pasien\x12\x12\n" + "\x04nomr\x18\x01 \x01(\tR\x04nomr\x12\x12\n" + "\x04nama\x18\x02 \x01(\tR\x04nama\x12\x12\n" + "\x04umur\x18\x03 \x01(\x05R\x04umur2R\n" + "\rPasienService\x12A\n" + "\x0fGetPasienByNomr\x12\x1e.pasien.GetPasienByNomrRequest\x1a\x0e.pasien.PasienB!Z\x1fapi-service/internal/grpc/pb;pbb\x06proto3" var ( file_proto_pasien_proto_rawDescOnce sync.Once file_proto_pasien_proto_rawDescData []byte ) func file_proto_pasien_proto_rawDescGZIP() []byte { file_proto_pasien_proto_rawDescOnce.Do(func() { file_proto_pasien_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_proto_pasien_proto_rawDesc), len(file_proto_pasien_proto_rawDesc))) }) return file_proto_pasien_proto_rawDescData } var file_proto_pasien_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_proto_pasien_proto_goTypes = []any{ (*GetPasienByNomrRequest)(nil), // 0: pasien.GetPasienByNomrRequest (*Pasien)(nil), // 1: pasien.Pasien } var file_proto_pasien_proto_depIdxs = []int32{ 0, // 0: pasien.PasienService.GetPasienByNomr:input_type -> pasien.GetPasienByNomrRequest 1, // 1: pasien.PasienService.GetPasienByNomr:output_type -> pasien.Pasien 1, // [1:2] is the sub-list for method output_type 0, // [0:1] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name } func init() { file_proto_pasien_proto_init() } func file_proto_pasien_proto_init() { if File_proto_pasien_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_proto_pasien_proto_rawDesc), len(file_proto_pasien_proto_rawDesc)), NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 1, }, GoTypes: file_proto_pasien_proto_goTypes, DependencyIndexes: file_proto_pasien_proto_depIdxs, MessageInfos: file_proto_pasien_proto_msgTypes, }.Build() File_proto_pasien_proto = out.File file_proto_pasien_proto_goTypes = nil file_proto_pasien_proto_depIdxs = nil }