Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterStaffServiceServer(s grpc.ServiceRegistrar, srv StaffServiceServer)
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRequest) GetChiefdom() string
- func (x *CreateRequest) GetCity() string
- func (x *CreateRequest) GetDistrict() string
- func (x *CreateRequest) GetEmail() string
- func (x *CreateRequest) GetFamilyName() string
- func (x *CreateRequest) GetGivenNames() string
- func (x *CreateRequest) GetPhone() string
- func (x *CreateRequest) GetProfession() string
- func (x *CreateRequest) GetRegion() string
- func (x *CreateRequest) GetStreet() string
- func (*CreateRequest) ProtoMessage()
- func (x *CreateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRequest) Reset()
- func (x *CreateRequest) String() string
- type CreateResponse
- func (*CreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResponse) GetMessage() string
- func (x *CreateResponse) GetRecord() *Staff
- func (*CreateResponse) ProtoMessage()
- func (x *CreateResponse) ProtoReflect() protoreflect.Message
- func (x *CreateResponse) Reset()
- func (x *CreateResponse) String() string
- type DeleteRequest
- type DeleteResponse
- func (*DeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResponse) GetMessage() string
- func (x *DeleteResponse) GetRecord() *Staff
- func (*DeleteResponse) ProtoMessage()
- func (x *DeleteResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteResponse) Reset()
- func (x *DeleteResponse) String() string
- type ReadAllRequest
- type ReadAllResponse
- func (*ReadAllResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadAllResponse) GetMessage() string
- func (x *ReadAllResponse) GetOption() *v1.Options
- func (x *ReadAllResponse) GetRecords() []*Staff
- func (*ReadAllResponse) ProtoMessage()
- func (x *ReadAllResponse) ProtoReflect() protoreflect.Message
- func (x *ReadAllResponse) Reset()
- func (x *ReadAllResponse) String() string
- type ReadByIdRequest
- type ReadByIdResponse
- func (*ReadByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadByIdResponse) GetMessage() string
- func (x *ReadByIdResponse) GetRecords() []*v1.Option
- func (*ReadByIdResponse) ProtoMessage()
- func (x *ReadByIdResponse) ProtoReflect() protoreflect.Message
- func (x *ReadByIdResponse) Reset()
- func (x *ReadByIdResponse) String() string
- type Staff
- func (*Staff) Descriptor() ([]byte, []int)deprecated
- func (x *Staff) GetChiefdom() string
- func (x *Staff) GetCity() string
- func (x *Staff) GetCreatedAt() *timestamppb.Timestamp
- func (x *Staff) GetDistrict() string
- func (x *Staff) GetEmail() string
- func (x *Staff) GetFamilyName() string
- func (x *Staff) GetGivenNames() string
- func (x *Staff) GetId() string
- func (x *Staff) GetPhones() []*v1.Phone
- func (x *Staff) GetProfession() string
- func (x *Staff) GetRegion() string
- func (x *Staff) GetState() string
- func (x *Staff) GetStreet() string
- func (x *Staff) GetUpdatedAt() *timestamppb.Timestamp
- func (*Staff) ProtoMessage()
- func (x *Staff) ProtoReflect() protoreflect.Message
- func (x *Staff) Reset()
- func (x *Staff) String() string
- type StaffServiceClient
- type StaffServiceServer
- type UnimplementedStaffServiceServer
- func (UnimplementedStaffServiceServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
- func (UnimplementedStaffServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
- func (UnimplementedStaffServiceServer) ReadAll(context.Context, *ReadAllRequest) (*ReadAllResponse, error)
- func (UnimplementedStaffServiceServer) ReadById(context.Context, *ReadByIdRequest) (*ReadByIdResponse, error)
- func (UnimplementedStaffServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
- type UnsafeStaffServiceServer
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRequest) GetChiefdom() string
- func (x *UpdateRequest) GetCity() string
- func (x *UpdateRequest) GetDistrict() string
- func (x *UpdateRequest) GetEmail() string
- func (x *UpdateRequest) GetFamilyName() string
- func (x *UpdateRequest) GetGivenNames() string
- func (x *UpdateRequest) GetId() string
- func (x *UpdateRequest) GetProfession() string
- func (x *UpdateRequest) GetRegion() string
- func (x *UpdateRequest) GetStreet() string
- func (*UpdateRequest) ProtoMessage()
- func (x *UpdateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRequest) Reset()
- func (x *UpdateRequest) String() string
- type UpdateResponse
- func (*UpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResponse) GetMessage() string
- func (x *UpdateResponse) GetRecord() *Staff
- func (*UpdateResponse) ProtoMessage()
- func (x *UpdateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateResponse) Reset()
- func (x *UpdateResponse) String() string
Constants ¶
const ( StaffService_Create_FullMethodName = "/staff.v1.StaffService/Create" StaffService_ReadById_FullMethodName = "/staff.v1.StaffService/ReadById" StaffService_ReadAll_FullMethodName = "/staff.v1.StaffService/ReadAll" StaffService_Update_FullMethodName = "/staff.v1.StaffService/Update" StaffService_Delete_FullMethodName = "/staff.v1.StaffService/Delete" )
Variables ¶
var File_staff_v1_data_proto protoreflect.FileDescriptor
var File_staff_v1_service_proto protoreflect.FileDescriptor
var StaffService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "staff.v1.StaffService", HandlerType: (*StaffServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _StaffService_Create_Handler, }, { MethodName: "ReadById", Handler: _StaffService_ReadById_Handler, }, { MethodName: "ReadAll", Handler: _StaffService_ReadAll_Handler, }, { MethodName: "Update", Handler: _StaffService_Update_Handler, }, { MethodName: "Delete", Handler: _StaffService_Delete_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "staff/v1/service.proto", }
StaffService_ServiceDesc is the grpc.ServiceDesc for StaffService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterStaffServiceServer ¶
func RegisterStaffServiceServer(s grpc.ServiceRegistrar, srv StaffServiceServer)
Types ¶
type CreateRequest ¶
type CreateRequest struct { GivenNames string `protobuf:"bytes,1,opt,name=givenNames,proto3" json:"givenNames,omitempty"` FamilyName string `protobuf:"bytes,2,opt,name=familyName,proto3" json:"familyName,omitempty"` Profession string `protobuf:"bytes,3,opt,name=profession,proto3" json:"profession,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` Region string `protobuf:"bytes,5,opt,name=region,proto3" json:"region,omitempty"` Chiefdom string `protobuf:"bytes,6,opt,name=chiefdom,proto3" json:"chiefdom,omitempty"` District string `protobuf:"bytes,7,opt,name=district,proto3" json:"district,omitempty"` City string `protobuf:"bytes,8,opt,name=city,proto3" json:"city,omitempty"` Street string `protobuf:"bytes,9,opt,name=street,proto3" json:"street,omitempty"` Phone string `protobuf:"bytes,10,opt,name=phone,proto3" json:"phone,omitempty"` // contains filtered or unexported fields }
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetChiefdom ¶
func (x *CreateRequest) GetChiefdom() string
func (*CreateRequest) GetCity ¶
func (x *CreateRequest) GetCity() string
func (*CreateRequest) GetDistrict ¶
func (x *CreateRequest) GetDistrict() string
func (*CreateRequest) GetEmail ¶
func (x *CreateRequest) GetEmail() string
func (*CreateRequest) GetFamilyName ¶
func (x *CreateRequest) GetFamilyName() string
func (*CreateRequest) GetGivenNames ¶
func (x *CreateRequest) GetGivenNames() string
func (*CreateRequest) GetPhone ¶
func (x *CreateRequest) GetPhone() string
func (*CreateRequest) GetProfession ¶
func (x *CreateRequest) GetProfession() string
func (*CreateRequest) GetRegion ¶
func (x *CreateRequest) GetRegion() string
func (*CreateRequest) GetStreet ¶
func (x *CreateRequest) GetStreet() string
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) ProtoReflect ¶
func (x *CreateRequest) ProtoReflect() protoreflect.Message
func (*CreateRequest) Reset ¶
func (x *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (x *CreateRequest) String() string
type CreateResponse ¶
type CreateResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Record *Staff `protobuf:"bytes,2,opt,name=record,proto3" json:"record,omitempty"` // contains filtered or unexported fields }
func (*CreateResponse) Descriptor
deprecated
func (*CreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.
func (*CreateResponse) GetMessage ¶
func (x *CreateResponse) GetMessage() string
func (*CreateResponse) GetRecord ¶
func (x *CreateResponse) GetRecord() *Staff
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) ProtoReflect ¶
func (x *CreateResponse) ProtoReflect() protoreflect.Message
func (*CreateResponse) Reset ¶
func (x *CreateResponse) Reset()
func (*CreateResponse) String ¶
func (x *CreateResponse) String() string
type DeleteRequest ¶
type DeleteRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteRequest) Descriptor
deprecated
func (*DeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
func (*DeleteRequest) GetId ¶
func (x *DeleteRequest) GetId() string
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) ProtoReflect ¶
func (x *DeleteRequest) ProtoReflect() protoreflect.Message
func (*DeleteRequest) Reset ¶
func (x *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (x *DeleteRequest) String() string
type DeleteResponse ¶
type DeleteResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Record *Staff `protobuf:"bytes,2,opt,name=record,proto3" json:"record,omitempty"` // contains filtered or unexported fields }
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) GetMessage ¶
func (x *DeleteResponse) GetMessage() string
func (*DeleteResponse) GetRecord ¶
func (x *DeleteResponse) GetRecord() *Staff
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶
func (x *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (x *DeleteResponse) String() string
type ReadAllRequest ¶
type ReadAllRequest struct { Query *v1.Query `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` // contains filtered or unexported fields }
func (*ReadAllRequest) Descriptor
deprecated
func (*ReadAllRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadAllRequest.ProtoReflect.Descriptor instead.
func (*ReadAllRequest) GetQuery ¶
func (x *ReadAllRequest) GetQuery() *v1.Query
func (*ReadAllRequest) ProtoMessage ¶
func (*ReadAllRequest) ProtoMessage()
func (*ReadAllRequest) ProtoReflect ¶
func (x *ReadAllRequest) ProtoReflect() protoreflect.Message
func (*ReadAllRequest) Reset ¶
func (x *ReadAllRequest) Reset()
func (*ReadAllRequest) String ¶
func (x *ReadAllRequest) String() string
type ReadAllResponse ¶
type ReadAllResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Option *v1.Options `protobuf:"bytes,2,opt,name=option,proto3" json:"option,omitempty"` Records []*Staff `protobuf:"bytes,3,rep,name=records,proto3" json:"records,omitempty"` // contains filtered or unexported fields }
func (*ReadAllResponse) Descriptor
deprecated
func (*ReadAllResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadAllResponse.ProtoReflect.Descriptor instead.
func (*ReadAllResponse) GetMessage ¶
func (x *ReadAllResponse) GetMessage() string
func (*ReadAllResponse) GetOption ¶
func (x *ReadAllResponse) GetOption() *v1.Options
func (*ReadAllResponse) GetRecords ¶
func (x *ReadAllResponse) GetRecords() []*Staff
func (*ReadAllResponse) ProtoMessage ¶
func (*ReadAllResponse) ProtoMessage()
func (*ReadAllResponse) ProtoReflect ¶
func (x *ReadAllResponse) ProtoReflect() protoreflect.Message
func (*ReadAllResponse) Reset ¶
func (x *ReadAllResponse) Reset()
func (*ReadAllResponse) String ¶
func (x *ReadAllResponse) String() string
type ReadByIdRequest ¶
type ReadByIdRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ReadByIdRequest) Descriptor
deprecated
func (*ReadByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadByIdRequest.ProtoReflect.Descriptor instead.
func (*ReadByIdRequest) GetId ¶
func (x *ReadByIdRequest) GetId() string
func (*ReadByIdRequest) ProtoMessage ¶
func (*ReadByIdRequest) ProtoMessage()
func (*ReadByIdRequest) ProtoReflect ¶
func (x *ReadByIdRequest) ProtoReflect() protoreflect.Message
func (*ReadByIdRequest) Reset ¶
func (x *ReadByIdRequest) Reset()
func (*ReadByIdRequest) String ¶
func (x *ReadByIdRequest) String() string
type ReadByIdResponse ¶
type ReadByIdResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Records []*v1.Option `protobuf:"bytes,2,rep,name=records,proto3" json:"records,omitempty"` // contains filtered or unexported fields }
func (*ReadByIdResponse) Descriptor
deprecated
func (*ReadByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadByIdResponse.ProtoReflect.Descriptor instead.
func (*ReadByIdResponse) GetMessage ¶
func (x *ReadByIdResponse) GetMessage() string
func (*ReadByIdResponse) GetRecords ¶
func (x *ReadByIdResponse) GetRecords() []*v1.Option
func (*ReadByIdResponse) ProtoMessage ¶
func (*ReadByIdResponse) ProtoMessage()
func (*ReadByIdResponse) ProtoReflect ¶
func (x *ReadByIdResponse) ProtoReflect() protoreflect.Message
func (*ReadByIdResponse) Reset ¶
func (x *ReadByIdResponse) Reset()
func (*ReadByIdResponse) String ¶
func (x *ReadByIdResponse) String() string
type Staff ¶
type Staff struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` GivenNames string `protobuf:"bytes,2,opt,name=givenNames,proto3" json:"givenNames,omitempty"` FamilyName string `protobuf:"bytes,3,opt,name=familyName,proto3" json:"familyName,omitempty"` Profession string `protobuf:"bytes,4,opt,name=profession,proto3" json:"profession,omitempty"` Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` Region string `protobuf:"bytes,6,opt,name=region,proto3" json:"region,omitempty"` Chiefdom string `protobuf:"bytes,7,opt,name=chiefdom,proto3" json:"chiefdom,omitempty"` District string `protobuf:"bytes,8,opt,name=district,proto3" json:"district,omitempty"` City string `protobuf:"bytes,9,opt,name=city,proto3" json:"city,omitempty"` Street string `protobuf:"bytes,10,opt,name=street,proto3" json:"street,omitempty"` Phones []*v1.Phone `protobuf:"bytes,11,rep,name=phones,proto3" json:"phones,omitempty"` State string `protobuf:"bytes,12,opt,name=state,proto3" json:"state,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // contains filtered or unexported fields }
func (*Staff) Descriptor
deprecated
func (*Staff) GetChiefdom ¶
func (*Staff) GetCreatedAt ¶
func (x *Staff) GetCreatedAt() *timestamppb.Timestamp
func (*Staff) GetDistrict ¶
func (*Staff) GetFamilyName ¶
func (*Staff) GetGivenNames ¶
func (*Staff) GetProfession ¶
func (*Staff) GetUpdatedAt ¶
func (x *Staff) GetUpdatedAt() *timestamppb.Timestamp
func (*Staff) ProtoMessage ¶
func (*Staff) ProtoMessage()
func (*Staff) ProtoReflect ¶
func (x *Staff) ProtoReflect() protoreflect.Message
type StaffServiceClient ¶
type StaffServiceClient interface { Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) ReadById(ctx context.Context, in *ReadByIdRequest, opts ...grpc.CallOption) (*ReadByIdResponse, error) ReadAll(ctx context.Context, in *ReadAllRequest, opts ...grpc.CallOption) (*ReadAllResponse, error) Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) }
StaffServiceClient is the client API for StaffService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewStaffServiceClient ¶
func NewStaffServiceClient(cc grpc.ClientConnInterface) StaffServiceClient
type StaffServiceServer ¶
type StaffServiceServer interface { Create(context.Context, *CreateRequest) (*CreateResponse, error) ReadById(context.Context, *ReadByIdRequest) (*ReadByIdResponse, error) ReadAll(context.Context, *ReadAllRequest) (*ReadAllResponse, error) Update(context.Context, *UpdateRequest) (*UpdateResponse, error) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) }
StaffServiceServer is the server API for StaffService service. All implementations should embed UnimplementedStaffServiceServer for forward compatibility.
type UnimplementedStaffServiceServer ¶
type UnimplementedStaffServiceServer struct{}
UnimplementedStaffServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedStaffServiceServer) Create ¶
func (UnimplementedStaffServiceServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
func (UnimplementedStaffServiceServer) Delete ¶
func (UnimplementedStaffServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
func (UnimplementedStaffServiceServer) ReadAll ¶
func (UnimplementedStaffServiceServer) ReadAll(context.Context, *ReadAllRequest) (*ReadAllResponse, error)
func (UnimplementedStaffServiceServer) ReadById ¶
func (UnimplementedStaffServiceServer) ReadById(context.Context, *ReadByIdRequest) (*ReadByIdResponse, error)
func (UnimplementedStaffServiceServer) Update ¶
func (UnimplementedStaffServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
type UnsafeStaffServiceServer ¶
type UnsafeStaffServiceServer interface {
// contains filtered or unexported methods
}
UnsafeStaffServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StaffServiceServer will result in compilation errors.
type UpdateRequest ¶
type UpdateRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` GivenNames string `protobuf:"bytes,2,opt,name=givenNames,proto3" json:"givenNames,omitempty"` FamilyName string `protobuf:"bytes,3,opt,name=familyName,proto3" json:"familyName,omitempty"` Profession string `protobuf:"bytes,4,opt,name=profession,proto3" json:"profession,omitempty"` Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` Region string `protobuf:"bytes,6,opt,name=region,proto3" json:"region,omitempty"` Chiefdom string `protobuf:"bytes,7,opt,name=chiefdom,proto3" json:"chiefdom,omitempty"` District string `protobuf:"bytes,8,opt,name=district,proto3" json:"district,omitempty"` City string `protobuf:"bytes,9,opt,name=city,proto3" json:"city,omitempty"` Street string `protobuf:"bytes,10,opt,name=street,proto3" json:"street,omitempty"` // contains filtered or unexported fields }
func (*UpdateRequest) Descriptor
deprecated
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetChiefdom ¶
func (x *UpdateRequest) GetChiefdom() string
func (*UpdateRequest) GetCity ¶
func (x *UpdateRequest) GetCity() string
func (*UpdateRequest) GetDistrict ¶
func (x *UpdateRequest) GetDistrict() string
func (*UpdateRequest) GetEmail ¶
func (x *UpdateRequest) GetEmail() string
func (*UpdateRequest) GetFamilyName ¶
func (x *UpdateRequest) GetFamilyName() string
func (*UpdateRequest) GetGivenNames ¶
func (x *UpdateRequest) GetGivenNames() string
func (*UpdateRequest) GetId ¶
func (x *UpdateRequest) GetId() string
func (*UpdateRequest) GetProfession ¶
func (x *UpdateRequest) GetProfession() string
func (*UpdateRequest) GetRegion ¶
func (x *UpdateRequest) GetRegion() string
func (*UpdateRequest) GetStreet ¶
func (x *UpdateRequest) GetStreet() string
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) ProtoReflect ¶
func (x *UpdateRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequest) Reset ¶
func (x *UpdateRequest) Reset()
func (*UpdateRequest) String ¶
func (x *UpdateRequest) String() string
type UpdateResponse ¶
type UpdateResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Record *Staff `protobuf:"bytes,2,opt,name=record,proto3" json:"record,omitempty"` // contains filtered or unexported fields }
func (*UpdateResponse) Descriptor
deprecated
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) GetMessage ¶
func (x *UpdateResponse) GetMessage() string
func (*UpdateResponse) GetRecord ¶
func (x *UpdateResponse) GetRecord() *Staff
func (*UpdateResponse) ProtoMessage ¶
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) ProtoReflect ¶
func (x *UpdateResponse) ProtoReflect() protoreflect.Message
func (*UpdateResponse) Reset ¶
func (x *UpdateResponse) Reset()
func (*UpdateResponse) String ¶
func (x *UpdateResponse) String() string