Documentation
¶
Index ¶
- Variables
- func RegisterEventsServiceServer(s grpc.ServiceRegistrar, srv EventsServiceServer)
- type AckRequest
- type AckResponse
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (m *Event) GetEvent() isEvent_Event
- func (x *Event) GetLocationUpdateEvent() *LocationUpdateEvent
- func (x *Event) GetMetadata() *EventMetadata
- func (x *Event) GetRoamingEvent() *RoamingEvent
- func (x *Event) GetServiceId() string
- func (x *Event) GetTimestamp() *timestamp.Timestamp
- func (x *Event) GetVoiceEvent() *VoiceEvent
- func (x *Event) GetVoicemailEvent() *VoicemailEvent
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type EventMetadata
- func (*EventMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *EventMetadata) GetAckInbox() string
- func (x *EventMetadata) GetIsRedelivered() bool
- func (x *EventMetadata) GetSequence() uint64
- func (*EventMetadata) ProtoMessage()
- func (x *EventMetadata) ProtoReflect() protoreflect.Message
- func (x *EventMetadata) Reset()
- func (x *EventMetadata) String() string
- type EventType
- type Event_LocationUpdateEvent
- type Event_RoamingEvent
- type Event_VoiceEvent
- type Event_VoicemailEvent
- type EventsServiceClient
- type EventsServiceServer
- type EventsService_SubscribeClient
- type EventsService_SubscribeServer
- type LocationUpdateEvent
- func (*LocationUpdateEvent) Descriptor() ([]byte, []int)deprecated
- func (x *LocationUpdateEvent) GetCurrent() *LocationUpdateEvent_Location
- func (x *LocationUpdateEvent) GetImsi() string
- func (x *LocationUpdateEvent) GetNumber() *PhoneNumber
- func (x *LocationUpdateEvent) GetPrevious() *LocationUpdateEvent_Location
- func (*LocationUpdateEvent) ProtoMessage()
- func (x *LocationUpdateEvent) ProtoReflect() protoreflect.Message
- func (x *LocationUpdateEvent) Reset()
- func (x *LocationUpdateEvent) String() string
- type LocationUpdateEvent_Location
- func (*LocationUpdateEvent_Location) Descriptor() ([]byte, []int)deprecated
- func (x *LocationUpdateEvent_Location) GetMmeHostname() string
- func (x *LocationUpdateEvent_Location) GetMscVlrGlobalTitle() string
- func (x *LocationUpdateEvent_Location) GetSgsnGlobalTitle() string
- func (*LocationUpdateEvent_Location) ProtoMessage()
- func (x *LocationUpdateEvent_Location) ProtoReflect() protoreflect.Message
- func (x *LocationUpdateEvent_Location) Reset()
- func (x *LocationUpdateEvent_Location) String() string
- type ManualAckConfig
- func (*ManualAckConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ManualAckConfig) GetEnable() bool
- func (x *ManualAckConfig) GetTimeout() *duration.Duration
- func (*ManualAckConfig) ProtoMessage()
- func (x *ManualAckConfig) ProtoReflect() protoreflect.Message
- func (x *ManualAckConfig) Reset()
- func (x *ManualAckConfig) String() string
- type NationalPhoneNumber
- func (*NationalPhoneNumber) Descriptor() ([]byte, []int)deprecated
- func (x *NationalPhoneNumber) GetNationalPhoneNumber() string
- func (*NationalPhoneNumber) ProtoMessage()
- func (x *NationalPhoneNumber) ProtoReflect() protoreflect.Message
- func (x *NationalPhoneNumber) Reset()
- func (x *NationalPhoneNumber) String() string
- type PhoneNumber
- type RoamingEvent
- func (*RoamingEvent) Descriptor() ([]byte, []int)deprecated
- func (x *RoamingEvent) GetCurrentLocation() *RoamingEvent_Location
- func (x *RoamingEvent) GetImsi() string
- func (x *RoamingEvent) GetMsisdn() *PhoneNumber
- func (x *RoamingEvent) GetPreviousLocation() *RoamingEvent_Location
- func (*RoamingEvent) ProtoMessage()
- func (x *RoamingEvent) ProtoReflect() protoreflect.Message
- func (x *RoamingEvent) Reset()
- func (x *RoamingEvent) String() string
- type RoamingEvent_Location
- func (*RoamingEvent_Location) Descriptor() ([]byte, []int)deprecated
- func (x *RoamingEvent_Location) GetCountryCode() string
- func (x *RoamingEvent_Location) GetCountryName() string
- func (*RoamingEvent_Location) ProtoMessage()
- func (x *RoamingEvent_Location) ProtoReflect() protoreflect.Message
- func (x *RoamingEvent_Location) Reset()
- func (x *RoamingEvent_Location) String() string
- type SubscribeEventsRequest
- func (*SubscribeEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeEventsRequest) GetClientId() string
- func (x *SubscribeEventsRequest) GetDurableName() string
- func (x *SubscribeEventsRequest) GetManualAck() *ManualAckConfig
- func (x *SubscribeEventsRequest) GetMaxInFlight() uint32
- func (x *SubscribeEventsRequest) GetQueueName() string
- func (x *SubscribeEventsRequest) GetStartAtOldestPossible() *empty.Empty
- func (x *SubscribeEventsRequest) GetStartAtSequence() uint64
- func (x *SubscribeEventsRequest) GetStartAtTimeDelta() *duration.Duration
- func (x *SubscribeEventsRequest) GetStartAtTimestamp() *timestamp.Timestamp
- func (m *SubscribeEventsRequest) GetStartPosition() isSubscribeEventsRequest_StartPosition
- func (x *SubscribeEventsRequest) GetStartWithLastReceived() *empty.Empty
- func (x *SubscribeEventsRequest) GetType() []EventType
- func (*SubscribeEventsRequest) ProtoMessage()
- func (x *SubscribeEventsRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeEventsRequest) Reset()
- func (x *SubscribeEventsRequest) String() string
- type SubscribeEventsRequest_StartAtOldestPossible
- type SubscribeEventsRequest_StartAtSequence
- type SubscribeEventsRequest_StartAtTimeDelta
- type SubscribeEventsRequest_StartAtTimestamp
- type SubscribeEventsRequest_StartWithLastReceived
- type SubscribeEventsResponse
- func (*SubscribeEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeEventsResponse) GetEvent() *Event
- func (*SubscribeEventsResponse) ProtoMessage()
- func (x *SubscribeEventsResponse) ProtoReflect() protoreflect.Message
- func (x *SubscribeEventsResponse) Reset()
- func (x *SubscribeEventsResponse) String() string
- type TextAddress
- type UnimplementedEventsServiceServer
- type UnsafeEventsServiceServer
- type VoiceEvent
- func (*VoiceEvent) Descriptor() ([]byte, []int)deprecated
- func (x *VoiceEvent) GetCallId() string
- func (x *VoiceEvent) GetCallerIdHidden() bool
- func (x *VoiceEvent) GetFromNumber() *PhoneNumber
- func (x *VoiceEvent) GetOwner() *PhoneNumber
- func (x *VoiceEvent) GetToNumber() *PhoneNumber
- func (x *VoiceEvent) GetType() VoiceEvent_VoiceEventType
- func (*VoiceEvent) ProtoMessage()
- func (x *VoiceEvent) ProtoReflect() protoreflect.Message
- func (x *VoiceEvent) Reset()
- func (x *VoiceEvent) String() string
- type VoiceEvent_VoiceEventType
- func (VoiceEvent_VoiceEventType) Descriptor() protoreflect.EnumDescriptor
- func (x VoiceEvent_VoiceEventType) Enum() *VoiceEvent_VoiceEventType
- func (VoiceEvent_VoiceEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x VoiceEvent_VoiceEventType) Number() protoreflect.EnumNumber
- func (x VoiceEvent_VoiceEventType) String() string
- func (VoiceEvent_VoiceEventType) Type() protoreflect.EnumType
- type VoicemailEvent
- func (*VoicemailEvent) Descriptor() ([]byte, []int)deprecated
- func (x *VoicemailEvent) GetFromNumber() *PhoneNumber
- func (x *VoicemailEvent) GetToNumber() *PhoneNumber
- func (x *VoicemailEvent) GetType() VoicemailEvent_VoicemailEventType
- func (x *VoicemailEvent) GetVoicemailId() string
- func (*VoicemailEvent) ProtoMessage()
- func (x *VoicemailEvent) ProtoReflect() protoreflect.Message
- func (x *VoicemailEvent) Reset()
- func (x *VoicemailEvent) String() string
- type VoicemailEvent_VoicemailEventType
- func (VoicemailEvent_VoicemailEventType) Descriptor() protoreflect.EnumDescriptor
- func (x VoicemailEvent_VoicemailEventType) Enum() *VoicemailEvent_VoicemailEventType
- func (VoicemailEvent_VoicemailEventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x VoicemailEvent_VoicemailEventType) Number() protoreflect.EnumNumber
- func (x VoicemailEvent_VoicemailEventType) String() string
- func (VoicemailEvent_VoicemailEventType) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( EventType_name = map[int32]string{ 0: "UNSPECIFIED", 1: "VOICE_EVENT", 2: "VOICEMAIL_EVENT", 3: "LOCATION_UPDATE_EVENT", 4: "ROAMING_EVENT", 5: "TOKEN_AUDIT_EVENT", } EventType_value = map[string]int32{ "UNSPECIFIED": 0, "VOICE_EVENT": 1, "VOICEMAIL_EVENT": 2, "LOCATION_UPDATE_EVENT": 3, "ROAMING_EVENT": 4, "TOKEN_AUDIT_EVENT": 5, } )
Enum value maps for EventType.
var ( VoiceEvent_VoiceEventType_name = map[int32]string{ 0: "UNSPECIFIED", 1: "CALL_INITIATED", 2: "CALL_RINGING", 3: "CALL_ANSWERED", 4: "CALL_ENDED", 5: "CALL_FWD_VOICEMAIL", } VoiceEvent_VoiceEventType_value = map[string]int32{ "UNSPECIFIED": 0, "CALL_INITIATED": 1, "CALL_RINGING": 2, "CALL_ANSWERED": 3, "CALL_ENDED": 4, "CALL_FWD_VOICEMAIL": 5, } )
Enum value maps for VoiceEvent_VoiceEventType.
var ( VoicemailEvent_VoicemailEventType_name = map[int32]string{ 0: "UNSPECIFIED", 1: "NEW_VOICEMAIL", } VoicemailEvent_VoicemailEventType_value = map[string]int32{ "UNSPECIFIED": 0, "NEW_VOICEMAIL": 1, } )
Enum value maps for VoicemailEvent_VoicemailEventType.
var File_proto_events_proto protoreflect.FileDescriptor
var File_proto_phonenumber_proto protoreflect.FileDescriptor
Functions ¶
func RegisterEventsServiceServer ¶
func RegisterEventsServiceServer(s grpc.ServiceRegistrar, srv EventsServiceServer)
Types ¶
type AckRequest ¶
type AckRequest struct { Inbox string `protobuf:"bytes,1,opt,name=inbox,proto3" json:"inbox,omitempty"` Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"` // contains filtered or unexported fields }
func (*AckRequest) Descriptor
deprecated
func (*AckRequest) Descriptor() ([]byte, []int)
Deprecated: Use AckRequest.ProtoReflect.Descriptor instead.
func (*AckRequest) GetInbox ¶
func (x *AckRequest) GetInbox() string
func (*AckRequest) GetSequence ¶
func (x *AckRequest) GetSequence() uint64
func (*AckRequest) ProtoMessage ¶
func (*AckRequest) ProtoMessage()
func (*AckRequest) ProtoReflect ¶
func (x *AckRequest) ProtoReflect() protoreflect.Message
func (*AckRequest) Reset ¶
func (x *AckRequest) Reset()
func (*AckRequest) String ¶
func (x *AckRequest) String() string
type AckResponse ¶
type AckResponse struct {
// contains filtered or unexported fields
}
func (*AckResponse) Descriptor
deprecated
func (*AckResponse) Descriptor() ([]byte, []int)
Deprecated: Use AckResponse.ProtoReflect.Descriptor instead.
func (*AckResponse) ProtoMessage ¶
func (*AckResponse) ProtoMessage()
func (*AckResponse) ProtoReflect ¶
func (x *AckResponse) ProtoReflect() protoreflect.Message
func (*AckResponse) Reset ¶
func (x *AckResponse) Reset()
func (*AckResponse) String ¶
func (x *AckResponse) String() string
type Event ¶
type Event struct { Metadata *EventMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` ServiceId string `protobuf:"bytes,3,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // Types that are assignable to Event: // *Event_VoiceEvent // *Event_VoicemailEvent // *Event_LocationUpdateEvent // *Event_RoamingEvent Event isEvent_Event `protobuf_oneof:"event"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetLocationUpdateEvent ¶
func (x *Event) GetLocationUpdateEvent() *LocationUpdateEvent
func (*Event) GetMetadata ¶
func (x *Event) GetMetadata() *EventMetadata
func (*Event) GetRoamingEvent ¶
func (x *Event) GetRoamingEvent() *RoamingEvent
func (*Event) GetServiceId ¶
func (*Event) GetTimestamp ¶
func (*Event) GetVoiceEvent ¶
func (x *Event) GetVoiceEvent() *VoiceEvent
func (*Event) GetVoicemailEvent ¶
func (x *Event) GetVoicemailEvent() *VoicemailEvent
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type EventMetadata ¶
type EventMetadata struct { Sequence uint64 `protobuf:"varint,1,opt,name=sequence,proto3" json:"sequence,omitempty"` IsRedelivered bool `protobuf:"varint,2,opt,name=is_redelivered,json=isRedelivered,proto3" json:"is_redelivered,omitempty"` AckInbox string `protobuf:"bytes,3,opt,name=ack_inbox,json=ackInbox,proto3" json:"ack_inbox,omitempty"` // contains filtered or unexported fields }
func (*EventMetadata) Descriptor
deprecated
func (*EventMetadata) Descriptor() ([]byte, []int)
Deprecated: Use EventMetadata.ProtoReflect.Descriptor instead.
func (*EventMetadata) GetAckInbox ¶
func (x *EventMetadata) GetAckInbox() string
func (*EventMetadata) GetIsRedelivered ¶
func (x *EventMetadata) GetIsRedelivered() bool
func (*EventMetadata) GetSequence ¶
func (x *EventMetadata) GetSequence() uint64
func (*EventMetadata) ProtoMessage ¶
func (*EventMetadata) ProtoMessage()
func (*EventMetadata) ProtoReflect ¶
func (x *EventMetadata) ProtoReflect() protoreflect.Message
func (*EventMetadata) Reset ¶
func (x *EventMetadata) Reset()
func (*EventMetadata) String ¶
func (x *EventMetadata) String() string
type EventType ¶
type EventType int32
func (EventType) Descriptor ¶
func (EventType) Descriptor() protoreflect.EnumDescriptor
func (EventType) EnumDescriptor
deprecated
func (EventType) Number ¶
func (x EventType) Number() protoreflect.EnumNumber
func (EventType) Type ¶
func (EventType) Type() protoreflect.EnumType
type Event_LocationUpdateEvent ¶
type Event_LocationUpdateEvent struct {
LocationUpdateEvent *LocationUpdateEvent `protobuf:"bytes,6,opt,name=location_update_event,json=locationUpdateEvent,proto3,oneof"`
}
type Event_RoamingEvent ¶
type Event_RoamingEvent struct {
RoamingEvent *RoamingEvent `protobuf:"bytes,7,opt,name=roaming_event,json=roamingEvent,proto3,oneof"`
}
type Event_VoiceEvent ¶
type Event_VoiceEvent struct {
VoiceEvent *VoiceEvent `protobuf:"bytes,4,opt,name=voice_event,json=voiceEvent,proto3,oneof"`
}
type Event_VoicemailEvent ¶
type Event_VoicemailEvent struct {
VoicemailEvent *VoicemailEvent `protobuf:"bytes,5,opt,name=voicemail_event,json=voicemailEvent,proto3,oneof"`
}
type EventsServiceClient ¶
type EventsServiceClient interface { Subscribe(ctx context.Context, in *SubscribeEventsRequest, opts ...grpc.CallOption) (EventsService_SubscribeClient, error) Ack(ctx context.Context, in *AckRequest, opts ...grpc.CallOption) (*AckResponse, error) }
EventsServiceClient is the client API for EventsService 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 NewEventsServiceClient ¶
func NewEventsServiceClient(cc grpc.ClientConnInterface) EventsServiceClient
type EventsServiceServer ¶
type EventsServiceServer interface { Subscribe(*SubscribeEventsRequest, EventsService_SubscribeServer) error Ack(context.Context, *AckRequest) (*AckResponse, error) // contains filtered or unexported methods }
EventsServiceServer is the server API for EventsService service. All implementations must embed UnimplementedEventsServiceServer for forward compatibility
type EventsService_SubscribeClient ¶
type EventsService_SubscribeClient interface { Recv() (*SubscribeEventsResponse, error) grpc.ClientStream }
type EventsService_SubscribeServer ¶
type EventsService_SubscribeServer interface { Send(*SubscribeEventsResponse) error grpc.ServerStream }
type LocationUpdateEvent ¶
type LocationUpdateEvent struct { Imsi string `protobuf:"bytes,1,opt,name=imsi,proto3" json:"imsi,omitempty"` Number *PhoneNumber `protobuf:"bytes,2,opt,name=number,proto3" json:"number,omitempty"` Previous *LocationUpdateEvent_Location `protobuf:"bytes,3,opt,name=previous,proto3" json:"previous,omitempty"` Current *LocationUpdateEvent_Location `protobuf:"bytes,4,opt,name=current,proto3" json:"current,omitempty"` // contains filtered or unexported fields }
func (*LocationUpdateEvent) Descriptor
deprecated
func (*LocationUpdateEvent) Descriptor() ([]byte, []int)
Deprecated: Use LocationUpdateEvent.ProtoReflect.Descriptor instead.
func (*LocationUpdateEvent) GetCurrent ¶
func (x *LocationUpdateEvent) GetCurrent() *LocationUpdateEvent_Location
func (*LocationUpdateEvent) GetImsi ¶
func (x *LocationUpdateEvent) GetImsi() string
func (*LocationUpdateEvent) GetNumber ¶
func (x *LocationUpdateEvent) GetNumber() *PhoneNumber
func (*LocationUpdateEvent) GetPrevious ¶
func (x *LocationUpdateEvent) GetPrevious() *LocationUpdateEvent_Location
func (*LocationUpdateEvent) ProtoMessage ¶
func (*LocationUpdateEvent) ProtoMessage()
func (*LocationUpdateEvent) ProtoReflect ¶
func (x *LocationUpdateEvent) ProtoReflect() protoreflect.Message
func (*LocationUpdateEvent) Reset ¶
func (x *LocationUpdateEvent) Reset()
func (*LocationUpdateEvent) String ¶
func (x *LocationUpdateEvent) String() string
type LocationUpdateEvent_Location ¶
type LocationUpdateEvent_Location struct { MscVlrGlobalTitle string `protobuf:"bytes,1,opt,name=msc_vlr_global_title,json=mscVlrGlobalTitle,proto3" json:"msc_vlr_global_title,omitempty"` SgsnGlobalTitle string `protobuf:"bytes,2,opt,name=sgsn_global_title,json=sgsnGlobalTitle,proto3" json:"sgsn_global_title,omitempty"` MmeHostname string `protobuf:"bytes,3,opt,name=mme_hostname,json=mmeHostname,proto3" json:"mme_hostname,omitempty"` // contains filtered or unexported fields }
func (*LocationUpdateEvent_Location) Descriptor
deprecated
func (*LocationUpdateEvent_Location) Descriptor() ([]byte, []int)
Deprecated: Use LocationUpdateEvent_Location.ProtoReflect.Descriptor instead.
func (*LocationUpdateEvent_Location) GetMmeHostname ¶
func (x *LocationUpdateEvent_Location) GetMmeHostname() string
func (*LocationUpdateEvent_Location) GetMscVlrGlobalTitle ¶
func (x *LocationUpdateEvent_Location) GetMscVlrGlobalTitle() string
func (*LocationUpdateEvent_Location) GetSgsnGlobalTitle ¶
func (x *LocationUpdateEvent_Location) GetSgsnGlobalTitle() string
func (*LocationUpdateEvent_Location) ProtoMessage ¶
func (*LocationUpdateEvent_Location) ProtoMessage()
func (*LocationUpdateEvent_Location) ProtoReflect ¶
func (x *LocationUpdateEvent_Location) ProtoReflect() protoreflect.Message
func (*LocationUpdateEvent_Location) Reset ¶
func (x *LocationUpdateEvent_Location) Reset()
func (*LocationUpdateEvent_Location) String ¶
func (x *LocationUpdateEvent_Location) String() string
type ManualAckConfig ¶
type ManualAckConfig struct { Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` Timeout *duration.Duration `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*ManualAckConfig) Descriptor
deprecated
func (*ManualAckConfig) Descriptor() ([]byte, []int)
Deprecated: Use ManualAckConfig.ProtoReflect.Descriptor instead.
func (*ManualAckConfig) GetEnable ¶
func (x *ManualAckConfig) GetEnable() bool
func (*ManualAckConfig) GetTimeout ¶
func (x *ManualAckConfig) GetTimeout() *duration.Duration
func (*ManualAckConfig) ProtoMessage ¶
func (*ManualAckConfig) ProtoMessage()
func (*ManualAckConfig) ProtoReflect ¶
func (x *ManualAckConfig) ProtoReflect() protoreflect.Message
func (*ManualAckConfig) Reset ¶
func (x *ManualAckConfig) Reset()
func (*ManualAckConfig) String ¶
func (x *ManualAckConfig) String() string
type NationalPhoneNumber ¶
type NationalPhoneNumber struct { NationalPhoneNumber string `protobuf:"bytes,1,opt,name=nationalPhoneNumber,proto3" json:"nationalPhoneNumber,omitempty"` // contains filtered or unexported fields }
Any phone number that is tied to a specific country. Does not contain the prefix '+' nor a country code.
func (*NationalPhoneNumber) Descriptor
deprecated
func (*NationalPhoneNumber) Descriptor() ([]byte, []int)
Deprecated: Use NationalPhoneNumber.ProtoReflect.Descriptor instead.
func (*NationalPhoneNumber) GetNationalPhoneNumber ¶
func (x *NationalPhoneNumber) GetNationalPhoneNumber() string
func (*NationalPhoneNumber) ProtoMessage ¶
func (*NationalPhoneNumber) ProtoMessage()
func (*NationalPhoneNumber) ProtoReflect ¶
func (x *NationalPhoneNumber) ProtoReflect() protoreflect.Message
func (*NationalPhoneNumber) Reset ¶
func (x *NationalPhoneNumber) Reset()
func (*NationalPhoneNumber) String ¶
func (x *NationalPhoneNumber) String() string
type PhoneNumber ¶
type PhoneNumber struct { // Phone number formatted as E.164 with leading plus sign // // This contains of three components: // - The plus prefix // - Country code, max 3 digits // - Subscriber number // // Test your number at https://libphonenumber.appspot.com/ // Example: +12024561111 E164 string `protobuf:"bytes,1,opt,name=e164,proto3" json:"e164,omitempty"` // contains filtered or unexported fields }
func (*PhoneNumber) Descriptor
deprecated
func (*PhoneNumber) Descriptor() ([]byte, []int)
Deprecated: Use PhoneNumber.ProtoReflect.Descriptor instead.
func (*PhoneNumber) GetE164 ¶
func (x *PhoneNumber) GetE164() string
func (*PhoneNumber) ProtoMessage ¶
func (*PhoneNumber) ProtoMessage()
func (*PhoneNumber) ProtoReflect ¶
func (x *PhoneNumber) ProtoReflect() protoreflect.Message
func (*PhoneNumber) Reset ¶
func (x *PhoneNumber) Reset()
func (*PhoneNumber) String ¶
func (x *PhoneNumber) String() string
type RoamingEvent ¶
type RoamingEvent struct { Imsi string `protobuf:"bytes,1,opt,name=imsi,proto3" json:"imsi,omitempty"` Msisdn *PhoneNumber `protobuf:"bytes,2,opt,name=msisdn,proto3" json:"msisdn,omitempty"` PreviousLocation *RoamingEvent_Location `protobuf:"bytes,3,opt,name=previous_location,json=previousLocation,proto3" json:"previous_location,omitempty"` CurrentLocation *RoamingEvent_Location `protobuf:"bytes,4,opt,name=current_location,json=currentLocation,proto3" json:"current_location,omitempty"` // contains filtered or unexported fields }
func (*RoamingEvent) Descriptor
deprecated
func (*RoamingEvent) Descriptor() ([]byte, []int)
Deprecated: Use RoamingEvent.ProtoReflect.Descriptor instead.
func (*RoamingEvent) GetCurrentLocation ¶
func (x *RoamingEvent) GetCurrentLocation() *RoamingEvent_Location
func (*RoamingEvent) GetImsi ¶
func (x *RoamingEvent) GetImsi() string
func (*RoamingEvent) GetMsisdn ¶
func (x *RoamingEvent) GetMsisdn() *PhoneNumber
func (*RoamingEvent) GetPreviousLocation ¶
func (x *RoamingEvent) GetPreviousLocation() *RoamingEvent_Location
func (*RoamingEvent) ProtoMessage ¶
func (*RoamingEvent) ProtoMessage()
func (*RoamingEvent) ProtoReflect ¶
func (x *RoamingEvent) ProtoReflect() protoreflect.Message
func (*RoamingEvent) Reset ¶
func (x *RoamingEvent) Reset()
func (*RoamingEvent) String ¶
func (x *RoamingEvent) String() string
type RoamingEvent_Location ¶
type RoamingEvent_Location struct { CountryCode string `protobuf:"bytes,1,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` CountryName string `protobuf:"bytes,2,opt,name=country_name,json=countryName,proto3" json:"country_name,omitempty"` // contains filtered or unexported fields }
func (*RoamingEvent_Location) Descriptor
deprecated
func (*RoamingEvent_Location) Descriptor() ([]byte, []int)
Deprecated: Use RoamingEvent_Location.ProtoReflect.Descriptor instead.
func (*RoamingEvent_Location) GetCountryCode ¶
func (x *RoamingEvent_Location) GetCountryCode() string
func (*RoamingEvent_Location) GetCountryName ¶
func (x *RoamingEvent_Location) GetCountryName() string
func (*RoamingEvent_Location) ProtoMessage ¶
func (*RoamingEvent_Location) ProtoMessage()
func (*RoamingEvent_Location) ProtoReflect ¶
func (x *RoamingEvent_Location) ProtoReflect() protoreflect.Message
func (*RoamingEvent_Location) Reset ¶
func (x *RoamingEvent_Location) Reset()
func (*RoamingEvent_Location) String ¶
func (x *RoamingEvent_Location) String() string
type SubscribeEventsRequest ¶
type SubscribeEventsRequest struct { Type []EventType `protobuf:"varint,1,rep,packed,name=type,proto3,enum=wgtwo.events.v0.EventType" json:"type,omitempty"` // Types that are assignable to StartPosition: // *SubscribeEventsRequest_StartAtSequence // *SubscribeEventsRequest_StartAtTimestamp // *SubscribeEventsRequest_StartAtTimeDelta // *SubscribeEventsRequest_StartWithLastReceived // *SubscribeEventsRequest_StartAtOldestPossible StartPosition isSubscribeEventsRequest_StartPosition `protobuf_oneof:"start_position"` ClientId string `protobuf:"bytes,6,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` QueueName string `protobuf:"bytes,7,opt,name=queue_name,json=queueName,proto3" json:"queue_name,omitempty"` DurableName string `protobuf:"bytes,8,opt,name=durable_name,json=durableName,proto3" json:"durable_name,omitempty"` MaxInFlight uint32 `protobuf:"varint,9,opt,name=max_in_flight,json=maxInFlight,proto3" json:"max_in_flight,omitempty"` ManualAck *ManualAckConfig `protobuf:"bytes,10,opt,name=manual_ack,json=manualAck,proto3" json:"manual_ack,omitempty"` // contains filtered or unexported fields }
func (*SubscribeEventsRequest) Descriptor
deprecated
func (*SubscribeEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeEventsRequest.ProtoReflect.Descriptor instead.
func (*SubscribeEventsRequest) GetClientId ¶
func (x *SubscribeEventsRequest) GetClientId() string
func (*SubscribeEventsRequest) GetDurableName ¶
func (x *SubscribeEventsRequest) GetDurableName() string
func (*SubscribeEventsRequest) GetManualAck ¶
func (x *SubscribeEventsRequest) GetManualAck() *ManualAckConfig
func (*SubscribeEventsRequest) GetMaxInFlight ¶
func (x *SubscribeEventsRequest) GetMaxInFlight() uint32
func (*SubscribeEventsRequest) GetQueueName ¶
func (x *SubscribeEventsRequest) GetQueueName() string
func (*SubscribeEventsRequest) GetStartAtOldestPossible ¶
func (x *SubscribeEventsRequest) GetStartAtOldestPossible() *empty.Empty
func (*SubscribeEventsRequest) GetStartAtSequence ¶
func (x *SubscribeEventsRequest) GetStartAtSequence() uint64
func (*SubscribeEventsRequest) GetStartAtTimeDelta ¶
func (x *SubscribeEventsRequest) GetStartAtTimeDelta() *duration.Duration
func (*SubscribeEventsRequest) GetStartAtTimestamp ¶
func (x *SubscribeEventsRequest) GetStartAtTimestamp() *timestamp.Timestamp
func (*SubscribeEventsRequest) GetStartPosition ¶
func (m *SubscribeEventsRequest) GetStartPosition() isSubscribeEventsRequest_StartPosition
func (*SubscribeEventsRequest) GetStartWithLastReceived ¶
func (x *SubscribeEventsRequest) GetStartWithLastReceived() *empty.Empty
func (*SubscribeEventsRequest) GetType ¶
func (x *SubscribeEventsRequest) GetType() []EventType
func (*SubscribeEventsRequest) ProtoMessage ¶
func (*SubscribeEventsRequest) ProtoMessage()
func (*SubscribeEventsRequest) ProtoReflect ¶
func (x *SubscribeEventsRequest) ProtoReflect() protoreflect.Message
func (*SubscribeEventsRequest) Reset ¶
func (x *SubscribeEventsRequest) Reset()
func (*SubscribeEventsRequest) String ¶
func (x *SubscribeEventsRequest) String() string
type SubscribeEventsRequest_StartAtSequence ¶
type SubscribeEventsRequest_StartAtSequence struct {
StartAtSequence uint64 `protobuf:"varint,2,opt,name=start_at_sequence,json=startAtSequence,proto3,oneof"`
}
type SubscribeEventsResponse ¶
type SubscribeEventsResponse struct { Event *Event `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"` // contains filtered or unexported fields }
func (*SubscribeEventsResponse) Descriptor
deprecated
func (*SubscribeEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeEventsResponse.ProtoReflect.Descriptor instead.
func (*SubscribeEventsResponse) GetEvent ¶
func (x *SubscribeEventsResponse) GetEvent() *Event
func (*SubscribeEventsResponse) ProtoMessage ¶
func (*SubscribeEventsResponse) ProtoMessage()
func (*SubscribeEventsResponse) ProtoReflect ¶
func (x *SubscribeEventsResponse) ProtoReflect() protoreflect.Message
func (*SubscribeEventsResponse) Reset ¶
func (x *SubscribeEventsResponse) Reset()
func (*SubscribeEventsResponse) String ¶
func (x *SubscribeEventsResponse) String() string
type TextAddress ¶
type TextAddress struct { TextAddress string `protobuf:"bytes,1,opt,name=textAddress,proto3" json:"textAddress,omitempty"` // contains filtered or unexported fields }
func (*TextAddress) Descriptor
deprecated
func (*TextAddress) Descriptor() ([]byte, []int)
Deprecated: Use TextAddress.ProtoReflect.Descriptor instead.
func (*TextAddress) GetTextAddress ¶
func (x *TextAddress) GetTextAddress() string
func (*TextAddress) ProtoMessage ¶
func (*TextAddress) ProtoMessage()
func (*TextAddress) ProtoReflect ¶
func (x *TextAddress) ProtoReflect() protoreflect.Message
func (*TextAddress) Reset ¶
func (x *TextAddress) Reset()
func (*TextAddress) String ¶
func (x *TextAddress) String() string
type UnimplementedEventsServiceServer ¶
type UnimplementedEventsServiceServer struct { }
UnimplementedEventsServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedEventsServiceServer) Ack ¶
func (UnimplementedEventsServiceServer) Ack(context.Context, *AckRequest) (*AckResponse, error)
func (UnimplementedEventsServiceServer) Subscribe ¶
func (UnimplementedEventsServiceServer) Subscribe(*SubscribeEventsRequest, EventsService_SubscribeServer) error
type UnsafeEventsServiceServer ¶
type UnsafeEventsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeEventsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EventsServiceServer will result in compilation errors.
type VoiceEvent ¶
type VoiceEvent struct { CallId string `protobuf:"bytes,1,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"` Type VoiceEvent_VoiceEventType `protobuf:"varint,2,opt,name=type,proto3,enum=wgtwo.events.v0.VoiceEvent_VoiceEventType" json:"type,omitempty"` FromNumber *PhoneNumber `protobuf:"bytes,3,opt,name=from_number,json=fromNumber,proto3" json:"from_number,omitempty"` ToNumber *PhoneNumber `protobuf:"bytes,4,opt,name=to_number,json=toNumber,proto3" json:"to_number,omitempty"` Owner *PhoneNumber `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"` CallerIdHidden bool `protobuf:"varint,6,opt,name=caller_id_hidden,json=callerIdHidden,proto3" json:"caller_id_hidden,omitempty"` // contains filtered or unexported fields }
func (*VoiceEvent) Descriptor
deprecated
func (*VoiceEvent) Descriptor() ([]byte, []int)
Deprecated: Use VoiceEvent.ProtoReflect.Descriptor instead.
func (*VoiceEvent) GetCallId ¶
func (x *VoiceEvent) GetCallId() string
func (*VoiceEvent) GetCallerIdHidden ¶
func (x *VoiceEvent) GetCallerIdHidden() bool
func (*VoiceEvent) GetFromNumber ¶
func (x *VoiceEvent) GetFromNumber() *PhoneNumber
func (*VoiceEvent) GetOwner ¶
func (x *VoiceEvent) GetOwner() *PhoneNumber
func (*VoiceEvent) GetToNumber ¶
func (x *VoiceEvent) GetToNumber() *PhoneNumber
func (*VoiceEvent) GetType ¶
func (x *VoiceEvent) GetType() VoiceEvent_VoiceEventType
func (*VoiceEvent) ProtoMessage ¶
func (*VoiceEvent) ProtoMessage()
func (*VoiceEvent) ProtoReflect ¶
func (x *VoiceEvent) ProtoReflect() protoreflect.Message
func (*VoiceEvent) Reset ¶
func (x *VoiceEvent) Reset()
func (*VoiceEvent) String ¶
func (x *VoiceEvent) String() string
type VoiceEvent_VoiceEventType ¶
type VoiceEvent_VoiceEventType int32
const ( VoiceEvent_UNSPECIFIED VoiceEvent_VoiceEventType = 0 VoiceEvent_CALL_INITIATED VoiceEvent_VoiceEventType = 1 VoiceEvent_CALL_RINGING VoiceEvent_VoiceEventType = 2 VoiceEvent_CALL_ANSWERED VoiceEvent_VoiceEventType = 3 VoiceEvent_CALL_ENDED VoiceEvent_VoiceEventType = 4 VoiceEvent_CALL_FWD_VOICEMAIL VoiceEvent_VoiceEventType = 5 )
func (VoiceEvent_VoiceEventType) Descriptor ¶
func (VoiceEvent_VoiceEventType) Descriptor() protoreflect.EnumDescriptor
func (VoiceEvent_VoiceEventType) Enum ¶
func (x VoiceEvent_VoiceEventType) Enum() *VoiceEvent_VoiceEventType
func (VoiceEvent_VoiceEventType) EnumDescriptor
deprecated
func (VoiceEvent_VoiceEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use VoiceEvent_VoiceEventType.Descriptor instead.
func (VoiceEvent_VoiceEventType) Number ¶
func (x VoiceEvent_VoiceEventType) Number() protoreflect.EnumNumber
func (VoiceEvent_VoiceEventType) String ¶
func (x VoiceEvent_VoiceEventType) String() string
func (VoiceEvent_VoiceEventType) Type ¶
func (VoiceEvent_VoiceEventType) Type() protoreflect.EnumType
type VoicemailEvent ¶
type VoicemailEvent struct { VoicemailId string `protobuf:"bytes,1,opt,name=voicemail_id,json=voicemailId,proto3" json:"voicemail_id,omitempty"` Type VoicemailEvent_VoicemailEventType `protobuf:"varint,2,opt,name=type,proto3,enum=wgtwo.events.v0.VoicemailEvent_VoicemailEventType" json:"type,omitempty"` FromNumber *PhoneNumber `protobuf:"bytes,3,opt,name=from_number,json=fromNumber,proto3" json:"from_number,omitempty"` ToNumber *PhoneNumber `protobuf:"bytes,4,opt,name=to_number,json=toNumber,proto3" json:"to_number,omitempty"` // contains filtered or unexported fields }
func (*VoicemailEvent) Descriptor
deprecated
func (*VoicemailEvent) Descriptor() ([]byte, []int)
Deprecated: Use VoicemailEvent.ProtoReflect.Descriptor instead.
func (*VoicemailEvent) GetFromNumber ¶
func (x *VoicemailEvent) GetFromNumber() *PhoneNumber
func (*VoicemailEvent) GetToNumber ¶
func (x *VoicemailEvent) GetToNumber() *PhoneNumber
func (*VoicemailEvent) GetType ¶
func (x *VoicemailEvent) GetType() VoicemailEvent_VoicemailEventType
func (*VoicemailEvent) GetVoicemailId ¶
func (x *VoicemailEvent) GetVoicemailId() string
func (*VoicemailEvent) ProtoMessage ¶
func (*VoicemailEvent) ProtoMessage()
func (*VoicemailEvent) ProtoReflect ¶
func (x *VoicemailEvent) ProtoReflect() protoreflect.Message
func (*VoicemailEvent) Reset ¶
func (x *VoicemailEvent) Reset()
func (*VoicemailEvent) String ¶
func (x *VoicemailEvent) String() string
type VoicemailEvent_VoicemailEventType ¶
type VoicemailEvent_VoicemailEventType int32
const ( VoicemailEvent_UNSPECIFIED VoicemailEvent_VoicemailEventType = 0 VoicemailEvent_NEW_VOICEMAIL VoicemailEvent_VoicemailEventType = 1 )
func (VoicemailEvent_VoicemailEventType) Descriptor ¶
func (VoicemailEvent_VoicemailEventType) Descriptor() protoreflect.EnumDescriptor
func (VoicemailEvent_VoicemailEventType) Enum ¶
func (x VoicemailEvent_VoicemailEventType) Enum() *VoicemailEvent_VoicemailEventType
func (VoicemailEvent_VoicemailEventType) EnumDescriptor
deprecated
func (VoicemailEvent_VoicemailEventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use VoicemailEvent_VoicemailEventType.Descriptor instead.
func (VoicemailEvent_VoicemailEventType) Number ¶
func (x VoicemailEvent_VoicemailEventType) Number() protoreflect.EnumNumber
func (VoicemailEvent_VoicemailEventType) String ¶
func (x VoicemailEvent_VoicemailEventType) String() string
func (VoicemailEvent_VoicemailEventType) Type ¶
func (VoicemailEvent_VoicemailEventType) Type() protoreflect.EnumType