contact_grpc_service

package
v0.0.0-...-e437075 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2023 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContactGrpcService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "contactGrpcService",
	HandlerType: (*ContactGrpcServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpsertContact",
			Handler:    _ContactGrpcService_UpsertContact_Handler,
		},
		{
			MethodName: "LinkPhoneNumberToContact",
			Handler:    _ContactGrpcService_LinkPhoneNumberToContact_Handler,
		},
		{
			MethodName: "LinkEmailToContact",
			Handler:    _ContactGrpcService_LinkEmailToContact_Handler,
		},
		{
			MethodName: "LinkLocationToContact",
			Handler:    _ContactGrpcService_LinkLocationToContact_Handler,
		},
		{
			MethodName: "LinkWithOrganization",
			Handler:    _ContactGrpcService_LinkWithOrganization_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)

View Source
var File_contact_proto protoreflect.FileDescriptor

Functions

func RegisterContactGrpcServiceServer

func RegisterContactGrpcServiceServer(s grpc.ServiceRegistrar, srv ContactGrpcServiceServer)

Types

type ContactGrpcServiceClient

type ContactGrpcServiceClient interface {
	UpsertContact(ctx context.Context, in *UpsertContactGrpcRequest, opts ...grpc.CallOption) (*ContactIdGrpcResponse, error)
	LinkPhoneNumberToContact(ctx context.Context, in *LinkPhoneNumberToContactGrpcRequest, opts ...grpc.CallOption) (*ContactIdGrpcResponse, error)
	LinkEmailToContact(ctx context.Context, in *LinkEmailToContactGrpcRequest, opts ...grpc.CallOption) (*ContactIdGrpcResponse, error)
	LinkLocationToContact(ctx context.Context, in *LinkLocationToContactGrpcRequest, opts ...grpc.CallOption) (*ContactIdGrpcResponse, error)
	LinkWithOrganization(ctx context.Context, in *LinkWithOrganizationGrpcRequest, opts ...grpc.CallOption) (*ContactIdGrpcResponse, 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.

type ContactGrpcServiceServer

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 LinkEmailToContactGrpcRequest

type LinkEmailToContactGrpcRequest 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"`
	EmailId        string `protobuf:"bytes,3,opt,name=emailId,proto3" json:"emailId,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 (*LinkEmailToContactGrpcRequest) Descriptor deprecated

func (*LinkEmailToContactGrpcRequest) Descriptor() ([]byte, []int)

Deprecated: Use LinkEmailToContactGrpcRequest.ProtoReflect.Descriptor instead.

func (*LinkEmailToContactGrpcRequest) GetAppSource

func (x *LinkEmailToContactGrpcRequest) GetAppSource() string

func (*LinkEmailToContactGrpcRequest) GetContactId

func (x *LinkEmailToContactGrpcRequest) GetContactId() string

func (*LinkEmailToContactGrpcRequest) GetEmailId

func (x *LinkEmailToContactGrpcRequest) GetEmailId() string

func (*LinkEmailToContactGrpcRequest) GetLabel

func (x *LinkEmailToContactGrpcRequest) GetLabel() string

func (*LinkEmailToContactGrpcRequest) GetLoggedInUserId

func (x *LinkEmailToContactGrpcRequest) GetLoggedInUserId() string

func (*LinkEmailToContactGrpcRequest) GetPrimary

func (x *LinkEmailToContactGrpcRequest) GetPrimary() bool

func (*LinkEmailToContactGrpcRequest) GetTenant

func (x *LinkEmailToContactGrpcRequest) GetTenant() string

func (*LinkEmailToContactGrpcRequest) ProtoMessage

func (*LinkEmailToContactGrpcRequest) ProtoMessage()

func (*LinkEmailToContactGrpcRequest) ProtoReflect

func (*LinkEmailToContactGrpcRequest) Reset

func (x *LinkEmailToContactGrpcRequest) Reset()

func (*LinkEmailToContactGrpcRequest) 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 (*LinkLocationToContactGrpcRequest) ProtoMessage

func (*LinkLocationToContactGrpcRequest) ProtoMessage()

func (*LinkLocationToContactGrpcRequest) ProtoReflect

func (*LinkLocationToContactGrpcRequest) Reset

func (*LinkLocationToContactGrpcRequest) 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 (*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 (*LinkPhoneNumberToContactGrpcRequest) ProtoMessage

func (*LinkPhoneNumberToContactGrpcRequest) ProtoMessage()

func (*LinkPhoneNumberToContactGrpcRequest) ProtoReflect

func (*LinkPhoneNumberToContactGrpcRequest) Reset

func (*LinkPhoneNumberToContactGrpcRequest) String

type LinkWithOrganizationGrpcRequest

type LinkWithOrganizationGrpcRequest 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"`
	OrganizationId string                 `protobuf:"bytes,3,opt,name=organizationId,proto3" json:"organizationId,omitempty"`
	LoggedInUserId string                 `protobuf:"bytes,4,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	SourceFields   *common.SourceFields   `protobuf:"bytes,5,opt,name=sourceFields,proto3" json:"sourceFields,omitempty"`
	StartedAt      *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=startedAt,proto3" json:"startedAt,omitempty"`
	EndedAt        *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=endedAt,proto3" json:"endedAt,omitempty"`
	JobTitle       string                 `protobuf:"bytes,8,opt,name=jobTitle,proto3" json:"jobTitle,omitempty"`
	Primary        bool                   `protobuf:"varint,9,opt,name=primary,proto3" json:"primary,omitempty"`
	Description    string                 `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"`
	CreatedAt      *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt      *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	AppSource      string                 `protobuf:"bytes,13,opt,name=appSource,proto3" json:"appSource,omitempty"`
	// contains filtered or unexported fields
}

func (*LinkWithOrganizationGrpcRequest) Descriptor deprecated

func (*LinkWithOrganizationGrpcRequest) Descriptor() ([]byte, []int)

Deprecated: Use LinkWithOrganizationGrpcRequest.ProtoReflect.Descriptor instead.

func (*LinkWithOrganizationGrpcRequest) GetAppSource

func (x *LinkWithOrganizationGrpcRequest) GetAppSource() string

func (*LinkWithOrganizationGrpcRequest) GetContactId

func (x *LinkWithOrganizationGrpcRequest) GetContactId() string

func (*LinkWithOrganizationGrpcRequest) GetCreatedAt

func (*LinkWithOrganizationGrpcRequest) GetDescription

func (x *LinkWithOrganizationGrpcRequest) GetDescription() string

func (*LinkWithOrganizationGrpcRequest) GetEndedAt

func (*LinkWithOrganizationGrpcRequest) GetJobTitle

func (x *LinkWithOrganizationGrpcRequest) GetJobTitle() string

func (*LinkWithOrganizationGrpcRequest) GetLoggedInUserId

func (x *LinkWithOrganizationGrpcRequest) GetLoggedInUserId() string

func (*LinkWithOrganizationGrpcRequest) GetOrganizationId

func (x *LinkWithOrganizationGrpcRequest) GetOrganizationId() string

func (*LinkWithOrganizationGrpcRequest) GetPrimary

func (x *LinkWithOrganizationGrpcRequest) GetPrimary() bool

func (*LinkWithOrganizationGrpcRequest) GetSourceFields

func (x *LinkWithOrganizationGrpcRequest) GetSourceFields() *common.SourceFields

func (*LinkWithOrganizationGrpcRequest) GetStartedAt

func (*LinkWithOrganizationGrpcRequest) GetTenant

func (x *LinkWithOrganizationGrpcRequest) GetTenant() string

func (*LinkWithOrganizationGrpcRequest) GetUpdatedAt

func (*LinkWithOrganizationGrpcRequest) ProtoMessage

func (*LinkWithOrganizationGrpcRequest) ProtoMessage()

func (*LinkWithOrganizationGrpcRequest) ProtoReflect

func (*LinkWithOrganizationGrpcRequest) Reset

func (*LinkWithOrganizationGrpcRequest) String

type UnimplementedContactGrpcServiceServer

type UnimplementedContactGrpcServiceServer struct {
}

UnimplementedContactGrpcServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedContactGrpcServiceServer) LinkEmailToContact

