Files
go-sip/gen/agent/agent.pb.go
T

3192 lines
102 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.12
// protoc (unknown)
// source: agent/agent.proto
package agentpb
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type ResultCode int32
const (
ResultCode_RESULT_CODE_UNSPECIFIED ResultCode = 0
ResultCode_RESULT_CODE_ACCEPTED ResultCode = 1
ResultCode_RESULT_CODE_APPLIED ResultCode = 2
ResultCode_RESULT_CODE_REJECTED ResultCode = 3
ResultCode_RESULT_CODE_UNKNOWN ResultCode = 4
ResultCode_RESULT_CODE_CONFLICT ResultCode = 5
)
// Enum value maps for ResultCode.
var (
ResultCode_name = map[int32]string{
0: "RESULT_CODE_UNSPECIFIED",
1: "RESULT_CODE_ACCEPTED",
2: "RESULT_CODE_APPLIED",
3: "RESULT_CODE_REJECTED",
4: "RESULT_CODE_UNKNOWN",
5: "RESULT_CODE_CONFLICT",
}
ResultCode_value = map[string]int32{
"RESULT_CODE_UNSPECIFIED": 0,
"RESULT_CODE_ACCEPTED": 1,
"RESULT_CODE_APPLIED": 2,
"RESULT_CODE_REJECTED": 3,
"RESULT_CODE_UNKNOWN": 4,
"RESULT_CODE_CONFLICT": 5,
}
)
func (x ResultCode) Enum() *ResultCode {
p := new(ResultCode)
*p = x
return p
}
func (x ResultCode) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ResultCode) Descriptor() protoreflect.EnumDescriptor {
return file_agent_agent_proto_enumTypes[0].Descriptor()
}
func (ResultCode) Type() protoreflect.EnumType {
return &file_agent_agent_proto_enumTypes[0]
}
func (x ResultCode) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ResultCode.Descriptor instead.
func (ResultCode) EnumDescriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{0}
}
type FailureCode int32
const (
FailureCode_FAILURE_CODE_UNSPECIFIED FailureCode = 0
FailureCode_FAILURE_CODE_INVALID_ARGUMENT FailureCode = 1
FailureCode_FAILURE_CODE_UNAUTHENTICATED FailureCode = 2
FailureCode_FAILURE_CODE_PERMISSION_DENIED FailureCode = 3
FailureCode_FAILURE_CODE_FAILED_PRECONDITION FailureCode = 4
FailureCode_FAILURE_CODE_ABORTED FailureCode = 5
FailureCode_FAILURE_CODE_RESOURCE_EXHAUSTED FailureCode = 6
FailureCode_FAILURE_CODE_UNAVAILABLE FailureCode = 7
FailureCode_FAILURE_CODE_DEADLINE_EXCEEDED FailureCode = 8
FailureCode_FAILURE_CODE_NOT_FOUND FailureCode = 9
FailureCode_FAILURE_CODE_ALREADY_EXISTS FailureCode = 10
)
// Enum value maps for FailureCode.
var (
FailureCode_name = map[int32]string{
0: "FAILURE_CODE_UNSPECIFIED",
1: "FAILURE_CODE_INVALID_ARGUMENT",
2: "FAILURE_CODE_UNAUTHENTICATED",
3: "FAILURE_CODE_PERMISSION_DENIED",
4: "FAILURE_CODE_FAILED_PRECONDITION",
5: "FAILURE_CODE_ABORTED",
6: "FAILURE_CODE_RESOURCE_EXHAUSTED",
7: "FAILURE_CODE_UNAVAILABLE",
8: "FAILURE_CODE_DEADLINE_EXCEEDED",
9: "FAILURE_CODE_NOT_FOUND",
10: "FAILURE_CODE_ALREADY_EXISTS",
}
FailureCode_value = map[string]int32{
"FAILURE_CODE_UNSPECIFIED": 0,
"FAILURE_CODE_INVALID_ARGUMENT": 1,
"FAILURE_CODE_UNAUTHENTICATED": 2,
"FAILURE_CODE_PERMISSION_DENIED": 3,
"FAILURE_CODE_FAILED_PRECONDITION": 4,
"FAILURE_CODE_ABORTED": 5,
"FAILURE_CODE_RESOURCE_EXHAUSTED": 6,
"FAILURE_CODE_UNAVAILABLE": 7,
"FAILURE_CODE_DEADLINE_EXCEEDED": 8,
"FAILURE_CODE_NOT_FOUND": 9,
"FAILURE_CODE_ALREADY_EXISTS": 10,
}
)
func (x FailureCode) Enum() *FailureCode {
p := new(FailureCode)
*p = x
return p
}
func (x FailureCode) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (FailureCode) Descriptor() protoreflect.EnumDescriptor {
return file_agent_agent_proto_enumTypes[1].Descriptor()
}
func (FailureCode) Type() protoreflect.EnumType {
return &file_agent_agent_proto_enumTypes[1]
}
func (x FailureCode) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use FailureCode.Descriptor instead.
func (FailureCode) EnumDescriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{1}
}
type ActivationState int32
const (
ActivationState_ACTIVATION_STATE_UNSPECIFIED ActivationState = 0
ActivationState_ACTIVATION_STATE_PENDING ActivationState = 1
ActivationState_ACTIVATION_STATE_ACTIVE ActivationState = 2
ActivationState_ACTIVATION_STATE_CONFLICT ActivationState = 3
ActivationState_ACTIVATION_STATE_REVOKED ActivationState = 4
)
// Enum value maps for ActivationState.
var (
ActivationState_name = map[int32]string{
0: "ACTIVATION_STATE_UNSPECIFIED",
1: "ACTIVATION_STATE_PENDING",
2: "ACTIVATION_STATE_ACTIVE",
3: "ACTIVATION_STATE_CONFLICT",
4: "ACTIVATION_STATE_REVOKED",
}
ActivationState_value = map[string]int32{
"ACTIVATION_STATE_UNSPECIFIED": 0,
"ACTIVATION_STATE_PENDING": 1,
"ACTIVATION_STATE_ACTIVE": 2,
"ACTIVATION_STATE_CONFLICT": 3,
"ACTIVATION_STATE_REVOKED": 4,
}
)
func (x ActivationState) Enum() *ActivationState {
p := new(ActivationState)
*p = x
return p
}
func (x ActivationState) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ActivationState) Descriptor() protoreflect.EnumDescriptor {
return file_agent_agent_proto_enumTypes[2].Descriptor()
}
func (ActivationState) Type() protoreflect.EnumType {
return &file_agent_agent_proto_enumTypes[2]
}
func (x ActivationState) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ActivationState.Descriptor instead.
func (ActivationState) EnumDescriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{2}
}
type AdmissionState int32
const (
AdmissionState_ADMISSION_STATE_UNSPECIFIED AdmissionState = 0
AdmissionState_ADMISSION_STATE_OPEN AdmissionState = 1
AdmissionState_ADMISSION_STATE_CLOSED AdmissionState = 2
AdmissionState_ADMISSION_STATE_DRAINING AdmissionState = 3
AdmissionState_ADMISSION_STATE_QUARANTINED AdmissionState = 4
)
// Enum value maps for AdmissionState.
var (
AdmissionState_name = map[int32]string{
0: "ADMISSION_STATE_UNSPECIFIED",
1: "ADMISSION_STATE_OPEN",
2: "ADMISSION_STATE_CLOSED",
3: "ADMISSION_STATE_DRAINING",
4: "ADMISSION_STATE_QUARANTINED",
}
AdmissionState_value = map[string]int32{
"ADMISSION_STATE_UNSPECIFIED": 0,
"ADMISSION_STATE_OPEN": 1,
"ADMISSION_STATE_CLOSED": 2,
"ADMISSION_STATE_DRAINING": 3,
"ADMISSION_STATE_QUARANTINED": 4,
}
)
func (x AdmissionState) Enum() *AdmissionState {
p := new(AdmissionState)
*p = x
return p
}
func (x AdmissionState) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (AdmissionState) Descriptor() protoreflect.EnumDescriptor {
return file_agent_agent_proto_enumTypes[3].Descriptor()
}
func (AdmissionState) Type() protoreflect.EnumType {
return &file_agent_agent_proto_enumTypes[3]
}
func (x AdmissionState) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use AdmissionState.Descriptor instead.
func (AdmissionState) EnumDescriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{3}
}
type ControlAction int32
const (
ControlAction_CONTROL_ACTION_UNSPECIFIED ControlAction = 0
ControlAction_CONTROL_ACTION_PAUSE ControlAction = 1
ControlAction_CONTROL_ACTION_RESUME ControlAction = 2
ControlAction_CONTROL_ACTION_STOP ControlAction = 3
)
// Enum value maps for ControlAction.
var (
ControlAction_name = map[int32]string{
0: "CONTROL_ACTION_UNSPECIFIED",
1: "CONTROL_ACTION_PAUSE",
2: "CONTROL_ACTION_RESUME",
3: "CONTROL_ACTION_STOP",
}
ControlAction_value = map[string]int32{
"CONTROL_ACTION_UNSPECIFIED": 0,
"CONTROL_ACTION_PAUSE": 1,
"CONTROL_ACTION_RESUME": 2,
"CONTROL_ACTION_STOP": 3,
}
)
func (x ControlAction) Enum() *ControlAction {
p := new(ControlAction)
*p = x
return p
}
func (x ControlAction) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ControlAction) Descriptor() protoreflect.EnumDescriptor {
return file_agent_agent_proto_enumTypes[4].Descriptor()
}
func (ControlAction) Type() protoreflect.EnumType {
return &file_agent_agent_proto_enumTypes[4]
}
func (x ControlAction) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ControlAction.Descriptor instead.
func (ControlAction) EnumDescriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{4}
}
type ActiveCallPolicy int32
const (
ActiveCallPolicy_ACTIVE_CALL_POLICY_UNSPECIFIED ActiveCallPolicy = 0
ActiveCallPolicy_ACTIVE_CALL_POLICY_DRAIN ActiveCallPolicy = 1
ActiveCallPolicy_ACTIVE_CALL_POLICY_HANGUP ActiveCallPolicy = 2
)
// Enum value maps for ActiveCallPolicy.
var (
ActiveCallPolicy_name = map[int32]string{
0: "ACTIVE_CALL_POLICY_UNSPECIFIED",
1: "ACTIVE_CALL_POLICY_DRAIN",
2: "ACTIVE_CALL_POLICY_HANGUP",
}
ActiveCallPolicy_value = map[string]int32{
"ACTIVE_CALL_POLICY_UNSPECIFIED": 0,
"ACTIVE_CALL_POLICY_DRAIN": 1,
"ACTIVE_CALL_POLICY_HANGUP": 2,
}
)
func (x ActiveCallPolicy) Enum() *ActiveCallPolicy {
p := new(ActiveCallPolicy)
*p = x
return p
}
func (x ActiveCallPolicy) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ActiveCallPolicy) Descriptor() protoreflect.EnumDescriptor {
return file_agent_agent_proto_enumTypes[5].Descriptor()
}
func (ActiveCallPolicy) Type() protoreflect.EnumType {
return &file_agent_agent_proto_enumTypes[5]
}
func (x ActiveCallPolicy) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ActiveCallPolicy.Descriptor instead.
func (ActiveCallPolicy) EnumDescriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{5}
}
type AssetKind int32
const (
AssetKind_ASSET_KIND_UNSPECIFIED AssetKind = 0
AssetKind_ASSET_KIND_RECORDING AssetKind = 1
AssetKind_ASSET_KIND_TRANSCRIPT AssetKind = 2
)
// Enum value maps for AssetKind.
var (
AssetKind_name = map[int32]string{
0: "ASSET_KIND_UNSPECIFIED",
1: "ASSET_KIND_RECORDING",
2: "ASSET_KIND_TRANSCRIPT",
}
AssetKind_value = map[string]int32{
"ASSET_KIND_UNSPECIFIED": 0,
"ASSET_KIND_RECORDING": 1,
"ASSET_KIND_TRANSCRIPT": 2,
}
)
func (x AssetKind) Enum() *AssetKind {
p := new(AssetKind)
*p = x
return p
}
func (x AssetKind) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (AssetKind) Descriptor() protoreflect.EnumDescriptor {
return file_agent_agent_proto_enumTypes[6].Descriptor()
}
func (AssetKind) Type() protoreflect.EnumType {
return &file_agent_agent_proto_enumTypes[6]
}
func (x AssetKind) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use AssetKind.Descriptor instead.
func (AssetKind) EnumDescriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{6}
}
type RequestMeta struct {
state protoimpl.MessageState `protogen:"open.v1"`
ProtocolVersion string `protobuf:"bytes,1,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"`
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
TraceId string `protobuf:"bytes,3,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
OperationId string `protobuf:"bytes,4,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
DeadlineUnixMs int64 `protobuf:"varint,5,opt,name=deadline_unix_ms,json=deadlineUnixMs,proto3" json:"deadline_unix_ms,omitempty"`
DispatcherEpoch string `protobuf:"bytes,6,opt,name=dispatcher_epoch,json=dispatcherEpoch,proto3" json:"dispatcher_epoch,omitempty"`
AgentId string `protobuf:"bytes,7,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
CellId string `protobuf:"bytes,8,opt,name=cell_id,json=cellId,proto3" json:"cell_id,omitempty"`
BootId string `protobuf:"bytes,9,opt,name=boot_id,json=bootId,proto3" json:"boot_id,omitempty"`
SessionGeneration uint64 `protobuf:"varint,10,opt,name=session_generation,json=sessionGeneration,proto3" json:"session_generation,omitempty"`
IdempotencyKey string `protobuf:"bytes,11,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RequestMeta) Reset() {
*x = RequestMeta{}
mi := &file_agent_agent_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RequestMeta) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RequestMeta) ProtoMessage() {}
func (x *RequestMeta) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RequestMeta.ProtoReflect.Descriptor instead.
func (*RequestMeta) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{0}
}
func (x *RequestMeta) GetProtocolVersion() string {
if x != nil {
return x.ProtocolVersion
}
return ""
}
func (x *RequestMeta) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
func (x *RequestMeta) GetTraceId() string {
if x != nil {
return x.TraceId
}
return ""
}
func (x *RequestMeta) GetOperationId() string {
if x != nil {
return x.OperationId
}
return ""
}
func (x *RequestMeta) GetDeadlineUnixMs() int64 {
if x != nil {
return x.DeadlineUnixMs
}
return 0
}
func (x *RequestMeta) GetDispatcherEpoch() string {
if x != nil {
return x.DispatcherEpoch
}
return ""
}
func (x *RequestMeta) GetAgentId() string {
if x != nil {
return x.AgentId
}
return ""
}
func (x *RequestMeta) GetCellId() string {
if x != nil {
return x.CellId
}
return ""
}
func (x *RequestMeta) GetBootId() string {
if x != nil {
return x.BootId
}
return ""
}
func (x *RequestMeta) GetSessionGeneration() uint64 {
if x != nil {
return x.SessionGeneration
}
return 0
}
func (x *RequestMeta) GetIdempotencyKey() string {
if x != nil {
return x.IdempotencyKey
}
return ""
}
type ResponseMeta struct {
state protoimpl.MessageState `protogen:"open.v1"`
ProtocolVersion string `protobuf:"bytes,1,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"`
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
TraceId string `protobuf:"bytes,3,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`
OperationId string `protobuf:"bytes,4,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
ObservedAtUnixMs int64 `protobuf:"varint,5,opt,name=observed_at_unix_ms,json=observedAtUnixMs,proto3" json:"observed_at_unix_ms,omitempty"`
DispatcherEpoch string `protobuf:"bytes,6,opt,name=dispatcher_epoch,json=dispatcherEpoch,proto3" json:"dispatcher_epoch,omitempty"`
AgentId string `protobuf:"bytes,7,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
CellId string `protobuf:"bytes,8,opt,name=cell_id,json=cellId,proto3" json:"cell_id,omitempty"`
BootId string `protobuf:"bytes,9,opt,name=boot_id,json=bootId,proto3" json:"boot_id,omitempty"`
SessionGeneration uint64 `protobuf:"varint,10,opt,name=session_generation,json=sessionGeneration,proto3" json:"session_generation,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ResponseMeta) Reset() {
*x = ResponseMeta{}
mi := &file_agent_agent_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ResponseMeta) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResponseMeta) ProtoMessage() {}
func (x *ResponseMeta) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ResponseMeta.ProtoReflect.Descriptor instead.
func (*ResponseMeta) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{1}
}
func (x *ResponseMeta) GetProtocolVersion() string {
if x != nil {
return x.ProtocolVersion
}
return ""
}
func (x *ResponseMeta) GetRequestId() string {
if x != nil {
return x.RequestId
}
return ""
}
func (x *ResponseMeta) GetTraceId() string {
if x != nil {
return x.TraceId
}
return ""
}
func (x *ResponseMeta) GetOperationId() string {
if x != nil {
return x.OperationId
}
return ""
}
func (x *ResponseMeta) GetObservedAtUnixMs() int64 {
if x != nil {
return x.ObservedAtUnixMs
}
return 0
}
func (x *ResponseMeta) GetDispatcherEpoch() string {
if x != nil {
return x.DispatcherEpoch
}
return ""
}
func (x *ResponseMeta) GetAgentId() string {
if x != nil {
return x.AgentId
}
return ""
}
func (x *ResponseMeta) GetCellId() string {
if x != nil {
return x.CellId
}
return ""
}
func (x *ResponseMeta) GetBootId() string {
if x != nil {
return x.BootId
}
return ""
}
func (x *ResponseMeta) GetSessionGeneration() uint64 {
if x != nil {
return x.SessionGeneration
}
return 0
}
type Failure struct {
state protoimpl.MessageState `protogen:"open.v1"`
Code FailureCode `protobuf:"varint,1,opt,name=code,proto3,enum=agent.FailureCode" json:"code,omitempty"`
Retryable bool `protobuf:"varint,2,opt,name=retryable,proto3" json:"retryable,omitempty"`
Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"`
Field string `protobuf:"bytes,4,opt,name=field,proto3" json:"field,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Failure) Reset() {
*x = Failure{}
mi := &file_agent_agent_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Failure) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Failure) ProtoMessage() {}
func (x *Failure) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Failure.ProtoReflect.Descriptor instead.
func (*Failure) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{2}
}
func (x *Failure) GetCode() FailureCode {
if x != nil {
return x.Code
}
return FailureCode_FAILURE_CODE_UNSPECIFIED
}
func (x *Failure) GetRetryable() bool {
if x != nil {
return x.Retryable
}
return false
}
func (x *Failure) GetDetail() string {
if x != nil {
return x.Detail
}
return ""
}
func (x *Failure) GetField() string {
if x != nil {
return x.Field
}
return ""
}
type OperationReceipt struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *ResponseMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Result ResultCode `protobuf:"varint,2,opt,name=result,proto3,enum=agent.ResultCode" json:"result,omitempty"`
Failure *Failure `protobuf:"bytes,3,opt,name=failure,proto3" json:"failure,omitempty"`
FactId string `protobuf:"bytes,4,opt,name=fact_id,json=factId,proto3" json:"fact_id,omitempty"`
ContentSha256 string `protobuf:"bytes,5,opt,name=content_sha256,json=contentSha256,proto3" json:"content_sha256,omitempty"`
AcceptedAtUnixMs int64 `protobuf:"varint,6,opt,name=accepted_at_unix_ms,json=acceptedAtUnixMs,proto3" json:"accepted_at_unix_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *OperationReceipt) Reset() {
*x = OperationReceipt{}
mi := &file_agent_agent_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *OperationReceipt) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OperationReceipt) ProtoMessage() {}
func (x *OperationReceipt) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use OperationReceipt.ProtoReflect.Descriptor instead.
func (*OperationReceipt) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{3}
}
func (x *OperationReceipt) GetMeta() *ResponseMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *OperationReceipt) GetResult() ResultCode {
if x != nil {
return x.Result
}
return ResultCode_RESULT_CODE_UNSPECIFIED
}
func (x *OperationReceipt) GetFailure() *Failure {
if x != nil {
return x.Failure
}
return nil
}
func (x *OperationReceipt) GetFactId() string {
if x != nil {
return x.FactId
}
return ""
}
func (x *OperationReceipt) GetContentSha256() string {
if x != nil {
return x.ContentSha256
}
return ""
}
func (x *OperationReceipt) GetAcceptedAtUnixMs() int64 {
if x != nil {
return x.AcceptedAtUnixMs
}
return 0
}
type AgentBinding struct {
state protoimpl.MessageState `protogen:"open.v1"`
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
CellId string `protobuf:"bytes,2,opt,name=cell_id,json=cellId,proto3" json:"cell_id,omitempty"`
ExpectedBootId string `protobuf:"bytes,3,opt,name=expected_boot_id,json=expectedBootId,proto3" json:"expected_boot_id,omitempty"`
DispatcherEpoch string `protobuf:"bytes,4,opt,name=dispatcher_epoch,json=dispatcherEpoch,proto3" json:"dispatcher_epoch,omitempty"`
SessionGeneration uint64 `protobuf:"varint,5,opt,name=session_generation,json=sessionGeneration,proto3" json:"session_generation,omitempty"`
EndpointId string `protobuf:"bytes,6,opt,name=endpoint_id,json=endpointId,proto3" json:"endpoint_id,omitempty"`
DispatcherId string `protobuf:"bytes,7,opt,name=dispatcher_id,json=dispatcherId,proto3" json:"dispatcher_id,omitempty"` // Bound to the active, authenticated D session.
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AgentBinding) Reset() {
*x = AgentBinding{}
mi := &file_agent_agent_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AgentBinding) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AgentBinding) ProtoMessage() {}
func (x *AgentBinding) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AgentBinding.ProtoReflect.Descriptor instead.
func (*AgentBinding) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{4}
}
func (x *AgentBinding) GetAgentId() string {
if x != nil {
return x.AgentId
}
return ""
}
func (x *AgentBinding) GetCellId() string {
if x != nil {
return x.CellId
}
return ""
}
func (x *AgentBinding) GetExpectedBootId() string {
if x != nil {
return x.ExpectedBootId
}
return ""
}
func (x *AgentBinding) GetDispatcherEpoch() string {
if x != nil {
return x.DispatcherEpoch
}
return ""
}
func (x *AgentBinding) GetSessionGeneration() uint64 {
if x != nil {
return x.SessionGeneration
}
return 0
}
func (x *AgentBinding) GetEndpointId() string {
if x != nil {
return x.EndpointId
}
return ""
}
func (x *AgentBinding) GetDispatcherId() string {
if x != nil {
return x.DispatcherId
}
return ""
}
type Capability struct {
state protoimpl.MessageState `protogen:"open.v1"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Capability) Reset() {
*x = Capability{}
mi := &file_agent_agent_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Capability) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Capability) ProtoMessage() {}
func (x *Capability) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Capability.ProtoReflect.Descriptor instead.
func (*Capability) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{5}
}
func (x *Capability) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Capability) GetVersion() string {
if x != nil {
return x.Version
}
return ""
}
func (x *Capability) GetValue() string {
if x != nil {
return x.Value
}
return ""
}
type ResourceSample struct {
state protoimpl.MessageState `protogen:"open.v1"`
ObservedAtUnixMs int64 `protobuf:"varint,1,opt,name=observed_at_unix_ms,json=observedAtUnixMs,proto3" json:"observed_at_unix_ms,omitempty"`
CpuUsedRatio float64 `protobuf:"fixed64,2,opt,name=cpu_used_ratio,json=cpuUsedRatio,proto3" json:"cpu_used_ratio,omitempty"`
MemoryAvailableBytes int64 `protobuf:"varint,3,opt,name=memory_available_bytes,json=memoryAvailableBytes,proto3" json:"memory_available_bytes,omitempty"`
FdUsed int64 `protobuf:"varint,4,opt,name=fd_used,json=fdUsed,proto3" json:"fd_used,omitempty"`
FdLimit int64 `protobuf:"varint,5,opt,name=fd_limit,json=fdLimit,proto3" json:"fd_limit,omitempty"`
SpoolUsedBytes int64 `protobuf:"varint,6,opt,name=spool_used_bytes,json=spoolUsedBytes,proto3" json:"spool_used_bytes,omitempty"`
SpoolCapacityBytes int64 `protobuf:"varint,7,opt,name=spool_capacity_bytes,json=spoolCapacityBytes,proto3" json:"spool_capacity_bytes,omitempty"`
MediaPortsUsed int64 `protobuf:"varint,8,opt,name=media_ports_used,json=mediaPortsUsed,proto3" json:"media_ports_used,omitempty"`
MediaPortsCapacity int64 `protobuf:"varint,9,opt,name=media_ports_capacity,json=mediaPortsCapacity,proto3" json:"media_ports_capacity,omitempty"`
SampleFresh bool `protobuf:"varint,10,opt,name=sample_fresh,json=sampleFresh,proto3" json:"sample_fresh,omitempty"`
MissingReason string `protobuf:"bytes,11,opt,name=missing_reason,json=missingReason,proto3" json:"missing_reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ResourceSample) Reset() {
*x = ResourceSample{}
mi := &file_agent_agent_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ResourceSample) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResourceSample) ProtoMessage() {}
func (x *ResourceSample) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ResourceSample.ProtoReflect.Descriptor instead.
func (*ResourceSample) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{6}
}
func (x *ResourceSample) GetObservedAtUnixMs() int64 {
if x != nil {
return x.ObservedAtUnixMs
}
return 0
}
func (x *ResourceSample) GetCpuUsedRatio() float64 {
if x != nil {
return x.CpuUsedRatio
}
return 0
}
func (x *ResourceSample) GetMemoryAvailableBytes() int64 {
if x != nil {
return x.MemoryAvailableBytes
}
return 0
}
func (x *ResourceSample) GetFdUsed() int64 {
if x != nil {
return x.FdUsed
}
return 0
}
func (x *ResourceSample) GetFdLimit() int64 {
if x != nil {
return x.FdLimit
}
return 0
}
func (x *ResourceSample) GetSpoolUsedBytes() int64 {
if x != nil {
return x.SpoolUsedBytes
}
return 0
}
func (x *ResourceSample) GetSpoolCapacityBytes() int64 {
if x != nil {
return x.SpoolCapacityBytes
}
return 0
}
func (x *ResourceSample) GetMediaPortsUsed() int64 {
if x != nil {
return x.MediaPortsUsed
}
return 0
}
func (x *ResourceSample) GetMediaPortsCapacity() int64 {
if x != nil {
return x.MediaPortsCapacity
}
return 0
}
func (x *ResourceSample) GetSampleFresh() bool {
if x != nil {
return x.SampleFresh
}
return false
}
func (x *ResourceSample) GetMissingReason() string {
if x != nil {
return x.MissingReason
}
return ""
}
// Optional status metadata is not an admission grant. The Dispatcher checks
// GetLoadedSIP revisions separately; a Mock status cannot prove Asterisk loaded
// the approved configuration.
type AppliedConfig struct {
state protoimpl.MessageState `protogen:"open.v1"`
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
Revision string `protobuf:"bytes,2,opt,name=revision,proto3" json:"revision,omitempty"`
ConfigSha256 string `protobuf:"bytes,3,opt,name=config_sha256,json=configSha256,proto3" json:"config_sha256,omitempty"`
State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
ObservedAtUnixMs int64 `protobuf:"varint,5,opt,name=observed_at_unix_ms,json=observedAtUnixMs,proto3" json:"observed_at_unix_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AppliedConfig) Reset() {
*x = AppliedConfig{}
mi := &file_agent_agent_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AppliedConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AppliedConfig) ProtoMessage() {}
func (x *AppliedConfig) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AppliedConfig.ProtoReflect.Descriptor instead.
func (*AppliedConfig) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{7}
}
func (x *AppliedConfig) GetKind() string {
if x != nil {
return x.Kind
}
return ""
}
func (x *AppliedConfig) GetRevision() string {
if x != nil {
return x.Revision
}
return ""
}
func (x *AppliedConfig) GetConfigSha256() string {
if x != nil {
return x.ConfigSha256
}
return ""
}
func (x *AppliedConfig) GetState() string {
if x != nil {
return x.State
}
return ""
}
func (x *AppliedConfig) GetObservedAtUnixMs() int64 {
if x != nil {
return x.ObservedAtUnixMs
}
return 0
}
type AgentStatus struct {
state protoimpl.MessageState `protogen:"open.v1"`
AgentId string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
CellId string `protobuf:"bytes,2,opt,name=cell_id,json=cellId,proto3" json:"cell_id,omitempty"`
BootId string `protobuf:"bytes,3,opt,name=boot_id,json=bootId,proto3" json:"boot_id,omitempty"`
SoftwareVersion string `protobuf:"bytes,4,opt,name=software_version,json=softwareVersion,proto3" json:"software_version,omitempty"`
ProtocolVersion string `protobuf:"bytes,5,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"`
AsteriskVersion string `protobuf:"bytes,6,opt,name=asterisk_version,json=asteriskVersion,proto3" json:"asterisk_version,omitempty"`
AdmissionState AdmissionState `protobuf:"varint,7,opt,name=admission_state,json=admissionState,proto3,enum=agent.AdmissionState" json:"admission_state,omitempty"`
Capabilities []*Capability `protobuf:"bytes,8,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
Resources *ResourceSample `protobuf:"bytes,9,opt,name=resources,proto3" json:"resources,omitempty"`
AppliedConfigs []*AppliedConfig `protobuf:"bytes,10,rep,name=applied_configs,json=appliedConfigs,proto3" json:"applied_configs,omitempty"`
MtlsAuthenticated bool `protobuf:"varint,11,opt,name=mtls_authenticated,json=mtlsAuthenticated,proto3" json:"mtls_authenticated,omitempty"`
SessionActive bool `protobuf:"varint,12,opt,name=session_active,json=sessionActive,proto3" json:"session_active,omitempty"`
StatusReason string `protobuf:"bytes,13,opt,name=status_reason,json=statusReason,proto3" json:"status_reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AgentStatus) Reset() {
*x = AgentStatus{}
mi := &file_agent_agent_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AgentStatus) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AgentStatus) ProtoMessage() {}
func (x *AgentStatus) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AgentStatus.ProtoReflect.Descriptor instead.
func (*AgentStatus) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{8}
}
func (x *AgentStatus) GetAgentId() string {
if x != nil {
return x.AgentId
}
return ""
}
func (x *AgentStatus) GetCellId() string {
if x != nil {
return x.CellId
}
return ""
}
func (x *AgentStatus) GetBootId() string {
if x != nil {
return x.BootId
}
return ""
}
func (x *AgentStatus) GetSoftwareVersion() string {
if x != nil {
return x.SoftwareVersion
}
return ""
}
func (x *AgentStatus) GetProtocolVersion() string {
if x != nil {
return x.ProtocolVersion
}
return ""
}
func (x *AgentStatus) GetAsteriskVersion() string {
if x != nil {
return x.AsteriskVersion
}
return ""
}
func (x *AgentStatus) GetAdmissionState() AdmissionState {
if x != nil {
return x.AdmissionState
}
return AdmissionState_ADMISSION_STATE_UNSPECIFIED
}
func (x *AgentStatus) GetCapabilities() []*Capability {
if x != nil {
return x.Capabilities
}
return nil
}
func (x *AgentStatus) GetResources() *ResourceSample {
if x != nil {
return x.Resources
}
return nil
}
func (x *AgentStatus) GetAppliedConfigs() []*AppliedConfig {
if x != nil {
return x.AppliedConfigs
}
return nil
}
func (x *AgentStatus) GetMtlsAuthenticated() bool {
if x != nil {
return x.MtlsAuthenticated
}
return false
}
func (x *AgentStatus) GetSessionActive() bool {
if x != nil {
return x.SessionActive
}
return false
}
func (x *AgentStatus) GetStatusReason() string {
if x != nil {
return x.StatusReason
}
return ""
}
type Session struct {
state protoimpl.MessageState `protogen:"open.v1"`
DispatcherEpoch string `protobuf:"bytes,1,opt,name=dispatcher_epoch,json=dispatcherEpoch,proto3" json:"dispatcher_epoch,omitempty"`
SessionGeneration uint64 `protobuf:"varint,2,opt,name=session_generation,json=sessionGeneration,proto3" json:"session_generation,omitempty"`
ExpiresAtUnixMs int64 `protobuf:"varint,3,opt,name=expires_at_unix_ms,json=expiresAtUnixMs,proto3" json:"expires_at_unix_ms,omitempty"`
SessionCredential []byte `protobuf:"bytes,4,opt,name=session_credential,json=sessionCredential,proto3" json:"session_credential,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Session) Reset() {
*x = Session{}
mi := &file_agent_agent_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Session) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Session) ProtoMessage() {}
func (x *Session) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Session.ProtoReflect.Descriptor instead.
func (*Session) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{9}
}
func (x *Session) GetDispatcherEpoch() string {
if x != nil {
return x.DispatcherEpoch
}
return ""
}
func (x *Session) GetSessionGeneration() uint64 {
if x != nil {
return x.SessionGeneration
}
return 0
}
func (x *Session) GetExpiresAtUnixMs() int64 {
if x != nil {
return x.ExpiresAtUnixMs
}
return 0
}
func (x *Session) GetSessionCredential() []byte {
if x != nil {
return x.SessionCredential
}
return nil
}
type AssetDescriptor struct {
state protoimpl.MessageState `protogen:"open.v1"`
Kind AssetKind `protobuf:"varint,1,opt,name=kind,proto3,enum=agent.AssetKind" json:"kind,omitempty"`
AssetId string `protobuf:"bytes,2,opt,name=asset_id,json=assetId,proto3" json:"asset_id,omitempty"`
CallId string `protobuf:"bytes,3,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"`
ExecutionId string `protobuf:"bytes,4,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
Format string `protobuf:"bytes,5,opt,name=format,proto3" json:"format,omitempty"`
SizeBytes int64 `protobuf:"varint,6,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
ChecksumSha256 string `protobuf:"bytes,7,opt,name=checksum_sha256,json=checksumSha256,proto3" json:"checksum_sha256,omitempty"`
Channels int32 `protobuf:"varint,8,opt,name=channels,proto3" json:"channels,omitempty"`
SampleRateHz int32 `protobuf:"varint,9,opt,name=sample_rate_hz,json=sampleRateHz,proto3" json:"sample_rate_hz,omitempty"`
DurationMs int64 `protobuf:"varint,10,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AssetDescriptor) Reset() {
*x = AssetDescriptor{}
mi := &file_agent_agent_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AssetDescriptor) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AssetDescriptor) ProtoMessage() {}
func (x *AssetDescriptor) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AssetDescriptor.ProtoReflect.Descriptor instead.
func (*AssetDescriptor) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{10}
}
func (x *AssetDescriptor) GetKind() AssetKind {
if x != nil {
return x.Kind
}
return AssetKind_ASSET_KIND_UNSPECIFIED
}
func (x *AssetDescriptor) GetAssetId() string {
if x != nil {
return x.AssetId
}
return ""
}
func (x *AssetDescriptor) GetCallId() string {
if x != nil {
return x.CallId
}
return ""
}
func (x *AssetDescriptor) GetExecutionId() string {
if x != nil {
return x.ExecutionId
}
return ""
}
func (x *AssetDescriptor) GetFormat() string {
if x != nil {
return x.Format
}
return ""
}
func (x *AssetDescriptor) GetSizeBytes() int64 {
if x != nil {
return x.SizeBytes
}
return 0
}
func (x *AssetDescriptor) GetChecksumSha256() string {
if x != nil {
return x.ChecksumSha256
}
return ""
}
func (x *AssetDescriptor) GetChannels() int32 {
if x != nil {
return x.Channels
}
return 0
}
func (x *AssetDescriptor) GetSampleRateHz() int32 {
if x != nil {
return x.SampleRateHz
}
return 0
}
func (x *AssetDescriptor) GetDurationMs() int64 {
if x != nil {
return x.DurationMs
}
return 0
}
type Header struct {
state protoimpl.MessageState `protogen:"open.v1"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Header) Reset() {
*x = Header{}
mi := &file_agent_agent_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Header) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Header) ProtoMessage() {}
func (x *Header) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Header.ProtoReflect.Descriptor instead.
func (*Header) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{11}
}
func (x *Header) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *Header) GetValue() string {
if x != nil {
return x.Value
}
return ""
}
type GetAgentStatusRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Target *AgentBinding `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAgentStatusRequest) Reset() {
*x = GetAgentStatusRequest{}
mi := &file_agent_agent_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAgentStatusRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAgentStatusRequest) ProtoMessage() {}
func (x *GetAgentStatusRequest) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAgentStatusRequest.ProtoReflect.Descriptor instead.
func (*GetAgentStatusRequest) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{12}
}
func (x *GetAgentStatusRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *GetAgentStatusRequest) GetTarget() *AgentBinding {
if x != nil {
return x.Target
}
return nil
}
type GetAgentStatusResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *ResponseMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Status *AgentStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
Failure *Failure `protobuf:"bytes,3,opt,name=failure,proto3" json:"failure,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAgentStatusResponse) Reset() {
*x = GetAgentStatusResponse{}
mi := &file_agent_agent_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAgentStatusResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAgentStatusResponse) ProtoMessage() {}
func (x *GetAgentStatusResponse) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAgentStatusResponse.ProtoReflect.Descriptor instead.
func (*GetAgentStatusResponse) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{13}
}
func (x *GetAgentStatusResponse) GetMeta() *ResponseMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *GetAgentStatusResponse) GetStatus() *AgentStatus {
if x != nil {
return x.Status
}
return nil
}
func (x *GetAgentStatusResponse) GetFailure() *Failure {
if x != nil {
return x.Failure
}
return nil
}
type ActivateAgentRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Binding *AgentBinding `protobuf:"bytes,2,opt,name=binding,proto3" json:"binding,omitempty"`
ActivationOperationId string `protobuf:"bytes,3,opt,name=activation_operation_id,json=activationOperationId,proto3" json:"activation_operation_id,omitempty"`
SessionNonce []byte `protobuf:"bytes,4,opt,name=session_nonce,json=sessionNonce,proto3" json:"session_nonce,omitempty"`
SessionExpiresAtUnixMs int64 `protobuf:"varint,5,opt,name=session_expires_at_unix_ms,json=sessionExpiresAtUnixMs,proto3" json:"session_expires_at_unix_ms,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ActivateAgentRequest) Reset() {
*x = ActivateAgentRequest{}
mi := &file_agent_agent_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ActivateAgentRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ActivateAgentRequest) ProtoMessage() {}
func (x *ActivateAgentRequest) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ActivateAgentRequest.ProtoReflect.Descriptor instead.
func (*ActivateAgentRequest) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{14}
}
func (x *ActivateAgentRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ActivateAgentRequest) GetBinding() *AgentBinding {
if x != nil {
return x.Binding
}
return nil
}
func (x *ActivateAgentRequest) GetActivationOperationId() string {
if x != nil {
return x.ActivationOperationId
}
return ""
}
func (x *ActivateAgentRequest) GetSessionNonce() []byte {
if x != nil {
return x.SessionNonce
}
return nil
}
func (x *ActivateAgentRequest) GetSessionExpiresAtUnixMs() int64 {
if x != nil {
return x.SessionExpiresAtUnixMs
}
return 0
}
type ActivateAgentResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *ResponseMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
State ActivationState `protobuf:"varint,2,opt,name=state,proto3,enum=agent.ActivationState" json:"state,omitempty"`
Session *Session `protobuf:"bytes,3,opt,name=session,proto3" json:"session,omitempty"`
Failure *Failure `protobuf:"bytes,4,opt,name=failure,proto3" json:"failure,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ActivateAgentResponse) Reset() {
*x = ActivateAgentResponse{}
mi := &file_agent_agent_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ActivateAgentResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ActivateAgentResponse) ProtoMessage() {}
func (x *ActivateAgentResponse) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ActivateAgentResponse.ProtoReflect.Descriptor instead.
func (*ActivateAgentResponse) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{15}
}
func (x *ActivateAgentResponse) GetMeta() *ResponseMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ActivateAgentResponse) GetState() ActivationState {
if x != nil {
return x.State
}
return ActivationState_ACTIVATION_STATE_UNSPECIFIED
}
func (x *ActivateAgentResponse) GetSession() *Session {
if x != nil {
return x.Session
}
return nil
}
func (x *ActivateAgentResponse) GetFailure() *Failure {
if x != nil {
return x.Failure
}
return nil
}
// Exact, immutable task/provider bytes and SIP revision accompany each
// authorized execution. Provider bytes may contain credentials: never log
// or persist this request body. The Agent checks session, binding and
// deadline, but does not recalculate the Dispatcher outbound policy.
type ExecuteApprovedRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
DispatcherId string `protobuf:"bytes,2,opt,name=dispatcher_id,json=dispatcherId,proto3" json:"dispatcher_id,omitempty"`
TenantId int64 `protobuf:"varint,3,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
TaskId string `protobuf:"bytes,4,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
SourceEventId string `protobuf:"bytes,5,opt,name=source_event_id,json=sourceEventId,proto3" json:"source_event_id,omitempty"`
CallId string `protobuf:"bytes,6,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"`
SelectedTrunkId string `protobuf:"bytes,7,opt,name=selected_trunk_id,json=selectedTrunkId,proto3" json:"selected_trunk_id,omitempty"`
CallerId string `protobuf:"bytes,8,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"`
Callee string `protobuf:"bytes,9,opt,name=callee,proto3" json:"callee,omitempty"`
DialedCallee string `protobuf:"bytes,10,opt,name=dialed_callee,json=dialedCallee,proto3" json:"dialed_callee,omitempty"`
RingTimeoutMs int64 `protobuf:"varint,11,opt,name=ring_timeout_ms,json=ringTimeoutMs,proto3" json:"ring_timeout_ms,omitempty"`
MaxCallDurationMs int64 `protobuf:"varint,12,opt,name=max_call_duration_ms,json=maxCallDurationMs,proto3" json:"max_call_duration_ms,omitempty"`
DialBeforeUnixMs int64 `protobuf:"varint,13,opt,name=dial_before_unix_ms,json=dialBeforeUnixMs,proto3" json:"dial_before_unix_ms,omitempty"`
SipRevision int64 `protobuf:"varint,14,opt,name=sip_revision,json=sipRevision,proto3" json:"sip_revision,omitempty"`
TaskConfigJson []byte `protobuf:"bytes,15,opt,name=task_config_json,json=taskConfigJson,proto3" json:"task_config_json,omitempty"`
ProvidersJson []byte `protobuf:"bytes,16,opt,name=providers_json,json=providersJson,proto3" json:"providers_json,omitempty"`
BindingSha256 string `protobuf:"bytes,17,opt,name=binding_sha256,json=bindingSha256,proto3" json:"binding_sha256,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ExecuteApprovedRequest) Reset() {
*x = ExecuteApprovedRequest{}
mi := &file_agent_agent_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ExecuteApprovedRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ExecuteApprovedRequest) ProtoMessage() {}
func (x *ExecuteApprovedRequest) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ExecuteApprovedRequest.ProtoReflect.Descriptor instead.
func (*ExecuteApprovedRequest) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{16}
}
func (x *ExecuteApprovedRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ExecuteApprovedRequest) GetDispatcherId() string {
if x != nil {
return x.DispatcherId
}
return ""
}
func (x *ExecuteApprovedRequest) GetTenantId() int64 {
if x != nil {
return x.TenantId
}
return 0
}
func (x *ExecuteApprovedRequest) GetTaskId() string {
if x != nil {
return x.TaskId
}
return ""
}
func (x *ExecuteApprovedRequest) GetSourceEventId() string {
if x != nil {
return x.SourceEventId
}
return ""
}
func (x *ExecuteApprovedRequest) GetCallId() string {
if x != nil {
return x.CallId
}
return ""
}
func (x *ExecuteApprovedRequest) GetSelectedTrunkId() string {
if x != nil {
return x.SelectedTrunkId
}
return ""
}
func (x *ExecuteApprovedRequest) GetCallerId() string {
if x != nil {
return x.CallerId
}
return ""
}
func (x *ExecuteApprovedRequest) GetCallee() string {
if x != nil {
return x.Callee
}
return ""
}
func (x *ExecuteApprovedRequest) GetDialedCallee() string {
if x != nil {
return x.DialedCallee
}
return ""
}
func (x *ExecuteApprovedRequest) GetRingTimeoutMs() int64 {
if x != nil {
return x.RingTimeoutMs
}
return 0
}
func (x *ExecuteApprovedRequest) GetMaxCallDurationMs() int64 {
if x != nil {
return x.MaxCallDurationMs
}
return 0
}
func (x *ExecuteApprovedRequest) GetDialBeforeUnixMs() int64 {
if x != nil {
return x.DialBeforeUnixMs
}
return 0
}
func (x *ExecuteApprovedRequest) GetSipRevision() int64 {
if x != nil {
return x.SipRevision
}
return 0
}
func (x *ExecuteApprovedRequest) GetTaskConfigJson() []byte {
if x != nil {
return x.TaskConfigJson
}
return nil
}
func (x *ExecuteApprovedRequest) GetProvidersJson() []byte {
if x != nil {
return x.ProvidersJson
}
return nil
}
func (x *ExecuteApprovedRequest) GetBindingSha256() string {
if x != nil {
return x.BindingSha256
}
return ""
}
type ExecuteApprovedResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
CallId string `protobuf:"bytes,1,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"`
Accepted bool `protobuf:"varint,2,opt,name=accepted,proto3" json:"accepted,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ExecuteApprovedResponse) Reset() {
*x = ExecuteApprovedResponse{}
mi := &file_agent_agent_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ExecuteApprovedResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ExecuteApprovedResponse) ProtoMessage() {}
func (x *ExecuteApprovedResponse) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ExecuteApprovedResponse.ProtoReflect.Descriptor instead.
func (*ExecuteApprovedResponse) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{17}
}
func (x *ExecuteApprovedResponse) GetCallId() string {
if x != nil {
return x.CallId
}
return ""
}
func (x *ExecuteApprovedResponse) GetAccepted() bool {
if x != nil {
return x.Accepted
}
return false
}
type GetLoadedSIPRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetLoadedSIPRequest) Reset() {
*x = GetLoadedSIPRequest{}
mi := &file_agent_agent_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetLoadedSIPRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetLoadedSIPRequest) ProtoMessage() {}
func (x *GetLoadedSIPRequest) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetLoadedSIPRequest.ProtoReflect.Descriptor instead.
func (*GetLoadedSIPRequest) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{18}
}
func (x *GetLoadedSIPRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
type GetLoadedSIPResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
TrunkRevision map[string]int64 `protobuf:"bytes,1,rep,name=trunk_revision,json=trunkRevision,proto3" json:"trunk_revision,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetLoadedSIPResponse) Reset() {
*x = GetLoadedSIPResponse{}
mi := &file_agent_agent_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetLoadedSIPResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetLoadedSIPResponse) ProtoMessage() {}
func (x *GetLoadedSIPResponse) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[19]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetLoadedSIPResponse.ProtoReflect.Descriptor instead.
func (*GetLoadedSIPResponse) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{19}
}
func (x *GetLoadedSIPResponse) GetTrunkRevision() map[string]int64 {
if x != nil {
return x.TrunkRevision
}
return nil
}
// Current task-level control has no external command ID, revision CAS or
// execution binding. The authenticated session must match dispatcher_id.
type ApplyApprovedTaskControlRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
DispatcherId string `protobuf:"bytes,2,opt,name=dispatcher_id,json=dispatcherId,proto3" json:"dispatcher_id,omitempty"`
TenantId int64 `protobuf:"varint,3,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
TaskId string `protobuf:"bytes,4,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
Action ControlAction `protobuf:"varint,5,opt,name=action,proto3,enum=agent.ControlAction" json:"action,omitempty"`
ActiveCallPolicy ActiveCallPolicy `protobuf:"varint,6,opt,name=active_call_policy,json=activeCallPolicy,proto3,enum=agent.ActiveCallPolicy" json:"active_call_policy,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ApplyApprovedTaskControlRequest) Reset() {
*x = ApplyApprovedTaskControlRequest{}
mi := &file_agent_agent_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ApplyApprovedTaskControlRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ApplyApprovedTaskControlRequest) ProtoMessage() {}
func (x *ApplyApprovedTaskControlRequest) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ApplyApprovedTaskControlRequest.ProtoReflect.Descriptor instead.
func (*ApplyApprovedTaskControlRequest) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{20}
}
func (x *ApplyApprovedTaskControlRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ApplyApprovedTaskControlRequest) GetDispatcherId() string {
if x != nil {
return x.DispatcherId
}
return ""
}
func (x *ApplyApprovedTaskControlRequest) GetTenantId() int64 {
if x != nil {
return x.TenantId
}
return 0
}
func (x *ApplyApprovedTaskControlRequest) GetTaskId() string {
if x != nil {
return x.TaskId
}
return ""
}
func (x *ApplyApprovedTaskControlRequest) GetAction() ControlAction {
if x != nil {
return x.Action
}
return ControlAction_CONTROL_ACTION_UNSPECIFIED
}
func (x *ApplyApprovedTaskControlRequest) GetActiveCallPolicy() ActiveCallPolicy {
if x != nil {
return x.ActiveCallPolicy
}
return ActiveCallPolicy_ACTIVE_CALL_POLICY_UNSPECIFIED
}
type ApplyApprovedTaskControlResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Accepted bool `protobuf:"varint,1,opt,name=accepted,proto3" json:"accepted,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ApplyApprovedTaskControlResponse) Reset() {
*x = ApplyApprovedTaskControlResponse{}
mi := &file_agent_agent_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ApplyApprovedTaskControlResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ApplyApprovedTaskControlResponse) ProtoMessage() {}
func (x *ApplyApprovedTaskControlResponse) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ApplyApprovedTaskControlResponse.ProtoReflect.Descriptor instead.
func (*ApplyApprovedTaskControlResponse) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{21}
}
func (x *ApplyApprovedTaskControlResponse) GetAccepted() bool {
if x != nil {
return x.Accepted
}
return false
}
type UploadGrant struct {
state protoimpl.MessageState `protogen:"open.v1"`
UploadId string `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"`
TargetUrl string `protobuf:"bytes,2,opt,name=target_url,json=targetUrl,proto3" json:"target_url,omitempty"`
Headers []*Header `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty"`
ExpiresAtUnixMs int64 `protobuf:"varint,4,opt,name=expires_at_unix_ms,json=expiresAtUnixMs,proto3" json:"expires_at_unix_ms,omitempty"`
ObjectKey string `protobuf:"bytes,5,opt,name=object_key,json=objectKey,proto3" json:"object_key,omitempty"`
RequiredChecksumSha256 string `protobuf:"bytes,6,opt,name=required_checksum_sha256,json=requiredChecksumSha256,proto3" json:"required_checksum_sha256,omitempty"`
MaxBytes int64 `protobuf:"varint,7,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
Bucket string `protobuf:"bytes,8,opt,name=bucket,proto3" json:"bucket,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UploadGrant) Reset() {
*x = UploadGrant{}
mi := &file_agent_agent_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UploadGrant) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UploadGrant) ProtoMessage() {}
func (x *UploadGrant) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[22]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UploadGrant.ProtoReflect.Descriptor instead.
func (*UploadGrant) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{22}
}
func (x *UploadGrant) GetUploadId() string {
if x != nil {
return x.UploadId
}
return ""
}
func (x *UploadGrant) GetTargetUrl() string {
if x != nil {
return x.TargetUrl
}
return ""
}
func (x *UploadGrant) GetHeaders() []*Header {
if x != nil {
return x.Headers
}
return nil
}
func (x *UploadGrant) GetExpiresAtUnixMs() int64 {
if x != nil {
return x.ExpiresAtUnixMs
}
return 0
}
func (x *UploadGrant) GetObjectKey() string {
if x != nil {
return x.ObjectKey
}
return ""
}
func (x *UploadGrant) GetRequiredChecksumSha256() string {
if x != nil {
return x.RequiredChecksumSha256
}
return ""
}
func (x *UploadGrant) GetMaxBytes() int64 {
if x != nil {
return x.MaxBytes
}
return 0
}
func (x *UploadGrant) GetBucket() string {
if x != nil {
return x.Bucket
}
return ""
}
// These facts refer only to the Dispatcher-approved execution identified by
// source_event_id; no audio bytes or temporary credential is persisted in MQ.
type RequestRecordingUploadRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
DispatcherId string `protobuf:"bytes,2,opt,name=dispatcher_id,json=dispatcherId,proto3" json:"dispatcher_id,omitempty"`
TenantId int64 `protobuf:"varint,3,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
SourceEventId string `protobuf:"bytes,4,opt,name=source_event_id,json=sourceEventId,proto3" json:"source_event_id,omitempty"`
UploadId string `protobuf:"bytes,5,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"`
Asset *AssetDescriptor `protobuf:"bytes,6,opt,name=asset,proto3" json:"asset,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RequestRecordingUploadRequest) Reset() {
*x = RequestRecordingUploadRequest{}
mi := &file_agent_agent_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RequestRecordingUploadRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RequestRecordingUploadRequest) ProtoMessage() {}
func (x *RequestRecordingUploadRequest) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[23]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RequestRecordingUploadRequest.ProtoReflect.Descriptor instead.
func (*RequestRecordingUploadRequest) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{23}
}
func (x *RequestRecordingUploadRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *RequestRecordingUploadRequest) GetDispatcherId() string {
if x != nil {
return x.DispatcherId
}
return ""
}
func (x *RequestRecordingUploadRequest) GetTenantId() int64 {
if x != nil {
return x.TenantId
}
return 0
}
func (x *RequestRecordingUploadRequest) GetSourceEventId() string {
if x != nil {
return x.SourceEventId
}
return ""
}
func (x *RequestRecordingUploadRequest) GetUploadId() string {
if x != nil {
return x.UploadId
}
return ""
}
func (x *RequestRecordingUploadRequest) GetAsset() *AssetDescriptor {
if x != nil {
return x.Asset
}
return nil
}
type RequestRecordingUploadResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Grant *UploadGrant `protobuf:"bytes,1,opt,name=grant,proto3" json:"grant,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RequestRecordingUploadResponse) Reset() {
*x = RequestRecordingUploadResponse{}
mi := &file_agent_agent_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RequestRecordingUploadResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RequestRecordingUploadResponse) ProtoMessage() {}
func (x *RequestRecordingUploadResponse) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[24]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RequestRecordingUploadResponse.ProtoReflect.Descriptor instead.
func (*RequestRecordingUploadResponse) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{24}
}
func (x *RequestRecordingUploadResponse) GetGrant() *UploadGrant {
if x != nil {
return x.Grant
}
return nil
}
type ReportCallEndedRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
DispatcherId string `protobuf:"bytes,2,opt,name=dispatcher_id,json=dispatcherId,proto3" json:"dispatcher_id,omitempty"`
TenantId int64 `protobuf:"varint,3,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
SourceEventId string `protobuf:"bytes,4,opt,name=source_event_id,json=sourceEventId,proto3" json:"source_event_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ReportCallEndedRequest) Reset() {
*x = ReportCallEndedRequest{}
mi := &file_agent_agent_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ReportCallEndedRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReportCallEndedRequest) ProtoMessage() {}
func (x *ReportCallEndedRequest) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[25]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ReportCallEndedRequest.ProtoReflect.Descriptor instead.
func (*ReportCallEndedRequest) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{25}
}
func (x *ReportCallEndedRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ReportCallEndedRequest) GetDispatcherId() string {
if x != nil {
return x.DispatcherId
}
return ""
}
func (x *ReportCallEndedRequest) GetTenantId() int64 {
if x != nil {
return x.TenantId
}
return 0
}
func (x *ReportCallEndedRequest) GetSourceEventId() string {
if x != nil {
return x.SourceEventId
}
return ""
}
type ReportCallEndedResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Receipt *OperationReceipt `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ReportCallEndedResponse) Reset() {
*x = ReportCallEndedResponse{}
mi := &file_agent_agent_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ReportCallEndedResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReportCallEndedResponse) ProtoMessage() {}
func (x *ReportCallEndedResponse) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[26]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ReportCallEndedResponse.ProtoReflect.Descriptor instead.
func (*ReportCallEndedResponse) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{26}
}
func (x *ReportCallEndedResponse) GetReceipt() *OperationReceipt {
if x != nil {
return x.Receipt
}
return nil
}
type UploadObservation struct {
state protoimpl.MessageState `protogen:"open.v1"`
UploadId string `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"`
RecordingId string `protobuf:"bytes,2,opt,name=recording_id,json=recordingId,proto3" json:"recording_id,omitempty"`
PutStatusCode int32 `protobuf:"varint,3,opt,name=put_status_code,json=putStatusCode,proto3" json:"put_status_code,omitempty"`
SizeBytes int64 `protobuf:"varint,4,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
ChecksumSha256 string `protobuf:"bytes,5,opt,name=checksum_sha256,json=checksumSha256,proto3" json:"checksum_sha256,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UploadObservation) Reset() {
*x = UploadObservation{}
mi := &file_agent_agent_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UploadObservation) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UploadObservation) ProtoMessage() {}
func (x *UploadObservation) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[27]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UploadObservation.ProtoReflect.Descriptor instead.
func (*UploadObservation) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{27}
}
func (x *UploadObservation) GetUploadId() string {
if x != nil {
return x.UploadId
}
return ""
}
func (x *UploadObservation) GetRecordingId() string {
if x != nil {
return x.RecordingId
}
return ""
}
func (x *UploadObservation) GetPutStatusCode() int32 {
if x != nil {
return x.PutStatusCode
}
return 0
}
func (x *UploadObservation) GetSizeBytes() int64 {
if x != nil {
return x.SizeBytes
}
return 0
}
func (x *UploadObservation) GetChecksumSha256() string {
if x != nil {
return x.ChecksumSha256
}
return ""
}
type ReportCallResultRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
DispatcherId string `protobuf:"bytes,2,opt,name=dispatcher_id,json=dispatcherId,proto3" json:"dispatcher_id,omitempty"`
TenantId int64 `protobuf:"varint,3,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
SourceEventId string `protobuf:"bytes,4,opt,name=source_event_id,json=sourceEventId,proto3" json:"source_event_id,omitempty"`
ResultPayloadJson []byte `protobuf:"bytes,5,opt,name=result_payload_json,json=resultPayloadJson,proto3" json:"result_payload_json,omitempty"`
Upload *UploadObservation `protobuf:"bytes,6,opt,name=upload,proto3" json:"upload,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ReportCallResultRequest) Reset() {
*x = ReportCallResultRequest{}
mi := &file_agent_agent_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ReportCallResultRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReportCallResultRequest) ProtoMessage() {}
func (x *ReportCallResultRequest) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[28]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ReportCallResultRequest.ProtoReflect.Descriptor instead.
func (*ReportCallResultRequest) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{28}
}
func (x *ReportCallResultRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ReportCallResultRequest) GetDispatcherId() string {
if x != nil {
return x.DispatcherId
}
return ""
}
func (x *ReportCallResultRequest) GetTenantId() int64 {
if x != nil {
return x.TenantId
}
return 0
}
func (x *ReportCallResultRequest) GetSourceEventId() string {
if x != nil {
return x.SourceEventId
}
return ""
}
func (x *ReportCallResultRequest) GetResultPayloadJson() []byte {
if x != nil {
return x.ResultPayloadJson
}
return nil
}
func (x *ReportCallResultRequest) GetUpload() *UploadObservation {
if x != nil {
return x.Upload
}
return nil
}
type ReportCallResultResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Receipt *OperationReceipt `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ReportCallResultResponse) Reset() {
*x = ReportCallResultResponse{}
mi := &file_agent_agent_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ReportCallResultResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReportCallResultResponse) ProtoMessage() {}
func (x *ReportCallResultResponse) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[29]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ReportCallResultResponse.ProtoReflect.Descriptor instead.
func (*ReportCallResultResponse) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{29}
}
func (x *ReportCallResultResponse) GetReceipt() *OperationReceipt {
if x != nil {
return x.Receipt
}
return nil
}
var File_agent_agent_proto protoreflect.FileDescriptor
const file_agent_agent_proto_rawDesc = "" +
"\n" +
"\x11agent/agent.proto\x12\x05agent\"\x8f\x03\n" +
"\vRequestMeta\x12)\n" +
"\x10protocol_version\x18\x01 \x01(\tR\x0fprotocolVersion\x12\x1d\n" +
"\n" +
"request_id\x18\x02 \x01(\tR\trequestId\x12\x19\n" +
"\btrace_id\x18\x03 \x01(\tR\atraceId\x12!\n" +
"\foperation_id\x18\x04 \x01(\tR\voperationId\x12(\n" +
"\x10deadline_unix_ms\x18\x05 \x01(\x03R\x0edeadlineUnixMs\x12)\n" +
"\x10dispatcher_epoch\x18\x06 \x01(\tR\x0fdispatcherEpoch\x12\x19\n" +
"\bagent_id\x18\a \x01(\tR\aagentId\x12\x17\n" +
"\acell_id\x18\b \x01(\tR\x06cellId\x12\x17\n" +
"\aboot_id\x18\t \x01(\tR\x06bootId\x12-\n" +
"\x12session_generation\x18\n" +
" \x01(\x04R\x11sessionGeneration\x12'\n" +
"\x0fidempotency_key\x18\v \x01(\tR\x0eidempotencyKey\"\xec\x02\n" +
"\fResponseMeta\x12)\n" +
"\x10protocol_version\x18\x01 \x01(\tR\x0fprotocolVersion\x12\x1d\n" +
"\n" +
"request_id\x18\x02 \x01(\tR\trequestId\x12\x19\n" +
"\btrace_id\x18\x03 \x01(\tR\atraceId\x12!\n" +
"\foperation_id\x18\x04 \x01(\tR\voperationId\x12-\n" +
"\x13observed_at_unix_ms\x18\x05 \x01(\x03R\x10observedAtUnixMs\x12)\n" +
"\x10dispatcher_epoch\x18\x06 \x01(\tR\x0fdispatcherEpoch\x12\x19\n" +
"\bagent_id\x18\a \x01(\tR\aagentId\x12\x17\n" +
"\acell_id\x18\b \x01(\tR\x06cellId\x12\x17\n" +
"\aboot_id\x18\t \x01(\tR\x06bootId\x12-\n" +
"\x12session_generation\x18\n" +
" \x01(\x04R\x11sessionGeneration\"}\n" +
"\aFailure\x12&\n" +
"\x04code\x18\x01 \x01(\x0e2\x12.agent.FailureCodeR\x04code\x12\x1c\n" +
"\tretryable\x18\x02 \x01(\bR\tretryable\x12\x16\n" +
"\x06detail\x18\x03 \x01(\tR\x06detail\x12\x14\n" +
"\x05field\x18\x04 \x01(\tR\x05field\"\xff\x01\n" +
"\x10OperationReceipt\x12'\n" +
"\x04meta\x18\x01 \x01(\v2\x13.agent.ResponseMetaR\x04meta\x12)\n" +
"\x06result\x18\x02 \x01(\x0e2\x11.agent.ResultCodeR\x06result\x12(\n" +
"\afailure\x18\x03 \x01(\v2\x0e.agent.FailureR\afailure\x12\x17\n" +
"\afact_id\x18\x04 \x01(\tR\x06factId\x12%\n" +
"\x0econtent_sha256\x18\x05 \x01(\tR\rcontentSha256\x12-\n" +
"\x13accepted_at_unix_ms\x18\x06 \x01(\x03R\x10acceptedAtUnixMs\"\x8c\x02\n" +
"\fAgentBinding\x12\x19\n" +
"\bagent_id\x18\x01 \x01(\tR\aagentId\x12\x17\n" +
"\acell_id\x18\x02 \x01(\tR\x06cellId\x12(\n" +
"\x10expected_boot_id\x18\x03 \x01(\tR\x0eexpectedBootId\x12)\n" +
"\x10dispatcher_epoch\x18\x04 \x01(\tR\x0fdispatcherEpoch\x12-\n" +
"\x12session_generation\x18\x05 \x01(\x04R\x11sessionGeneration\x12\x1f\n" +
"\vendpoint_id\x18\x06 \x01(\tR\n" +
"endpointId\x12#\n" +
"\rdispatcher_id\x18\a \x01(\tR\fdispatcherId\"P\n" +
"\n" +
"Capability\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" +
"\aversion\x18\x02 \x01(\tR\aversion\x12\x14\n" +
"\x05value\x18\x03 \x01(\tR\x05value\"\xd1\x03\n" +
"\x0eResourceSample\x12-\n" +
"\x13observed_at_unix_ms\x18\x01 \x01(\x03R\x10observedAtUnixMs\x12$\n" +
"\x0ecpu_used_ratio\x18\x02 \x01(\x01R\fcpuUsedRatio\x124\n" +
"\x16memory_available_bytes\x18\x03 \x01(\x03R\x14memoryAvailableBytes\x12\x17\n" +
"\afd_used\x18\x04 \x01(\x03R\x06fdUsed\x12\x19\n" +
"\bfd_limit\x18\x05 \x01(\x03R\afdLimit\x12(\n" +
"\x10spool_used_bytes\x18\x06 \x01(\x03R\x0espoolUsedBytes\x120\n" +
"\x14spool_capacity_bytes\x18\a \x01(\x03R\x12spoolCapacityBytes\x12(\n" +
"\x10media_ports_used\x18\b \x01(\x03R\x0emediaPortsUsed\x120\n" +
"\x14media_ports_capacity\x18\t \x01(\x03R\x12mediaPortsCapacity\x12!\n" +
"\fsample_fresh\x18\n" +
" \x01(\bR\vsampleFresh\x12%\n" +
"\x0emissing_reason\x18\v \x01(\tR\rmissingReason\"\xa9\x01\n" +
"\rAppliedConfig\x12\x12\n" +
"\x04kind\x18\x01 \x01(\tR\x04kind\x12\x1a\n" +
"\brevision\x18\x02 \x01(\tR\brevision\x12#\n" +
"\rconfig_sha256\x18\x03 \x01(\tR\fconfigSha256\x12\x14\n" +
"\x05state\x18\x04 \x01(\tR\x05state\x12-\n" +
"\x13observed_at_unix_ms\x18\x05 \x01(\x03R\x10observedAtUnixMs\"\xc1\x04\n" +
"\vAgentStatus\x12\x19\n" +
"\bagent_id\x18\x01 \x01(\tR\aagentId\x12\x17\n" +
"\acell_id\x18\x02 \x01(\tR\x06cellId\x12\x17\n" +
"\aboot_id\x18\x03 \x01(\tR\x06bootId\x12)\n" +
"\x10software_version\x18\x04 \x01(\tR\x0fsoftwareVersion\x12)\n" +
"\x10protocol_version\x18\x05 \x01(\tR\x0fprotocolVersion\x12)\n" +
"\x10asterisk_version\x18\x06 \x01(\tR\x0fasteriskVersion\x12>\n" +
"\x0fadmission_state\x18\a \x01(\x0e2\x15.agent.AdmissionStateR\x0eadmissionState\x125\n" +
"\fcapabilities\x18\b \x03(\v2\x11.agent.CapabilityR\fcapabilities\x123\n" +
"\tresources\x18\t \x01(\v2\x15.agent.ResourceSampleR\tresources\x12=\n" +
"\x0fapplied_configs\x18\n" +
" \x03(\v2\x14.agent.AppliedConfigR\x0eappliedConfigs\x12-\n" +
"\x12mtls_authenticated\x18\v \x01(\bR\x11mtlsAuthenticated\x12%\n" +
"\x0esession_active\x18\f \x01(\bR\rsessionActive\x12#\n" +
"\rstatus_reason\x18\r \x01(\tR\fstatusReason\"\xbf\x01\n" +
"\aSession\x12)\n" +
"\x10dispatcher_epoch\x18\x01 \x01(\tR\x0fdispatcherEpoch\x12-\n" +
"\x12session_generation\x18\x02 \x01(\x04R\x11sessionGeneration\x12+\n" +
"\x12expires_at_unix_ms\x18\x03 \x01(\x03R\x0fexpiresAtUnixMs\x12-\n" +
"\x12session_credential\x18\x04 \x01(\fR\x11sessionCredential\"\xd1\x02\n" +
"\x0fAssetDescriptor\x12$\n" +
"\x04kind\x18\x01 \x01(\x0e2\x10.agent.AssetKindR\x04kind\x12\x19\n" +
"\basset_id\x18\x02 \x01(\tR\aassetId\x12\x17\n" +
"\acall_id\x18\x03 \x01(\tR\x06callId\x12!\n" +
"\fexecution_id\x18\x04 \x01(\tR\vexecutionId\x12\x16\n" +
"\x06format\x18\x05 \x01(\tR\x06format\x12\x1d\n" +
"\n" +
"size_bytes\x18\x06 \x01(\x03R\tsizeBytes\x12'\n" +
"\x0fchecksum_sha256\x18\a \x01(\tR\x0echecksumSha256\x12\x1a\n" +
"\bchannels\x18\b \x01(\x05R\bchannels\x12$\n" +
"\x0esample_rate_hz\x18\t \x01(\x05R\fsampleRateHz\x12\x1f\n" +
"\vduration_ms\x18\n" +
" \x01(\x03R\n" +
"durationMs\"2\n" +
"\x06Header\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value\"l\n" +
"\x15GetAgentStatusRequest\x12&\n" +
"\x04meta\x18\x01 \x01(\v2\x12.agent.RequestMetaR\x04meta\x12+\n" +
"\x06target\x18\x02 \x01(\v2\x13.agent.AgentBindingR\x06target\"\x97\x01\n" +
"\x16GetAgentStatusResponse\x12'\n" +
"\x04meta\x18\x01 \x01(\v2\x13.agent.ResponseMetaR\x04meta\x12*\n" +
"\x06status\x18\x02 \x01(\v2\x12.agent.AgentStatusR\x06status\x12(\n" +
"\afailure\x18\x03 \x01(\v2\x0e.agent.FailureR\afailure\"\x86\x02\n" +
"\x14ActivateAgentRequest\x12&\n" +
"\x04meta\x18\x01 \x01(\v2\x12.agent.RequestMetaR\x04meta\x12-\n" +
"\abinding\x18\x02 \x01(\v2\x13.agent.AgentBindingR\abinding\x126\n" +
"\x17activation_operation_id\x18\x03 \x01(\tR\x15activationOperationId\x12#\n" +
"\rsession_nonce\x18\x04 \x01(\fR\fsessionNonce\x12:\n" +
"\x1asession_expires_at_unix_ms\x18\x05 \x01(\x03R\x16sessionExpiresAtUnixMs\"\xc2\x01\n" +
"\x15ActivateAgentResponse\x12'\n" +
"\x04meta\x18\x01 \x01(\v2\x13.agent.ResponseMetaR\x04meta\x12,\n" +
"\x05state\x18\x02 \x01(\x0e2\x16.agent.ActivationStateR\x05state\x12(\n" +
"\asession\x18\x03 \x01(\v2\x0e.agent.SessionR\asession\x12(\n" +
"\afailure\x18\x04 \x01(\v2\x0e.agent.FailureR\afailure\"\x85\x05\n" +
"\x16ExecuteApprovedRequest\x12&\n" +
"\x04meta\x18\x01 \x01(\v2\x12.agent.RequestMetaR\x04meta\x12#\n" +
"\rdispatcher_id\x18\x02 \x01(\tR\fdispatcherId\x12\x1b\n" +
"\ttenant_id\x18\x03 \x01(\x03R\btenantId\x12\x17\n" +
"\atask_id\x18\x04 \x01(\tR\x06taskId\x12&\n" +
"\x0fsource_event_id\x18\x05 \x01(\tR\rsourceEventId\x12\x17\n" +
"\acall_id\x18\x06 \x01(\tR\x06callId\x12*\n" +
"\x11selected_trunk_id\x18\a \x01(\tR\x0fselectedTrunkId\x12\x1b\n" +
"\tcaller_id\x18\b \x01(\tR\bcallerId\x12\x16\n" +
"\x06callee\x18\t \x01(\tR\x06callee\x12#\n" +
"\rdialed_callee\x18\n" +
" \x01(\tR\fdialedCallee\x12&\n" +
"\x0fring_timeout_ms\x18\v \x01(\x03R\rringTimeoutMs\x12/\n" +
"\x14max_call_duration_ms\x18\f \x01(\x03R\x11maxCallDurationMs\x12-\n" +
"\x13dial_before_unix_ms\x18\r \x01(\x03R\x10dialBeforeUnixMs\x12!\n" +
"\fsip_revision\x18\x0e \x01(\x03R\vsipRevision\x12(\n" +
"\x10task_config_json\x18\x0f \x01(\fR\x0etaskConfigJson\x12%\n" +
"\x0eproviders_json\x18\x10 \x01(\fR\rprovidersJson\x12%\n" +
"\x0ebinding_sha256\x18\x11 \x01(\tR\rbindingSha256\"N\n" +
"\x17ExecuteApprovedResponse\x12\x17\n" +
"\acall_id\x18\x01 \x01(\tR\x06callId\x12\x1a\n" +
"\baccepted\x18\x02 \x01(\bR\baccepted\"=\n" +
"\x13GetLoadedSIPRequest\x12&\n" +
"\x04meta\x18\x01 \x01(\v2\x12.agent.RequestMetaR\x04meta\"\xaf\x01\n" +
"\x14GetLoadedSIPResponse\x12U\n" +
"\x0etrunk_revision\x18\x01 \x03(\v2..agent.GetLoadedSIPResponse.TrunkRevisionEntryR\rtrunkRevision\x1a@\n" +
"\x12TrunkRevisionEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\x03R\x05value:\x028\x01\"\x99\x02\n" +
"\x1fApplyApprovedTaskControlRequest\x12&\n" +
"\x04meta\x18\x01 \x01(\v2\x12.agent.RequestMetaR\x04meta\x12#\n" +
"\rdispatcher_id\x18\x02 \x01(\tR\fdispatcherId\x12\x1b\n" +
"\ttenant_id\x18\x03 \x01(\x03R\btenantId\x12\x17\n" +
"\atask_id\x18\x04 \x01(\tR\x06taskId\x12,\n" +
"\x06action\x18\x05 \x01(\x0e2\x14.agent.ControlActionR\x06action\x12E\n" +
"\x12active_call_policy\x18\x06 \x01(\x0e2\x17.agent.ActiveCallPolicyR\x10activeCallPolicy\">\n" +
" ApplyApprovedTaskControlResponse\x12\x1a\n" +
"\baccepted\x18\x01 \x01(\bR\baccepted\"\xad\x02\n" +
"\vUploadGrant\x12\x1b\n" +
"\tupload_id\x18\x01 \x01(\tR\buploadId\x12\x1d\n" +
"\n" +
"target_url\x18\x02 \x01(\tR\ttargetUrl\x12'\n" +
"\aheaders\x18\x03 \x03(\v2\r.agent.HeaderR\aheaders\x12+\n" +
"\x12expires_at_unix_ms\x18\x04 \x01(\x03R\x0fexpiresAtUnixMs\x12\x1d\n" +
"\n" +
"object_key\x18\x05 \x01(\tR\tobjectKey\x128\n" +
"\x18required_checksum_sha256\x18\x06 \x01(\tR\x16requiredChecksumSha256\x12\x1b\n" +
"\tmax_bytes\x18\a \x01(\x03R\bmaxBytes\x12\x16\n" +
"\x06bucket\x18\b \x01(\tR\x06bucket\"\xfc\x01\n" +
"\x1dRequestRecordingUploadRequest\x12&\n" +
"\x04meta\x18\x01 \x01(\v2\x12.agent.RequestMetaR\x04meta\x12#\n" +
"\rdispatcher_id\x18\x02 \x01(\tR\fdispatcherId\x12\x1b\n" +
"\ttenant_id\x18\x03 \x01(\x03R\btenantId\x12&\n" +
"\x0fsource_event_id\x18\x04 \x01(\tR\rsourceEventId\x12\x1b\n" +
"\tupload_id\x18\x05 \x01(\tR\buploadId\x12,\n" +
"\x05asset\x18\x06 \x01(\v2\x16.agent.AssetDescriptorR\x05asset\"J\n" +
"\x1eRequestRecordingUploadResponse\x12(\n" +
"\x05grant\x18\x01 \x01(\v2\x12.agent.UploadGrantR\x05grant\"\xaa\x01\n" +
"\x16ReportCallEndedRequest\x12&\n" +
"\x04meta\x18\x01 \x01(\v2\x12.agent.RequestMetaR\x04meta\x12#\n" +
"\rdispatcher_id\x18\x02 \x01(\tR\fdispatcherId\x12\x1b\n" +
"\ttenant_id\x18\x03 \x01(\x03R\btenantId\x12&\n" +
"\x0fsource_event_id\x18\x04 \x01(\tR\rsourceEventId\"L\n" +
"\x17ReportCallEndedResponse\x121\n" +
"\areceipt\x18\x01 \x01(\v2\x17.agent.OperationReceiptR\areceipt\"\xc3\x01\n" +
"\x11UploadObservation\x12\x1b\n" +
"\tupload_id\x18\x01 \x01(\tR\buploadId\x12!\n" +
"\frecording_id\x18\x02 \x01(\tR\vrecordingId\x12&\n" +
"\x0fput_status_code\x18\x03 \x01(\x05R\rputStatusCode\x12\x1d\n" +
"\n" +
"size_bytes\x18\x04 \x01(\x03R\tsizeBytes\x12'\n" +
"\x0fchecksum_sha256\x18\x05 \x01(\tR\x0echecksumSha256\"\x8d\x02\n" +
"\x17ReportCallResultRequest\x12&\n" +
"\x04meta\x18\x01 \x01(\v2\x12.agent.RequestMetaR\x04meta\x12#\n" +
"\rdispatcher_id\x18\x02 \x01(\tR\fdispatcherId\x12\x1b\n" +
"\ttenant_id\x18\x03 \x01(\x03R\btenantId\x12&\n" +
"\x0fsource_event_id\x18\x04 \x01(\tR\rsourceEventId\x12.\n" +
"\x13result_payload_json\x18\x05 \x01(\fR\x11resultPayloadJson\x120\n" +
"\x06upload\x18\x06 \x01(\v2\x18.agent.UploadObservationR\x06upload\"M\n" +
"\x18ReportCallResultResponse\x121\n" +
"\areceipt\x18\x01 \x01(\v2\x17.agent.OperationReceiptR\areceipt*\xa9\x01\n" +
"\n" +
"ResultCode\x12\x1b\n" +
"\x17RESULT_CODE_UNSPECIFIED\x10\x00\x12\x18\n" +
"\x14RESULT_CODE_ACCEPTED\x10\x01\x12\x17\n" +
"\x13RESULT_CODE_APPLIED\x10\x02\x12\x18\n" +
"\x14RESULT_CODE_REJECTED\x10\x03\x12\x17\n" +
"\x13RESULT_CODE_UNKNOWN\x10\x04\x12\x18\n" +
"\x14RESULT_CODE_CONFLICT\x10\x05*\xf8\x02\n" +
"\vFailureCode\x12\x1c\n" +
"\x18FAILURE_CODE_UNSPECIFIED\x10\x00\x12!\n" +
"\x1dFAILURE_CODE_INVALID_ARGUMENT\x10\x01\x12 \n" +
"\x1cFAILURE_CODE_UNAUTHENTICATED\x10\x02\x12\"\n" +
"\x1eFAILURE_CODE_PERMISSION_DENIED\x10\x03\x12$\n" +
" FAILURE_CODE_FAILED_PRECONDITION\x10\x04\x12\x18\n" +
"\x14FAILURE_CODE_ABORTED\x10\x05\x12#\n" +
"\x1fFAILURE_CODE_RESOURCE_EXHAUSTED\x10\x06\x12\x1c\n" +
"\x18FAILURE_CODE_UNAVAILABLE\x10\a\x12\"\n" +
"\x1eFAILURE_CODE_DEADLINE_EXCEEDED\x10\b\x12\x1a\n" +
"\x16FAILURE_CODE_NOT_FOUND\x10\t\x12\x1f\n" +
"\x1bFAILURE_CODE_ALREADY_EXISTS\x10\n" +
"*\xab\x01\n" +
"\x0fActivationState\x12 \n" +
"\x1cACTIVATION_STATE_UNSPECIFIED\x10\x00\x12\x1c\n" +
"\x18ACTIVATION_STATE_PENDING\x10\x01\x12\x1b\n" +
"\x17ACTIVATION_STATE_ACTIVE\x10\x02\x12\x1d\n" +
"\x19ACTIVATION_STATE_CONFLICT\x10\x03\x12\x1c\n" +
"\x18ACTIVATION_STATE_REVOKED\x10\x04*\xa6\x01\n" +
"\x0eAdmissionState\x12\x1f\n" +
"\x1bADMISSION_STATE_UNSPECIFIED\x10\x00\x12\x18\n" +
"\x14ADMISSION_STATE_OPEN\x10\x01\x12\x1a\n" +
"\x16ADMISSION_STATE_CLOSED\x10\x02\x12\x1c\n" +
"\x18ADMISSION_STATE_DRAINING\x10\x03\x12\x1f\n" +
"\x1bADMISSION_STATE_QUARANTINED\x10\x04*}\n" +
"\rControlAction\x12\x1e\n" +
"\x1aCONTROL_ACTION_UNSPECIFIED\x10\x00\x12\x18\n" +
"\x14CONTROL_ACTION_PAUSE\x10\x01\x12\x19\n" +
"\x15CONTROL_ACTION_RESUME\x10\x02\x12\x17\n" +
"\x13CONTROL_ACTION_STOP\x10\x03*s\n" +
"\x10ActiveCallPolicy\x12\"\n" +
"\x1eACTIVE_CALL_POLICY_UNSPECIFIED\x10\x00\x12\x1c\n" +
"\x18ACTIVE_CALL_POLICY_DRAIN\x10\x01\x12\x1d\n" +
"\x19ACTIVE_CALL_POLICY_HANGUP\x10\x02*\\\n" +
"\tAssetKind\x12\x1a\n" +
"\x16ASSET_KIND_UNSPECIFIED\x10\x00\x12\x18\n" +
"\x14ASSET_KIND_RECORDING\x10\x01\x12\x19\n" +
"\x15ASSET_KIND_TRANSCRIPT\x10\x022\xc6\x05\n" +
"\x13AgentControlService\x12M\n" +
"\x0eGetAgentStatus\x12\x1c.agent.GetAgentStatusRequest\x1a\x1d.agent.GetAgentStatusResponse\x12J\n" +
"\rActivateAgent\x12\x1b.agent.ActivateAgentRequest\x1a\x1c.agent.ActivateAgentResponse\x12P\n" +
"\x0fExecuteApproved\x12\x1d.agent.ExecuteApprovedRequest\x1a\x1e.agent.ExecuteApprovedResponse\x12k\n" +
"\x18ApplyApprovedTaskControl\x12&.agent.ApplyApprovedTaskControlRequest\x1a'.agent.ApplyApprovedTaskControlResponse\x12G\n" +
"\fGetLoadedSIP\x12\x1a.agent.GetLoadedSIPRequest\x1a\x1b.agent.GetLoadedSIPResponse\x12e\n" +
"\x16RequestRecordingUpload\x12$.agent.RequestRecordingUploadRequest\x1a%.agent.RequestRecordingUploadResponse\x12P\n" +
"\x0fReportCallEnded\x12\x1d.agent.ReportCallEndedRequest\x1a\x1e.agent.ReportCallEndedResponse\x12S\n" +
"\x10ReportCallResult\x12\x1e.agent.ReportCallResultRequest\x1a\x1f.agent.ReportCallResultResponseB-Z+git.ipao.vip/rogee/go-sip/gen/agent;agentpbb\x06proto3"
var (
file_agent_agent_proto_rawDescOnce sync.Once
file_agent_agent_proto_rawDescData []byte
)
func file_agent_agent_proto_rawDescGZIP() []byte {
file_agent_agent_proto_rawDescOnce.Do(func() {
file_agent_agent_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_agent_agent_proto_rawDesc), len(file_agent_agent_proto_rawDesc)))
})
return file_agent_agent_proto_rawDescData
}
var file_agent_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 7)
var file_agent_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 31)
var file_agent_agent_proto_goTypes = []any{
(ResultCode)(0), // 0: agent.ResultCode
(FailureCode)(0), // 1: agent.FailureCode
(ActivationState)(0), // 2: agent.ActivationState
(AdmissionState)(0), // 3: agent.AdmissionState
(ControlAction)(0), // 4: agent.ControlAction
(ActiveCallPolicy)(0), // 5: agent.ActiveCallPolicy
(AssetKind)(0), // 6: agent.AssetKind
(*RequestMeta)(nil), // 7: agent.RequestMeta
(*ResponseMeta)(nil), // 8: agent.ResponseMeta
(*Failure)(nil), // 9: agent.Failure
(*OperationReceipt)(nil), // 10: agent.OperationReceipt
(*AgentBinding)(nil), // 11: agent.AgentBinding
(*Capability)(nil), // 12: agent.Capability
(*ResourceSample)(nil), // 13: agent.ResourceSample
(*AppliedConfig)(nil), // 14: agent.AppliedConfig
(*AgentStatus)(nil), // 15: agent.AgentStatus
(*Session)(nil), // 16: agent.Session
(*AssetDescriptor)(nil), // 17: agent.AssetDescriptor
(*Header)(nil), // 18: agent.Header
(*GetAgentStatusRequest)(nil), // 19: agent.GetAgentStatusRequest
(*GetAgentStatusResponse)(nil), // 20: agent.GetAgentStatusResponse
(*ActivateAgentRequest)(nil), // 21: agent.ActivateAgentRequest
(*ActivateAgentResponse)(nil), // 22: agent.ActivateAgentResponse
(*ExecuteApprovedRequest)(nil), // 23: agent.ExecuteApprovedRequest
(*ExecuteApprovedResponse)(nil), // 24: agent.ExecuteApprovedResponse
(*GetLoadedSIPRequest)(nil), // 25: agent.GetLoadedSIPRequest
(*GetLoadedSIPResponse)(nil), // 26: agent.GetLoadedSIPResponse
(*ApplyApprovedTaskControlRequest)(nil), // 27: agent.ApplyApprovedTaskControlRequest
(*ApplyApprovedTaskControlResponse)(nil), // 28: agent.ApplyApprovedTaskControlResponse
(*UploadGrant)(nil), // 29: agent.UploadGrant
(*RequestRecordingUploadRequest)(nil), // 30: agent.RequestRecordingUploadRequest
(*RequestRecordingUploadResponse)(nil), // 31: agent.RequestRecordingUploadResponse
(*ReportCallEndedRequest)(nil), // 32: agent.ReportCallEndedRequest
(*ReportCallEndedResponse)(nil), // 33: agent.ReportCallEndedResponse
(*UploadObservation)(nil), // 34: agent.UploadObservation
(*ReportCallResultRequest)(nil), // 35: agent.ReportCallResultRequest
(*ReportCallResultResponse)(nil), // 36: agent.ReportCallResultResponse
nil, // 37: agent.GetLoadedSIPResponse.TrunkRevisionEntry
}
var file_agent_agent_proto_depIdxs = []int32{
1, // 0: agent.Failure.code:type_name -> agent.FailureCode
8, // 1: agent.OperationReceipt.meta:type_name -> agent.ResponseMeta
0, // 2: agent.OperationReceipt.result:type_name -> agent.ResultCode
9, // 3: agent.OperationReceipt.failure:type_name -> agent.Failure
3, // 4: agent.AgentStatus.admission_state:type_name -> agent.AdmissionState
12, // 5: agent.AgentStatus.capabilities:type_name -> agent.Capability
13, // 6: agent.AgentStatus.resources:type_name -> agent.ResourceSample
14, // 7: agent.AgentStatus.applied_configs:type_name -> agent.AppliedConfig
6, // 8: agent.AssetDescriptor.kind:type_name -> agent.AssetKind
7, // 9: agent.GetAgentStatusRequest.meta:type_name -> agent.RequestMeta
11, // 10: agent.GetAgentStatusRequest.target:type_name -> agent.AgentBinding
8, // 11: agent.GetAgentStatusResponse.meta:type_name -> agent.ResponseMeta
15, // 12: agent.GetAgentStatusResponse.status:type_name -> agent.AgentStatus
9, // 13: agent.GetAgentStatusResponse.failure:type_name -> agent.Failure
7, // 14: agent.ActivateAgentRequest.meta:type_name -> agent.RequestMeta
11, // 15: agent.ActivateAgentRequest.binding:type_name -> agent.AgentBinding
8, // 16: agent.ActivateAgentResponse.meta:type_name -> agent.ResponseMeta
2, // 17: agent.ActivateAgentResponse.state:type_name -> agent.ActivationState
16, // 18: agent.ActivateAgentResponse.session:type_name -> agent.Session
9, // 19: agent.ActivateAgentResponse.failure:type_name -> agent.Failure
7, // 20: agent.ExecuteApprovedRequest.meta:type_name -> agent.RequestMeta
7, // 21: agent.GetLoadedSIPRequest.meta:type_name -> agent.RequestMeta
37, // 22: agent.GetLoadedSIPResponse.trunk_revision:type_name -> agent.GetLoadedSIPResponse.TrunkRevisionEntry
7, // 23: agent.ApplyApprovedTaskControlRequest.meta:type_name -> agent.RequestMeta
4, // 24: agent.ApplyApprovedTaskControlRequest.action:type_name -> agent.ControlAction
5, // 25: agent.ApplyApprovedTaskControlRequest.active_call_policy:type_name -> agent.ActiveCallPolicy
18, // 26: agent.UploadGrant.headers:type_name -> agent.Header
7, // 27: agent.RequestRecordingUploadRequest.meta:type_name -> agent.RequestMeta
17, // 28: agent.RequestRecordingUploadRequest.asset:type_name -> agent.AssetDescriptor
29, // 29: agent.RequestRecordingUploadResponse.grant:type_name -> agent.UploadGrant
7, // 30: agent.ReportCallEndedRequest.meta:type_name -> agent.RequestMeta
10, // 31: agent.ReportCallEndedResponse.receipt:type_name -> agent.OperationReceipt
7, // 32: agent.ReportCallResultRequest.meta:type_name -> agent.RequestMeta
34, // 33: agent.ReportCallResultRequest.upload:type_name -> agent.UploadObservation
10, // 34: agent.ReportCallResultResponse.receipt:type_name -> agent.OperationReceipt
19, // 35: agent.AgentControlService.GetAgentStatus:input_type -> agent.GetAgentStatusRequest
21, // 36: agent.AgentControlService.ActivateAgent:input_type -> agent.ActivateAgentRequest
23, // 37: agent.AgentControlService.ExecuteApproved:input_type -> agent.ExecuteApprovedRequest
27, // 38: agent.AgentControlService.ApplyApprovedTaskControl:input_type -> agent.ApplyApprovedTaskControlRequest
25, // 39: agent.AgentControlService.GetLoadedSIP:input_type -> agent.GetLoadedSIPRequest
30, // 40: agent.AgentControlService.RequestRecordingUpload:input_type -> agent.RequestRecordingUploadRequest
32, // 41: agent.AgentControlService.ReportCallEnded:input_type -> agent.ReportCallEndedRequest
35, // 42: agent.AgentControlService.ReportCallResult:input_type -> agent.ReportCallResultRequest
20, // 43: agent.AgentControlService.GetAgentStatus:output_type -> agent.GetAgentStatusResponse
22, // 44: agent.AgentControlService.ActivateAgent:output_type -> agent.ActivateAgentResponse
24, // 45: agent.AgentControlService.ExecuteApproved:output_type -> agent.ExecuteApprovedResponse
28, // 46: agent.AgentControlService.ApplyApprovedTaskControl:output_type -> agent.ApplyApprovedTaskControlResponse
26, // 47: agent.AgentControlService.GetLoadedSIP:output_type -> agent.GetLoadedSIPResponse
31, // 48: agent.AgentControlService.RequestRecordingUpload:output_type -> agent.RequestRecordingUploadResponse
33, // 49: agent.AgentControlService.ReportCallEnded:output_type -> agent.ReportCallEndedResponse
36, // 50: agent.AgentControlService.ReportCallResult:output_type -> agent.ReportCallResultResponse
43, // [43:51] is the sub-list for method output_type
35, // [35:43] is the sub-list for method input_type
35, // [35:35] is the sub-list for extension type_name
35, // [35:35] is the sub-list for extension extendee
0, // [0:35] is the sub-list for field type_name
}
func init() { file_agent_agent_proto_init() }
func file_agent_agent_proto_init() {
if File_agent_agent_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_agent_agent_proto_rawDesc), len(file_agent_agent_proto_rawDesc)),
NumEnums: 7,
NumMessages: 31,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_agent_agent_proto_goTypes,
DependencyIndexes: file_agent_agent_proto_depIdxs,
EnumInfos: file_agent_agent_proto_enumTypes,
MessageInfos: file_agent_agent_proto_msgTypes,
}.Build()
File_agent_agent_proto = out.File
file_agent_agent_proto_goTypes = nil
file_agent_agent_proto_depIdxs = nil
}