kagentapi

package
v0.0.92 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AgentInstanceService_CreateAgentInstance_FullMethodName      = "/kagent.api.v1alpha1.AgentInstanceService/CreateAgentInstance"
	AgentInstanceService_GetAgentInstance_FullMethodName         = "/kagent.api.v1alpha1.AgentInstanceService/GetAgentInstance"
	AgentInstanceService_ListAgentInstances_FullMethodName       = "/kagent.api.v1alpha1.AgentInstanceService/ListAgentInstances"
	AgentInstanceService_UpdateAgentInstanceName_FullMethodName  = "/kagent.api.v1alpha1.AgentInstanceService/UpdateAgentInstanceName"
	AgentInstanceService_SuspendAgentInstance_FullMethodName     = "/kagent.api.v1alpha1.AgentInstanceService/SuspendAgentInstance"
	AgentInstanceService_ResumeAgentInstance_FullMethodName      = "/kagent.api.v1alpha1.AgentInstanceService/ResumeAgentInstance"
	AgentInstanceService_DeleteAgentInstance_FullMethodName      = "/kagent.api.v1alpha1.AgentInstanceService/DeleteAgentInstance"
	AgentInstanceService_CreateAgentInstanceShare_FullMethodName = "/kagent.api.v1alpha1.AgentInstanceService/CreateAgentInstanceShare"
	AgentInstanceService_ListAgentInstanceShares_FullMethodName  = "/kagent.api.v1alpha1.AgentInstanceService/ListAgentInstanceShares"
	AgentInstanceService_RevokeAgentInstanceShare_FullMethodName = "/kagent.api.v1alpha1.AgentInstanceService/RevokeAgentInstanceShare"
)

Variables

View Source
var (
	AgentInstanceState_name = map[int32]string{
		0: "AGENT_INSTANCE_STATE_UNSPECIFIED",
		1: "AGENT_INSTANCE_STATE_CREATING",
		2: "AGENT_INSTANCE_STATE_READY",
		3: "AGENT_INSTANCE_STATE_SUSPENDED",
		4: "AGENT_INSTANCE_STATE_FAILED",
		5: "AGENT_INSTANCE_STATE_DELETING",
		6: "AGENT_INSTANCE_STATE_DELETED",
	}
	AgentInstanceState_value = map[string]int32{
		"AGENT_INSTANCE_STATE_UNSPECIFIED": 0,
		"AGENT_INSTANCE_STATE_CREATING":    1,
		"AGENT_INSTANCE_STATE_READY":       2,
		"AGENT_INSTANCE_STATE_SUSPENDED":   3,
		"AGENT_INSTANCE_STATE_FAILED":      4,
		"AGENT_INSTANCE_STATE_DELETING":    5,
		"AGENT_INSTANCE_STATE_DELETED":     6,
	}
)

Enum value maps for AgentInstanceState.

View Source
var (
	AgentInstanceOperation_name = map[int32]string{
		0: "AGENT_INSTANCE_OPERATION_UNSPECIFIED",
		1: "AGENT_INSTANCE_OPERATION_CREATE",
		2: "AGENT_INSTANCE_OPERATION_SUSPEND",
		3: "AGENT_INSTANCE_OPERATION_RESUME",
		4: "AGENT_INSTANCE_OPERATION_DELETE",
	}
	AgentInstanceOperation_value = map[string]int32{
		"AGENT_INSTANCE_OPERATION_UNSPECIFIED": 0,
		"AGENT_INSTANCE_OPERATION_CREATE":      1,
		"AGENT_INSTANCE_OPERATION_SUSPEND":     2,
		"AGENT_INSTANCE_OPERATION_RESUME":      3,
		"AGENT_INSTANCE_OPERATION_DELETE":      4,
	}
)

Enum value maps for AgentInstanceOperation.

View Source
var (
	AgentInstanceSharePermission_name = map[int32]string{
		0: "AGENT_INSTANCE_SHARE_PERMISSION_UNSPECIFIED",
		1: "AGENT_INSTANCE_SHARE_PERMISSION_READ_ONLY",
		2: "AGENT_INSTANCE_SHARE_PERMISSION_READ_WRITE",
	}
	AgentInstanceSharePermission_value = map[string]int32{
		"AGENT_INSTANCE_SHARE_PERMISSION_UNSPECIFIED": 0,
		"AGENT_INSTANCE_SHARE_PERMISSION_READ_ONLY":   1,
		"AGENT_INSTANCE_SHARE_PERMISSION_READ_WRITE":  2,
	}
)

Enum value maps for AgentInstanceSharePermission.

