phone_number_grpc_service

package
v0.0.0-...-4dee060 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_phone_number_proto protoreflect.FileDescriptor
View Source
var PhoneNumberGrpcService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "phoneNumberGrpcService",
	HandlerType: (*PhoneNumberGrpcServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpsertPhoneNumber",
			Handler:    _PhoneNumberGrpcService_UpsertPhoneNumber_Handler,
		},
		{
			MethodName: "FailPhoneNumberValidation",
			Handler:    _PhoneNumberGrpcService_FailPhoneNumberValidation_Handler,
		},
		{
			MethodName: "PassPhoneNumberValidation",
			Handler:    _PhoneNumberGrpcService_PassPhoneNumberValidation_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "phone_number.proto",
}

PhoneNumberGrpcService_ServiceDesc is the grpc.ServiceDesc for PhoneNumberGrpcService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterPhoneNumberGrpcServiceServer

func RegisterPhoneNumberGrpcServiceServer(s grpc.ServiceRegistrar, srv PhoneNumberGrpcServiceServer)

Types

type FailPhoneNumberValidationGrpcRequest

type FailPhoneNumberValidationGrpcRequest struct {
	Tenant         string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	PhoneNumberId  string `protobuf:"bytes,2,opt,name=phoneNumberId,proto3" json:"phoneNumberId,omitempty"`
	PhoneNumber    string `protobuf:"bytes,3,opt,name=phoneNumber,proto3" json:"phoneNumber,omitempty"`
	CountryCodeA2  string `protobuf:"bytes,4,opt,name=countryCodeA2,proto3" json:"countryCodeA2,omitempty"`
	ErrorMessage   string `protobuf:"bytes,5,opt,name=errorMessage,proto3" json:"errorMessage,omitempty"`
	AppSource      string `protobuf:"bytes,6,opt,name=appSource,proto3" json:"appSource,omitempty"`
	LoggedInUserId string `protobuf:"bytes,7,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	// contains filtered or unexported fields
}

func (*FailPhoneNumberValidationGrpcRequest) Descriptor deprecated

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

Deprecated: Use FailPhoneNumberValidationGrpcRequest.ProtoReflect.Descriptor instead.

func (*FailPhoneNumberValidationGrpcRequest) GetAppSource

func (x *FailPhoneNumberValidationGrpcRequest) GetAppSource() string

func (*FailPhoneNumberValidationGrpcRequest) GetCountryCodeA2

func (x *FailPhoneNumberValidationGrpcRequest) GetCountryCodeA2() string

func (*FailPhoneNumberValidationGrpcRequest) GetErrorMessage

func (x *FailPhoneNumberValidationGrpcRequest) GetErrorMessage() string

func (*FailPhoneNumberValidationGrpcRequest) GetLoggedInUserId

func (x *FailPhoneNumberValidationGrpcRequest) GetLoggedInUserId() string

func (*FailPhoneNumberValidationGrpcRequest) GetPhoneNumber

func (x *FailPhoneNumberValidationGrpcRequest) GetPhoneNumber() string

func (*FailPhoneNumberValidationGrpcRequest) GetPhoneNumberId

func (x *FailPhoneNumberValidationGrpcRequest) GetPhoneNumberId() string

func (*FailPhoneNumberValidationGrpcRequest) GetTenant

func (*FailPhoneNumberValidationGrpcRequest) ProtoMessage

func (*FailPhoneNumberValidationGrpcRequest) ProtoMessage()

func (*FailPhoneNumberValidationGrpcRequest) ProtoReflect

func (*FailPhoneNumberValidationGrpcRequest) Reset

func (*FailPhoneNumberValidationGrpcRequest) String

type PassPhoneNumberValidationGrpcRequest

type PassPhoneNumberValidationGrpcRequest struct {
	Tenant         string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	PhoneNumberId  string `protobuf:"bytes,2,opt,name=phoneNumberId,proto3" json:"phoneNumberId,omitempty"`
	PhoneNumber    string `protobuf:"bytes,3,opt,name=phoneNumber,proto3" json:"phoneNumber,omitempty"`
	E164           string `protobuf:"bytes,4,opt,name=e164,proto3" json:"e164,omitempty"`
	CountryCodeA2  string `protobuf:"bytes,5,opt,name=countryCodeA2,proto3" json:"countryCodeA2,omitempty"`
	AppSource      string `protobuf:"bytes,6,opt,name=appSource,proto3" json:"appSource,omitempty"`
	LoggedInUserId string `protobuf:"bytes,7,opt,name=loggedInUserId,proto3" json:"loggedInUserId,omitempty"`
	// contains filtered or unexported fields
}

func (*PassPhoneNumberValidationGrpcRequest) Descriptor deprecated

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

Deprecated: Use PassPhoneNumberValidationGrpcRequest.ProtoReflect.Descriptor instead.

func (*PassPhoneNumberValidationGrpcRequest) GetAppSource

func (x *PassPhoneNumberValidationGrpcRequest) GetAppSource() string

func (*PassPhoneNumberValidationGrpcRequest) GetCountryCodeA2

func (x *PassPhoneNumberValidationGrpcRequest) GetCountryCodeA2() string

func (*PassPhoneNumberValidationGrpcRequest) GetE164

func (*PassPhoneNumberValidationGrpcRequest) GetLoggedInUserId

func (x *PassPhoneNumberValidationGrpcRequest) GetLoggedInUserId() string

func (*PassPhoneNumberValidationGrpcRequest) GetPhoneNumber

func (x *PassPhoneNumberValidationGrpcRequest) GetPhoneNumber() string

func (*PassPhoneNumberValidationGrpcRequest) GetPhoneNumberId

func (x *PassPhoneNumberValidationGrpcRequest) GetPhoneNumberId() string

func (*PassPhoneNumberValidationGrpcRequest) GetTenant

func (*PassPhoneNumberValidationGrpcRequest) ProtoMessage

func (*PassPhoneNumberValidationGrpcRequest) ProtoMessage()

func (*PassPhoneNumberValidationGrpcRequest) ProtoReflect

func (*PassPhoneNumberValidationGrpcRequest) Reset

func (*PassPhoneNumberValidationGrpcRequest) String

type PhoneNumberGrpcServiceClient

type PhoneNumberGrpcServiceClient interface {
	UpsertPhoneNumber(ctx context.Context, in *UpsertPhoneNumberGrpcRequest, opts ...grpc.CallOption) (*PhoneNumberIdGrpcResponse, error)
	FailPhoneNumberValidation(ctx context.Context, in *FailPhoneNumberValidationGrpcRequest, opts ...grpc.CallOption) (*PhoneNumberIdGrpcResponse, error)
	PassPhoneNumberValidation(ctx context.Context, in *PassPhoneNumberValidationGrpcRequest, opts ...grpc.CallOption) (*PhoneNumberIdGrpcResponse, error)
}

PhoneNumberGrpcServiceClient is the client API for PhoneNumberGrpcService 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 PhoneNumberGrpcServiceServer

type PhoneNumberGrpcServiceServer interface {
	UpsertPhoneNumber(context.Context, *UpsertPhoneNumberGrpcRequest) (*PhoneNumberIdGrpcResponse, error)
	FailPhoneNumberValidation(context.Context, *FailPhoneNumberValidationGrpcRequest) (*PhoneNumberIdGrpcResponse, error)
	PassPhoneNumberValidation(context.Context, *PassPhoneNumberValidationGrpcRequest) (*PhoneNumberIdGrpcResponse, error)
}

PhoneNumberGrpcServiceServer is the server API for PhoneNumberGrpcService service. All implementations should embed UnimplementedPhoneNumberGrpcServiceServer for forward compatibility

type PhoneNumberIdGrpcResponse

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

func (*PhoneNumberIdGrpcResponse) Descriptor deprecated

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

Deprecated: Use PhoneNumberIdGrpcResponse.ProtoReflect.Descriptor instead.

func (*PhoneNumberIdGrpcResponse) GetId

func (x *PhoneNumberIdGrpcResponse) GetId() string

func (*PhoneNumberIdGrpcResponse) ProtoMessage

func (*PhoneNumberIdGrpcResponse) ProtoMessage()

func (*PhoneNumberIdGrpcResponse) ProtoReflect

func (*PhoneNumberIdGrpcResponse) Reset

func (x *PhoneNumberIdGrpcResponse) Reset()

func (*PhoneNumberIdGrpcResponse) String

func (x *PhoneNumberIdGrpcResponse) String() string

type UnimplementedPhoneNumberGrpcServiceServer

type UnimplementedPhoneNumberGrpcServiceServer struct {
}

UnimplementedPhoneNumberGrpcServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedPhoneNumberGrpcServiceServer) UpsertPhoneNumber

type UnsafePhoneNumberGrpcServiceServer

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

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

type UpsertPhoneNumberGrpcRequest

type UpsertPhoneNumberGrpcRequest struct {
	Tenant      string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	PhoneNumber string `protobuf:"bytes,2,opt,name=phoneNumber,proto3" json:"phoneNumber,omitempty"`
	// Deprecated: Marked as deprecated in phone_number.proto.
	AppSource string `protobuf:"bytes,3,opt,name=appSource,proto3" json:"appSource,omitempty"`
	// Deprecated: Marked as deprecated in phone_number.proto.
	Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
	// Deprecated: Marked as deprecated in phone_number.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 (*UpsertPhoneNumberGrpcRequest) Descriptor deprecated

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

Deprecated: Use UpsertPhoneNumberGrpcRequest.ProtoReflect.Descriptor instead.

func (*UpsertPhoneNumberGrpcRequest) GetAppSource deprecated

func (x *UpsertPhoneNumberGrpcRequest) GetAppSource() string

Deprecated: Marked as deprecated in phone_number.proto.

func (*UpsertPhoneNumberGrpcRequest) GetCreatedAt

func (*UpsertPhoneNumberGrpcRequest) GetId

func (*UpsertPhoneNumberGrpcRequest) GetLoggedInUserId

func (x *UpsertPhoneNumberGrpcRequest) GetLoggedInUserId() string

func (*UpsertPhoneNumberGrpcRequest) GetPhoneNumber

func (x *UpsertPhoneNumberGrpcRequest) GetPhoneNumber() string

func (*UpsertPhoneNumberGrpcRequest) GetSource deprecated

func (x *UpsertPhoneNumberGrpcRequest) GetSource() string

Deprecated: Marked as deprecated in phone_number.proto.

func (*UpsertPhoneNumberGrpcRequest) GetSourceFields

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

func (*UpsertPhoneNumberGrpcRequest) GetSourceOfTruth deprecated

func (x *UpsertPhoneNumberGrpcRequest) GetSourceOfTruth() string

Deprecated: Marked as deprecated in phone_number.proto.

func (*UpsertPhoneNumberGrpcRequest) GetTenant

func (x *UpsertPhoneNumberGrpcRequest) GetTenant() string

func (*UpsertPhoneNumberGrpcRequest) GetUpdatedAt

func (*UpsertPhoneNumberGrpcRequest) ProtoMessage

func (*UpsertPhoneNumberGrpcRequest) ProtoMessage()

func (*UpsertPhoneNumberGrpcRequest) ProtoReflect

func (*UpsertPhoneNumberGrpcRequest) Reset

func (x *UpsertPhoneNumberGrpcRequest) Reset()

func (*UpsertPhoneNumberGrpcRequest) String

Jump to

Keyboard shortcuts

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