callmonitorv1alpha1

package
v1.9.6 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CallMonitorService_GetHoldQueueStats_FullMethodName = "/services.callmonitor.v1alpha1.CallMonitorService/GetHoldQueueStats"
)

Variables

View Source
var CallMonitorService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "services.callmonitor.v1alpha1.CallMonitorService",
	HandlerType: (*CallMonitorServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetHoldQueueStats",
			Handler:    _CallMonitorService_GetHoldQueueStats_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "services/callmonitor/v1alpha1/service.proto",
}

CallMonitorService_ServiceDesc is the grpc.ServiceDesc for CallMonitorService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_services_callmonitor_v1alpha1_service_proto protoreflect.FileDescriptor

Functions

func RegisterCallMonitorServiceServer

func RegisterCallMonitorServiceServer(s grpc.ServiceRegistrar, srv CallMonitorServiceServer)

Types

type CallMonitorServiceClient

type CallMonitorServiceClient interface {
	GetHoldQueueStats(ctx context.Context, in *GetHoldQueueStatsRequest, opts ...grpc.CallOption) (*GetHoldQueueStatsResponse, error)
}

CallMonitorServiceClient is the client API for CallMonitorService 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 CallMonitorServiceServer

type CallMonitorServiceServer interface {
	GetHoldQueueStats(context.Context, *GetHoldQueueStatsRequest) (*GetHoldQueueStatsResponse, error)
	// contains filtered or unexported methods
}

CallMonitorServiceServer is the server API for CallMonitorService service. All implementations must embed UnimplementedCallMonitorServiceServer for forward compatibility.

type GetHoldQueueStatsRequest

