v0

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NetworkInfoService_GetNetworkInfoForSubscriber_FullMethodName        = "/wgtwo.subscription.v0.NetworkInfoService/GetNetworkInfoForSubscriber"
	NetworkInfoService_GetAttachmentAttemptsForSubscriber_FullMethodName = "/wgtwo.subscription.v0.NetworkInfoService/GetAttachmentAttemptsForSubscriber"
)
View Source
const (
	SubscriptionIdService_GetSubscriptionId_FullMethodName = "/wgtwo.subscription.v0.SubscriptionIdService/GetSubscriptionId"
	SubscriptionIdService_GetMsisdn_FullMethodName         = "/wgtwo.subscription.v0.SubscriptionIdService/GetMsisdn"
)

Variables

View Source
var (
	Code_name = map[int32]string{
		0: "CODE_UNSPECIFIED",
		1: "CODE_OK",
		2: "CODE_ABSENT_PROFILE",
		3: "CODE_ABSENT_SUBSCRIBER",
		4: "CODE_UNKNOWN_PROFILE",
		5: "CODE_BLOCKED_PROFILE",
		6: "CODE_ROAMING_NOT_ALLOWED",
	}
	Code_value = map[string]int32{
		"CODE_UNSPECIFIED":         0,
		"CODE_OK":                  1,
		"CODE_ABSENT_PROFILE":      2,
		"CODE_ABSENT_SUBSCRIBER":   3,
		"CODE_UNKNOWN_PROFILE":     4,
		"CODE_BLOCKED_PROFILE":     5,
		"CODE_ROAMING_NOT_ALLOWED": 6,
	}
)

Enum value maps for Code.

View Source
var File_wgtwo_subscription_v0_network_info_proto protoreflect.FileDescriptor
View Source
var File_wgtwo_subscription_v0_subscription_id_proto protoreflect.FileDescriptor
View Source
var NetworkInfoService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "wgtwo.subscription.v0.NetworkInfoService",
	HandlerType: (*NetworkInfoServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetNetworkInfoForSubscriber",
			Handler:    _NetworkInfoService_GetNetworkInfoForSubscriber_Handler,
		},
		{
			MethodName: "GetAttachmentAttemptsForSubscriber",
			Handler:    _NetworkInfoService_GetAttachmentAttemptsForSubscriber_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "wgtwo/subscription/v0/network_info.proto",
}

NetworkInfoService_ServiceDesc is the grpc.ServiceDesc for NetworkInfoService 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 SubscriptionIdService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "wgtwo.subscription.v0.SubscriptionIdService",
	HandlerType: (*SubscriptionIdServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetSubscriptionId",
			Handler:    _SubscriptionIdService_GetSubscriptionId_Handler,
		},
		{
			MethodName: "GetMsisdn",
			Handler:    _SubscriptionIdService_GetMsisdn_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "wgtwo/subscription/v0/subscription_id.proto",
}

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

Functions

func RegisterNetworkInfoServiceServer

func RegisterNetworkInfoServiceServer(s grpc.ServiceRegistrar, srv NetworkInfoServiceServer)

func RegisterSubscriptionIdServiceServer added in v0.1.5

func RegisterSubscriptionIdServiceServer(s grpc.ServiceRegistrar, srv SubscriptionIdServiceServer)

Types

type AttachmentAttempt