func (UnimplementedContactGrpcServiceServer) LinkLocationToContact

func (UnimplementedContactGrpcServiceServer) LinkPhoneNumberToContact

func (UnimplementedContactGrpcServiceServer) LinkWithOrganization

func (UnimplementedContactGrpcServiceServer) UpsertContact

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.

type UpsertContactGrpcRequest

type UpsertContactGrpcRequest struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Tenant    string `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	FirstName string `protobuf:"bytes,3,opt,name=firstName,proto3" json:"firstName,omitempty"`
	LastName  string `protobuf:"bytes,4,opt,name=lastName,proto3" json:"lastName,omitempty"`
	Name      string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	Prefix    string `protobuf:"bytes,6,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// Deprecated: Marked as deprecated in contact.proto.
	AppSource string `protobuf:"bytes,7,opt,name=appSource,proto3" json:"appSource,omitempty"`
	// Deprecated: Marked as deprecated in contact.proto.
	Source string `protobuf:"bytes,8,opt,name=source,proto3" json:"source,omitempty"`
	// Deprecated: Marked as deprecated in contact.proto.
	SourceOfTruth        string                       `protobuf:"bytes,9,opt,name=sourceOfTruth,proto3" json:"sourceOfTruth,omitempty"`
	CreatedAt            *timestamppb.Timestamp       `protobuf:"bytes,10,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt            *timestamppb.Timestamp       `protobuf:"bytes,11,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	Description          string                       `protobuf:"bytes,12,opt,name=description,proto3" json:"description,omitempty"`
	Timezone             string                       `protobuf:"bytes,13,opt,name=timezone,proto3" json:"timezone,omitempty"`
	ProfilePhotoUrl      string                       `protobuf:"bytes,14,opt,name=profilePhotoUrl,proto3" json:"profilePhotoUrl,omitempty"`
	SourceFields         *common.SourceFields         `protobuf:"bytes,15,opt,name=sourceFields,proto3" json:"sourceFields,omitempty"`
	ExternalSystemFields *common.ExternalSystemFields `protobuf:"bytes,16,opt,name=externalSystemFields,proto3" json:"externalSystemFields,omitempty"`
	LoggedInUserId       string                       `protobuf:"bytes,17,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	// contains filtered or unexported fields
}

func (*UpsertContactGrpcRequest) Descriptor deprecated

func (*UpsertContactGrpcRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpsertContactGrpcRequest.ProtoReflect.Descriptor instead.

func (*UpsertContactGrpcRequest) GetAppSource deprecated

func (x *UpsertContactGrpcRequest) GetAppSource() string

Deprecated: Marked as deprecated in contact.proto.

func (*UpsertContactGrpcRequest) GetCreatedAt

func (x *UpsertContactGrpcRequest) GetCreatedAt() *timestamppb.Timestamp

func (*UpsertContactGrpcRequest) GetDescription

func (x *UpsertContactGrpcRequest) GetDescription() string

func (*UpsertContactGrpcRequest) GetExternalSystemFields

func (x *UpsertContactGrpcRequest) GetExternalSystemFields() *common.ExternalSystemFields

func (*UpsertContactGrpcRequest) GetFirstName

func (x *UpsertContactGrpcRequest) GetFirstName() string

func (*UpsertContactGrpcRequest) GetId

func (x *UpsertContactGrpcRequest) GetId() string

func (*UpsertContactGrpcRequest) GetLastName

func (x *UpsertContactGrpcRequest) GetLastName() string

func (*UpsertContactGrpcRequest) GetLoggedInUserId

func (x *UpsertContactGrpcRequest) GetLoggedInUserId() string

func (*UpsertContactGrpcRequest) GetName

func (x *UpsertContactGrpcRequest) GetName() string

func (*UpsertContactGrpcRequest) GetPrefix

func (x *UpsertContactGrpcRequest) GetPrefix() string

func (*UpsertContactGrpcRequest) GetProfilePhotoUrl

func (x *UpsertContactGrpcRequest) GetProfilePhotoUrl() string

func (*UpsertContactGrpcRequest) GetSource deprecated

func (x *UpsertContactGrpcRequest) GetSource() string

Deprecated: Marked as deprecated in contact.proto.

func (*UpsertContactGrpcRequest) GetSourceFields

func (x *UpsertContactGrpcRequest) GetSourceFields() *common.SourceFields

func (*UpsertContactGrpcRequest) GetSourceOfTruth deprecated

func (x *UpsertContactGrpcRequest) GetSourceOfTruth() string

Deprecated: Marked as deprecated in contact.proto.

func (*UpsertContactGrpcRequest) GetTenant

func (x *UpsertContactGrpcRequest) GetTenant() string

func (*UpsertContactGrpcRequest) GetTimezone

func (x *UpsertContactGrpcRequest) GetTimezone() string

func (*UpsertContactGrpcRequest) GetUpdatedAt

func (x *UpsertContactGrpcRequest) GetUpdatedAt() *timestamppb.Timestamp

func (*UpsertContactGrpcRequest) ProtoMessage

func (*UpsertContactGrpcRequest) ProtoMessage()

func (*UpsertContactGrpcRequest) ProtoReflect

func (x *UpsertContactGrpcRequest) ProtoReflect() protoreflect.Message

func (*UpsertContactGrpcRequest) Reset

func (x *UpsertContactGrpcRequest) Reset()

func (*UpsertContactGrpcRequest) String

func (x *UpsertContactGrpcRequest) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL