email_grpc_service

package
v0.0.0-...-e265171 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 10 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EmailGrpcService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "emailGrpcService",
	HandlerType: (*EmailGrpcServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpsertEmail",
			Handler:    _EmailGrpcService_UpsertEmail_Handler,
		},
		{
			MethodName: "FailEmailValidation",
			Handler:    _EmailGrpcService_FailEmailValidation_Handler,
		},
		{
			MethodName: "PassEmailValidation",
			Handler:    _EmailGrpcService_PassEmailValidation_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "email.proto",
}

EmailGrpcService_ServiceDesc is the grpc.ServiceDesc for EmailGrpcService 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_email_proto protoreflect.FileDescriptor

Functions

func RegisterEmailGrpcServiceServer

func RegisterEmailGrpcServiceServer(s grpc.ServiceRegistrar, srv EmailGrpcServiceServer)

Types

type EmailGrpcServiceClient

type EmailGrpcServiceClient interface {
	UpsertEmail(ctx context.Context, in *UpsertEmailGrpcRequest, opts ...grpc.CallOption) (*EmailIdGrpcResponse, error)
	FailEmailValidation(ctx context.Context, in *FailEmailValidationGrpcRequest, opts ...grpc.CallOption) (*EmailIdGrpcResponse, error)
	PassEmailValidation(ctx context.Context, in *PassEmailValidationGrpcRequest, opts ...grpc.CallOption) (*EmailIdGrpcResponse, error)
}

EmailGrpcServiceClient is the client API for EmailGrpcService 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 EmailGrpcServiceServer

type EmailGrpcServiceServer interface {
	UpsertEmail(context.Context, *UpsertEmailGrpcRequest) (*EmailIdGrpcResponse, error)
	FailEmailValidation(context.Context, *FailEmailValidationGrpcRequest) (*EmailIdGrpcResponse, error)
	PassEmailValidation(context.Context, *PassEmailValidationGrpcRequest) (*EmailIdGrpcResponse, error)
}

EmailGrpcServiceServer is the server API for EmailGrpcService service. All implementations should embed UnimplementedEmailGrpcServiceServer for forward compatibility

type EmailIdGrpcResponse

type EmailIdGrpcResponse struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*EmailIdGrpcResponse) Descriptor deprecated

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

Deprecated: Use EmailIdGrpcResponse.ProtoReflect.Descriptor instead.

func (*EmailIdGrpcResponse) GetId

func (x *EmailIdGrpcResponse) GetId() string

func (*EmailIdGrpcResponse) ProtoMessage

func (*EmailIdGrpcResponse) ProtoMessage()

func (*EmailIdGrpcResponse) ProtoReflect

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

func (*EmailIdGrpcResponse) Reset

func (x *EmailIdGrpcResponse) Reset()

func (*EmailIdGrpcResponse) String

func (x *EmailIdGrpcResponse) String() string

type FailEmailValidationGrpcRequest

type FailEmailValidationGrpcRequest struct {
	Tenant         string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	EmailId        string `protobuf:"bytes,2,opt,name=emailId,proto3" json:"emailId,omitempty"`
	ErrorMessage   string `protobuf:"bytes,3,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	AppSource      string `protobuf:"bytes,4,opt,name=appSource,proto3" json:"appSource,omitempty"`
	LoggedInUserId string `protobuf:"bytes,5,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	// contains filtered or unexported fields
}

func (*FailEmailValidationGrpcRequest) Descriptor deprecated

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

Deprecated: Use FailEmailValidationGrpcRequest.ProtoReflect.Descriptor instead.

func (*FailEmailValidationGrpcRequest) GetAppSource

func (x *FailEmailValidationGrpcRequest) GetAppSource() string

func (*FailEmailValidationGrpcRequest) GetEmailId

func (x *FailEmailValidationGrpcRequest) GetEmailId() string

func (*FailEmailValidationGrpcRequest) GetErrorMessage

func (x *FailEmailValidationGrpcRequest) GetErrorMessage() string

func (*FailEmailValidationGrpcRequest) GetLoggedInUserId

func (x *FailEmailValidationGrpcRequest) GetLoggedInUserId() string

func (*FailEmailValidationGrpcRequest) GetTenant

func (x *FailEmailValidationGrpcRequest) GetTenant() string

func (*FailEmailValidationGrpcRequest) ProtoMessage

func (*FailEmailValidationGrpcRequest) ProtoMessage()

func (*FailEmailValidationGrpcRequest) ProtoReflect

func (*FailEmailValidationGrpcRequest) Reset

func (x *FailEmailValidationGrpcRequest) Reset()

func (*FailEmailValidationGrpcRequest) String

type PassEmailValidationGrpcRequest

type PassEmailValidationGrpcRequest struct {
	Tenant         string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	EmailId        string `protobuf:"bytes,2,opt,name=emailId,proto3" json:"emailId,omitempty"`
	AppSource      string `protobuf:"bytes,3,opt,name=appSource,proto3" json:"appSource,omitempty"`
	LoggedInUserId string `protobuf:"bytes,4,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	RawEmail       string `protobuf:"bytes,5,opt,name=rawEmail,proto3" json:"rawEmail,omitempty"`
	IsReachable    string `protobuf:"bytes,6,opt,name=isReachable,proto3" json:"isReachable,omitempty"`
	ErrorMessage   string `protobuf:"bytes,7,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	Domain         string `protobuf:"bytes,8,opt,name=domain,proto3" json:"domain,omitempty"`
	Username       string `protobuf:"bytes,9,opt,name=username,proto3" json:"username,omitempty"`
	Email          string `protobuf:"bytes,10,opt,name=email,proto3" json:"email,omitempty"`
	AcceptsMail    bool   `protobuf:"varint,11,opt,name=acceptsMail,proto3" json:"acceptsMail,omitempty"`
	CanConnectSmtp bool   `protobuf:"varint,12,opt,name=canConnectSmtp,proto3" json:"canConnectSmtp,omitempty"`
	HasFullInbox   bool   `protobuf:"varint,13,opt,name=hasFullInbox,proto3" json:"hasFullInbox,omitempty"`
	IsCatchAll     bool   `protobuf:"varint,14,opt,name=isCatchAll,proto3" json:"isCatchAll,omitempty"`
	IsDisabled     bool   `protobuf:"varint,15,opt,name=isDisabled,proto3" json:"isDisabled,omitempty"`
	IsValidSyntax  bool   `protobuf:"varint,16,opt,name=isValidSyntax,proto3" json:"isValidSyntax,omitempty"`
	// contains filtered or unexported fields
}

func (*PassEmailValidationGrpcRequest) Descriptor deprecated

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

Deprecated: Use PassEmailValidationGrpcRequest.ProtoReflect.Descriptor instead.

func (*PassEmailValidationGrpcRequest) GetAcceptsMail

func (x *PassEmailValidationGrpcRequest) GetAcceptsMail() bool

func (*PassEmailValidationGrpcRequest) GetAppSource

func (x *PassEmailValidationGrpcRequest) GetAppSource() string

func (*PassEmailValidationGrpcRequest) GetCanConnectSmtp

func (x *PassEmailValidationGrpcRequest) GetCanConnectSmtp() bool

func (*PassEmailValidationGrpcRequest) GetDomain

func (x *PassEmailValidationGrpcRequest) GetDomain() string

func (*PassEmailValidationGrpcRequest) GetEmail

func (x *PassEmailValidationGrpcRequest) GetEmail() string

func (*PassEmailValidationGrpcRequest) GetEmailId

func (x *PassEmailValidationGrpcRequest) GetEmailId() string

func (*PassEmailValidationGrpcRequest) GetErrorMessage

func (x *PassEmailValidationGrpcRequest) GetErrorMessage() string

func (*PassEmailValidationGrpcRequest) GetHasFullInbox

func (x *PassEmailValidationGrpcRequest) GetHasFullInbox() bool

func (*PassEmailValidationGrpcRequest) GetIsCatchAll

func (x *PassEmailValidationGrpcRequest) GetIsCatchAll() bool

func (*PassEmailValidationGrpcRequest) GetIsDisabled

func (x *PassEmailValidationGrpcRequest) GetIsDisabled() bool

func (*PassEmailValidationGrpcRequest) GetIsReachable

func (x *PassEmailValidationGrpcRequest) GetIsReachable() string

func (*PassEmailValidationGrpcRequest) GetIsValidSyntax

func (x *PassEmailValidationGrpcRequest) GetIsValidSyntax() bool

func (*PassEmailValidationGrpcRequest) GetLoggedInUserId

func (x *PassEmailValidationGrpcRequest) GetLoggedInUserId() string

func (*PassEmailValidationGrpcRequest) GetRawEmail

func (x *PassEmailValidationGrpcRequest) GetRawEmail() string

func (*PassEmailValidationGrpcRequest) GetTenant

func (x *PassEmailValidationGrpcRequest) GetTenant() string

func (*PassEmailValidationGrpcRequest) GetUsername

func (x *PassEmailValidationGrpcRequest) GetUsername() string

func (*PassEmailValidationGrpcRequest) ProtoMessage

func (*PassEmailValidationGrpcRequest) ProtoMessage()

func (*PassEmailValidationGrpcRequest) ProtoReflect

func (*PassEmailValidationGrpcRequest) Reset

func (x *PassEmailValidationGrpcRequest) Reset()

func (*PassEmailValidationGrpcRequest) String

type UnimplementedEmailGrpcServiceServer

type UnimplementedEmailGrpcServiceServer struct {
}

UnimplementedEmailGrpcServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedEmailGrpcServiceServer) FailEmailValidation

func (UnimplementedEmailGrpcServiceServer) PassEmailValidation

func (UnimplementedEmailGrpcServiceServer) UpsertEmail

type UnsafeEmailGrpcServiceServer

type UnsafeEmailGrpcServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeEmailGrpcServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EmailGrpcServiceServer will result in compilation errors.

type UpsertEmailGrpcRequest

type UpsertEmailGrpcRequest struct {
	Tenant   string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	RawEmail string `protobuf:"bytes,2,opt,name=rawEmail,proto3" json:"rawEmail,omitempty"`
	// Deprecated: Marked as deprecated in email.proto.
	AppSource string `protobuf:"bytes,3,opt,name=appSource,proto3" json:"appSource,omitempty"`
	// Deprecated: Marked as deprecated in email.proto.
	Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
	// Deprecated: Marked as deprecated in email.proto.
	SourceOfTruth  string                 `protobuf:"bytes,5,opt,name=sourceOfTruth,proto3" json:"sourceOfTruth,omitempty"`
	CreatedAt      *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt      *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	Id             string                 `protobuf:"bytes,8,opt,name=id,proto3" json:"id,omitempty"`
	LoggedInUserId string                 `protobuf:"bytes,9,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	SourceFields   *common.SourceFields   `protobuf:"bytes,10,opt,name=sourceFields,proto3" json:"sourceFields,omitempty"`
	// contains filtered or unexported fields
}

func (*UpsertEmailGrpcRequest) Descriptor deprecated

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

Deprecated: Use UpsertEmailGrpcRequest.ProtoReflect.Descriptor instead.

func (*UpsertEmailGrpcRequest) GetAppSource deprecated

func (x *UpsertEmailGrpcRequest) GetAppSource() string

Deprecated: Marked as deprecated in email.proto.

func (*UpsertEmailGrpcRequest) GetCreatedAt

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

func (*UpsertEmailGrpcRequest) GetId

func (x *UpsertEmailGrpcRequest) GetId() string

func (*UpsertEmailGrpcRequest) GetLoggedInUserId

func (x *UpsertEmailGrpcRequest) GetLoggedInUserId() string

func (*UpsertEmailGrpcRequest) GetRawEmail

func (x *UpsertEmailGrpcRequest) GetRawEmail() string

func (*UpsertEmailGrpcRequest) GetSource deprecated

func (x *UpsertEmailGrpcRequest) GetSource() string

Deprecated: Marked as deprecated in email.proto.

func (*UpsertEmailGrpcRequest) GetSourceFields

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

func (*UpsertEmailGrpcRequest) GetSourceOfTruth deprecated

func (x *UpsertEmailGrpcRequest) GetSourceOfTruth() string

Deprecated: Marked as deprecated in email.proto.

func (*UpsertEmailGrpcRequest) GetTenant

func (x *UpsertEmailGrpcRequest) GetTenant() string

func (*UpsertEmailGrpcRequest) GetUpdatedAt

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

func (*UpsertEmailGrpcRequest) ProtoMessage

func (*UpsertEmailGrpcRequest) ProtoMessage()

func (*UpsertEmailGrpcRequest) ProtoReflect

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

func (*UpsertEmailGrpcRequest) Reset

func (x *UpsertEmailGrpcRequest) Reset()

func (*UpsertEmailGrpcRequest) String

func (x *UpsertEmailGrpcRequest) String() string

Jump to

Keyboard shortcuts

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