type GetHoldQueueStatsRequest struct {

	// The Org for which to report call monitoring stats.
	OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// The start time for reporting. Return only stats for calls initiated
	// after this time.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The end time for reporting. Return only stats for calls initiated
	// before this time.
	EndTime *timestamppb.Timestamp           `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	Filter  *GetHoldQueueStatsRequest_Filter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*GetHoldQueueStatsRequest) Descriptor deprecated

func (*GetHoldQueueStatsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetHoldQueueStatsRequest.ProtoReflect.Descriptor instead.

func (*GetHoldQueueStatsRequest) GetEndTime

func (*GetHoldQueueStatsRequest) GetFilter

func (*GetHoldQueueStatsRequest) GetOrgId

func (x *GetHoldQueueStatsRequest) GetOrgId() string

func (*GetHoldQueueStatsRequest) GetStartTime

func (x *GetHoldQueueStatsRequest) GetStartTime() *timestamppb.Timestamp

func (*GetHoldQueueStatsRequest) ProtoMessage

func (*GetHoldQueueStatsRequest) ProtoMessage()

func (*GetHoldQueueStatsRequest) ProtoReflect

func (x *GetHoldQueueStatsRequest) ProtoReflect() protoreflect.Message

func (*GetHoldQueueStatsRequest) Reset

func (x *GetHoldQueueStatsRequest) Reset()

func (*GetHoldQueueStatsRequest) String

func (x *GetHoldQueueStatsRequest) String() string

type GetHoldQueueStatsRequest_Filter

type GetHoldQueueStatsRequest_Filter struct {

	// Report only calls that have this status.
	Status commons.HoldQueueMonitorStatus `protobuf:"varint,1,opt,name=status,proto3,enum=api.commons.HoldQueueMonitorStatus" json:"status,omitempty"`
	// Report only calls associated with this omni campaign.
	CampaignId string `protobuf:"bytes,3,opt,name=campaign_id,json=campaignId,proto3" json:"campaign_id,omitempty"`
	// contains filtered or unexported fields
}

Filter to restrict the reported calls.

func (*GetHoldQueueStatsRequest_Filter) Descriptor deprecated

func (*GetHoldQueueStatsRequest_Filter) Descriptor() ([]byte, []int)

Deprecated: Use GetHoldQueueStatsRequest_Filter.ProtoReflect.Descriptor instead.

func (*GetHoldQueueStatsRequest_Filter) GetCampaignId

func (x *GetHoldQueueStatsRequest_Filter) GetCampaignId() string

func (*GetHoldQueueStatsRequest_Filter) GetStatus

func (*GetHoldQueueStatsRequest_Filter) ProtoMessage

func (*GetHoldQueueStatsRequest_Filter) ProtoMessage()

func (*GetHoldQueueStatsRequest_Filter) ProtoReflect

func (*GetHoldQueueStatsRequest_Filter) Reset

func (*GetHoldQueueStatsRequest_Filter) String

type GetHoldQueueStatsResponse

type GetHoldQueueStatsResponse struct {

	// Stats for individual calls in the hold queue.
	Stats []*commons.HoldQueueCallStats `protobuf:"bytes,1,rep,name=stats,proto3" json:"stats,omitempty"`
	// The total number of calls that have been monitored.
	TotalNumCalls int32 `protobuf:"varint,2,opt,name=total_num_calls,json=totalNumCalls,proto3" json:"total_num_calls,omitempty"`
	// The total number of calls that have been successful.
	TotalNumSuccessful int32 `protobuf:"varint,3,opt,name=total_num_successful,json=totalNumSuccessful,proto3" json:"total_num_successful,omitempty"`
	// The total number of calls that have failed.
	TotalNumFailed int32 `protobuf:"varint,4,opt,name=total_num_failed,json=totalNumFailed,proto3" json:"total_num_failed,omitempty"`
	// The average duration of a monitor session.
	AvgMonitorDurationMs int64 `` /* 126-byte string literal not displayed */
	// The total currently running monitor sessions.
	TotalNumMonitoring int32 `protobuf:"varint,6,opt,name=total_num_monitoring,json=totalNumMonitoring,proto3" json:"total_num_monitoring,omitempty"`
	// contains filtered or unexported fields
}

func (*GetHoldQueueStatsResponse) Descriptor deprecated

func (*GetHoldQueueStatsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetHoldQueueStatsResponse.ProtoReflect.Descriptor instead.

func (*GetHoldQueueStatsResponse) GetAvgMonitorDurationMs

func (x *GetHoldQueueStatsResponse) GetAvgMonitorDurationMs() int64

func (*GetHoldQueueStatsResponse) GetStats

func (*GetHoldQueueStatsResponse) GetTotalNumCalls

func (x *GetHoldQueueStatsResponse) GetTotalNumCalls() int32

func (*GetHoldQueueStatsResponse) GetTotalNumFailed

func (x *GetHoldQueueStatsResponse) GetTotalNumFailed() int32

func (*GetHoldQueueStatsResponse) GetTotalNumMonitoring

func (x *GetHoldQueueStatsResponse) GetTotalNumMonitoring() int32

func (*GetHoldQueueStatsResponse) GetTotalNumSuccessful

func (x *GetHoldQueueStatsResponse) GetTotalNumSuccessful() int32

func (*GetHoldQueueStatsResponse) ProtoMessage

func (*GetHoldQueueStatsResponse) ProtoMessage()

func (*GetHoldQueueStatsResponse) ProtoReflect

func (*GetHoldQueueStatsResponse) Reset

func (x *GetHoldQueueStatsResponse) Reset()

func (*GetHoldQueueStatsResponse) String

func (x *GetHoldQueueStatsResponse) String() string

type UnimplementedCallMonitorServiceServer

type UnimplementedCallMonitorServiceServer struct{}

UnimplementedCallMonitorServiceServer must 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 (UnimplementedCallMonitorServiceServer) GetHoldQueueStats

type UnsafeCallMonitorServiceServer

type UnsafeCallMonitorServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeCallMonitorServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CallMonitorServiceServer will result in compilation errors.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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