Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterGuardianServiceServer(s grpc.ServiceRegistrar, srv GuardianServiceServer)
- 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) GetPhones() []*v1.Phone
- 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() *Guardian
- 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() *Guardian
- func (*DeleteResponse) ProtoMessage()
- func (x *DeleteResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteResponse) Reset()
- func (x *DeleteResponse) String() string
- type Guardian
- func (*Guardian) Descriptor() ([]byte, []int)deprecated
- func (x *Guardian) GetChiefdom() string
- func (x *Guardian) GetCity() string
- func (x *Guardian) GetCreatedAt() *timestamppb.Timestamp
- func (x *Guardian) GetDistrict() string
- func (x *Guardian) GetEmail() string
- func (x *Guardian) GetFamilyName() string
- func (x *Guardian) GetGivenNames() string
- func (x *Guardian) GetId() string
- func (x *Guardian) GetPhones() []*v1.Phone
- func (x *Guardian) GetProfession() string
- func (x *Guardian) GetRegion() string
- func (x *Guardian) GetState() string
- func (x *Guardian) GetStreet() string
- func (x *Guardian) GetUpdatedAt() *timestamppb.Timestamp
- func (*Guardian) ProtoMessage()
- func (x *Guardian) ProtoReflect() protoreflect.Message
- func (x *Guardian) Reset()
- func (x *Guardian) String() string
- type GuardianServiceClient
- type GuardianServiceServer
- 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() []*Guardian
- 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) GetRecord() *Guardian
- func (*ReadByIdResponse) ProtoMessage()
- func (x *ReadByIdResponse) ProtoReflect() protoreflect.Message
- func (x *ReadByIdResponse) Reset()
- func (x *ReadByIdResponse) String() string
- type ReadListRequest
- type ReadListResponse
- func (*ReadListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadListResponse) GetMessage() string
- func (x *ReadListResponse) GetRecords() []*v1.Reference
- func (*ReadListResponse) ProtoMessage()
- func (x *ReadListResponse) ProtoReflect() protoreflect.Message
- func (x *ReadListResponse) Reset()
- func (x *ReadListResponse) String() string
- type UnimplementedGuardianServiceServer
- func (UnimplementedGuardianServiceServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
- func (UnimplementedGuardianServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
- func (UnimplementedGuardianServiceServer) ReadAll(context.Context, *ReadAllRequest) (*ReadAllResponse, error)
- func (UnimplementedGuardianServiceServer) ReadById(context.Context, *ReadByIdRequest) (*ReadByIdResponse, error)
- func (UnimplementedGuardianServiceServer) ReadList(context.Context, *ReadListRequest) (*ReadListResponse, error)
- func (UnimplementedGuardianServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
- type UnsafeGuardianServiceServer
- 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() *Guardian
- func (*UpdateResponse) ProtoMessage()
- func (x *UpdateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateResponse) Reset()
- func (x *UpdateResponse) String() string
Constants ¶
const ( GuardianService_Create_FullMethodName = "/guardian.v1.GuardianService/Create" GuardianService_ReadById_FullMethodName = "/guardian.v1.GuardianService/ReadById" GuardianService_ReadAll_FullMethodName = "/guardian.v1.GuardianService/ReadAll" GuardianService_ReadList_FullMethodName = "/guardian.v1.GuardianService/ReadList" GuardianService_Update_FullMethodName = "/guardian.v1.GuardianService/Update" GuardianService_Delete_FullMethodName = "/guardian.v1.GuardianService/Delete" )
Variables ¶
var File_guardian_v1_data_proto protoreflect.FileDescriptor
var File_guardian_v1_service_proto protoreflect.FileDescriptor
var GuardianService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "guardian.v1.GuardianService", HandlerType: (*GuardianServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _GuardianService_Create_Handler, }, { MethodName: "ReadById", Handler: _GuardianService_ReadById_Handler, }, { MethodName: "ReadAll", Handler: _GuardianService_ReadAll_Handler, }, { MethodName: "ReadList", Handler: _GuardianService_ReadList_Handler, }, { MethodName: "Update", Handler: _GuardianService_Update_Handler, }, { MethodName: "Delete", Handler: _GuardianService_Delete_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "guardian/v1/service.proto", }
GuardianService_ServiceDesc is the grpc.ServiceDesc for GuardianService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterGuardianServiceServer ¶
func RegisterGuardianServiceServer(s grpc.ServiceRegistrar, srv GuardianServiceServer)
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"` Phones []*v1.Phone `protobuf:"bytes,10,rep,name=phones,proto3" json:"phones,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) GetPhones ¶
func (x *CreateRequest) GetPhones() []*v1.Phone
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 *Guardian `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() *Guardian
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 *Guardian `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() *Guardian
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 Guardian ¶
type Guardian 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"` State string `protobuf:"bytes,11,opt,name=state,proto3" json:"state,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` Phones []*v1.Phone `protobuf:"bytes,14,rep,name=phones,proto3" json:"phones,omitempty"` // contains filtered or unexported fields }
func (*Guardian) Descriptor
deprecated
func (*Guardian) GetChiefdom ¶
func (*Guardian) GetCreatedAt ¶
func (x *Guardian) GetCreatedAt() *timestamppb.Timestamp
func (*Guardian) GetDistrict ¶
func (*Guardian) GetFamilyName ¶
func (*Guardian) GetGivenNames ¶
func (*Guardian) GetProfession ¶
func (*Guardian) GetUpdatedAt ¶
func (x *Guardian) GetUpdatedAt() *timestamppb.Timestamp
func (*Guardian) ProtoMessage ¶
func (*Guardian) ProtoMessage()
func (*Guardian) ProtoReflect ¶
func (x *Guardian) ProtoReflect() protoreflect.Message
type GuardianServiceClient ¶
type GuardianServiceClient 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) ReadList(ctx context.Context, in *ReadListRequest, opts ...grpc.CallOption) (*ReadListResponse, error) Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error) }
GuardianServiceClient is the client API for GuardianService 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 NewGuardianServiceClient ¶
func NewGuardianServiceClient(cc grpc.ClientConnInterface) GuardianServiceClient
type GuardianServiceServer ¶
type GuardianServiceServer interface { Create(context.Context, *CreateRequest) (*CreateResponse, error) ReadById(context.Context, *ReadByIdRequest) (*ReadByIdResponse, error) ReadAll(context.Context, *ReadAllRequest) (*ReadAllResponse, error) ReadList(context.Context, *ReadListRequest) (*ReadListResponse, error) Update(context.Context, *UpdateRequest) (*UpdateResponse, error) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error) }
GuardianServiceServer is the server API for GuardianService service. All implementations should embed UnimplementedGuardianServiceServer for forward compatibility.
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 []*Guardian `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() []*Guardian
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"` Record *Guardian `protobuf:"bytes,2,opt,name=record,proto3" json:"record,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) GetRecord ¶
func (x *ReadByIdResponse) GetRecord() *Guardian
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 ReadListRequest ¶
type ReadListRequest struct {
// contains filtered or unexported fields
}
func (*ReadListRequest) Descriptor
deprecated
func (*ReadListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadListRequest.ProtoReflect.Descriptor instead.
func (*ReadListRequest) ProtoMessage ¶
func (*ReadListRequest) ProtoMessage()
func (*ReadListRequest) ProtoReflect ¶
func (x *ReadListRequest) ProtoReflect() protoreflect.Message
func (*ReadListRequest) Reset ¶
func (x *ReadListRequest) Reset()
func (*ReadListRequest) String ¶
func (x *ReadListRequest) String() string
type ReadListResponse ¶
type ReadListResponse struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Records []*v1.Reference `protobuf:"bytes,2,rep,name=records,proto3" json:"records,omitempty"` // contains filtered or unexported fields }
func (*ReadListResponse) Descriptor
deprecated
func (*ReadListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadListResponse.ProtoReflect.Descriptor instead.
func (*ReadListResponse) GetMessage ¶
func (x *ReadListResponse) GetMessage() string
func (*ReadListResponse) GetRecords ¶
func (x *ReadListResponse) GetRecords() []*v1.Reference
func (*ReadListResponse) ProtoMessage ¶
func (*ReadListResponse) ProtoMessage()
func (*ReadListResponse) ProtoReflect ¶
func (x *ReadListResponse) ProtoReflect() protoreflect.Message
func (*ReadListResponse) Reset ¶
func (x *ReadListResponse) Reset()
func (*ReadListResponse) String ¶
func (x *ReadListResponse) String() string
type UnimplementedGuardianServiceServer ¶
type UnimplementedGuardianServiceServer struct{}
UnimplementedGuardianServiceServer 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 (UnimplementedGuardianServiceServer) Create ¶
func (UnimplementedGuardianServiceServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
func (UnimplementedGuardianServiceServer) Delete ¶
func (UnimplementedGuardianServiceServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
func (UnimplementedGuardianServiceServer) ReadAll ¶
func (UnimplementedGuardianServiceServer) ReadAll(context.Context, *ReadAllRequest) (*ReadAllResponse, error)
func (UnimplementedGuardianServiceServer) ReadById ¶
func (UnimplementedGuardianServiceServer) ReadById(context.Context, *ReadByIdRequest) (*ReadByIdResponse, error)
func (UnimplementedGuardianServiceServer) ReadList ¶
func (UnimplementedGuardianServiceServer) ReadList(context.Context, *ReadListRequest) (*ReadListResponse, error)
func (UnimplementedGuardianServiceServer) Update ¶
func (UnimplementedGuardianServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
type UnsafeGuardianServiceServer ¶
type UnsafeGuardianServiceServer interface {
// contains filtered or unexported methods
}
UnsafeGuardianServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GuardianServiceServer 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 *Guardian `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() *Guardian
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