type AttachmentAttempt struct {
	Iccid             *v0.Iccid              `protobuf:"bytes,1,opt,name=iccid,proto3" json:"iccid,omitempty"`
	Imsi              *v0.Imsi               `protobuf:"bytes,2,opt,name=imsi,proto3" json:"imsi,omitempty"`
	Timestamp         *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	NetworkIdentity   *v0.NetworkIdentity    `protobuf:"bytes,4,opt,name=network_identity,json=networkIdentity,proto3" json:"network_identity,omitempty"`
	NetworkGeneration v0.NetworkGeneration   `` /* 152-byte string literal not displayed */
	// TADIG code, if present
	// May be empty
	Tadig  *v0.Tadig `protobuf:"bytes,6,opt,name=tadig,proto3" json:"tadig,omitempty"`
	Status *Status   `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*AttachmentAttempt) Descriptor deprecated

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

Deprecated: Use AttachmentAttempt.ProtoReflect.Descriptor instead.

func (*AttachmentAttempt) GetIccid

func (x *AttachmentAttempt) GetIccid() *v0.Iccid

func (*AttachmentAttempt) GetImsi

func (x *AttachmentAttempt) GetImsi() *v0.Imsi

func (*AttachmentAttempt) GetNetworkGeneration

func (x *AttachmentAttempt) GetNetworkGeneration() v0.NetworkGeneration

func (*AttachmentAttempt) GetNetworkIdentity

func (x *AttachmentAttempt) GetNetworkIdentity() *v0.NetworkIdentity

func (*AttachmentAttempt) GetStatus

func (x *AttachmentAttempt) GetStatus() *Status

func (*AttachmentAttempt) GetTadig

func (x *AttachmentAttempt) GetTadig() *v0.Tadig

func (*AttachmentAttempt) GetTimestamp

func (x *AttachmentAttempt) GetTimestamp() *timestamppb.Timestamp

func (*AttachmentAttempt) ProtoMessage

func (*AttachmentAttempt) ProtoMessage()

func (*AttachmentAttempt) ProtoReflect

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

func (*AttachmentAttempt) Reset

func (x *AttachmentAttempt) Reset()

func (*AttachmentAttempt) String

func (x *AttachmentAttempt) String() string

type Code

type Code int32
const (
	Code_CODE_UNSPECIFIED         Code = 0
	Code_CODE_OK                  Code = 1
	Code_CODE_ABSENT_PROFILE      Code = 2
	Code_CODE_ABSENT_SUBSCRIBER   Code = 3
	Code_CODE_UNKNOWN_PROFILE     Code = 4
	Code_CODE_BLOCKED_PROFILE     Code = 5
	Code_CODE_ROAMING_NOT_ALLOWED Code = 6
)

func (Code) Descriptor

func (Code) Descriptor() protoreflect.EnumDescriptor

func (Code) Enum

func (x Code) Enum() *Code

func (Code) EnumDescriptor deprecated

func (Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use Code.Descriptor instead.

func (Code) Number

func (x Code) Number() protoreflect.EnumNumber

func (Code) String

func (x Code) String() string

func (Code) Type

func (Code) Type() protoreflect.EnumType

type GetAttachmentAttemptsForSubscriberRequest

type GetAttachmentAttemptsForSubscriberRequest struct {
	PhoneNumber      *v0.PhoneNumber `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	FilterByInterval *Interval       `protobuf:"bytes,2,opt,name=filter_by_interval,json=filterByInterval,proto3" json:"filter_by_interval,omitempty"`
	MaxAttempts      uint32          `protobuf:"varint,3,opt,name=max_attempts,json=maxAttempts,proto3" json:"max_attempts,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAttachmentAttemptsForSubscriberRequest) Descriptor deprecated

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

Deprecated: Use GetAttachmentAttemptsForSubscriberRequest.ProtoReflect.Descriptor instead.

func (*GetAttachmentAttemptsForSubscriberRequest) GetFilterByInterval

func (x *GetAttachmentAttemptsForSubscriberRequest) GetFilterByInterval() *Interval

func (*GetAttachmentAttemptsForSubscriberRequest) GetMaxAttempts

func (*GetAttachmentAttemptsForSubscriberRequest) GetPhoneNumber

func (*GetAttachmentAttemptsForSubscriberRequest) ProtoMessage

func (*GetAttachmentAttemptsForSubscriberRequest) ProtoReflect

func (*GetAttachmentAttemptsForSubscriberRequest) Reset

func (*GetAttachmentAttemptsForSubscriberRequest) String

type GetAttachmentAttemptsForSubscriberResponse

type GetAttachmentAttemptsForSubscriberResponse struct {
	AttachmentAttempts []*AttachmentAttempt `protobuf:"bytes,1,rep,name=attachment_attempts,json=attachmentAttempts,proto3" json:"attachment_attempts,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAttachmentAttemptsForSubscriberResponse) Descriptor deprecated

Deprecated: Use GetAttachmentAttemptsForSubscriberResponse.ProtoReflect.Descriptor instead.

func (*GetAttachmentAttemptsForSubscriberResponse) GetAttachmentAttempts

func (x *GetAttachmentAttemptsForSubscriberResponse) GetAttachmentAttempts() []*AttachmentAttempt

func (*GetAttachmentAttemptsForSubscriberResponse) ProtoMessage

func (*GetAttachmentAttemptsForSubscriberResponse) ProtoReflect

func (*GetAttachmentAttemptsForSubscriberResponse) Reset

func (*GetAttachmentAttemptsForSubscriberResponse) String

type GetMsisdnRequest added in v0.1.5

type GetMsisdnRequest struct {
	SubscriptionId *v0.SubscriptionIdentifier `protobuf:"bytes,1,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMsisdnRequest) Descriptor deprecated added in v0.1.5

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

Deprecated: Use GetMsisdnRequest.ProtoReflect.Descriptor instead.

func (*GetMsisdnRequest) GetSubscriptionId added in v0.1.5

func (x *GetMsisdnRequest) GetSubscriptionId() *v0.SubscriptionIdentifier

func (*GetMsisdnRequest) ProtoMessage added in v0.1.5

func (*GetMsisdnRequest) ProtoMessage()

func (*GetMsisdnRequest) ProtoReflect added in v0.1.5

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

func (*GetMsisdnRequest) Reset added in v0.1.5

func (x *GetMsisdnRequest) Reset()

func (*GetMsisdnRequest) String added in v0.1.5

func (x *GetMsisdnRequest) String() string

type GetMsisdnResponse added in v0.1.5

type GetMsisdnResponse struct {
	PhoneNumber  *v0.PhoneNumber `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	StatusCode   v0.StatusCode   `protobuf:"varint,2,opt,name=status_code,json=statusCode,proto3,enum=wgtwo.common.v0.StatusCode" json:"status_code,omitempty"`
	ErrorMessage string          `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMsisdnResponse) Descriptor deprecated added in v0.1.5

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

Deprecated: Use GetMsisdnResponse.ProtoReflect.Descriptor instead.

func (*GetMsisdnResponse) GetErrorMessage added in v0.1.5

func (x *GetMsisdnResponse) GetErrorMessage() string

func (*GetMsisdnResponse) GetPhoneNumber added in v0.1.5

func (x *GetMsisdnResponse) GetPhoneNumber() *v0.PhoneNumber

func (*GetMsisdnResponse) GetStatusCode added in v0.1.5

func (x *GetMsisdnResponse) GetStatusCode() v0.StatusCode

func (*GetMsisdnResponse) ProtoMessage added in v0.1.5

func (*GetMsisdnResponse) ProtoMessage()

func (*GetMsisdnResponse) ProtoReflect added in v0.1.5

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

func (*GetMsisdnResponse) Reset added in v0.1.5

func (x *GetMsisdnResponse) Reset()

func (*GetMsisdnResponse) String added in v0.1.5

func (x *GetMsisdnResponse) String() string

type GetNetworkInfoForSubscriberRequest

type GetNetworkInfoForSubscriberRequest struct {
	PhoneNumber *v0.PhoneNumber `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNetworkInfoForSubscriberRequest) Descriptor deprecated

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

Deprecated: Use GetNetworkInfoForSubscriberRequest.ProtoReflect.Descriptor instead.

func (*GetNetworkInfoForSubscriberRequest) GetPhoneNumber

func (x *GetNetworkInfoForSubscriberRequest) GetPhoneNumber() *v0.PhoneNumber

func (*GetNetworkInfoForSubscriberRequest) ProtoMessage

func (*GetNetworkInfoForSubscriberRequest) ProtoMessage()

func (*GetNetworkInfoForSubscriberRequest) ProtoReflect

func (*GetNetworkInfoForSubscriberRequest) Reset

func (*GetNetworkInfoForSubscriberRequest) String

type GetNetworkInfoForSubscriberResponse

type GetNetworkInfoForSubscriberResponse struct {
	NetworkInfos []*NetworkInfo `protobuf:"bytes,1,rep,name=network_infos,json=networkInfos,proto3" json:"network_infos,omitempty"`
	// contains filtered or unexported fields
}

func (*GetNetworkInfoForSubscriberResponse) Descriptor deprecated

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

Deprecated: Use GetNetworkInfoForSubscriberResponse.ProtoReflect.Descriptor instead.

func (*GetNetworkInfoForSubscriberResponse) GetNetworkInfos

func (x *GetNetworkInfoForSubscriberResponse) GetNetworkInfos() []*NetworkInfo

func (*GetNetworkInfoForSubscriberResponse) ProtoMessage

func (*GetNetworkInfoForSubscriberResponse) ProtoMessage()

func (*GetNetworkInfoForSubscriberResponse) ProtoReflect

func (*GetNetworkInfoForSubscriberResponse) Reset

func (*GetNetworkInfoForSubscriberResponse) String

type GetSubscriptionIdRequest added in v0.1.5

type GetSubscriptionIdRequest struct {
	PhoneNumber *v0.PhoneNumber `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSubscriptionIdRequest) Descriptor deprecated added in v0.1.5

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

Deprecated: Use GetSubscriptionIdRequest.ProtoReflect.Descriptor instead.

func (*GetSubscriptionIdRequest) GetPhoneNumber added in v0.1.5

func (x *GetSubscriptionIdRequest) GetPhoneNumber() *v0.PhoneNumber

func (*GetSubscriptionIdRequest) ProtoMessage added in v0.1.5

func (*GetSubscriptionIdRequest) ProtoMessage()

func (*GetSubscriptionIdRequest) ProtoReflect added in v0.1.5

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

func (*GetSubscriptionIdRequest) Reset added in v0.1.5

func (x *GetSubscriptionIdRequest) Reset()

func (*GetSubscriptionIdRequest) String added in v0.1.5

func (x *GetSubscriptionIdRequest) String() string

type GetSubscriptionIdResponse added in v0.1.5

type GetSubscriptionIdResponse struct {
	SubscriptionId *v0.SubscriptionIdentifier `protobuf:"bytes,1,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"`
	StatusCode     v0.StatusCode              `protobuf:"varint,2,opt,name=status_code,json=statusCode,proto3,enum=wgtwo.common.v0.StatusCode" json:"status_code,omitempty"`
	ErrorMessage   string                     `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSubscriptionIdResponse) Descriptor deprecated added in v0.1.5

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

Deprecated: Use GetSubscriptionIdResponse.ProtoReflect.Descriptor instead.

func (*GetSubscriptionIdResponse) GetErrorMessage added in v0.1.5

func (x *GetSubscriptionIdResponse) GetErrorMessage() string

func (*GetSubscriptionIdResponse) GetStatusCode added in v0.1.5

func (x *GetSubscriptionIdResponse) GetStatusCode() v0.StatusCode

func (*GetSubscriptionIdResponse) GetSubscriptionId added in v0.1.5

func (x *GetSubscriptionIdResponse) GetSubscriptionId() *v0.SubscriptionIdentifier

func (*GetSubscriptionIdResponse) ProtoMessage added in v0.1.5

func (*GetSubscriptionIdResponse) ProtoMessage()

func (*GetSubscriptionIdResponse) ProtoReflect added in v0.1.5

func (*GetSubscriptionIdResponse) Reset added in v0.1.5

func (x *GetSubscriptionIdResponse) Reset()

func (*GetSubscriptionIdResponse) String added in v0.1.5

func (x *GetSubscriptionIdResponse) String() string

type Interval

type Interval struct {
	After  *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=after,proto3" json:"after,omitempty"`
	Before *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=before,proto3" json:"before,omitempty"`
	// contains filtered or unexported fields
}

func (*Interval) Descriptor deprecated

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

Deprecated: Use Interval.ProtoReflect.Descriptor instead.

func (*Interval) GetAfter

func (x *Interval) GetAfter() *timestamppb.Timestamp

func (*Interval) GetBefore

func (x *Interval) GetBefore() *timestamppb.Timestamp

func (*Interval) ProtoMessage

func (*Interval) ProtoMessage()

func (*Interval) ProtoReflect

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

func (*Interval) Reset

func (x *Interval) Reset()

func (*Interval) String

func (x *Interval) String() string

type NetworkInfo

type NetworkInfo struct {
	Iccid             *v0.Iccid              `protobuf:"bytes,1,opt,name=iccid,proto3" json:"iccid,omitempty"`
	Imsi              *v0.Imsi               `protobuf:"bytes,2,opt,name=imsi,proto3" json:"imsi,omitempty"`
	Timestamp         *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	NetworkIdentity   *v0.NetworkIdentity    `protobuf:"bytes,4,opt,name=network_identity,json=networkIdentity,proto3" json:"network_identity,omitempty"`
	NetworkGeneration v0.NetworkGeneration   `` /* 152-byte string literal not displayed */
	// TADIG code, if present
	// May be empty
	Tadig *v0.Tadig `protobuf:"bytes,6,opt,name=tadig,proto3" json:"tadig,omitempty"`
	// MSC, if present
	// May be empty
	Msc *v0.GlobalTitle `protobuf:"bytes,7,opt,name=msc,proto3" json:"msc,omitempty"`
	// VLR, if present
	// May be empty
	Vlr *v0.GlobalTitle `protobuf:"bytes,8,opt,name=vlr,proto3" json:"vlr,omitempty"`
	// SGSN, if present
	// May be empty
	Sgsn *v0.GlobalTitle `protobuf:"bytes,9,opt,name=sgsn,proto3" json:"sgsn,omitempty"`
	// MME, if present
	// May be empty
	Mme *v0.Fqdn `protobuf:"bytes,10,opt,name=mme,proto3" json:"mme,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkInfo) Descriptor deprecated

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

Deprecated: Use NetworkInfo.ProtoReflect.Descriptor instead.

func (*NetworkInfo) GetIccid

func (x *NetworkInfo) GetIccid() *v0.Iccid

func (*NetworkInfo) GetImsi

func (x *NetworkInfo) GetImsi() *v0.Imsi

func (*NetworkInfo) GetMme

func (x *NetworkInfo) GetMme() *v0.Fqdn

func (*NetworkInfo) GetMsc

func (x *NetworkInfo) GetMsc() *v0.GlobalTitle

func (*NetworkInfo) GetNetworkGeneration

func (x *NetworkInfo) GetNetworkGeneration() v0.NetworkGeneration

func (*NetworkInfo) GetNetworkIdentity

func (x *NetworkInfo) GetNetworkIdentity() *v0.NetworkIdentity

func (*NetworkInfo) GetSgsn

func (x *NetworkInfo) GetSgsn() *v0.GlobalTitle

func (*NetworkInfo) GetTadig

func (x *NetworkInfo) GetTadig() *v0.Tadig

func (*NetworkInfo) GetTimestamp

func (x *NetworkInfo) GetTimestamp() *timestamppb.Timestamp

func (*NetworkInfo) GetVlr

func (x *NetworkInfo) GetVlr() *v0.GlobalTitle

func (*NetworkInfo) ProtoMessage

func (*NetworkInfo) ProtoMessage()

func (*NetworkInfo) ProtoReflect

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

func (*NetworkInfo) Reset

func (x *NetworkInfo) Reset()

func (*NetworkInfo) String

func (x *NetworkInfo) String() string

type NetworkInfoServiceClient

type NetworkInfoServiceClient interface {
	// Get current network information for subscriber
	GetNetworkInfoForSubscriber(ctx context.Context, in *GetNetworkInfoForSubscriberRequest, opts ...grpc.CallOption) (*GetNetworkInfoForSubscriberResponse, error)
	// Get attachment attempts, both failed and successful, for subscriber
	GetAttachmentAttemptsForSubscriber(ctx context.Context, in *GetAttachmentAttemptsForSubscriberRequest, opts ...grpc.CallOption) (*GetAttachmentAttemptsForSubscriberResponse, error)
}

NetworkInfoServiceClient is the client API for NetworkInfoService 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 NetworkInfoServiceServer

type NetworkInfoServiceServer interface {
	// Get current network information for subscriber
	GetNetworkInfoForSubscriber(context.Context, *GetNetworkInfoForSubscriberRequest) (*GetNetworkInfoForSubscriberResponse, error)
	// Get attachment attempts, both failed and successful, for subscriber
	GetAttachmentAttemptsForSubscriber(context.Context, *GetAttachmentAttemptsForSubscriberRequest) (*GetAttachmentAttemptsForSubscriberResponse, error)
}

NetworkInfoServiceServer is the server API for NetworkInfoService service. All implementations should embed UnimplementedNetworkInfoServiceServer for forward compatibility

type Status

type Status struct {
	Code        Code   `protobuf:"varint,1,opt,name=code,proto3,enum=wgtwo.subscription.v0.Code" json:"code,omitempty"`
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*Status) Descriptor deprecated

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

Deprecated: Use Status.ProtoReflect.Descriptor instead.

func (*Status) GetCode

func (x *Status) GetCode() Code

func (*Status) GetDescription

func (x *Status) GetDescription() string

func (*Status) ProtoMessage

func (*Status) ProtoMessage()

func (*Status) ProtoReflect

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

func (*Status) Reset

func (x *Status) Reset()

func (*Status) String

func (x *Status) String() string

type SubscriptionIdServiceClient added in v0.1.5

type SubscriptionIdServiceClient interface {
	// Get globally unique subscription id for a msisdn
	GetSubscriptionId(ctx context.Context, in *GetSubscriptionIdRequest, opts ...grpc.CallOption) (*GetSubscriptionIdResponse, error)
	// Get msisdn for a globally unique subscription id
	GetMsisdn(ctx context.Context, in *GetMsisdnRequest, opts ...grpc.CallOption) (*GetMsisdnResponse, error)
}

SubscriptionIdServiceClient is the client API for SubscriptionIdService 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 NewSubscriptionIdServiceClient added in v0.1.5

func NewSubscriptionIdServiceClient(cc grpc.ClientConnInterface) SubscriptionIdServiceClient

type SubscriptionIdServiceServer added in v0.1.5

type SubscriptionIdServiceServer interface {
	// Get globally unique subscription id for a msisdn
	GetSubscriptionId(context.Context, *GetSubscriptionIdRequest) (*GetSubscriptionIdResponse, error)
	// Get msisdn for a globally unique subscription id
	GetMsisdn(context.Context, *GetMsisdnRequest) (*GetMsisdnResponse, error)
}

SubscriptionIdServiceServer is the server API for SubscriptionIdService service. All implementations should embed UnimplementedSubscriptionIdServiceServer for forward compatibility

type UnimplementedNetworkInfoServiceServer

type UnimplementedNetworkInfoServiceServer struct {
}

UnimplementedNetworkInfoServiceServer should be embedded to have forward compatible implementations.

type UnimplementedSubscriptionIdServiceServer added in v0.1.5

type UnimplementedSubscriptionIdServiceServer struct {
}

UnimplementedSubscriptionIdServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedSubscriptionIdServiceServer) GetMsisdn added in v0.1.5

func (UnimplementedSubscriptionIdServiceServer) GetSubscriptionId added in v0.1.5

type UnsafeNetworkInfoServiceServer

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

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

type UnsafeSubscriptionIdServiceServer added in v0.1.5

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

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

Jump to

Keyboard shortcuts

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