Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterCallForwardingServiceServer(s grpc.ServiceRegistrar, srv CallForwardingServiceServer)
- type CallForwardingResponse
- func (*CallForwardingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CallForwardingResponse) GetErrorMessage() string
- func (x *CallForwardingResponse) GetStatus() CallForwardingResponse_Status
- func (*CallForwardingResponse) ProtoMessage()
- func (x *CallForwardingResponse) ProtoReflect() protoreflect.Message
- func (x *CallForwardingResponse) Reset()
- func (x *CallForwardingResponse) String() string
- type CallForwardingResponse_Status
- func (CallForwardingResponse_Status) Descriptor() protoreflect.EnumDescriptor
- func (x CallForwardingResponse_Status) Enum() *CallForwardingResponse_Status
- func (CallForwardingResponse_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x CallForwardingResponse_Status) Number() protoreflect.EnumNumber
- func (x CallForwardingResponse_Status) String() string
- func (CallForwardingResponse_Status) Type() protoreflect.EnumType
- type CallForwardingServiceClient
- type CallForwardingServiceServer
- type Conditional
- func (*Conditional) Descriptor() ([]byte, []int)deprecated
- func (x *Conditional) GetBusy() *v0.PhoneNumber
- func (x *Conditional) GetNoReply() *v0.PhoneNumber
- func (x *Conditional) GetUnavailable() *v0.PhoneNumber
- func (*Conditional) ProtoMessage()
- func (x *Conditional) ProtoReflect() protoreflect.Message
- func (x *Conditional) Reset()
- func (x *Conditional) String() string
- type ConditionalTrunkForwarding
- func (*ConditionalTrunkForwarding) Descriptor() ([]byte, []int)deprecated
- func (x *ConditionalTrunkForwarding) GetBusy() *Trunk
- func (x *ConditionalTrunkForwarding) GetNoReply() *Trunk
- func (x *ConditionalTrunkForwarding) GetUnavailable() *Trunk
- func (*ConditionalTrunkForwarding) ProtoMessage()
- func (x *ConditionalTrunkForwarding) ProtoReflect() protoreflect.Message
- func (x *ConditionalTrunkForwarding) Reset()
- func (x *ConditionalTrunkForwarding) String() string
- type DisableCallForwardingRequest
- func (*DisableCallForwardingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DisableCallForwardingRequest) GetSubscriber() *v0.PhoneNumber
- func (*DisableCallForwardingRequest) ProtoMessage()
- func (x *DisableCallForwardingRequest) ProtoReflect() protoreflect.Message
- func (x *DisableCallForwardingRequest) Reset()
- func (x *DisableCallForwardingRequest) String() string
- type NumberCallForwardingRequest
- func (*NumberCallForwardingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NumberCallForwardingRequest) GetConditional() *Conditional
- func (x *NumberCallForwardingRequest) GetSubscriber() *v0.PhoneNumber
- func (m *NumberCallForwardingRequest) GetType() isNumberCallForwardingRequest_Type
- func (x *NumberCallForwardingRequest) GetUnconditional() *Unconditional
- func (*NumberCallForwardingRequest) ProtoMessage()
- func (x *NumberCallForwardingRequest) ProtoReflect() protoreflect.Message
- func (x *NumberCallForwardingRequest) Reset()
- func (x *NumberCallForwardingRequest) String() string
- type NumberCallForwardingRequest_Conditional
- type NumberCallForwardingRequest_Unconditional
- type Trunk
- type TrunkCallForwardingRequest
- func (*TrunkCallForwardingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TrunkCallForwardingRequest) GetConditionalTrunkForwarding() *ConditionalTrunkForwarding
- func (x *TrunkCallForwardingRequest) GetSubscriber() *v0.PhoneNumber
- func (m *TrunkCallForwardingRequest) GetType() isTrunkCallForwardingRequest_Type
- func (x *TrunkCallForwardingRequest) GetUnconditionalTrunkForwarding() *UnconditionalTrunkForwarding
- func (*TrunkCallForwardingRequest) ProtoMessage()
- func (x *TrunkCallForwardingRequest) ProtoReflect() protoreflect.Message
- func (x *TrunkCallForwardingRequest) Reset()
- func (x *TrunkCallForwardingRequest) String() string
- type TrunkCallForwardingRequest_ConditionalTrunkForwarding
- type TrunkCallForwardingRequest_UnconditionalTrunkForwarding
- type Unconditional
- type UnconditionalTrunkForwarding
- func (*UnconditionalTrunkForwarding) Descriptor() ([]byte, []int)deprecated
- func (x *UnconditionalTrunkForwarding) GetForwardToTrunk() *Trunk
- func (*UnconditionalTrunkForwarding) ProtoMessage()
- func (x *UnconditionalTrunkForwarding) ProtoReflect() protoreflect.Message
- func (x *UnconditionalTrunkForwarding) Reset()
- func (x *UnconditionalTrunkForwarding) String() string
- type UnimplementedCallForwardingServiceServer
- func (UnimplementedCallForwardingServiceServer) Disable(context.Context, *DisableCallForwardingRequest) (*CallForwardingResponse, error)
- func (UnimplementedCallForwardingServiceServer) SetToNumber(context.Context, *NumberCallForwardingRequest) (*CallForwardingResponse, error)
- func (UnimplementedCallForwardingServiceServer) SetToTrunk(context.Context, *TrunkCallForwardingRequest) (*CallForwardingResponse, error)
- func (UnimplementedCallForwardingServiceServer) SetToVoicemail(context.Context, *VoicemailCallForwardingRequest) (*CallForwardingResponse, error)
- type UnsafeCallForwardingServiceServer
- type VoicemailCallForwardingRequest
- func (*VoicemailCallForwardingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VoicemailCallForwardingRequest) GetDefault() *emptypb.Empty
- func (x *VoicemailCallForwardingRequest) GetPhoneNumber() *v0.PhoneNumber
- func (x *VoicemailCallForwardingRequest) GetSubscriber() *v0.PhoneNumber
- func (m *VoicemailCallForwardingRequest) GetTarget() isVoicemailCallForwardingRequest_Target
- func (*VoicemailCallForwardingRequest) ProtoMessage()
- func (x *VoicemailCallForwardingRequest) ProtoReflect() protoreflect.Message
- func (x *VoicemailCallForwardingRequest) Reset()
- func (x *VoicemailCallForwardingRequest) String() string
- type VoicemailCallForwardingRequest_Default
- type VoicemailCallForwardingRequest_PhoneNumber
Constants ¶
const ( CallForwardingService_Disable_FullMethodName = "/wgtwo.callforward.v0.CallForwardingService/Disable" CallForwardingService_SetToNumber_FullMethodName = "/wgtwo.callforward.v0.CallForwardingService/SetToNumber" CallForwardingService_SetToTrunk_FullMethodName = "/wgtwo.callforward.v0.CallForwardingService/SetToTrunk" CallForwardingService_SetToVoicemail_FullMethodName = "/wgtwo.callforward.v0.CallForwardingService/SetToVoicemail" )
Variables ¶
var ( CallForwardingResponse_Status_name = map[int32]string{ 0: "UNKNOWN", 1: "ACCEPTED", 2: "REJECTED", } CallForwardingResponse_Status_value = map[string]int32{ "UNKNOWN": 0, "ACCEPTED": 1, "REJECTED": 2, } )
Enum value maps for CallForwardingResponse_Status.
var CallForwardingService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "wgtwo.callforward.v0.CallForwardingService", HandlerType: (*CallForwardingServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Disable", Handler: _CallForwardingService_Disable_Handler, }, { MethodName: "SetToNumber", Handler: _CallForwardingService_SetToNumber_Handler, }, { MethodName: "SetToTrunk", Handler: _CallForwardingService_SetToTrunk_Handler, }, { MethodName: "SetToVoicemail", Handler: _CallForwardingService_SetToVoicemail_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "wgtwo/callforward/v0/callforward.proto", }
CallForwardingService_ServiceDesc is the grpc.ServiceDesc for CallForwardingService 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_callforward_v0_callforward_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCallForwardingServiceServer ¶
func RegisterCallForwardingServiceServer(s grpc.ServiceRegistrar, srv CallForwardingServiceServer)
Types ¶
type CallForwardingResponse ¶
type CallForwardingResponse struct { Status CallForwardingResponse_Status `protobuf:"varint,1,opt,name=status,proto3,enum=wgtwo.callforward.v0.CallForwardingResponse_Status" json:"status,omitempty"` ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` // contains filtered or unexported fields }
func (*CallForwardingResponse) Descriptor
deprecated
func (*CallForwardingResponse) Descriptor() ([]byte, []int)
Deprecated: Use CallForwardingResponse.ProtoReflect.Descriptor instead.
func (*CallForwardingResponse) GetErrorMessage ¶
func (x *CallForwardingResponse) GetErrorMessage() string
func (*CallForwardingResponse) GetStatus ¶
func (x *CallForwardingResponse) GetStatus() CallForwardingResponse_Status
func (*CallForwardingResponse) ProtoMessage ¶
func (*CallForwardingResponse) ProtoMessage()
func (*CallForwardingResponse) ProtoReflect ¶
func (x *CallForwardingResponse) ProtoReflect() protoreflect.Message
func (*CallForwardingResponse) Reset ¶
func (x *CallForwardingResponse) Reset()
func (*CallForwardingResponse) String ¶
func (x *CallForwardingResponse) String() string
type CallForwardingResponse_Status ¶
type CallForwardingResponse_Status int32
const ( CallForwardingResponse_UNKNOWN CallForwardingResponse_Status = 0 CallForwardingResponse_ACCEPTED CallForwardingResponse_Status = 1 CallForwardingResponse_REJECTED CallForwardingResponse_Status = 2 )
func (CallForwardingResponse_Status) Descriptor ¶
func (CallForwardingResponse_Status) Descriptor() protoreflect.EnumDescriptor
func (CallForwardingResponse_Status) Enum ¶
func (x CallForwardingResponse_Status) Enum() *CallForwardingResponse_Status
func (CallForwardingResponse_Status) EnumDescriptor
deprecated
func (CallForwardingResponse_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use CallForwardingResponse_Status.Descriptor instead.
func (CallForwardingResponse_Status) Number ¶
func (x CallForwardingResponse_Status) Number() protoreflect.EnumNumber
func (CallForwardingResponse_Status) String ¶
func (x CallForwardingResponse_Status) String() string
func (CallForwardingResponse_Status) Type ¶
func (CallForwardingResponse_Status) Type() protoreflect.EnumType
type CallForwardingServiceClient ¶
type CallForwardingServiceClient interface { Disable(ctx context.Context, in *DisableCallForwardingRequest, opts ...grpc.CallOption) (*CallForwardingResponse, error) SetToNumber(ctx context.Context, in *NumberCallForwardingRequest, opts ...grpc.CallOption) (*CallForwardingResponse, error) SetToTrunk(ctx context.Context, in *TrunkCallForwardingRequest, opts ...grpc.CallOption) (*CallForwardingResponse, error) SetToVoicemail(ctx context.Context, in *VoicemailCallForwardingRequest, opts ...grpc.CallOption) (*CallForwardingResponse, error) }
CallForwardingServiceClient is the client API for CallForwardingService 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 NewCallForwardingServiceClient ¶
func NewCallForwardingServiceClient(cc grpc.ClientConnInterface) CallForwardingServiceClient
type CallForwardingServiceServer ¶
type CallForwardingServiceServer interface { Disable(context.Context, *DisableCallForwardingRequest) (*CallForwardingResponse, error) SetToNumber(context.Context, *NumberCallForwardingRequest) (*CallForwardingResponse, error) SetToTrunk(context.Context, *TrunkCallForwardingRequest) (*CallForwardingResponse, error) SetToVoicemail(context.Context, *VoicemailCallForwardingRequest) (*CallForwardingResponse, error) }
CallForwardingServiceServer is the server API for CallForwardingService service. All implementations should embed UnimplementedCallForwardingServiceServer for forward compatibility.
type Conditional ¶
type Conditional struct { Busy *v0.PhoneNumber `protobuf:"bytes,1,opt,name=busy,proto3" json:"busy,omitempty"` NoReply *v0.PhoneNumber `protobuf:"bytes,2,opt,name=no_reply,json=noReply,proto3" json:"no_reply,omitempty"` // contains filtered or unexported fields }
func (*Conditional) Descriptor
deprecated
func (*Conditional) Descriptor() ([]byte, []int)
Deprecated: Use Conditional.ProtoReflect.Descriptor instead.
func (*Conditional) GetBusy ¶
func (x *Conditional) GetBusy() *v0.PhoneNumber
func (*Conditional) GetNoReply ¶
func (x *Conditional) GetNoReply() *v0.PhoneNumber
func (*Conditional) GetUnavailable ¶
func (x *Conditional) GetUnavailable() *v0.PhoneNumber
func (*Conditional) ProtoMessage ¶
func (*Conditional) ProtoMessage()
func (*Conditional) ProtoReflect ¶
func (x *Conditional) ProtoReflect() protoreflect.Message
func (*Conditional) Reset ¶
func (x *Conditional) Reset()
func (*Conditional) String ¶
func (x *Conditional) String() string
type ConditionalTrunkForwarding ¶
type ConditionalTrunkForwarding struct { Busy *Trunk `protobuf:"bytes,1,opt,name=busy,proto3" json:"busy,omitempty"` NoReply *Trunk `protobuf:"bytes,2,opt,name=no_reply,json=noReply,proto3" json:"no_reply,omitempty"` // contains filtered or unexported fields }
func (*ConditionalTrunkForwarding) Descriptor
deprecated
func (*ConditionalTrunkForwarding) Descriptor() ([]byte, []int)
Deprecated: Use ConditionalTrunkForwarding.ProtoReflect.Descriptor instead.
func (*ConditionalTrunkForwarding) GetBusy ¶
func (x *ConditionalTrunkForwarding) GetBusy() *Trunk
func (*ConditionalTrunkForwarding) GetNoReply ¶
func (x *ConditionalTrunkForwarding) GetNoReply() *Trunk
func (*ConditionalTrunkForwarding) GetUnavailable ¶
func (x *ConditionalTrunkForwarding) GetUnavailable() *Trunk
func (*ConditionalTrunkForwarding) ProtoMessage ¶
func (*ConditionalTrunkForwarding) ProtoMessage()
func (*ConditionalTrunkForwarding) ProtoReflect ¶
func (x *ConditionalTrunkForwarding) ProtoReflect() protoreflect.Message
func (*ConditionalTrunkForwarding) Reset ¶
func (x *ConditionalTrunkForwarding) Reset()
func (*ConditionalTrunkForwarding) String ¶
func (x *ConditionalTrunkForwarding) String() string
type DisableCallForwardingRequest ¶
type DisableCallForwardingRequest struct { Subscriber *v0.PhoneNumber `protobuf:"bytes,1,opt,name=subscriber,proto3" json:"subscriber,omitempty"` // contains filtered or unexported fields }
func (*DisableCallForwardingRequest) Descriptor
deprecated
func (*DisableCallForwardingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DisableCallForwardingRequest.ProtoReflect.Descriptor instead.
func (*DisableCallForwardingRequest) GetSubscriber ¶
func (x *DisableCallForwardingRequest) GetSubscriber() *v0.PhoneNumber
func (*DisableCallForwardingRequest) ProtoMessage ¶
func (*DisableCallForwardingRequest) ProtoMessage()
func (*DisableCallForwardingRequest) ProtoReflect ¶
func (x *DisableCallForwardingRequest) ProtoReflect() protoreflect.Message
func (*DisableCallForwardingRequest) Reset ¶
func (x *DisableCallForwardingRequest) Reset()
func (*DisableCallForwardingRequest) String ¶
func (x *DisableCallForwardingRequest) String() string
type NumberCallForwardingRequest ¶
type NumberCallForwardingRequest struct { Subscriber *v0.PhoneNumber `protobuf:"bytes,1,opt,name=subscriber,proto3" json:"subscriber,omitempty"` // Types that are assignable to Type: // // *NumberCallForwardingRequest_Unconditional // *NumberCallForwardingRequest_Conditional Type isNumberCallForwardingRequest_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*NumberCallForwardingRequest) Descriptor
deprecated
func (*NumberCallForwardingRequest) Descriptor() ([]byte, []int)
Deprecated: Use NumberCallForwardingRequest.ProtoReflect.Descriptor instead.
func (*NumberCallForwardingRequest) GetConditional ¶
func (x *NumberCallForwardingRequest) GetConditional() *Conditional
func (*NumberCallForwardingRequest) GetSubscriber ¶
func (x *NumberCallForwardingRequest) GetSubscriber() *v0.PhoneNumber
func (*NumberCallForwardingRequest) GetType ¶
func (m *NumberCallForwardingRequest) GetType() isNumberCallForwardingRequest_Type
func (*NumberCallForwardingRequest) GetUnconditional ¶
func (x *NumberCallForwardingRequest) GetUnconditional() *Unconditional
func (*NumberCallForwardingRequest) ProtoMessage ¶
func (*NumberCallForwardingRequest) ProtoMessage()
func (*NumberCallForwardingRequest) ProtoReflect ¶
func (x *NumberCallForwardingRequest) ProtoReflect() protoreflect.Message
func (*NumberCallForwardingRequest) Reset ¶
func (x *NumberCallForwardingRequest) Reset()
func (*NumberCallForwardingRequest) String ¶
func (x *NumberCallForwardingRequest) String() string
type NumberCallForwardingRequest_Conditional ¶
type NumberCallForwardingRequest_Conditional struct {
Conditional *Conditional `protobuf:"bytes,3,opt,name=conditional,proto3,oneof"`
}
type NumberCallForwardingRequest_Unconditional ¶
type NumberCallForwardingRequest_Unconditional struct {
Unconditional *Unconditional `protobuf:"bytes,2,opt,name=unconditional,proto3,oneof"`
}
type Trunk ¶
type Trunk struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Trunk) Descriptor
deprecated
func (*Trunk) ProtoMessage ¶
func (*Trunk) ProtoMessage()
func (*Trunk) ProtoReflect ¶
func (x *Trunk) ProtoReflect() protoreflect.Message
type TrunkCallForwardingRequest ¶
type TrunkCallForwardingRequest struct { Subscriber *v0.PhoneNumber `protobuf:"bytes,1,opt,name=subscriber,proto3" json:"subscriber,omitempty"` // Types that are assignable to Type: // // *TrunkCallForwardingRequest_UnconditionalTrunkForwarding // *TrunkCallForwardingRequest_ConditionalTrunkForwarding Type isTrunkCallForwardingRequest_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*TrunkCallForwardingRequest) Descriptor
deprecated
func (*TrunkCallForwardingRequest) Descriptor() ([]byte, []int)
Deprecated: Use TrunkCallForwardingRequest.ProtoReflect.Descriptor instead.
func (*TrunkCallForwardingRequest) GetConditionalTrunkForwarding ¶
func (x *TrunkCallForwardingRequest) GetConditionalTrunkForwarding() *ConditionalTrunkForwarding
func (*TrunkCallForwardingRequest) GetSubscriber ¶
func (x *TrunkCallForwardingRequest) GetSubscriber() *v0.PhoneNumber
func (*TrunkCallForwardingRequest) GetType ¶
func (m *TrunkCallForwardingRequest) GetType() isTrunkCallForwardingRequest_Type
func (*TrunkCallForwardingRequest) GetUnconditionalTrunkForwarding ¶
func (x *TrunkCallForwardingRequest) GetUnconditionalTrunkForwarding() *UnconditionalTrunkForwarding
func (*TrunkCallForwardingRequest) ProtoMessage ¶
func (*TrunkCallForwardingRequest) ProtoMessage()
func (*TrunkCallForwardingRequest) ProtoReflect ¶
func (x *TrunkCallForwardingRequest) ProtoReflect() protoreflect.Message
func (*TrunkCallForwardingRequest) Reset ¶
func (x *TrunkCallForwardingRequest) Reset()
func (*TrunkCallForwardingRequest) String ¶
func (x *TrunkCallForwardingRequest) String() string
type TrunkCallForwardingRequest_ConditionalTrunkForwarding ¶
type TrunkCallForwardingRequest_ConditionalTrunkForwarding struct {
ConditionalTrunkForwarding *ConditionalTrunkForwarding `protobuf:"bytes,3,opt,name=conditional_trunk_forwarding,json=conditionalTrunkForwarding,proto3,oneof"`
}
type TrunkCallForwardingRequest_UnconditionalTrunkForwarding ¶
type TrunkCallForwardingRequest_UnconditionalTrunkForwarding struct {
UnconditionalTrunkForwarding *UnconditionalTrunkForwarding `protobuf:"bytes,2,opt,name=unconditional_trunk_forwarding,json=unconditionalTrunkForwarding,proto3,oneof"`
}
type Unconditional ¶
type Unconditional struct { ForwardToNumber *v0.PhoneNumber `protobuf:"bytes,1,opt,name=forward_to_number,json=forwardToNumber,proto3" json:"forward_to_number,omitempty"` // contains filtered or unexported fields }
func (*Unconditional) Descriptor
deprecated
func (*Unconditional) Descriptor() ([]byte, []int)
Deprecated: Use Unconditional.ProtoReflect.Descriptor instead.
func (*Unconditional) GetForwardToNumber ¶
func (x *Unconditional) GetForwardToNumber() *v0.PhoneNumber
func (*Unconditional) ProtoMessage ¶
func (*Unconditional) ProtoMessage()
func (*Unconditional) ProtoReflect ¶
func (x *Unconditional) ProtoReflect() protoreflect.Message
func (*Unconditional) Reset ¶
func (x *Unconditional) Reset()
func (*Unconditional) String ¶
func (x *Unconditional) String() string
type UnconditionalTrunkForwarding ¶
type UnconditionalTrunkForwarding struct { ForwardToTrunk *Trunk `protobuf:"bytes,1,opt,name=forward_to_trunk,json=forwardToTrunk,proto3" json:"forward_to_trunk,omitempty"` // contains filtered or unexported fields }
func (*UnconditionalTrunkForwarding) Descriptor
deprecated
func (*UnconditionalTrunkForwarding) Descriptor() ([]byte, []int)
Deprecated: Use UnconditionalTrunkForwarding.ProtoReflect.Descriptor instead.
func (*UnconditionalTrunkForwarding) GetForwardToTrunk ¶
func (x *UnconditionalTrunkForwarding) GetForwardToTrunk() *Trunk
func (*UnconditionalTrunkForwarding) ProtoMessage ¶
func (*UnconditionalTrunkForwarding) ProtoMessage()
func (*UnconditionalTrunkForwarding) ProtoReflect ¶
func (x *UnconditionalTrunkForwarding) ProtoReflect() protoreflect.Message
func (*UnconditionalTrunkForwarding) Reset ¶
func (x *UnconditionalTrunkForwarding) Reset()
func (*UnconditionalTrunkForwarding) String ¶
func (x *UnconditionalTrunkForwarding) String() string
type UnimplementedCallForwardingServiceServer ¶
type UnimplementedCallForwardingServiceServer struct{}
UnimplementedCallForwardingServiceServer 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 (UnimplementedCallForwardingServiceServer) SetToNumber ¶
func (UnimplementedCallForwardingServiceServer) SetToNumber(context.Context, *NumberCallForwardingRequest) (*CallForwardingResponse, error)
func (UnimplementedCallForwardingServiceServer) SetToTrunk ¶
func (UnimplementedCallForwardingServiceServer) SetToTrunk(context.Context, *TrunkCallForwardingRequest) (*CallForwardingResponse, error)
func (UnimplementedCallForwardingServiceServer) SetToVoicemail ¶
func (UnimplementedCallForwardingServiceServer) SetToVoicemail(context.Context, *VoicemailCallForwardingRequest) (*CallForwardingResponse, error)
type UnsafeCallForwardingServiceServer ¶
type UnsafeCallForwardingServiceServer interface {
// contains filtered or unexported methods
}
UnsafeCallForwardingServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CallForwardingServiceServer will result in compilation errors.
type VoicemailCallForwardingRequest ¶
type VoicemailCallForwardingRequest struct { Subscriber *v0.PhoneNumber `protobuf:"bytes,1,opt,name=subscriber,proto3" json:"subscriber,omitempty"` // Types that are assignable to Target: // // *VoicemailCallForwardingRequest_Default // *VoicemailCallForwardingRequest_PhoneNumber Target isVoicemailCallForwardingRequest_Target `protobuf_oneof:"target"` // contains filtered or unexported fields }
func (*VoicemailCallForwardingRequest) Descriptor
deprecated
func (*VoicemailCallForwardingRequest) Descriptor() ([]byte, []int)
Deprecated: Use VoicemailCallForwardingRequest.ProtoReflect.Descriptor instead.
func (*VoicemailCallForwardingRequest) GetDefault ¶
func (x *VoicemailCallForwardingRequest) GetDefault() *emptypb.Empty
func (*VoicemailCallForwardingRequest) GetPhoneNumber ¶
func (x *VoicemailCallForwardingRequest) GetPhoneNumber() *v0.PhoneNumber
func (*VoicemailCallForwardingRequest) GetSubscriber ¶
func (x *VoicemailCallForwardingRequest) GetSubscriber() *v0.PhoneNumber
func (*VoicemailCallForwardingRequest) GetTarget ¶
func (m *VoicemailCallForwardingRequest) GetTarget() isVoicemailCallForwardingRequest_Target
func (*VoicemailCallForwardingRequest) ProtoMessage ¶
func (*VoicemailCallForwardingRequest) ProtoMessage()
func (*VoicemailCallForwardingRequest) ProtoReflect ¶
func (x *VoicemailCallForwardingRequest) ProtoReflect() protoreflect.Message
func (*VoicemailCallForwardingRequest) Reset ¶
func (x *VoicemailCallForwardingRequest) Reset()
func (*VoicemailCallForwardingRequest) String ¶
func (x *VoicemailCallForwardingRequest) String() string
type VoicemailCallForwardingRequest_PhoneNumber ¶
type VoicemailCallForwardingRequest_PhoneNumber struct {
PhoneNumber *v0.PhoneNumber `protobuf:"bytes,3,opt,name=phone_number,json=phoneNumber,proto3,oneof"`
}