Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterNumberBlockServiceServer(s grpc.ServiceRegistrar, srv NumberBlockServiceServer)
- func RegisterNumberPortabilityServiceServer(s grpc.ServiceRegistrar, srv NumberPortabilityServiceServer)
- func RegisterRoutingDestinationServiceServer(s grpc.ServiceRegistrar, srv RoutingDestinationServiceServer)
- type CreateOrUpdateDestinationRequest
- func (*CreateOrUpdateDestinationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrUpdateDestinationRequest) GetDestination() *RoutingDestination
- func (*CreateOrUpdateDestinationRequest) ProtoMessage()
- func (x *CreateOrUpdateDestinationRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOrUpdateDestinationRequest) Reset()
- func (x *CreateOrUpdateDestinationRequest) String() string
- type CreateOrUpdateDestinationResponse
- func (*CreateOrUpdateDestinationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrUpdateDestinationResponse) GetDestinationId() string
- func (*CreateOrUpdateDestinationResponse) ProtoMessage()
- func (x *CreateOrUpdateDestinationResponse) ProtoReflect() protoreflect.Message
- func (x *CreateOrUpdateDestinationResponse) Reset()
- func (x *CreateOrUpdateDestinationResponse) String() string
- type CreateOrUpdateNumberBlockRequest
- func (*CreateOrUpdateNumberBlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrUpdateNumberBlockRequest) GetBlock() *NumberBlock
- func (*CreateOrUpdateNumberBlockRequest) ProtoMessage()
- func (x *CreateOrUpdateNumberBlockRequest) ProtoReflect() protoreflect.Message
- func (x *CreateOrUpdateNumberBlockRequest) Reset()
- func (x *CreateOrUpdateNumberBlockRequest) String() string
- type CreateOrUpdateNumberBlockResponse
- func (*CreateOrUpdateNumberBlockResponse) Descriptor() ([]byte, []int)deprecated
- func (*CreateOrUpdateNumberBlockResponse) ProtoMessage()
- func (x *CreateOrUpdateNumberBlockResponse) ProtoReflect() protoreflect.Message
- func (x *CreateOrUpdateNumberBlockResponse) Reset()
- func (x *CreateOrUpdateNumberBlockResponse) String() string
- type CreatePortingRecordsRequest
- func (*CreatePortingRecordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePortingRecordsRequest) GetRecords() []*PortingRecord
- func (*CreatePortingRecordsRequest) ProtoMessage()
- func (x *CreatePortingRecordsRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePortingRecordsRequest) Reset()
- func (x *CreatePortingRecordsRequest) String() string
- type CreatePortingRecordsResponse
- func (*CreatePortingRecordsResponse) Descriptor() ([]byte, []int)deprecated
- func (*CreatePortingRecordsResponse) ProtoMessage()
- func (x *CreatePortingRecordsResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePortingRecordsResponse) Reset()
- func (x *CreatePortingRecordsResponse) String() string
- type DeleteDestinationRequest
- func (*DeleteDestinationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDestinationRequest) GetDestinationId() string
- func (*DeleteDestinationRequest) ProtoMessage()
- func (x *DeleteDestinationRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDestinationRequest) Reset()
- func (x *DeleteDestinationRequest) String() string
- type DeleteDestinationResponse
- type DeleteNumberBlockRequest
- func (*DeleteNumberBlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNumberBlockRequest) GetDestinationId() string
- func (x *DeleteNumberBlockRequest) GetPrefix() string
- func (*DeleteNumberBlockRequest) ProtoMessage()
- func (x *DeleteNumberBlockRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNumberBlockRequest) Reset()
- func (x *DeleteNumberBlockRequest) String() string
- type DeleteNumberBlockResponse
- type ListDestinationsRequest
- func (*ListDestinationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDestinationsRequest) GetDestinationId() string
- func (*ListDestinationsRequest) ProtoMessage()
- func (x *ListDestinationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDestinationsRequest) Reset()
- func (x *ListDestinationsRequest) String() string
- type ListDestinationsResponse
- func (*ListDestinationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDestinationsResponse) GetDestinations() []*RoutingDestination
- func (*ListDestinationsResponse) ProtoMessage()
- func (x *ListDestinationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDestinationsResponse) Reset()
- func (x *ListDestinationsResponse) String() string
- type ListNumberBlocksRequest
- func (*ListNumberBlocksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNumberBlocksRequest) GetDestinationId() string
- func (x *ListNumberBlocksRequest) GetPrefix() string
- func (x *ListNumberBlocksRequest) GetStatus() NumberBlockStatus
- func (*ListNumberBlocksRequest) ProtoMessage()
- func (x *ListNumberBlocksRequest) ProtoReflect() protoreflect.Message
- func (x *ListNumberBlocksRequest) Reset()
- func (x *ListNumberBlocksRequest) String() string
- type ListNumberBlocksResponse
- func (*ListNumberBlocksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListNumberBlocksResponse) GetBlocks() []*NumberBlock
- func (*ListNumberBlocksResponse) ProtoMessage()
- func (x *ListNumberBlocksResponse) ProtoReflect() protoreflect.Message
- func (x *ListNumberBlocksResponse) Reset()
- func (x *ListNumberBlocksResponse) String() string
- type ListPortingRecordsRequest
- func (*ListPortingRecordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPortingRecordsRequest) GetDestinationId() string
- func (x *ListPortingRecordsRequest) GetOperatorCode() string
- func (x *ListPortingRecordsRequest) GetSubscriberNumberPrefix() string
- func (x *ListPortingRecordsRequest) GetValidFrom() *timestamppb.Timestamp
- func (*ListPortingRecordsRequest) ProtoMessage()
- func (x *ListPortingRecordsRequest) ProtoReflect() protoreflect.Message
- func (x *ListPortingRecordsRequest) Reset()
- func (x *ListPortingRecordsRequest) String() string
- type ListPortingRecordsResponse
- func (*ListPortingRecordsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPortingRecordsResponse) GetRecords() []*PortingRecord
- func (*ListPortingRecordsResponse) ProtoMessage()
- func (x *ListPortingRecordsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPortingRecordsResponse) Reset()
- func (x *ListPortingRecordsResponse) String() string
- type NumberBlock
- func (*NumberBlock) Descriptor() ([]byte, []int)deprecated
- func (x *NumberBlock) GetAssignmentDate() *timestamppb.Timestamp
- func (x *NumberBlock) GetDestinationId() string
- func (x *NumberBlock) GetPrefix() string
- func (x *NumberBlock) GetStatus() NumberBlockStatus
- func (*NumberBlock) ProtoMessage()
- func (x *NumberBlock) ProtoReflect() protoreflect.Message
- func (x *NumberBlock) Reset()
- func (x *NumberBlock) String() string
- type NumberBlockServiceClient
- type NumberBlockServiceServer
- type NumberBlockStatus
- func (NumberBlockStatus) Descriptor() protoreflect.EnumDescriptor
- func (x NumberBlockStatus) Enum() *NumberBlockStatus
- func (NumberBlockStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x NumberBlockStatus) Number() protoreflect.EnumNumber
- func (x NumberBlockStatus) String() string
- func (NumberBlockStatus) Type() protoreflect.EnumType
- type NumberPortabilityServiceClient
- type NumberPortabilityServiceServer
- type PortingRecord
- func (*PortingRecord) Descriptor() ([]byte, []int)deprecated
- func (x *PortingRecord) GetDestinationId() string
- func (x *PortingRecord) GetMetadata() map[string]string
- func (x *PortingRecord) GetOperatorCode() string
- func (x *PortingRecord) GetRoutingCode() string
- func (x *PortingRecord) GetSubscriberNumber() *v1.E164
- func (x *PortingRecord) GetValidFrom() *timestamppb.Timestamp
- func (*PortingRecord) ProtoMessage()
- func (x *PortingRecord) ProtoReflect() protoreflect.Message
- func (x *PortingRecord) Reset()
- func (x *PortingRecord) String() string
- type RoutingDestination
- func (*RoutingDestination) Descriptor() ([]byte, []int)deprecated
- func (x *RoutingDestination) GetId() string
- func (x *RoutingDestination) GetName() string
- func (x *RoutingDestination) GetRoutingCode() string
- func (*RoutingDestination) ProtoMessage()
- func (x *RoutingDestination) ProtoReflect() protoreflect.Message
- func (x *RoutingDestination) Reset()
- func (x *RoutingDestination) String() string
- type RoutingDestinationServiceClient
- type RoutingDestinationServiceServer
- type UnimplementedNumberBlockServiceServer
- func (UnimplementedNumberBlockServiceServer) CreateOrUpdateNumberBlock(context.Context, *CreateOrUpdateNumberBlockRequest) (*CreateOrUpdateNumberBlockResponse, error)
- func (UnimplementedNumberBlockServiceServer) DeleteNumberBlock(context.Context, *DeleteNumberBlockRequest) (*DeleteNumberBlockResponse, error)
- func (UnimplementedNumberBlockServiceServer) ListNumberBlocks(context.Context, *ListNumberBlocksRequest) (*ListNumberBlocksResponse, error)
- type UnimplementedNumberPortabilityServiceServer
- func (UnimplementedNumberPortabilityServiceServer) CreatePortingRecords(context.Context, *CreatePortingRecordsRequest) (*CreatePortingRecordsResponse, error)
- func (UnimplementedNumberPortabilityServiceServer) ListPortingRecords(context.Context, *ListPortingRecordsRequest) (*ListPortingRecordsResponse, error)
- type UnimplementedRoutingDestinationServiceServer
- func (UnimplementedRoutingDestinationServiceServer) CreateOrUpdateDestination(context.Context, *CreateOrUpdateDestinationRequest) (*CreateOrUpdateDestinationResponse, error)
- func (UnimplementedRoutingDestinationServiceServer) DeleteDestination(context.Context, *DeleteDestinationRequest) (*DeleteDestinationResponse, error)
- func (UnimplementedRoutingDestinationServiceServer) ListDestinations(context.Context, *ListDestinationsRequest) (*ListDestinationsResponse, error)
- type UnsafeNumberBlockServiceServer
- type UnsafeNumberPortabilityServiceServer
- type UnsafeRoutingDestinationServiceServer
Constants ¶
const ( NumberPortabilityService_CreatePortingRecords_FullMethodName = "/wgtwo.number_portability.v1.NumberPortabilityService/CreatePortingRecords" NumberPortabilityService_ListPortingRecords_FullMethodName = "/wgtwo.number_portability.v1.NumberPortabilityService/ListPortingRecords" )
const ( RoutingDestinationService_CreateOrUpdateDestination_FullMethodName = "/wgtwo.number_portability.v1.RoutingDestinationService/CreateOrUpdateDestination" RoutingDestinationService_DeleteDestination_FullMethodName = "/wgtwo.number_portability.v1.RoutingDestinationService/DeleteDestination" RoutingDestinationService_ListDestinations_FullMethodName = "/wgtwo.number_portability.v1.RoutingDestinationService/ListDestinations" )
const ( NumberBlockService_CreateOrUpdateNumberBlock_FullMethodName = "/wgtwo.number_portability.v1.NumberBlockService/CreateOrUpdateNumberBlock" NumberBlockService_DeleteNumberBlock_FullMethodName = "/wgtwo.number_portability.v1.NumberBlockService/DeleteNumberBlock" NumberBlockService_ListNumberBlocks_FullMethodName = "/wgtwo.number_portability.v1.NumberBlockService/ListNumberBlocks" )
Variables ¶
var ( NumberBlockStatus_name = map[int32]string{ 0: "UNKNOWN_UNSPECIFIED", 1: "R_RESERVED", 2: "A_ALLOCATED", 3: "F_FREE", 4: "RC_RESERVED", 5: "T_RESERVED_UNDER_TESTING", 6: "U_UNAVAILABLE", 7: "B_BLOCKED", } NumberBlockStatus_value = map[string]int32{ "UNKNOWN_UNSPECIFIED": 0, "R_RESERVED": 1, "A_ALLOCATED": 2, "F_FREE": 3, "RC_RESERVED": 4, "T_RESERVED_UNDER_TESTING": 5, "U_UNAVAILABLE": 6, "B_BLOCKED": 7, } )
Enum value maps for NumberBlockStatus.
var File_wgtwo_number_portability_v1_number_portability_proto protoreflect.FileDescriptor
var NumberBlockService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "wgtwo.number_portability.v1.NumberBlockService", HandlerType: (*NumberBlockServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateOrUpdateNumberBlock", Handler: _NumberBlockService_CreateOrUpdateNumberBlock_Handler, }, { MethodName: "DeleteNumberBlock", Handler: _NumberBlockService_DeleteNumberBlock_Handler, }, { MethodName: "ListNumberBlocks", Handler: _NumberBlockService_ListNumberBlocks_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "wgtwo/number_portability/v1/number_portability.proto", }
NumberBlockService_ServiceDesc is the grpc.ServiceDesc for NumberBlockService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var NumberPortabilityService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "wgtwo.number_portability.v1.NumberPortabilityService", HandlerType: (*NumberPortabilityServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreatePortingRecords", Handler: _NumberPortabilityService_CreatePortingRecords_Handler, }, { MethodName: "ListPortingRecords", Handler: _NumberPortabilityService_ListPortingRecords_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "wgtwo/number_portability/v1/number_portability.proto", }
NumberPortabilityService_ServiceDesc is the grpc.ServiceDesc for NumberPortabilityService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var RoutingDestinationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "wgtwo.number_portability.v1.RoutingDestinationService", HandlerType: (*RoutingDestinationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateOrUpdateDestination", Handler: _RoutingDestinationService_CreateOrUpdateDestination_Handler, }, { MethodName: "DeleteDestination", Handler: _RoutingDestinationService_DeleteDestination_Handler, }, { MethodName: "ListDestinations", Handler: _RoutingDestinationService_ListDestinations_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "wgtwo/number_portability/v1/number_portability.proto", }
RoutingDestinationService_ServiceDesc is the grpc.ServiceDesc for RoutingDestinationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterNumberBlockServiceServer ¶
func RegisterNumberBlockServiceServer(s grpc.ServiceRegistrar, srv NumberBlockServiceServer)
func RegisterNumberPortabilityServiceServer ¶
func RegisterNumberPortabilityServiceServer(s grpc.ServiceRegistrar, srv NumberPortabilityServiceServer)
func RegisterRoutingDestinationServiceServer ¶
func RegisterRoutingDestinationServiceServer(s grpc.ServiceRegistrar, srv RoutingDestinationServiceServer)
Types ¶
type CreateOrUpdateDestinationRequest ¶
type CreateOrUpdateDestinationRequest struct { Destination *RoutingDestination `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` // contains filtered or unexported fields }
func (*CreateOrUpdateDestinationRequest) Descriptor
deprecated
func (*CreateOrUpdateDestinationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrUpdateDestinationRequest.ProtoReflect.Descriptor instead.
func (*CreateOrUpdateDestinationRequest) GetDestination ¶
func (x *CreateOrUpdateDestinationRequest) GetDestination() *RoutingDestination
func (*CreateOrUpdateDestinationRequest) ProtoMessage ¶
func (*CreateOrUpdateDestinationRequest) ProtoMessage()
func (*CreateOrUpdateDestinationRequest) ProtoReflect ¶
func (x *CreateOrUpdateDestinationRequest) ProtoReflect() protoreflect.Message
func (*CreateOrUpdateDestinationRequest) Reset ¶
func (x *CreateOrUpdateDestinationRequest) Reset()
func (*CreateOrUpdateDestinationRequest) String ¶
func (x *CreateOrUpdateDestinationRequest) String() string
type CreateOrUpdateDestinationResponse ¶
type CreateOrUpdateDestinationResponse struct { DestinationId string `protobuf:"bytes,1,opt,name=destination_id,json=destinationId,proto3" json:"destination_id,omitempty"` // contains filtered or unexported fields }
func (*CreateOrUpdateDestinationResponse) Descriptor
deprecated
func (*CreateOrUpdateDestinationResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrUpdateDestinationResponse.ProtoReflect.Descriptor instead.
func (*CreateOrUpdateDestinationResponse) GetDestinationId ¶
func (x *CreateOrUpdateDestinationResponse) GetDestinationId() string
func (*CreateOrUpdateDestinationResponse) ProtoMessage ¶
func (*CreateOrUpdateDestinationResponse) ProtoMessage()
func (*CreateOrUpdateDestinationResponse) ProtoReflect ¶
func (x *CreateOrUpdateDestinationResponse) ProtoReflect() protoreflect.Message
func (*CreateOrUpdateDestinationResponse) Reset ¶
func (x *CreateOrUpdateDestinationResponse) Reset()
func (*CreateOrUpdateDestinationResponse) String ¶
func (x *CreateOrUpdateDestinationResponse) String() string
type CreateOrUpdateNumberBlockRequest ¶
type CreateOrUpdateNumberBlockRequest struct { Block *NumberBlock `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"` // contains filtered or unexported fields }
func (*CreateOrUpdateNumberBlockRequest) Descriptor
deprecated
func (*CreateOrUpdateNumberBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrUpdateNumberBlockRequest.ProtoReflect.Descriptor instead.
func (*CreateOrUpdateNumberBlockRequest) GetBlock ¶
func (x *CreateOrUpdateNumberBlockRequest) GetBlock() *NumberBlock
func (*CreateOrUpdateNumberBlockRequest) ProtoMessage ¶
func (*CreateOrUpdateNumberBlockRequest) ProtoMessage()
func (*CreateOrUpdateNumberBlockRequest) ProtoReflect ¶
func (x *CreateOrUpdateNumberBlockRequest) ProtoReflect() protoreflect.Message
func (*CreateOrUpdateNumberBlockRequest) Reset ¶
func (x *CreateOrUpdateNumberBlockRequest) Reset()
func (*CreateOrUpdateNumberBlockRequest) String ¶
func (x *CreateOrUpdateNumberBlockRequest) String() string
type CreateOrUpdateNumberBlockResponse ¶
type CreateOrUpdateNumberBlockResponse struct {
// contains filtered or unexported fields
}
func (*CreateOrUpdateNumberBlockResponse) Descriptor
deprecated
func (*CreateOrUpdateNumberBlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrUpdateNumberBlockResponse.ProtoReflect.Descriptor instead.
func (*CreateOrUpdateNumberBlockResponse) ProtoMessage ¶
func (*CreateOrUpdateNumberBlockResponse) ProtoMessage()
func (*CreateOrUpdateNumberBlockResponse) ProtoReflect ¶
func (x *CreateOrUpdateNumberBlockResponse) ProtoReflect() protoreflect.Message
func (*CreateOrUpdateNumberBlockResponse) Reset ¶
func (x *CreateOrUpdateNumberBlockResponse) Reset()
func (*CreateOrUpdateNumberBlockResponse) String ¶
func (x *CreateOrUpdateNumberBlockResponse) String() string
type CreatePortingRecordsRequest ¶
type CreatePortingRecordsRequest struct { // Porting records to be created. Records []*PortingRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` // contains filtered or unexported fields }
Request message to create porting records.
func (*CreatePortingRecordsRequest) Descriptor
deprecated
func (*CreatePortingRecordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePortingRecordsRequest.ProtoReflect.Descriptor instead.
func (*CreatePortingRecordsRequest) GetRecords ¶
func (x *CreatePortingRecordsRequest) GetRecords() []*PortingRecord
func (*CreatePortingRecordsRequest) ProtoMessage ¶
func (*CreatePortingRecordsRequest) ProtoMessage()
func (*CreatePortingRecordsRequest) ProtoReflect ¶
func (x *CreatePortingRecordsRequest) ProtoReflect() protoreflect.Message
func (*CreatePortingRecordsRequest) Reset ¶
func (x *CreatePortingRecordsRequest) Reset()
func (*CreatePortingRecordsRequest) String ¶
func (x *CreatePortingRecordsRequest) String() string
type CreatePortingRecordsResponse ¶
type CreatePortingRecordsResponse struct {
// contains filtered or unexported fields
}
Response message for create porting records.
func (*CreatePortingRecordsResponse) Descriptor
deprecated
func (*CreatePortingRecordsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePortingRecordsResponse.ProtoReflect.Descriptor instead.
func (*CreatePortingRecordsResponse) ProtoMessage ¶
func (*CreatePortingRecordsResponse) ProtoMessage()
func (*CreatePortingRecordsResponse) ProtoReflect ¶
func (x *CreatePortingRecordsResponse) ProtoReflect() protoreflect.Message
func (*CreatePortingRecordsResponse) Reset ¶
func (x *CreatePortingRecordsResponse) Reset()
func (*CreatePortingRecordsResponse) String ¶
func (x *CreatePortingRecordsResponse) String() string
type DeleteDestinationRequest ¶
type DeleteDestinationRequest struct { DestinationId string `protobuf:"bytes,1,opt,name=destination_id,json=destinationId,proto3" json:"destination_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteDestinationRequest) Descriptor
deprecated
func (*DeleteDestinationRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDestinationRequest.ProtoReflect.Descriptor instead.
func (*DeleteDestinationRequest) GetDestinationId ¶
func (x *DeleteDestinationRequest) GetDestinationId() string
func (*DeleteDestinationRequest) ProtoMessage ¶
func (*DeleteDestinationRequest) ProtoMessage()
func (*DeleteDestinationRequest) ProtoReflect ¶
func (x *DeleteDestinationRequest) ProtoReflect() protoreflect.Message
func (*DeleteDestinationRequest) Reset ¶
func (x *DeleteDestinationRequest) Reset()
func (*DeleteDestinationRequest) String ¶
func (x *DeleteDestinationRequest) String() string
type DeleteDestinationResponse ¶
type DeleteDestinationResponse struct {
// contains filtered or unexported fields
}
func (*DeleteDestinationResponse) Descriptor
deprecated
func (*DeleteDestinationResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDestinationResponse.ProtoReflect.Descriptor instead.
func (*DeleteDestinationResponse) ProtoMessage ¶
func (*DeleteDestinationResponse) ProtoMessage()
func (*DeleteDestinationResponse) ProtoReflect ¶
func (x *DeleteDestinationResponse) ProtoReflect() protoreflect.Message
func (*DeleteDestinationResponse) Reset ¶
func (x *DeleteDestinationResponse) Reset()
func (*DeleteDestinationResponse) String ¶
func (x *DeleteDestinationResponse) String() string
type DeleteNumberBlockRequest ¶
type DeleteNumberBlockRequest struct { DestinationId string `protobuf:"bytes,1,opt,name=destination_id,json=destinationId,proto3" json:"destination_id,omitempty"` Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"` // contains filtered or unexported fields }
func (*DeleteNumberBlockRequest) Descriptor
deprecated
func (*DeleteNumberBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNumberBlockRequest.ProtoReflect.Descriptor instead.
func (*DeleteNumberBlockRequest) GetDestinationId ¶
func (x *DeleteNumberBlockRequest) GetDestinationId() string
func (*DeleteNumberBlockRequest) GetPrefix ¶
func (x *DeleteNumberBlockRequest) GetPrefix() string
func (*DeleteNumberBlockRequest) ProtoMessage ¶
func (*DeleteNumberBlockRequest) ProtoMessage()
func (*DeleteNumberBlockRequest) ProtoReflect ¶
func (x *DeleteNumberBlockRequest) ProtoReflect() protoreflect.Message
func (*DeleteNumberBlockRequest) Reset ¶
func (x *DeleteNumberBlockRequest) Reset()
func (*DeleteNumberBlockRequest) String ¶
func (x *DeleteNumberBlockRequest) String() string
type DeleteNumberBlockResponse ¶
type DeleteNumberBlockResponse struct {
// contains filtered or unexported fields
}
func (*DeleteNumberBlockResponse) Descriptor
deprecated
func (*DeleteNumberBlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNumberBlockResponse.ProtoReflect.Descriptor instead.
func (*DeleteNumberBlockResponse) ProtoMessage ¶
func (*DeleteNumberBlockResponse) ProtoMessage()
func (*DeleteNumberBlockResponse) ProtoReflect ¶
func (x *DeleteNumberBlockResponse) ProtoReflect() protoreflect.Message
func (*DeleteNumberBlockResponse) Reset ¶
func (x *DeleteNumberBlockResponse) Reset()
func (*DeleteNumberBlockResponse) String ¶
func (x *DeleteNumberBlockResponse) String() string
type ListDestinationsRequest ¶
type ListDestinationsRequest struct { DestinationId *string `protobuf:"bytes,1,opt,name=destination_id,json=destinationId,proto3,oneof" json:"destination_id,omitempty"` // contains filtered or unexported fields }
func (*ListDestinationsRequest) Descriptor
deprecated
func (*ListDestinationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDestinationsRequest.ProtoReflect.Descriptor instead.
func (*ListDestinationsRequest) GetDestinationId ¶
func (x *ListDestinationsRequest) GetDestinationId() string
func (*ListDestinationsRequest) ProtoMessage ¶
func (*ListDestinationsRequest) ProtoMessage()
func (*ListDestinationsRequest) ProtoReflect ¶
func (x *ListDestinationsRequest) ProtoReflect() protoreflect.Message
func (*ListDestinationsRequest) Reset ¶
func (x *ListDestinationsRequest) Reset()
func (*ListDestinationsRequest) String ¶
func (x *ListDestinationsRequest) String() string
type ListDestinationsResponse ¶
type ListDestinationsResponse struct { Destinations []*RoutingDestination `protobuf:"bytes,1,rep,name=destinations,proto3" json:"destinations,omitempty"` // contains filtered or unexported fields }
func (*ListDestinationsResponse) Descriptor
deprecated
func (*ListDestinationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDestinationsResponse.ProtoReflect.Descriptor instead.
func (*ListDestinationsResponse) GetDestinations ¶
func (x *ListDestinationsResponse) GetDestinations() []*RoutingDestination
func (*ListDestinationsResponse) ProtoMessage ¶
func (*ListDestinationsResponse) ProtoMessage()
func (*ListDestinationsResponse) ProtoReflect ¶
func (x *ListDestinationsResponse) ProtoReflect() protoreflect.Message
func (*ListDestinationsResponse) Reset ¶
func (x *ListDestinationsResponse) Reset()
func (*ListDestinationsResponse) String ¶
func (x *ListDestinationsResponse) String() string
type ListNumberBlocksRequest ¶
type ListNumberBlocksRequest struct { DestinationId *string `protobuf:"bytes,1,opt,name=destination_id,json=destinationId,proto3,oneof" json:"destination_id,omitempty"` Prefix *string `protobuf:"bytes,2,opt,name=prefix,proto3,oneof" json:"prefix,omitempty"` Status *NumberBlockStatus `protobuf:"varint,3,opt,name=status,proto3,enum=wgtwo.number_portability.v1.NumberBlockStatus,oneof" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ListNumberBlocksRequest) Descriptor
deprecated
func (*ListNumberBlocksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNumberBlocksRequest.ProtoReflect.Descriptor instead.
func (*ListNumberBlocksRequest) GetDestinationId ¶
func (x *ListNumberBlocksRequest) GetDestinationId() string
func (*ListNumberBlocksRequest) GetPrefix ¶
func (x *ListNumberBlocksRequest) GetPrefix() string
func (*ListNumberBlocksRequest) GetStatus ¶
func (x *ListNumberBlocksRequest) GetStatus() NumberBlockStatus
func (*ListNumberBlocksRequest) ProtoMessage ¶
func (*ListNumberBlocksRequest) ProtoMessage()
func (*ListNumberBlocksRequest) ProtoReflect ¶
func (x *ListNumberBlocksRequest) ProtoReflect() protoreflect.Message
func (*ListNumberBlocksRequest) Reset ¶
func (x *ListNumberBlocksRequest) Reset()
func (*ListNumberBlocksRequest) String ¶
func (x *ListNumberBlocksRequest) String() string
type ListNumberBlocksResponse ¶
type ListNumberBlocksResponse struct { Blocks []*NumberBlock `protobuf:"bytes,1,rep,name=blocks,proto3" json:"blocks,omitempty"` // contains filtered or unexported fields }
func (*ListNumberBlocksResponse) Descriptor
deprecated
func (*ListNumberBlocksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNumberBlocksResponse.ProtoReflect.Descriptor instead.
func (*ListNumberBlocksResponse) GetBlocks ¶
func (x *ListNumberBlocksResponse) GetBlocks() []*NumberBlock
func (*ListNumberBlocksResponse) ProtoMessage ¶
func (*ListNumberBlocksResponse) ProtoMessage()
func (*ListNumberBlocksResponse) ProtoReflect ¶
func (x *ListNumberBlocksResponse) ProtoReflect() protoreflect.Message
func (*ListNumberBlocksResponse) Reset ¶
func (x *ListNumberBlocksResponse) Reset()
func (*ListNumberBlocksResponse) String ¶
func (x *ListNumberBlocksResponse) String() string
type ListPortingRecordsRequest ¶
type ListPortingRecordsRequest struct { // Optional operator code to filter porting records. OperatorCode *string `protobuf:"bytes,1,opt,name=operator_code,json=operatorCode,proto3,oneof" json:"operator_code,omitempty"` // Optional subscriber number prefix to filter porting records. SubscriberNumberPrefix *string `` /* 135-byte string literal not displayed */ // Optional destination ID to filter porting records. DestinationId *string `protobuf:"bytes,3,opt,name=destination_id,json=destinationId,proto3,oneof" json:"destination_id,omitempty"` // Optional minimum porting date to filter porting records. ValidFrom *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=valid_from,json=validFrom,proto3,oneof" json:"valid_from,omitempty"` // contains filtered or unexported fields }
Request message to list porting records.
func (*ListPortingRecordsRequest) Descriptor
deprecated
func (*ListPortingRecordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPortingRecordsRequest.ProtoReflect.Descriptor instead.
func (*ListPortingRecordsRequest) GetDestinationId ¶
func (x *ListPortingRecordsRequest) GetDestinationId() string
func (*ListPortingRecordsRequest) GetOperatorCode ¶
func (x *ListPortingRecordsRequest) GetOperatorCode() string
func (*ListPortingRecordsRequest) GetSubscriberNumberPrefix ¶
func (x *ListPortingRecordsRequest) GetSubscriberNumberPrefix() string
func (*ListPortingRecordsRequest) GetValidFrom ¶
func (x *ListPortingRecordsRequest) GetValidFrom() *timestamppb.Timestamp
func (*ListPortingRecordsRequest) ProtoMessage ¶
func (*ListPortingRecordsRequest) ProtoMessage()
func (*ListPortingRecordsRequest) ProtoReflect ¶
func (x *ListPortingRecordsRequest) ProtoReflect() protoreflect.Message
func (*ListPortingRecordsRequest) Reset ¶
func (x *ListPortingRecordsRequest) Reset()
func (*ListPortingRecordsRequest) String ¶
func (x *ListPortingRecordsRequest) String() string
type ListPortingRecordsResponse ¶
type ListPortingRecordsResponse struct { // Porting records. Records []*PortingRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` // contains filtered or unexported fields }
Response message for list porting records.
func (*ListPortingRecordsResponse) Descriptor
deprecated
func (*ListPortingRecordsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPortingRecordsResponse.ProtoReflect.Descriptor instead.
func (*ListPortingRecordsResponse) GetRecords ¶
func (x *ListPortingRecordsResponse) GetRecords() []*PortingRecord
func (*ListPortingRecordsResponse) ProtoMessage ¶
func (*ListPortingRecordsResponse) ProtoMessage()
func (*ListPortingRecordsResponse) ProtoReflect ¶
func (x *ListPortingRecordsResponse) ProtoReflect() protoreflect.Message
func (*ListPortingRecordsResponse) Reset ¶
func (x *ListPortingRecordsResponse) Reset()
func (*ListPortingRecordsResponse) String ¶
func (x *ListPortingRecordsResponse) String() string
type NumberBlock ¶
type NumberBlock struct { // A reference to the destination created in the RoutingDestinationService. DestinationId string `protobuf:"bytes,1,opt,name=destination_id,json=destinationId,proto3" json:"destination_id,omitempty"` // Subscriber number prefix. Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"` // Status of a number block. // Only reserved and allocated blocks are used for the lookups. Status NumberBlockStatus `protobuf:"varint,3,opt,name=status,proto3,enum=wgtwo.number_portability.v1.NumberBlockStatus" json:"status,omitempty"` // Only blocks with assignment date in the past are used for the lookups. AssignmentDate *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=assignment_date,json=assignmentDate,proto3,oneof" json:"assignment_date,omitempty"` // contains filtered or unexported fields }
A block of subscriber numbers identified by a prefix. Non-ported numbers will be matched against the prefixes to determine the routing destination, which in turn will be used to determine the routing code.
func (*NumberBlock) Descriptor
deprecated
func (*NumberBlock) Descriptor() ([]byte, []int)
Deprecated: Use NumberBlock.ProtoReflect.Descriptor instead.
func (*NumberBlock) GetAssignmentDate ¶
func (x *NumberBlock) GetAssignmentDate() *timestamppb.Timestamp
func (*NumberBlock) GetDestinationId ¶
func (x *NumberBlock) GetDestinationId() string
func (*NumberBlock) GetPrefix ¶
func (x *NumberBlock) GetPrefix() string
func (*NumberBlock) GetStatus ¶
func (x *NumberBlock) GetStatus() NumberBlockStatus
func (*NumberBlock) ProtoMessage ¶
func (*NumberBlock) ProtoMessage()
func (*NumberBlock) ProtoReflect ¶
func (x *NumberBlock) ProtoReflect() protoreflect.Message
func (*NumberBlock) Reset ¶
func (x *NumberBlock) Reset()
func (*NumberBlock) String ¶
func (x *NumberBlock) String() string
type NumberBlockServiceClient ¶
type NumberBlockServiceClient interface { // Creates a new or updates an existing number block. CreateOrUpdateNumberBlock(ctx context.Context, in *CreateOrUpdateNumberBlockRequest, opts ...grpc.CallOption) (*CreateOrUpdateNumberBlockResponse, error) // Deletes an existing number block. DeleteNumberBlock(ctx context.Context, in *DeleteNumberBlockRequest, opts ...grpc.CallOption) (*DeleteNumberBlockResponse, error) // List existing number blocks. ListNumberBlocks(ctx context.Context, in *ListNumberBlocksRequest, opts ...grpc.CallOption) (*ListNumberBlocksResponse, error) }
NumberBlockServiceClient is the client API for NumberBlockService 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.
In some countries, a subscriber number itself may not be sufficient to determine the routing code for non-ported numbers. For example, in Belgium, an earliest number prefix allocated to an operator must be used, separately for fixed-line and mobile numbers. NumberBlockService allows to create, update, delete and list number blocks allocated to operators by a regulator.
func NewNumberBlockServiceClient ¶
func NewNumberBlockServiceClient(cc grpc.ClientConnInterface) NumberBlockServiceClient
type NumberBlockServiceServer ¶
type NumberBlockServiceServer interface { // Creates a new or updates an existing number block. CreateOrUpdateNumberBlock(context.Context, *CreateOrUpdateNumberBlockRequest) (*CreateOrUpdateNumberBlockResponse, error) // Deletes an existing number block. DeleteNumberBlock(context.Context, *DeleteNumberBlockRequest) (*DeleteNumberBlockResponse, error) // List existing number blocks. ListNumberBlocks(context.Context, *ListNumberBlocksRequest) (*ListNumberBlocksResponse, error) }
NumberBlockServiceServer is the server API for NumberBlockService service. All implementations should embed UnimplementedNumberBlockServiceServer for forward compatibility.
In some countries, a subscriber number itself may not be sufficient to determine the routing code for non-ported numbers. For example, in Belgium, an earliest number prefix allocated to an operator must be used, separately for fixed-line and mobile numbers. NumberBlockService allows to create, update, delete and list number blocks allocated to operators by a regulator.
type NumberBlockStatus ¶
type NumberBlockStatus int32
const ( NumberBlockStatus_UNKNOWN_UNSPECIFIED NumberBlockStatus = 0 NumberBlockStatus_R_RESERVED NumberBlockStatus = 1 // R Number Range reserved NumberBlockStatus_A_ALLOCATED NumberBlockStatus = 2 // A Allocated NumberBlockStatus_F_FREE NumberBlockStatus = 3 // F Number range Free NumberBlockStatus_RC_RESERVED NumberBlockStatus = 4 // RC Number Range reserved NumberBlockStatus_T_RESERVED_UNDER_TESTING NumberBlockStatus = 5 // T Number range reserved under testing NumberBlockStatus_U_UNAVAILABLE NumberBlockStatus = 6 // U Unavailable NumberBlockStatus_B_BLOCKED NumberBlockStatus = 7 // B Blocked (no reservation possible) )
func (NumberBlockStatus) Descriptor ¶
func (NumberBlockStatus) Descriptor() protoreflect.EnumDescriptor
func (NumberBlockStatus) Enum ¶
func (x NumberBlockStatus) Enum() *NumberBlockStatus
func (NumberBlockStatus) EnumDescriptor
deprecated
func (NumberBlockStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use NumberBlockStatus.Descriptor instead.
func (NumberBlockStatus) Number ¶
func (x NumberBlockStatus) Number() protoreflect.EnumNumber
func (NumberBlockStatus) String ¶
func (x NumberBlockStatus) String() string
func (NumberBlockStatus) Type ¶
func (NumberBlockStatus) Type() protoreflect.EnumType
type NumberPortabilityServiceClient ¶
type NumberPortabilityServiceClient interface { // CreatePortingRecords is used to import porting records into the number portability database. // It may also be used to clear the porting record to return it to it's original number block - // for that, destination_id, operator_code and routing_code in the PortingRecords should be set to empty values. CreatePortingRecords(ctx context.Context, in *CreatePortingRecordsRequest, opts ...grpc.CallOption) (*CreatePortingRecordsResponse, error) // ListPortingRecords is used to list porting records from the number portability database. ListPortingRecords(ctx context.Context, in *ListPortingRecordsRequest, opts ...grpc.CallOption) (*ListPortingRecordsResponse, error) }
NumberPortabilityServiceClient is the client API for NumberPortabilityService 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.
NumberPortabilityService is supposed to be used by tenants or third parties to import country-specific number porting records into Working Group Two's number portability database. A porting record consists of a subscriber number, routing destination, porting date and optional routing code as well as tenant-specific metadata. Porting date can both be a past or a future date.
func NewNumberPortabilityServiceClient ¶
func NewNumberPortabilityServiceClient(cc grpc.ClientConnInterface) NumberPortabilityServiceClient
type NumberPortabilityServiceServer ¶
type NumberPortabilityServiceServer interface { // CreatePortingRecords is used to import porting records into the number portability database. // It may also be used to clear the porting record to return it to it's original number block - // for that, destination_id, operator_code and routing_code in the PortingRecords should be set to empty values. CreatePortingRecords(context.Context, *CreatePortingRecordsRequest) (*CreatePortingRecordsResponse, error) // ListPortingRecords is used to list porting records from the number portability database. ListPortingRecords(context.Context, *ListPortingRecordsRequest) (*ListPortingRecordsResponse, error) }
NumberPortabilityServiceServer is the server API for NumberPortabilityService service. All implementations should embed UnimplementedNumberPortabilityServiceServer for forward compatibility.
NumberPortabilityService is supposed to be used by tenants or third parties to import country-specific number porting records into Working Group Two's number portability database. A porting record consists of a subscriber number, routing destination, porting date and optional routing code as well as tenant-specific metadata. Porting date can both be a past or a future date.
type PortingRecord ¶
type PortingRecord struct { // Subscriber number with a country code. SubscriberNumber *v1.E164 `protobuf:"bytes,1,opt,name=subscriber_number,json=subscriberNumber,proto3" json:"subscriber_number,omitempty"` // Porting date and time. ValidFrom *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=valid_from,json=validFrom,proto3" json:"valid_from,omitempty"` // Destination ID to route calls or messages to. // May be empty if destinations are not used. DestinationId string `protobuf:"bytes,3,opt,name=destination_id,json=destinationId,proto3" json:"destination_id,omitempty"` // A free-form operator code (in Sweden this is SPID allocated by SNPAC). May be empty. OperatorCode string `protobuf:"bytes,4,opt,name=operator_code,json=operatorCode,proto3" json:"operator_code,omitempty"` // Country-specific code used to route calls or messages // If empty and destination_id is set, the effective routing code is resolved from the destination. RoutingCode string `protobuf:"bytes,5,opt,name=routing_code,json=routingCode,proto3" json:"routing_code,omitempty"` // May be used to store tenant-specific data. Metadata map[string]string `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
Message representing a porting record (or lack thereof, in case destination_id, operator_code and routing_code are empty).
func (*PortingRecord) Descriptor
deprecated
func (*PortingRecord) Descriptor() ([]byte, []int)
Deprecated: Use PortingRecord.ProtoReflect.Descriptor instead.
func (*PortingRecord) GetDestinationId ¶
func (x *PortingRecord) GetDestinationId() string
func (*PortingRecord) GetMetadata ¶
func (x *PortingRecord) GetMetadata() map[string]string
func (*PortingRecord) GetOperatorCode ¶
func (x *PortingRecord) GetOperatorCode() string
func (*PortingRecord) GetRoutingCode ¶
func (x *PortingRecord) GetRoutingCode() string
func (*PortingRecord) GetSubscriberNumber ¶
func (x *PortingRecord) GetSubscriberNumber() *v1.E164
func (*PortingRecord) GetValidFrom ¶
func (x *PortingRecord) GetValidFrom() *timestamppb.Timestamp
func (*PortingRecord) ProtoMessage ¶
func (*PortingRecord) ProtoMessage()
func (*PortingRecord) ProtoReflect ¶
func (x *PortingRecord) ProtoReflect() protoreflect.Message
func (*PortingRecord) Reset ¶
func (x *PortingRecord) Reset()
func (*PortingRecord) String ¶
func (x *PortingRecord) String() string
type RoutingDestination ¶
type RoutingDestination struct { // Destination's unique identifier. Mandatory. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Informational destination name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Country-specific code used to route calls or messages // In Belgium this is a C-code that is the earliest block assigned to an operator by the regulator. RoutingCode string `protobuf:"bytes,3,opt,name=routing_code,json=routingCode,proto3" json:"routing_code,omitempty"` // contains filtered or unexported fields }
Routing destination defines how the messages or calls should be routed. It can correspond to an operator, a particular subset of numbers, an interconnect partner, etc. In the current implementation, it defines the routing code which is appended to the subscriber number when sending messages or making calls.
func (*RoutingDestination) Descriptor
deprecated
func (*RoutingDestination) Descriptor() ([]byte, []int)
Deprecated: Use RoutingDestination.ProtoReflect.Descriptor instead.
func (*RoutingDestination) GetId ¶
func (x *RoutingDestination) GetId() string
func (*RoutingDestination) GetName ¶
func (x *RoutingDestination) GetName() string
func (*RoutingDestination) GetRoutingCode ¶
func (x *RoutingDestination) GetRoutingCode() string
func (*RoutingDestination) ProtoMessage ¶
func (*RoutingDestination) ProtoMessage()
func (*RoutingDestination) ProtoReflect ¶
func (x *RoutingDestination) ProtoReflect() protoreflect.Message
func (*RoutingDestination) Reset ¶
func (x *RoutingDestination) Reset()
func (*RoutingDestination) String ¶
func (x *RoutingDestination) String() string
type RoutingDestinationServiceClient ¶
type RoutingDestinationServiceClient interface { // Creates a new or updates an existing routing destination. CreateOrUpdateDestination(ctx context.Context, in *CreateOrUpdateDestinationRequest, opts ...grpc.CallOption) (*CreateOrUpdateDestinationResponse, error) // Deletes an existing routing destination. DeleteDestination(ctx context.Context, in *DeleteDestinationRequest, opts ...grpc.CallOption) (*DeleteDestinationResponse, error) // List existing mobile routing destinations. ListDestinations(ctx context.Context, in *ListDestinationsRequest, opts ...grpc.CallOption) (*ListDestinationsResponse, error) }
RoutingDestinationServiceClient is the client API for RoutingDestinationService 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.
RoutingDestinationService is supposed to be used by tenants or third parties to create, update, delete and list routing destinations, which define how SMS messages or called should be routed. A porting record may be associated either directly to the routing code or indirectly via routing destinations (destination_id field of the PortingRecord message). Indirect association facilitates routing code changes without updating all porting records.
func NewRoutingDestinationServiceClient ¶
func NewRoutingDestinationServiceClient(cc grpc.ClientConnInterface) RoutingDestinationServiceClient
type RoutingDestinationServiceServer ¶
type RoutingDestinationServiceServer interface { // Creates a new or updates an existing routing destination. CreateOrUpdateDestination(context.Context, *CreateOrUpdateDestinationRequest) (*CreateOrUpdateDestinationResponse, error) // Deletes an existing routing destination. DeleteDestination(context.Context, *DeleteDestinationRequest) (*DeleteDestinationResponse, error) // List existing mobile routing destinations. ListDestinations(context.Context, *ListDestinationsRequest) (*ListDestinationsResponse, error) }
RoutingDestinationServiceServer is the server API for RoutingDestinationService service. All implementations should embed UnimplementedRoutingDestinationServiceServer for forward compatibility.
RoutingDestinationService is supposed to be used by tenants or third parties to create, update, delete and list routing destinations, which define how SMS messages or called should be routed. A porting record may be associated either directly to the routing code or indirectly via routing destinations (destination_id field of the PortingRecord message). Indirect association facilitates routing code changes without updating all porting records.
type UnimplementedNumberBlockServiceServer ¶
type UnimplementedNumberBlockServiceServer struct{}
UnimplementedNumberBlockServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedNumberBlockServiceServer) CreateOrUpdateNumberBlock ¶
func (UnimplementedNumberBlockServiceServer) CreateOrUpdateNumberBlock(context.Context, *CreateOrUpdateNumberBlockRequest) (*CreateOrUpdateNumberBlockResponse, error)
func (UnimplementedNumberBlockServiceServer) DeleteNumberBlock ¶
func (UnimplementedNumberBlockServiceServer) DeleteNumberBlock(context.Context, *DeleteNumberBlockRequest) (*DeleteNumberBlockResponse, error)
func (UnimplementedNumberBlockServiceServer) ListNumberBlocks ¶
func (UnimplementedNumberBlockServiceServer) ListNumberBlocks(context.Context, *ListNumberBlocksRequest) (*ListNumberBlocksResponse, error)
type UnimplementedNumberPortabilityServiceServer ¶
type UnimplementedNumberPortabilityServiceServer struct{}
UnimplementedNumberPortabilityServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedNumberPortabilityServiceServer) CreatePortingRecords ¶
func (UnimplementedNumberPortabilityServiceServer) CreatePortingRecords(context.Context, *CreatePortingRecordsRequest) (*CreatePortingRecordsResponse, error)
func (UnimplementedNumberPortabilityServiceServer) ListPortingRecords ¶
func (UnimplementedNumberPortabilityServiceServer) ListPortingRecords(context.Context, *ListPortingRecordsRequest) (*ListPortingRecordsResponse, error)
type UnimplementedRoutingDestinationServiceServer ¶
type UnimplementedRoutingDestinationServiceServer struct{}
UnimplementedRoutingDestinationServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedRoutingDestinationServiceServer) CreateOrUpdateDestination ¶
func (UnimplementedRoutingDestinationServiceServer) CreateOrUpdateDestination(context.Context, *CreateOrUpdateDestinationRequest) (*CreateOrUpdateDestinationResponse, error)
func (UnimplementedRoutingDestinationServiceServer) DeleteDestination ¶
func (UnimplementedRoutingDestinationServiceServer) DeleteDestination(context.Context, *DeleteDestinationRequest) (*DeleteDestinationResponse, error)
func (UnimplementedRoutingDestinationServiceServer) ListDestinations ¶
func (UnimplementedRoutingDestinationServiceServer) ListDestinations(context.Context, *ListDestinationsRequest) (*ListDestinationsResponse, error)
type UnsafeNumberBlockServiceServer ¶
type UnsafeNumberBlockServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNumberBlockServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NumberBlockServiceServer will result in compilation errors.
type UnsafeNumberPortabilityServiceServer ¶
type UnsafeNumberPortabilityServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNumberPortabilityServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NumberPortabilityServiceServer will result in compilation errors.
type UnsafeRoutingDestinationServiceServer ¶
type UnsafeRoutingDestinationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRoutingDestinationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RoutingDestinationServiceServer will result in compilation errors.