proto

package
v0.0.0-...-b2a02ae Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
var File_proto_events_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetEvent

func (m *Event) GetEvent() isEvent_Event

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 (x *Event) GetServiceId() string

func (*Event) GetTimestamp

func (x *Event) GetTimestamp() *timestamp.Timestamp

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

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_ROAMING_EVENT         EventType = 4
	EventType_TOKEN_AUDIT_EVENT     EventType = 5
)

func (EventType) Descriptor

func (EventType) Descriptor() protoreflect.EnumDescriptor

func (EventType) Enum

func (x EventType) Enum() *EventType

func (EventType) EnumDescriptor deprecated

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

Deprecated: Use EventType.Descriptor instead.

func (EventType) Number

func (x EventType) Number() protoreflect.EnumNumber

func (EventType) String

func (x EventType) String() string

func (EventType) Type

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.

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 (*LocationUpdateEvent) GetImsi

func (x *LocationUpdateEvent) GetImsi() string

func (*LocationUpdateEvent) GetNumber

func (x *LocationUpdateEvent) GetNumber() *PhoneNumber

func (*LocationUpdateEvent) GetPrevious

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 (*LocationUpdateEvent_Location) Reset

func (x *LocationUpdateEvent_Location) Reset()

func (*LocationUpdateEvent_Location) 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_StartAtOldestPossible

type SubscribeEventsRequest_StartAtOldestPossible struct {
	StartAtOldestPossible *empty.Empty `protobuf:"bytes,11,opt,name=start_at_oldest_possible,json=startAtOldestPossible,proto3,oneof"`
}

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 *duration.Duration `protobuf:"bytes,4,opt,name=start_at_time_delta,json=startAtTimeDelta,proto3,oneof"`
}

type SubscribeEventsRequest_StartAtTimestamp

type SubscribeEventsRequest_StartAtTimestamp struct {
	StartAtTimestamp *timestamp.Timestamp `protobuf:"bytes,3,opt,name=start_at_timestamp,json=startAtTimestamp,proto3,oneof"`
}

type SubscribeEventsRequest_StartWithLastReceived

type SubscribeEventsRequest_StartWithLastReceived struct {
	StartWithLastReceived *empty.Empty `protobuf:"bytes,5,opt,name=start_with_last_received,json=startWithLastReceived,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) Subscribe

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 (*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) Enum

func (VoiceEvent_VoiceEventType) EnumDescriptor deprecated

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

Deprecated: Use VoiceEvent_VoiceEventType.Descriptor instead.

func (VoiceEvent_VoiceEventType) Number

func (VoiceEvent_VoiceEventType) String

func (x VoiceEvent_VoiceEventType) String() string

func (VoiceEvent_VoiceEventType) Type

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 (*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) Enum

func (VoicemailEvent_VoicemailEventType) EnumDescriptor deprecated

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

Deprecated: Use VoicemailEvent_VoicemailEventType.Descriptor instead.

func (VoicemailEvent_VoicemailEventType) Number

func (VoicemailEvent_VoicemailEventType) String

func (VoicemailEvent_VoicemailEventType) Type

Jump to

Keyboard shortcuts

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