View Source
var AgentInstanceService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "kagent.api.v1alpha1.AgentInstanceService",
	HandlerType: (*AgentInstanceServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateAgentInstance",
			Handler:    _AgentInstanceService_CreateAgentInstance_Handler,
		},
		{
			MethodName: "GetAgentInstance",
			Handler:    _AgentInstanceService_GetAgentInstance_Handler,
		},
		{
			MethodName: "ListAgentInstances",
			Handler:    _AgentInstanceService_ListAgentInstances_Handler,
		},
		{
			MethodName: "UpdateAgentInstanceName",
			Handler:    _AgentInstanceService_UpdateAgentInstanceName_Handler,
		},
		{
			MethodName: "SuspendAgentInstance",
			Handler:    _AgentInstanceService_SuspendAgentInstance_Handler,
		},
		{
			MethodName: "ResumeAgentInstance",
			Handler:    _AgentInstanceService_ResumeAgentInstance_Handler,
		},
		{
			MethodName: "DeleteAgentInstance",
			Handler:    _AgentInstanceService_DeleteAgentInstance_Handler,
		},
		{
			MethodName: "CreateAgentInstanceShare",
			Handler:    _AgentInstanceService_CreateAgentInstanceShare_Handler,
		},
		{
			MethodName: "ListAgentInstanceShares",
			Handler:    _AgentInstanceService_ListAgentInstanceShares_Handler,
		},
		{
			MethodName: "RevokeAgentInstanceShare",
			Handler:    _AgentInstanceService_RevokeAgentInstanceShare_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "kagent/api/v1alpha1/agent_instances.proto",
}

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

View Source
var File_kagent_api_v1alpha1_agent_instances_proto protoreflect.FileDescriptor
View Source
var File_kagent_api_v1alpha1_common_proto protoreflect.FileDescriptor

Functions

func RegisterAgentInstanceServiceServer

func RegisterAgentInstanceServiceServer(s grpc.ServiceRegistrar, srv AgentInstanceServiceServer)

Types

type AgentInstance

