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

5537 lines
179 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 ExecutionState int32
const (
ExecutionState_EXECUTION_STATE_UNSPECIFIED ExecutionState = 0
ExecutionState_EXECUTION_STATE_PREPARED ExecutionState = 1
ExecutionState_EXECUTION_STATE_PERMIT_GRANTED ExecutionState = 2
ExecutionState_EXECUTION_STATE_DISPATCHING ExecutionState = 3
ExecutionState_EXECUTION_STATE_OBSERVED ExecutionState = 4
ExecutionState_EXECUTION_STATE_UNKNOWN ExecutionState = 5
ExecutionState_EXECUTION_STATE_TERMINAL ExecutionState = 6
)
// Enum value maps for ExecutionState.
var (
ExecutionState_name = map[int32]string{
0: "EXECUTION_STATE_UNSPECIFIED",
1: "EXECUTION_STATE_PREPARED",
2: "EXECUTION_STATE_PERMIT_GRANTED",
3: "EXECUTION_STATE_DISPATCHING",
4: "EXECUTION_STATE_OBSERVED",
5: "EXECUTION_STATE_UNKNOWN",
6: "EXECUTION_STATE_TERMINAL",
}
ExecutionState_value = map[string]int32{
"EXECUTION_STATE_UNSPECIFIED": 0,
"EXECUTION_STATE_PREPARED": 1,
"EXECUTION_STATE_PERMIT_GRANTED": 2,
"EXECUTION_STATE_DISPATCHING": 3,
"EXECUTION_STATE_OBSERVED": 4,
"EXECUTION_STATE_UNKNOWN": 5,
"EXECUTION_STATE_TERMINAL": 6,
}
)
func (x ExecutionState) Enum() *ExecutionState {
p := new(ExecutionState)
*p = x
return p
}
func (x ExecutionState) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ExecutionState) Descriptor() protoreflect.EnumDescriptor {
return file_agent_agent_proto_enumTypes[6].Descriptor()
}
func (ExecutionState) Type() protoreflect.EnumType {
return &file_agent_agent_proto_enumTypes[6]
}
func (x ExecutionState) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ExecutionState.Descriptor instead.
func (ExecutionState) EnumDescriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{6}
}
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[7].Descriptor()
}
func (AssetKind) Type() protoreflect.EnumType {
return &file_agent_agent_proto_enumTypes[7]
}
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{7}
}
type UploadState int32
const (
UploadState_UPLOAD_STATE_UNSPECIFIED UploadState = 0
UploadState_UPLOAD_STATE_REQUESTED UploadState = 1
UploadState_UPLOAD_STATE_COMPLETED UploadState = 3
UploadState_UPLOAD_STATE_FAILED UploadState = 4
)
// Enum value maps for UploadState.
var (
UploadState_name = map[int32]string{
0: "UPLOAD_STATE_UNSPECIFIED",
1: "UPLOAD_STATE_REQUESTED",
3: "UPLOAD_STATE_COMPLETED",
4: "UPLOAD_STATE_FAILED",
}
UploadState_value = map[string]int32{
"UPLOAD_STATE_UNSPECIFIED": 0,
"UPLOAD_STATE_REQUESTED": 1,
"UPLOAD_STATE_COMPLETED": 3,
"UPLOAD_STATE_FAILED": 4,
}
)
func (x UploadState) Enum() *UploadState {
p := new(UploadState)
*p = x
return p
}
func (x UploadState) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (UploadState) Descriptor() protoreflect.EnumDescriptor {
return file_agent_agent_proto_enumTypes[8].Descriptor()
}
func (UploadState) Type() protoreflect.EnumType {
return &file_agent_agent_proto_enumTypes[8]
}
func (x UploadState) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use UploadState.Descriptor instead.
func (UploadState) EnumDescriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{8}
}
type FactKind int32
const (
FactKind_FACT_KIND_UNSPECIFIED FactKind = 0
FactKind_FACT_KIND_EXECUTION_ACCEPTED FactKind = 1
FactKind_FACT_KIND_CALL_STATUS FactKind = 2
FactKind_FACT_KIND_CALL_FINISHED FactKind = 3
FactKind_FACT_KIND_TRANSCRIPT_UPDATED FactKind = 4
FactKind_FACT_KIND_TRANSCRIPT_FAILED FactKind = 5
FactKind_FACT_KIND_CONTACT_OPT_OUT FactKind = 6
FactKind_FACT_KIND_RECORDING_PROGRESS FactKind = 7
)
// Enum value maps for FactKind.
var (
FactKind_name = map[int32]string{
0: "FACT_KIND_UNSPECIFIED",
1: "FACT_KIND_EXECUTION_ACCEPTED",
2: "FACT_KIND_CALL_STATUS",
3: "FACT_KIND_CALL_FINISHED",
4: "FACT_KIND_TRANSCRIPT_UPDATED",
5: "FACT_KIND_TRANSCRIPT_FAILED",
6: "FACT_KIND_CONTACT_OPT_OUT",
7: "FACT_KIND_RECORDING_PROGRESS",
}
FactKind_value = map[string]int32{
"FACT_KIND_UNSPECIFIED": 0,
"FACT_KIND_EXECUTION_ACCEPTED": 1,
"FACT_KIND_CALL_STATUS": 2,
"FACT_KIND_CALL_FINISHED": 3,
"FACT_KIND_TRANSCRIPT_UPDATED": 4,
"FACT_KIND_TRANSCRIPT_FAILED": 5,
"FACT_KIND_CONTACT_OPT_OUT": 6,
"FACT_KIND_RECORDING_PROGRESS": 7,
}
)
func (x FactKind) Enum() *FactKind {
p := new(FactKind)
*p = x
return p
}
func (x FactKind) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (FactKind) Descriptor() protoreflect.EnumDescriptor {
return file_agent_agent_proto_enumTypes[9].Descriptor()
}
func (FactKind) Type() protoreflect.EnumType {
return &file_agent_agent_proto_enumTypes[9]
}
func (x FactKind) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use FactKind.Descriptor instead.
func (FactKind) EnumDescriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{9}
}
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 ""
}
// Project-local v0.1 status convention: exactly one kind="sip" entry identifies
// the SIP artifact loaded by the Agent/Asterisk; state="applied" means that exact
// artifact is active. revision and config_sha256 must match the approved artifact.
// Missing, duplicate, or mismatched SIP entries are unknown and fail closed.
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 ConfigReference struct {
state protoimpl.MessageState `protogen:"open.v1"`
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
Sha256 string `protobuf:"bytes,3,opt,name=sha256,proto3" json:"sha256,omitempty"`
Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ConfigReference) Reset() {
*x = ConfigReference{}
mi := &file_agent_agent_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ConfigReference) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConfigReference) ProtoMessage() {}
func (x *ConfigReference) 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 ConfigReference.ProtoReflect.Descriptor instead.
func (*ConfigReference) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{10}
}
func (x *ConfigReference) GetKind() string {
if x != nil {
return x.Kind
}
return ""
}
func (x *ConfigReference) GetVersion() string {
if x != nil {
return x.Version
}
return ""
}
func (x *ConfigReference) GetSha256() string {
if x != nil {
return x.Sha256
}
return ""
}
func (x *ConfigReference) GetSource() string {
if x != nil {
return x.Source
}
return ""
}
type UploadPolicy struct {
state protoimpl.MessageState `protogen:"open.v1"`
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
MaxAssetBytes int64 `protobuf:"varint,2,opt,name=max_asset_bytes,json=maxAssetBytes,proto3" json:"max_asset_bytes,omitempty"`
AllowedHosts []string `protobuf:"bytes,4,rep,name=allowed_hosts,json=allowedHosts,proto3" json:"allowed_hosts,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UploadPolicy) Reset() {
*x = UploadPolicy{}
mi := &file_agent_agent_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UploadPolicy) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UploadPolicy) ProtoMessage() {}
func (x *UploadPolicy) 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 UploadPolicy.ProtoReflect.Descriptor instead.
func (*UploadPolicy) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{11}
}
func (x *UploadPolicy) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
func (x *UploadPolicy) GetMaxAssetBytes() int64 {
if x != nil {
return x.MaxAssetBytes
}
return 0
}
func (x *UploadPolicy) GetAllowedHosts() []string {
if x != nil {
return x.AllowedHosts
}
return nil
}
type ExecutionBinding struct {
state protoimpl.MessageState `protogen:"open.v1"`
TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
TenantKey string `protobuf:"bytes,2,opt,name=tenant_key,json=tenantKey,proto3" json:"tenant_key,omitempty"`
ExecutionId string `protobuf:"bytes,3,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
TaskId string `protobuf:"bytes,4,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
TaskItemId string `protobuf:"bytes,5,opt,name=task_item_id,json=taskItemId,proto3" json:"task_item_id,omitempty"`
TaskRevision int64 `protobuf:"varint,6,opt,name=task_revision,json=taskRevision,proto3" json:"task_revision,omitempty"`
CallId string `protobuf:"bytes,7,opt,name=call_id,json=callId,proto3" json:"call_id,omitempty"`
AttemptId string `protobuf:"bytes,8,opt,name=attempt_id,json=attemptId,proto3" json:"attempt_id,omitempty"`
AgentVersionId string `protobuf:"bytes,9,opt,name=agent_version_id,json=agentVersionId,proto3" json:"agent_version_id,omitempty"`
RoutePolicyId string `protobuf:"bytes,10,opt,name=route_policy_id,json=routePolicyId,proto3" json:"route_policy_id,omitempty"`
CallerProfileId string `protobuf:"bytes,11,opt,name=caller_profile_id,json=callerProfileId,proto3" json:"caller_profile_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ExecutionBinding) Reset() {
*x = ExecutionBinding{}
mi := &file_agent_agent_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ExecutionBinding) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ExecutionBinding) ProtoMessage() {}
func (x *ExecutionBinding) 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 ExecutionBinding.ProtoReflect.Descriptor instead.
func (*ExecutionBinding) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{12}
}
func (x *ExecutionBinding) GetTenantId() string {
if x != nil {
return x.TenantId
}
return ""
}
func (x *ExecutionBinding) GetTenantKey() string {
if x != nil {
return x.TenantKey
}
return ""
}
func (x *ExecutionBinding) GetExecutionId() string {
if x != nil {
return x.ExecutionId
}
return ""
}
func (x *ExecutionBinding) GetTaskId() string {
if x != nil {
return x.TaskId
}
return ""
}
func (x *ExecutionBinding) GetTaskItemId() string {
if x != nil {
return x.TaskItemId
}
return ""
}
func (x *ExecutionBinding) GetTaskRevision() int64 {
if x != nil {
return x.TaskRevision
}
return 0
}
func (x *ExecutionBinding) GetCallId() string {
if x != nil {
return x.CallId
}
return ""
}
func (x *ExecutionBinding) GetAttemptId() string {
if x != nil {
return x.AttemptId
}
return ""
}
func (x *ExecutionBinding) GetAgentVersionId() string {
if x != nil {
return x.AgentVersionId
}
return ""
}
func (x *ExecutionBinding) GetRoutePolicyId() string {
if x != nil {
return x.RoutePolicyId
}
return ""
}
func (x *ExecutionBinding) GetCallerProfileId() string {
if x != nil {
return x.CallerProfileId
}
return ""
}
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[13]
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[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 AssetDescriptor.ProtoReflect.Descriptor instead.
func (*AssetDescriptor) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{13}
}
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[14]
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[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 Header.ProtoReflect.Descriptor instead.
func (*Header) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{14}
}
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[15]
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[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 GetAgentStatusRequest.ProtoReflect.Descriptor instead.
func (*GetAgentStatusRequest) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{15}
}
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[16]
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[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 GetAgentStatusResponse.ProtoReflect.Descriptor instead.
func (*GetAgentStatusResponse) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{16}
}
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[17]
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[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 ActivateAgentRequest.ProtoReflect.Descriptor instead.
func (*ActivateAgentRequest) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{17}
}
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[18]
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[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 ActivateAgentResponse.ProtoReflect.Descriptor instead.
func (*ActivateAgentResponse) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{18}
}
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
}
type GetBootstrapRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
AgentId string `protobuf:"bytes,2,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
CellId string `protobuf:"bytes,3,opt,name=cell_id,json=cellId,proto3" json:"cell_id,omitempty"`
BootId string `protobuf:"bytes,4,opt,name=boot_id,json=bootId,proto3" json:"boot_id,omitempty"`
SessionGeneration uint64 `protobuf:"varint,5,opt,name=session_generation,json=sessionGeneration,proto3" json:"session_generation,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetBootstrapRequest) Reset() {
*x = GetBootstrapRequest{}
mi := &file_agent_agent_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetBootstrapRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetBootstrapRequest) ProtoMessage() {}
func (x *GetBootstrapRequest) 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 GetBootstrapRequest.ProtoReflect.Descriptor instead.
func (*GetBootstrapRequest) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{19}
}
func (x *GetBootstrapRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *GetBootstrapRequest) GetAgentId() string {
if x != nil {
return x.AgentId
}
return ""
}
func (x *GetBootstrapRequest) GetCellId() string {
if x != nil {
return x.CellId
}
return ""
}
func (x *GetBootstrapRequest) GetBootId() string {
if x != nil {
return x.BootId
}
return ""
}
func (x *GetBootstrapRequest) GetSessionGeneration() uint64 {
if x != nil {
return x.SessionGeneration
}
return 0
}
type GetBootstrapResponse 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"`
RuntimeConfigs []*ConfigReference `protobuf:"bytes,3,rep,name=runtime_configs,json=runtimeConfigs,proto3" json:"runtime_configs,omitempty"`
UploadPolicy *UploadPolicy `protobuf:"bytes,4,opt,name=upload_policy,json=uploadPolicy,proto3" json:"upload_policy,omitempty"`
Failure *Failure `protobuf:"bytes,5,opt,name=failure,proto3" json:"failure,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetBootstrapResponse) Reset() {
*x = GetBootstrapResponse{}
mi := &file_agent_agent_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetBootstrapResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetBootstrapResponse) ProtoMessage() {}
func (x *GetBootstrapResponse) 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 GetBootstrapResponse.ProtoReflect.Descriptor instead.
func (*GetBootstrapResponse) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{20}
}
func (x *GetBootstrapResponse) GetMeta() *ResponseMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *GetBootstrapResponse) GetState() ActivationState {
if x != nil {
return x.State
}
return ActivationState_ACTIVATION_STATE_UNSPECIFIED
}
func (x *GetBootstrapResponse) GetRuntimeConfigs() []*ConfigReference {
if x != nil {
return x.RuntimeConfigs
}
return nil
}
func (x *GetBootstrapResponse) GetUploadPolicy() *UploadPolicy {
if x != nil {
return x.UploadPolicy
}
return nil
}
func (x *GetBootstrapResponse) GetFailure() *Failure {
if x != nil {
return x.Failure
}
return nil
}
type SetAdmissionStateRequest 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"`
State AdmissionState `protobuf:"varint,3,opt,name=state,proto3,enum=agent.AdmissionState" json:"state,omitempty"`
BarrierId string `protobuf:"bytes,4,opt,name=barrier_id,json=barrierId,proto3" json:"barrier_id,omitempty"`
ExpectedAdmissionGeneration uint64 `protobuf:"varint,5,opt,name=expected_admission_generation,json=expectedAdmissionGeneration,proto3" json:"expected_admission_generation,omitempty"`
Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetAdmissionStateRequest) Reset() {
*x = SetAdmissionStateRequest{}
mi := &file_agent_agent_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetAdmissionStateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetAdmissionStateRequest) ProtoMessage() {}
func (x *SetAdmissionStateRequest) 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 SetAdmissionStateRequest.ProtoReflect.Descriptor instead.
func (*SetAdmissionStateRequest) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{21}
}
func (x *SetAdmissionStateRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *SetAdmissionStateRequest) GetTarget() *AgentBinding {
if x != nil {
return x.Target
}
return nil
}
func (x *SetAdmissionStateRequest) GetState() AdmissionState {
if x != nil {
return x.State
}
return AdmissionState_ADMISSION_STATE_UNSPECIFIED
}
func (x *SetAdmissionStateRequest) GetBarrierId() string {
if x != nil {
return x.BarrierId
}
return ""
}
func (x *SetAdmissionStateRequest) GetExpectedAdmissionGeneration() uint64 {
if x != nil {
return x.ExpectedAdmissionGeneration
}
return 0
}
func (x *SetAdmissionStateRequest) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
type SetAdmissionStateResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Receipt *OperationReceipt `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"`
AppliedAdmissionGeneration uint64 `protobuf:"varint,2,opt,name=applied_admission_generation,json=appliedAdmissionGeneration,proto3" json:"applied_admission_generation,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SetAdmissionStateResponse) Reset() {
*x = SetAdmissionStateResponse{}
mi := &file_agent_agent_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SetAdmissionStateResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SetAdmissionStateResponse) ProtoMessage() {}
func (x *SetAdmissionStateResponse) 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 SetAdmissionStateResponse.ProtoReflect.Descriptor instead.
func (*SetAdmissionStateResponse) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{22}
}
func (x *SetAdmissionStateResponse) GetReceipt() *OperationReceipt {
if x != nil {
return x.Receipt
}
return nil
}
func (x *SetAdmissionStateResponse) GetAppliedAdmissionGeneration() uint64 {
if x != nil {
return x.AppliedAdmissionGeneration
}
return 0
}
type ExecuteRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Binding *ExecutionBinding `protobuf:"bytes,2,opt,name=binding,proto3" json:"binding,omitempty"`
CallExecuteJson []byte `protobuf:"bytes,3,opt,name=call_execute_json,json=callExecuteJson,proto3" json:"call_execute_json,omitempty"`
ConfigSha256 string `protobuf:"bytes,4,opt,name=config_sha256,json=configSha256,proto3" json:"config_sha256,omitempty"`
AdmissionGeneration uint64 `protobuf:"varint,5,opt,name=admission_generation,json=admissionGeneration,proto3" json:"admission_generation,omitempty"`
ResourceReservationId string `protobuf:"bytes,6,opt,name=resource_reservation_id,json=resourceReservationId,proto3" json:"resource_reservation_id,omitempty"`
PermitId string `protobuf:"bytes,7,opt,name=permit_id,json=permitId,proto3" json:"permit_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ExecuteRequest) Reset() {
*x = ExecuteRequest{}
mi := &file_agent_agent_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ExecuteRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ExecuteRequest) ProtoMessage() {}
func (x *ExecuteRequest) 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 ExecuteRequest.ProtoReflect.Descriptor instead.
func (*ExecuteRequest) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{23}
}
func (x *ExecuteRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ExecuteRequest) GetBinding() *ExecutionBinding {
if x != nil {
return x.Binding
}
return nil
}
func (x *ExecuteRequest) GetCallExecuteJson() []byte {
if x != nil {
return x.CallExecuteJson
}
return nil
}
func (x *ExecuteRequest) GetConfigSha256() string {
if x != nil {
return x.ConfigSha256
}
return ""
}
func (x *ExecuteRequest) GetAdmissionGeneration() uint64 {
if x != nil {
return x.AdmissionGeneration
}
return 0
}
func (x *ExecuteRequest) GetResourceReservationId() string {
if x != nil {
return x.ResourceReservationId
}
return ""
}
func (x *ExecuteRequest) GetPermitId() string {
if x != nil {
return x.PermitId
}
return ""
}
type ExecuteResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Receipt *OperationReceipt `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"`
State ExecutionState `protobuf:"varint,2,opt,name=state,proto3,enum=agent.ExecutionState" json:"state,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ExecuteResponse) Reset() {
*x = ExecuteResponse{}
mi := &file_agent_agent_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ExecuteResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ExecuteResponse) ProtoMessage() {}
func (x *ExecuteResponse) 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 ExecuteResponse.ProtoReflect.Descriptor instead.
func (*ExecuteResponse) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{24}
}
func (x *ExecuteResponse) GetReceipt() *OperationReceipt {
if x != nil {
return x.Receipt
}
return nil
}
func (x *ExecuteResponse) GetState() ExecutionState {
if x != nil {
return x.State
}
return ExecutionState_EXECUTION_STATE_UNSPECIFIED
}
// Versioned project-local D→Agent execution contract. Only the Dispatcher
// evaluates the task/line schedule, allowlist, route and effective duration.
// The Agent checks the authorized deadline and transport/session identity; it
// never selects another trunk or recalculates outbound business policy.
type ExecuteAuthorizedRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
SchemaVersion string `protobuf:"bytes,1,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"` // agent-authorized-origination.v0.1
Meta *RequestMeta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
Binding *ExecutionBinding `protobuf:"bytes,3,opt,name=binding,proto3" json:"binding,omitempty"`
SelectedTrunkId string `protobuf:"bytes,4,opt,name=selected_trunk_id,json=selectedTrunkId,proto3" json:"selected_trunk_id,omitempty"`
CallerId string `protobuf:"bytes,5,opt,name=caller_id,json=callerId,proto3" json:"caller_id,omitempty"`
Callee string `protobuf:"bytes,6,opt,name=callee,proto3" json:"callee,omitempty"`
RingTimeoutMs int64 `protobuf:"varint,7,opt,name=ring_timeout_ms,json=ringTimeoutMs,proto3" json:"ring_timeout_ms,omitempty"`
MaxCallDurationMs int64 `protobuf:"varint,8,opt,name=max_call_duration_ms,json=maxCallDurationMs,proto3" json:"max_call_duration_ms,omitempty"`
DialBeforeUnixMs int64 `protobuf:"varint,9,opt,name=dial_before_unix_ms,json=dialBeforeUnixMs,proto3" json:"dial_before_unix_ms,omitempty"` // Exclusive D-issued deadline.
BoundSnapshotSha256 string `protobuf:"bytes,10,opt,name=bound_snapshot_sha256,json=boundSnapshotSha256,proto3" json:"bound_snapshot_sha256,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ExecuteAuthorizedRequest) Reset() {
*x = ExecuteAuthorizedRequest{}
mi := &file_agent_agent_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ExecuteAuthorizedRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ExecuteAuthorizedRequest) ProtoMessage() {}
func (x *ExecuteAuthorizedRequest) 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 ExecuteAuthorizedRequest.ProtoReflect.Descriptor instead.
func (*ExecuteAuthorizedRequest) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{25}
}
func (x *ExecuteAuthorizedRequest) GetSchemaVersion() string {
if x != nil {
return x.SchemaVersion
}
return ""
}
func (x *ExecuteAuthorizedRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ExecuteAuthorizedRequest) GetBinding() *ExecutionBinding {
if x != nil {
return x.Binding
}
return nil
}
func (x *ExecuteAuthorizedRequest) GetSelectedTrunkId() string {
if x != nil {
return x.SelectedTrunkId
}
return ""
}
func (x *ExecuteAuthorizedRequest) GetCallerId() string {
if x != nil {
return x.CallerId
}
return ""
}
func (x *ExecuteAuthorizedRequest) GetCallee() string {
if x != nil {
return x.Callee
}
return ""
}
func (x *ExecuteAuthorizedRequest) GetRingTimeoutMs() int64 {
if x != nil {
return x.RingTimeoutMs
}
return 0
}
func (x *ExecuteAuthorizedRequest) GetMaxCallDurationMs() int64 {
if x != nil {
return x.MaxCallDurationMs
}
return 0
}
func (x *ExecuteAuthorizedRequest) GetDialBeforeUnixMs() int64 {
if x != nil {
return x.DialBeforeUnixMs
}
return 0
}
func (x *ExecuteAuthorizedRequest) GetBoundSnapshotSha256() string {
if x != nil {
return x.BoundSnapshotSha256
}
return ""
}
type ExecuteAuthorizedResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Receipt *OperationReceipt `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"`
State ExecutionState `protobuf:"varint,2,opt,name=state,proto3,enum=agent.ExecutionState" json:"state,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ExecuteAuthorizedResponse) Reset() {
*x = ExecuteAuthorizedResponse{}
mi := &file_agent_agent_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ExecuteAuthorizedResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ExecuteAuthorizedResponse) ProtoMessage() {}
func (x *ExecuteAuthorizedResponse) 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 ExecuteAuthorizedResponse.ProtoReflect.Descriptor instead.
func (*ExecuteAuthorizedResponse) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{26}
}
func (x *ExecuteAuthorizedResponse) GetReceipt() *OperationReceipt {
if x != nil {
return x.Receipt
}
return nil
}
func (x *ExecuteAuthorizedResponse) GetState() ExecutionState {
if x != nil {
return x.State
}
return ExecutionState_EXECUTION_STATE_UNSPECIFIED
}
// 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[27]
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[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 ExecuteApprovedRequest.ProtoReflect.Descriptor instead.
func (*ExecuteApprovedRequest) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{27}
}
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[28]
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[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 ExecuteApprovedResponse.ProtoReflect.Descriptor instead.
func (*ExecuteApprovedResponse) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{28}
}
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[29]
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[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 GetLoadedSIPRequest.ProtoReflect.Descriptor instead.
func (*GetLoadedSIPRequest) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{29}
}
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[30]
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[30]
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{30}
}
func (x *GetLoadedSIPResponse) GetTrunkRevision() map[string]int64 {
if x != nil {
return x.TrunkRevision
}
return nil
}
type GetExecutionPermitRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Binding *ExecutionBinding `protobuf:"bytes,2,opt,name=binding,proto3" json:"binding,omitempty"`
ResourceReservationId string `protobuf:"bytes,3,opt,name=resource_reservation_id,json=resourceReservationId,proto3" json:"resource_reservation_id,omitempty"`
ExpectedTaskRevision int64 `protobuf:"varint,4,opt,name=expected_task_revision,json=expectedTaskRevision,proto3" json:"expected_task_revision,omitempty"`
AdmissionGeneration uint64 `protobuf:"varint,5,opt,name=admission_generation,json=admissionGeneration,proto3" json:"admission_generation,omitempty"`
ConfigSha256 string `protobuf:"bytes,6,opt,name=config_sha256,json=configSha256,proto3" json:"config_sha256,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetExecutionPermitRequest) Reset() {
*x = GetExecutionPermitRequest{}
mi := &file_agent_agent_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetExecutionPermitRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetExecutionPermitRequest) ProtoMessage() {}
func (x *GetExecutionPermitRequest) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[31]
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 GetExecutionPermitRequest.ProtoReflect.Descriptor instead.
func (*GetExecutionPermitRequest) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{31}
}
func (x *GetExecutionPermitRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *GetExecutionPermitRequest) GetBinding() *ExecutionBinding {
if x != nil {
return x.Binding
}
return nil
}
func (x *GetExecutionPermitRequest) GetResourceReservationId() string {
if x != nil {
return x.ResourceReservationId
}
return ""
}
func (x *GetExecutionPermitRequest) GetExpectedTaskRevision() int64 {
if x != nil {
return x.ExpectedTaskRevision
}
return 0
}
func (x *GetExecutionPermitRequest) GetAdmissionGeneration() uint64 {
if x != nil {
return x.AdmissionGeneration
}
return 0
}
func (x *GetExecutionPermitRequest) GetConfigSha256() string {
if x != nil {
return x.ConfigSha256
}
return ""
}
type ExecutionPermit struct {
state protoimpl.MessageState `protogen:"open.v1"`
PermitId string `protobuf:"bytes,1,opt,name=permit_id,json=permitId,proto3" json:"permit_id,omitempty"`
ResourceReservationId string `protobuf:"bytes,2,opt,name=resource_reservation_id,json=resourceReservationId,proto3" json:"resource_reservation_id,omitempty"`
IssuedAtUnixMs int64 `protobuf:"varint,3,opt,name=issued_at_unix_ms,json=issuedAtUnixMs,proto3" json:"issued_at_unix_ms,omitempty"`
ExpiresAtUnixMs int64 `protobuf:"varint,4,opt,name=expires_at_unix_ms,json=expiresAtUnixMs,proto3" json:"expires_at_unix_ms,omitempty"`
DispatcherEpoch string `protobuf:"bytes,5,opt,name=dispatcher_epoch,json=dispatcherEpoch,proto3" json:"dispatcher_epoch,omitempty"`
SessionGeneration uint64 `protobuf:"varint,6,opt,name=session_generation,json=sessionGeneration,proto3" json:"session_generation,omitempty"`
FencingToken string `protobuf:"bytes,7,opt,name=fencing_token,json=fencingToken,proto3" json:"fencing_token,omitempty"`
ConfigSha256 string `protobuf:"bytes,8,opt,name=config_sha256,json=configSha256,proto3" json:"config_sha256,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ExecutionPermit) Reset() {
*x = ExecutionPermit{}
mi := &file_agent_agent_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ExecutionPermit) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ExecutionPermit) ProtoMessage() {}
func (x *ExecutionPermit) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[32]
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 ExecutionPermit.ProtoReflect.Descriptor instead.
func (*ExecutionPermit) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{32}
}
func (x *ExecutionPermit) GetPermitId() string {
if x != nil {
return x.PermitId
}
return ""
}
func (x *ExecutionPermit) GetResourceReservationId() string {
if x != nil {
return x.ResourceReservationId
}
return ""
}
func (x *ExecutionPermit) GetIssuedAtUnixMs() int64 {
if x != nil {
return x.IssuedAtUnixMs
}
return 0
}
func (x *ExecutionPermit) GetExpiresAtUnixMs() int64 {
if x != nil {
return x.ExpiresAtUnixMs
}
return 0
}
func (x *ExecutionPermit) GetDispatcherEpoch() string {
if x != nil {
return x.DispatcherEpoch
}
return ""
}
func (x *ExecutionPermit) GetSessionGeneration() uint64 {
if x != nil {
return x.SessionGeneration
}
return 0
}
func (x *ExecutionPermit) GetFencingToken() string {
if x != nil {
return x.FencingToken
}
return ""
}
func (x *ExecutionPermit) GetConfigSha256() string {
if x != nil {
return x.ConfigSha256
}
return ""
}
type GetExecutionPermitResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Receipt *OperationReceipt `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"`
Permit *ExecutionPermit `protobuf:"bytes,2,opt,name=permit,proto3" json:"permit,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetExecutionPermitResponse) Reset() {
*x = GetExecutionPermitResponse{}
mi := &file_agent_agent_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetExecutionPermitResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetExecutionPermitResponse) ProtoMessage() {}
func (x *GetExecutionPermitResponse) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[33]
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 GetExecutionPermitResponse.ProtoReflect.Descriptor instead.
func (*GetExecutionPermitResponse) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{33}
}
func (x *GetExecutionPermitResponse) GetReceipt() *OperationReceipt {
if x != nil {
return x.Receipt
}
return nil
}
func (x *GetExecutionPermitResponse) GetPermit() *ExecutionPermit {
if x != nil {
return x.Permit
}
return nil
}
type ApplyTaskControlRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Binding *ExecutionBinding `protobuf:"bytes,2,opt,name=binding,proto3" json:"binding,omitempty"`
Action ControlAction `protobuf:"varint,3,opt,name=action,proto3,enum=agent.ControlAction" json:"action,omitempty"`
ActiveCallPolicy ActiveCallPolicy `protobuf:"varint,4,opt,name=active_call_policy,json=activeCallPolicy,proto3,enum=agent.ActiveCallPolicy" json:"active_call_policy,omitempty"`
ExpectedTaskRevision int64 `protobuf:"varint,5,opt,name=expected_task_revision,json=expectedTaskRevision,proto3" json:"expected_task_revision,omitempty"`
Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ApplyTaskControlRequest) Reset() {
*x = ApplyTaskControlRequest{}
mi := &file_agent_agent_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ApplyTaskControlRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ApplyTaskControlRequest) ProtoMessage() {}
func (x *ApplyTaskControlRequest) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[34]
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 ApplyTaskControlRequest.ProtoReflect.Descriptor instead.
func (*ApplyTaskControlRequest) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{34}
}
func (x *ApplyTaskControlRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ApplyTaskControlRequest) GetBinding() *ExecutionBinding {
if x != nil {
return x.Binding
}
return nil
}
func (x *ApplyTaskControlRequest) GetAction() ControlAction {
if x != nil {
return x.Action
}
return ControlAction_CONTROL_ACTION_UNSPECIFIED
}
func (x *ApplyTaskControlRequest) GetActiveCallPolicy() ActiveCallPolicy {
if x != nil {
return x.ActiveCallPolicy
}
return ActiveCallPolicy_ACTIVE_CALL_POLICY_UNSPECIFIED
}
func (x *ApplyTaskControlRequest) GetExpectedTaskRevision() int64 {
if x != nil {
return x.ExpectedTaskRevision
}
return 0
}
func (x *ApplyTaskControlRequest) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
type ApplyTaskControlResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Receipt *OperationReceipt `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"`
AppliedTaskRevision int64 `protobuf:"varint,2,opt,name=applied_task_revision,json=appliedTaskRevision,proto3" json:"applied_task_revision,omitempty"`
State ExecutionState `protobuf:"varint,3,opt,name=state,proto3,enum=agent.ExecutionState" json:"state,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ApplyTaskControlResponse) Reset() {
*x = ApplyTaskControlResponse{}
mi := &file_agent_agent_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ApplyTaskControlResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ApplyTaskControlResponse) ProtoMessage() {}
func (x *ApplyTaskControlResponse) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[35]
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 ApplyTaskControlResponse.ProtoReflect.Descriptor instead.
func (*ApplyTaskControlResponse) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{35}
}
func (x *ApplyTaskControlResponse) GetReceipt() *OperationReceipt {
if x != nil {
return x.Receipt
}
return nil
}
func (x *ApplyTaskControlResponse) GetAppliedTaskRevision() int64 {
if x != nil {
return x.AppliedTaskRevision
}
return 0
}
func (x *ApplyTaskControlResponse) GetState() ExecutionState {
if x != nil {
return x.State
}
return ExecutionState_EXECUTION_STATE_UNSPECIFIED
}
// 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[36]
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[36]
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{36}
}
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[37]
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[37]
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{37}
}
func (x *ApplyApprovedTaskControlResponse) GetAccepted() bool {
if x != nil {
return x.Accepted
}
return false
}
type QueryExecutionRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Binding *ExecutionBinding `protobuf:"bytes,2,opt,name=binding,proto3" json:"binding,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *QueryExecutionRequest) Reset() {
*x = QueryExecutionRequest{}
mi := &file_agent_agent_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *QueryExecutionRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*QueryExecutionRequest) ProtoMessage() {}
func (x *QueryExecutionRequest) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[38]
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 QueryExecutionRequest.ProtoReflect.Descriptor instead.
func (*QueryExecutionRequest) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{38}
}
func (x *QueryExecutionRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *QueryExecutionRequest) GetBinding() *ExecutionBinding {
if x != nil {
return x.Binding
}
return nil
}
type ExecutionSnapshot struct {
state protoimpl.MessageState `protogen:"open.v1"`
Binding *ExecutionBinding `protobuf:"bytes,1,opt,name=binding,proto3" json:"binding,omitempty"`
State ExecutionState `protobuf:"varint,2,opt,name=state,proto3,enum=agent.ExecutionState" json:"state,omitempty"`
CallState string `protobuf:"bytes,3,opt,name=call_state,json=callState,proto3" json:"call_state,omitempty"`
AttemptId string `protobuf:"bytes,4,opt,name=attempt_id,json=attemptId,proto3" json:"attempt_id,omitempty"`
ReasonCode string `protobuf:"bytes,5,opt,name=reason_code,json=reasonCode,proto3" json:"reason_code,omitempty"`
ObservedAtUnixMs int64 `protobuf:"varint,6,opt,name=observed_at_unix_ms,json=observedAtUnixMs,proto3" json:"observed_at_unix_ms,omitempty"`
Unknown bool `protobuf:"varint,7,opt,name=unknown,proto3" json:"unknown,omitempty"`
Assets []*AssetDescriptor `protobuf:"bytes,8,rep,name=assets,proto3" json:"assets,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ExecutionSnapshot) Reset() {
*x = ExecutionSnapshot{}
mi := &file_agent_agent_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ExecutionSnapshot) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ExecutionSnapshot) ProtoMessage() {}
func (x *ExecutionSnapshot) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[39]
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 ExecutionSnapshot.ProtoReflect.Descriptor instead.
func (*ExecutionSnapshot) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{39}
}
func (x *ExecutionSnapshot) GetBinding() *ExecutionBinding {
if x != nil {
return x.Binding
}
return nil
}
func (x *ExecutionSnapshot) GetState() ExecutionState {
if x != nil {
return x.State
}
return ExecutionState_EXECUTION_STATE_UNSPECIFIED
}
func (x *ExecutionSnapshot) GetCallState() string {
if x != nil {
return x.CallState
}
return ""
}
func (x *ExecutionSnapshot) GetAttemptId() string {
if x != nil {
return x.AttemptId
}
return ""
}
func (x *ExecutionSnapshot) GetReasonCode() string {
if x != nil {
return x.ReasonCode
}
return ""
}
func (x *ExecutionSnapshot) GetObservedAtUnixMs() int64 {
if x != nil {
return x.ObservedAtUnixMs
}
return 0
}
func (x *ExecutionSnapshot) GetUnknown() bool {
if x != nil {
return x.Unknown
}
return false
}
func (x *ExecutionSnapshot) GetAssets() []*AssetDescriptor {
if x != nil {
return x.Assets
}
return nil
}
type QueryExecutionResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *ResponseMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Snapshot *ExecutionSnapshot `protobuf:"bytes,2,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
Failure *Failure `protobuf:"bytes,3,opt,name=failure,proto3" json:"failure,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *QueryExecutionResponse) Reset() {
*x = QueryExecutionResponse{}
mi := &file_agent_agent_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *QueryExecutionResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*QueryExecutionResponse) ProtoMessage() {}
func (x *QueryExecutionResponse) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[40]
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 QueryExecutionResponse.ProtoReflect.Descriptor instead.
func (*QueryExecutionResponse) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{40}
}
func (x *QueryExecutionResponse) GetMeta() *ResponseMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *QueryExecutionResponse) GetSnapshot() *ExecutionSnapshot {
if x != nil {
return x.Snapshot
}
return nil
}
func (x *QueryExecutionResponse) GetFailure() *Failure {
if x != nil {
return x.Failure
}
return nil
}
type ExecutionFact struct {
state protoimpl.MessageState `protogen:"open.v1"`
FactId string `protobuf:"bytes,1,opt,name=fact_id,json=factId,proto3" json:"fact_id,omitempty"`
ContentSha256 string `protobuf:"bytes,2,opt,name=content_sha256,json=contentSha256,proto3" json:"content_sha256,omitempty"`
Binding *ExecutionBinding `protobuf:"bytes,3,opt,name=binding,proto3" json:"binding,omitempty"`
Kind FactKind `protobuf:"varint,4,opt,name=kind,proto3,enum=agent.FactKind" json:"kind,omitempty"`
ObservedAtUnixMs int64 `protobuf:"varint,5,opt,name=observed_at_unix_ms,json=observedAtUnixMs,proto3" json:"observed_at_unix_ms,omitempty"`
SourceBootId string `protobuf:"bytes,6,opt,name=source_boot_id,json=sourceBootId,proto3" json:"source_boot_id,omitempty"`
SourceSequence uint64 `protobuf:"varint,7,opt,name=source_sequence,json=sourceSequence,proto3" json:"source_sequence,omitempty"`
PayloadJson []byte `protobuf:"bytes,8,opt,name=payload_json,json=payloadJson,proto3" json:"payload_json,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ExecutionFact) Reset() {
*x = ExecutionFact{}
mi := &file_agent_agent_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ExecutionFact) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ExecutionFact) ProtoMessage() {}
func (x *ExecutionFact) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[41]
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 ExecutionFact.ProtoReflect.Descriptor instead.
func (*ExecutionFact) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{41}
}
func (x *ExecutionFact) GetFactId() string {
if x != nil {
return x.FactId
}
return ""
}
func (x *ExecutionFact) GetContentSha256() string {
if x != nil {
return x.ContentSha256
}
return ""
}
func (x *ExecutionFact) GetBinding() *ExecutionBinding {
if x != nil {
return x.Binding
}
return nil
}
func (x *ExecutionFact) GetKind() FactKind {
if x != nil {
return x.Kind
}
return FactKind_FACT_KIND_UNSPECIFIED
}
func (x *ExecutionFact) GetObservedAtUnixMs() int64 {
if x != nil {
return x.ObservedAtUnixMs
}
return 0
}
func (x *ExecutionFact) GetSourceBootId() string {
if x != nil {
return x.SourceBootId
}
return ""
}
func (x *ExecutionFact) GetSourceSequence() uint64 {
if x != nil {
return x.SourceSequence
}
return 0
}
func (x *ExecutionFact) GetPayloadJson() []byte {
if x != nil {
return x.PayloadJson
}
return nil
}
type ReportExecutionEventRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Fact *ExecutionFact `protobuf:"bytes,2,opt,name=fact,proto3" json:"fact,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ReportExecutionEventRequest) Reset() {
*x = ReportExecutionEventRequest{}
mi := &file_agent_agent_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ReportExecutionEventRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReportExecutionEventRequest) ProtoMessage() {}
func (x *ReportExecutionEventRequest) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[42]
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 ReportExecutionEventRequest.ProtoReflect.Descriptor instead.
func (*ReportExecutionEventRequest) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{42}
}
func (x *ReportExecutionEventRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *ReportExecutionEventRequest) GetFact() *ExecutionFact {
if x != nil {
return x.Fact
}
return nil
}
type ReportExecutionEventResponse 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 *ReportExecutionEventResponse) Reset() {
*x = ReportExecutionEventResponse{}
mi := &file_agent_agent_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ReportExecutionEventResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ReportExecutionEventResponse) ProtoMessage() {}
func (x *ReportExecutionEventResponse) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[43]
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 ReportExecutionEventResponse.ProtoReflect.Descriptor instead.
func (*ReportExecutionEventResponse) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{43}
}
func (x *ReportExecutionEventResponse) GetReceipt() *OperationReceipt {
if x != nil {
return x.Receipt
}
return nil
}
type RequestUploadRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Binding *ExecutionBinding `protobuf:"bytes,2,opt,name=binding,proto3" json:"binding,omitempty"`
Asset *AssetDescriptor `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"`
UploadId string `protobuf:"bytes,4,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RequestUploadRequest) Reset() {
*x = RequestUploadRequest{}
mi := &file_agent_agent_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RequestUploadRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RequestUploadRequest) ProtoMessage() {}
func (x *RequestUploadRequest) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[44]
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 RequestUploadRequest.ProtoReflect.Descriptor instead.
func (*RequestUploadRequest) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{44}
}
func (x *RequestUploadRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *RequestUploadRequest) GetBinding() *ExecutionBinding {
if x != nil {
return x.Binding
}
return nil
}
func (x *RequestUploadRequest) GetAsset() *AssetDescriptor {
if x != nil {
return x.Asset
}
return nil
}
func (x *RequestUploadRequest) GetUploadId() string {
if x != nil {
return x.UploadId
}
return ""
}
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[45]
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[45]
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{45}
}
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 ""
}
type RequestUploadResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Receipt *OperationReceipt `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"`
Grant *UploadGrant `protobuf:"bytes,2,opt,name=grant,proto3" json:"grant,omitempty"`
State UploadState `protobuf:"varint,3,opt,name=state,proto3,enum=agent.UploadState" json:"state,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RequestUploadResponse) Reset() {
*x = RequestUploadResponse{}
mi := &file_agent_agent_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RequestUploadResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RequestUploadResponse) ProtoMessage() {}
func (x *RequestUploadResponse) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[46]
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 RequestUploadResponse.ProtoReflect.Descriptor instead.
func (*RequestUploadResponse) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{46}
}
func (x *RequestUploadResponse) GetReceipt() *OperationReceipt {
if x != nil {
return x.Receipt
}
return nil
}
func (x *RequestUploadResponse) GetGrant() *UploadGrant {
if x != nil {
return x.Grant
}
return nil
}
func (x *RequestUploadResponse) GetState() UploadState {
if x != nil {
return x.State
}
return UploadState_UPLOAD_STATE_UNSPECIFIED
}
type CompleteUploadRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Meta *RequestMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
Binding *ExecutionBinding `protobuf:"bytes,2,opt,name=binding,proto3" json:"binding,omitempty"`
Asset *AssetDescriptor `protobuf:"bytes,3,opt,name=asset,proto3" json:"asset,omitempty"`
UploadId string `protobuf:"bytes,4,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"`
UploadedSizeBytes int64 `protobuf:"varint,5,opt,name=uploaded_size_bytes,json=uploadedSizeBytes,proto3" json:"uploaded_size_bytes,omitempty"`
UploadedChecksumSha256 string `protobuf:"bytes,6,opt,name=uploaded_checksum_sha256,json=uploadedChecksumSha256,proto3" json:"uploaded_checksum_sha256,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CompleteUploadRequest) Reset() {
*x = CompleteUploadRequest{}
mi := &file_agent_agent_proto_msgTypes[47]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CompleteUploadRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CompleteUploadRequest) ProtoMessage() {}
func (x *CompleteUploadRequest) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[47]
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 CompleteUploadRequest.ProtoReflect.Descriptor instead.
func (*CompleteUploadRequest) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{47}
}
func (x *CompleteUploadRequest) GetMeta() *RequestMeta {
if x != nil {
return x.Meta
}
return nil
}
func (x *CompleteUploadRequest) GetBinding() *ExecutionBinding {
if x != nil {
return x.Binding
}
return nil
}
func (x *CompleteUploadRequest) GetAsset() *AssetDescriptor {
if x != nil {
return x.Asset
}
return nil
}
func (x *CompleteUploadRequest) GetUploadId() string {
if x != nil {
return x.UploadId
}
return ""
}
func (x *CompleteUploadRequest) GetUploadedSizeBytes() int64 {
if x != nil {
return x.UploadedSizeBytes
}
return 0
}
func (x *CompleteUploadRequest) GetUploadedChecksumSha256() string {
if x != nil {
return x.UploadedChecksumSha256
}
return ""
}
type CompleteUploadResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Receipt *OperationReceipt `protobuf:"bytes,1,opt,name=receipt,proto3" json:"receipt,omitempty"`
State UploadState `protobuf:"varint,2,opt,name=state,proto3,enum=agent.UploadState" json:"state,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CompleteUploadResponse) Reset() {
*x = CompleteUploadResponse{}
mi := &file_agent_agent_proto_msgTypes[48]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CompleteUploadResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CompleteUploadResponse) ProtoMessage() {}
func (x *CompleteUploadResponse) ProtoReflect() protoreflect.Message {
mi := &file_agent_agent_proto_msgTypes[48]
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 CompleteUploadResponse.ProtoReflect.Descriptor instead.
func (*CompleteUploadResponse) Descriptor() ([]byte, []int) {
return file_agent_agent_proto_rawDescGZIP(), []int{48}
}
func (x *CompleteUploadResponse) GetReceipt() *OperationReceipt {
if x != nil {
return x.Receipt
}
return nil
}
func (x *CompleteUploadResponse) GetState() UploadState {
if x != nil {
return x.State
}
return UploadState_UPLOAD_STATE_UNSPECIFIED
}
// 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[49]
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[49]
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{49}
}
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[50]
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[50]
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{50}
}
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[51]
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[51]
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{51}
}
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[52]
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[52]
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{52}
}
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[53]
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[53]
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{53}
}
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[54]
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[54]
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{54}
}
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[55]
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[55]
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{55}
}
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\"o\n" +
"\x0fConfigReference\x12\x12\n" +
"\x04kind\x18\x01 \x01(\tR\x04kind\x12\x18\n" +
"\aversion\x18\x02 \x01(\tR\aversion\x12\x16\n" +
"\x06sha256\x18\x03 \x01(\tR\x06sha256\x12\x16\n" +
"\x06source\x18\x04 \x01(\tR\x06source\"\x8d\x01\n" +
"\fUploadPolicy\x12\x18\n" +
"\aenabled\x18\x01 \x01(\bR\aenabled\x12&\n" +
"\x0fmax_asset_bytes\x18\x02 \x01(\x03R\rmaxAssetBytes\x12#\n" +
"\rallowed_hosts\x18\x04 \x03(\tR\fallowedHostsJ\x04\b\x03\x10\x04R\x10min_retention_ms\"\x87\x03\n" +
"\x10ExecutionBinding\x12\x1b\n" +
"\ttenant_id\x18\x01 \x01(\tR\btenantId\x12\x1d\n" +
"\n" +
"tenant_key\x18\x02 \x01(\tR\ttenantKey\x12!\n" +
"\fexecution_id\x18\x03 \x01(\tR\vexecutionId\x12\x17\n" +
"\atask_id\x18\x04 \x01(\tR\x06taskId\x12 \n" +
"\ftask_item_id\x18\x05 \x01(\tR\n" +
"taskItemId\x12#\n" +
"\rtask_revision\x18\x06 \x01(\x03R\ftaskRevision\x12\x17\n" +
"\acall_id\x18\a \x01(\tR\x06callId\x12\x1d\n" +
"\n" +
"attempt_id\x18\b \x01(\tR\tattemptId\x12(\n" +
"\x10agent_version_id\x18\t \x01(\tR\x0eagentVersionId\x12&\n" +
"\x0froute_policy_id\x18\n" +
" \x01(\tR\rroutePolicyId\x12*\n" +
"\x11caller_profile_id\x18\v \x01(\tR\x0fcallerProfileId\"\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\"\xb9\x01\n" +
"\x13GetBootstrapRequest\x12&\n" +
"\x04meta\x18\x01 \x01(\v2\x12.agent.RequestMetaR\x04meta\x12\x19\n" +
"\bagent_id\x18\x02 \x01(\tR\aagentId\x12\x17\n" +
"\acell_id\x18\x03 \x01(\tR\x06cellId\x12\x17\n" +
"\aboot_id\x18\x04 \x01(\tR\x06bootId\x12-\n" +
"\x12session_generation\x18\x05 \x01(\x04R\x11sessionGeneration\"\x92\x02\n" +
"\x14GetBootstrapResponse\x12'\n" +
"\x04meta\x18\x01 \x01(\v2\x13.agent.ResponseMetaR\x04meta\x12,\n" +
"\x05state\x18\x02 \x01(\x0e2\x16.agent.ActivationStateR\x05state\x12?\n" +
"\x0fruntime_configs\x18\x03 \x03(\v2\x16.agent.ConfigReferenceR\x0eruntimeConfigs\x128\n" +
"\rupload_policy\x18\x04 \x01(\v2\x13.agent.UploadPolicyR\fuploadPolicy\x12(\n" +
"\afailure\x18\x05 \x01(\v2\x0e.agent.FailureR\afailure\"\x97\x02\n" +
"\x18SetAdmissionStateRequest\x12&\n" +
"\x04meta\x18\x01 \x01(\v2\x12.agent.RequestMetaR\x04meta\x12+\n" +
"\x06target\x18\x02 \x01(\v2\x13.agent.AgentBindingR\x06target\x12+\n" +
"\x05state\x18\x03 \x01(\x0e2\x15.agent.AdmissionStateR\x05state\x12\x1d\n" +
"\n" +
"barrier_id\x18\x04 \x01(\tR\tbarrierId\x12B\n" +
"\x1dexpected_admission_generation\x18\x05 \x01(\x04R\x1bexpectedAdmissionGeneration\x12\x16\n" +
"\x06reason\x18\x06 \x01(\tR\x06reason\"\x90\x01\n" +
"\x19SetAdmissionStateResponse\x121\n" +
"\areceipt\x18\x01 \x01(\v2\x17.agent.OperationReceiptR\areceipt\x12@\n" +
"\x1capplied_admission_generation\x18\x02 \x01(\x04R\x1aappliedAdmissionGeneration\"\xc4\x02\n" +
"\x0eExecuteRequest\x12&\n" +
"\x04meta\x18\x01 \x01(\v2\x12.agent.RequestMetaR\x04meta\x121\n" +
"\abinding\x18\x02 \x01(\v2\x17.agent.ExecutionBindingR\abinding\x12*\n" +
"\x11call_execute_json\x18\x03 \x01(\fR\x0fcallExecuteJson\x12#\n" +
"\rconfig_sha256\x18\x04 \x01(\tR\fconfigSha256\x121\n" +
"\x14admission_generation\x18\x05 \x01(\x04R\x13admissionGeneration\x126\n" +
"\x17resource_reservation_id\x18\x06 \x01(\tR\x15resourceReservationId\x12\x1b\n" +
"\tpermit_id\x18\a \x01(\tR\bpermitId\"q\n" +
"\x0fExecuteResponse\x121\n" +
"\areceipt\x18\x01 \x01(\v2\x17.agent.OperationReceiptR\areceipt\x12+\n" +
"\x05state\x18\x02 \x01(\x0e2\x15.agent.ExecutionStateR\x05state\"\xb9\x03\n" +
"\x18ExecuteAuthorizedRequest\x12%\n" +
"\x0eschema_version\x18\x01 \x01(\tR\rschemaVersion\x12&\n" +
"\x04meta\x18\x02 \x01(\v2\x12.agent.RequestMetaR\x04meta\x121\n" +
"\abinding\x18\x03 \x01(\v2\x17.agent.ExecutionBindingR\abinding\x12*\n" +
"\x11selected_trunk_id\x18\x04 \x01(\tR\x0fselectedTrunkId\x12\x1b\n" +
"\tcaller_id\x18\x05 \x01(\tR\bcallerId\x12\x16\n" +
"\x06callee\x18\x06 \x01(\tR\x06callee\x12&\n" +
"\x0fring_timeout_ms\x18\a \x01(\x03R\rringTimeoutMs\x12/\n" +
"\x14max_call_duration_ms\x18\b \x01(\x03R\x11maxCallDurationMs\x12-\n" +
"\x13dial_before_unix_ms\x18\t \x01(\x03R\x10dialBeforeUnixMs\x122\n" +
"\x15bound_snapshot_sha256\x18\n" +
" \x01(\tR\x13boundSnapshotSha256\"{\n" +
"\x19ExecuteAuthorizedResponse\x121\n" +
"\areceipt\x18\x01 \x01(\v2\x17.agent.OperationReceiptR\areceipt\x12+\n" +
"\x05state\x18\x02 \x01(\x0e2\x15.agent.ExecutionStateR\x05state\"\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\"\xbc\x02\n" +
"\x19GetExecutionPermitRequest\x12&\n" +
"\x04meta\x18\x01 \x01(\v2\x12.agent.RequestMetaR\x04meta\x121\n" +
"\abinding\x18\x02 \x01(\v2\x17.agent.ExecutionBindingR\abinding\x126\n" +
"\x17resource_reservation_id\x18\x03 \x01(\tR\x15resourceReservationId\x124\n" +
"\x16expected_task_revision\x18\x04 \x01(\x03R\x14expectedTaskRevision\x121\n" +
"\x14admission_generation\x18\x05 \x01(\x04R\x13admissionGeneration\x12#\n" +
"\rconfig_sha256\x18\x06 \x01(\tR\fconfigSha256\"\xe2\x02\n" +
"\x0fExecutionPermit\x12\x1b\n" +
"\tpermit_id\x18\x01 \x01(\tR\bpermitId\x126\n" +
"\x17resource_reservation_id\x18\x02 \x01(\tR\x15resourceReservationId\x12)\n" +
"\x11issued_at_unix_ms\x18\x03 \x01(\x03R\x0eissuedAtUnixMs\x12+\n" +
"\x12expires_at_unix_ms\x18\x04 \x01(\x03R\x0fexpiresAtUnixMs\x12)\n" +
"\x10dispatcher_epoch\x18\x05 \x01(\tR\x0fdispatcherEpoch\x12-\n" +
"\x12session_generation\x18\x06 \x01(\x04R\x11sessionGeneration\x12#\n" +
"\rfencing_token\x18\a \x01(\tR\ffencingToken\x12#\n" +
"\rconfig_sha256\x18\b \x01(\tR\fconfigSha256\"\x7f\n" +
"\x1aGetExecutionPermitResponse\x121\n" +
"\areceipt\x18\x01 \x01(\v2\x17.agent.OperationReceiptR\areceipt\x12.\n" +
"\x06permit\x18\x02 \x01(\v2\x16.agent.ExecutionPermitR\x06permit\"\xb7\x02\n" +
"\x17ApplyTaskControlRequest\x12&\n" +
"\x04meta\x18\x01 \x01(\v2\x12.agent.RequestMetaR\x04meta\x121\n" +
"\abinding\x18\x02 \x01(\v2\x17.agent.ExecutionBindingR\abinding\x12,\n" +
"\x06action\x18\x03 \x01(\x0e2\x14.agent.ControlActionR\x06action\x12E\n" +
"\x12active_call_policy\x18\x04 \x01(\x0e2\x17.agent.ActiveCallPolicyR\x10activeCallPolicy\x124\n" +
"\x16expected_task_revision\x18\x05 \x01(\x03R\x14expectedTaskRevision\x12\x16\n" +
"\x06reason\x18\x06 \x01(\tR\x06reason\"\xae\x01\n" +
"\x18ApplyTaskControlResponse\x121\n" +
"\areceipt\x18\x01 \x01(\v2\x17.agent.OperationReceiptR\areceipt\x122\n" +
"\x15applied_task_revision\x18\x02 \x01(\x03R\x13appliedTaskRevision\x12+\n" +
"\x05state\x18\x03 \x01(\x0e2\x15.agent.ExecutionStateR\x05state\"\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\"r\n" +
"\x15QueryExecutionRequest\x12&\n" +
"\x04meta\x18\x01 \x01(\v2\x12.agent.RequestMetaR\x04meta\x121\n" +
"\abinding\x18\x02 \x01(\v2\x17.agent.ExecutionBindingR\abinding\"\xcb\x02\n" +
"\x11ExecutionSnapshot\x121\n" +
"\abinding\x18\x01 \x01(\v2\x17.agent.ExecutionBindingR\abinding\x12+\n" +
"\x05state\x18\x02 \x01(\x0e2\x15.agent.ExecutionStateR\x05state\x12\x1d\n" +
"\n" +
"call_state\x18\x03 \x01(\tR\tcallState\x12\x1d\n" +
"\n" +
"attempt_id\x18\x04 \x01(\tR\tattemptId\x12\x1f\n" +
"\vreason_code\x18\x05 \x01(\tR\n" +
"reasonCode\x12-\n" +
"\x13observed_at_unix_ms\x18\x06 \x01(\x03R\x10observedAtUnixMs\x12\x18\n" +
"\aunknown\x18\a \x01(\bR\aunknown\x12.\n" +
"\x06assets\x18\b \x03(\v2\x16.agent.AssetDescriptorR\x06assets\"\xa1\x01\n" +
"\x16QueryExecutionResponse\x12'\n" +
"\x04meta\x18\x01 \x01(\v2\x13.agent.ResponseMetaR\x04meta\x124\n" +
"\bsnapshot\x18\x02 \x01(\v2\x18.agent.ExecutionSnapshotR\bsnapshot\x12(\n" +
"\afailure\x18\x03 \x01(\v2\x0e.agent.FailureR\afailure\"\xc8\x02\n" +
"\rExecutionFact\x12\x17\n" +
"\afact_id\x18\x01 \x01(\tR\x06factId\x12%\n" +
"\x0econtent_sha256\x18\x02 \x01(\tR\rcontentSha256\x121\n" +
"\abinding\x18\x03 \x01(\v2\x17.agent.ExecutionBindingR\abinding\x12#\n" +
"\x04kind\x18\x04 \x01(\x0e2\x0f.agent.FactKindR\x04kind\x12-\n" +
"\x13observed_at_unix_ms\x18\x05 \x01(\x03R\x10observedAtUnixMs\x12$\n" +
"\x0esource_boot_id\x18\x06 \x01(\tR\fsourceBootId\x12'\n" +
"\x0fsource_sequence\x18\a \x01(\x04R\x0esourceSequence\x12!\n" +
"\fpayload_json\x18\b \x01(\fR\vpayloadJson\"o\n" +
"\x1bReportExecutionEventRequest\x12&\n" +
"\x04meta\x18\x01 \x01(\v2\x12.agent.RequestMetaR\x04meta\x12(\n" +
"\x04fact\x18\x02 \x01(\v2\x14.agent.ExecutionFactR\x04fact\"Q\n" +
"\x1cReportExecutionEventResponse\x121\n" +
"\areceipt\x18\x01 \x01(\v2\x17.agent.OperationReceiptR\areceipt\"\xbc\x01\n" +
"\x14RequestUploadRequest\x12&\n" +
"\x04meta\x18\x01 \x01(\v2\x12.agent.RequestMetaR\x04meta\x121\n" +
"\abinding\x18\x02 \x01(\v2\x17.agent.ExecutionBindingR\abinding\x12,\n" +
"\x05asset\x18\x03 \x01(\v2\x16.agent.AssetDescriptorR\x05asset\x12\x1b\n" +
"\tupload_id\x18\x04 \x01(\tR\buploadId\"\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\"\x9e\x01\n" +
"\x15RequestUploadResponse\x121\n" +
"\areceipt\x18\x01 \x01(\v2\x17.agent.OperationReceiptR\areceipt\x12(\n" +
"\x05grant\x18\x02 \x01(\v2\x12.agent.UploadGrantR\x05grant\x12(\n" +
"\x05state\x18\x03 \x01(\x0e2\x12.agent.UploadStateR\x05state\"\xa7\x02\n" +
"\x15CompleteUploadRequest\x12&\n" +
"\x04meta\x18\x01 \x01(\v2\x12.agent.RequestMetaR\x04meta\x121\n" +
"\abinding\x18\x02 \x01(\v2\x17.agent.ExecutionBindingR\abinding\x12,\n" +
"\x05asset\x18\x03 \x01(\v2\x16.agent.AssetDescriptorR\x05asset\x12\x1b\n" +
"\tupload_id\x18\x04 \x01(\tR\buploadId\x12.\n" +
"\x13uploaded_size_bytes\x18\x05 \x01(\x03R\x11uploadedSizeBytes\x128\n" +
"\x18uploaded_checksum_sha256\x18\x06 \x01(\tR\x16uploadedChecksumSha256\"\x83\x01\n" +
"\x16CompleteUploadResponse\x121\n" +
"\areceipt\x18\x01 \x01(\v2\x17.agent.OperationReceiptR\areceipt\x12(\n" +
"\x05state\x18\x02 \x01(\x0e2\x12.agent.UploadStateR\x05stateJ\x04\b\x03\x10\x04R\x06oss_id\"\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*\xed\x01\n" +
"\x0eExecutionState\x12\x1f\n" +
"\x1bEXECUTION_STATE_UNSPECIFIED\x10\x00\x12\x1c\n" +
"\x18EXECUTION_STATE_PREPARED\x10\x01\x12\"\n" +
"\x1eEXECUTION_STATE_PERMIT_GRANTED\x10\x02\x12\x1f\n" +
"\x1bEXECUTION_STATE_DISPATCHING\x10\x03\x12\x1c\n" +
"\x18EXECUTION_STATE_OBSERVED\x10\x04\x12\x1b\n" +
"\x17EXECUTION_STATE_UNKNOWN\x10\x05\x12\x1c\n" +
"\x18EXECUTION_STATE_TERMINAL\x10\x06*\\\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\x02*\xb6\x01\n" +
"\vUploadState\x12\x1c\n" +
"\x18UPLOAD_STATE_UNSPECIFIED\x10\x00\x12\x1a\n" +
"\x16UPLOAD_STATE_REQUESTED\x10\x01\x12\x1a\n" +
"\x16UPLOAD_STATE_COMPLETED\x10\x03\x12\x17\n" +
"\x13UPLOAD_STATE_FAILED\x10\x04\"\x04\b\x02\x10\x02\"\x04\b\x05\x10\x05*\x16UPLOAD_STATE_UPLOADING*\x14UPLOAD_STATE_EXPIRED*\x83\x02\n" +
"\bFactKind\x12\x19\n" +
"\x15FACT_KIND_UNSPECIFIED\x10\x00\x12 \n" +
"\x1cFACT_KIND_EXECUTION_ACCEPTED\x10\x01\x12\x19\n" +
"\x15FACT_KIND_CALL_STATUS\x10\x02\x12\x1b\n" +
"\x17FACT_KIND_CALL_FINISHED\x10\x03\x12 \n" +
"\x1cFACT_KIND_TRANSCRIPT_UPDATED\x10\x04\x12\x1f\n" +
"\x1bFACT_KIND_TRANSCRIPT_FAILED\x10\x05\x12\x1d\n" +
"\x19FACT_KIND_CONTACT_OPT_OUT\x10\x06\x12 \n" +
"\x1cFACT_KIND_RECORDING_PROGRESS\x10\a2\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, 10)
var file_agent_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 57)
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
(ExecutionState)(0), // 6: agent.ExecutionState
(AssetKind)(0), // 7: agent.AssetKind
(UploadState)(0), // 8: agent.UploadState
(FactKind)(0), // 9: agent.FactKind
(*RequestMeta)(nil), // 10: agent.RequestMeta
(*ResponseMeta)(nil), // 11: agent.ResponseMeta
(*Failure)(nil), // 12: agent.Failure
(*OperationReceipt)(nil), // 13: agent.OperationReceipt
(*AgentBinding)(nil), // 14: agent.AgentBinding
(*Capability)(nil), // 15: agent.Capability
(*ResourceSample)(nil), // 16: agent.ResourceSample
(*AppliedConfig)(nil), // 17: agent.AppliedConfig
(*AgentStatus)(nil), // 18: agent.AgentStatus
(*Session)(nil), // 19: agent.Session
(*ConfigReference)(nil), // 20: agent.ConfigReference
(*UploadPolicy)(nil), // 21: agent.UploadPolicy
(*ExecutionBinding)(nil), // 22: agent.ExecutionBinding
(*AssetDescriptor)(nil), // 23: agent.AssetDescriptor
(*Header)(nil), // 24: agent.Header
(*GetAgentStatusRequest)(nil), // 25: agent.GetAgentStatusRequest
(*GetAgentStatusResponse)(nil), // 26: agent.GetAgentStatusResponse
(*ActivateAgentRequest)(nil), // 27: agent.ActivateAgentRequest
(*ActivateAgentResponse)(nil), // 28: agent.ActivateAgentResponse
(*GetBootstrapRequest)(nil), // 29: agent.GetBootstrapRequest
(*GetBootstrapResponse)(nil), // 30: agent.GetBootstrapResponse
(*SetAdmissionStateRequest)(nil), // 31: agent.SetAdmissionStateRequest
(*SetAdmissionStateResponse)(nil), // 32: agent.SetAdmissionStateResponse
(*ExecuteRequest)(nil), // 33: agent.ExecuteRequest
(*ExecuteResponse)(nil), // 34: agent.ExecuteResponse
(*ExecuteAuthorizedRequest)(nil), // 35: agent.ExecuteAuthorizedRequest
(*ExecuteAuthorizedResponse)(nil), // 36: agent.ExecuteAuthorizedResponse
(*ExecuteApprovedRequest)(nil), // 37: agent.ExecuteApprovedRequest
(*ExecuteApprovedResponse)(nil), // 38: agent.ExecuteApprovedResponse
(*GetLoadedSIPRequest)(nil), // 39: agent.GetLoadedSIPRequest
(*GetLoadedSIPResponse)(nil), // 40: agent.GetLoadedSIPResponse
(*GetExecutionPermitRequest)(nil), // 41: agent.GetExecutionPermitRequest
(*ExecutionPermit)(nil), // 42: agent.ExecutionPermit
(*GetExecutionPermitResponse)(nil), // 43: agent.GetExecutionPermitResponse
(*ApplyTaskControlRequest)(nil), // 44: agent.ApplyTaskControlRequest
(*ApplyTaskControlResponse)(nil), // 45: agent.ApplyTaskControlResponse
(*ApplyApprovedTaskControlRequest)(nil), // 46: agent.ApplyApprovedTaskControlRequest
(*ApplyApprovedTaskControlResponse)(nil), // 47: agent.ApplyApprovedTaskControlResponse
(*QueryExecutionRequest)(nil), // 48: agent.QueryExecutionRequest
(*ExecutionSnapshot)(nil), // 49: agent.ExecutionSnapshot
(*QueryExecutionResponse)(nil), // 50: agent.QueryExecutionResponse
(*ExecutionFact)(nil), // 51: agent.ExecutionFact
(*ReportExecutionEventRequest)(nil), // 52: agent.ReportExecutionEventRequest
(*ReportExecutionEventResponse)(nil), // 53: agent.ReportExecutionEventResponse
(*RequestUploadRequest)(nil), // 54: agent.RequestUploadRequest
(*UploadGrant)(nil), // 55: agent.UploadGrant
(*RequestUploadResponse)(nil), // 56: agent.RequestUploadResponse
(*CompleteUploadRequest)(nil), // 57: agent.CompleteUploadRequest
(*CompleteUploadResponse)(nil), // 58: agent.CompleteUploadResponse
(*RequestRecordingUploadRequest)(nil), // 59: agent.RequestRecordingUploadRequest
(*RequestRecordingUploadResponse)(nil), // 60: agent.RequestRecordingUploadResponse
(*ReportCallEndedRequest)(nil), // 61: agent.ReportCallEndedRequest
(*ReportCallEndedResponse)(nil), // 62: agent.ReportCallEndedResponse
(*UploadObservation)(nil), // 63: agent.UploadObservation
(*ReportCallResultRequest)(nil), // 64: agent.ReportCallResultRequest
(*ReportCallResultResponse)(nil), // 65: agent.ReportCallResultResponse
nil, // 66: agent.GetLoadedSIPResponse.TrunkRevisionEntry
}
var file_agent_agent_proto_depIdxs = []int32{
1, // 0: agent.Failure.code:type_name -> agent.FailureCode
11, // 1: agent.OperationReceipt.meta:type_name -> agent.ResponseMeta
0, // 2: agent.OperationReceipt.result:type_name -> agent.ResultCode
12, // 3: agent.OperationReceipt.failure:type_name -> agent.Failure
3, // 4: agent.AgentStatus.admission_state:type_name -> agent.AdmissionState
15, // 5: agent.AgentStatus.capabilities:type_name -> agent.Capability
16, // 6: agent.AgentStatus.resources:type_name -> agent.ResourceSample
17, // 7: agent.AgentStatus.applied_configs:type_name -> agent.AppliedConfig
7, // 8: agent.AssetDescriptor.kind:type_name -> agent.AssetKind
10, // 9: agent.GetAgentStatusRequest.meta:type_name -> agent.RequestMeta
14, // 10: agent.GetAgentStatusRequest.target:type_name -> agent.AgentBinding
11, // 11: agent.GetAgentStatusResponse.meta:type_name -> agent.ResponseMeta
18, // 12: agent.GetAgentStatusResponse.status:type_name -> agent.AgentStatus
12, // 13: agent.GetAgentStatusResponse.failure:type_name -> agent.Failure
10, // 14: agent.ActivateAgentRequest.meta:type_name -> agent.RequestMeta
14, // 15: agent.ActivateAgentRequest.binding:type_name -> agent.AgentBinding
11, // 16: agent.ActivateAgentResponse.meta:type_name -> agent.ResponseMeta
2, // 17: agent.ActivateAgentResponse.state:type_name -> agent.ActivationState
19, // 18: agent.ActivateAgentResponse.session:type_name -> agent.Session
12, // 19: agent.ActivateAgentResponse.failure:type_name -> agent.Failure
10, // 20: agent.GetBootstrapRequest.meta:type_name -> agent.RequestMeta
11, // 21: agent.GetBootstrapResponse.meta:type_name -> agent.ResponseMeta
2, // 22: agent.GetBootstrapResponse.state:type_name -> agent.ActivationState
20, // 23: agent.GetBootstrapResponse.runtime_configs:type_name -> agent.ConfigReference
21, // 24: agent.GetBootstrapResponse.upload_policy:type_name -> agent.UploadPolicy
12, // 25: agent.GetBootstrapResponse.failure:type_name -> agent.Failure
10, // 26: agent.SetAdmissionStateRequest.meta:type_name -> agent.RequestMeta
14, // 27: agent.SetAdmissionStateRequest.target:type_name -> agent.AgentBinding
3, // 28: agent.SetAdmissionStateRequest.state:type_name -> agent.AdmissionState
13, // 29: agent.SetAdmissionStateResponse.receipt:type_name -> agent.OperationReceipt
10, // 30: agent.ExecuteRequest.meta:type_name -> agent.RequestMeta
22, // 31: agent.ExecuteRequest.binding:type_name -> agent.ExecutionBinding
13, // 32: agent.ExecuteResponse.receipt:type_name -> agent.OperationReceipt
6, // 33: agent.ExecuteResponse.state:type_name -> agent.ExecutionState
10, // 34: agent.ExecuteAuthorizedRequest.meta:type_name -> agent.RequestMeta
22, // 35: agent.ExecuteAuthorizedRequest.binding:type_name -> agent.ExecutionBinding
13, // 36: agent.ExecuteAuthorizedResponse.receipt:type_name -> agent.OperationReceipt
6, // 37: agent.ExecuteAuthorizedResponse.state:type_name -> agent.ExecutionState
10, // 38: agent.ExecuteApprovedRequest.meta:type_name -> agent.RequestMeta
10, // 39: agent.GetLoadedSIPRequest.meta:type_name -> agent.RequestMeta
66, // 40: agent.GetLoadedSIPResponse.trunk_revision:type_name -> agent.GetLoadedSIPResponse.TrunkRevisionEntry
10, // 41: agent.GetExecutionPermitRequest.meta:type_name -> agent.RequestMeta
22, // 42: agent.GetExecutionPermitRequest.binding:type_name -> agent.ExecutionBinding
13, // 43: agent.GetExecutionPermitResponse.receipt:type_name -> agent.OperationReceipt
42, // 44: agent.GetExecutionPermitResponse.permit:type_name -> agent.ExecutionPermit
10, // 45: agent.ApplyTaskControlRequest.meta:type_name -> agent.RequestMeta
22, // 46: agent.ApplyTaskControlRequest.binding:type_name -> agent.ExecutionBinding
4, // 47: agent.ApplyTaskControlRequest.action:type_name -> agent.ControlAction
5, // 48: agent.ApplyTaskControlRequest.active_call_policy:type_name -> agent.ActiveCallPolicy
13, // 49: agent.ApplyTaskControlResponse.receipt:type_name -> agent.OperationReceipt
6, // 50: agent.ApplyTaskControlResponse.state:type_name -> agent.ExecutionState
10, // 51: agent.ApplyApprovedTaskControlRequest.meta:type_name -> agent.RequestMeta
4, // 52: agent.ApplyApprovedTaskControlRequest.action:type_name -> agent.ControlAction
5, // 53: agent.ApplyApprovedTaskControlRequest.active_call_policy:type_name -> agent.ActiveCallPolicy
10, // 54: agent.QueryExecutionRequest.meta:type_name -> agent.RequestMeta
22, // 55: agent.QueryExecutionRequest.binding:type_name -> agent.ExecutionBinding
22, // 56: agent.ExecutionSnapshot.binding:type_name -> agent.ExecutionBinding
6, // 57: agent.ExecutionSnapshot.state:type_name -> agent.ExecutionState
23, // 58: agent.ExecutionSnapshot.assets:type_name -> agent.AssetDescriptor
11, // 59: agent.QueryExecutionResponse.meta:type_name -> agent.ResponseMeta
49, // 60: agent.QueryExecutionResponse.snapshot:type_name -> agent.ExecutionSnapshot
12, // 61: agent.QueryExecutionResponse.failure:type_name -> agent.Failure
22, // 62: agent.ExecutionFact.binding:type_name -> agent.ExecutionBinding
9, // 63: agent.ExecutionFact.kind:type_name -> agent.FactKind
10, // 64: agent.ReportExecutionEventRequest.meta:type_name -> agent.RequestMeta
51, // 65: agent.ReportExecutionEventRequest.fact:type_name -> agent.ExecutionFact
13, // 66: agent.ReportExecutionEventResponse.receipt:type_name -> agent.OperationReceipt
10, // 67: agent.RequestUploadRequest.meta:type_name -> agent.RequestMeta
22, // 68: agent.RequestUploadRequest.binding:type_name -> agent.ExecutionBinding
23, // 69: agent.RequestUploadRequest.asset:type_name -> agent.AssetDescriptor
24, // 70: agent.UploadGrant.headers:type_name -> agent.Header
13, // 71: agent.RequestUploadResponse.receipt:type_name -> agent.OperationReceipt
55, // 72: agent.RequestUploadResponse.grant:type_name -> agent.UploadGrant
8, // 73: agent.RequestUploadResponse.state:type_name -> agent.UploadState
10, // 74: agent.CompleteUploadRequest.meta:type_name -> agent.RequestMeta
22, // 75: agent.CompleteUploadRequest.binding:type_name -> agent.ExecutionBinding
23, // 76: agent.CompleteUploadRequest.asset:type_name -> agent.AssetDescriptor
13, // 77: agent.CompleteUploadResponse.receipt:type_name -> agent.OperationReceipt
8, // 78: agent.CompleteUploadResponse.state:type_name -> agent.UploadState
10, // 79: agent.RequestRecordingUploadRequest.meta:type_name -> agent.RequestMeta
23, // 80: agent.RequestRecordingUploadRequest.asset:type_name -> agent.AssetDescriptor
55, // 81: agent.RequestRecordingUploadResponse.grant:type_name -> agent.UploadGrant
10, // 82: agent.ReportCallEndedRequest.meta:type_name -> agent.RequestMeta
13, // 83: agent.ReportCallEndedResponse.receipt:type_name -> agent.OperationReceipt
10, // 84: agent.ReportCallResultRequest.meta:type_name -> agent.RequestMeta
63, // 85: agent.ReportCallResultRequest.upload:type_name -> agent.UploadObservation
13, // 86: agent.ReportCallResultResponse.receipt:type_name -> agent.OperationReceipt
25, // 87: agent.AgentControlService.GetAgentStatus:input_type -> agent.GetAgentStatusRequest
27, // 88: agent.AgentControlService.ActivateAgent:input_type -> agent.ActivateAgentRequest
37, // 89: agent.AgentControlService.ExecuteApproved:input_type -> agent.ExecuteApprovedRequest
46, // 90: agent.AgentControlService.ApplyApprovedTaskControl:input_type -> agent.ApplyApprovedTaskControlRequest
39, // 91: agent.AgentControlService.GetLoadedSIP:input_type -> agent.GetLoadedSIPRequest
59, // 92: agent.AgentControlService.RequestRecordingUpload:input_type -> agent.RequestRecordingUploadRequest
61, // 93: agent.AgentControlService.ReportCallEnded:input_type -> agent.ReportCallEndedRequest
64, // 94: agent.AgentControlService.ReportCallResult:input_type -> agent.ReportCallResultRequest
26, // 95: agent.AgentControlService.GetAgentStatus:output_type -> agent.GetAgentStatusResponse
28, // 96: agent.AgentControlService.ActivateAgent:output_type -> agent.ActivateAgentResponse
38, // 97: agent.AgentControlService.ExecuteApproved:output_type -> agent.ExecuteApprovedResponse
47, // 98: agent.AgentControlService.ApplyApprovedTaskControl:output_type -> agent.ApplyApprovedTaskControlResponse
40, // 99: agent.AgentControlService.GetLoadedSIP:output_type -> agent.GetLoadedSIPResponse
60, // 100: agent.AgentControlService.RequestRecordingUpload:output_type -> agent.RequestRecordingUploadResponse
62, // 101: agent.AgentControlService.ReportCallEnded:output_type -> agent.ReportCallEndedResponse
65, // 102: agent.AgentControlService.ReportCallResult:output_type -> agent.ReportCallResultResponse
95, // [95:103] is the sub-list for method output_type
87, // [87:95] is the sub-list for method input_type
87, // [87:87] is the sub-list for extension type_name
87, // [87:87] is the sub-list for extension extendee
0, // [0:87] 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: 10,
NumMessages: 57,
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
}