Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: /home/j/code/antinvestor/apis/profile/v1/profile_grpc.pb.go
Generated by this command:
mockgen -source=/home/j/code/antinvestor/apis/profile/v1/profile_grpc.pb.go -self_package=github.com/antinvestor/apis/profile/v1 -package=profilev1 -destination=/home/j/code/antinvestor/apis/profile/v1/profile_grpc_mock.go
Package profilev1 is a generated GoMock package.
Index ¶
- Constants
- Variables
- func RegisterProfileServiceServer(s grpc.ServiceRegistrar, srv ProfileServiceServer)
- func ToContext(ctx context.Context, profileClient *ProfileClient) context.Context
- type AddAddressRequest
- func (*AddAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddAddressRequest) GetAddress() *AddressObject
- func (x *AddAddressRequest) GetId() string
- func (*AddAddressRequest) ProtoMessage()
- func (x *AddAddressRequest) ProtoReflect() protoreflect.Message
- func (x *AddAddressRequest) Reset()
- func (x *AddAddressRequest) String() string
- type AddAddressResponse
- func (*AddAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddAddressResponse) GetData() *ProfileObject
- func (*AddAddressResponse) ProtoMessage()
- func (x *AddAddressResponse) ProtoReflect() protoreflect.Message
- func (x *AddAddressResponse) Reset()
- func (x *AddAddressResponse) String() string
- type AddContactRequest
- func (*AddContactRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddContactRequest) GetContact() string
- func (x *AddContactRequest) GetId() string
- func (*AddContactRequest) ProtoMessage()
- func (x *AddContactRequest) ProtoReflect() protoreflect.Message
- func (x *AddContactRequest) Reset()
- func (x *AddContactRequest) String() string
- type AddContactResponse
- func (*AddContactResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddContactResponse) GetData() *ProfileObject
- func (*AddContactResponse) ProtoMessage()
- func (x *AddContactResponse) ProtoReflect() protoreflect.Message
- func (x *AddContactResponse) Reset()
- func (x *AddContactResponse) String() string
- type AddRelationshipRequest
- func (*AddRelationshipRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddRelationshipRequest) GetChild() string
- func (x *AddRelationshipRequest) GetChildId() string
- func (x *AddRelationshipRequest) GetId() string
- func (x *AddRelationshipRequest) GetParent() string
- func (x *AddRelationshipRequest) GetParentId() string
- func (x *AddRelationshipRequest) GetProperties() map[string]string
- func (x *AddRelationshipRequest) GetType() RelationshipType
- func (*AddRelationshipRequest) ProtoMessage()
- func (x *AddRelationshipRequest) ProtoReflect() protoreflect.Message
- func (x *AddRelationshipRequest) Reset()
- func (x *AddRelationshipRequest) String() string
- type AddRelationshipResponse
- func (*AddRelationshipResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddRelationshipResponse) GetData() *RelationshipObject
- func (*AddRelationshipResponse) ProtoMessage()
- func (x *AddRelationshipResponse) ProtoReflect() protoreflect.Message
- func (x *AddRelationshipResponse) Reset()
- func (x *AddRelationshipResponse) String() string
- type AddressObject
- func (*AddressObject) Descriptor() ([]byte, []int)deprecated
- func (x *AddressObject) GetArea() string
- func (x *AddressObject) GetCity() string
- func (x *AddressObject) GetCountry() string
- func (x *AddressObject) GetExtra() string
- func (x *AddressObject) GetHouse() string
- func (x *AddressObject) GetId() string
- func (x *AddressObject) GetLatitude() float64
- func (x *AddressObject) GetLongitude() float64
- func (x *AddressObject) GetName() string
- func (x *AddressObject) GetPostcode() string
- func (x *AddressObject) GetStreet() string
- func (*AddressObject) ProtoMessage()
- func (x *AddressObject) ProtoReflect() protoreflect.Message
- func (x *AddressObject) Reset()
- func (x *AddressObject) String() string
- type CommunicationLevel
- func (CommunicationLevel) Descriptor() protoreflect.EnumDescriptor
- func (x CommunicationLevel) Enum() *CommunicationLevel
- func (CommunicationLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x CommunicationLevel) Number() protoreflect.EnumNumber
- func (x CommunicationLevel) String() string
- func (CommunicationLevel) Type() protoreflect.EnumType
- type ContactObject
- func (*ContactObject) Descriptor() ([]byte, []int)deprecated
- func (x *ContactObject) GetCommunicationLevel() CommunicationLevel
- func (x *ContactObject) GetDetail() string
- func (x *ContactObject) GetId() string
- func (x *ContactObject) GetState() v1.STATE
- func (x *ContactObject) GetType() ContactType
- func (x *ContactObject) GetVerified() bool
- func (*ContactObject) ProtoMessage()
- func (x *ContactObject) ProtoReflect() protoreflect.Message
- func (x *ContactObject) Reset()
- func (x *ContactObject) String() string
- type ContactType
- func (ContactType) Descriptor() protoreflect.EnumDescriptor
- func (x ContactType) Enum() *ContactType
- func (ContactType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContactType) Number() protoreflect.EnumNumber
- func (x ContactType) String() string
- func (ContactType) Type() protoreflect.EnumType
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRequest) GetContact() string
- func (x *CreateRequest) GetProperties() map[string]string
- func (x *CreateRequest) GetType() ProfileType
- func (*CreateRequest) ProtoMessage()
- func (x *CreateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRequest) Reset()
- func (x *CreateRequest) String() string
- type CreateResponse
- type DeleteRelationshipRequest
- func (*DeleteRelationshipRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRelationshipRequest) GetId() string
- func (x *DeleteRelationshipRequest) GetParentId() string
- func (*DeleteRelationshipRequest) ProtoMessage()
- func (x *DeleteRelationshipRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteRelationshipRequest) Reset()
- func (x *DeleteRelationshipRequest) String() string
- type DeleteRelationshipResponse
- func (*DeleteRelationshipResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRelationshipResponse) GetData() *RelationshipObject
- func (*DeleteRelationshipResponse) ProtoMessage()
- func (x *DeleteRelationshipResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteRelationshipResponse) Reset()
- func (x *DeleteRelationshipResponse) String() string
- type GetByContactRequest
- func (*GetByContactRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetByContactRequest) GetContact() string
- func (*GetByContactRequest) ProtoMessage()
- func (x *GetByContactRequest) ProtoReflect() protoreflect.Message
- func (x *GetByContactRequest) Reset()
- func (x *GetByContactRequest) String() string
- type GetByContactResponse
- func (*GetByContactResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetByContactResponse) GetData() *ProfileObject
- func (*GetByContactResponse) ProtoMessage()
- func (x *GetByContactResponse) ProtoReflect() protoreflect.Message
- func (x *GetByContactResponse) Reset()
- func (x *GetByContactResponse) String() string
- type GetByIdRequest
- type GetByIdResponse
- type ListRelationshipRequest
- func (*ListRelationshipRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRelationshipRequest) GetCount() int32
- func (x *ListRelationshipRequest) GetLastRelationshipId() string
- func (x *ListRelationshipRequest) GetParent() string
- func (x *ListRelationshipRequest) GetParentId() string
- func (x *ListRelationshipRequest) GetRelatedChildrenId() []string
- func (*ListRelationshipRequest) ProtoMessage()
- func (x *ListRelationshipRequest) ProtoReflect() protoreflect.Message
- func (x *ListRelationshipRequest) Reset()
- func (x *ListRelationshipRequest) String() string
- type ListRelationshipResponse
- func (*ListRelationshipResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRelationshipResponse) GetData() []*RelationshipObject
- func (*ListRelationshipResponse) ProtoMessage()
- func (x *ListRelationshipResponse) ProtoReflect() protoreflect.Message
- func (x *ListRelationshipResponse) Reset()
- func (x *ListRelationshipResponse) String() string
- type MergeRequest
- func (*MergeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MergeRequest) GetId() string
- func (x *MergeRequest) GetMergeid() string
- func (*MergeRequest) ProtoMessage()
- func (x *MergeRequest) ProtoReflect() protoreflect.Message
- func (x *MergeRequest) Reset()
- func (x *MergeRequest) String() string
- type MergeResponse
- type MockProfileServiceClient
- func (m *MockProfileServiceClient) AddAddress(ctx context.Context, in *AddAddressRequest, opts ...grpc.CallOption) (*AddAddressResponse, error)
- func (m *MockProfileServiceClient) AddContact(ctx context.Context, in *AddContactRequest, opts ...grpc.CallOption) (*AddContactResponse, error)
- func (m *MockProfileServiceClient) AddRelationship(ctx context.Context, in *AddRelationshipRequest, opts ...grpc.CallOption) (*AddRelationshipResponse, error)
- func (m *MockProfileServiceClient) Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error)
- func (m *MockProfileServiceClient) DeleteRelationship(ctx context.Context, in *DeleteRelationshipRequest, opts ...grpc.CallOption) (*DeleteRelationshipResponse, error)
- func (m *MockProfileServiceClient) EXPECT() *MockProfileServiceClientMockRecorder
- func (m *MockProfileServiceClient) GetByContact(ctx context.Context, in *GetByContactRequest, opts ...grpc.CallOption) (*GetByContactResponse, error)
- func (m *MockProfileServiceClient) GetById(ctx context.Context, in *GetByIdRequest, opts ...grpc.CallOption) (*GetByIdResponse, error)
- func (m *MockProfileServiceClient) ListRelationship(ctx context.Context, in *ListRelationshipRequest, opts ...grpc.CallOption) (ProfileService_ListRelationshipClient, error)
- func (m *MockProfileServiceClient) Merge(ctx context.Context, in *MergeRequest, opts ...grpc.CallOption) (*MergeResponse, error)
- func (m *MockProfileServiceClient) Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (ProfileService_SearchClient, error)
- func (m *MockProfileServiceClient) Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
- type MockProfileServiceClientMockRecorder
- func (mr *MockProfileServiceClientMockRecorder) AddAddress(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockProfileServiceClientMockRecorder) AddContact(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockProfileServiceClientMockRecorder) AddRelationship(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockProfileServiceClientMockRecorder) Create(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockProfileServiceClientMockRecorder) DeleteRelationship(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockProfileServiceClientMockRecorder) GetByContact(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockProfileServiceClientMockRecorder) GetById(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockProfileServiceClientMockRecorder) ListRelationship(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockProfileServiceClientMockRecorder) Merge(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockProfileServiceClientMockRecorder) Search(ctx, in any, opts ...any) *gomock.Call
- func (mr *MockProfileServiceClientMockRecorder) Update(ctx, in any, opts ...any) *gomock.Call
- type MockProfileServiceServer
- func (m *MockProfileServiceServer) AddAddress(arg0 context.Context, arg1 *AddAddressRequest) (*AddAddressResponse, error)
- func (m *MockProfileServiceServer) AddContact(arg0 context.Context, arg1 *AddContactRequest) (*AddContactResponse, error)
- func (m *MockProfileServiceServer) AddRelationship(arg0 context.Context, arg1 *AddRelationshipRequest) (*AddRelationshipResponse, error)
- func (m *MockProfileServiceServer) Create(arg0 context.Context, arg1 *CreateRequest) (*CreateResponse, error)
- func (m *MockProfileServiceServer) DeleteRelationship(arg0 context.Context, arg1 *DeleteRelationshipRequest) (*DeleteRelationshipResponse, error)
- func (m *MockProfileServiceServer) EXPECT() *MockProfileServiceServerMockRecorder
- func (m *MockProfileServiceServer) GetByContact(arg0 context.Context, arg1 *GetByContactRequest) (*GetByContactResponse, error)
- func (m *MockProfileServiceServer) GetById(arg0 context.Context, arg1 *GetByIdRequest) (*GetByIdResponse, error)
- func (m *MockProfileServiceServer) ListRelationship(arg0 *ListRelationshipRequest, arg1 ProfileService_ListRelationshipServer) error
- func (m *MockProfileServiceServer) Merge(arg0 context.Context, arg1 *MergeRequest) (*MergeResponse, error)
- func (m *MockProfileServiceServer) Search(arg0 *SearchRequest, arg1 ProfileService_SearchServer) error
- func (m *MockProfileServiceServer) Update(arg0 context.Context, arg1 *UpdateRequest) (*UpdateResponse, error)
- type MockProfileServiceServerMockRecorder
- func (mr *MockProfileServiceServerMockRecorder) AddAddress(arg0, arg1 any) *gomock.Call
- func (mr *MockProfileServiceServerMockRecorder) AddContact(arg0, arg1 any) *gomock.Call
- func (mr *MockProfileServiceServerMockRecorder) AddRelationship(arg0, arg1 any) *gomock.Call
- func (mr *MockProfileServiceServerMockRecorder) Create(arg0, arg1 any) *gomock.Call
- func (mr *MockProfileServiceServerMockRecorder) DeleteRelationship(arg0, arg1 any) *gomock.Call
- func (mr *MockProfileServiceServerMockRecorder) GetByContact(arg0, arg1 any) *gomock.Call
- func (mr *MockProfileServiceServerMockRecorder) GetById(arg0, arg1 any) *gomock.Call
- func (mr *MockProfileServiceServerMockRecorder) ListRelationship(arg0, arg1 any) *gomock.Call
- func (mr *MockProfileServiceServerMockRecorder) Merge(arg0, arg1 any) *gomock.Call
- func (mr *MockProfileServiceServerMockRecorder) Search(arg0, arg1 any) *gomock.Call
- func (mr *MockProfileServiceServerMockRecorder) Update(arg0, arg1 any) *gomock.Call
- type MockProfileService_ListRelationshipClient
- func (m *MockProfileService_ListRelationshipClient) CloseSend() error
- func (m *MockProfileService_ListRelationshipClient) Context() context.Context
- func (m *MockProfileService_ListRelationshipClient) EXPECT() *MockProfileService_ListRelationshipClientMockRecorder
- func (m *MockProfileService_ListRelationshipClient) Header() (metadata.MD, error)
- func (m *MockProfileService_ListRelationshipClient) Recv() (*ListRelationshipResponse, error)
- func (m_2 *MockProfileService_ListRelationshipClient) RecvMsg(m any) error
- func (m_2 *MockProfileService_ListRelationshipClient) SendMsg(m any) error
- func (m *MockProfileService_ListRelationshipClient) Trailer() metadata.MD
- type MockProfileService_ListRelationshipClientMockRecorder
- func (mr *MockProfileService_ListRelationshipClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockProfileService_ListRelationshipClientMockRecorder) Context() *gomock.Call
- func (mr *MockProfileService_ListRelationshipClientMockRecorder) Header() *gomock.Call
- func (mr *MockProfileService_ListRelationshipClientMockRecorder) Recv() *gomock.Call
- func (mr *MockProfileService_ListRelationshipClientMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockProfileService_ListRelationshipClientMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockProfileService_ListRelationshipClientMockRecorder) Trailer() *gomock.Call
- type MockProfileService_ListRelationshipServer
- func (m *MockProfileService_ListRelationshipServer) Context() context.Context
- func (m *MockProfileService_ListRelationshipServer) EXPECT() *MockProfileService_ListRelationshipServerMockRecorder
- func (m_2 *MockProfileService_ListRelationshipServer) RecvMsg(m any) error
- func (m *MockProfileService_ListRelationshipServer) Send(arg0 *ListRelationshipResponse) error
- func (m *MockProfileService_ListRelationshipServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockProfileService_ListRelationshipServer) SendMsg(m any) error
- func (m *MockProfileService_ListRelationshipServer) SetHeader(arg0 metadata.MD) error
- func (m *MockProfileService_ListRelationshipServer) SetTrailer(arg0 metadata.MD)
- type MockProfileService_ListRelationshipServerMockRecorder
- func (mr *MockProfileService_ListRelationshipServerMockRecorder) Context() *gomock.Call
- func (mr *MockProfileService_ListRelationshipServerMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockProfileService_ListRelationshipServerMockRecorder) Send(arg0 any) *gomock.Call
- func (mr *MockProfileService_ListRelationshipServerMockRecorder) SendHeader(arg0 any) *gomock.Call
- func (mr *MockProfileService_ListRelationshipServerMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockProfileService_ListRelationshipServerMockRecorder) SetHeader(arg0 any) *gomock.Call
- func (mr *MockProfileService_ListRelationshipServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
- type MockProfileService_SearchClient
- func (m *MockProfileService_SearchClient) CloseSend() error
- func (m *MockProfileService_SearchClient) Context() context.Context
- func (m *MockProfileService_SearchClient) EXPECT() *MockProfileService_SearchClientMockRecorder
- func (m *MockProfileService_SearchClient) Header() (metadata.MD, error)
- func (m *MockProfileService_SearchClient) Recv() (*SearchResponse, error)
- func (m_2 *MockProfileService_SearchClient) RecvMsg(m any) error
- func (m_2 *MockProfileService_SearchClient) SendMsg(m any) error
- func (m *MockProfileService_SearchClient) Trailer() metadata.MD
- type MockProfileService_SearchClientMockRecorder
- func (mr *MockProfileService_SearchClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockProfileService_SearchClientMockRecorder) Context() *gomock.Call
- func (mr *MockProfileService_SearchClientMockRecorder) Header() *gomock.Call
- func (mr *MockProfileService_SearchClientMockRecorder) Recv() *gomock.Call
- func (mr *MockProfileService_SearchClientMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockProfileService_SearchClientMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockProfileService_SearchClientMockRecorder) Trailer() *gomock.Call
- type MockProfileService_SearchServer
- func (m *MockProfileService_SearchServer) Context() context.Context
- func (m *MockProfileService_SearchServer) EXPECT() *MockProfileService_SearchServerMockRecorder
- func (m_2 *MockProfileService_SearchServer) RecvMsg(m any) error
- func (m *MockProfileService_SearchServer) Send(arg0 *SearchResponse) error
- func (m *MockProfileService_SearchServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockProfileService_SearchServer) SendMsg(m any) error
- func (m *MockProfileService_SearchServer) SetHeader(arg0 metadata.MD) error
- func (m *MockProfileService_SearchServer) SetTrailer(arg0 metadata.MD)
- type MockProfileService_SearchServerMockRecorder
- func (mr *MockProfileService_SearchServerMockRecorder) Context() *gomock.Call
- func (mr *MockProfileService_SearchServerMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockProfileService_SearchServerMockRecorder) Send(arg0 any) *gomock.Call
- func (mr *MockProfileService_SearchServerMockRecorder) SendHeader(arg0 any) *gomock.Call
- func (mr *MockProfileService_SearchServerMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockProfileService_SearchServerMockRecorder) SetHeader(arg0 any) *gomock.Call
- func (mr *MockProfileService_SearchServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
- type MockUnsafeProfileServiceServer
- type MockUnsafeProfileServiceServerMockRecorder
- type ProfileClient
- func (pc *ProfileClient) Close() error
- func (pc *ProfileClient) CreateProfileByContactAndName(ctx context.Context, contact string, name string) (*ProfileObject, error)
- func (pc *ProfileClient) GetProfileByContact(ctx context.Context, contact string) (*ProfileObject, error)
- func (pc *ProfileClient) GetProfileByID(ctx context.Context, profileID string) (*ProfileObject, error)
- type ProfileObject
- func (*ProfileObject) Descriptor() ([]byte, []int)deprecated
- func (x *ProfileObject) GetAddresses() []*AddressObject
- func (x *ProfileObject) GetContacts() []*ContactObject
- func (x *ProfileObject) GetId() string
- func (x *ProfileObject) GetProperties() map[string]string
- func (x *ProfileObject) GetState() v1.STATE
- func (x *ProfileObject) GetType() ProfileType
- func (*ProfileObject) ProtoMessage()
- func (x *ProfileObject) ProtoReflect() protoreflect.Message
- func (x *ProfileObject) Reset()
- func (x *ProfileObject) String() string
- type ProfileServiceClient
- type ProfileServiceServer
- type ProfileService_ListRelationshipClient
- type ProfileService_ListRelationshipServer
- type ProfileService_SearchClient
- type ProfileService_SearchServer
- type ProfileType
- func (ProfileType) Descriptor() protoreflect.EnumDescriptor
- func (x ProfileType) Enum() *ProfileType
- func (ProfileType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProfileType) Number() protoreflect.EnumNumber
- func (x ProfileType) String() string
- func (ProfileType) Type() protoreflect.EnumType
- type RelationshipObject
- func (*RelationshipObject) Descriptor() ([]byte, []int)deprecated
- func (m *RelationshipObject) GetChild() isRelationshipObject_Child
- func (x *RelationshipObject) GetContact() *ContactObject
- func (x *RelationshipObject) GetId() string
- func (x *RelationshipObject) GetProfile() *ProfileObject
- func (x *RelationshipObject) GetProperties() map[string]string
- func (x *RelationshipObject) GetType() RelationshipType
- func (*RelationshipObject) ProtoMessage()
- func (x *RelationshipObject) ProtoReflect() protoreflect.Message
- func (x *RelationshipObject) Reset()
- func (x *RelationshipObject) String() string
- type RelationshipObject_Contact
- type RelationshipObject_Profile
- type RelationshipType
- func (RelationshipType) Descriptor() protoreflect.EnumDescriptor
- func (x RelationshipType) Enum() *RelationshipType
- func (RelationshipType) EnumDescriptor() ([]byte, []int)deprecated
- func (x RelationshipType) Number() protoreflect.EnumNumber
- func (x RelationshipType) String() string
- func (RelationshipType) Type() protoreflect.EnumType
- type SearchRequest
- func (*SearchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchRequest) GetCount() int32
- func (x *SearchRequest) GetEndDate() string
- func (x *SearchRequest) GetExtras() map[string]string
- func (x *SearchRequest) GetPage() int64
- func (x *SearchRequest) GetProperties() []string
- func (x *SearchRequest) GetQuery() string
- func (x *SearchRequest) GetStartDate() string
- func (*SearchRequest) ProtoMessage()
- func (x *SearchRequest) ProtoReflect() protoreflect.Message
- func (x *SearchRequest) Reset()
- func (x *SearchRequest) String() string
- type SearchResponse
- type UnimplementedProfileServiceServer
- func (UnimplementedProfileServiceServer) AddAddress(context.Context, *AddAddressRequest) (*AddAddressResponse, error)
- func (UnimplementedProfileServiceServer) AddContact(context.Context, *AddContactRequest) (*AddContactResponse, error)
- func (UnimplementedProfileServiceServer) AddRelationship(context.Context, *AddRelationshipRequest) (*AddRelationshipResponse, error)
- func (UnimplementedProfileServiceServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
- func (UnimplementedProfileServiceServer) DeleteRelationship(context.Context, *DeleteRelationshipRequest) (*DeleteRelationshipResponse, error)
- func (UnimplementedProfileServiceServer) GetByContact(context.Context, *GetByContactRequest) (*GetByContactResponse, error)
- func (UnimplementedProfileServiceServer) GetById(context.Context, *GetByIdRequest) (*GetByIdResponse, error)
- func (UnimplementedProfileServiceServer) ListRelationship(*ListRelationshipRequest, ProfileService_ListRelationshipServer) error
- func (UnimplementedProfileServiceServer) Merge(context.Context, *MergeRequest) (*MergeResponse, error)
- func (UnimplementedProfileServiceServer) Search(*SearchRequest, ProfileService_SearchServer) error
- func (UnimplementedProfileServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
- type UnsafeProfileServiceServer
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateRequest) GetId() string
- func (x *UpdateRequest) GetProperties() map[string]string
- func (x *UpdateRequest) GetState() v1.STATE
- func (*UpdateRequest) ProtoMessage()
- func (x *UpdateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateRequest) Reset()
- func (x *UpdateRequest) String() string
- type UpdateResponse
Constants ¶
const ( ProfileService_GetById_FullMethodName = "/profile.v1.ProfileService/GetById" ProfileService_GetByContact_FullMethodName = "/profile.v1.ProfileService/GetByContact" ProfileService_Search_FullMethodName = "/profile.v1.ProfileService/Search" ProfileService_Merge_FullMethodName = "/profile.v1.ProfileService/Merge" ProfileService_Create_FullMethodName = "/profile.v1.ProfileService/Create" ProfileService_Update_FullMethodName = "/profile.v1.ProfileService/Update" ProfileService_AddContact_FullMethodName = "/profile.v1.ProfileService/AddContact" ProfileService_AddAddress_FullMethodName = "/profile.v1.ProfileService/AddAddress" ProfileService_AddRelationship_FullMethodName = "/profile.v1.ProfileService/AddRelationship" ProfileService_DeleteRelationship_FullMethodName = "/profile.v1.ProfileService/DeleteRelationship" ProfileService_ListRelationship_FullMethodName = "/profile.v1.ProfileService/ListRelationship" )
Variables ¶
var ( ContactType_name = map[int32]string{ 0: "EMAIL", 1: "PHONE", } ContactType_value = map[string]int32{ "EMAIL": 0, "PHONE": 1, } )
Enum value maps for ContactType.
var ( CommunicationLevel_name = map[int32]string{ 0: "ALL", 1: "INTERNAL_MARKETING", 2: "IMPORTANT_ALERTS", 3: "SYSTEM_ALERTS", 4: "NO_CONTACT", } CommunicationLevel_value = map[string]int32{ "ALL": 0, "INTERNAL_MARKETING": 1, "IMPORTANT_ALERTS": 2, "SYSTEM_ALERTS": 3, "NO_CONTACT": 4, } )
Enum value maps for CommunicationLevel.
var ( ProfileType_name = map[int32]string{ 0: "PERSON", 1: "INSTITUTION", 2: "BOT", } ProfileType_value = map[string]int32{ "PERSON": 0, "INSTITUTION": 1, "BOT": 2, } )
Enum value maps for ProfileType.
var ( RelationshipType_name = map[int32]string{ 0: "MEMBER", 1: "AFFILIATED", 2: "BLACK_LISTED", } RelationshipType_value = map[string]int32{ "MEMBER": 0, "AFFILIATED": 1, "BLACK_LISTED": 2, } )
Enum value maps for RelationshipType.
var File_profile_v1_profile_proto protoreflect.FileDescriptor
var ProfileService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "profile.v1.ProfileService", HandlerType: (*ProfileServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetById", Handler: _ProfileService_GetById_Handler, }, { MethodName: "GetByContact", Handler: _ProfileService_GetByContact_Handler, }, { MethodName: "Merge", Handler: _ProfileService_Merge_Handler, }, { MethodName: "Create", Handler: _ProfileService_Create_Handler, }, { MethodName: "Update", Handler: _ProfileService_Update_Handler, }, { MethodName: "AddContact", Handler: _ProfileService_AddContact_Handler, }, { MethodName: "AddAddress", Handler: _ProfileService_AddAddress_Handler, }, { MethodName: "AddRelationship", Handler: _ProfileService_AddRelationship_Handler, }, { MethodName: "DeleteRelationship", Handler: _ProfileService_DeleteRelationship_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Search", Handler: _ProfileService_Search_Handler, ServerStreams: true, }, { StreamName: "ListRelationship", Handler: _ProfileService_ListRelationship_Handler, ServerStreams: true, }, }, Metadata: "profile/v1/profile.proto", }
ProfileService_ServiceDesc is the grpc.ServiceDesc for ProfileService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterProfileServiceServer ¶
func RegisterProfileServiceServer(s grpc.ServiceRegistrar, srv ProfileServiceServer)
Types ¶
type AddAddressRequest ¶
type AddAddressRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Address *AddressObject `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
The request message containing the information necessary to create a profile
func (*AddAddressRequest) Descriptor
deprecated
func (*AddAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddAddressRequest.ProtoReflect.Descriptor instead.
func (*AddAddressRequest) GetAddress ¶
func (x *AddAddressRequest) GetAddress() *AddressObject
func (*AddAddressRequest) GetId ¶
func (x *AddAddressRequest) GetId() string
func (*AddAddressRequest) ProtoMessage ¶
func (*AddAddressRequest) ProtoMessage()
func (*AddAddressRequest) ProtoReflect ¶
func (x *AddAddressRequest) ProtoReflect() protoreflect.Message
func (*AddAddressRequest) Reset ¶
func (x *AddAddressRequest) Reset()
func (*AddAddressRequest) String ¶
func (x *AddAddressRequest) String() string
type AddAddressResponse ¶
type AddAddressResponse struct { Data *ProfileObject `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*AddAddressResponse) Descriptor
deprecated
func (*AddAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddAddressResponse.ProtoReflect.Descriptor instead.
func (*AddAddressResponse) GetData ¶
func (x *AddAddressResponse) GetData() *ProfileObject
func (*AddAddressResponse) ProtoMessage ¶
func (*AddAddressResponse) ProtoMessage()
func (*AddAddressResponse) ProtoReflect ¶
func (x *AddAddressResponse) ProtoReflect() protoreflect.Message
func (*AddAddressResponse) Reset ¶
func (x *AddAddressResponse) Reset()
func (*AddAddressResponse) String ¶
func (x *AddAddressResponse) String() string
type AddContactRequest ¶
type AddContactRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Contact string `protobuf:"bytes,2,opt,name=contact,proto3" json:"contact,omitempty"` // contains filtered or unexported fields }
The request message containing the information necessary to create a profile
func (*AddContactRequest) Descriptor
deprecated
func (*AddContactRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddContactRequest.ProtoReflect.Descriptor instead.
func (*AddContactRequest) GetContact ¶
func (x *AddContactRequest) GetContact() string
func (*AddContactRequest) GetId ¶
func (x *AddContactRequest) GetId() string
func (*AddContactRequest) ProtoMessage ¶
func (*AddContactRequest) ProtoMessage()
func (*AddContactRequest) ProtoReflect ¶
func (x *AddContactRequest) ProtoReflect() protoreflect.Message
func (*AddContactRequest) Reset ¶
func (x *AddContactRequest) Reset()
func (*AddContactRequest) String ¶
func (x *AddContactRequest) String() string
type AddContactResponse ¶
type AddContactResponse struct { Data *ProfileObject `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*AddContactResponse) Descriptor
deprecated
func (*AddContactResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddContactResponse.ProtoReflect.Descriptor instead.
func (*AddContactResponse) GetData ¶
func (x *AddContactResponse) GetData() *ProfileObject
func (*AddContactResponse) ProtoMessage ¶
func (*AddContactResponse) ProtoMessage()
func (*AddContactResponse) ProtoReflect ¶
func (x *AddContactResponse) ProtoReflect() protoreflect.Message
func (*AddContactResponse) Reset ¶
func (x *AddContactResponse) Reset()
func (*AddContactResponse) String ¶
func (x *AddContactResponse) String() string
type AddRelationshipRequest ¶
type AddRelationshipRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` ParentId string `protobuf:"bytes,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Child string `protobuf:"bytes,4,opt,name=child,proto3" json:"child,omitempty"` ChildId string `protobuf:"bytes,5,opt,name=child_id,json=childId,proto3" json:"child_id,omitempty"` Type RelationshipType `protobuf:"varint,6,opt,name=type,proto3,enum=profile.v1.RelationshipType" json:"type,omitempty"` Properties map[string]string `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
The request message containing the information necessary to create a profile
func (*AddRelationshipRequest) Descriptor
deprecated
func (*AddRelationshipRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddRelationshipRequest.ProtoReflect.Descriptor instead.
func (*AddRelationshipRequest) GetChild ¶
func (x *AddRelationshipRequest) GetChild() string
func (*AddRelationshipRequest) GetChildId ¶
func (x *AddRelationshipRequest) GetChildId() string
func (*AddRelationshipRequest) GetId ¶
func (x *AddRelationshipRequest) GetId() string
func (*AddRelationshipRequest) GetParent ¶
func (x *AddRelationshipRequest) GetParent() string
func (*AddRelationshipRequest) GetParentId ¶
func (x *AddRelationshipRequest) GetParentId() string
func (*AddRelationshipRequest) GetProperties ¶
func (x *AddRelationshipRequest) GetProperties() map[string]string
func (*AddRelationshipRequest) GetType ¶
func (x *AddRelationshipRequest) GetType() RelationshipType
func (*AddRelationshipRequest) ProtoMessage ¶
func (*AddRelationshipRequest) ProtoMessage()
func (*AddRelationshipRequest) ProtoReflect ¶
func (x *AddRelationshipRequest) ProtoReflect() protoreflect.Message
func (*AddRelationshipRequest) Reset ¶
func (x *AddRelationshipRequest) Reset()
func (*AddRelationshipRequest) String ¶
func (x *AddRelationshipRequest) String() string
type AddRelationshipResponse ¶
type AddRelationshipResponse struct { Data *RelationshipObject `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*AddRelationshipResponse) Descriptor
deprecated
func (*AddRelationshipResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddRelationshipResponse.ProtoReflect.Descriptor instead.
func (*AddRelationshipResponse) GetData ¶
func (x *AddRelationshipResponse) GetData() *RelationshipObject
func (*AddRelationshipResponse) ProtoMessage ¶
func (*AddRelationshipResponse) ProtoMessage()
func (*AddRelationshipResponse) ProtoReflect ¶
func (x *AddRelationshipResponse) ProtoReflect() protoreflect.Message
func (*AddRelationshipResponse) Reset ¶
func (x *AddRelationshipResponse) Reset()
func (*AddRelationshipResponse) String ¶
func (x *AddRelationshipResponse) String() string
type AddressObject ¶
type AddressObject struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Country string `protobuf:"bytes,3,opt,name=country,proto3" json:"country,omitempty"` City string `protobuf:"bytes,4,opt,name=city,proto3" json:"city,omitempty"` Area string `protobuf:"bytes,5,opt,name=area,proto3" json:"area,omitempty"` Street string `protobuf:"bytes,6,opt,name=street,proto3" json:"street,omitempty"` House string `protobuf:"bytes,7,opt,name=house,proto3" json:"house,omitempty"` Postcode string `protobuf:"bytes,8,opt,name=postcode,proto3" json:"postcode,omitempty"` Latitude float64 `protobuf:"fixed64,9,opt,name=latitude,proto3" json:"latitude,omitempty"` Longitude float64 `protobuf:"fixed64,10,opt,name=longitude,proto3" json:"longitude,omitempty"` Extra string `protobuf:"bytes,11,opt,name=extra,proto3" json:"extra,omitempty"` // contains filtered or unexported fields }
func (*AddressObject) Descriptor
deprecated
func (*AddressObject) Descriptor() ([]byte, []int)
Deprecated: Use AddressObject.ProtoReflect.Descriptor instead.
func (*AddressObject) GetArea ¶
func (x *AddressObject) GetArea() string
func (*AddressObject) GetCity ¶
func (x *AddressObject) GetCity() string
func (*AddressObject) GetCountry ¶
func (x *AddressObject) GetCountry() string
func (*AddressObject) GetExtra ¶
func (x *AddressObject) GetExtra() string
func (*AddressObject) GetHouse ¶
func (x *AddressObject) GetHouse() string
func (*AddressObject) GetId ¶
func (x *AddressObject) GetId() string
func (*AddressObject) GetLatitude ¶
func (x *AddressObject) GetLatitude() float64
func (*AddressObject) GetLongitude ¶
func (x *AddressObject) GetLongitude() float64
func (*AddressObject) GetName ¶
func (x *AddressObject) GetName() string
func (*AddressObject) GetPostcode ¶
func (x *AddressObject) GetPostcode() string
func (*AddressObject) GetStreet ¶
func (x *AddressObject) GetStreet() string
func (*AddressObject) ProtoMessage ¶
func (*AddressObject) ProtoMessage()
func (*AddressObject) ProtoReflect ¶
func (x *AddressObject) ProtoReflect() protoreflect.Message
func (*AddressObject) Reset ¶
func (x *AddressObject) Reset()
func (*AddressObject) String ¶
func (x *AddressObject) String() string
type CommunicationLevel ¶
type CommunicationLevel int32
buf:lint:ignore ENUM_VALUE_PREFIX
const ( // buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX CommunicationLevel_ALL CommunicationLevel = 0 // Any communication including 3rd party marketing is welcome. CommunicationLevel_INTERNAL_MARKETING CommunicationLevel = 1 // Can receive marketing messages from our services CommunicationLevel_IMPORTANT_ALERTS CommunicationLevel = 2 // These can be things like policy changes CommunicationLevel_SYSTEM_ALERTS CommunicationLevel = 3 // This include user actions expecting a response. CommunicationLevel_NO_CONTACT CommunicationLevel = 4 // This one needs prayers )
func (CommunicationLevel) Descriptor ¶
func (CommunicationLevel) Descriptor() protoreflect.EnumDescriptor
func (CommunicationLevel) Enum ¶
func (x CommunicationLevel) Enum() *CommunicationLevel
func (CommunicationLevel) EnumDescriptor
deprecated
func (CommunicationLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use CommunicationLevel.Descriptor instead.
func (CommunicationLevel) Number ¶
func (x CommunicationLevel) Number() protoreflect.EnumNumber
func (CommunicationLevel) String ¶
func (x CommunicationLevel) String() string
func (CommunicationLevel) Type ¶
func (CommunicationLevel) Type() protoreflect.EnumType
type ContactObject ¶
type ContactObject struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type ContactType `protobuf:"varint,2,opt,name=type,proto3,enum=profile.v1.ContactType" json:"type,omitempty"` Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"` Verified bool `protobuf:"varint,4,opt,name=verified,proto3" json:"verified,omitempty"` CommunicationLevel CommunicationLevel `` /* 151-byte string literal not displayed */ State v1.STATE `protobuf:"varint,6,opt,name=state,proto3,enum=common.v1.STATE" json:"state,omitempty"` // contains filtered or unexported fields }
func (*ContactObject) Descriptor
deprecated
func (*ContactObject) Descriptor() ([]byte, []int)
Deprecated: Use ContactObject.ProtoReflect.Descriptor instead.
func (*ContactObject) GetCommunicationLevel ¶
func (x *ContactObject) GetCommunicationLevel() CommunicationLevel
func (*ContactObject) GetDetail ¶
func (x *ContactObject) GetDetail() string
func (*ContactObject) GetId ¶
func (x *ContactObject) GetId() string
func (*ContactObject) GetState ¶
func (x *ContactObject) GetState() v1.STATE
func (*ContactObject) GetType ¶
func (x *ContactObject) GetType() ContactType
func (*ContactObject) GetVerified ¶
func (x *ContactObject) GetVerified() bool
func (*ContactObject) ProtoMessage ¶
func (*ContactObject) ProtoMessage()
func (*ContactObject) ProtoReflect ¶
func (x *ContactObject) ProtoReflect() protoreflect.Message
func (*ContactObject) Reset ¶
func (x *ContactObject) Reset()
func (*ContactObject) String ¶
func (x *ContactObject) String() string
type ContactType ¶
type ContactType int32
buf:lint:ignore ENUM_VALUE_PREFIX
const ( // buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX ContactType_EMAIL ContactType = 0 ContactType_PHONE ContactType = 1 )
func (ContactType) Descriptor ¶
func (ContactType) Descriptor() protoreflect.EnumDescriptor
func (ContactType) Enum ¶
func (x ContactType) Enum() *ContactType
func (ContactType) EnumDescriptor
deprecated
func (ContactType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContactType.Descriptor instead.
func (ContactType) Number ¶
func (x ContactType) Number() protoreflect.EnumNumber
func (ContactType) String ¶
func (x ContactType) String() string
func (ContactType) Type ¶
func (ContactType) Type() protoreflect.EnumType
type CreateRequest ¶
type CreateRequest struct { Type ProfileType `protobuf:"varint,1,opt,name=type,proto3,enum=profile.v1.ProfileType" json:"type,omitempty"` Contact string `protobuf:"bytes,2,opt,name=contact,proto3" json:"contact,omitempty"` Properties map[string]string `` /* 161-byte string literal not displayed */ // contains filtered or unexported fields }
The request message containing the information necessary to create a profile
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetContact ¶
func (x *CreateRequest) GetContact() string
func (*CreateRequest) GetProperties ¶
func (x *CreateRequest) GetProperties() map[string]string
func (*CreateRequest) GetType ¶
func (x *CreateRequest) GetType() ProfileType
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 { Data *ProfileObject `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CreateResponse) Descriptor
deprecated
func (*CreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.
func (*CreateResponse) GetData ¶
func (x *CreateResponse) GetData() *ProfileObject
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 DeleteRelationshipRequest ¶
type DeleteRelationshipRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ParentId string `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` // contains filtered or unexported fields }
The request message containing the information necessary to delete relationship to a profile
func (*DeleteRelationshipRequest) Descriptor
deprecated
func (*DeleteRelationshipRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRelationshipRequest.ProtoReflect.Descriptor instead.
func (*DeleteRelationshipRequest) GetId ¶
func (x *DeleteRelationshipRequest) GetId() string
func (*DeleteRelationshipRequest) GetParentId ¶
func (x *DeleteRelationshipRequest) GetParentId() string
func (*DeleteRelationshipRequest) ProtoMessage ¶
func (*DeleteRelationshipRequest) ProtoMessage()
func (*DeleteRelationshipRequest) ProtoReflect ¶
func (x *DeleteRelationshipRequest) ProtoReflect() protoreflect.Message
func (*DeleteRelationshipRequest) Reset ¶
func (x *DeleteRelationshipRequest) Reset()
func (*DeleteRelationshipRequest) String ¶
func (x *DeleteRelationshipRequest) String() string
type DeleteRelationshipResponse ¶
type DeleteRelationshipResponse struct { Data *RelationshipObject `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*DeleteRelationshipResponse) Descriptor
deprecated
func (*DeleteRelationshipResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRelationshipResponse.ProtoReflect.Descriptor instead.
func (*DeleteRelationshipResponse) GetData ¶
func (x *DeleteRelationshipResponse) GetData() *RelationshipObject
func (*DeleteRelationshipResponse) ProtoMessage ¶
func (*DeleteRelationshipResponse) ProtoMessage()
func (*DeleteRelationshipResponse) ProtoReflect ¶
func (x *DeleteRelationshipResponse) ProtoReflect() protoreflect.Message
func (*DeleteRelationshipResponse) Reset ¶
func (x *DeleteRelationshipResponse) Reset()
func (*DeleteRelationshipResponse) String ¶
func (x *DeleteRelationshipResponse) String() string
type GetByContactRequest ¶
type GetByContactRequest struct { Contact string `protobuf:"bytes,1,opt,name=contact,proto3" json:"contact,omitempty"` // contains filtered or unexported fields }
Request message containing a contact necessary to link to a profile
func (*GetByContactRequest) Descriptor
deprecated
func (*GetByContactRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetByContactRequest.ProtoReflect.Descriptor instead.
func (*GetByContactRequest) GetContact ¶
func (x *GetByContactRequest) GetContact() string
func (*GetByContactRequest) ProtoMessage ¶
func (*GetByContactRequest) ProtoMessage()
func (*GetByContactRequest) ProtoReflect ¶
func (x *GetByContactRequest) ProtoReflect() protoreflect.Message
func (*GetByContactRequest) Reset ¶
func (x *GetByContactRequest) Reset()
func (*GetByContactRequest) String ¶
func (x *GetByContactRequest) String() string
type GetByContactResponse ¶
type GetByContactResponse struct { Data *ProfileObject `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetByContactResponse) Descriptor
deprecated
func (*GetByContactResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetByContactResponse.ProtoReflect.Descriptor instead.
func (*GetByContactResponse) GetData ¶
func (x *GetByContactResponse) GetData() *ProfileObject
func (*GetByContactResponse) ProtoMessage ¶
func (*GetByContactResponse) ProtoMessage()
func (*GetByContactResponse) ProtoReflect ¶
func (x *GetByContactResponse) ProtoReflect() protoreflect.Message
func (*GetByContactResponse) Reset ¶
func (x *GetByContactResponse) Reset()
func (*GetByContactResponse) String ¶
func (x *GetByContactResponse) String() string
type GetByIdRequest ¶
type GetByIdRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
The request message containing the profile's hash
func (*GetByIdRequest) Descriptor
deprecated
func (*GetByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetByIdRequest.ProtoReflect.Descriptor instead.
func (*GetByIdRequest) GetId ¶
func (x *GetByIdRequest) GetId() string
func (*GetByIdRequest) ProtoMessage ¶
func (*GetByIdRequest) ProtoMessage()
func (*GetByIdRequest) ProtoReflect ¶
func (x *GetByIdRequest) ProtoReflect() protoreflect.Message
func (*GetByIdRequest) Reset ¶
func (x *GetByIdRequest) Reset()
func (*GetByIdRequest) String ¶
func (x *GetByIdRequest) String() string
type GetByIdResponse ¶
type GetByIdResponse struct { Data *ProfileObject `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GetByIdResponse) Descriptor
deprecated
func (*GetByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetByIdResponse.ProtoReflect.Descriptor instead.
func (*GetByIdResponse) GetData ¶
func (x *GetByIdResponse) GetData() *ProfileObject
func (*GetByIdResponse) ProtoMessage ¶
func (*GetByIdResponse) ProtoMessage()
func (*GetByIdResponse) ProtoReflect ¶
func (x *GetByIdResponse) ProtoReflect() protoreflect.Message
func (*GetByIdResponse) Reset ¶
func (x *GetByIdResponse) Reset()
func (*GetByIdResponse) String ¶
func (x *GetByIdResponse) String() string
type ListRelationshipRequest ¶
type ListRelationshipRequest struct { Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` ParentId string `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` LastRelationshipId string `protobuf:"bytes,3,opt,name=last_relationship_id,json=lastRelationshipId,proto3" json:"last_relationship_id,omitempty"` RelatedChildrenId []string `protobuf:"bytes,4,rep,name=related_children_id,json=relatedChildrenId,proto3" json:"related_children_id,omitempty"` // Related profile ids to specifically search for. Count int32 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
Request message to list all profiles related to the supplied profile id
func (*ListRelationshipRequest) Descriptor
deprecated
func (*ListRelationshipRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRelationshipRequest.ProtoReflect.Descriptor instead.
func (*ListRelationshipRequest) GetCount ¶
func (x *ListRelationshipRequest) GetCount() int32
func (*ListRelationshipRequest) GetLastRelationshipId ¶
func (x *ListRelationshipRequest) GetLastRelationshipId() string
func (*ListRelationshipRequest) GetParent ¶
func (x *ListRelationshipRequest) GetParent() string
func (*ListRelationshipRequest) GetParentId ¶
func (x *ListRelationshipRequest) GetParentId() string
func (*ListRelationshipRequest) GetRelatedChildrenId ¶
func (x *ListRelationshipRequest) GetRelatedChildrenId() []string
func (*ListRelationshipRequest) ProtoMessage ¶
func (*ListRelationshipRequest) ProtoMessage()
func (*ListRelationshipRequest) ProtoReflect ¶
func (x *ListRelationshipRequest) ProtoReflect() protoreflect.Message
func (*ListRelationshipRequest) Reset ¶
func (x *ListRelationshipRequest) Reset()
func (*ListRelationshipRequest) String ¶
func (x *ListRelationshipRequest) String() string
type ListRelationshipResponse ¶
type ListRelationshipResponse struct { Data []*RelationshipObject `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ListRelationshipResponse) Descriptor
deprecated
func (*ListRelationshipResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRelationshipResponse.ProtoReflect.Descriptor instead.
func (*ListRelationshipResponse) GetData ¶
func (x *ListRelationshipResponse) GetData() []*RelationshipObject
func (*ListRelationshipResponse) ProtoMessage ¶
func (*ListRelationshipResponse) ProtoMessage()
func (*ListRelationshipResponse) ProtoReflect ¶
func (x *ListRelationshipResponse) ProtoReflect() protoreflect.Message
func (*ListRelationshipResponse) Reset ¶
func (x *ListRelationshipResponse) Reset()
func (*ListRelationshipResponse) String ¶
func (x *ListRelationshipResponse) String() string
type MergeRequest ¶
type MergeRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Mergeid string `protobuf:"bytes,2,opt,name=mergeid,proto3" json:"mergeid,omitempty"` // contains filtered or unexported fields }
The request message containing the profile's hash
func (*MergeRequest) Descriptor
deprecated
func (*MergeRequest) Descriptor() ([]byte, []int)
Deprecated: Use MergeRequest.ProtoReflect.Descriptor instead.
func (*MergeRequest) GetId ¶
func (x *MergeRequest) GetId() string
func (*MergeRequest) GetMergeid ¶
func (x *MergeRequest) GetMergeid() string
func (*MergeRequest) ProtoMessage ¶
func (*MergeRequest) ProtoMessage()
func (*MergeRequest) ProtoReflect ¶
func (x *MergeRequest) ProtoReflect() protoreflect.Message
func (*MergeRequest) Reset ¶
func (x *MergeRequest) Reset()
func (*MergeRequest) String ¶
func (x *MergeRequest) String() string
type MergeResponse ¶
type MergeResponse struct { Data *ProfileObject `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*MergeResponse) Descriptor
deprecated
func (*MergeResponse) Descriptor() ([]byte, []int)
Deprecated: Use MergeResponse.ProtoReflect.Descriptor instead.
func (*MergeResponse) GetData ¶
func (x *MergeResponse) GetData() *ProfileObject
func (*MergeResponse) ProtoMessage ¶
func (*MergeResponse) ProtoMessage()
func (*MergeResponse) ProtoReflect ¶
func (x *MergeResponse) ProtoReflect() protoreflect.Message
func (*MergeResponse) Reset ¶
func (x *MergeResponse) Reset()
func (*MergeResponse) String ¶
func (x *MergeResponse) String() string
type MockProfileServiceClient ¶
type MockProfileServiceClient struct {
// contains filtered or unexported fields
}
MockProfileServiceClient is a mock of ProfileServiceClient interface.
func NewMockProfileServiceClient ¶
func NewMockProfileServiceClient(ctrl *gomock.Controller) *MockProfileServiceClient
NewMockProfileServiceClient creates a new mock instance.
func (*MockProfileServiceClient) AddAddress ¶
func (m *MockProfileServiceClient) AddAddress(ctx context.Context, in *AddAddressRequest, opts ...grpc.CallOption) (*AddAddressResponse, error)
AddAddress mocks base method.
func (*MockProfileServiceClient) AddContact ¶
func (m *MockProfileServiceClient) AddContact(ctx context.Context, in *AddContactRequest, opts ...grpc.CallOption) (*AddContactResponse, error)
AddContact mocks base method.
func (*MockProfileServiceClient) AddRelationship ¶
func (m *MockProfileServiceClient) AddRelationship(ctx context.Context, in *AddRelationshipRequest, opts ...grpc.CallOption) (*AddRelationshipResponse, error)
AddRelationship mocks base method.
func (*MockProfileServiceClient) Create ¶
func (m *MockProfileServiceClient) Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error)
Create mocks base method.
func (*MockProfileServiceClient) DeleteRelationship ¶
func (m *MockProfileServiceClient) DeleteRelationship(ctx context.Context, in *DeleteRelationshipRequest, opts ...grpc.CallOption) (*DeleteRelationshipResponse, error)
DeleteRelationship mocks base method.
func (*MockProfileServiceClient) EXPECT ¶
func (m *MockProfileServiceClient) EXPECT() *MockProfileServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProfileServiceClient) GetByContact ¶
func (m *MockProfileServiceClient) GetByContact(ctx context.Context, in *GetByContactRequest, opts ...grpc.CallOption) (*GetByContactResponse, error)
GetByContact mocks base method.
func (*MockProfileServiceClient) GetById ¶
func (m *MockProfileServiceClient) GetById(ctx context.Context, in *GetByIdRequest, opts ...grpc.CallOption) (*GetByIdResponse, error)
GetById mocks base method.
func (*MockProfileServiceClient) ListRelationship ¶
func (m *MockProfileServiceClient) ListRelationship(ctx context.Context, in *ListRelationshipRequest, opts ...grpc.CallOption) (ProfileService_ListRelationshipClient, error)
ListRelationship mocks base method.
func (*MockProfileServiceClient) Merge ¶
func (m *MockProfileServiceClient) Merge(ctx context.Context, in *MergeRequest, opts ...grpc.CallOption) (*MergeResponse, error)
Merge mocks base method.
func (*MockProfileServiceClient) Search ¶
func (m *MockProfileServiceClient) Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (ProfileService_SearchClient, error)
Search mocks base method.
func (*MockProfileServiceClient) Update ¶
func (m *MockProfileServiceClient) Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
Update mocks base method.
type MockProfileServiceClientMockRecorder ¶
type MockProfileServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockProfileServiceClientMockRecorder is the mock recorder for MockProfileServiceClient.
func (*MockProfileServiceClientMockRecorder) AddAddress ¶
func (mr *MockProfileServiceClientMockRecorder) AddAddress(ctx, in any, opts ...any) *gomock.Call
AddAddress indicates an expected call of AddAddress.
func (*MockProfileServiceClientMockRecorder) AddContact ¶
func (mr *MockProfileServiceClientMockRecorder) AddContact(ctx, in any, opts ...any) *gomock.Call
AddContact indicates an expected call of AddContact.
func (*MockProfileServiceClientMockRecorder) AddRelationship ¶
func (mr *MockProfileServiceClientMockRecorder) AddRelationship(ctx, in any, opts ...any) *gomock.Call
AddRelationship indicates an expected call of AddRelationship.
func (*MockProfileServiceClientMockRecorder) Create ¶
func (mr *MockProfileServiceClientMockRecorder) Create(ctx, in any, opts ...any) *gomock.Call
Create indicates an expected call of Create.
func (*MockProfileServiceClientMockRecorder) DeleteRelationship ¶
func (mr *MockProfileServiceClientMockRecorder) DeleteRelationship(ctx, in any, opts ...any) *gomock.Call
DeleteRelationship indicates an expected call of DeleteRelationship.
func (*MockProfileServiceClientMockRecorder) GetByContact ¶
func (mr *MockProfileServiceClientMockRecorder) GetByContact(ctx, in any, opts ...any) *gomock.Call
GetByContact indicates an expected call of GetByContact.
func (*MockProfileServiceClientMockRecorder) GetById ¶
func (mr *MockProfileServiceClientMockRecorder) GetById(ctx, in any, opts ...any) *gomock.Call
GetById indicates an expected call of GetById.
func (*MockProfileServiceClientMockRecorder) ListRelationship ¶
func (mr *MockProfileServiceClientMockRecorder) ListRelationship(ctx, in any, opts ...any) *gomock.Call
ListRelationship indicates an expected call of ListRelationship.
func (*MockProfileServiceClientMockRecorder) Merge ¶
func (mr *MockProfileServiceClientMockRecorder) Merge(ctx, in any, opts ...any) *gomock.Call
Merge indicates an expected call of Merge.
type MockProfileServiceServer ¶
type MockProfileServiceServer struct {
// contains filtered or unexported fields
}
MockProfileServiceServer is a mock of ProfileServiceServer interface.
func NewMockProfileServiceServer ¶
func NewMockProfileServiceServer(ctrl *gomock.Controller) *MockProfileServiceServer
NewMockProfileServiceServer creates a new mock instance.
func (*MockProfileServiceServer) AddAddress ¶
func (m *MockProfileServiceServer) AddAddress(arg0 context.Context, arg1 *AddAddressRequest) (*AddAddressResponse, error)
AddAddress mocks base method.
func (*MockProfileServiceServer) AddContact ¶
func (m *MockProfileServiceServer) AddContact(arg0 context.Context, arg1 *AddContactRequest) (*AddContactResponse, error)
AddContact mocks base method.
func (*MockProfileServiceServer) AddRelationship ¶
func (m *MockProfileServiceServer) AddRelationship(arg0 context.Context, arg1 *AddRelationshipRequest) (*AddRelationshipResponse, error)
AddRelationship mocks base method.
func (*MockProfileServiceServer) Create ¶
func (m *MockProfileServiceServer) Create(arg0 context.Context, arg1 *CreateRequest) (*CreateResponse, error)
Create mocks base method.
func (*MockProfileServiceServer) DeleteRelationship ¶
func (m *MockProfileServiceServer) DeleteRelationship(arg0 context.Context, arg1 *DeleteRelationshipRequest) (*DeleteRelationshipResponse, error)
DeleteRelationship mocks base method.
func (*MockProfileServiceServer) EXPECT ¶
func (m *MockProfileServiceServer) EXPECT() *MockProfileServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProfileServiceServer) GetByContact ¶
func (m *MockProfileServiceServer) GetByContact(arg0 context.Context, arg1 *GetByContactRequest) (*GetByContactResponse, error)
GetByContact mocks base method.
func (*MockProfileServiceServer) GetById ¶
func (m *MockProfileServiceServer) GetById(arg0 context.Context, arg1 *GetByIdRequest) (*GetByIdResponse, error)
GetById mocks base method.
func (*MockProfileServiceServer) ListRelationship ¶
func (m *MockProfileServiceServer) ListRelationship(arg0 *ListRelationshipRequest, arg1 ProfileService_ListRelationshipServer) error
ListRelationship mocks base method.
func (*MockProfileServiceServer) Merge ¶
func (m *MockProfileServiceServer) Merge(arg0 context.Context, arg1 *MergeRequest) (*MergeResponse, error)
Merge mocks base method.
func (*MockProfileServiceServer) Search ¶
func (m *MockProfileServiceServer) Search(arg0 *SearchRequest, arg1 ProfileService_SearchServer) error
Search mocks base method.
func (*MockProfileServiceServer) Update ¶
func (m *MockProfileServiceServer) Update(arg0 context.Context, arg1 *UpdateRequest) (*UpdateResponse, error)
Update mocks base method.
type MockProfileServiceServerMockRecorder ¶
type MockProfileServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockProfileServiceServerMockRecorder is the mock recorder for MockProfileServiceServer.
func (*MockProfileServiceServerMockRecorder) AddAddress ¶
func (mr *MockProfileServiceServerMockRecorder) AddAddress(arg0, arg1 any) *gomock.Call
AddAddress indicates an expected call of AddAddress.
func (*MockProfileServiceServerMockRecorder) AddContact ¶
func (mr *MockProfileServiceServerMockRecorder) AddContact(arg0, arg1 any) *gomock.Call
AddContact indicates an expected call of AddContact.
func (*MockProfileServiceServerMockRecorder) AddRelationship ¶
func (mr *MockProfileServiceServerMockRecorder) AddRelationship(arg0, arg1 any) *gomock.Call
AddRelationship indicates an expected call of AddRelationship.
func (*MockProfileServiceServerMockRecorder) Create ¶
func (mr *MockProfileServiceServerMockRecorder) Create(arg0, arg1 any) *gomock.Call
Create indicates an expected call of Create.
func (*MockProfileServiceServerMockRecorder) DeleteRelationship ¶
func (mr *MockProfileServiceServerMockRecorder) DeleteRelationship(arg0, arg1 any) *gomock.Call
DeleteRelationship indicates an expected call of DeleteRelationship.
func (*MockProfileServiceServerMockRecorder) GetByContact ¶
func (mr *MockProfileServiceServerMockRecorder) GetByContact(arg0, arg1 any) *gomock.Call
GetByContact indicates an expected call of GetByContact.
func (*MockProfileServiceServerMockRecorder) GetById ¶
func (mr *MockProfileServiceServerMockRecorder) GetById(arg0, arg1 any) *gomock.Call
GetById indicates an expected call of GetById.
func (*MockProfileServiceServerMockRecorder) ListRelationship ¶
func (mr *MockProfileServiceServerMockRecorder) ListRelationship(arg0, arg1 any) *gomock.Call
ListRelationship indicates an expected call of ListRelationship.
func (*MockProfileServiceServerMockRecorder) Merge ¶
func (mr *MockProfileServiceServerMockRecorder) Merge(arg0, arg1 any) *gomock.Call
Merge indicates an expected call of Merge.
type MockProfileService_ListRelationshipClient ¶
type MockProfileService_ListRelationshipClient struct {
// contains filtered or unexported fields
}
MockProfileService_ListRelationshipClient is a mock of ProfileService_ListRelationshipClient interface.
func NewMockProfileService_ListRelationshipClient ¶
func NewMockProfileService_ListRelationshipClient(ctrl *gomock.Controller) *MockProfileService_ListRelationshipClient
NewMockProfileService_ListRelationshipClient creates a new mock instance.
func (*MockProfileService_ListRelationshipClient) CloseSend ¶
func (m *MockProfileService_ListRelationshipClient) CloseSend() error
CloseSend mocks base method.
func (*MockProfileService_ListRelationshipClient) Context ¶
func (m *MockProfileService_ListRelationshipClient) Context() context.Context
Context mocks base method.
func (*MockProfileService_ListRelationshipClient) EXPECT ¶
func (m *MockProfileService_ListRelationshipClient) EXPECT() *MockProfileService_ListRelationshipClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProfileService_ListRelationshipClient) Header ¶
func (m *MockProfileService_ListRelationshipClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockProfileService_ListRelationshipClient) Recv ¶
func (m *MockProfileService_ListRelationshipClient) Recv() (*ListRelationshipResponse, error)
Recv mocks base method.
func (*MockProfileService_ListRelationshipClient) RecvMsg ¶
func (m_2 *MockProfileService_ListRelationshipClient) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockProfileService_ListRelationshipClient) SendMsg ¶
func (m_2 *MockProfileService_ListRelationshipClient) SendMsg(m any) error
SendMsg mocks base method.
func (*MockProfileService_ListRelationshipClient) Trailer ¶
func (m *MockProfileService_ListRelationshipClient) Trailer() metadata.MD
Trailer mocks base method.
type MockProfileService_ListRelationshipClientMockRecorder ¶
type MockProfileService_ListRelationshipClientMockRecorder struct {
// contains filtered or unexported fields
}
MockProfileService_ListRelationshipClientMockRecorder is the mock recorder for MockProfileService_ListRelationshipClient.
func (*MockProfileService_ListRelationshipClientMockRecorder) CloseSend ¶
func (mr *MockProfileService_ListRelationshipClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockProfileService_ListRelationshipClientMockRecorder) Context ¶
func (mr *MockProfileService_ListRelationshipClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockProfileService_ListRelationshipClientMockRecorder) Header ¶
func (mr *MockProfileService_ListRelationshipClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockProfileService_ListRelationshipClientMockRecorder) Recv ¶
func (mr *MockProfileService_ListRelationshipClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockProfileService_ListRelationshipClientMockRecorder) RecvMsg ¶
func (mr *MockProfileService_ListRelationshipClientMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockProfileService_ListRelationshipClientMockRecorder) SendMsg ¶
func (mr *MockProfileService_ListRelationshipClientMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockProfileService_ListRelationshipClientMockRecorder) Trailer ¶
func (mr *MockProfileService_ListRelationshipClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockProfileService_ListRelationshipServer ¶
type MockProfileService_ListRelationshipServer struct {
// contains filtered or unexported fields
}
MockProfileService_ListRelationshipServer is a mock of ProfileService_ListRelationshipServer interface.
func NewMockProfileService_ListRelationshipServer ¶
func NewMockProfileService_ListRelationshipServer(ctrl *gomock.Controller) *MockProfileService_ListRelationshipServer
NewMockProfileService_ListRelationshipServer creates a new mock instance.
func (*MockProfileService_ListRelationshipServer) Context ¶
func (m *MockProfileService_ListRelationshipServer) Context() context.Context
Context mocks base method.
func (*MockProfileService_ListRelationshipServer) EXPECT ¶
func (m *MockProfileService_ListRelationshipServer) EXPECT() *MockProfileService_ListRelationshipServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProfileService_ListRelationshipServer) RecvMsg ¶
func (m_2 *MockProfileService_ListRelationshipServer) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockProfileService_ListRelationshipServer) Send ¶
func (m *MockProfileService_ListRelationshipServer) Send(arg0 *ListRelationshipResponse) error
Send mocks base method.
func (*MockProfileService_ListRelationshipServer) SendHeader ¶
func (m *MockProfileService_ListRelationshipServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockProfileService_ListRelationshipServer) SendMsg ¶
func (m_2 *MockProfileService_ListRelationshipServer) SendMsg(m any) error
SendMsg mocks base method.
func (*MockProfileService_ListRelationshipServer) SetHeader ¶
func (m *MockProfileService_ListRelationshipServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockProfileService_ListRelationshipServer) SetTrailer ¶
func (m *MockProfileService_ListRelationshipServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockProfileService_ListRelationshipServerMockRecorder ¶
type MockProfileService_ListRelationshipServerMockRecorder struct {
// contains filtered or unexported fields
}
MockProfileService_ListRelationshipServerMockRecorder is the mock recorder for MockProfileService_ListRelationshipServer.
func (*MockProfileService_ListRelationshipServerMockRecorder) Context ¶
func (mr *MockProfileService_ListRelationshipServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockProfileService_ListRelationshipServerMockRecorder) RecvMsg ¶
func (mr *MockProfileService_ListRelationshipServerMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockProfileService_ListRelationshipServerMockRecorder) Send ¶
func (mr *MockProfileService_ListRelationshipServerMockRecorder) Send(arg0 any) *gomock.Call
Send indicates an expected call of Send.
func (*MockProfileService_ListRelationshipServerMockRecorder) SendHeader ¶
func (mr *MockProfileService_ListRelationshipServerMockRecorder) SendHeader(arg0 any) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockProfileService_ListRelationshipServerMockRecorder) SendMsg ¶
func (mr *MockProfileService_ListRelationshipServerMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockProfileService_ListRelationshipServerMockRecorder) SetHeader ¶
func (mr *MockProfileService_ListRelationshipServerMockRecorder) SetHeader(arg0 any) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockProfileService_ListRelationshipServerMockRecorder) SetTrailer ¶
func (mr *MockProfileService_ListRelationshipServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.
type MockProfileService_SearchClient ¶
type MockProfileService_SearchClient struct {
// contains filtered or unexported fields
}
MockProfileService_SearchClient is a mock of ProfileService_SearchClient interface.
func NewMockProfileService_SearchClient ¶
func NewMockProfileService_SearchClient(ctrl *gomock.Controller) *MockProfileService_SearchClient
NewMockProfileService_SearchClient creates a new mock instance.
func (*MockProfileService_SearchClient) CloseSend ¶
func (m *MockProfileService_SearchClient) CloseSend() error
CloseSend mocks base method.
func (*MockProfileService_SearchClient) Context ¶
func (m *MockProfileService_SearchClient) Context() context.Context
Context mocks base method.
func (*MockProfileService_SearchClient) EXPECT ¶
func (m *MockProfileService_SearchClient) EXPECT() *MockProfileService_SearchClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProfileService_SearchClient) Header ¶
func (m *MockProfileService_SearchClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockProfileService_SearchClient) Recv ¶
func (m *MockProfileService_SearchClient) Recv() (*SearchResponse, error)
Recv mocks base method.
func (*MockProfileService_SearchClient) RecvMsg ¶
func (m_2 *MockProfileService_SearchClient) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockProfileService_SearchClient) SendMsg ¶
func (m_2 *MockProfileService_SearchClient) SendMsg(m any) error
SendMsg mocks base method.
func (*MockProfileService_SearchClient) Trailer ¶
func (m *MockProfileService_SearchClient) Trailer() metadata.MD
Trailer mocks base method.
type MockProfileService_SearchClientMockRecorder ¶
type MockProfileService_SearchClientMockRecorder struct {
// contains filtered or unexported fields
}
MockProfileService_SearchClientMockRecorder is the mock recorder for MockProfileService_SearchClient.
func (*MockProfileService_SearchClientMockRecorder) CloseSend ¶
func (mr *MockProfileService_SearchClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockProfileService_SearchClientMockRecorder) Context ¶
func (mr *MockProfileService_SearchClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockProfileService_SearchClientMockRecorder) Header ¶
func (mr *MockProfileService_SearchClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockProfileService_SearchClientMockRecorder) Recv ¶
func (mr *MockProfileService_SearchClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockProfileService_SearchClientMockRecorder) RecvMsg ¶
func (mr *MockProfileService_SearchClientMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockProfileService_SearchClientMockRecorder) SendMsg ¶
func (mr *MockProfileService_SearchClientMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockProfileService_SearchClientMockRecorder) Trailer ¶
func (mr *MockProfileService_SearchClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockProfileService_SearchServer ¶
type MockProfileService_SearchServer struct {
// contains filtered or unexported fields
}
MockProfileService_SearchServer is a mock of ProfileService_SearchServer interface.
func NewMockProfileService_SearchServer ¶
func NewMockProfileService_SearchServer(ctrl *gomock.Controller) *MockProfileService_SearchServer
NewMockProfileService_SearchServer creates a new mock instance.
func (*MockProfileService_SearchServer) Context ¶
func (m *MockProfileService_SearchServer) Context() context.Context
Context mocks base method.
func (*MockProfileService_SearchServer) EXPECT ¶
func (m *MockProfileService_SearchServer) EXPECT() *MockProfileService_SearchServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProfileService_SearchServer) RecvMsg ¶
func (m_2 *MockProfileService_SearchServer) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockProfileService_SearchServer) Send ¶
func (m *MockProfileService_SearchServer) Send(arg0 *SearchResponse) error
Send mocks base method.
func (*MockProfileService_SearchServer) SendHeader ¶
func (m *MockProfileService_SearchServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockProfileService_SearchServer) SendMsg ¶
func (m_2 *MockProfileService_SearchServer) SendMsg(m any) error
SendMsg mocks base method.
func (*MockProfileService_SearchServer) SetHeader ¶
func (m *MockProfileService_SearchServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockProfileService_SearchServer) SetTrailer ¶
func (m *MockProfileService_SearchServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockProfileService_SearchServerMockRecorder ¶
type MockProfileService_SearchServerMockRecorder struct {
// contains filtered or unexported fields
}
MockProfileService_SearchServerMockRecorder is the mock recorder for MockProfileService_SearchServer.
func (*MockProfileService_SearchServerMockRecorder) Context ¶
func (mr *MockProfileService_SearchServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockProfileService_SearchServerMockRecorder) RecvMsg ¶
func (mr *MockProfileService_SearchServerMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockProfileService_SearchServerMockRecorder) Send ¶
func (mr *MockProfileService_SearchServerMockRecorder) Send(arg0 any) *gomock.Call
Send indicates an expected call of Send.
func (*MockProfileService_SearchServerMockRecorder) SendHeader ¶
func (mr *MockProfileService_SearchServerMockRecorder) SendHeader(arg0 any) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockProfileService_SearchServerMockRecorder) SendMsg ¶
func (mr *MockProfileService_SearchServerMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockProfileService_SearchServerMockRecorder) SetHeader ¶
func (mr *MockProfileService_SearchServerMockRecorder) SetHeader(arg0 any) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockProfileService_SearchServerMockRecorder) SetTrailer ¶
func (mr *MockProfileService_SearchServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.
type MockUnsafeProfileServiceServer ¶
type MockUnsafeProfileServiceServer struct {
// contains filtered or unexported fields
}
MockUnsafeProfileServiceServer is a mock of UnsafeProfileServiceServer interface.
func NewMockUnsafeProfileServiceServer ¶
func NewMockUnsafeProfileServiceServer(ctrl *gomock.Controller) *MockUnsafeProfileServiceServer
NewMockUnsafeProfileServiceServer creates a new mock instance.
func (*MockUnsafeProfileServiceServer) EXPECT ¶
func (m *MockUnsafeProfileServiceServer) EXPECT() *MockUnsafeProfileServiceServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeProfileServiceServerMockRecorder ¶
type MockUnsafeProfileServiceServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeProfileServiceServerMockRecorder is the mock recorder for MockUnsafeProfileServiceServer.
type ProfileClient ¶
type ProfileClient struct {
// contains filtered or unexported fields
}
ProfileClient is a client for interacting with the profile service API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
func FromContext ¶
func FromContext(ctx context.Context) *ProfileClient
func InstantiateProfileClient ¶
func InstantiateProfileClient( clientConn *grpc.ClientConn, profileSrvCli ProfileServiceClient) *ProfileClient
func NewProfileClient ¶
func NewProfileClient(ctx context.Context, opts ...apic.ClientOption) (*ProfileClient, error)
NewProfileClient creates a new notification client. The service that an application uses to send and access received messages
func (*ProfileClient) Close ¶
func (pc *ProfileClient) Close() error
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*ProfileClient) CreateProfileByContactAndName ¶
func (pc *ProfileClient) CreateProfileByContactAndName( ctx context.Context, contact string, name string) (*ProfileObject, error)
func (*ProfileClient) GetProfileByContact ¶
func (pc *ProfileClient) GetProfileByContact(ctx context.Context, contact string) (*ProfileObject, error)
func (*ProfileClient) GetProfileByID ¶
func (pc *ProfileClient) GetProfileByID( ctx context.Context, profileID string) (*ProfileObject, error)
type ProfileObject ¶
type ProfileObject struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type ProfileType `protobuf:"varint,2,opt,name=type,proto3,enum=profile.v1.ProfileType" json:"type,omitempty"` Properties map[string]string `` /* 161-byte string literal not displayed */ Contacts []*ContactObject `protobuf:"bytes,4,rep,name=contacts,proto3" json:"contacts,omitempty"` Addresses []*AddressObject `protobuf:"bytes,5,rep,name=addresses,proto3" json:"addresses,omitempty"` State v1.STATE `protobuf:"varint,6,opt,name=state,proto3,enum=common.v1.STATE" json:"state,omitempty"` // contains filtered or unexported fields }
The response message containing the full profile object
func (*ProfileObject) Descriptor
deprecated
func (*ProfileObject) Descriptor() ([]byte, []int)
Deprecated: Use ProfileObject.ProtoReflect.Descriptor instead.
func (*ProfileObject) GetAddresses ¶
func (x *ProfileObject) GetAddresses() []*AddressObject
func (*ProfileObject) GetContacts ¶
func (x *ProfileObject) GetContacts() []*ContactObject
func (*ProfileObject) GetId ¶
func (x *ProfileObject) GetId() string
func (*ProfileObject) GetProperties ¶
func (x *ProfileObject) GetProperties() map[string]string
func (*ProfileObject) GetState ¶
func (x *ProfileObject) GetState() v1.STATE
func (*ProfileObject) GetType ¶
func (x *ProfileObject) GetType() ProfileType
func (*ProfileObject) ProtoMessage ¶
func (*ProfileObject) ProtoMessage()
func (*ProfileObject) ProtoReflect ¶
func (x *ProfileObject) ProtoReflect() protoreflect.Message
func (*ProfileObject) Reset ¶
func (x *ProfileObject) Reset()
func (*ProfileObject) String ¶
func (x *ProfileObject) String() string
type ProfileServiceClient ¶
type ProfileServiceClient interface { // Obtains a profile by its hash GetById(ctx context.Context, in *GetByIdRequest, opts ...grpc.CallOption) (*GetByIdResponse, error) // Obtains a profile by its hash GetByContact(ctx context.Context, in *GetByContactRequest, opts ...grpc.CallOption) (*GetByContactResponse, error) // Obtains a profile by its hash Search(ctx context.Context, in *SearchRequest, opts ...grpc.CallOption) (ProfileService_SearchClient, error) // Uses data found in the profile from mergeHash to update the current profile. Merge(ctx context.Context, in *MergeRequest, opts ...grpc.CallOption) (*MergeResponse, error) // Creates a new profile based on the request. Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) // Creates a new profile based on the request. Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) // Adds a new contact based on the request/this leads to automatic verification. AddContact(ctx context.Context, in *AddContactRequest, opts ...grpc.CallOption) (*AddContactResponse, error) // Adds a new address based on the request. AddAddress(ctx context.Context, in *AddAddressRequest, opts ...grpc.CallOption) (*AddAddressResponse, error) // Adds a new relationship between different proiles. AddRelationship(ctx context.Context, in *AddRelationshipRequest, opts ...grpc.CallOption) (*AddRelationshipResponse, error) // Remove an existing relationship between profiles. DeleteRelationship(ctx context.Context, in *DeleteRelationshipRequest, opts ...grpc.CallOption) (*DeleteRelationshipResponse, error) // Lists relationships a profile has. ListRelationship(ctx context.Context, in *ListRelationshipRequest, opts ...grpc.CallOption) (ProfileService_ListRelationshipClient, error) }
ProfileServiceClient is the client API for ProfileService 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 NewProfileServiceClient ¶
func NewProfileServiceClient(cc grpc.ClientConnInterface) ProfileServiceClient
type ProfileServiceServer ¶
type ProfileServiceServer interface { // Obtains a profile by its hash GetById(context.Context, *GetByIdRequest) (*GetByIdResponse, error) // Obtains a profile by its hash GetByContact(context.Context, *GetByContactRequest) (*GetByContactResponse, error) // Obtains a profile by its hash Search(*SearchRequest, ProfileService_SearchServer) error // Uses data found in the profile from mergeHash to update the current profile. Merge(context.Context, *MergeRequest) (*MergeResponse, error) // Creates a new profile based on the request. Create(context.Context, *CreateRequest) (*CreateResponse, error) // Creates a new profile based on the request. Update(context.Context, *UpdateRequest) (*UpdateResponse, error) // Adds a new contact based on the request/this leads to automatic verification. AddContact(context.Context, *AddContactRequest) (*AddContactResponse, error) // Adds a new address based on the request. AddAddress(context.Context, *AddAddressRequest) (*AddAddressResponse, error) // Adds a new relationship between different proiles. AddRelationship(context.Context, *AddRelationshipRequest) (*AddRelationshipResponse, error) // Remove an existing relationship between profiles. DeleteRelationship(context.Context, *DeleteRelationshipRequest) (*DeleteRelationshipResponse, error) // Lists relationships a profile has. ListRelationship(*ListRelationshipRequest, ProfileService_ListRelationshipServer) error // contains filtered or unexported methods }
ProfileServiceServer is the server API for ProfileService service. All implementations must embed UnimplementedProfileServiceServer for forward compatibility
type ProfileService_ListRelationshipClient ¶
type ProfileService_ListRelationshipClient interface { Recv() (*ListRelationshipResponse, error) grpc.ClientStream }
type ProfileService_ListRelationshipServer ¶
type ProfileService_ListRelationshipServer interface { Send(*ListRelationshipResponse) error grpc.ServerStream }
type ProfileService_SearchClient ¶
type ProfileService_SearchClient interface { Recv() (*SearchResponse, error) grpc.ClientStream }
type ProfileService_SearchServer ¶
type ProfileService_SearchServer interface { Send(*SearchResponse) error grpc.ServerStream }
type ProfileType ¶
type ProfileType int32
buf:lint:ignore ENUM_VALUE_PREFIX
const ( // buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX ProfileType_PERSON ProfileType = 0 ProfileType_INSTITUTION ProfileType = 1 ProfileType_BOT ProfileType = 2 )
func (ProfileType) Descriptor ¶
func (ProfileType) Descriptor() protoreflect.EnumDescriptor
func (ProfileType) Enum ¶
func (x ProfileType) Enum() *ProfileType
func (ProfileType) EnumDescriptor
deprecated
func (ProfileType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProfileType.Descriptor instead.
func (ProfileType) Number ¶
func (x ProfileType) Number() protoreflect.EnumNumber
func (ProfileType) String ¶
func (x ProfileType) String() string
func (ProfileType) Type ¶
func (ProfileType) Type() protoreflect.EnumType
type RelationshipObject ¶
type RelationshipObject struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type RelationshipType `protobuf:"varint,2,opt,name=type,proto3,enum=profile.v1.RelationshipType" json:"type,omitempty"` Properties map[string]string `` /* 161-byte string literal not displayed */ // Types that are assignable to Child: // // *RelationshipObject_Profile // *RelationshipObject_Contact Child isRelationshipObject_Child `protobuf_oneof:"child"` // contains filtered or unexported fields }
A Relationship object
func (*RelationshipObject) Descriptor
deprecated
func (*RelationshipObject) Descriptor() ([]byte, []int)
Deprecated: Use RelationshipObject.ProtoReflect.Descriptor instead.
func (*RelationshipObject) GetChild ¶
func (m *RelationshipObject) GetChild() isRelationshipObject_Child
func (*RelationshipObject) GetContact ¶
func (x *RelationshipObject) GetContact() *ContactObject
func (*RelationshipObject) GetId ¶
func (x *RelationshipObject) GetId() string
func (*RelationshipObject) GetProfile ¶
func (x *RelationshipObject) GetProfile() *ProfileObject
func (*RelationshipObject) GetProperties ¶
func (x *RelationshipObject) GetProperties() map[string]string
func (*RelationshipObject) GetType ¶
func (x *RelationshipObject) GetType() RelationshipType
func (*RelationshipObject) ProtoMessage ¶
func (*RelationshipObject) ProtoMessage()
func (*RelationshipObject) ProtoReflect ¶
func (x *RelationshipObject) ProtoReflect() protoreflect.Message
func (*RelationshipObject) Reset ¶
func (x *RelationshipObject) Reset()
func (*RelationshipObject) String ¶
func (x *RelationshipObject) String() string
type RelationshipObject_Contact ¶
type RelationshipObject_Contact struct {
Contact *ContactObject `protobuf:"bytes,5,opt,name=contact,proto3,oneof"`
}
type RelationshipObject_Profile ¶
type RelationshipObject_Profile struct {
Profile *ProfileObject `protobuf:"bytes,4,opt,name=profile,proto3,oneof"`
}
type RelationshipType ¶
type RelationshipType int32
RelationshipType enum represents the way two profiles are linked. buf:lint:ignore ENUM_VALUE_PREFIX
const ( // buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX RelationshipType_MEMBER RelationshipType = 0 RelationshipType_AFFILIATED RelationshipType = 1 RelationshipType_BLACK_LISTED RelationshipType = 2 )
func (RelationshipType) Descriptor ¶
func (RelationshipType) Descriptor() protoreflect.EnumDescriptor
func (RelationshipType) Enum ¶
func (x RelationshipType) Enum() *RelationshipType
func (RelationshipType) EnumDescriptor
deprecated
func (RelationshipType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RelationshipType.Descriptor instead.
func (RelationshipType) Number ¶
func (x RelationshipType) Number() protoreflect.EnumNumber
func (RelationshipType) String ¶
func (x RelationshipType) String() string
func (RelationshipType) Type ¶
func (RelationshipType) Type() protoreflect.EnumType
type SearchRequest ¶
type SearchRequest struct { Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"` Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` StartDate string `protobuf:"bytes,4,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` EndDate string `protobuf:"bytes,5,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` Properties []string `protobuf:"bytes,6,rep,name=properties,proto3" json:"properties,omitempty"` Extras map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*SearchRequest) Descriptor
deprecated
func (*SearchRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.
func (*SearchRequest) GetCount ¶
func (x *SearchRequest) GetCount() int32
func (*SearchRequest) GetEndDate ¶
func (x *SearchRequest) GetEndDate() string
func (*SearchRequest) GetExtras ¶
func (x *SearchRequest) GetExtras() map[string]string
func (*SearchRequest) GetPage ¶
func (x *SearchRequest) GetPage() int64
func (*SearchRequest) GetProperties ¶
func (x *SearchRequest) GetProperties() []string
func (*SearchRequest) GetQuery ¶
func (x *SearchRequest) GetQuery() string
func (*SearchRequest) GetStartDate ¶
func (x *SearchRequest) GetStartDate() string
func (*SearchRequest) ProtoMessage ¶
func (*SearchRequest) ProtoMessage()
func (*SearchRequest) ProtoReflect ¶
func (x *SearchRequest) ProtoReflect() protoreflect.Message
func (*SearchRequest) Reset ¶
func (x *SearchRequest) Reset()
func (*SearchRequest) String ¶
func (x *SearchRequest) String() string
type SearchResponse ¶
type SearchResponse struct { Data []*ProfileObject `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*SearchResponse) Descriptor
deprecated
func (*SearchResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.
func (*SearchResponse) GetData ¶
func (x *SearchResponse) GetData() []*ProfileObject
func (*SearchResponse) ProtoMessage ¶
func (*SearchResponse) ProtoMessage()
func (*SearchResponse) ProtoReflect ¶
func (x *SearchResponse) ProtoReflect() protoreflect.Message
func (*SearchResponse) Reset ¶
func (x *SearchResponse) Reset()
func (*SearchResponse) String ¶
func (x *SearchResponse) String() string
type UnimplementedProfileServiceServer ¶
type UnimplementedProfileServiceServer struct { }
UnimplementedProfileServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedProfileServiceServer) AddAddress ¶
func (UnimplementedProfileServiceServer) AddAddress(context.Context, *AddAddressRequest) (*AddAddressResponse, error)
func (UnimplementedProfileServiceServer) AddContact ¶
func (UnimplementedProfileServiceServer) AddContact(context.Context, *AddContactRequest) (*AddContactResponse, error)
func (UnimplementedProfileServiceServer) AddRelationship ¶
func (UnimplementedProfileServiceServer) AddRelationship(context.Context, *AddRelationshipRequest) (*AddRelationshipResponse, error)
func (UnimplementedProfileServiceServer) Create ¶
func (UnimplementedProfileServiceServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
func (UnimplementedProfileServiceServer) DeleteRelationship ¶
func (UnimplementedProfileServiceServer) DeleteRelationship(context.Context, *DeleteRelationshipRequest) (*DeleteRelationshipResponse, error)
func (UnimplementedProfileServiceServer) GetByContact ¶
func (UnimplementedProfileServiceServer) GetByContact(context.Context, *GetByContactRequest) (*GetByContactResponse, error)
func (UnimplementedProfileServiceServer) GetById ¶
func (UnimplementedProfileServiceServer) GetById(context.Context, *GetByIdRequest) (*GetByIdResponse, error)
func (UnimplementedProfileServiceServer) ListRelationship ¶
func (UnimplementedProfileServiceServer) ListRelationship(*ListRelationshipRequest, ProfileService_ListRelationshipServer) error
func (UnimplementedProfileServiceServer) Merge ¶
func (UnimplementedProfileServiceServer) Merge(context.Context, *MergeRequest) (*MergeResponse, error)
func (UnimplementedProfileServiceServer) Search ¶
func (UnimplementedProfileServiceServer) Search(*SearchRequest, ProfileService_SearchServer) error
func (UnimplementedProfileServiceServer) Update ¶
func (UnimplementedProfileServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
type UnsafeProfileServiceServer ¶
type UnsafeProfileServiceServer interface {
// contains filtered or unexported methods
}
UnsafeProfileServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProfileServiceServer will result in compilation errors.
type UpdateRequest ¶
type UpdateRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Properties map[string]string `` /* 161-byte string literal not displayed */ State v1.STATE `protobuf:"varint,3,opt,name=state,proto3,enum=common.v1.STATE" json:"state,omitempty"` // contains filtered or unexported fields }
The request message containing the information necessary to create a profile
func (*UpdateRequest) Descriptor
deprecated
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetId ¶
func (x *UpdateRequest) GetId() string
func (*UpdateRequest) GetProperties ¶
func (x *UpdateRequest) GetProperties() map[string]string
func (*UpdateRequest) GetState ¶
func (x *UpdateRequest) GetState() v1.STATE
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 { Data *ProfileObject `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*UpdateResponse) Descriptor
deprecated
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) GetData ¶
func (x *UpdateResponse) GetData() *ProfileObject
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