contact_grpc_service

package
v0.0.0-...-80a60a5 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: Apache-2.0 Imports: 12 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

View Source
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)

View Source
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 (*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 (*ContactAddLocationGrpcRequest) Reset

func (x *ContactAddLocationGrpcRequest) Reset()

func (*ContactAddLocationGrpcRequest) 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.

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 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 (*ContactRemoveSocialGrpcRequest) ProtoMessage

func (*ContactRemoveSocialGrpcRequest) ProtoMessage()

func (*ContactRemoveSocialGrpcRequest) ProtoReflect

func (*ContactRemoveSocialGrpcRequest) Reset

func (x *ContactRemoveSocialGrpcRequest) Reset()

func (*ContactRemoveSocialGrpcRequest) 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 UnimplementedContactGrpcServiceServer

type UnimplementedContactGrpcServiceServer struct {
}

UnimplementedContactGrpcServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedContactGrpcServiceServer) LinkLocationToContact

func (UnimplementedContactGrpcServiceServer) LinkPhoneNumberToContact

func (UnimplementedContactGrpcServiceServer) RemoveSocial

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.

Jump to

Keyboard shortcuts

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