Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterEventsServiceServer(s grpc.ServiceRegistrar, srv EventsServiceServer)
- type AckRequest
- type AckResponse
- type ConsentRevokeEvent
- func (*ConsentRevokeEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ConsentRevokeEvent) GetMsisdn() *v0.PhoneNumber
- func (*ConsentRevokeEvent) ProtoMessage()
- func (x *ConsentRevokeEvent) ProtoReflect() protoreflect.Message
- func (x *ConsentRevokeEvent) Reset()
- func (x *ConsentRevokeEvent) String() string
- type CountryChangeEvent
- func (*CountryChangeEvent) Descriptor() ([]byte, []int)deprecated
- func (x *CountryChangeEvent) GetCurrent() *CountryChangeEvent_Country
- func (x *CountryChangeEvent) GetMsisdn() *v0.PhoneNumber
- func (x *CountryChangeEvent) GetPrevious() *CountryChangeEvent_Country
- func (*CountryChangeEvent) ProtoMessage()
- func (x *CountryChangeEvent) ProtoReflect() protoreflect.Message
- func (x *CountryChangeEvent) Reset()
- func (x *CountryChangeEvent) String() string
- type CountryChangeEvent_Country
- func (*CountryChangeEvent_Country) Descriptor() ([]byte, []int)deprecated
- func (x *CountryChangeEvent_Country) GetCode() string
- func (x *CountryChangeEvent_Country) GetName() string
- func (*CountryChangeEvent_Country) ProtoMessage()
- func (x *CountryChangeEvent_Country) ProtoReflect() protoreflect.Message
- func (x *CountryChangeEvent_Country) Reset()
- func (x *CountryChangeEvent_Country) String() string
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetConsentRevokeEvent() *ConsentRevokeEvent
- func (x *Event) GetCountryChangeEvent() *CountryChangeEvent
- func (m *Event) GetEvent() isEvent_Event
- func (x *Event) GetFirstAttachmentEvent() *FirstAttachmentEvent
- func (x *Event) GetHandsetUpdateEvent() *HandsetUpdateEvent
- func (x *Event) GetLocationUpdateEvent() *LocationUpdateEvent
- func (x *Event) GetMetadata() *EventMetadata
- func (x *Event) GetOwner() *Owner
- func (x *Event) GetPeriodicCountryEvent() *PeriodicCountryEvent
- func (x *Event) GetServiceId() string
- func (x *Event) GetSmsDeliveryReportEvent() *SmsDeliveryReportEvent
- func (x *Event) GetSmsEvent() *SmsEvent
- func (x *Event) GetTimestamp() *timestamppb.Timestamp
- func (x *Event) GetTokenAuditEvent() *TokenAuditEvent
- 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_ConsentRevokeEvent
- type Event_CountryChangeEvent
- type Event_FirstAttachmentEvent
- type Event_HandsetUpdateEvent
- type Event_LocationUpdateEvent
- type Event_PeriodicCountryEvent
- type Event_SmsDeliveryReportEvent
- type Event_SmsEvent
- type Event_TokenAuditEvent
- type Event_VoiceEvent
- type Event_VoicemailEvent
- type EventsServiceClient
- type EventsServiceServer
- type EventsService_SubscribeClient
- type EventsService_SubscribeServer
- type FirstAttachmentEvent
- func (*FirstAttachmentEvent) Descriptor() ([]byte, []int)deprecated
- func (x *FirstAttachmentEvent) GetImsi() *Imsi
- func (x *FirstAttachmentEvent) GetNumber() *v0.PhoneNumber
- func (*FirstAttachmentEvent) ProtoMessage()
- func (x *FirstAttachmentEvent) ProtoReflect() protoreflect.Message
- func (x *FirstAttachmentEvent) Reset()
- func (x *FirstAttachmentEvent) String() string
- type Handset
- type HandsetUpdateEvent
- func (*HandsetUpdateEvent) Descriptor() ([]byte, []int)deprecated
- func (x *HandsetUpdateEvent) GetCurrent() *Handset
- func (x *HandsetUpdateEvent) GetImsi() *Imsi
- func (x *HandsetUpdateEvent) GetNumber() *v0.PhoneNumber
- func (x *HandsetUpdateEvent) GetPrevious() *Handset
- func (*HandsetUpdateEvent) ProtoMessage()
- func (x *HandsetUpdateEvent) ProtoReflect() protoreflect.Message
- func (x *HandsetUpdateEvent) Reset()
- func (x *HandsetUpdateEvent) String() string
- type ImeiSv
- type Imsi
- type LocationUpdateEvent
- func (*LocationUpdateEvent) Descriptor() ([]byte, []int)deprecated
- func (x *LocationUpdateEvent) GetCurrent() *LocationUpdateEvent_Locations
- func (x *LocationUpdateEvent) GetNumber() *v0.PhoneNumber
- func (x *LocationUpdateEvent) GetPrevious() *LocationUpdateEvent_Locations
- func (*LocationUpdateEvent) ProtoMessage()
- func (x *LocationUpdateEvent) ProtoReflect() protoreflect.Message
- func (x *LocationUpdateEvent) Reset()
- func (x *LocationUpdateEvent) String() string
- type LocationUpdateEvent_Fqdn
- func (*LocationUpdateEvent_Fqdn) Descriptor() ([]byte, []int)deprecated
- func (x *LocationUpdateEvent_Fqdn) GetValue() string
- func (*LocationUpdateEvent_Fqdn) ProtoMessage()
- func (x *LocationUpdateEvent_Fqdn) ProtoReflect() protoreflect.Message
- func (x *LocationUpdateEvent_Fqdn) Reset()
- func (x *LocationUpdateEvent_Fqdn) String() string
- type LocationUpdateEvent_GlobalTitle
- func (*LocationUpdateEvent_GlobalTitle) Descriptor() ([]byte, []int)deprecated
- func (x *LocationUpdateEvent_GlobalTitle) GetValue() string
- func (*LocationUpdateEvent_GlobalTitle) ProtoMessage()
- func (x *LocationUpdateEvent_GlobalTitle) ProtoReflect() protoreflect.Message
- func (x *LocationUpdateEvent_GlobalTitle) Reset()
- func (x *LocationUpdateEvent_GlobalTitle) String() string
- type LocationUpdateEvent_Locations
- func (*LocationUpdateEvent_Locations) Descriptor() ([]byte, []int)deprecated
- func (x *LocationUpdateEvent_Locations) GetMme() *LocationUpdateEvent_Fqdn
- func (x *LocationUpdateEvent_Locations) GetMsc() *LocationUpdateEvent_GlobalTitle
- func (x *LocationUpdateEvent_Locations) GetSgsn() *LocationUpdateEvent_GlobalTitle
- func (x *LocationUpdateEvent_Locations) GetVlr() *LocationUpdateEvent_GlobalTitle
- func (*LocationUpdateEvent_Locations) ProtoMessage()
- func (x *LocationUpdateEvent_Locations) ProtoReflect() protoreflect.Message
- func (x *LocationUpdateEvent_Locations) Reset()
- func (x *LocationUpdateEvent_Locations) String() string
- type ManualAckConfig
- func (*ManualAckConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ManualAckConfig) GetEnable() bool
- func (x *ManualAckConfig) GetTimeout() *durationpb.Duration
- func (*ManualAckConfig) ProtoMessage()
- func (x *ManualAckConfig) ProtoReflect() protoreflect.Message
- func (x *ManualAckConfig) Reset()
- func (x *ManualAckConfig) String() string
- type Owner
- type PeriodicCountryEvent
- func (*PeriodicCountryEvent) Descriptor() ([]byte, []int)deprecated
- func (x *PeriodicCountryEvent) GetCountry() *CountryChangeEvent_Country
- func (x *PeriodicCountryEvent) GetImsi() *Imsi
- func (x *PeriodicCountryEvent) GetNumber() *v0.PhoneNumber
- func (*PeriodicCountryEvent) ProtoMessage()
- func (x *PeriodicCountryEvent) ProtoReflect() protoreflect.Message
- func (x *PeriodicCountryEvent) Reset()
- func (x *PeriodicCountryEvent) String() string
- type SmsDeliveryReportEvent
- func (*SmsDeliveryReportEvent) Descriptor() ([]byte, []int)deprecated
- func (x *SmsDeliveryReportEvent) GetDirection() SmsDeliveryReportEvent_Direction
- func (m *SmsDeliveryReportEvent) GetFromAddress() isSmsDeliveryReportEvent_FromAddress
- func (x *SmsDeliveryReportEvent) GetFromE164() *v0.PhoneNumber
- func (x *SmsDeliveryReportEvent) GetFromNationalPhoneNumber() *v0.NationalPhoneNumber
- func (x *SmsDeliveryReportEvent) GetFromTextAddress() *v0.TextAddress
- func (x *SmsDeliveryReportEvent) GetId() string
- func (x *SmsDeliveryReportEvent) GetSmsId() string
- func (x *SmsDeliveryReportEvent) GetStatus() SmsDeliveryReportEvent_Status
- func (m *SmsDeliveryReportEvent) GetToAddress() isSmsDeliveryReportEvent_ToAddress
- func (x *SmsDeliveryReportEvent) GetToE164() *v0.PhoneNumber
- func (x *SmsDeliveryReportEvent) GetToNationalPhoneNumber() *v0.NationalPhoneNumber
- func (x *SmsDeliveryReportEvent) GetToTextAddress() *v0.TextAddress
- func (*SmsDeliveryReportEvent) ProtoMessage()
- func (x *SmsDeliveryReportEvent) ProtoReflect() protoreflect.Message
- func (x *SmsDeliveryReportEvent) Reset()
- func (x *SmsDeliveryReportEvent) String() string
- type SmsDeliveryReportEvent_Direction
- func (SmsDeliveryReportEvent_Direction) Descriptor() protoreflect.EnumDescriptor
- func (x SmsDeliveryReportEvent_Direction) Enum() *SmsDeliveryReportEvent_Direction
- func (SmsDeliveryReportEvent_Direction) EnumDescriptor() ([]byte, []int)deprecated
- func (x SmsDeliveryReportEvent_Direction) Number() protoreflect.EnumNumber
- func (x SmsDeliveryReportEvent_Direction) String() string
- func (SmsDeliveryReportEvent_Direction) Type() protoreflect.EnumType
- type SmsDeliveryReportEvent_FromE164
- type SmsDeliveryReportEvent_FromNationalPhoneNumber
- type SmsDeliveryReportEvent_FromTextAddress
- type SmsDeliveryReportEvent_Status
- func (SmsDeliveryReportEvent_Status) Descriptor() protoreflect.EnumDescriptor
- func (x SmsDeliveryReportEvent_Status) Enum() *SmsDeliveryReportEvent_Status
- func (SmsDeliveryReportEvent_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x SmsDeliveryReportEvent_Status) Number() protoreflect.EnumNumber
- func (x SmsDeliveryReportEvent_Status) String() string
- func (SmsDeliveryReportEvent_Status) Type() protoreflect.EnumType
- type SmsDeliveryReportEvent_ToE164
- type SmsDeliveryReportEvent_ToNationalPhoneNumber
- type SmsDeliveryReportEvent_ToTextAddress
- type SmsEvent
- func (*SmsEvent) Descriptor() ([]byte, []int)deprecated
- func (x *SmsEvent) GetBytes() []byte
- func (m *SmsEvent) GetContent() isSmsEvent_Content
- func (x *SmsEvent) GetDirection() SmsEvent_Direction
- func (m *SmsEvent) GetFromAddress() isSmsEvent_FromAddress
- func (x *SmsEvent) GetFromE164() *v0.PhoneNumber
- func (x *SmsEvent) GetFromNationalPhoneNumber() *v0.NationalPhoneNumber
- func (x *SmsEvent) GetFromTextAddress() *v0.TextAddress
- func (x *SmsEvent) GetId() string
- func (x *SmsEvent) GetText() string
- func (m *SmsEvent) GetToAddress() isSmsEvent_ToAddress
- func (x *SmsEvent) GetToE164() *v0.PhoneNumber
- func (x *SmsEvent) GetToNationalPhoneNumber() *v0.NationalPhoneNumber
- func (x *SmsEvent) GetToTextAddress() *v0.TextAddress
- func (x *SmsEvent) GetUuid() string
- func (*SmsEvent) ProtoMessage()
- func (x *SmsEvent) ProtoReflect() protoreflect.Message
- func (x *SmsEvent) Reset()
- func (x *SmsEvent) String() string
- type SmsEvent_Bytes
- type SmsEvent_Direction
- func (SmsEvent_Direction) Descriptor() protoreflect.EnumDescriptor
- func (x SmsEvent_Direction) Enum() *SmsEvent_Direction
- func (SmsEvent_Direction) EnumDescriptor() ([]byte, []int)deprecated
- func (x SmsEvent_Direction) Number() protoreflect.EnumNumber
- func (x SmsEvent_Direction) String() string
- func (SmsEvent_Direction) Type() protoreflect.EnumType
- type SmsEvent_FromE164
- type SmsEvent_FromNationalPhoneNumber
- type SmsEvent_FromTextAddress
- type SmsEvent_Text
- type SmsEvent_ToE164
- type SmsEvent_ToNationalPhoneNumber
- type SmsEvent_ToTextAddress
- 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() *emptypb.Empty
- func (x *SubscribeEventsRequest) GetStartAtSequence() uint64
- func (x *SubscribeEventsRequest) GetStartAtTimeDelta() *durationpb.Duration
- func (x *SubscribeEventsRequest) GetStartAtTimestamp() *timestamppb.Timestamp
- func (m *SubscribeEventsRequest) GetStartPosition() isSubscribeEventsRequest_StartPosition
- func (x *SubscribeEventsRequest) GetStartWithLastReceived() *emptypb.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 TokenAuditEvent
- func (*TokenAuditEvent) Descriptor() ([]byte, []int)deprecated
- func (x *TokenAuditEvent) GetOperation() TokenAuditEvent_Operation
- func (x *TokenAuditEvent) GetOperatorToken() *TokenAuditEvent_OperatorTokenChanged
- func (m *TokenAuditEvent) GetTokenChanged() isTokenAuditEvent_TokenChanged
- func (*TokenAuditEvent) ProtoMessage()
- func (x *TokenAuditEvent) ProtoReflect() protoreflect.Message
- func (x *TokenAuditEvent) Reset()
- func (x *TokenAuditEvent) String() string
- type TokenAuditEvent_Operation
- func (TokenAuditEvent_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x TokenAuditEvent_Operation) Enum() *TokenAuditEvent_Operation
- func (TokenAuditEvent_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x TokenAuditEvent_Operation) Number() protoreflect.EnumNumber
- func (x TokenAuditEvent_Operation) String() string
- func (TokenAuditEvent_Operation) Type() protoreflect.EnumType
- type TokenAuditEvent_OperatorToken
- type TokenAuditEvent_OperatorTokenChanged
- func (*TokenAuditEvent_OperatorTokenChanged) Descriptor() ([]byte, []int)deprecated
- func (x *TokenAuditEvent_OperatorTokenChanged) GetNew() *TokenAuditEvent_OperatorTokenMetadata
- func (x *TokenAuditEvent_OperatorTokenChanged) GetOld() *TokenAuditEvent_OperatorTokenMetadata
- func (*TokenAuditEvent_OperatorTokenChanged) ProtoMessage()
- func (x *TokenAuditEvent_OperatorTokenChanged) ProtoReflect() protoreflect.Message
- func (x *TokenAuditEvent_OperatorTokenChanged) Reset()
- func (x *TokenAuditEvent_OperatorTokenChanged) String() string
- type TokenAuditEvent_OperatorTokenMetadata
- func (*TokenAuditEvent_OperatorTokenMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *TokenAuditEvent_OperatorTokenMetadata) GetClientId() string
- func (x *TokenAuditEvent_OperatorTokenMetadata) GetName() string
- func (x *TokenAuditEvent_OperatorTokenMetadata) GetRights() []string
- func (*TokenAuditEvent_OperatorTokenMetadata) ProtoMessage()
- func (x *TokenAuditEvent_OperatorTokenMetadata) ProtoReflect() protoreflect.Message
- func (x *TokenAuditEvent_OperatorTokenMetadata) Reset()
- func (x *TokenAuditEvent_OperatorTokenMetadata) String() string
- 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() *v0.PhoneNumber
- func (x *VoiceEvent) GetToNumber() *v0.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() *v0.PhoneNumber
- func (x *VoicemailEvent) GetToNumber() *v0.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 ¶
const ( EventsService_Subscribe_FullMethodName = "/wgtwo.events.v0.EventsService/Subscribe" EventsService_Ack_FullMethodName = "/wgtwo.events.v0.EventsService/Ack" )
Variables ¶
var ( EventType_name = map[int32]string{ 0: "UNSPECIFIED", 1: "VOICE_EVENT", 2: "VOICEMAIL_EVENT", 3: "LOCATION_UPDATE_EVENT", 4: "COUNTRY_CHANGE_EVENT", 5: "TOKEN_AUDIT_EVENT", 6: "SMS_EVENT", 7: "SMS_DELIVERY_REPORT_EVENT", 8: "CONSENT_REVOKE_EVENT", 9: "HANDSET_UPDATE_EVENT", 10: "FIRST_ATTACHMENT_EVENT", 11: "PERIODIC_COUNTRY_EVENT", } EventType_value = map[string]int32{ "UNSPECIFIED": 0, "VOICE_EVENT": 1, "VOICEMAIL_EVENT": 2, "LOCATION_UPDATE_EVENT": 3, "COUNTRY_CHANGE_EVENT": 4, "TOKEN_AUDIT_EVENT": 5, "SMS_EVENT": 6, "SMS_DELIVERY_REPORT_EVENT": 7, "CONSENT_REVOKE_EVENT": 8, "HANDSET_UPDATE_EVENT": 9, "FIRST_ATTACHMENT_EVENT": 10, "PERIODIC_COUNTRY_EVENT": 11, } )
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 ( TokenAuditEvent_Operation_name = map[int32]string{ 0: "UNDEFINED", 1: "CREATED", 2: "MODIFIED", 3: "DELETED", } TokenAuditEvent_Operation_value = map[string]int32{ "UNDEFINED": 0, "CREATED": 1, "MODIFIED": 2, "DELETED": 3, } )
Enum value maps for TokenAuditEvent_Operation.
var ( SmsEvent_Direction_name = map[int32]string{ 0: "UNKNOWN", 1: "FROM_SUBSCRIBER", 2: "TO_SUBSCRIBER", } SmsEvent_Direction_value = map[string]int32{ "UNKNOWN": 0, "FROM_SUBSCRIBER": 1, "TO_SUBSCRIBER": 2, } )
Enum value maps for SmsEvent_Direction.
var ( SmsDeliveryReportEvent_Direction_name = map[int32]string{ 0: "DIRECTION_UNKNOWN", 1: "FROM_SUBSCRIBER", 2: "TO_SUBSCRIBER", } SmsDeliveryReportEvent_Direction_value = map[string]int32{ "DIRECTION_UNKNOWN": 0, "FROM_SUBSCRIBER": 1, "TO_SUBSCRIBER": 2, } )
Enum value maps for SmsDeliveryReportEvent_Direction.
var ( SmsDeliveryReportEvent_Status_name = map[int32]string{ 0: "STATUS_UNKNOWN", 1: "DELIVERED", 2: "TEMPORARY_FAILURE", 3: "FINAL_FAILURE", 4: "EXPIRED", } SmsDeliveryReportEvent_Status_value = map[string]int32{ "STATUS_UNKNOWN": 0, "DELIVERED": 1, "TEMPORARY_FAILURE": 2, "FINAL_FAILURE": 3, "EXPIRED": 4, } )
Enum value maps for SmsDeliveryReportEvent_Status.
var EventsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "wgtwo.events.v0.EventsService", HandlerType: (*EventsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Ack", Handler: _EventsService_Ack_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Subscribe", Handler: _EventsService_Subscribe_Handler, ServerStreams: true, }, }, Metadata: "wgtwo/events/v0/events.proto", }
EventsService_ServiceDesc is the grpc.ServiceDesc for EventsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_wgtwo_events_v0_events_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 ConsentRevokeEvent ¶
type ConsentRevokeEvent struct { Msisdn *v0.PhoneNumber `protobuf:"bytes,1,opt,name=msisdn,proto3" json:"msisdn,omitempty"` // contains filtered or unexported fields }
func (*ConsentRevokeEvent) Descriptor
deprecated
func (*ConsentRevokeEvent) Descriptor() ([]byte, []int)
Deprecated: Use ConsentRevokeEvent.ProtoReflect.Descriptor instead.
func (*ConsentRevokeEvent) GetMsisdn ¶
func (x *ConsentRevokeEvent) GetMsisdn() *v0.PhoneNumber
func (*ConsentRevokeEvent) ProtoMessage ¶
func (*ConsentRevokeEvent) ProtoMessage()
func (*ConsentRevokeEvent) ProtoReflect ¶
func (x *ConsentRevokeEvent) ProtoReflect() protoreflect.Message
func (*ConsentRevokeEvent) Reset ¶
func (x *ConsentRevokeEvent) Reset()
func (*ConsentRevokeEvent) String ¶
func (x *ConsentRevokeEvent) String() string
type CountryChangeEvent ¶ added in v0.1.1
type CountryChangeEvent struct { Msisdn *v0.PhoneNumber `protobuf:"bytes,2,opt,name=msisdn,proto3" json:"msisdn,omitempty"` Previous *CountryChangeEvent_Country `protobuf:"bytes,3,opt,name=previous,proto3" json:"previous,omitempty"` Current *CountryChangeEvent_Country `protobuf:"bytes,4,opt,name=current,proto3" json:"current,omitempty"` // contains filtered or unexported fields }
func (*CountryChangeEvent) Descriptor
deprecated
added in
v0.1.1
func (*CountryChangeEvent) Descriptor() ([]byte, []int)
Deprecated: Use CountryChangeEvent.ProtoReflect.Descriptor instead.
func (*CountryChangeEvent) GetCurrent ¶ added in v0.1.1
func (x *CountryChangeEvent) GetCurrent() *CountryChangeEvent_Country
func (*CountryChangeEvent) GetMsisdn ¶ added in v0.1.1
func (x *CountryChangeEvent) GetMsisdn() *v0.PhoneNumber
func (*CountryChangeEvent) GetPrevious ¶ added in v0.1.1
func (x *CountryChangeEvent) GetPrevious() *CountryChangeEvent_Country
func (*CountryChangeEvent) ProtoMessage ¶ added in v0.1.1
func (*CountryChangeEvent) ProtoMessage()
func (*CountryChangeEvent) ProtoReflect ¶ added in v0.1.1
func (x *CountryChangeEvent) ProtoReflect() protoreflect.Message
func (*CountryChangeEvent) Reset ¶ added in v0.1.1
func (x *CountryChangeEvent) Reset()
func (*CountryChangeEvent) String ¶ added in v0.1.1
func (x *CountryChangeEvent) String() string
type CountryChangeEvent_Country ¶ added in v0.1.1
type CountryChangeEvent_Country struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CountryChangeEvent_Country) Descriptor
deprecated
added in
v0.1.1
func (*CountryChangeEvent_Country) Descriptor() ([]byte, []int)
Deprecated: Use CountryChangeEvent_Country.ProtoReflect.Descriptor instead.
func (*CountryChangeEvent_Country) GetCode ¶ added in v0.1.1
func (x *CountryChangeEvent_Country) GetCode() string
func (*CountryChangeEvent_Country) GetName ¶ added in v0.1.1
func (x *CountryChangeEvent_Country) GetName() string
func (*CountryChangeEvent_Country) ProtoMessage ¶ added in v0.1.1
func (*CountryChangeEvent_Country) ProtoMessage()
func (*CountryChangeEvent_Country) ProtoReflect ¶ added in v0.1.1
func (x *CountryChangeEvent_Country) ProtoReflect() protoreflect.Message
func (*CountryChangeEvent_Country) Reset ¶ added in v0.1.1
func (x *CountryChangeEvent_Country) Reset()
func (*CountryChangeEvent_Country) String ¶ added in v0.1.1
func (x *CountryChangeEvent_Country) String() string
type Event ¶
type Event struct { Metadata *EventMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Timestamp *timestamppb.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_CountryChangeEvent // *Event_TokenAuditEvent // *Event_SmsEvent // *Event_SmsDeliveryReportEvent // *Event_ConsentRevokeEvent // *Event_HandsetUpdateEvent // *Event_FirstAttachmentEvent // *Event_PeriodicCountryEvent Event isEvent_Event `protobuf_oneof:"event"` Owner *Owner `protobuf:"bytes,12,opt,name=owner,proto3" json:"owner,omitempty"` // contains filtered or unexported fields }
func (*Event) Descriptor
deprecated
func (*Event) GetConsentRevokeEvent ¶
func (x *Event) GetConsentRevokeEvent() *ConsentRevokeEvent
func (*Event) GetCountryChangeEvent ¶ added in v0.1.1
func (x *Event) GetCountryChangeEvent() *CountryChangeEvent
func (*Event) GetFirstAttachmentEvent ¶ added in v0.1.1
func (x *Event) GetFirstAttachmentEvent() *FirstAttachmentEvent
func (*Event) GetHandsetUpdateEvent ¶
func (x *Event) GetHandsetUpdateEvent() *HandsetUpdateEvent
func (*Event) GetLocationUpdateEvent ¶
func (x *Event) GetLocationUpdateEvent() *LocationUpdateEvent
func (*Event) GetMetadata ¶
func (x *Event) GetMetadata() *EventMetadata
func (*Event) GetPeriodicCountryEvent ¶ added in v0.1.1
func (x *Event) GetPeriodicCountryEvent() *PeriodicCountryEvent
func (*Event) GetServiceId ¶
func (*Event) GetSmsDeliveryReportEvent ¶
func (x *Event) GetSmsDeliveryReportEvent() *SmsDeliveryReportEvent
func (*Event) GetSmsEvent ¶
func (*Event) GetTimestamp ¶
func (x *Event) GetTimestamp() *timestamppb.Timestamp
func (*Event) GetTokenAuditEvent ¶
func (x *Event) GetTokenAuditEvent() *TokenAuditEvent
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
const ( EventType_UNSPECIFIED EventType = 0 EventType_VOICE_EVENT EventType = 1 EventType_VOICEMAIL_EVENT EventType = 2 EventType_LOCATION_UPDATE_EVENT EventType = 3 EventType_COUNTRY_CHANGE_EVENT EventType = 4 EventType_TOKEN_AUDIT_EVENT EventType = 5 EventType_SMS_EVENT EventType = 6 EventType_SMS_DELIVERY_REPORT_EVENT EventType = 7 EventType_CONSENT_REVOKE_EVENT EventType = 8 EventType_HANDSET_UPDATE_EVENT EventType = 9 EventType_FIRST_ATTACHMENT_EVENT EventType = 10 EventType_PERIODIC_COUNTRY_EVENT EventType = 11 )
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_ConsentRevokeEvent ¶
type Event_ConsentRevokeEvent struct {
ConsentRevokeEvent *ConsentRevokeEvent `protobuf:"bytes,11,opt,name=consent_revoke_event,json=consentRevokeEvent,proto3,oneof"`
}
type Event_CountryChangeEvent ¶ added in v0.1.1
type Event_CountryChangeEvent struct {
CountryChangeEvent *CountryChangeEvent `protobuf:"bytes,7,opt,name=country_change_event,json=countryChangeEvent,proto3,oneof"`
}
type Event_FirstAttachmentEvent ¶ added in v0.1.1
type Event_FirstAttachmentEvent struct {
FirstAttachmentEvent *FirstAttachmentEvent `protobuf:"bytes,14,opt,name=first_attachment_event,json=firstAttachmentEvent,proto3,oneof"`
}
type Event_HandsetUpdateEvent ¶
type Event_HandsetUpdateEvent struct {
HandsetUpdateEvent *HandsetUpdateEvent `protobuf:"bytes,13,opt,name=handset_update_event,json=handsetUpdateEvent,proto3,oneof"`
}
type Event_LocationUpdateEvent ¶
type Event_LocationUpdateEvent struct {
LocationUpdateEvent *LocationUpdateEvent `protobuf:"bytes,6,opt,name=location_update_event,json=locationUpdateEvent,proto3,oneof"`
}
type Event_PeriodicCountryEvent ¶ added in v0.1.1
type Event_PeriodicCountryEvent struct {
PeriodicCountryEvent *PeriodicCountryEvent `protobuf:"bytes,15,opt,name=periodic_country_event,json=periodicCountryEvent,proto3,oneof"`
}
type Event_SmsDeliveryReportEvent ¶
type Event_SmsDeliveryReportEvent struct {
SmsDeliveryReportEvent *SmsDeliveryReportEvent `protobuf:"bytes,10,opt,name=sms_delivery_report_event,json=smsDeliveryReportEvent,proto3,oneof"`
}
type Event_SmsEvent ¶
type Event_SmsEvent struct {
SmsEvent *SmsEvent `protobuf:"bytes,9,opt,name=sms_event,json=smsEvent,proto3,oneof"`
}
type Event_TokenAuditEvent ¶
type Event_TokenAuditEvent struct {
TokenAuditEvent *TokenAuditEvent `protobuf:"bytes,8,opt,name=token_audit_event,json=tokenAuditEvent,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) (grpc.ServerStreamingClient[SubscribeEventsResponse], 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, grpc.ServerStreamingServer[SubscribeEventsResponse]) error Ack(context.Context, *AckRequest) (*AckResponse, error) }
EventsServiceServer is the server API for EventsService service. All implementations should embed UnimplementedEventsServiceServer for forward compatibility.
type EventsService_SubscribeClient ¶
type EventsService_SubscribeClient = grpc.ServerStreamingClient[SubscribeEventsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type EventsService_SubscribeServer ¶
type EventsService_SubscribeServer = grpc.ServerStreamingServer[SubscribeEventsResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type FirstAttachmentEvent ¶ added in v0.1.1
type FirstAttachmentEvent struct { Number *v0.PhoneNumber `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"` Imsi *Imsi `protobuf:"bytes,2,opt,name=imsi,proto3" json:"imsi,omitempty"` // contains filtered or unexported fields }
func (*FirstAttachmentEvent) Descriptor
deprecated
added in
v0.1.1
func (*FirstAttachmentEvent) Descriptor() ([]byte, []int)
Deprecated: Use FirstAttachmentEvent.ProtoReflect.Descriptor instead.
func (*FirstAttachmentEvent) GetImsi ¶ added in v0.1.1
func (x *FirstAttachmentEvent) GetImsi() *Imsi
func (*FirstAttachmentEvent) GetNumber ¶ added in v0.1.1
func (x *FirstAttachmentEvent) GetNumber() *v0.PhoneNumber
func (*FirstAttachmentEvent) ProtoMessage ¶ added in v0.1.1
func (*FirstAttachmentEvent) ProtoMessage()
func (*FirstAttachmentEvent) ProtoReflect ¶ added in v0.1.1
func (x *FirstAttachmentEvent) ProtoReflect() protoreflect.Message
func (*FirstAttachmentEvent) Reset ¶ added in v0.1.1
func (x *FirstAttachmentEvent) Reset()
func (*FirstAttachmentEvent) String ¶ added in v0.1.1
func (x *FirstAttachmentEvent) String() string
type Handset ¶
type Handset struct { ImeiSv *ImeiSv `protobuf:"bytes,1,opt,name=imei_sv,json=imeiSv,proto3" json:"imei_sv,omitempty"` // contains filtered or unexported fields }
func (*Handset) Descriptor
deprecated
func (*Handset) ProtoMessage ¶
func (*Handset) ProtoMessage()
func (*Handset) ProtoReflect ¶
func (x *Handset) ProtoReflect() protoreflect.Message
type HandsetUpdateEvent ¶
type HandsetUpdateEvent struct { Previous *Handset `protobuf:"bytes,1,opt,name=previous,proto3" json:"previous,omitempty"` Current *Handset `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` Imsi *Imsi `protobuf:"bytes,3,opt,name=imsi,proto3" json:"imsi,omitempty"` Number *v0.PhoneNumber `protobuf:"bytes,4,opt,name=number,proto3" json:"number,omitempty"` // contains filtered or unexported fields }
func (*HandsetUpdateEvent) Descriptor
deprecated
func (*HandsetUpdateEvent) Descriptor() ([]byte, []int)
Deprecated: Use HandsetUpdateEvent.ProtoReflect.Descriptor instead.
func (*HandsetUpdateEvent) GetCurrent ¶
func (x *HandsetUpdateEvent) GetCurrent() *Handset
func (*HandsetUpdateEvent) GetImsi ¶
func (x *HandsetUpdateEvent) GetImsi() *Imsi
func (*HandsetUpdateEvent) GetNumber ¶ added in v0.1.1
func (x *HandsetUpdateEvent) GetNumber() *v0.PhoneNumber
func (*HandsetUpdateEvent) GetPrevious ¶
func (x *HandsetUpdateEvent) GetPrevious() *Handset
func (*HandsetUpdateEvent) ProtoMessage ¶
func (*HandsetUpdateEvent) ProtoMessage()
func (*HandsetUpdateEvent) ProtoReflect ¶
func (x *HandsetUpdateEvent) ProtoReflect() protoreflect.Message
func (*HandsetUpdateEvent) Reset ¶
func (x *HandsetUpdateEvent) Reset()
func (*HandsetUpdateEvent) String ¶
func (x *HandsetUpdateEvent) String() string
type ImeiSv ¶
type ImeiSv struct { Imei string `protobuf:"bytes,1,opt,name=imei,proto3" json:"imei,omitempty"` SoftwareVersion string `protobuf:"bytes,2,opt,name=software_version,json=softwareVersion,proto3" json:"software_version,omitempty"` // contains filtered or unexported fields }
func (*ImeiSv) Descriptor
deprecated
func (*ImeiSv) GetSoftwareVersion ¶
func (*ImeiSv) ProtoMessage ¶
func (*ImeiSv) ProtoMessage()
func (*ImeiSv) ProtoReflect ¶
func (x *ImeiSv) ProtoReflect() protoreflect.Message
type Imsi ¶
type Imsi struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Imsi) Descriptor
deprecated
func (*Imsi) ProtoMessage ¶
func (*Imsi) ProtoMessage()
func (*Imsi) ProtoReflect ¶
func (x *Imsi) ProtoReflect() protoreflect.Message
type LocationUpdateEvent ¶
type LocationUpdateEvent struct { Number *v0.PhoneNumber `protobuf:"bytes,2,opt,name=number,proto3" json:"number,omitempty"` Previous *LocationUpdateEvent_Locations `protobuf:"bytes,3,opt,name=previous,proto3" json:"previous,omitempty"` Current *LocationUpdateEvent_Locations `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_Locations
func (*LocationUpdateEvent) GetNumber ¶
func (x *LocationUpdateEvent) GetNumber() *v0.PhoneNumber
func (*LocationUpdateEvent) GetPrevious ¶
func (x *LocationUpdateEvent) GetPrevious() *LocationUpdateEvent_Locations
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_Fqdn ¶
type LocationUpdateEvent_Fqdn struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Fully Qualified Domain Name The format commonly used for representing an MME address
func (*LocationUpdateEvent_Fqdn) Descriptor
deprecated
func (*LocationUpdateEvent_Fqdn) Descriptor() ([]byte, []int)
Deprecated: Use LocationUpdateEvent_Fqdn.ProtoReflect.Descriptor instead.
func (*LocationUpdateEvent_Fqdn) GetValue ¶
func (x *LocationUpdateEvent_Fqdn) GetValue() string
func (*LocationUpdateEvent_Fqdn) ProtoMessage ¶
func (*LocationUpdateEvent_Fqdn) ProtoMessage()
func (*LocationUpdateEvent_Fqdn) ProtoReflect ¶
func (x *LocationUpdateEvent_Fqdn) ProtoReflect() protoreflect.Message
func (*LocationUpdateEvent_Fqdn) Reset ¶
func (x *LocationUpdateEvent_Fqdn) Reset()
func (*LocationUpdateEvent_Fqdn) String ¶
func (x *LocationUpdateEvent_Fqdn) String() string
type LocationUpdateEvent_GlobalTitle ¶
type LocationUpdateEvent_GlobalTitle struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
(see section 5 in Numbering, Addressing and Identification) A GT is a phone number formatted according to E.164 that is used to identify MSCs, VLRs, HLRs, SGSNs and other nodes for routing purposes.
func (*LocationUpdateEvent_GlobalTitle) Descriptor
deprecated
func (*LocationUpdateEvent_GlobalTitle) Descriptor() ([]byte, []int)
Deprecated: Use LocationUpdateEvent_GlobalTitle.ProtoReflect.Descriptor instead.
func (*LocationUpdateEvent_GlobalTitle) GetValue ¶
func (x *LocationUpdateEvent_GlobalTitle) GetValue() string
func (*LocationUpdateEvent_GlobalTitle) ProtoMessage ¶
func (*LocationUpdateEvent_GlobalTitle) ProtoMessage()
func (*LocationUpdateEvent_GlobalTitle) ProtoReflect ¶
func (x *LocationUpdateEvent_GlobalTitle) ProtoReflect() protoreflect.Message
func (*LocationUpdateEvent_GlobalTitle) Reset ¶
func (x *LocationUpdateEvent_GlobalTitle) Reset()
func (*LocationUpdateEvent_GlobalTitle) String ¶
func (x *LocationUpdateEvent_GlobalTitle) String() string
type LocationUpdateEvent_Locations ¶
type LocationUpdateEvent_Locations struct { Msc *LocationUpdateEvent_GlobalTitle `protobuf:"bytes,1,opt,name=msc,proto3" json:"msc,omitempty"` Vlr *LocationUpdateEvent_GlobalTitle `protobuf:"bytes,2,opt,name=vlr,proto3" json:"vlr,omitempty"` Sgsn *LocationUpdateEvent_GlobalTitle `protobuf:"bytes,3,opt,name=sgsn,proto3" json:"sgsn,omitempty"` Mme *LocationUpdateEvent_Fqdn `protobuf:"bytes,4,opt,name=mme,proto3" json:"mme,omitempty"` // contains filtered or unexported fields }
func (*LocationUpdateEvent_Locations) Descriptor
deprecated
func (*LocationUpdateEvent_Locations) Descriptor() ([]byte, []int)
Deprecated: Use LocationUpdateEvent_Locations.ProtoReflect.Descriptor instead.
func (*LocationUpdateEvent_Locations) GetMme ¶
func (x *LocationUpdateEvent_Locations) GetMme() *LocationUpdateEvent_Fqdn
func (*LocationUpdateEvent_Locations) GetMsc ¶
func (x *LocationUpdateEvent_Locations) GetMsc() *LocationUpdateEvent_GlobalTitle
func (*LocationUpdateEvent_Locations) GetSgsn ¶
func (x *LocationUpdateEvent_Locations) GetSgsn() *LocationUpdateEvent_GlobalTitle
func (*LocationUpdateEvent_Locations) GetVlr ¶
func (x *LocationUpdateEvent_Locations) GetVlr() *LocationUpdateEvent_GlobalTitle
func (*LocationUpdateEvent_Locations) ProtoMessage ¶
func (*LocationUpdateEvent_Locations) ProtoMessage()
func (*LocationUpdateEvent_Locations) ProtoReflect ¶
func (x *LocationUpdateEvent_Locations) ProtoReflect() protoreflect.Message
func (*LocationUpdateEvent_Locations) Reset ¶
func (x *LocationUpdateEvent_Locations) Reset()
func (*LocationUpdateEvent_Locations) String ¶
func (x *LocationUpdateEvent_Locations) String() string
type ManualAckConfig ¶
type ManualAckConfig struct { Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` Timeout *durationpb.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() *durationpb.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 Owner ¶
type Owner struct { PhoneNumber *v0.PhoneNumber `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` Sub string `protobuf:"bytes,2,opt,name=sub,proto3" json:"sub,omitempty"` // contains filtered or unexported fields }
func (*Owner) Descriptor
deprecated
func (*Owner) GetPhoneNumber ¶
func (x *Owner) GetPhoneNumber() *v0.PhoneNumber
func (*Owner) ProtoMessage ¶
func (*Owner) ProtoMessage()
func (*Owner) ProtoReflect ¶
func (x *Owner) ProtoReflect() protoreflect.Message
type PeriodicCountryEvent ¶ added in v0.1.1
type PeriodicCountryEvent struct { Number *v0.PhoneNumber `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"` Imsi *Imsi `protobuf:"bytes,2,opt,name=imsi,proto3" json:"imsi,omitempty"` Country *CountryChangeEvent_Country `protobuf:"bytes,3,opt,name=country,proto3" json:"country,omitempty"` // contains filtered or unexported fields }
func (*PeriodicCountryEvent) Descriptor
deprecated
added in
v0.1.1
func (*PeriodicCountryEvent) Descriptor() ([]byte, []int)
Deprecated: Use PeriodicCountryEvent.ProtoReflect.Descriptor instead.
func (*PeriodicCountryEvent) GetCountry ¶ added in v0.1.1
func (x *PeriodicCountryEvent) GetCountry() *CountryChangeEvent_Country
func (*PeriodicCountryEvent) GetImsi ¶ added in v0.1.1
func (x *PeriodicCountryEvent) GetImsi() *Imsi
func (*PeriodicCountryEvent) GetNumber ¶ added in v0.1.1
func (x *PeriodicCountryEvent) GetNumber() *v0.PhoneNumber
func (*PeriodicCountryEvent) ProtoMessage ¶ added in v0.1.1
func (*PeriodicCountryEvent) ProtoMessage()
func (*PeriodicCountryEvent) ProtoReflect ¶ added in v0.1.1
func (x *PeriodicCountryEvent) ProtoReflect() protoreflect.Message
func (*PeriodicCountryEvent) Reset ¶ added in v0.1.1
func (x *PeriodicCountryEvent) Reset()
func (*PeriodicCountryEvent) String ¶ added in v0.1.1
func (x *PeriodicCountryEvent) String() string
type SmsDeliveryReportEvent ¶
type SmsDeliveryReportEvent struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Types that are assignable to FromAddress: // // *SmsDeliveryReportEvent_FromE164 // *SmsDeliveryReportEvent_FromNationalPhoneNumber // *SmsDeliveryReportEvent_FromTextAddress FromAddress isSmsDeliveryReportEvent_FromAddress `protobuf_oneof:"from_address"` // Types that are assignable to ToAddress: // // *SmsDeliveryReportEvent_ToE164 // *SmsDeliveryReportEvent_ToNationalPhoneNumber // *SmsDeliveryReportEvent_ToTextAddress ToAddress isSmsDeliveryReportEvent_ToAddress `protobuf_oneof:"to_address"` Direction SmsDeliveryReportEvent_Direction `` /* 126-byte string literal not displayed */ SmsId string `protobuf:"bytes,9,opt,name=sms_id,json=smsId,proto3" json:"sms_id,omitempty"` Status SmsDeliveryReportEvent_Status `protobuf:"varint,10,opt,name=status,proto3,enum=wgtwo.events.v0.SmsDeliveryReportEvent_Status" json:"status,omitempty"` // contains filtered or unexported fields }
func (*SmsDeliveryReportEvent) Descriptor
deprecated
func (*SmsDeliveryReportEvent) Descriptor() ([]byte, []int)
Deprecated: Use SmsDeliveryReportEvent.ProtoReflect.Descriptor instead.
func (*SmsDeliveryReportEvent) GetDirection ¶
func (x *SmsDeliveryReportEvent) GetDirection() SmsDeliveryReportEvent_Direction
func (*SmsDeliveryReportEvent) GetFromAddress ¶
func (m *SmsDeliveryReportEvent) GetFromAddress() isSmsDeliveryReportEvent_FromAddress
func (*SmsDeliveryReportEvent) GetFromE164 ¶
func (x *SmsDeliveryReportEvent) GetFromE164() *v0.PhoneNumber
func (*SmsDeliveryReportEvent) GetFromNationalPhoneNumber ¶
func (x *SmsDeliveryReportEvent) GetFromNationalPhoneNumber() *v0.NationalPhoneNumber
func (*SmsDeliveryReportEvent) GetFromTextAddress ¶
func (x *SmsDeliveryReportEvent) GetFromTextAddress() *v0.TextAddress
func (*SmsDeliveryReportEvent) GetId ¶
func (x *SmsDeliveryReportEvent) GetId() string
func (*SmsDeliveryReportEvent) GetSmsId ¶
func (x *SmsDeliveryReportEvent) GetSmsId() string
func (*SmsDeliveryReportEvent) GetStatus ¶
func (x *SmsDeliveryReportEvent) GetStatus() SmsDeliveryReportEvent_Status
func (*SmsDeliveryReportEvent) GetToAddress ¶
func (m *SmsDeliveryReportEvent) GetToAddress() isSmsDeliveryReportEvent_ToAddress
func (*SmsDeliveryReportEvent) GetToE164 ¶
func (x *SmsDeliveryReportEvent) GetToE164() *v0.PhoneNumber
func (*SmsDeliveryReportEvent) GetToNationalPhoneNumber ¶
func (x *SmsDeliveryReportEvent) GetToNationalPhoneNumber() *v0.NationalPhoneNumber
func (*SmsDeliveryReportEvent) GetToTextAddress ¶
func (x *SmsDeliveryReportEvent) GetToTextAddress() *v0.TextAddress
func (*SmsDeliveryReportEvent) ProtoMessage ¶
func (*SmsDeliveryReportEvent) ProtoMessage()
func (*SmsDeliveryReportEvent) ProtoReflect ¶
func (x *SmsDeliveryReportEvent) ProtoReflect() protoreflect.Message
func (*SmsDeliveryReportEvent) Reset ¶
func (x *SmsDeliveryReportEvent) Reset()
func (*SmsDeliveryReportEvent) String ¶
func (x *SmsDeliveryReportEvent) String() string
type SmsDeliveryReportEvent_Direction ¶
type SmsDeliveryReportEvent_Direction int32
const ( SmsDeliveryReportEvent_DIRECTION_UNKNOWN SmsDeliveryReportEvent_Direction = 0 SmsDeliveryReportEvent_FROM_SUBSCRIBER SmsDeliveryReportEvent_Direction = 1 SmsDeliveryReportEvent_TO_SUBSCRIBER SmsDeliveryReportEvent_Direction = 2 )
func (SmsDeliveryReportEvent_Direction) Descriptor ¶
func (SmsDeliveryReportEvent_Direction) Descriptor() protoreflect.EnumDescriptor
func (SmsDeliveryReportEvent_Direction) Enum ¶
func (x SmsDeliveryReportEvent_Direction) Enum() *SmsDeliveryReportEvent_Direction
func (SmsDeliveryReportEvent_Direction) EnumDescriptor
deprecated
func (SmsDeliveryReportEvent_Direction) EnumDescriptor() ([]byte, []int)
Deprecated: Use SmsDeliveryReportEvent_Direction.Descriptor instead.
func (SmsDeliveryReportEvent_Direction) Number ¶
func (x SmsDeliveryReportEvent_Direction) Number() protoreflect.EnumNumber
func (SmsDeliveryReportEvent_Direction) String ¶
func (x SmsDeliveryReportEvent_Direction) String() string
func (SmsDeliveryReportEvent_Direction) Type ¶
func (SmsDeliveryReportEvent_Direction) Type() protoreflect.EnumType
type SmsDeliveryReportEvent_FromE164 ¶
type SmsDeliveryReportEvent_FromE164 struct {
FromE164 *v0.PhoneNumber `protobuf:"bytes,2,opt,name=from_e164,json=fromE164,proto3,oneof"`
}
type SmsDeliveryReportEvent_FromNationalPhoneNumber ¶
type SmsDeliveryReportEvent_FromNationalPhoneNumber struct {
FromNationalPhoneNumber *v0.NationalPhoneNumber `protobuf:"bytes,3,opt,name=from_national_phone_number,json=fromNationalPhoneNumber,proto3,oneof"`
}
type SmsDeliveryReportEvent_FromTextAddress ¶
type SmsDeliveryReportEvent_FromTextAddress struct {
FromTextAddress *v0.TextAddress `protobuf:"bytes,4,opt,name=from_text_address,json=fromTextAddress,proto3,oneof"`
}
type SmsDeliveryReportEvent_Status ¶
type SmsDeliveryReportEvent_Status int32
const ( SmsDeliveryReportEvent_STATUS_UNKNOWN SmsDeliveryReportEvent_Status = 0 SmsDeliveryReportEvent_DELIVERED SmsDeliveryReportEvent_Status = 1 SmsDeliveryReportEvent_TEMPORARY_FAILURE SmsDeliveryReportEvent_Status = 2 SmsDeliveryReportEvent_FINAL_FAILURE SmsDeliveryReportEvent_Status = 3 SmsDeliveryReportEvent_EXPIRED SmsDeliveryReportEvent_Status = 4 )
func (SmsDeliveryReportEvent_Status) Descriptor ¶
func (SmsDeliveryReportEvent_Status) Descriptor() protoreflect.EnumDescriptor
func (SmsDeliveryReportEvent_Status) Enum ¶
func (x SmsDeliveryReportEvent_Status) Enum() *SmsDeliveryReportEvent_Status
func (SmsDeliveryReportEvent_Status) EnumDescriptor
deprecated
func (SmsDeliveryReportEvent_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use SmsDeliveryReportEvent_Status.Descriptor instead.
func (SmsDeliveryReportEvent_Status) Number ¶
func (x SmsDeliveryReportEvent_Status) Number() protoreflect.EnumNumber
func (SmsDeliveryReportEvent_Status) String ¶
func (x SmsDeliveryReportEvent_Status) String() string
func (SmsDeliveryReportEvent_Status) Type ¶
func (SmsDeliveryReportEvent_Status) Type() protoreflect.EnumType
type SmsDeliveryReportEvent_ToE164 ¶
type SmsDeliveryReportEvent_ToE164 struct {
ToE164 *v0.PhoneNumber `protobuf:"bytes,5,opt,name=to_e164,json=toE164,proto3,oneof"`
}
type SmsDeliveryReportEvent_ToNationalPhoneNumber ¶
type SmsDeliveryReportEvent_ToNationalPhoneNumber struct {
ToNationalPhoneNumber *v0.NationalPhoneNumber `protobuf:"bytes,6,opt,name=to_national_phone_number,json=toNationalPhoneNumber,proto3,oneof"`
}
type SmsDeliveryReportEvent_ToTextAddress ¶
type SmsDeliveryReportEvent_ToTextAddress struct {
ToTextAddress *v0.TextAddress `protobuf:"bytes,7,opt,name=to_text_address,json=toTextAddress,proto3,oneof"`
}
type SmsEvent ¶
type SmsEvent struct { // * // Identifier referring to a unique instance of this message during its routing. // If the message is delivered multiple times to the same receiver, this ID will be different. // See uuid that is constant across all routes. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Types that are assignable to FromAddress: // // *SmsEvent_FromE164 // *SmsEvent_FromNationalPhoneNumber // *SmsEvent_FromTextAddress FromAddress isSmsEvent_FromAddress `protobuf_oneof:"from_address"` // Types that are assignable to ToAddress: // // *SmsEvent_ToE164 // *SmsEvent_ToNationalPhoneNumber // *SmsEvent_ToTextAddress ToAddress isSmsEvent_ToAddress `protobuf_oneof:"to_address"` Direction SmsEvent_Direction `protobuf:"varint,8,opt,name=direction,proto3,enum=wgtwo.events.v0.SmsEvent_Direction" json:"direction,omitempty"` // Types that are assignable to Content: // // *SmsEvent_Text // *SmsEvent_Bytes Content isSmsEvent_Content `protobuf_oneof:"content"` // * // Unique identifier of a message. // If the message is delivered multiple times to the same receiver, this uuid will remain the same. Uuid string `protobuf:"bytes,10,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
func (*SmsEvent) Descriptor
deprecated
func (*SmsEvent) GetContent ¶
func (m *SmsEvent) GetContent() isSmsEvent_Content
func (*SmsEvent) GetDirection ¶
func (x *SmsEvent) GetDirection() SmsEvent_Direction
func (*SmsEvent) GetFromAddress ¶
func (m *SmsEvent) GetFromAddress() isSmsEvent_FromAddress
func (*SmsEvent) GetFromE164 ¶
func (x *SmsEvent) GetFromE164() *v0.PhoneNumber
func (*SmsEvent) GetFromNationalPhoneNumber ¶
func (x *SmsEvent) GetFromNationalPhoneNumber() *v0.NationalPhoneNumber
func (*SmsEvent) GetFromTextAddress ¶
func (x *SmsEvent) GetFromTextAddress() *v0.TextAddress
func (*SmsEvent) GetToAddress ¶
func (m *SmsEvent) GetToAddress() isSmsEvent_ToAddress
func (*SmsEvent) GetToE164 ¶
func (x *SmsEvent) GetToE164() *v0.PhoneNumber
func (*SmsEvent) GetToNationalPhoneNumber ¶
func (x *SmsEvent) GetToNationalPhoneNumber() *v0.NationalPhoneNumber
func (*SmsEvent) GetToTextAddress ¶
func (x *SmsEvent) GetToTextAddress() *v0.TextAddress
func (*SmsEvent) ProtoMessage ¶
func (*SmsEvent) ProtoMessage()
func (*SmsEvent) ProtoReflect ¶
func (x *SmsEvent) ProtoReflect() protoreflect.Message
type SmsEvent_Bytes ¶ added in v1.11.0
type SmsEvent_Bytes struct {
Bytes []byte `protobuf:"bytes,11,opt,name=bytes,proto3,oneof"`
}
type SmsEvent_Direction ¶
type SmsEvent_Direction int32
const ( SmsEvent_UNKNOWN SmsEvent_Direction = 0 SmsEvent_FROM_SUBSCRIBER SmsEvent_Direction = 1 SmsEvent_TO_SUBSCRIBER SmsEvent_Direction = 2 )
func (SmsEvent_Direction) Descriptor ¶
func (SmsEvent_Direction) Descriptor() protoreflect.EnumDescriptor
func (SmsEvent_Direction) Enum ¶
func (x SmsEvent_Direction) Enum() *SmsEvent_Direction
func (SmsEvent_Direction) EnumDescriptor
deprecated
func (SmsEvent_Direction) EnumDescriptor() ([]byte, []int)
Deprecated: Use SmsEvent_Direction.Descriptor instead.
func (SmsEvent_Direction) Number ¶
func (x SmsEvent_Direction) Number() protoreflect.EnumNumber
func (SmsEvent_Direction) String ¶
func (x SmsEvent_Direction) String() string
func (SmsEvent_Direction) Type ¶
func (SmsEvent_Direction) Type() protoreflect.EnumType
type SmsEvent_FromE164 ¶
type SmsEvent_FromE164 struct {
FromE164 *v0.PhoneNumber `protobuf:"bytes,2,opt,name=from_e164,json=fromE164,proto3,oneof"`
}
type SmsEvent_FromNationalPhoneNumber ¶
type SmsEvent_FromNationalPhoneNumber struct {
FromNationalPhoneNumber *v0.NationalPhoneNumber `protobuf:"bytes,3,opt,name=from_national_phone_number,json=fromNationalPhoneNumber,proto3,oneof"`
}
type SmsEvent_FromTextAddress ¶
type SmsEvent_FromTextAddress struct {
FromTextAddress *v0.TextAddress `protobuf:"bytes,4,opt,name=from_text_address,json=fromTextAddress,proto3,oneof"`
}
type SmsEvent_Text ¶
type SmsEvent_Text struct {
Text string `protobuf:"bytes,9,opt,name=text,proto3,oneof"`
}
type SmsEvent_ToE164 ¶
type SmsEvent_ToE164 struct {
ToE164 *v0.PhoneNumber `protobuf:"bytes,5,opt,name=to_e164,json=toE164,proto3,oneof"`
}
type SmsEvent_ToNationalPhoneNumber ¶
type SmsEvent_ToNationalPhoneNumber struct {
ToNationalPhoneNumber *v0.NationalPhoneNumber `protobuf:"bytes,6,opt,name=to_national_phone_number,json=toNationalPhoneNumber,proto3,oneof"`
}
type SmsEvent_ToTextAddress ¶
type SmsEvent_ToTextAddress struct {
ToTextAddress *v0.TextAddress `protobuf:"bytes,7,opt,name=to_text_address,json=toTextAddress,proto3,oneof"`
}
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() *emptypb.Empty
func (*SubscribeEventsRequest) GetStartAtSequence ¶
func (x *SubscribeEventsRequest) GetStartAtSequence() uint64
func (*SubscribeEventsRequest) GetStartAtTimeDelta ¶
func (x *SubscribeEventsRequest) GetStartAtTimeDelta() *durationpb.Duration
func (*SubscribeEventsRequest) GetStartAtTimestamp ¶
func (x *SubscribeEventsRequest) GetStartAtTimestamp() *timestamppb.Timestamp
func (*SubscribeEventsRequest) GetStartPosition ¶
func (m *SubscribeEventsRequest) GetStartPosition() isSubscribeEventsRequest_StartPosition
func (*SubscribeEventsRequest) GetStartWithLastReceived ¶
func (x *SubscribeEventsRequest) GetStartWithLastReceived() *emptypb.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 SubscribeEventsRequest_StartAtTimeDelta ¶
type SubscribeEventsRequest_StartAtTimeDelta struct {
StartAtTimeDelta *durationpb.Duration `protobuf:"bytes,4,opt,name=start_at_time_delta,json=startAtTimeDelta,proto3,oneof"`
}
type SubscribeEventsRequest_StartAtTimestamp ¶
type SubscribeEventsRequest_StartAtTimestamp struct {
StartAtTimestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=start_at_timestamp,json=startAtTimestamp,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 TokenAuditEvent ¶
type TokenAuditEvent struct { Operation TokenAuditEvent_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=wgtwo.events.v0.TokenAuditEvent_Operation" json:"operation,omitempty"` // Types that are assignable to TokenChanged: // // *TokenAuditEvent_OperatorToken TokenChanged isTokenAuditEvent_TokenChanged `protobuf_oneof:"token_changed"` // contains filtered or unexported fields }
func (*TokenAuditEvent) Descriptor
deprecated
func (*TokenAuditEvent) Descriptor() ([]byte, []int)
Deprecated: Use TokenAuditEvent.ProtoReflect.Descriptor instead.
func (*TokenAuditEvent) GetOperation ¶
func (x *TokenAuditEvent) GetOperation() TokenAuditEvent_Operation
func (*TokenAuditEvent) GetOperatorToken ¶
func (x *TokenAuditEvent) GetOperatorToken() *TokenAuditEvent_OperatorTokenChanged
func (*TokenAuditEvent) GetTokenChanged ¶
func (m *TokenAuditEvent) GetTokenChanged() isTokenAuditEvent_TokenChanged
func (*TokenAuditEvent) ProtoMessage ¶
func (*TokenAuditEvent) ProtoMessage()
func (*TokenAuditEvent) ProtoReflect ¶
func (x *TokenAuditEvent) ProtoReflect() protoreflect.Message
func (*TokenAuditEvent) Reset ¶
func (x *TokenAuditEvent) Reset()
func (*TokenAuditEvent) String ¶
func (x *TokenAuditEvent) String() string
type TokenAuditEvent_Operation ¶
type TokenAuditEvent_Operation int32
const ( TokenAuditEvent_UNDEFINED TokenAuditEvent_Operation = 0 TokenAuditEvent_CREATED TokenAuditEvent_Operation = 1 TokenAuditEvent_MODIFIED TokenAuditEvent_Operation = 2 TokenAuditEvent_DELETED TokenAuditEvent_Operation = 3 )
func (TokenAuditEvent_Operation) Descriptor ¶
func (TokenAuditEvent_Operation) Descriptor() protoreflect.EnumDescriptor
func (TokenAuditEvent_Operation) Enum ¶
func (x TokenAuditEvent_Operation) Enum() *TokenAuditEvent_Operation
func (TokenAuditEvent_Operation) EnumDescriptor
deprecated
func (TokenAuditEvent_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use TokenAuditEvent_Operation.Descriptor instead.
func (TokenAuditEvent_Operation) Number ¶
func (x TokenAuditEvent_Operation) Number() protoreflect.EnumNumber
func (TokenAuditEvent_Operation) String ¶
func (x TokenAuditEvent_Operation) String() string
func (TokenAuditEvent_Operation) Type ¶
func (TokenAuditEvent_Operation) Type() protoreflect.EnumType
type TokenAuditEvent_OperatorToken ¶
type TokenAuditEvent_OperatorToken struct {
OperatorToken *TokenAuditEvent_OperatorTokenChanged `protobuf:"bytes,2,opt,name=operator_token,json=operatorToken,proto3,oneof"`
}
type TokenAuditEvent_OperatorTokenChanged ¶
type TokenAuditEvent_OperatorTokenChanged struct { New *TokenAuditEvent_OperatorTokenMetadata `protobuf:"bytes,1,opt,name=new,proto3" json:"new,omitempty"` Old *TokenAuditEvent_OperatorTokenMetadata `protobuf:"bytes,2,opt,name=old,proto3" json:"old,omitempty"` // contains filtered or unexported fields }
func (*TokenAuditEvent_OperatorTokenChanged) Descriptor
deprecated
func (*TokenAuditEvent_OperatorTokenChanged) Descriptor() ([]byte, []int)
Deprecated: Use TokenAuditEvent_OperatorTokenChanged.ProtoReflect.Descriptor instead.
func (*TokenAuditEvent_OperatorTokenChanged) GetNew ¶
func (x *TokenAuditEvent_OperatorTokenChanged) GetNew() *TokenAuditEvent_OperatorTokenMetadata
func (*TokenAuditEvent_OperatorTokenChanged) GetOld ¶
func (x *TokenAuditEvent_OperatorTokenChanged) GetOld() *TokenAuditEvent_OperatorTokenMetadata
func (*TokenAuditEvent_OperatorTokenChanged) ProtoMessage ¶
func (*TokenAuditEvent_OperatorTokenChanged) ProtoMessage()
func (*TokenAuditEvent_OperatorTokenChanged) ProtoReflect ¶
func (x *TokenAuditEvent_OperatorTokenChanged) ProtoReflect() protoreflect.Message
func (*TokenAuditEvent_OperatorTokenChanged) Reset ¶
func (x *TokenAuditEvent_OperatorTokenChanged) Reset()
func (*TokenAuditEvent_OperatorTokenChanged) String ¶
func (x *TokenAuditEvent_OperatorTokenChanged) String() string
type TokenAuditEvent_OperatorTokenMetadata ¶
type TokenAuditEvent_OperatorTokenMetadata struct { ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Rights []string `protobuf:"bytes,3,rep,name=rights,proto3" json:"rights,omitempty"` // contains filtered or unexported fields }
func (*TokenAuditEvent_OperatorTokenMetadata) Descriptor
deprecated
func (*TokenAuditEvent_OperatorTokenMetadata) Descriptor() ([]byte, []int)
Deprecated: Use TokenAuditEvent_OperatorTokenMetadata.ProtoReflect.Descriptor instead.
func (*TokenAuditEvent_OperatorTokenMetadata) GetClientId ¶
func (x *TokenAuditEvent_OperatorTokenMetadata) GetClientId() string
func (*TokenAuditEvent_OperatorTokenMetadata) GetName ¶
func (x *TokenAuditEvent_OperatorTokenMetadata) GetName() string
func (*TokenAuditEvent_OperatorTokenMetadata) GetRights ¶
func (x *TokenAuditEvent_OperatorTokenMetadata) GetRights() []string
func (*TokenAuditEvent_OperatorTokenMetadata) ProtoMessage ¶
func (*TokenAuditEvent_OperatorTokenMetadata) ProtoMessage()
func (*TokenAuditEvent_OperatorTokenMetadata) ProtoReflect ¶
func (x *TokenAuditEvent_OperatorTokenMetadata) ProtoReflect() protoreflect.Message
func (*TokenAuditEvent_OperatorTokenMetadata) Reset ¶
func (x *TokenAuditEvent_OperatorTokenMetadata) Reset()
func (*TokenAuditEvent_OperatorTokenMetadata) String ¶
func (x *TokenAuditEvent_OperatorTokenMetadata) String() string
type UnimplementedEventsServiceServer ¶
type UnimplementedEventsServiceServer struct{}
UnimplementedEventsServiceServer 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 (UnimplementedEventsServiceServer) Ack ¶
func (UnimplementedEventsServiceServer) Ack(context.Context, *AckRequest) (*AckResponse, 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 *v0.PhoneNumber `protobuf:"bytes,3,opt,name=from_number,json=fromNumber,proto3" json:"from_number,omitempty"` ToNumber *v0.PhoneNumber `protobuf:"bytes,4,opt,name=to_number,json=toNumber,proto3" json:"to_number,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() *v0.PhoneNumber
func (*VoiceEvent) GetToNumber ¶
func (x *VoiceEvent) GetToNumber() *v0.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 *v0.PhoneNumber `protobuf:"bytes,3,opt,name=from_number,json=fromNumber,proto3" json:"from_number,omitempty"` ToNumber *v0.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() *v0.PhoneNumber
func (*VoicemailEvent) GetToNumber ¶
func (x *VoicemailEvent) GetToNumber() *v0.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