Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterNetworkInfoServiceServer(s grpc.ServiceRegistrar, srv NetworkInfoServiceServer)
- func RegisterSubscriptionIdServiceServer(s grpc.ServiceRegistrar, srv SubscriptionIdServiceServer)
- type AttachmentAttempt
- func (*AttachmentAttempt) Descriptor() ([]byte, []int)deprecated
- func (x *AttachmentAttempt) GetIccid() *v0.Iccid
- func (x *AttachmentAttempt) GetImsi() *v0.Imsi
- func (x *AttachmentAttempt) GetNetworkGeneration() v0.NetworkGeneration
- func (x *AttachmentAttempt) GetNetworkIdentity() *v0.NetworkIdentity
- func (x *AttachmentAttempt) GetStatus() *Status
- func (x *AttachmentAttempt) GetTadig() *v0.Tadig
- func (x *AttachmentAttempt) GetTimestamp() *timestamppb.Timestamp
- func (*AttachmentAttempt) ProtoMessage()
- func (x *AttachmentAttempt) ProtoReflect() protoreflect.Message
- func (x *AttachmentAttempt) Reset()
- func (x *AttachmentAttempt) String() string
- type Code
- type GetAttachmentAttemptsForSubscriberRequest
- func (*GetAttachmentAttemptsForSubscriberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAttachmentAttemptsForSubscriberRequest) GetFilterByInterval() *Interval
- func (x *GetAttachmentAttemptsForSubscriberRequest) GetMaxAttempts() uint32
- func (x *GetAttachmentAttemptsForSubscriberRequest) GetPhoneNumber() *v0.PhoneNumber
- func (*GetAttachmentAttemptsForSubscriberRequest) ProtoMessage()
- func (x *GetAttachmentAttemptsForSubscriberRequest) ProtoReflect() protoreflect.Message
- func (x *GetAttachmentAttemptsForSubscriberRequest) Reset()
- func (x *GetAttachmentAttemptsForSubscriberRequest) String() string
- type GetAttachmentAttemptsForSubscriberResponse
- func (*GetAttachmentAttemptsForSubscriberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAttachmentAttemptsForSubscriberResponse) GetAttachmentAttempts() []*AttachmentAttempt
- func (*GetAttachmentAttemptsForSubscriberResponse) ProtoMessage()
- func (x *GetAttachmentAttemptsForSubscriberResponse) ProtoReflect() protoreflect.Message
- func (x *GetAttachmentAttemptsForSubscriberResponse) Reset()
- func (x *GetAttachmentAttemptsForSubscriberResponse) String() string
- type GetMsisdnRequest
- func (*GetMsisdnRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMsisdnRequest) GetSubscriptionId() *v0.SubscriptionIdentifier
- func (*GetMsisdnRequest) ProtoMessage()
- func (x *GetMsisdnRequest) ProtoReflect() protoreflect.Message
- func (x *GetMsisdnRequest) Reset()
- func (x *GetMsisdnRequest) String() string
- type GetMsisdnResponse
- func (*GetMsisdnResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMsisdnResponse) GetErrorMessage() string
- func (x *GetMsisdnResponse) GetPhoneNumber() *v0.PhoneNumber
- func (x *GetMsisdnResponse) GetStatusCode() v0.StatusCode
- func (*GetMsisdnResponse) ProtoMessage()
- func (x *GetMsisdnResponse) ProtoReflect() protoreflect.Message
- func (x *GetMsisdnResponse) Reset()
- func (x *GetMsisdnResponse) String() string
- type GetNetworkInfoForSubscriberRequest
- func (*GetNetworkInfoForSubscriberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNetworkInfoForSubscriberRequest) GetPhoneNumber() *v0.PhoneNumber
- func (*GetNetworkInfoForSubscriberRequest) ProtoMessage()
- func (x *GetNetworkInfoForSubscriberRequest) ProtoReflect() protoreflect.Message
- func (x *GetNetworkInfoForSubscriberRequest) Reset()
- func (x *GetNetworkInfoForSubscriberRequest) String() string
- type GetNetworkInfoForSubscriberResponse
- func (*GetNetworkInfoForSubscriberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNetworkInfoForSubscriberResponse) GetNetworkInfos() []*NetworkInfo
- func (*GetNetworkInfoForSubscriberResponse) ProtoMessage()
- func (x *GetNetworkInfoForSubscriberResponse) ProtoReflect() protoreflect.Message
- func (x *GetNetworkInfoForSubscriberResponse) Reset()
- func (x *GetNetworkInfoForSubscriberResponse) String() string
- type GetSubscriptionIdRequest
- func (*GetSubscriptionIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubscriptionIdRequest) GetPhoneNumber() *v0.PhoneNumber
- func (*GetSubscriptionIdRequest) ProtoMessage()
- func (x *GetSubscriptionIdRequest) ProtoReflect() protoreflect.Message
- func (x *GetSubscriptionIdRequest) Reset()
- func (x *GetSubscriptionIdRequest) String() string
- type GetSubscriptionIdResponse
- func (*GetSubscriptionIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSubscriptionIdResponse) GetErrorMessage() string
- func (x *GetSubscriptionIdResponse) GetStatusCode() v0.StatusCode
- func (x *GetSubscriptionIdResponse) GetSubscriptionId() *v0.SubscriptionIdentifier
- func (*GetSubscriptionIdResponse) ProtoMessage()
- func (x *GetSubscriptionIdResponse) ProtoReflect() protoreflect.Message
- func (x *GetSubscriptionIdResponse) Reset()
- func (x *GetSubscriptionIdResponse) String() string
- type Interval
- func (*Interval) Descriptor() ([]byte, []int)deprecated
- func (x *Interval) GetAfter() *timestamppb.Timestamp
- func (x *Interval) GetBefore() *timestamppb.Timestamp
- func (*Interval) ProtoMessage()
- func (x *Interval) ProtoReflect() protoreflect.Message
- func (x *Interval) Reset()
- func (x *Interval) String() string
- type NetworkInfo
- func (*NetworkInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkInfo) GetIccid() *v0.Iccid
- func (x *NetworkInfo) GetImsi() *v0.Imsi
- func (x *NetworkInfo) GetMme() *v0.Fqdn
- func (x *NetworkInfo) GetMsc() *v0.GlobalTitle
- func (x *NetworkInfo) GetNetworkGeneration() v0.NetworkGeneration
- func (x *NetworkInfo) GetNetworkIdentity() *v0.NetworkIdentity
- func (x *NetworkInfo) GetSgsn() *v0.GlobalTitle
- func (x *NetworkInfo) GetTadig() *v0.Tadig
- func (x *NetworkInfo) GetTimestamp() *timestamppb.Timestamp
- func (x *NetworkInfo) GetVlr() *v0.GlobalTitle
- func (*NetworkInfo) ProtoMessage()
- func (x *NetworkInfo) ProtoReflect() protoreflect.Message
- func (x *NetworkInfo) Reset()
- func (x *NetworkInfo) String() string
- type NetworkInfoServiceClient
- type NetworkInfoServiceServer
- type Status
- type SubscriptionIdServiceClient
- type SubscriptionIdServiceServer
- type UnimplementedNetworkInfoServiceServer
- func (UnimplementedNetworkInfoServiceServer) GetAttachmentAttemptsForSubscriber(context.Context, *GetAttachmentAttemptsForSubscriberRequest) (*GetAttachmentAttemptsForSubscriberResponse, error)
- func (UnimplementedNetworkInfoServiceServer) GetNetworkInfoForSubscriber(context.Context, *GetNetworkInfoForSubscriberRequest) (*GetNetworkInfoForSubscriberResponse, error)
- type UnimplementedSubscriptionIdServiceServer
- type UnsafeNetworkInfoServiceServer
- type UnsafeSubscriptionIdServiceServer
Constants ¶
const ( NetworkInfoService_GetNetworkInfoForSubscriber_FullMethodName = "/wgtwo.subscription.v0.NetworkInfoService/GetNetworkInfoForSubscriber" NetworkInfoService_GetAttachmentAttemptsForSubscriber_FullMethodName = "/wgtwo.subscription.v0.NetworkInfoService/GetAttachmentAttemptsForSubscriber" )
const ( SubscriptionIdService_GetSubscriptionId_FullMethodName = "/wgtwo.subscription.v0.SubscriptionIdService/GetSubscriptionId" SubscriptionIdService_GetMsisdn_FullMethodName = "/wgtwo.subscription.v0.SubscriptionIdService/GetMsisdn" )
Variables ¶
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.
var File_wgtwo_subscription_v0_network_info_proto protoreflect.FileDescriptor
var File_wgtwo_subscription_v0_subscription_id_proto protoreflect.FileDescriptor
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)
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 ( // Is the default value and will not be used. Code_CODE_UNSPECIFIED Code = 0 // Indicates that the attachment was successful. Code_CODE_OK Code = 1 // Currently not used. Code_CODE_ABSENT_PROFILE Code = 2 // Currently not used. Code_CODE_ABSENT_SUBSCRIBER Code = 3 // Indicates that the subscriber was not allowed to attach because it is not provisioned on the platform. Code_CODE_UNKNOWN_PROFILE Code = 4 // Indicates that the subscriber was not allowed to attach because it is inactive/blocked. Code_CODE_BLOCKED_PROFILE Code = 5 // Indicates that the subscriber was not allowed to attach because it either was missing the roaming services or // because the roaming profile of the subscriber did not allow the it to roam at that location. Code_CODE_ROAMING_NOT_ALLOWED Code = 6 )
func (Code) Descriptor ¶
func (Code) Descriptor() protoreflect.EnumDescriptor
func (Code) EnumDescriptor
deprecated
func (Code) Number ¶
func (x Code) Number() protoreflect.EnumNumber
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 (x *GetAttachmentAttemptsForSubscriberRequest) GetMaxAttempts() uint32
func (*GetAttachmentAttemptsForSubscriberRequest) GetPhoneNumber ¶
func (x *GetAttachmentAttemptsForSubscriberRequest) GetPhoneNumber() *v0.PhoneNumber
func (*GetAttachmentAttemptsForSubscriberRequest) ProtoMessage ¶
func (*GetAttachmentAttemptsForSubscriberRequest) ProtoMessage()
func (*GetAttachmentAttemptsForSubscriberRequest) ProtoReflect ¶
func (x *GetAttachmentAttemptsForSubscriberRequest) ProtoReflect() protoreflect.Message
func (*GetAttachmentAttemptsForSubscriberRequest) Reset ¶
func (x *GetAttachmentAttemptsForSubscriberRequest) Reset()
func (*GetAttachmentAttemptsForSubscriberRequest) String ¶
func (x *GetAttachmentAttemptsForSubscriberRequest) String() 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
func (*GetAttachmentAttemptsForSubscriberResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAttachmentAttemptsForSubscriberResponse.ProtoReflect.Descriptor instead.
func (*GetAttachmentAttemptsForSubscriberResponse) GetAttachmentAttempts ¶
func (x *GetAttachmentAttemptsForSubscriberResponse) GetAttachmentAttempts() []*AttachmentAttempt
func (*GetAttachmentAttemptsForSubscriberResponse) ProtoMessage ¶
func (*GetAttachmentAttemptsForSubscriberResponse) ProtoMessage()
func (*GetAttachmentAttemptsForSubscriberResponse) ProtoReflect ¶
func (x *GetAttachmentAttemptsForSubscriberResponse) ProtoReflect() protoreflect.Message
func (*GetAttachmentAttemptsForSubscriberResponse) Reset ¶
func (x *GetAttachmentAttemptsForSubscriberResponse) Reset()
func (*GetAttachmentAttemptsForSubscriberResponse) String ¶
func (x *GetAttachmentAttemptsForSubscriberResponse) String() 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 (x *GetNetworkInfoForSubscriberRequest) ProtoReflect() protoreflect.Message
func (*GetNetworkInfoForSubscriberRequest) Reset ¶
func (x *GetNetworkInfoForSubscriberRequest) Reset()
func (*GetNetworkInfoForSubscriberRequest) String ¶
func (x *GetNetworkInfoForSubscriberRequest) String() 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 (x *GetNetworkInfoForSubscriberResponse) ProtoReflect() protoreflect.Message
func (*GetNetworkInfoForSubscriberResponse) Reset ¶
func (x *GetNetworkInfoForSubscriberResponse) Reset()
func (*GetNetworkInfoForSubscriberResponse) String ¶
func (x *GetNetworkInfoForSubscriberResponse) String() 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 (x *GetSubscriptionIdResponse) ProtoReflect() protoreflect.Message
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) 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
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.
func NewNetworkInfoServiceClient ¶
func NewNetworkInfoServiceClient(cc grpc.ClientConnInterface) NetworkInfoServiceClient
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) GetDescription ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
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.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedNetworkInfoServiceServer) GetAttachmentAttemptsForSubscriber ¶
func (UnimplementedNetworkInfoServiceServer) GetAttachmentAttemptsForSubscriber(context.Context, *GetAttachmentAttemptsForSubscriberRequest) (*GetAttachmentAttemptsForSubscriberResponse, error)
func (UnimplementedNetworkInfoServiceServer) GetNetworkInfoForSubscriber ¶
func (UnimplementedNetworkInfoServiceServer) GetNetworkInfoForSubscriber(context.Context, *GetNetworkInfoForSubscriberRequest) (*GetNetworkInfoForSubscriberResponse, error)
type UnimplementedSubscriptionIdServiceServer ¶ added in v0.1.5
type UnimplementedSubscriptionIdServiceServer struct{}
UnimplementedSubscriptionIdServiceServer 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 (UnimplementedSubscriptionIdServiceServer) GetMsisdn ¶ added in v0.1.5
func (UnimplementedSubscriptionIdServiceServer) GetMsisdn(context.Context, *GetMsisdnRequest) (*GetMsisdnResponse, error)
func (UnimplementedSubscriptionIdServiceServer) GetSubscriptionId ¶ added in v0.1.5
func (UnimplementedSubscriptionIdServiceServer) GetSubscriptionId(context.Context, *GetSubscriptionIdRequest) (*GetSubscriptionIdResponse, error)
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.