type AgentInstance struct {
	Id               string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Namespace        string                 `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Creator          string                 `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"`
	Harness          *ResourceReference     `protobuf:"bytes,4,opt,name=harness,proto3" json:"harness,omitempty"`
	AgentTemplate    *ResourceReference     `protobuf:"bytes,5,opt,name=agent_template,json=agentTemplate,proto3" json:"agent_template,omitempty"`
	PreparedRevision string                 `protobuf:"bytes,6,opt,name=prepared_revision,json=preparedRevision,proto3" json:"prepared_revision,omitempty"`
	A2AAuthority     string                 `protobuf:"bytes,7,opt,name=a2a_authority,json=a2aAuthority,proto3" json:"a2a_authority,omitempty"`
	State            AgentInstanceState     `protobuf:"varint,8,opt,name=state,proto3,enum=kagent.api.v1alpha1.AgentInstanceState" json:"state,omitempty"`
	Operation        AgentInstanceOperation `protobuf:"varint,9,opt,name=operation,proto3,enum=kagent.api.v1alpha1.AgentInstanceOperation" json:"operation,omitempty"`
	Failure          *Failure               `protobuf:"bytes,10,opt,name=failure,proto3" json:"failure,omitempty"`
	CreatedAt        *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt        *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Labels           map[string]string      `` /* 140-byte string literal not displayed */
	// Reader-supplied display name for the conversation. Empty means unnamed,
	// which is the state every instance created before this field existed is in.
	Name string `protobuf:"bytes,14,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentInstance) Descriptor deprecated

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

Deprecated: Use AgentInstance.ProtoReflect.Descriptor instead.

func (*AgentInstance) GetA2AAuthority

func (x *AgentInstance) GetA2AAuthority() string

func (*AgentInstance) GetAgentTemplate

func (x *AgentInstance) GetAgentTemplate() *ResourceReference

func (*AgentInstance) GetCreatedAt

func (x *AgentInstance) GetCreatedAt() *timestamppb.Timestamp

func (*AgentInstance) GetCreator

func (x *AgentInstance) GetCreator() string

func (*AgentInstance) GetFailure

func (x *AgentInstance) GetFailure() *Failure

func (*AgentInstance) GetHarness

func (x *AgentInstance) GetHarness() *ResourceReference

func (*AgentInstance) GetId

func (x *AgentInstance) GetId() string

func (*AgentInstance) GetLabels

func (x *AgentInstance) GetLabels() map[string]string

func (*AgentInstance) GetName

func (x *AgentInstance) GetName() string

func (*AgentInstance) GetNamespace

func (x *AgentInstance) GetNamespace() string

func (*AgentInstance) GetOperation

func (x *AgentInstance) GetOperation() AgentInstanceOperation

func (*AgentInstance) GetPreparedRevision

func (x *AgentInstance) GetPreparedRevision() string

func (*AgentInstance) GetState

func (x *AgentInstance) GetState() AgentInstanceState

func (*AgentInstance) GetUpdatedAt

func (x *AgentInstance) GetUpdatedAt() *timestamppb.Timestamp

func (*AgentInstance) ProtoMessage

func (*AgentInstance) ProtoMessage()

func (*AgentInstance) ProtoReflect

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

func (*AgentInstance) Reset

func (x *AgentInstance) Reset()

func (*AgentInstance) String

func (x *AgentInstance) String() string

type AgentInstanceOperation

type AgentInstanceOperation int32
const (
	AgentInstanceOperation_AGENT_INSTANCE_OPERATION_UNSPECIFIED AgentInstanceOperation = 0
	AgentInstanceOperation_AGENT_INSTANCE_OPERATION_CREATE      AgentInstanceOperation = 1
	AgentInstanceOperation_AGENT_INSTANCE_OPERATION_SUSPEND     AgentInstanceOperation = 2
	AgentInstanceOperation_AGENT_INSTANCE_OPERATION_RESUME      AgentInstanceOperation = 3
	AgentInstanceOperation_AGENT_INSTANCE_OPERATION_DELETE      AgentInstanceOperation = 4
)

func (AgentInstanceOperation) Descriptor

func (AgentInstanceOperation) Enum

func (AgentInstanceOperation) EnumDescriptor deprecated

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

Deprecated: Use AgentInstanceOperation.Descriptor instead.

func (AgentInstanceOperation) Number

func (AgentInstanceOperation) String

func (x AgentInstanceOperation) String() string

func (AgentInstanceOperation) Type

type AgentInstanceServiceClient

AgentInstanceServiceClient is the client API for AgentInstanceService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type AgentInstanceServiceServer

AgentInstanceServiceServer is the server API for AgentInstanceService service. All implementations must embed UnimplementedAgentInstanceServiceServer for forward compatibility.

type AgentInstanceShare

type AgentInstanceShare struct {
	Id              string                       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Namespace       string                       `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	AgentInstanceId string                       `protobuf:"bytes,3,opt,name=agent_instance_id,json=agentInstanceId,proto3" json:"agent_instance_id,omitempty"`
	Permission      AgentInstanceSharePermission `` /* 128-byte string literal not displayed */
	CreatedAt       *timestamppb.Timestamp       `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentInstanceShare) Descriptor deprecated

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

Deprecated: Use AgentInstanceShare.ProtoReflect.Descriptor instead.

func (*AgentInstanceShare) GetAgentInstanceId

func (x *AgentInstanceShare) GetAgentInstanceId() string

func (*AgentInstanceShare) GetCreatedAt

func (x *AgentInstanceShare) GetCreatedAt() *timestamppb.Timestamp

func (*AgentInstanceShare) GetId

func (x *AgentInstanceShare) GetId() string

func (*AgentInstanceShare) GetNamespace

func (x *AgentInstanceShare) GetNamespace() string

func (*AgentInstanceShare) GetPermission

func (*AgentInstanceShare) ProtoMessage

func (*AgentInstanceShare) ProtoMessage()

func (*AgentInstanceShare) ProtoReflect

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

func (*AgentInstanceShare) Reset

func (x *AgentInstanceShare) Reset()

func (*AgentInstanceShare) String

func (x *AgentInstanceShare) String() string

type AgentInstanceSharePermission

type AgentInstanceSharePermission int32
const (
	AgentInstanceSharePermission_AGENT_INSTANCE_SHARE_PERMISSION_UNSPECIFIED AgentInstanceSharePermission = 0
	// Allows A2A get, list, and subscribe operations.
	AgentInstanceSharePermission_AGENT_INSTANCE_SHARE_PERMISSION_READ_ONLY AgentInstanceSharePermission = 1
	// Also allows A2A send and cancel operations.
	AgentInstanceSharePermission_AGENT_INSTANCE_SHARE_PERMISSION_READ_WRITE AgentInstanceSharePermission = 2
)

func (AgentInstanceSharePermission) Descriptor

func (AgentInstanceSharePermission) Enum

func (AgentInstanceSharePermission) EnumDescriptor deprecated

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

Deprecated: Use AgentInstanceSharePermission.Descriptor instead.

func (AgentInstanceSharePermission) Number

func (AgentInstanceSharePermission) String

func (AgentInstanceSharePermission) Type

type AgentInstanceState

type AgentInstanceState int32
const (
	AgentInstanceState_AGENT_INSTANCE_STATE_UNSPECIFIED AgentInstanceState = 0
	AgentInstanceState_AGENT_INSTANCE_STATE_CREATING    AgentInstanceState = 1
	AgentInstanceState_AGENT_INSTANCE_STATE_READY       AgentInstanceState = 2
	AgentInstanceState_AGENT_INSTANCE_STATE_SUSPENDED   AgentInstanceState = 3
	AgentInstanceState_AGENT_INSTANCE_STATE_FAILED      AgentInstanceState = 4
	AgentInstanceState_AGENT_INSTANCE_STATE_DELETING    AgentInstanceState = 5
	AgentInstanceState_AGENT_INSTANCE_STATE_DELETED     AgentInstanceState = 6
)

func (AgentInstanceState) Descriptor

func (AgentInstanceState) Enum

func (AgentInstanceState) EnumDescriptor deprecated

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

Deprecated: Use AgentInstanceState.Descriptor instead.

func (AgentInstanceState) Number

func (AgentInstanceState) String

func (x AgentInstanceState) String() string

func (AgentInstanceState) Type

type CreateAgentInstanceRequest

type CreateAgentInstanceRequest struct {
	Namespace     string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Harness       string `protobuf:"bytes,2,opt,name=harness,proto3" json:"harness,omitempty"`
	AgentTemplate string `protobuf:"bytes,3,opt,name=agent_template,json=agentTemplate,proto3" json:"agent_template,omitempty"`
	RequestId     string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Optional display name. Empty means unnamed.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAgentInstanceRequest) Descriptor deprecated

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

Deprecated: Use CreateAgentInstanceRequest.ProtoReflect.Descriptor instead.

func (*CreateAgentInstanceRequest) GetAgentTemplate

func (x *CreateAgentInstanceRequest) GetAgentTemplate() string

func (*CreateAgentInstanceRequest) GetHarness

func (x *CreateAgentInstanceRequest) GetHarness() string

func (*CreateAgentInstanceRequest) GetName

func (x *CreateAgentInstanceRequest) GetName() string

func (*CreateAgentInstanceRequest) GetNamespace

func (x *CreateAgentInstanceRequest) GetNamespace() string

func (*CreateAgentInstanceRequest) GetRequestId

func (x *CreateAgentInstanceRequest) GetRequestId() string

func (*CreateAgentInstanceRequest) ProtoMessage

func (*CreateAgentInstanceRequest) ProtoMessage()

func (*CreateAgentInstanceRequest) ProtoReflect

func (*CreateAgentInstanceRequest) Reset

func (x *CreateAgentInstanceRequest) Reset()

func (*CreateAgentInstanceRequest) String

func (x *CreateAgentInstanceRequest) String() string

type CreateAgentInstanceResponse

type CreateAgentInstanceResponse struct {
	AgentInstance *AgentInstance `protobuf:"bytes,1,opt,name=agent_instance,json=agentInstance,proto3" json:"agent_instance,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAgentInstanceResponse) Descriptor deprecated

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

Deprecated: Use CreateAgentInstanceResponse.ProtoReflect.Descriptor instead.

func (*CreateAgentInstanceResponse) GetAgentInstance

func (x *CreateAgentInstanceResponse) GetAgentInstance() *AgentInstance

func (*CreateAgentInstanceResponse) ProtoMessage

func (*CreateAgentInstanceResponse) ProtoMessage()

func (*CreateAgentInstanceResponse) ProtoReflect

func (*CreateAgentInstanceResponse) Reset

func (x *CreateAgentInstanceResponse) Reset()

func (*CreateAgentInstanceResponse) String

func (x *CreateAgentInstanceResponse) String() string

type CreateAgentInstanceShareRequest

type CreateAgentInstanceShareRequest struct {
	Namespace       string                       `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	AgentInstanceId string                       `protobuf:"bytes,2,opt,name=agent_instance_id,json=agentInstanceId,proto3" json:"agent_instance_id,omitempty"`
	Permission      AgentInstanceSharePermission `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateAgentInstanceShareRequest) Descriptor deprecated

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

Deprecated: Use CreateAgentInstanceShareRequest.ProtoReflect.Descriptor instead.

func (*CreateAgentInstanceShareRequest) GetAgentInstanceId

func (x *CreateAgentInstanceShareRequest) GetAgentInstanceId() string

func (*CreateAgentInstanceShareRequest) GetNamespace

func (x *CreateAgentInstanceShareRequest) GetNamespace() string

func (*CreateAgentInstanceShareRequest) GetPermission

func (*CreateAgentInstanceShareRequest) ProtoMessage

func (*CreateAgentInstanceShareRequest) ProtoMessage()

func (*CreateAgentInstanceShareRequest) ProtoReflect

func (*CreateAgentInstanceShareRequest) Reset

func (*CreateAgentInstanceShareRequest) String

type CreateAgentInstanceShareResponse

type CreateAgentInstanceShareResponse struct {
	Share *AgentInstanceShare `protobuf:"bytes,1,opt,name=share,proto3" json:"share,omitempty"`
	// Returned only when the share is created.
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAgentInstanceShareResponse) Descriptor deprecated

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

Deprecated: Use CreateAgentInstanceShareResponse.ProtoReflect.Descriptor instead.

func (*CreateAgentInstanceShareResponse) GetShare

func (*CreateAgentInstanceShareResponse) GetToken

func (*CreateAgentInstanceShareResponse) ProtoMessage

func (*CreateAgentInstanceShareResponse) ProtoMessage()

func (*CreateAgentInstanceShareResponse) ProtoReflect

func (*CreateAgentInstanceShareResponse) Reset

func (*CreateAgentInstanceShareResponse) String

type DeleteAgentInstanceRequest

type DeleteAgentInstanceRequest struct {
	Namespace       string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	AgentInstanceId string `protobuf:"bytes,2,opt,name=agent_instance_id,json=agentInstanceId,proto3" json:"agent_instance_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAgentInstanceRequest) Descriptor deprecated

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

Deprecated: Use DeleteAgentInstanceRequest.ProtoReflect.Descriptor instead.

func (*DeleteAgentInstanceRequest) GetAgentInstanceId

func (x *DeleteAgentInstanceRequest) GetAgentInstanceId() string

func (*DeleteAgentInstanceRequest) GetNamespace

func (x *DeleteAgentInstanceRequest) GetNamespace() string

func (*DeleteAgentInstanceRequest) ProtoMessage

func (*DeleteAgentInstanceRequest) ProtoMessage()

func (*DeleteAgentInstanceRequest) ProtoReflect

func (*DeleteAgentInstanceRequest) Reset

func (x *DeleteAgentInstanceRequest) Reset()

func (*DeleteAgentInstanceRequest) String

func (x *DeleteAgentInstanceRequest) String() string

type DeleteAgentInstanceResponse

type DeleteAgentInstanceResponse struct {
	AgentInstance *AgentInstance `protobuf:"bytes,1,opt,name=agent_instance,json=agentInstance,proto3" json:"agent_instance,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAgentInstanceResponse) Descriptor deprecated

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

Deprecated: Use DeleteAgentInstanceResponse.ProtoReflect.Descriptor instead.

func (*DeleteAgentInstanceResponse) GetAgentInstance

func (x *DeleteAgentInstanceResponse) GetAgentInstance() *AgentInstance

func (*DeleteAgentInstanceResponse) ProtoMessage

func (*DeleteAgentInstanceResponse) ProtoMessage()

func (*DeleteAgentInstanceResponse) ProtoReflect

func (*DeleteAgentInstanceResponse) Reset

func (x *DeleteAgentInstanceResponse) Reset()

func (*DeleteAgentInstanceResponse) String

func (x *DeleteAgentInstanceResponse) String() string

type Failure

type Failure struct {
	Reason  string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Failure) Descriptor deprecated

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

Deprecated: Use Failure.ProtoReflect.Descriptor instead.

func (*Failure) GetMessage

func (x *Failure) GetMessage() string

func (*Failure) GetReason

func (x *Failure) GetReason() string

func (*Failure) ProtoMessage

func (*Failure) ProtoMessage()

func (*Failure) ProtoReflect

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

func (*Failure) Reset

func (x *Failure) Reset()

func (*Failure) String

func (x *Failure) String() string

type GetAgentInstanceRequest

type GetAgentInstanceRequest struct {
	Namespace       string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	AgentInstanceId string `protobuf:"bytes,2,opt,name=agent_instance_id,json=agentInstanceId,proto3" json:"agent_instance_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAgentInstanceRequest) Descriptor deprecated

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

Deprecated: Use GetAgentInstanceRequest.ProtoReflect.Descriptor instead.

func (*GetAgentInstanceRequest) GetAgentInstanceId

func (x *GetAgentInstanceRequest) GetAgentInstanceId() string

func (*GetAgentInstanceRequest) GetNamespace

func (x *GetAgentInstanceRequest) GetNamespace() string

func (*GetAgentInstanceRequest) ProtoMessage

func (*GetAgentInstanceRequest) ProtoMessage()

func (*GetAgentInstanceRequest) ProtoReflect

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

func (*GetAgentInstanceRequest) Reset

func (x *GetAgentInstanceRequest) Reset()

func (*GetAgentInstanceRequest) String

func (x *GetAgentInstanceRequest) String() string

type GetAgentInstanceResponse

type GetAgentInstanceResponse struct {
	AgentInstance *AgentInstance `protobuf:"bytes,1,opt,name=agent_instance,json=agentInstance,proto3" json:"agent_instance,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAgentInstanceResponse) Descriptor deprecated

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

Deprecated: Use GetAgentInstanceResponse.ProtoReflect.Descriptor instead.

func (*GetAgentInstanceResponse) GetAgentInstance

func (x *GetAgentInstanceResponse) GetAgentInstance() *AgentInstance

func (*GetAgentInstanceResponse) ProtoMessage

func (*GetAgentInstanceResponse) ProtoMessage()

func (*GetAgentInstanceResponse) ProtoReflect

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

func (*GetAgentInstanceResponse) Reset

func (x *GetAgentInstanceResponse) Reset()

func (*GetAgentInstanceResponse) String

func (x *GetAgentInstanceResponse) String() string

type ListAgentInstanceSharesRequest

type ListAgentInstanceSharesRequest struct {
	Namespace       string       `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	AgentInstanceId string       `protobuf:"bytes,2,opt,name=agent_instance_id,json=agentInstanceId,proto3" json:"agent_instance_id,omitempty"`
	Page            *PageRequest `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAgentInstanceSharesRequest) Descriptor deprecated

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

Deprecated: Use ListAgentInstanceSharesRequest.ProtoReflect.Descriptor instead.

func (*ListAgentInstanceSharesRequest) GetAgentInstanceId

func (x *ListAgentInstanceSharesRequest) GetAgentInstanceId() string

func (*ListAgentInstanceSharesRequest) GetNamespace

func (x *ListAgentInstanceSharesRequest) GetNamespace() string

func (*ListAgentInstanceSharesRequest) GetPage

func (*ListAgentInstanceSharesRequest) ProtoMessage

func (*ListAgentInstanceSharesRequest) ProtoMessage()

func (*ListAgentInstanceSharesRequest) ProtoReflect

func (*ListAgentInstanceSharesRequest) Reset

func (x *ListAgentInstanceSharesRequest) Reset()

func (*ListAgentInstanceSharesRequest) String

type ListAgentInstanceSharesResponse

type ListAgentInstanceSharesResponse struct {
	Shares []*AgentInstanceShare `protobuf:"bytes,1,rep,name=shares,proto3" json:"shares,omitempty"`
	Page   *PageResponse         `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAgentInstanceSharesResponse) Descriptor deprecated

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

Deprecated: Use ListAgentInstanceSharesResponse.ProtoReflect.Descriptor instead.

func (*ListAgentInstanceSharesResponse) GetPage

func (*ListAgentInstanceSharesResponse) GetShares

func (*ListAgentInstanceSharesResponse) ProtoMessage

func (*ListAgentInstanceSharesResponse) ProtoMessage()

func (*ListAgentInstanceSharesResponse) ProtoReflect

func (*ListAgentInstanceSharesResponse) Reset

func (*ListAgentInstanceSharesResponse) String

type ListAgentInstancesRequest

type ListAgentInstancesRequest struct {
	Namespace   string            `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	MatchLabels map[string]string `` /* 168-byte string literal not displayed */
	// Includes instances created by other users when authorized.
	AllCreators bool         `protobuf:"varint,3,opt,name=all_creators,json=allCreators,proto3" json:"all_creators,omitempty"`
	Page        *PageRequest `protobuf:"bytes,4,opt,name=page,proto3" json:"page,omitempty"`
	// Narrows the list to the conversations of one agent, an agent being an
	// (AgentTemplate, Harness) pair. Either may be given alone. Both are matched
	// against the pair the instance's prepared revision was built from, so they
	// also select instances created before these fields existed.
	AgentTemplate string `protobuf:"bytes,5,opt,name=agent_template,json=agentTemplate,proto3" json:"agent_template,omitempty"`
	Harness       string `protobuf:"bytes,6,opt,name=harness,proto3" json:"harness,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAgentInstancesRequest) Descriptor deprecated

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

Deprecated: Use ListAgentInstancesRequest.ProtoReflect.Descriptor instead.

func (*ListAgentInstancesRequest) GetAgentTemplate

func (x *ListAgentInstancesRequest) GetAgentTemplate() string

func (*ListAgentInstancesRequest) GetAllCreators

func (x *ListAgentInstancesRequest) GetAllCreators() bool

func (*ListAgentInstancesRequest) GetHarness

func (x *ListAgentInstancesRequest) GetHarness() string

func (*ListAgentInstancesRequest) GetMatchLabels

func (x *ListAgentInstancesRequest) GetMatchLabels() map[string]string

func (*ListAgentInstancesRequest) GetNamespace

func (x *ListAgentInstancesRequest) GetNamespace() string

func (*ListAgentInstancesRequest) GetPage

func (x *ListAgentInstancesRequest) GetPage() *PageRequest

func (*ListAgentInstancesRequest) ProtoMessage

func (*ListAgentInstancesRequest) ProtoMessage()

func (*ListAgentInstancesRequest) ProtoReflect

func (*ListAgentInstancesRequest) Reset

func (x *ListAgentInstancesRequest) Reset()

func (*ListAgentInstancesRequest) String

func (x *ListAgentInstancesRequest) String() string

type ListAgentInstancesResponse

type ListAgentInstancesResponse struct {
	AgentInstances []*AgentInstance `protobuf:"bytes,1,rep,name=agent_instances,json=agentInstances,proto3" json:"agent_instances,omitempty"`
	Page           *PageResponse    `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAgentInstancesResponse) Descriptor deprecated

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

Deprecated: Use ListAgentInstancesResponse.ProtoReflect.Descriptor instead.

func (*ListAgentInstancesResponse) GetAgentInstances

func (x *ListAgentInstancesResponse) GetAgentInstances() []*AgentInstance

func (*ListAgentInstancesResponse) GetPage

func (*ListAgentInstancesResponse) ProtoMessage

func (*ListAgentInstancesResponse) ProtoMessage()

func (*ListAgentInstancesResponse) ProtoReflect

func (*ListAgentInstancesResponse) Reset

func (x *ListAgentInstancesResponse) Reset()

func (*ListAgentInstancesResponse) String

func (x *ListAgentInstancesResponse) String() string

type PageRequest

type PageRequest struct {
	Limit     int32  `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*PageRequest) Descriptor deprecated

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

Deprecated: Use PageRequest.ProtoReflect.Descriptor instead.

func (*PageRequest) GetLimit

func (x *PageRequest) GetLimit() int32

func (*PageRequest) GetPageToken

func (x *PageRequest) GetPageToken() string

func (*PageRequest) ProtoMessage

func (*PageRequest) ProtoMessage()

func (*PageRequest) ProtoReflect

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

func (*PageRequest) Reset

func (x *PageRequest) Reset()

func (*PageRequest) String

func (x *PageRequest) String() string

type PageResponse

type PageResponse struct {
	NextPageToken string `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*PageResponse) Descriptor deprecated

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

Deprecated: Use PageResponse.ProtoReflect.Descriptor instead.

func (*PageResponse) GetNextPageToken

func (x *PageResponse) GetNextPageToken() string

func (*PageResponse) ProtoMessage

func (*PageResponse) ProtoMessage()

func (*PageResponse) ProtoReflect

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

func (*PageResponse) Reset

func (x *PageResponse) Reset()

func (*PageResponse) String

func (x *PageResponse) String() string

type ResourceReference

type ResourceReference struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceReference) Descriptor deprecated

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

Deprecated: Use ResourceReference.ProtoReflect.Descriptor instead.

func (*ResourceReference) GetName

func (x *ResourceReference) GetName() string

func (*ResourceReference) GetNamespace

func (x *ResourceReference) GetNamespace() string

func (*ResourceReference) ProtoMessage

func (*ResourceReference) ProtoMessage()

func (*ResourceReference) ProtoReflect

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

func (*ResourceReference) Reset

func (x *ResourceReference) Reset()

func (*ResourceReference) String

func (x *ResourceReference) String() string

type ResumeAgentInstanceRequest

type ResumeAgentInstanceRequest struct {
	Namespace       string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	AgentInstanceId string `protobuf:"bytes,2,opt,name=agent_instance_id,json=agentInstanceId,proto3" json:"agent_instance_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ResumeAgentInstanceRequest) Descriptor deprecated

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

Deprecated: Use ResumeAgentInstanceRequest.ProtoReflect.Descriptor instead.

func (*ResumeAgentInstanceRequest) GetAgentInstanceId

func (x *ResumeAgentInstanceRequest) GetAgentInstanceId() string

func (*ResumeAgentInstanceRequest) GetNamespace

func (x *ResumeAgentInstanceRequest) GetNamespace() string

func (*ResumeAgentInstanceRequest) ProtoMessage

func (*ResumeAgentInstanceRequest) ProtoMessage()

func (*ResumeAgentInstanceRequest) ProtoReflect

func (*ResumeAgentInstanceRequest) Reset

func (x *ResumeAgentInstanceRequest) Reset()

func (*ResumeAgentInstanceRequest) String

func (x *ResumeAgentInstanceRequest) String() string

type ResumeAgentInstanceResponse

type ResumeAgentInstanceResponse struct {
	AgentInstance *AgentInstance `protobuf:"bytes,1,opt,name=agent_instance,json=agentInstance,proto3" json:"agent_instance,omitempty"`
	// contains filtered or unexported fields
}

func (*ResumeAgentInstanceResponse) Descriptor deprecated

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

Deprecated: Use ResumeAgentInstanceResponse.ProtoReflect.Descriptor instead.

func (*ResumeAgentInstanceResponse) GetAgentInstance

func (x *ResumeAgentInstanceResponse) GetAgentInstance() *AgentInstance

func (*ResumeAgentInstanceResponse) ProtoMessage

func (*ResumeAgentInstanceResponse) ProtoMessage()

func (*ResumeAgentInstanceResponse) ProtoReflect

func (*ResumeAgentInstanceResponse) Reset

func (x *ResumeAgentInstanceResponse) Reset()

func (*ResumeAgentInstanceResponse) String

func (x *ResumeAgentInstanceResponse) String() string

type RevokeAgentInstanceShareRequest

type RevokeAgentInstanceShareRequest struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	ShareId   string `protobuf:"bytes,2,opt,name=share_id,json=shareId,proto3" json:"share_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeAgentInstanceShareRequest) Descriptor deprecated

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

Deprecated: Use RevokeAgentInstanceShareRequest.ProtoReflect.Descriptor instead.

func (*RevokeAgentInstanceShareRequest) GetNamespace

func (x *RevokeAgentInstanceShareRequest) GetNamespace() string

func (*RevokeAgentInstanceShareRequest) GetShareId

func (x *RevokeAgentInstanceShareRequest) GetShareId() string

func (*RevokeAgentInstanceShareRequest) ProtoMessage

func (*RevokeAgentInstanceShareRequest) ProtoMessage()

func (*RevokeAgentInstanceShareRequest) ProtoReflect

func (*RevokeAgentInstanceShareRequest) Reset

func (*RevokeAgentInstanceShareRequest) String

type RevokeAgentInstanceShareResponse

type RevokeAgentInstanceShareResponse struct {
	// contains filtered or unexported fields
}

func (*RevokeAgentInstanceShareResponse) Descriptor deprecated

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

Deprecated: Use RevokeAgentInstanceShareResponse.ProtoReflect.Descriptor instead.

func (*RevokeAgentInstanceShareResponse) ProtoMessage

func (*RevokeAgentInstanceShareResponse) ProtoMessage()

func (*RevokeAgentInstanceShareResponse) ProtoReflect

func (*RevokeAgentInstanceShareResponse) Reset

func (*RevokeAgentInstanceShareResponse) String

type StructuredObject

type StructuredObject struct {
	ApiVersion string           `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	Kind       string           `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Value      *structpb.Struct `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*StructuredObject) Descriptor deprecated

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

Deprecated: Use StructuredObject.ProtoReflect.Descriptor instead.

func (*StructuredObject) GetApiVersion

func (x *StructuredObject) GetApiVersion() string

func (*StructuredObject) GetKind

func (x *StructuredObject) GetKind() string

func (*StructuredObject) GetValue

func (x *StructuredObject) GetValue() *structpb.Struct

func (*StructuredObject) ProtoMessage

func (*StructuredObject) ProtoMessage()

func (*StructuredObject) ProtoReflect

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

func (*StructuredObject) Reset

func (x *StructuredObject) Reset()

func (*StructuredObject) String

func (x *StructuredObject) String() string

type SuspendAgentInstanceRequest

type SuspendAgentInstanceRequest struct {
	Namespace       string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	AgentInstanceId string `protobuf:"bytes,2,opt,name=agent_instance_id,json=agentInstanceId,proto3" json:"agent_instance_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SuspendAgentInstanceRequest) Descriptor deprecated

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

Deprecated: Use SuspendAgentInstanceRequest.ProtoReflect.Descriptor instead.

func (*SuspendAgentInstanceRequest) GetAgentInstanceId

func (x *SuspendAgentInstanceRequest) GetAgentInstanceId() string

func (*SuspendAgentInstanceRequest) GetNamespace

func (x *SuspendAgentInstanceRequest) GetNamespace() string

func (*SuspendAgentInstanceRequest) ProtoMessage

func (*SuspendAgentInstanceRequest) ProtoMessage()

func (*SuspendAgentInstanceRequest) ProtoReflect

func (*SuspendAgentInstanceRequest) Reset

func (x *SuspendAgentInstanceRequest) Reset()

func (*SuspendAgentInstanceRequest) String

func (x *SuspendAgentInstanceRequest) String() string

type SuspendAgentInstanceResponse

type SuspendAgentInstanceResponse struct {
	AgentInstance *AgentInstance `protobuf:"bytes,1,opt,name=agent_instance,json=agentInstance,proto3" json:"agent_instance,omitempty"`
	// contains filtered or unexported fields
}

func (*SuspendAgentInstanceResponse) Descriptor deprecated

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

Deprecated: Use SuspendAgentInstanceResponse.ProtoReflect.Descriptor instead.

func (*SuspendAgentInstanceResponse) GetAgentInstance

func (x *SuspendAgentInstanceResponse) GetAgentInstance() *AgentInstance

func (*SuspendAgentInstanceResponse) ProtoMessage

func (*SuspendAgentInstanceResponse) ProtoMessage()

func (*SuspendAgentInstanceResponse) ProtoReflect

func (*SuspendAgentInstanceResponse) Reset

func (x *SuspendAgentInstanceResponse) Reset()

func (*SuspendAgentInstanceResponse) String

type UnimplementedAgentInstanceServiceServer

type UnimplementedAgentInstanceServiceServer struct{}

UnimplementedAgentInstanceServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedAgentInstanceServiceServer) CreateAgentInstance

func (UnimplementedAgentInstanceServiceServer) DeleteAgentInstance

func (UnimplementedAgentInstanceServiceServer) GetAgentInstance

func (UnimplementedAgentInstanceServiceServer) ListAgentInstances

func (UnimplementedAgentInstanceServiceServer) ResumeAgentInstance

func (UnimplementedAgentInstanceServiceServer) SuspendAgentInstance

type UnsafeAgentInstanceServiceServer

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

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

type UpdateAgentInstanceNameRequest

type UpdateAgentInstanceNameRequest struct {
	Namespace       string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	AgentInstanceId string `protobuf:"bytes,2,opt,name=agent_instance_id,json=agentInstanceId,proto3" json:"agent_instance_id,omitempty"`
	// The new display name. Empty clears the name, returning the conversation to
	// being identified by its id.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAgentInstanceNameRequest) Descriptor deprecated

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

Deprecated: Use UpdateAgentInstanceNameRequest.ProtoReflect.Descriptor instead.

func (*UpdateAgentInstanceNameRequest) GetAgentInstanceId

func (x *UpdateAgentInstanceNameRequest) GetAgentInstanceId() string

func (*UpdateAgentInstanceNameRequest) GetName

func (*UpdateAgentInstanceNameRequest) GetNamespace

func (x *UpdateAgentInstanceNameRequest) GetNamespace() string

func (*UpdateAgentInstanceNameRequest) ProtoMessage

func (*UpdateAgentInstanceNameRequest) ProtoMessage()

func (*UpdateAgentInstanceNameRequest) ProtoReflect

func (*UpdateAgentInstanceNameRequest) Reset

func (x *UpdateAgentInstanceNameRequest) Reset()

func (*UpdateAgentInstanceNameRequest) String

type UpdateAgentInstanceNameResponse

type UpdateAgentInstanceNameResponse struct {
	AgentInstance *AgentInstance `protobuf:"bytes,1,opt,name=agent_instance,json=agentInstance,proto3" json:"agent_instance,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAgentInstanceNameResponse) Descriptor deprecated

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

Deprecated: Use UpdateAgentInstanceNameResponse.ProtoReflect.Descriptor instead.

func (*UpdateAgentInstanceNameResponse) GetAgentInstance

func (x *UpdateAgentInstanceNameResponse) GetAgentInstance() *AgentInstance

func (*UpdateAgentInstanceNameResponse) ProtoMessage

func (*UpdateAgentInstanceNameResponse) ProtoMessage()

func (*UpdateAgentInstanceNameResponse) ProtoReflect

func (*UpdateAgentInstanceNameResponse) Reset

func (*UpdateAgentInstanceNameResponse) String

Jump to

Keyboard shortcuts

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