Documentation ¶
Index ¶
- Variables
- func RegisterContactGrpcServiceServer(s grpc.ServiceRegistrar, srv ContactGrpcServiceServer)
- type ContactAddLocationGrpcRequest
- func (*ContactAddLocationGrpcRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ContactAddLocationGrpcRequest) GetContactId() string
- func (x *ContactAddLocationGrpcRequest) GetCreatedAt() *timestamppb.Timestamp
- func (x *ContactAddLocationGrpcRequest) GetLocationDetails() *location.LocationDetails
- func (x *ContactAddLocationGrpcRequest) GetLocationId() string
- func (x *ContactAddLocationGrpcRequest) GetLoggedInUserId() string
- func (x *ContactAddLocationGrpcRequest) GetSourceFields() *common.SourceFields
- func (x *ContactAddLocationGrpcRequest) GetTenant() string
- func (*ContactAddLocationGrpcRequest) ProtoMessage()
- func (x *ContactAddLocationGrpcRequest) ProtoReflect() protoreflect.Message
- func (x *ContactAddLocationGrpcRequest) Reset()
- func (x *ContactAddLocationGrpcRequest) String() string
- type ContactGrpcServiceClient
- type ContactGrpcServiceServer
- type ContactIdGrpcResponse
- func (*ContactIdGrpcResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ContactIdGrpcResponse) GetId() string
- func (*ContactIdGrpcResponse) ProtoMessage()
- func (x *ContactIdGrpcResponse) ProtoReflect() protoreflect.Message
- func (x *ContactIdGrpcResponse) Reset()
- func (x *ContactIdGrpcResponse) String() string
- type ContactRemoveSocialGrpcRequest
- func (*ContactRemoveSocialGrpcRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ContactRemoveSocialGrpcRequest) GetAppSource() string
- func (x *ContactRemoveSocialGrpcRequest) GetContactId() string
- func (x *ContactRemoveSocialGrpcRequest) GetLoggedInUserId() string
- func (x *ContactRemoveSocialGrpcRequest) GetSocialId() string
- func (x *ContactRemoveSocialGrpcRequest) GetTenant() string
- func (x *ContactRemoveSocialGrpcRequest) GetUrl() string
- func (*ContactRemoveSocialGrpcRequest) ProtoMessage()
- func (x *ContactRemoveSocialGrpcRequest) ProtoReflect() protoreflect.Message
- func (x *ContactRemoveSocialGrpcRequest) Reset()
- func (x *ContactRemoveSocialGrpcRequest) String() string
- type LinkLocationToContactGrpcRequest
- func (*LinkLocationToContactGrpcRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LinkLocationToContactGrpcRequest) GetAppSource() string
- func (x *LinkLocationToContactGrpcRequest) GetContactId() string
- func (x *LinkLocationToContactGrpcRequest) GetLocationId() string
- func (x *LinkLocationToContactGrpcRequest) GetLoggedInUserId() string
- func (x *LinkLocationToContactGrpcRequest) GetTenant() string
- func (*LinkLocationToContactGrpcRequest) ProtoMessage()
- func (x *LinkLocationToContactGrpcRequest) ProtoReflect() protoreflect.Message
- func (x *LinkLocationToContactGrpcRequest) Reset()
- func (x *LinkLocationToContactGrpcRequest) String() string
- type LinkPhoneNumberToContactGrpcRequest
- func (*LinkPhoneNumberToContactGrpcRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LinkPhoneNumberToContactGrpcRequest) GetAppSource() string
- func (x *LinkPhoneNumberToContactGrpcRequest) GetContactId() string
- func (x *LinkPhoneNumberToContactGrpcRequest) GetLabel() string
- func (x *LinkPhoneNumberToContactGrpcRequest) GetLoggedInUserId() string
- func (x *LinkPhoneNumberToContactGrpcRequest) GetPhoneNumberId() string
- func (x *LinkPhoneNumberToContactGrpcRequest) GetPrimary() bool
- func (x *LinkPhoneNumberToContactGrpcRequest) GetTenant() string
- func (*LinkPhoneNumberToContactGrpcRequest) ProtoMessage()
- func (x *LinkPhoneNumberToContactGrpcRequest) ProtoReflect() protoreflect.Message
- func (x *LinkPhoneNumberToContactGrpcRequest) Reset()
- func (x *LinkPhoneNumberToContactGrpcRequest) String() string
- type UnimplementedContactGrpcServiceServer
- func (UnimplementedContactGrpcServiceServer) AddLocation(context.Context, *ContactAddLocationGrpcRequest) (*location.LocationIdGrpcResponse, error)
- func (UnimplementedContactGrpcServiceServer) LinkLocationToContact(context.Context, *LinkLocationToContactGrpcRequest) (*ContactIdGrpcResponse, error)
- func (UnimplementedContactGrpcServiceServer) LinkPhoneNumberToContact(context.Context, *LinkPhoneNumberToContactGrpcRequest) (*ContactIdGrpcResponse, error)
- func (UnimplementedContactGrpcServiceServer) RemoveSocial(context.Context, *ContactRemoveSocialGrpcRequest) (*ContactIdGrpcResponse, error)
- type UnsafeContactGrpcServiceServer
Constants ¶
This section is empty.
Variables ¶
var ContactGrpcService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "contactGrpcService", HandlerType: (*ContactGrpcServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "LinkPhoneNumberToContact", Handler: _ContactGrpcService_LinkPhoneNumberToContact_Handler, }, { MethodName: "LinkLocationToContact", Handler: _ContactGrpcService_LinkLocationToContact_Handler, }, { MethodName: "RemoveSocial", Handler: _ContactGrpcService_RemoveSocial_Handler, }, { MethodName: "AddLocation", Handler: _ContactGrpcService_AddLocation_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "contact.proto", }
ContactGrpcService_ServiceDesc is the grpc.ServiceDesc for ContactGrpcService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_contact_proto protoreflect.FileDescriptor
Functions ¶
func RegisterContactGrpcServiceServer ¶
func RegisterContactGrpcServiceServer(s grpc.ServiceRegistrar, srv ContactGrpcServiceServer)
Types ¶
type ContactAddLocationGrpcRequest ¶
type ContactAddLocationGrpcRequest struct { Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` ContactId string `protobuf:"bytes,2,opt,name=contactId,proto3" json:"contactId,omitempty"` LoggedInUserId string `protobuf:"bytes,3,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"` SourceFields *common.SourceFields `protobuf:"bytes,4,opt,name=sourceFields,proto3" json:"sourceFields,omitempty"` LocationId string `protobuf:"bytes,5,opt,name=locationId,proto3" json:"locationId,omitempty"` LocationDetails *location.LocationDetails `protobuf:"bytes,6,opt,name=locationDetails,proto3" json:"locationDetails,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // contains filtered or unexported fields }
func (*ContactAddLocationGrpcRequest) Descriptor
deprecated
func (*ContactAddLocationGrpcRequest) Descriptor() ([]byte, []int)
Deprecated: Use ContactAddLocationGrpcRequest.ProtoReflect.Descriptor instead.
func (*ContactAddLocationGrpcRequest) GetContactId ¶
func (x *ContactAddLocationGrpcRequest) GetContactId() string
func (*ContactAddLocationGrpcRequest) GetCreatedAt ¶
func (x *ContactAddLocationGrpcRequest) GetCreatedAt() *timestamppb.Timestamp
func (*ContactAddLocationGrpcRequest) GetLocationDetails ¶
func (x *ContactAddLocationGrpcRequest) GetLocationDetails() *location.LocationDetails
func (*ContactAddLocationGrpcRequest) GetLocationId ¶
func (x *ContactAddLocationGrpcRequest) GetLocationId() string
func (*ContactAddLocationGrpcRequest) GetLoggedInUserId ¶
func (x *ContactAddLocationGrpcRequest) GetLoggedInUserId() string
func (*ContactAddLocationGrpcRequest) GetSourceFields ¶
func (x *ContactAddLocationGrpcRequest) GetSourceFields() *common.SourceFields
func (*ContactAddLocationGrpcRequest) GetTenant ¶
func (x *ContactAddLocationGrpcRequest) GetTenant() string
func (*ContactAddLocationGrpcRequest) ProtoMessage ¶
func (*ContactAddLocationGrpcRequest) ProtoMessage()
func (*ContactAddLocationGrpcRequest) ProtoReflect ¶
func (x *ContactAddLocationGrpcRequest) ProtoReflect() protoreflect.Message
func (*ContactAddLocationGrpcRequest) Reset ¶
func (x *ContactAddLocationGrpcRequest) Reset()
func (*ContactAddLocationGrpcRequest) String ¶
func (x *ContactAddLocationGrpcRequest) String() string
type ContactGrpcServiceClient ¶
type ContactGrpcServiceClient interface { LinkPhoneNumberToContact(ctx context.Context, in *LinkPhoneNumberToContactGrpcRequest, opts ...grpc.CallOption) (*ContactIdGrpcResponse, error) LinkLocationToContact(ctx context.Context, in *LinkLocationToContactGrpcRequest, opts ...grpc.CallOption) (*ContactIdGrpcResponse, error) RemoveSocial(ctx context.Context, in *ContactRemoveSocialGrpcRequest, opts ...grpc.CallOption) (*ContactIdGrpcResponse, error) AddLocation(ctx context.Context, in *ContactAddLocationGrpcRequest, opts ...grpc.CallOption) (*location.LocationIdGrpcResponse, error) }
ContactGrpcServiceClient is the client API for ContactGrpcService 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 NewContactGrpcServiceClient ¶
func NewContactGrpcServiceClient(cc grpc.ClientConnInterface) ContactGrpcServiceClient
type ContactGrpcServiceServer ¶
type ContactGrpcServiceServer interface { LinkPhoneNumberToContact(context.Context, *LinkPhoneNumberToContactGrpcRequest) (*ContactIdGrpcResponse, error) LinkLocationToContact(context.Context, *LinkLocationToContactGrpcRequest) (*ContactIdGrpcResponse, error) RemoveSocial(context.Context, *ContactRemoveSocialGrpcRequest) (*ContactIdGrpcResponse, error) AddLocation(context.Context, *ContactAddLocationGrpcRequest) (*location.LocationIdGrpcResponse, error) }
ContactGrpcServiceServer is the server API for ContactGrpcService service. All implementations should embed UnimplementedContactGrpcServiceServer for forward compatibility
type ContactIdGrpcResponse ¶
type ContactIdGrpcResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ContactIdGrpcResponse) Descriptor
deprecated
func (*ContactIdGrpcResponse) Descriptor() ([]byte, []int)
Deprecated: Use ContactIdGrpcResponse.ProtoReflect.Descriptor instead.
func (*ContactIdGrpcResponse) GetId ¶
func (x *ContactIdGrpcResponse) GetId() string
func (*ContactIdGrpcResponse) ProtoMessage ¶
func (*ContactIdGrpcResponse) ProtoMessage()
func (*ContactIdGrpcResponse) ProtoReflect ¶
func (x *ContactIdGrpcResponse) ProtoReflect() protoreflect.Message
func (*ContactIdGrpcResponse) Reset ¶
func (x *ContactIdGrpcResponse) Reset()
func (*ContactIdGrpcResponse) String ¶
func (x *ContactIdGrpcResponse) String() string
type ContactRemoveSocialGrpcRequest ¶
type ContactRemoveSocialGrpcRequest struct { Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` ContactId string `protobuf:"bytes,2,opt,name=contactId,proto3" json:"contactId,omitempty"` LoggedInUserId string `protobuf:"bytes,3,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"` AppSource string `protobuf:"bytes,4,opt,name=appSource,proto3" json:"appSource,omitempty"` SocialId string `protobuf:"bytes,5,opt,name=socialId,proto3" json:"socialId,omitempty"` // The id of the social, used to identify the social Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"` // The url of the social, used to identify the social if missing socialId // contains filtered or unexported fields }
func (*ContactRemoveSocialGrpcRequest) Descriptor
deprecated
func (*ContactRemoveSocialGrpcRequest) Descriptor() ([]byte, []int)
Deprecated: Use ContactRemoveSocialGrpcRequest.ProtoReflect.Descriptor instead.
func (*ContactRemoveSocialGrpcRequest) GetAppSource ¶
func (x *ContactRemoveSocialGrpcRequest) GetAppSource() string
func (*ContactRemoveSocialGrpcRequest) GetContactId ¶
func (x *ContactRemoveSocialGrpcRequest) GetContactId() string
func (*ContactRemoveSocialGrpcRequest) GetLoggedInUserId ¶
func (x *ContactRemoveSocialGrpcRequest) GetLoggedInUserId() string
func (*ContactRemoveSocialGrpcRequest) GetSocialId ¶
func (x *ContactRemoveSocialGrpcRequest) GetSocialId() string
func (*ContactRemoveSocialGrpcRequest) GetTenant ¶
func (x *ContactRemoveSocialGrpcRequest) GetTenant() string
func (*ContactRemoveSocialGrpcRequest) GetUrl ¶
func (x *ContactRemoveSocialGrpcRequest) GetUrl() string
func (*ContactRemoveSocialGrpcRequest) ProtoMessage ¶
func (*ContactRemoveSocialGrpcRequest) ProtoMessage()
func (*ContactRemoveSocialGrpcRequest) ProtoReflect ¶
func (x *ContactRemoveSocialGrpcRequest) ProtoReflect() protoreflect.Message
func (*ContactRemoveSocialGrpcRequest) Reset ¶
func (x *ContactRemoveSocialGrpcRequest) Reset()
func (*ContactRemoveSocialGrpcRequest) String ¶
func (x *ContactRemoveSocialGrpcRequest) String() string
type LinkLocationToContactGrpcRequest ¶
type LinkLocationToContactGrpcRequest struct { Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` ContactId string `protobuf:"bytes,2,opt,name=contactId,proto3" json:"contactId,omitempty"` LocationId string `protobuf:"bytes,3,opt,name=locationId,proto3" json:"locationId,omitempty"` LoggedInUserId string `protobuf:"bytes,4,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"` AppSource string `protobuf:"bytes,5,opt,name=appSource,proto3" json:"appSource,omitempty"` // contains filtered or unexported fields }
func (*LinkLocationToContactGrpcRequest) Descriptor
deprecated
func (*LinkLocationToContactGrpcRequest) Descriptor() ([]byte, []int)
Deprecated: Use LinkLocationToContactGrpcRequest.ProtoReflect.Descriptor instead.
func (*LinkLocationToContactGrpcRequest) GetAppSource ¶
func (x *LinkLocationToContactGrpcRequest) GetAppSource() string
func (*LinkLocationToContactGrpcRequest) GetContactId ¶
func (x *LinkLocationToContactGrpcRequest) GetContactId() string
func (*LinkLocationToContactGrpcRequest) GetLocationId ¶
func (x *LinkLocationToContactGrpcRequest) GetLocationId() string
func (*LinkLocationToContactGrpcRequest) GetLoggedInUserId ¶
func (x *LinkLocationToContactGrpcRequest) GetLoggedInUserId() string
func (*LinkLocationToContactGrpcRequest) GetTenant ¶
func (x *LinkLocationToContactGrpcRequest) GetTenant() string
func (*LinkLocationToContactGrpcRequest) ProtoMessage ¶
func (*LinkLocationToContactGrpcRequest) ProtoMessage()
func (*LinkLocationToContactGrpcRequest) ProtoReflect ¶
func (x *LinkLocationToContactGrpcRequest) ProtoReflect() protoreflect.Message
func (*LinkLocationToContactGrpcRequest) Reset ¶
func (x *LinkLocationToContactGrpcRequest) Reset()
func (*LinkLocationToContactGrpcRequest) String ¶
func (x *LinkLocationToContactGrpcRequest) String() string
type LinkPhoneNumberToContactGrpcRequest ¶
type LinkPhoneNumberToContactGrpcRequest struct { Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` ContactId string `protobuf:"bytes,2,opt,name=contactId,proto3" json:"contactId,omitempty"` PhoneNumberId string `protobuf:"bytes,3,opt,name=phoneNumberId,proto3" json:"phoneNumberId,omitempty"` Primary bool `protobuf:"varint,4,opt,name=primary,proto3" json:"primary,omitempty"` Label string `protobuf:"bytes,5,opt,name=label,proto3" json:"label,omitempty"` LoggedInUserId string `protobuf:"bytes,6,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"` AppSource string `protobuf:"bytes,7,opt,name=appSource,proto3" json:"appSource,omitempty"` // contains filtered or unexported fields }
func (*LinkPhoneNumberToContactGrpcRequest) Descriptor
deprecated
func (*LinkPhoneNumberToContactGrpcRequest) Descriptor() ([]byte, []int)
Deprecated: Use LinkPhoneNumberToContactGrpcRequest.ProtoReflect.Descriptor instead.
func (*LinkPhoneNumberToContactGrpcRequest) GetAppSource ¶
func (x *LinkPhoneNumberToContactGrpcRequest) GetAppSource() string
func (*LinkPhoneNumberToContactGrpcRequest) GetContactId ¶
func (x *LinkPhoneNumberToContactGrpcRequest) GetContactId() string
func (*LinkPhoneNumberToContactGrpcRequest) GetLabel ¶
func (x *LinkPhoneNumberToContactGrpcRequest) GetLabel() string
func (*LinkPhoneNumberToContactGrpcRequest) GetLoggedInUserId ¶
func (x *LinkPhoneNumberToContactGrpcRequest) GetLoggedInUserId() string
func (*LinkPhoneNumberToContactGrpcRequest) GetPhoneNumberId ¶
func (x *LinkPhoneNumberToContactGrpcRequest) GetPhoneNumberId() string
func (*LinkPhoneNumberToContactGrpcRequest) GetPrimary ¶
func (x *LinkPhoneNumberToContactGrpcRequest) GetPrimary() bool
func (*LinkPhoneNumberToContactGrpcRequest) GetTenant ¶
func (x *LinkPhoneNumberToContactGrpcRequest) GetTenant() string
func (*LinkPhoneNumberToContactGrpcRequest) ProtoMessage ¶
func (*LinkPhoneNumberToContactGrpcRequest) ProtoMessage()
func (*LinkPhoneNumberToContactGrpcRequest) ProtoReflect ¶
func (x *LinkPhoneNumberToContactGrpcRequest) ProtoReflect() protoreflect.Message
func (*LinkPhoneNumberToContactGrpcRequest) Reset ¶
func (x *LinkPhoneNumberToContactGrpcRequest) Reset()
func (*LinkPhoneNumberToContactGrpcRequest) String ¶
func (x *LinkPhoneNumberToContactGrpcRequest) String() string
type UnimplementedContactGrpcServiceServer ¶
type UnimplementedContactGrpcServiceServer struct { }
UnimplementedContactGrpcServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedContactGrpcServiceServer) AddLocation ¶
func (UnimplementedContactGrpcServiceServer) AddLocation(context.Context, *ContactAddLocationGrpcRequest) (*location.LocationIdGrpcResponse, error)
func (UnimplementedContactGrpcServiceServer) LinkLocationToContact ¶
func (UnimplementedContactGrpcServiceServer) LinkLocationToContact(context.Context, *LinkLocationToContactGrpcRequest) (*ContactIdGrpcResponse, error)
func (UnimplementedContactGrpcServiceServer) LinkPhoneNumberToContact ¶
func (UnimplementedContactGrpcServiceServer) LinkPhoneNumberToContact(context.Context, *LinkPhoneNumberToContactGrpcRequest) (*ContactIdGrpcResponse, error)
func (UnimplementedContactGrpcServiceServer) RemoveSocial ¶
func (UnimplementedContactGrpcServiceServer) RemoveSocial(context.Context, *ContactRemoveSocialGrpcRequest) (*ContactIdGrpcResponse, error)
type UnsafeContactGrpcServiceServer ¶
type UnsafeContactGrpcServiceServer interface {
// contains filtered or unexported methods
}
UnsafeContactGrpcServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ContactGrpcServiceServer will result in compilation errors.