Documentation ¶
Index ¶
- Variables
- func RegisterPhoneNumberGrpcServiceServer(s grpc.ServiceRegistrar, srv PhoneNumberGrpcServiceServer)
- type FailPhoneNumberValidationGrpcRequest
- func (*FailPhoneNumberValidationGrpcRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FailPhoneNumberValidationGrpcRequest) GetAppSource() string
- func (x *FailPhoneNumberValidationGrpcRequest) GetCountryCodeA2() string
- func (x *FailPhoneNumberValidationGrpcRequest) GetErrorMessage() string
- func (x *FailPhoneNumberValidationGrpcRequest) GetLoggedInUserId() string
- func (x *FailPhoneNumberValidationGrpcRequest) GetPhoneNumber() string
- func (x *FailPhoneNumberValidationGrpcRequest) GetPhoneNumberId() string
- func (x *FailPhoneNumberValidationGrpcRequest) GetTenant() string
- func (*FailPhoneNumberValidationGrpcRequest) ProtoMessage()
- func (x *FailPhoneNumberValidationGrpcRequest) ProtoReflect() protoreflect.Message
- func (x *FailPhoneNumberValidationGrpcRequest) Reset()
- func (x *FailPhoneNumberValidationGrpcRequest) String() string
- type PassPhoneNumberValidationGrpcRequest
- func (*PassPhoneNumberValidationGrpcRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PassPhoneNumberValidationGrpcRequest) GetAppSource() string
- func (x *PassPhoneNumberValidationGrpcRequest) GetCountryCodeA2() string
- func (x *PassPhoneNumberValidationGrpcRequest) GetE164() string
- func (x *PassPhoneNumberValidationGrpcRequest) GetLoggedInUserId() string
- func (x *PassPhoneNumberValidationGrpcRequest) GetPhoneNumber() string
- func (x *PassPhoneNumberValidationGrpcRequest) GetPhoneNumberId() string
- func (x *PassPhoneNumberValidationGrpcRequest) GetTenant() string
- func (*PassPhoneNumberValidationGrpcRequest) ProtoMessage()
- func (x *PassPhoneNumberValidationGrpcRequest) ProtoReflect() protoreflect.Message
- func (x *PassPhoneNumberValidationGrpcRequest) Reset()
- func (x *PassPhoneNumberValidationGrpcRequest) String() string
- type PhoneNumberGrpcServiceClient
- type PhoneNumberGrpcServiceServer
- type PhoneNumberIdGrpcResponse
- func (*PhoneNumberIdGrpcResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PhoneNumberIdGrpcResponse) GetId() string
- func (*PhoneNumberIdGrpcResponse) ProtoMessage()
- func (x *PhoneNumberIdGrpcResponse) ProtoReflect() protoreflect.Message
- func (x *PhoneNumberIdGrpcResponse) Reset()
- func (x *PhoneNumberIdGrpcResponse) String() string
- type UnimplementedPhoneNumberGrpcServiceServer
- func (UnimplementedPhoneNumberGrpcServiceServer) FailPhoneNumberValidation(context.Context, *FailPhoneNumberValidationGrpcRequest) (*PhoneNumberIdGrpcResponse, error)
- func (UnimplementedPhoneNumberGrpcServiceServer) PassPhoneNumberValidation(context.Context, *PassPhoneNumberValidationGrpcRequest) (*PhoneNumberIdGrpcResponse, error)
- func (UnimplementedPhoneNumberGrpcServiceServer) UpsertPhoneNumber(context.Context, *UpsertPhoneNumberGrpcRequest) (*PhoneNumberIdGrpcResponse, error)
- type UnsafePhoneNumberGrpcServiceServer
- type UpsertPhoneNumberGrpcRequest
- func (*UpsertPhoneNumberGrpcRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertPhoneNumberGrpcRequest) GetAppSource() stringdeprecated
- func (x *UpsertPhoneNumberGrpcRequest) GetCreatedAt() *timestamppb.Timestamp
- func (x *UpsertPhoneNumberGrpcRequest) GetId() string
- func (x *UpsertPhoneNumberGrpcRequest) GetLoggedInUserId() string
- func (x *UpsertPhoneNumberGrpcRequest) GetPhoneNumber() string
- func (x *UpsertPhoneNumberGrpcRequest) GetSource() stringdeprecated
- func (x *UpsertPhoneNumberGrpcRequest) GetSourceFields() *common.SourceFields
- func (x *UpsertPhoneNumberGrpcRequest) GetSourceOfTruth() stringdeprecated
- func (x *UpsertPhoneNumberGrpcRequest) GetTenant() string
- func (x *UpsertPhoneNumberGrpcRequest) GetUpdatedAt() *timestamppb.Timestamp
- func (*UpsertPhoneNumberGrpcRequest) ProtoMessage()
- func (x *UpsertPhoneNumberGrpcRequest) ProtoReflect() protoreflect.Message
- func (x *UpsertPhoneNumberGrpcRequest) Reset()
- func (x *UpsertPhoneNumberGrpcRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var File_phone_number_proto protoreflect.FileDescriptor
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 (x *FailPhoneNumberValidationGrpcRequest) GetTenant() string
func (*FailPhoneNumberValidationGrpcRequest) ProtoMessage ¶
func (*FailPhoneNumberValidationGrpcRequest) ProtoMessage()
func (*FailPhoneNumberValidationGrpcRequest) ProtoReflect ¶
func (x *FailPhoneNumberValidationGrpcRequest) ProtoReflect() protoreflect.Message
func (*FailPhoneNumberValidationGrpcRequest) Reset ¶
func (x *FailPhoneNumberValidationGrpcRequest) Reset()
func (*FailPhoneNumberValidationGrpcRequest) String ¶
func (x *FailPhoneNumberValidationGrpcRequest) String() 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 (x *PassPhoneNumberValidationGrpcRequest) GetE164() string
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 (x *PassPhoneNumberValidationGrpcRequest) GetTenant() string
func (*PassPhoneNumberValidationGrpcRequest) ProtoMessage ¶
func (*PassPhoneNumberValidationGrpcRequest) ProtoMessage()
func (*PassPhoneNumberValidationGrpcRequest) ProtoReflect ¶
func (x *PassPhoneNumberValidationGrpcRequest) ProtoReflect() protoreflect.Message
func (*PassPhoneNumberValidationGrpcRequest) Reset ¶
func (x *PassPhoneNumberValidationGrpcRequest) Reset()
func (*PassPhoneNumberValidationGrpcRequest) String ¶
func (x *PassPhoneNumberValidationGrpcRequest) String() 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.
func NewPhoneNumberGrpcServiceClient ¶
func NewPhoneNumberGrpcServiceClient(cc grpc.ClientConnInterface) PhoneNumberGrpcServiceClient
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 (x *PhoneNumberIdGrpcResponse) ProtoReflect() protoreflect.Message
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) FailPhoneNumberValidation ¶
func (UnimplementedPhoneNumberGrpcServiceServer) FailPhoneNumberValidation(context.Context, *FailPhoneNumberValidationGrpcRequest) (*PhoneNumberIdGrpcResponse, error)
func (UnimplementedPhoneNumberGrpcServiceServer) PassPhoneNumberValidation ¶
func (UnimplementedPhoneNumberGrpcServiceServer) PassPhoneNumberValidation(context.Context, *PassPhoneNumberValidationGrpcRequest) (*PhoneNumberIdGrpcResponse, error)
func (UnimplementedPhoneNumberGrpcServiceServer) UpsertPhoneNumber ¶
func (UnimplementedPhoneNumberGrpcServiceServer) UpsertPhoneNumber(context.Context, *UpsertPhoneNumberGrpcRequest) (*PhoneNumberIdGrpcResponse, error)
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 (x *UpsertPhoneNumberGrpcRequest) GetCreatedAt() *timestamppb.Timestamp
func (*UpsertPhoneNumberGrpcRequest) GetId ¶
func (x *UpsertPhoneNumberGrpcRequest) GetId() string
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 (x *UpsertPhoneNumberGrpcRequest) GetUpdatedAt() *timestamppb.Timestamp
func (*UpsertPhoneNumberGrpcRequest) ProtoMessage ¶
func (*UpsertPhoneNumberGrpcRequest) ProtoMessage()
func (*UpsertPhoneNumberGrpcRequest) ProtoReflect ¶
func (x *UpsertPhoneNumberGrpcRequest) ProtoReflect() protoreflect.Message
func (*UpsertPhoneNumberGrpcRequest) Reset ¶
func (x *UpsertPhoneNumberGrpcRequest) Reset()
func (*UpsertPhoneNumberGrpcRequest) String ¶
func (x *UpsertPhoneNumberGrpcRequest) String() string