Linear: [CODAGT-1101](https://linear.app/codercom/issue/CODAGT-1101/agent-plugins-read-only-support-behind-the-agent-plugins-experiment) **tl;dr:** Adds the `agent-plugins` experiment and the Agent API v2.17 messages that carry Agent Plugins data from the agent to coderd. First of eight stacked PRs adding read-only [Agent Plugins](https://agent-plugins.org/) v1.0.0 support. A plugin is a directory with a `plugin.json` manifest, skills under `skills/`, and an optional `mcp.json`. Across the stack, the agent discovers plugins in `plugins/` and `.agents/plugins/` under its scan roots (for example `~/.coder/plugins/<name>`), chatd lists their skills with plugin attribution, the agent runs the MCP servers of plugins in the workspace working directory, and the Agents page shows plugin attribution in the chat context. Hooks, commands, agents, install flows, and org-managed plugins are out of scope. Background: [research/agent-plugins-standard.md](https://github.com/coder/scott-misc/blob/main/research/agent-plugins-standard.md) (internal). This PR adds `codersdk.ExperimentAgentPlugins` and a `PluginBody` oneof variant on `ContextResource` (tag 18) that carries the validated manifest fields and nests the plugin's skills and MCP servers. `Manifest` gains `agent_plugins_enabled` (field 23), which coderd sets when the experiment is enabled; the agent discovers plugins only then. coderd stores each nested resource as its own row with the plugin's name in a new `plugin_name` column (migration 000642), which the hydrate, MCP sync, and re-pin queries copy. With the experiment off, `PushContextState` drops plugin resources and everything nested in them. Otherwise it rejects pushes with plugin names that fail `workspacesdk.ValidatePluginName` (the spec's name grammar, shared by agent and coderd), OK plugins without a name or with a duplicate name, a non-OK plugin that nests resources, nested entries of the wrong kind, plugin skill sources outside `<plugin source>/skills/`, and plugin MCP servers with an empty `server_name` or a source other than `<plugin name>/<server_name>`. Nested resources count toward the 1000-resource cap. Agents now dial v2.17, so a new agent needs a coderd that supports it, as with every Agent API minor. Turning the experiment off does not remove plugin data already pinned to existing chats. <!-- pr-map:start --> <details><summary>PR map</summary> `main..4b0cfc9657` | Category | Files | + | - | |---|---:|---:|---:| | prod (backend) | 15 | 342 | 78 | | test (backend) | 9 | 534 | 3 | | migrations | 2 | 14 | 0 | | generated (backend) | 7 | 1216 | 1027 | | generated (frontend) | 1 | 2 | 0 | | **Total** | 34 | 2108 | 1108 | 1. `coderd/agentapi/context.go` (+211/-51, API): drops plugin resources when the experiment is off; otherwise validates plugin names and nesting, and stores each nested skill and MCP server as its own row with the plugin's name. 2. `agent/proto/agent.proto` (+39/-9, API): `PluginBody` with nested `skills` and `mcp_servers`, and `Manifest.agent_plugins_enabled`. 3. `codersdk/workspacesdk/frontmatter.go` (+31/-0): `ValidatePluginName` and `MaxPluginNameLength` (manifest name grammar). 4. `coderd/database/queries/chats.sql`, `workspaceagentcontext.sql`, migration 000642 (+28/-7, DB): the `plugin_name` column on both context resource tables, copied by the hydrate, MCP sync, and re-pin queries. 5. `codersdk/agentsdk/agentsdk.go`, `agent/agent.go` (+18/-4, API): `Manifest.AgentPluginsEnabled` and `ConnectRPC217WithRole`; the agent dials v2.17. 6. `coderd/agentapi/api.go`, `manifest.go` (+4): the manifest flag follows the experiment. 7. `tailnet/proto/version.go` (+8/-1, API): Agent API v2.17. 8. `codersdk/deployment.go` (+4, API): the `agent-plugins` experiment. </details> <!-- pr-map:end --> --- This PR was generated by Coder Agents on behalf of @jscottmiller. Co-authored-by: Garrett Delfosse <delfossegarrett@gmail.com>
8467 lines
321 KiB
Go
Generated
8467 lines
321 KiB
Go
Generated
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.30.0
|
|
// protoc v4.23.4
|
|
// source: agent/proto/agent.proto
|
|
|
|
package proto
|
|
|
|
import (
|
|
proto "github.com/coder/coder/v2/tailnet/proto"
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
durationpb "google.golang.org/protobuf/types/known/durationpb"
|
|
emptypb "google.golang.org/protobuf/types/known/emptypb"
|
|
structpb "google.golang.org/protobuf/types/known/structpb"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
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 AppHealth int32
|
|
|
|
const (
|
|
AppHealth_APP_HEALTH_UNSPECIFIED AppHealth = 0
|
|
AppHealth_DISABLED AppHealth = 1
|
|
AppHealth_INITIALIZING AppHealth = 2
|
|
AppHealth_HEALTHY AppHealth = 3
|
|
AppHealth_UNHEALTHY AppHealth = 4
|
|
)
|
|
|
|
// Enum value maps for AppHealth.
|
|
var (
|
|
AppHealth_name = map[int32]string{
|
|
0: "APP_HEALTH_UNSPECIFIED",
|
|
1: "DISABLED",
|
|
2: "INITIALIZING",
|
|
3: "HEALTHY",
|
|
4: "UNHEALTHY",
|
|
}
|
|
AppHealth_value = map[string]int32{
|
|
"APP_HEALTH_UNSPECIFIED": 0,
|
|
"DISABLED": 1,
|
|
"INITIALIZING": 2,
|
|
"HEALTHY": 3,
|
|
"UNHEALTHY": 4,
|
|
}
|
|
)
|
|
|
|
func (x AppHealth) Enum() *AppHealth {
|
|
p := new(AppHealth)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x AppHealth) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (AppHealth) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_agent_proto_agent_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (AppHealth) Type() protoreflect.EnumType {
|
|
return &file_agent_proto_agent_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x AppHealth) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use AppHealth.Descriptor instead.
|
|
func (AppHealth) EnumDescriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type WorkspaceApp_SharingLevel int32
|
|
|
|
const (
|
|
WorkspaceApp_SHARING_LEVEL_UNSPECIFIED WorkspaceApp_SharingLevel = 0
|
|
WorkspaceApp_OWNER WorkspaceApp_SharingLevel = 1
|
|
WorkspaceApp_AUTHENTICATED WorkspaceApp_SharingLevel = 2
|
|
WorkspaceApp_PUBLIC WorkspaceApp_SharingLevel = 3
|
|
WorkspaceApp_ORGANIZATION WorkspaceApp_SharingLevel = 4
|
|
)
|
|
|
|
// Enum value maps for WorkspaceApp_SharingLevel.
|
|
var (
|
|
WorkspaceApp_SharingLevel_name = map[int32]string{
|
|
0: "SHARING_LEVEL_UNSPECIFIED",
|
|
1: "OWNER",
|
|
2: "AUTHENTICATED",
|
|
3: "PUBLIC",
|
|
4: "ORGANIZATION",
|
|
}
|
|
WorkspaceApp_SharingLevel_value = map[string]int32{
|
|
"SHARING_LEVEL_UNSPECIFIED": 0,
|
|
"OWNER": 1,
|
|
"AUTHENTICATED": 2,
|
|
"PUBLIC": 3,
|
|
"ORGANIZATION": 4,
|
|
}
|
|
)
|
|
|
|
func (x WorkspaceApp_SharingLevel) Enum() *WorkspaceApp_SharingLevel {
|
|
p := new(WorkspaceApp_SharingLevel)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x WorkspaceApp_SharingLevel) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (WorkspaceApp_SharingLevel) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_agent_proto_agent_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (WorkspaceApp_SharingLevel) Type() protoreflect.EnumType {
|
|
return &file_agent_proto_agent_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x WorkspaceApp_SharingLevel) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use WorkspaceApp_SharingLevel.Descriptor instead.
|
|
func (WorkspaceApp_SharingLevel) EnumDescriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{0, 0}
|
|
}
|
|
|
|
type WorkspaceApp_Health int32
|
|
|
|
const (
|
|
WorkspaceApp_HEALTH_UNSPECIFIED WorkspaceApp_Health = 0
|
|
WorkspaceApp_DISABLED WorkspaceApp_Health = 1
|
|
WorkspaceApp_INITIALIZING WorkspaceApp_Health = 2
|
|
WorkspaceApp_HEALTHY WorkspaceApp_Health = 3
|
|
WorkspaceApp_UNHEALTHY WorkspaceApp_Health = 4
|
|
)
|
|
|
|
// Enum value maps for WorkspaceApp_Health.
|
|
var (
|
|
WorkspaceApp_Health_name = map[int32]string{
|
|
0: "HEALTH_UNSPECIFIED",
|
|
1: "DISABLED",
|
|
2: "INITIALIZING",
|
|
3: "HEALTHY",
|
|
4: "UNHEALTHY",
|
|
}
|
|
WorkspaceApp_Health_value = map[string]int32{
|
|
"HEALTH_UNSPECIFIED": 0,
|
|
"DISABLED": 1,
|
|
"INITIALIZING": 2,
|
|
"HEALTHY": 3,
|
|
"UNHEALTHY": 4,
|
|
}
|
|
)
|
|
|
|
func (x WorkspaceApp_Health) Enum() *WorkspaceApp_Health {
|
|
p := new(WorkspaceApp_Health)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x WorkspaceApp_Health) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (WorkspaceApp_Health) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_agent_proto_agent_proto_enumTypes[2].Descriptor()
|
|
}
|
|
|
|
func (WorkspaceApp_Health) Type() protoreflect.EnumType {
|
|
return &file_agent_proto_agent_proto_enumTypes[2]
|
|
}
|
|
|
|
func (x WorkspaceApp_Health) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use WorkspaceApp_Health.Descriptor instead.
|
|
func (WorkspaceApp_Health) EnumDescriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{0, 1}
|
|
}
|
|
|
|
// The agent rejects a Requirement value it does not know and fails its
|
|
// whole manifest, which keeps networking, SSH and apps down until the
|
|
// agent binary is replaced. So coderd must send a value only to agents
|
|
// whose reported API version is at or above the version that added it.
|
|
type WorkspaceAgentScriptDependency_Requirement int32
|
|
|
|
const (
|
|
WorkspaceAgentScriptDependency_REQUIREMENT_UNSPECIFIED WorkspaceAgentScriptDependency_Requirement = 0
|
|
WorkspaceAgentScriptDependency_REQUIREMENT_SUCCESS WorkspaceAgentScriptDependency_Requirement = 1
|
|
WorkspaceAgentScriptDependency_REQUIREMENT_COMPLETION WorkspaceAgentScriptDependency_Requirement = 2
|
|
)
|
|
|
|
// Enum value maps for WorkspaceAgentScriptDependency_Requirement.
|
|
var (
|
|
WorkspaceAgentScriptDependency_Requirement_name = map[int32]string{
|
|
0: "REQUIREMENT_UNSPECIFIED",
|
|
1: "REQUIREMENT_SUCCESS",
|
|
2: "REQUIREMENT_COMPLETION",
|
|
}
|
|
WorkspaceAgentScriptDependency_Requirement_value = map[string]int32{
|
|
"REQUIREMENT_UNSPECIFIED": 0,
|
|
"REQUIREMENT_SUCCESS": 1,
|
|
"REQUIREMENT_COMPLETION": 2,
|
|
}
|
|
)
|
|
|
|
func (x WorkspaceAgentScriptDependency_Requirement) Enum() *WorkspaceAgentScriptDependency_Requirement {
|
|
p := new(WorkspaceAgentScriptDependency_Requirement)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x WorkspaceAgentScriptDependency_Requirement) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (WorkspaceAgentScriptDependency_Requirement) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_agent_proto_agent_proto_enumTypes[3].Descriptor()
|
|
}
|
|
|
|
func (WorkspaceAgentScriptDependency_Requirement) Type() protoreflect.EnumType {
|
|
return &file_agent_proto_agent_proto_enumTypes[3]
|
|
}
|
|
|
|
func (x WorkspaceAgentScriptDependency_Requirement) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use WorkspaceAgentScriptDependency_Requirement.Descriptor instead.
|
|
func (WorkspaceAgentScriptDependency_Requirement) EnumDescriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{2, 0}
|
|
}
|
|
|
|
type Stats_Metric_Type int32
|
|
|
|
const (
|
|
Stats_Metric_TYPE_UNSPECIFIED Stats_Metric_Type = 0
|
|
Stats_Metric_COUNTER Stats_Metric_Type = 1
|
|
Stats_Metric_GAUGE Stats_Metric_Type = 2
|
|
)
|
|
|
|
// Enum value maps for Stats_Metric_Type.
|
|
var (
|
|
Stats_Metric_Type_name = map[int32]string{
|
|
0: "TYPE_UNSPECIFIED",
|
|
1: "COUNTER",
|
|
2: "GAUGE",
|
|
}
|
|
Stats_Metric_Type_value = map[string]int32{
|
|
"TYPE_UNSPECIFIED": 0,
|
|
"COUNTER": 1,
|
|
"GAUGE": 2,
|
|
}
|
|
)
|
|
|
|
func (x Stats_Metric_Type) Enum() *Stats_Metric_Type {
|
|
p := new(Stats_Metric_Type)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Stats_Metric_Type) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Stats_Metric_Type) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_agent_proto_agent_proto_enumTypes[4].Descriptor()
|
|
}
|
|
|
|
func (Stats_Metric_Type) Type() protoreflect.EnumType {
|
|
return &file_agent_proto_agent_proto_enumTypes[4]
|
|
}
|
|
|
|
func (x Stats_Metric_Type) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Stats_Metric_Type.Descriptor instead.
|
|
func (Stats_Metric_Type) EnumDescriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{10, 1, 0}
|
|
}
|
|
|
|
type Lifecycle_State int32
|
|
|
|
const (
|
|
Lifecycle_STATE_UNSPECIFIED Lifecycle_State = 0
|
|
Lifecycle_CREATED Lifecycle_State = 1
|
|
Lifecycle_STARTING Lifecycle_State = 2
|
|
Lifecycle_START_TIMEOUT Lifecycle_State = 3
|
|
Lifecycle_START_ERROR Lifecycle_State = 4
|
|
Lifecycle_READY Lifecycle_State = 5
|
|
Lifecycle_SHUTTING_DOWN Lifecycle_State = 6
|
|
Lifecycle_SHUTDOWN_TIMEOUT Lifecycle_State = 7
|
|
Lifecycle_SHUTDOWN_ERROR Lifecycle_State = 8
|
|
Lifecycle_OFF Lifecycle_State = 9
|
|
)
|
|
|
|
// Enum value maps for Lifecycle_State.
|
|
var (
|
|
Lifecycle_State_name = map[int32]string{
|
|
0: "STATE_UNSPECIFIED",
|
|
1: "CREATED",
|
|
2: "STARTING",
|
|
3: "START_TIMEOUT",
|
|
4: "START_ERROR",
|
|
5: "READY",
|
|
6: "SHUTTING_DOWN",
|
|
7: "SHUTDOWN_TIMEOUT",
|
|
8: "SHUTDOWN_ERROR",
|
|
9: "OFF",
|
|
}
|
|
Lifecycle_State_value = map[string]int32{
|
|
"STATE_UNSPECIFIED": 0,
|
|
"CREATED": 1,
|
|
"STARTING": 2,
|
|
"START_TIMEOUT": 3,
|
|
"START_ERROR": 4,
|
|
"READY": 5,
|
|
"SHUTTING_DOWN": 6,
|
|
"SHUTDOWN_TIMEOUT": 7,
|
|
"SHUTDOWN_ERROR": 8,
|
|
"OFF": 9,
|
|
}
|
|
)
|
|
|
|
func (x Lifecycle_State) Enum() *Lifecycle_State {
|
|
p := new(Lifecycle_State)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Lifecycle_State) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Lifecycle_State) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_agent_proto_agent_proto_enumTypes[5].Descriptor()
|
|
}
|
|
|
|
func (Lifecycle_State) Type() protoreflect.EnumType {
|
|
return &file_agent_proto_agent_proto_enumTypes[5]
|
|
}
|
|
|
|
func (x Lifecycle_State) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Lifecycle_State.Descriptor instead.
|
|
func (Lifecycle_State) EnumDescriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{13, 0}
|
|
}
|
|
|
|
type Startup_Subsystem int32
|
|
|
|
const (
|
|
Startup_SUBSYSTEM_UNSPECIFIED Startup_Subsystem = 0
|
|
Startup_ENVBOX Startup_Subsystem = 1
|
|
Startup_ENVBUILDER Startup_Subsystem = 2
|
|
Startup_EXECTRACE Startup_Subsystem = 3
|
|
)
|
|
|
|
// Enum value maps for Startup_Subsystem.
|
|
var (
|
|
Startup_Subsystem_name = map[int32]string{
|
|
0: "SUBSYSTEM_UNSPECIFIED",
|
|
1: "ENVBOX",
|
|
2: "ENVBUILDER",
|
|
3: "EXECTRACE",
|
|
}
|
|
Startup_Subsystem_value = map[string]int32{
|
|
"SUBSYSTEM_UNSPECIFIED": 0,
|
|
"ENVBOX": 1,
|
|
"ENVBUILDER": 2,
|
|
"EXECTRACE": 3,
|
|
}
|
|
)
|
|
|
|
func (x Startup_Subsystem) Enum() *Startup_Subsystem {
|
|
p := new(Startup_Subsystem)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Startup_Subsystem) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Startup_Subsystem) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_agent_proto_agent_proto_enumTypes[6].Descriptor()
|
|
}
|
|
|
|
func (Startup_Subsystem) Type() protoreflect.EnumType {
|
|
return &file_agent_proto_agent_proto_enumTypes[6]
|
|
}
|
|
|
|
func (x Startup_Subsystem) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Startup_Subsystem.Descriptor instead.
|
|
func (Startup_Subsystem) EnumDescriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{17, 0}
|
|
}
|
|
|
|
type Log_Level int32
|
|
|
|
const (
|
|
Log_LEVEL_UNSPECIFIED Log_Level = 0
|
|
Log_TRACE Log_Level = 1
|
|
Log_DEBUG Log_Level = 2
|
|
Log_INFO Log_Level = 3
|
|
Log_WARN Log_Level = 4
|
|
Log_ERROR Log_Level = 5
|
|
)
|
|
|
|
// Enum value maps for Log_Level.
|
|
var (
|
|
Log_Level_name = map[int32]string{
|
|
0: "LEVEL_UNSPECIFIED",
|
|
1: "TRACE",
|
|
2: "DEBUG",
|
|
3: "INFO",
|
|
4: "WARN",
|
|
5: "ERROR",
|
|
}
|
|
Log_Level_value = map[string]int32{
|
|
"LEVEL_UNSPECIFIED": 0,
|
|
"TRACE": 1,
|
|
"DEBUG": 2,
|
|
"INFO": 3,
|
|
"WARN": 4,
|
|
"ERROR": 5,
|
|
}
|
|
)
|
|
|
|
func (x Log_Level) Enum() *Log_Level {
|
|
p := new(Log_Level)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Log_Level) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Log_Level) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_agent_proto_agent_proto_enumTypes[7].Descriptor()
|
|
}
|
|
|
|
func (Log_Level) Type() protoreflect.EnumType {
|
|
return &file_agent_proto_agent_proto_enumTypes[7]
|
|
}
|
|
|
|
func (x Log_Level) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Log_Level.Descriptor instead.
|
|
func (Log_Level) EnumDescriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{22, 0}
|
|
}
|
|
|
|
type Timing_Stage int32
|
|
|
|
const (
|
|
Timing_START Timing_Stage = 0
|
|
Timing_STOP Timing_Stage = 1
|
|
Timing_CRON Timing_Stage = 2
|
|
)
|
|
|
|
// Enum value maps for Timing_Stage.
|
|
var (
|
|
Timing_Stage_name = map[int32]string{
|
|
0: "START",
|
|
1: "STOP",
|
|
2: "CRON",
|
|
}
|
|
Timing_Stage_value = map[string]int32{
|
|
"START": 0,
|
|
"STOP": 1,
|
|
"CRON": 2,
|
|
}
|
|
)
|
|
|
|
func (x Timing_Stage) Enum() *Timing_Stage {
|
|
p := new(Timing_Stage)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Timing_Stage) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Timing_Stage) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_agent_proto_agent_proto_enumTypes[8].Descriptor()
|
|
}
|
|
|
|
func (Timing_Stage) Type() protoreflect.EnumType {
|
|
return &file_agent_proto_agent_proto_enumTypes[8]
|
|
}
|
|
|
|
func (x Timing_Stage) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Timing_Stage.Descriptor instead.
|
|
func (Timing_Stage) EnumDescriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{30, 0}
|
|
}
|
|
|
|
type Timing_Status int32
|
|
|
|
const (
|
|
Timing_OK Timing_Status = 0
|
|
Timing_EXIT_FAILURE Timing_Status = 1
|
|
Timing_TIMED_OUT Timing_Status = 2
|
|
Timing_PIPES_LEFT_OPEN Timing_Status = 3
|
|
// The script never ran because a prerequisite did not reach the
|
|
// outcome it needed. Start and end are both the moment of the skip
|
|
// and exit_code is 0.
|
|
Timing_SKIPPED Timing_Status = 4
|
|
// The agent shut down before the script finished, usually because
|
|
// the workspace stopped. A script that was running keeps its real
|
|
// interval and the exit code its process returned; one that never
|
|
// started has start equal to end at the moment of cancellation and
|
|
// exit_code 0.
|
|
Timing_CANCELED Timing_Status = 5
|
|
)
|
|
|
|
// Enum value maps for Timing_Status.
|
|
var (
|
|
Timing_Status_name = map[int32]string{
|
|
0: "OK",
|
|
1: "EXIT_FAILURE",
|
|
2: "TIMED_OUT",
|
|
3: "PIPES_LEFT_OPEN",
|
|
4: "SKIPPED",
|
|
5: "CANCELED",
|
|
}
|
|
Timing_Status_value = map[string]int32{
|
|
"OK": 0,
|
|
"EXIT_FAILURE": 1,
|
|
"TIMED_OUT": 2,
|
|
"PIPES_LEFT_OPEN": 3,
|
|
"SKIPPED": 4,
|
|
"CANCELED": 5,
|
|
}
|
|
)
|
|
|
|
func (x Timing_Status) Enum() *Timing_Status {
|
|
p := new(Timing_Status)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Timing_Status) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Timing_Status) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_agent_proto_agent_proto_enumTypes[9].Descriptor()
|
|
}
|
|
|
|
func (Timing_Status) Type() protoreflect.EnumType {
|
|
return &file_agent_proto_agent_proto_enumTypes[9]
|
|
}
|
|
|
|
func (x Timing_Status) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Timing_Status.Descriptor instead.
|
|
func (Timing_Status) EnumDescriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{30, 1}
|
|
}
|
|
|
|
type Connection_Action int32
|
|
|
|
const (
|
|
Connection_ACTION_UNSPECIFIED Connection_Action = 0
|
|
Connection_CONNECT Connection_Action = 1
|
|
Connection_DISCONNECT Connection_Action = 2
|
|
)
|
|
|
|
// Enum value maps for Connection_Action.
|
|
var (
|
|
Connection_Action_name = map[int32]string{
|
|
0: "ACTION_UNSPECIFIED",
|
|
1: "CONNECT",
|
|
2: "DISCONNECT",
|
|
}
|
|
Connection_Action_value = map[string]int32{
|
|
"ACTION_UNSPECIFIED": 0,
|
|
"CONNECT": 1,
|
|
"DISCONNECT": 2,
|
|
}
|
|
)
|
|
|
|
func (x Connection_Action) Enum() *Connection_Action {
|
|
p := new(Connection_Action)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Connection_Action) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Connection_Action) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_agent_proto_agent_proto_enumTypes[10].Descriptor()
|
|
}
|
|
|
|
func (Connection_Action) Type() protoreflect.EnumType {
|
|
return &file_agent_proto_agent_proto_enumTypes[10]
|
|
}
|
|
|
|
func (x Connection_Action) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Connection_Action.Descriptor instead.
|
|
func (Connection_Action) EnumDescriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{35, 0}
|
|
}
|
|
|
|
type Connection_Type int32
|
|
|
|
const (
|
|
Connection_TYPE_UNSPECIFIED Connection_Type = 0
|
|
Connection_SSH Connection_Type = 1
|
|
Connection_VSCODE Connection_Type = 2
|
|
Connection_JETBRAINS Connection_Type = 3
|
|
Connection_RECONNECTING_PTY Connection_Type = 4
|
|
)
|
|
|
|
// Enum value maps for Connection_Type.
|
|
var (
|
|
Connection_Type_name = map[int32]string{
|
|
0: "TYPE_UNSPECIFIED",
|
|
1: "SSH",
|
|
2: "VSCODE",
|
|
3: "JETBRAINS",
|
|
4: "RECONNECTING_PTY",
|
|
}
|
|
Connection_Type_value = map[string]int32{
|
|
"TYPE_UNSPECIFIED": 0,
|
|
"SSH": 1,
|
|
"VSCODE": 2,
|
|
"JETBRAINS": 3,
|
|
"RECONNECTING_PTY": 4,
|
|
}
|
|
)
|
|
|
|
func (x Connection_Type) Enum() *Connection_Type {
|
|
p := new(Connection_Type)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Connection_Type) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Connection_Type) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_agent_proto_agent_proto_enumTypes[11].Descriptor()
|
|
}
|
|
|
|
func (Connection_Type) Type() protoreflect.EnumType {
|
|
return &file_agent_proto_agent_proto_enumTypes[11]
|
|
}
|
|
|
|
func (x Connection_Type) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Connection_Type.Descriptor instead.
|
|
func (Connection_Type) EnumDescriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{35, 1}
|
|
}
|
|
|
|
type Connection_Method int32
|
|
|
|
const (
|
|
Connection_METHOD_UNSPECIFIED Connection_Method = 0
|
|
Connection_METHOD_SSH Connection_Method = 1
|
|
Connection_METHOD_RECONNECTING_PTY Connection_Method = 2
|
|
Connection_METHOD_PORT_FORWARDING Connection_Method = 3
|
|
)
|
|
|
|
// Enum value maps for Connection_Method.
|
|
var (
|
|
Connection_Method_name = map[int32]string{
|
|
0: "METHOD_UNSPECIFIED",
|
|
1: "METHOD_SSH",
|
|
2: "METHOD_RECONNECTING_PTY",
|
|
3: "METHOD_PORT_FORWARDING",
|
|
}
|
|
Connection_Method_value = map[string]int32{
|
|
"METHOD_UNSPECIFIED": 0,
|
|
"METHOD_SSH": 1,
|
|
"METHOD_RECONNECTING_PTY": 2,
|
|
"METHOD_PORT_FORWARDING": 3,
|
|
}
|
|
)
|
|
|
|
func (x Connection_Method) Enum() *Connection_Method {
|
|
p := new(Connection_Method)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Connection_Method) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Connection_Method) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_agent_proto_agent_proto_enumTypes[12].Descriptor()
|
|
}
|
|
|
|
func (Connection_Method) Type() protoreflect.EnumType {
|
|
return &file_agent_proto_agent_proto_enumTypes[12]
|
|
}
|
|
|
|
func (x Connection_Method) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Connection_Method.Descriptor instead.
|
|
func (Connection_Method) EnumDescriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{35, 2}
|
|
}
|
|
|
|
type CreateSubAgentRequest_DisplayApp int32
|
|
|
|
const (
|
|
CreateSubAgentRequest_VSCODE CreateSubAgentRequest_DisplayApp = 0
|
|
CreateSubAgentRequest_VSCODE_INSIDERS CreateSubAgentRequest_DisplayApp = 1
|
|
CreateSubAgentRequest_WEB_TERMINAL CreateSubAgentRequest_DisplayApp = 2
|
|
CreateSubAgentRequest_SSH_HELPER CreateSubAgentRequest_DisplayApp = 3
|
|
CreateSubAgentRequest_PORT_FORWARDING_HELPER CreateSubAgentRequest_DisplayApp = 4
|
|
)
|
|
|
|
// Enum value maps for CreateSubAgentRequest_DisplayApp.
|
|
var (
|
|
CreateSubAgentRequest_DisplayApp_name = map[int32]string{
|
|
0: "VSCODE",
|
|
1: "VSCODE_INSIDERS",
|
|
2: "WEB_TERMINAL",
|
|
3: "SSH_HELPER",
|
|
4: "PORT_FORWARDING_HELPER",
|
|
}
|
|
CreateSubAgentRequest_DisplayApp_value = map[string]int32{
|
|
"VSCODE": 0,
|
|
"VSCODE_INSIDERS": 1,
|
|
"WEB_TERMINAL": 2,
|
|
"SSH_HELPER": 3,
|
|
"PORT_FORWARDING_HELPER": 4,
|
|
}
|
|
)
|
|
|
|
func (x CreateSubAgentRequest_DisplayApp) Enum() *CreateSubAgentRequest_DisplayApp {
|
|
p := new(CreateSubAgentRequest_DisplayApp)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x CreateSubAgentRequest_DisplayApp) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (CreateSubAgentRequest_DisplayApp) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_agent_proto_agent_proto_enumTypes[13].Descriptor()
|
|
}
|
|
|
|
func (CreateSubAgentRequest_DisplayApp) Type() protoreflect.EnumType {
|
|
return &file_agent_proto_agent_proto_enumTypes[13]
|
|
}
|
|
|
|
func (x CreateSubAgentRequest_DisplayApp) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateSubAgentRequest_DisplayApp.Descriptor instead.
|
|
func (CreateSubAgentRequest_DisplayApp) EnumDescriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{38, 0}
|
|
}
|
|
|
|
type CreateSubAgentRequest_App_OpenIn int32
|
|
|
|
const (
|
|
CreateSubAgentRequest_App_SLIM_WINDOW CreateSubAgentRequest_App_OpenIn = 0
|
|
CreateSubAgentRequest_App_TAB CreateSubAgentRequest_App_OpenIn = 1
|
|
)
|
|
|
|
// Enum value maps for CreateSubAgentRequest_App_OpenIn.
|
|
var (
|
|
CreateSubAgentRequest_App_OpenIn_name = map[int32]string{
|
|
0: "SLIM_WINDOW",
|
|
1: "TAB",
|
|
}
|
|
CreateSubAgentRequest_App_OpenIn_value = map[string]int32{
|
|
"SLIM_WINDOW": 0,
|
|
"TAB": 1,
|
|
}
|
|
)
|
|
|
|
func (x CreateSubAgentRequest_App_OpenIn) Enum() *CreateSubAgentRequest_App_OpenIn {
|
|
p := new(CreateSubAgentRequest_App_OpenIn)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x CreateSubAgentRequest_App_OpenIn) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (CreateSubAgentRequest_App_OpenIn) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_agent_proto_agent_proto_enumTypes[14].Descriptor()
|
|
}
|
|
|
|
func (CreateSubAgentRequest_App_OpenIn) Type() protoreflect.EnumType {
|
|
return &file_agent_proto_agent_proto_enumTypes[14]
|
|
}
|
|
|
|
func (x CreateSubAgentRequest_App_OpenIn) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateSubAgentRequest_App_OpenIn.Descriptor instead.
|
|
func (CreateSubAgentRequest_App_OpenIn) EnumDescriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{38, 0, 0}
|
|
}
|
|
|
|
type CreateSubAgentRequest_App_SharingLevel int32
|
|
|
|
const (
|
|
CreateSubAgentRequest_App_OWNER CreateSubAgentRequest_App_SharingLevel = 0
|
|
CreateSubAgentRequest_App_AUTHENTICATED CreateSubAgentRequest_App_SharingLevel = 1
|
|
CreateSubAgentRequest_App_PUBLIC CreateSubAgentRequest_App_SharingLevel = 2
|
|
CreateSubAgentRequest_App_ORGANIZATION CreateSubAgentRequest_App_SharingLevel = 3
|
|
)
|
|
|
|
// Enum value maps for CreateSubAgentRequest_App_SharingLevel.
|
|
var (
|
|
CreateSubAgentRequest_App_SharingLevel_name = map[int32]string{
|
|
0: "OWNER",
|
|
1: "AUTHENTICATED",
|
|
2: "PUBLIC",
|
|
3: "ORGANIZATION",
|
|
}
|
|
CreateSubAgentRequest_App_SharingLevel_value = map[string]int32{
|
|
"OWNER": 0,
|
|
"AUTHENTICATED": 1,
|
|
"PUBLIC": 2,
|
|
"ORGANIZATION": 3,
|
|
}
|
|
)
|
|
|
|
func (x CreateSubAgentRequest_App_SharingLevel) Enum() *CreateSubAgentRequest_App_SharingLevel {
|
|
p := new(CreateSubAgentRequest_App_SharingLevel)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x CreateSubAgentRequest_App_SharingLevel) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (CreateSubAgentRequest_App_SharingLevel) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_agent_proto_agent_proto_enumTypes[15].Descriptor()
|
|
}
|
|
|
|
func (CreateSubAgentRequest_App_SharingLevel) Type() protoreflect.EnumType {
|
|
return &file_agent_proto_agent_proto_enumTypes[15]
|
|
}
|
|
|
|
func (x CreateSubAgentRequest_App_SharingLevel) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateSubAgentRequest_App_SharingLevel.Descriptor instead.
|
|
func (CreateSubAgentRequest_App_SharingLevel) EnumDescriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{38, 0, 1}
|
|
}
|
|
|
|
type UpdateAppStatusRequest_AppStatusState int32
|
|
|
|
const (
|
|
UpdateAppStatusRequest_WORKING UpdateAppStatusRequest_AppStatusState = 0
|
|
UpdateAppStatusRequest_IDLE UpdateAppStatusRequest_AppStatusState = 1
|
|
UpdateAppStatusRequest_COMPLETE UpdateAppStatusRequest_AppStatusState = 2
|
|
UpdateAppStatusRequest_FAILURE UpdateAppStatusRequest_AppStatusState = 3
|
|
)
|
|
|
|
// Enum value maps for UpdateAppStatusRequest_AppStatusState.
|
|
var (
|
|
UpdateAppStatusRequest_AppStatusState_name = map[int32]string{
|
|
0: "WORKING",
|
|
1: "IDLE",
|
|
2: "COMPLETE",
|
|
3: "FAILURE",
|
|
}
|
|
UpdateAppStatusRequest_AppStatusState_value = map[string]int32{
|
|
"WORKING": 0,
|
|
"IDLE": 1,
|
|
"COMPLETE": 2,
|
|
"FAILURE": 3,
|
|
}
|
|
)
|
|
|
|
func (x UpdateAppStatusRequest_AppStatusState) Enum() *UpdateAppStatusRequest_AppStatusState {
|
|
p := new(UpdateAppStatusRequest_AppStatusState)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x UpdateAppStatusRequest_AppStatusState) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (UpdateAppStatusRequest_AppStatusState) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_agent_proto_agent_proto_enumTypes[16].Descriptor()
|
|
}
|
|
|
|
func (UpdateAppStatusRequest_AppStatusState) Type() protoreflect.EnumType {
|
|
return &file_agent_proto_agent_proto_enumTypes[16]
|
|
}
|
|
|
|
func (x UpdateAppStatusRequest_AppStatusState) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateAppStatusRequest_AppStatusState.Descriptor instead.
|
|
func (UpdateAppStatusRequest_AppStatusState) EnumDescriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{47, 0}
|
|
}
|
|
|
|
type ContextResource_Status int32
|
|
|
|
const (
|
|
ContextResource_STATUS_UNSPECIFIED ContextResource_Status = 0
|
|
ContextResource_OK ContextResource_Status = 1
|
|
ContextResource_OVERSIZE ContextResource_Status = 2
|
|
ContextResource_UNREADABLE ContextResource_Status = 3
|
|
ContextResource_INVALID ContextResource_Status = 4
|
|
ContextResource_EXCLUDED ContextResource_Status = 5
|
|
)
|
|
|
|
// Enum value maps for ContextResource_Status.
|
|
var (
|
|
ContextResource_Status_name = map[int32]string{
|
|
0: "STATUS_UNSPECIFIED",
|
|
1: "OK",
|
|
2: "OVERSIZE",
|
|
3: "UNREADABLE",
|
|
4: "INVALID",
|
|
5: "EXCLUDED",
|
|
}
|
|
ContextResource_Status_value = map[string]int32{
|
|
"STATUS_UNSPECIFIED": 0,
|
|
"OK": 1,
|
|
"OVERSIZE": 2,
|
|
"UNREADABLE": 3,
|
|
"INVALID": 4,
|
|
"EXCLUDED": 5,
|
|
}
|
|
)
|
|
|
|
func (x ContextResource_Status) Enum() *ContextResource_Status {
|
|
p := new(ContextResource_Status)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ContextResource_Status) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ContextResource_Status) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_agent_proto_agent_proto_enumTypes[17].Descriptor()
|
|
}
|
|
|
|
func (ContextResource_Status) Type() protoreflect.EnumType {
|
|
return &file_agent_proto_agent_proto_enumTypes[17]
|
|
}
|
|
|
|
func (x ContextResource_Status) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ContextResource_Status.Descriptor instead.
|
|
func (ContextResource_Status) EnumDescriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{49, 0}
|
|
}
|
|
|
|
type WorkspaceApp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
|
|
External bool `protobuf:"varint,3,opt,name=external,proto3" json:"external,omitempty"`
|
|
Slug string `protobuf:"bytes,4,opt,name=slug,proto3" json:"slug,omitempty"`
|
|
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
Command string `protobuf:"bytes,6,opt,name=command,proto3" json:"command,omitempty"`
|
|
Icon string `protobuf:"bytes,7,opt,name=icon,proto3" json:"icon,omitempty"`
|
|
Subdomain bool `protobuf:"varint,8,opt,name=subdomain,proto3" json:"subdomain,omitempty"`
|
|
SubdomainName string `protobuf:"bytes,9,opt,name=subdomain_name,json=subdomainName,proto3" json:"subdomain_name,omitempty"`
|
|
SharingLevel WorkspaceApp_SharingLevel `protobuf:"varint,10,opt,name=sharing_level,json=sharingLevel,proto3,enum=coder.agent.v2.WorkspaceApp_SharingLevel" json:"sharing_level,omitempty"`
|
|
Healthcheck *WorkspaceApp_Healthcheck `protobuf:"bytes,11,opt,name=healthcheck,proto3" json:"healthcheck,omitempty"`
|
|
Health WorkspaceApp_Health `protobuf:"varint,12,opt,name=health,proto3,enum=coder.agent.v2.WorkspaceApp_Health" json:"health,omitempty"`
|
|
Hidden bool `protobuf:"varint,13,opt,name=hidden,proto3" json:"hidden,omitempty"`
|
|
}
|
|
|
|
func (x *WorkspaceApp) Reset() {
|
|
*x = WorkspaceApp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WorkspaceApp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkspaceApp) ProtoMessage() {}
|
|
|
|
func (x *WorkspaceApp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WorkspaceApp.ProtoReflect.Descriptor instead.
|
|
func (*WorkspaceApp) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *WorkspaceApp) GetId() []byte {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WorkspaceApp) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceApp) GetExternal() bool {
|
|
if x != nil {
|
|
return x.External
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *WorkspaceApp) GetSlug() string {
|
|
if x != nil {
|
|
return x.Slug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceApp) GetDisplayName() string {
|
|
if x != nil {
|
|
return x.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceApp) GetCommand() string {
|
|
if x != nil {
|
|
return x.Command
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceApp) GetIcon() string {
|
|
if x != nil {
|
|
return x.Icon
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceApp) GetSubdomain() bool {
|
|
if x != nil {
|
|
return x.Subdomain
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *WorkspaceApp) GetSubdomainName() string {
|
|
if x != nil {
|
|
return x.SubdomainName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceApp) GetSharingLevel() WorkspaceApp_SharingLevel {
|
|
if x != nil {
|
|
return x.SharingLevel
|
|
}
|
|
return WorkspaceApp_SHARING_LEVEL_UNSPECIFIED
|
|
}
|
|
|
|
func (x *WorkspaceApp) GetHealthcheck() *WorkspaceApp_Healthcheck {
|
|
if x != nil {
|
|
return x.Healthcheck
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WorkspaceApp) GetHealth() WorkspaceApp_Health {
|
|
if x != nil {
|
|
return x.Health
|
|
}
|
|
return WorkspaceApp_HEALTH_UNSPECIFIED
|
|
}
|
|
|
|
func (x *WorkspaceApp) GetHidden() bool {
|
|
if x != nil {
|
|
return x.Hidden
|
|
}
|
|
return false
|
|
}
|
|
|
|
type WorkspaceAgentScript struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
LogSourceId []byte `protobuf:"bytes,1,opt,name=log_source_id,json=logSourceId,proto3" json:"log_source_id,omitempty"`
|
|
LogPath string `protobuf:"bytes,2,opt,name=log_path,json=logPath,proto3" json:"log_path,omitempty"`
|
|
Script string `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"`
|
|
Cron string `protobuf:"bytes,4,opt,name=cron,proto3" json:"cron,omitempty"`
|
|
RunOnStart bool `protobuf:"varint,5,opt,name=run_on_start,json=runOnStart,proto3" json:"run_on_start,omitempty"`
|
|
RunOnStop bool `protobuf:"varint,6,opt,name=run_on_stop,json=runOnStop,proto3" json:"run_on_stop,omitempty"`
|
|
StartBlocksLogin bool `protobuf:"varint,7,opt,name=start_blocks_login,json=startBlocksLogin,proto3" json:"start_blocks_login,omitempty"`
|
|
Timeout *durationpb.Duration `protobuf:"bytes,8,opt,name=timeout,proto3" json:"timeout,omitempty"`
|
|
DisplayName string `protobuf:"bytes,9,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
Id []byte `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty"`
|
|
// resource_address is the full Terraform address of the coder_script
|
|
// resource, for example "coder_script.install_tools". Empty for scripts
|
|
// that are not coder_script resources.
|
|
ResourceAddress string `protobuf:"bytes,11,opt,name=resource_address,json=resourceAddress,proto3" json:"resource_address,omitempty"`
|
|
// dependencies lists the scripts this one waits for, in the order the
|
|
// provisioner resolved them. Empty when no rule orders this script.
|
|
Dependencies []*WorkspaceAgentScriptDependency `protobuf:"bytes,12,rep,name=dependencies,proto3" json:"dependencies,omitempty"`
|
|
}
|
|
|
|
func (x *WorkspaceAgentScript) Reset() {
|
|
*x = WorkspaceAgentScript{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WorkspaceAgentScript) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkspaceAgentScript) ProtoMessage() {}
|
|
|
|
func (x *WorkspaceAgentScript) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WorkspaceAgentScript.ProtoReflect.Descriptor instead.
|
|
func (*WorkspaceAgentScript) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *WorkspaceAgentScript) GetLogSourceId() []byte {
|
|
if x != nil {
|
|
return x.LogSourceId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WorkspaceAgentScript) GetLogPath() string {
|
|
if x != nil {
|
|
return x.LogPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceAgentScript) GetScript() string {
|
|
if x != nil {
|
|
return x.Script
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceAgentScript) GetCron() string {
|
|
if x != nil {
|
|
return x.Cron
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceAgentScript) GetRunOnStart() bool {
|
|
if x != nil {
|
|
return x.RunOnStart
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *WorkspaceAgentScript) GetRunOnStop() bool {
|
|
if x != nil {
|
|
return x.RunOnStop
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *WorkspaceAgentScript) GetStartBlocksLogin() bool {
|
|
if x != nil {
|
|
return x.StartBlocksLogin
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *WorkspaceAgentScript) GetTimeout() *durationpb.Duration {
|
|
if x != nil {
|
|
return x.Timeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WorkspaceAgentScript) GetDisplayName() string {
|
|
if x != nil {
|
|
return x.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceAgentScript) GetId() []byte {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WorkspaceAgentScript) GetResourceAddress() string {
|
|
if x != nil {
|
|
return x.ResourceAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceAgentScript) GetDependencies() []*WorkspaceAgentScriptDependency {
|
|
if x != nil {
|
|
return x.Dependencies
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// WorkspaceAgentScriptDependency names a prerequisite script and the
|
|
// outcome it must reach before the dependent script may run.
|
|
type WorkspaceAgentScriptDependency struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
PrerequisiteResourceAddress string `protobuf:"bytes,1,opt,name=prerequisite_resource_address,json=prerequisiteResourceAddress,proto3" json:"prerequisite_resource_address,omitempty"`
|
|
Requirement WorkspaceAgentScriptDependency_Requirement `protobuf:"varint,2,opt,name=requirement,proto3,enum=coder.agent.v2.WorkspaceAgentScriptDependency_Requirement" json:"requirement,omitempty"`
|
|
}
|
|
|
|
func (x *WorkspaceAgentScriptDependency) Reset() {
|
|
*x = WorkspaceAgentScriptDependency{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WorkspaceAgentScriptDependency) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkspaceAgentScriptDependency) ProtoMessage() {}
|
|
|
|
func (x *WorkspaceAgentScriptDependency) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WorkspaceAgentScriptDependency.ProtoReflect.Descriptor instead.
|
|
func (*WorkspaceAgentScriptDependency) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *WorkspaceAgentScriptDependency) GetPrerequisiteResourceAddress() string {
|
|
if x != nil {
|
|
return x.PrerequisiteResourceAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceAgentScriptDependency) GetRequirement() WorkspaceAgentScriptDependency_Requirement {
|
|
if x != nil {
|
|
return x.Requirement
|
|
}
|
|
return WorkspaceAgentScriptDependency_REQUIREMENT_UNSPECIFIED
|
|
}
|
|
|
|
type WorkspaceAgentMetadata struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Result *WorkspaceAgentMetadata_Result `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
|
|
Description *WorkspaceAgentMetadata_Description `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
|
}
|
|
|
|
func (x *WorkspaceAgentMetadata) Reset() {
|
|
*x = WorkspaceAgentMetadata{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WorkspaceAgentMetadata) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkspaceAgentMetadata) ProtoMessage() {}
|
|
|
|
func (x *WorkspaceAgentMetadata) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WorkspaceAgentMetadata.ProtoReflect.Descriptor instead.
|
|
func (*WorkspaceAgentMetadata) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *WorkspaceAgentMetadata) GetResult() *WorkspaceAgentMetadata_Result {
|
|
if x != nil {
|
|
return x.Result
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WorkspaceAgentMetadata) GetDescription() *WorkspaceAgentMetadata_Description {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Manifest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
AgentId []byte `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
|
|
AgentName string `protobuf:"bytes,15,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
|
|
OwnerUsername string `protobuf:"bytes,13,opt,name=owner_username,json=ownerUsername,proto3" json:"owner_username,omitempty"`
|
|
WorkspaceId []byte `protobuf:"bytes,14,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
|
|
WorkspaceName string `protobuf:"bytes,16,opt,name=workspace_name,json=workspaceName,proto3" json:"workspace_name,omitempty"`
|
|
GitAuthConfigs uint32 `protobuf:"varint,2,opt,name=git_auth_configs,json=gitAuthConfigs,proto3" json:"git_auth_configs,omitempty"`
|
|
EnvironmentVariables map[string]string `protobuf:"bytes,3,rep,name=environment_variables,json=environmentVariables,proto3" json:"environment_variables,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
Directory string `protobuf:"bytes,4,opt,name=directory,proto3" json:"directory,omitempty"`
|
|
VsCodePortProxyUri string `protobuf:"bytes,5,opt,name=vs_code_port_proxy_uri,json=vsCodePortProxyUri,proto3" json:"vs_code_port_proxy_uri,omitempty"`
|
|
MotdPath string `protobuf:"bytes,6,opt,name=motd_path,json=motdPath,proto3" json:"motd_path,omitempty"`
|
|
DisableDirectConnections bool `protobuf:"varint,7,opt,name=disable_direct_connections,json=disableDirectConnections,proto3" json:"disable_direct_connections,omitempty"`
|
|
DerpForceWebsockets bool `protobuf:"varint,8,opt,name=derp_force_websockets,json=derpForceWebsockets,proto3" json:"derp_force_websockets,omitempty"`
|
|
ParentId []byte `protobuf:"bytes,18,opt,name=parent_id,json=parentId,proto3,oneof" json:"parent_id,omitempty"`
|
|
DerpMap *proto.DERPMap `protobuf:"bytes,9,opt,name=derp_map,json=derpMap,proto3" json:"derp_map,omitempty"`
|
|
Scripts []*WorkspaceAgentScript `protobuf:"bytes,10,rep,name=scripts,proto3" json:"scripts,omitempty"`
|
|
Apps []*WorkspaceApp `protobuf:"bytes,11,rep,name=apps,proto3" json:"apps,omitempty"`
|
|
Metadata []*WorkspaceAgentMetadata_Description `protobuf:"bytes,12,rep,name=metadata,proto3" json:"metadata,omitempty"`
|
|
Devcontainers []*WorkspaceAgentDevcontainer `protobuf:"bytes,17,rep,name=devcontainers,proto3" json:"devcontainers,omitempty"`
|
|
Secrets []*WorkspaceSecret `protobuf:"bytes,19,rep,name=secrets,proto3" json:"secrets,omitempty"`
|
|
WorkspaceBuildId []byte `protobuf:"bytes,20,opt,name=workspace_build_id,json=workspaceBuildId,proto3" json:"workspace_build_id,omitempty"`
|
|
TemplateId []byte `protobuf:"bytes,21,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"`
|
|
TemplateName string `protobuf:"bytes,22,opt,name=template_name,json=templateName,proto3" json:"template_name,omitempty"`
|
|
// agent_plugins_enabled is true when the agent-plugins experiment is
|
|
// enabled. When false, the agent does not discover Agent Plugins.
|
|
AgentPluginsEnabled bool `protobuf:"varint,23,opt,name=agent_plugins_enabled,json=agentPluginsEnabled,proto3" json:"agent_plugins_enabled,omitempty"`
|
|
}
|
|
|
|
func (x *Manifest) Reset() {
|
|
*x = Manifest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Manifest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Manifest) ProtoMessage() {}
|
|
|
|
func (x *Manifest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[4]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Manifest.ProtoReflect.Descriptor instead.
|
|
func (*Manifest) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *Manifest) GetAgentId() []byte {
|
|
if x != nil {
|
|
return x.AgentId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Manifest) GetAgentName() string {
|
|
if x != nil {
|
|
return x.AgentName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Manifest) GetOwnerUsername() string {
|
|
if x != nil {
|
|
return x.OwnerUsername
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Manifest) GetWorkspaceId() []byte {
|
|
if x != nil {
|
|
return x.WorkspaceId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Manifest) GetWorkspaceName() string {
|
|
if x != nil {
|
|
return x.WorkspaceName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Manifest) GetGitAuthConfigs() uint32 {
|
|
if x != nil {
|
|
return x.GitAuthConfigs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Manifest) GetEnvironmentVariables() map[string]string {
|
|
if x != nil {
|
|
return x.EnvironmentVariables
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Manifest) GetDirectory() string {
|
|
if x != nil {
|
|
return x.Directory
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Manifest) GetVsCodePortProxyUri() string {
|
|
if x != nil {
|
|
return x.VsCodePortProxyUri
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Manifest) GetMotdPath() string {
|
|
if x != nil {
|
|
return x.MotdPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Manifest) GetDisableDirectConnections() bool {
|
|
if x != nil {
|
|
return x.DisableDirectConnections
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Manifest) GetDerpForceWebsockets() bool {
|
|
if x != nil {
|
|
return x.DerpForceWebsockets
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Manifest) GetParentId() []byte {
|
|
if x != nil {
|
|
return x.ParentId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Manifest) GetDerpMap() *proto.DERPMap {
|
|
if x != nil {
|
|
return x.DerpMap
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Manifest) GetScripts() []*WorkspaceAgentScript {
|
|
if x != nil {
|
|
return x.Scripts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Manifest) GetApps() []*WorkspaceApp {
|
|
if x != nil {
|
|
return x.Apps
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Manifest) GetMetadata() []*WorkspaceAgentMetadata_Description {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Manifest) GetDevcontainers() []*WorkspaceAgentDevcontainer {
|
|
if x != nil {
|
|
return x.Devcontainers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Manifest) GetSecrets() []*WorkspaceSecret {
|
|
if x != nil {
|
|
return x.Secrets
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Manifest) GetWorkspaceBuildId() []byte {
|
|
if x != nil {
|
|
return x.WorkspaceBuildId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Manifest) GetTemplateId() []byte {
|
|
if x != nil {
|
|
return x.TemplateId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Manifest) GetTemplateName() string {
|
|
if x != nil {
|
|
return x.TemplateName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Manifest) GetAgentPluginsEnabled() bool {
|
|
if x != nil {
|
|
return x.AgentPluginsEnabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
// WorkspaceSecret is a secret included in the agent manifest
|
|
// for injection into a workspace.
|
|
type WorkspaceSecret struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Environment variable name to inject (e.g. "GITHUB_TOKEN").
|
|
// Empty string means this secret is not injected as an env var.
|
|
EnvName string `protobuf:"bytes,1,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"`
|
|
// File path to write the secret value to (e.g.
|
|
// "~/.aws/credentials"). Empty string means this secret is not
|
|
// written to a file.
|
|
FilePath string `protobuf:"bytes,2,opt,name=file_path,json=filePath,proto3" json:"file_path,omitempty"`
|
|
// The decrypted secret value.
|
|
Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
|
|
}
|
|
|
|
func (x *WorkspaceSecret) Reset() {
|
|
*x = WorkspaceSecret{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WorkspaceSecret) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkspaceSecret) ProtoMessage() {}
|
|
|
|
func (x *WorkspaceSecret) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[5]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WorkspaceSecret.ProtoReflect.Descriptor instead.
|
|
func (*WorkspaceSecret) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *WorkspaceSecret) GetEnvName() string {
|
|
if x != nil {
|
|
return x.EnvName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceSecret) GetFilePath() string {
|
|
if x != nil {
|
|
return x.FilePath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceSecret) GetValue() []byte {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type WorkspaceAgentDevcontainer struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
WorkspaceFolder string `protobuf:"bytes,2,opt,name=workspace_folder,json=workspaceFolder,proto3" json:"workspace_folder,omitempty"`
|
|
ConfigPath string `protobuf:"bytes,3,opt,name=config_path,json=configPath,proto3" json:"config_path,omitempty"`
|
|
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
|
|
SubagentId []byte `protobuf:"bytes,5,opt,name=subagent_id,json=subagentId,proto3,oneof" json:"subagent_id,omitempty"`
|
|
}
|
|
|
|
func (x *WorkspaceAgentDevcontainer) Reset() {
|
|
*x = WorkspaceAgentDevcontainer{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WorkspaceAgentDevcontainer) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkspaceAgentDevcontainer) ProtoMessage() {}
|
|
|
|
func (x *WorkspaceAgentDevcontainer) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[6]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WorkspaceAgentDevcontainer.ProtoReflect.Descriptor instead.
|
|
func (*WorkspaceAgentDevcontainer) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *WorkspaceAgentDevcontainer) GetId() []byte {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WorkspaceAgentDevcontainer) GetWorkspaceFolder() string {
|
|
if x != nil {
|
|
return x.WorkspaceFolder
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceAgentDevcontainer) GetConfigPath() string {
|
|
if x != nil {
|
|
return x.ConfigPath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceAgentDevcontainer) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceAgentDevcontainer) GetSubagentId() []byte {
|
|
if x != nil {
|
|
return x.SubagentId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetManifestRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *GetManifestRequest) Reset() {
|
|
*x = GetManifestRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetManifestRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetManifestRequest) ProtoMessage() {}
|
|
|
|
func (x *GetManifestRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[7]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetManifestRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetManifestRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
type ServiceBanner struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
|
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
|
BackgroundColor string `protobuf:"bytes,3,opt,name=background_color,json=backgroundColor,proto3" json:"background_color,omitempty"`
|
|
}
|
|
|
|
func (x *ServiceBanner) Reset() {
|
|
*x = ServiceBanner{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ServiceBanner) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ServiceBanner) ProtoMessage() {}
|
|
|
|
func (x *ServiceBanner) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[8]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ServiceBanner.ProtoReflect.Descriptor instead.
|
|
func (*ServiceBanner) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *ServiceBanner) GetEnabled() bool {
|
|
if x != nil {
|
|
return x.Enabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ServiceBanner) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ServiceBanner) GetBackgroundColor() string {
|
|
if x != nil {
|
|
return x.BackgroundColor
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetServiceBannerRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *GetServiceBannerRequest) Reset() {
|
|
*x = GetServiceBannerRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetServiceBannerRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetServiceBannerRequest) ProtoMessage() {}
|
|
|
|
func (x *GetServiceBannerRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[9]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetServiceBannerRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetServiceBannerRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
type Stats struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// ConnectionsByProto is a count of connections by protocol.
|
|
ConnectionsByProto map[string]int64 `protobuf:"bytes,1,rep,name=connections_by_proto,json=connectionsByProto,proto3" json:"connections_by_proto,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
// ConnectionCount is the number of connections received by an agent.
|
|
ConnectionCount int64 `protobuf:"varint,2,opt,name=connection_count,json=connectionCount,proto3" json:"connection_count,omitempty"`
|
|
// ConnectionMedianLatencyMS is the median latency of all connections in milliseconds.
|
|
ConnectionMedianLatencyMs float64 `protobuf:"fixed64,3,opt,name=connection_median_latency_ms,json=connectionMedianLatencyMs,proto3" json:"connection_median_latency_ms,omitempty"`
|
|
// RxPackets is the number of received packets.
|
|
RxPackets int64 `protobuf:"varint,4,opt,name=rx_packets,json=rxPackets,proto3" json:"rx_packets,omitempty"`
|
|
// RxBytes is the number of received bytes.
|
|
RxBytes int64 `protobuf:"varint,5,opt,name=rx_bytes,json=rxBytes,proto3" json:"rx_bytes,omitempty"`
|
|
// TxPackets is the number of transmitted bytes.
|
|
TxPackets int64 `protobuf:"varint,6,opt,name=tx_packets,json=txPackets,proto3" json:"tx_packets,omitempty"`
|
|
// TxBytes is the number of transmitted bytes.
|
|
TxBytes int64 `protobuf:"varint,7,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
|
|
// SessionCountVSCode is the number of connections received by an agent
|
|
// that are from our VS Code extension. Superseded by session_counts.
|
|
//
|
|
// Deprecated: Marked as deprecated in agent/proto/agent.proto.
|
|
SessionCountVscode int64 `protobuf:"varint,8,opt,name=session_count_vscode,json=sessionCountVscode,proto3" json:"session_count_vscode,omitempty"`
|
|
// SessionCountJetBrains is the number of connections received by an agent
|
|
// that are from our JetBrains extension. Superseded by session_counts.
|
|
//
|
|
// Deprecated: Marked as deprecated in agent/proto/agent.proto.
|
|
SessionCountJetbrains int64 `protobuf:"varint,9,opt,name=session_count_jetbrains,json=sessionCountJetbrains,proto3" json:"session_count_jetbrains,omitempty"`
|
|
// SessionCountReconnectingPTY is the number of connections received by an agent
|
|
// that are from the reconnecting web terminal. Superseded by
|
|
// session_counts.
|
|
//
|
|
// Deprecated: Marked as deprecated in agent/proto/agent.proto.
|
|
SessionCountReconnectingPty int64 `protobuf:"varint,10,opt,name=session_count_reconnecting_pty,json=sessionCountReconnectingPty,proto3" json:"session_count_reconnecting_pty,omitempty"`
|
|
// SessionCountSSH is the number of connections received by an agent
|
|
// that are normal, non-tagged SSH sessions. Superseded by session_counts.
|
|
//
|
|
// Deprecated: Marked as deprecated in agent/proto/agent.proto.
|
|
SessionCountSsh int64 `protobuf:"varint,11,opt,name=session_count_ssh,json=sessionCountSsh,proto3" json:"session_count_ssh,omitempty"`
|
|
Metrics []*Stats_Metric `protobuf:"bytes,12,rep,name=metrics,proto3" json:"metrics,omitempty"`
|
|
// SessionCounts is the number of active sessions per app name, such as
|
|
// "vscode" or "ssh". Coderd normalizes the names on ingest.
|
|
SessionCounts map[string]int64 `protobuf:"bytes,13,rep,name=session_counts,json=sessionCounts,proto3" json:"session_counts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (x *Stats) Reset() {
|
|
*x = Stats{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Stats) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Stats) ProtoMessage() {}
|
|
|
|
func (x *Stats) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[10]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Stats.ProtoReflect.Descriptor instead.
|
|
func (*Stats) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *Stats) GetConnectionsByProto() map[string]int64 {
|
|
if x != nil {
|
|
return x.ConnectionsByProto
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Stats) GetConnectionCount() int64 {
|
|
if x != nil {
|
|
return x.ConnectionCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Stats) GetConnectionMedianLatencyMs() float64 {
|
|
if x != nil {
|
|
return x.ConnectionMedianLatencyMs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Stats) GetRxPackets() int64 {
|
|
if x != nil {
|
|
return x.RxPackets
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Stats) GetRxBytes() int64 {
|
|
if x != nil {
|
|
return x.RxBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Stats) GetTxPackets() int64 {
|
|
if x != nil {
|
|
return x.TxPackets
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Stats) GetTxBytes() int64 {
|
|
if x != nil {
|
|
return x.TxBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in agent/proto/agent.proto.
|
|
func (x *Stats) GetSessionCountVscode() int64 {
|
|
if x != nil {
|
|
return x.SessionCountVscode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in agent/proto/agent.proto.
|
|
func (x *Stats) GetSessionCountJetbrains() int64 {
|
|
if x != nil {
|
|
return x.SessionCountJetbrains
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in agent/proto/agent.proto.
|
|
func (x *Stats) GetSessionCountReconnectingPty() int64 {
|
|
if x != nil {
|
|
return x.SessionCountReconnectingPty
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in agent/proto/agent.proto.
|
|
func (x *Stats) GetSessionCountSsh() int64 {
|
|
if x != nil {
|
|
return x.SessionCountSsh
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Stats) GetMetrics() []*Stats_Metric {
|
|
if x != nil {
|
|
return x.Metrics
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Stats) GetSessionCounts() map[string]int64 {
|
|
if x != nil {
|
|
return x.SessionCounts
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateStatsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Stats *Stats `protobuf:"bytes,1,opt,name=stats,proto3" json:"stats,omitempty"`
|
|
}
|
|
|
|
func (x *UpdateStatsRequest) Reset() {
|
|
*x = UpdateStatsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UpdateStatsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateStatsRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateStatsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[11]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateStatsRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateStatsRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *UpdateStatsRequest) GetStats() *Stats {
|
|
if x != nil {
|
|
return x.Stats
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateStatsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ReportInterval *durationpb.Duration `protobuf:"bytes,1,opt,name=report_interval,json=reportInterval,proto3" json:"report_interval,omitempty"`
|
|
}
|
|
|
|
func (x *UpdateStatsResponse) Reset() {
|
|
*x = UpdateStatsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UpdateStatsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateStatsResponse) ProtoMessage() {}
|
|
|
|
func (x *UpdateStatsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[12]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateStatsResponse.ProtoReflect.Descriptor instead.
|
|
func (*UpdateStatsResponse) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *UpdateStatsResponse) GetReportInterval() *durationpb.Duration {
|
|
if x != nil {
|
|
return x.ReportInterval
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Lifecycle struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
State Lifecycle_State `protobuf:"varint,1,opt,name=state,proto3,enum=coder.agent.v2.Lifecycle_State" json:"state,omitempty"`
|
|
ChangedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=changed_at,json=changedAt,proto3" json:"changed_at,omitempty"`
|
|
}
|
|
|
|
func (x *Lifecycle) Reset() {
|
|
*x = Lifecycle{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Lifecycle) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Lifecycle) ProtoMessage() {}
|
|
|
|
func (x *Lifecycle) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[13]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Lifecycle.ProtoReflect.Descriptor instead.
|
|
func (*Lifecycle) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *Lifecycle) GetState() Lifecycle_State {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return Lifecycle_STATE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *Lifecycle) GetChangedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ChangedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateLifecycleRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Lifecycle *Lifecycle `protobuf:"bytes,1,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"`
|
|
}
|
|
|
|
func (x *UpdateLifecycleRequest) Reset() {
|
|
*x = UpdateLifecycleRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UpdateLifecycleRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateLifecycleRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateLifecycleRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[14]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateLifecycleRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateLifecycleRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *UpdateLifecycleRequest) GetLifecycle() *Lifecycle {
|
|
if x != nil {
|
|
return x.Lifecycle
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BatchUpdateAppHealthRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Updates []*BatchUpdateAppHealthRequest_HealthUpdate `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"`
|
|
}
|
|
|
|
func (x *BatchUpdateAppHealthRequest) Reset() {
|
|
*x = BatchUpdateAppHealthRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BatchUpdateAppHealthRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BatchUpdateAppHealthRequest) ProtoMessage() {}
|
|
|
|
func (x *BatchUpdateAppHealthRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[15]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BatchUpdateAppHealthRequest.ProtoReflect.Descriptor instead.
|
|
func (*BatchUpdateAppHealthRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *BatchUpdateAppHealthRequest) GetUpdates() []*BatchUpdateAppHealthRequest_HealthUpdate {
|
|
if x != nil {
|
|
return x.Updates
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BatchUpdateAppHealthResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *BatchUpdateAppHealthResponse) Reset() {
|
|
*x = BatchUpdateAppHealthResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BatchUpdateAppHealthResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BatchUpdateAppHealthResponse) ProtoMessage() {}
|
|
|
|
func (x *BatchUpdateAppHealthResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[16]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BatchUpdateAppHealthResponse.ProtoReflect.Descriptor instead.
|
|
func (*BatchUpdateAppHealthResponse) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
type Startup struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
ExpandedDirectory string `protobuf:"bytes,2,opt,name=expanded_directory,json=expandedDirectory,proto3" json:"expanded_directory,omitempty"`
|
|
Subsystems []Startup_Subsystem `protobuf:"varint,3,rep,packed,name=subsystems,proto3,enum=coder.agent.v2.Startup_Subsystem" json:"subsystems,omitempty"`
|
|
}
|
|
|
|
func (x *Startup) Reset() {
|
|
*x = Startup{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Startup) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Startup) ProtoMessage() {}
|
|
|
|
func (x *Startup) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[17]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Startup.ProtoReflect.Descriptor instead.
|
|
func (*Startup) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *Startup) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Startup) GetExpandedDirectory() string {
|
|
if x != nil {
|
|
return x.ExpandedDirectory
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Startup) GetSubsystems() []Startup_Subsystem {
|
|
if x != nil {
|
|
return x.Subsystems
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type UpdateStartupRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Startup *Startup `protobuf:"bytes,1,opt,name=startup,proto3" json:"startup,omitempty"`
|
|
}
|
|
|
|
func (x *UpdateStartupRequest) Reset() {
|
|
*x = UpdateStartupRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UpdateStartupRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateStartupRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateStartupRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[18]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateStartupRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateStartupRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *UpdateStartupRequest) GetStartup() *Startup {
|
|
if x != nil {
|
|
return x.Startup
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Metadata struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
|
Result *WorkspaceAgentMetadata_Result `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
|
|
}
|
|
|
|
func (x *Metadata) Reset() {
|
|
*x = Metadata{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Metadata) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Metadata) ProtoMessage() {}
|
|
|
|
func (x *Metadata) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[19]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Metadata.ProtoReflect.Descriptor instead.
|
|
func (*Metadata) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *Metadata) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Metadata) GetResult() *WorkspaceAgentMetadata_Result {
|
|
if x != nil {
|
|
return x.Result
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BatchUpdateMetadataRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Metadata []*Metadata `protobuf:"bytes,2,rep,name=metadata,proto3" json:"metadata,omitempty"`
|
|
}
|
|
|
|
func (x *BatchUpdateMetadataRequest) Reset() {
|
|
*x = BatchUpdateMetadataRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BatchUpdateMetadataRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BatchUpdateMetadataRequest) ProtoMessage() {}
|
|
|
|
func (x *BatchUpdateMetadataRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[20]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BatchUpdateMetadataRequest.ProtoReflect.Descriptor instead.
|
|
func (*BatchUpdateMetadataRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *BatchUpdateMetadataRequest) GetMetadata() []*Metadata {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BatchUpdateMetadataResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *BatchUpdateMetadataResponse) Reset() {
|
|
*x = BatchUpdateMetadataResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BatchUpdateMetadataResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BatchUpdateMetadataResponse) ProtoMessage() {}
|
|
|
|
func (x *BatchUpdateMetadataResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[21]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BatchUpdateMetadataResponse.ProtoReflect.Descriptor instead.
|
|
func (*BatchUpdateMetadataResponse) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
type Log struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`
|
|
Level Log_Level `protobuf:"varint,3,opt,name=level,proto3,enum=coder.agent.v2.Log_Level" json:"level,omitempty"`
|
|
}
|
|
|
|
func (x *Log) Reset() {
|
|
*x = Log{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Log) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Log) ProtoMessage() {}
|
|
|
|
func (x *Log) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[22]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Log.ProtoReflect.Descriptor instead.
|
|
func (*Log) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *Log) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Log) GetOutput() string {
|
|
if x != nil {
|
|
return x.Output
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Log) GetLevel() Log_Level {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return Log_LEVEL_UNSPECIFIED
|
|
}
|
|
|
|
type BatchCreateLogsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
LogSourceId []byte `protobuf:"bytes,1,opt,name=log_source_id,json=logSourceId,proto3" json:"log_source_id,omitempty"`
|
|
Logs []*Log `protobuf:"bytes,2,rep,name=logs,proto3" json:"logs,omitempty"`
|
|
}
|
|
|
|
func (x *BatchCreateLogsRequest) Reset() {
|
|
*x = BatchCreateLogsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BatchCreateLogsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BatchCreateLogsRequest) ProtoMessage() {}
|
|
|
|
func (x *BatchCreateLogsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[23]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BatchCreateLogsRequest.ProtoReflect.Descriptor instead.
|
|
func (*BatchCreateLogsRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *BatchCreateLogsRequest) GetLogSourceId() []byte {
|
|
if x != nil {
|
|
return x.LogSourceId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BatchCreateLogsRequest) GetLogs() []*Log {
|
|
if x != nil {
|
|
return x.Logs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BatchCreateLogsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
LogLimitExceeded bool `protobuf:"varint,1,opt,name=log_limit_exceeded,json=logLimitExceeded,proto3" json:"log_limit_exceeded,omitempty"`
|
|
}
|
|
|
|
func (x *BatchCreateLogsResponse) Reset() {
|
|
*x = BatchCreateLogsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BatchCreateLogsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BatchCreateLogsResponse) ProtoMessage() {}
|
|
|
|
func (x *BatchCreateLogsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[24]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BatchCreateLogsResponse.ProtoReflect.Descriptor instead.
|
|
func (*BatchCreateLogsResponse) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *BatchCreateLogsResponse) GetLogLimitExceeded() bool {
|
|
if x != nil {
|
|
return x.LogLimitExceeded
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetAnnouncementBannersRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *GetAnnouncementBannersRequest) Reset() {
|
|
*x = GetAnnouncementBannersRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetAnnouncementBannersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAnnouncementBannersRequest) ProtoMessage() {}
|
|
|
|
func (x *GetAnnouncementBannersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[25]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetAnnouncementBannersRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetAnnouncementBannersRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
type GetAnnouncementBannersResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
AnnouncementBanners []*BannerConfig `protobuf:"bytes,1,rep,name=announcement_banners,json=announcementBanners,proto3" json:"announcement_banners,omitempty"`
|
|
}
|
|
|
|
func (x *GetAnnouncementBannersResponse) Reset() {
|
|
*x = GetAnnouncementBannersResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetAnnouncementBannersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetAnnouncementBannersResponse) ProtoMessage() {}
|
|
|
|
func (x *GetAnnouncementBannersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[26]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetAnnouncementBannersResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetAnnouncementBannersResponse) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *GetAnnouncementBannersResponse) GetAnnouncementBanners() []*BannerConfig {
|
|
if x != nil {
|
|
return x.AnnouncementBanners
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BannerConfig struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
|
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
|
BackgroundColor string `protobuf:"bytes,3,opt,name=background_color,json=backgroundColor,proto3" json:"background_color,omitempty"`
|
|
}
|
|
|
|
func (x *BannerConfig) Reset() {
|
|
*x = BannerConfig{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BannerConfig) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BannerConfig) ProtoMessage() {}
|
|
|
|
func (x *BannerConfig) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[27]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BannerConfig.ProtoReflect.Descriptor instead.
|
|
func (*BannerConfig) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *BannerConfig) GetEnabled() bool {
|
|
if x != nil {
|
|
return x.Enabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *BannerConfig) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BannerConfig) GetBackgroundColor() string {
|
|
if x != nil {
|
|
return x.BackgroundColor
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type WorkspaceAgentScriptCompletedRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Timing *Timing `protobuf:"bytes,1,opt,name=timing,proto3" json:"timing,omitempty"`
|
|
}
|
|
|
|
func (x *WorkspaceAgentScriptCompletedRequest) Reset() {
|
|
*x = WorkspaceAgentScriptCompletedRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WorkspaceAgentScriptCompletedRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkspaceAgentScriptCompletedRequest) ProtoMessage() {}
|
|
|
|
func (x *WorkspaceAgentScriptCompletedRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[28]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WorkspaceAgentScriptCompletedRequest.ProtoReflect.Descriptor instead.
|
|
func (*WorkspaceAgentScriptCompletedRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *WorkspaceAgentScriptCompletedRequest) GetTiming() *Timing {
|
|
if x != nil {
|
|
return x.Timing
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type WorkspaceAgentScriptCompletedResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *WorkspaceAgentScriptCompletedResponse) Reset() {
|
|
*x = WorkspaceAgentScriptCompletedResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WorkspaceAgentScriptCompletedResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkspaceAgentScriptCompletedResponse) ProtoMessage() {}
|
|
|
|
func (x *WorkspaceAgentScriptCompletedResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[29]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WorkspaceAgentScriptCompletedResponse.ProtoReflect.Descriptor instead.
|
|
func (*WorkspaceAgentScriptCompletedResponse) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
type Timing struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ScriptId []byte `protobuf:"bytes,1,opt,name=script_id,json=scriptId,proto3" json:"script_id,omitempty"`
|
|
Start *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"`
|
|
End *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"`
|
|
ExitCode int32 `protobuf:"varint,4,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
|
|
Stage Timing_Stage `protobuf:"varint,5,opt,name=stage,proto3,enum=coder.agent.v2.Timing_Stage" json:"stage,omitempty"`
|
|
Status Timing_Status `protobuf:"varint,6,opt,name=status,proto3,enum=coder.agent.v2.Timing_Status" json:"status,omitempty"`
|
|
}
|
|
|
|
func (x *Timing) Reset() {
|
|
*x = Timing{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Timing) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Timing) ProtoMessage() {}
|
|
|
|
func (x *Timing) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[30]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Timing.ProtoReflect.Descriptor instead.
|
|
func (*Timing) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
func (x *Timing) GetScriptId() []byte {
|
|
if x != nil {
|
|
return x.ScriptId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Timing) GetStart() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.Start
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Timing) GetEnd() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.End
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Timing) GetExitCode() int32 {
|
|
if x != nil {
|
|
return x.ExitCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Timing) GetStage() Timing_Stage {
|
|
if x != nil {
|
|
return x.Stage
|
|
}
|
|
return Timing_START
|
|
}
|
|
|
|
func (x *Timing) GetStatus() Timing_Status {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return Timing_OK
|
|
}
|
|
|
|
type GetResourcesMonitoringConfigurationRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *GetResourcesMonitoringConfigurationRequest) Reset() {
|
|
*x = GetResourcesMonitoringConfigurationRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetResourcesMonitoringConfigurationRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetResourcesMonitoringConfigurationRequest) ProtoMessage() {}
|
|
|
|
func (x *GetResourcesMonitoringConfigurationRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[31]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetResourcesMonitoringConfigurationRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetResourcesMonitoringConfigurationRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
type GetResourcesMonitoringConfigurationResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Config *GetResourcesMonitoringConfigurationResponse_Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
|
|
Memory *GetResourcesMonitoringConfigurationResponse_Memory `protobuf:"bytes,2,opt,name=memory,proto3,oneof" json:"memory,omitempty"`
|
|
Volumes []*GetResourcesMonitoringConfigurationResponse_Volume `protobuf:"bytes,3,rep,name=volumes,proto3" json:"volumes,omitempty"`
|
|
}
|
|
|
|
func (x *GetResourcesMonitoringConfigurationResponse) Reset() {
|
|
*x = GetResourcesMonitoringConfigurationResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetResourcesMonitoringConfigurationResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetResourcesMonitoringConfigurationResponse) ProtoMessage() {}
|
|
|
|
func (x *GetResourcesMonitoringConfigurationResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[32]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetResourcesMonitoringConfigurationResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetResourcesMonitoringConfigurationResponse) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *GetResourcesMonitoringConfigurationResponse) GetConfig() *GetResourcesMonitoringConfigurationResponse_Config {
|
|
if x != nil {
|
|
return x.Config
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetResourcesMonitoringConfigurationResponse) GetMemory() *GetResourcesMonitoringConfigurationResponse_Memory {
|
|
if x != nil {
|
|
return x.Memory
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetResourcesMonitoringConfigurationResponse) GetVolumes() []*GetResourcesMonitoringConfigurationResponse_Volume {
|
|
if x != nil {
|
|
return x.Volumes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PushResourcesMonitoringUsageRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Datapoints []*PushResourcesMonitoringUsageRequest_Datapoint `protobuf:"bytes,1,rep,name=datapoints,proto3" json:"datapoints,omitempty"`
|
|
}
|
|
|
|
func (x *PushResourcesMonitoringUsageRequest) Reset() {
|
|
*x = PushResourcesMonitoringUsageRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PushResourcesMonitoringUsageRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PushResourcesMonitoringUsageRequest) ProtoMessage() {}
|
|
|
|
func (x *PushResourcesMonitoringUsageRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[33]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PushResourcesMonitoringUsageRequest.ProtoReflect.Descriptor instead.
|
|
func (*PushResourcesMonitoringUsageRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *PushResourcesMonitoringUsageRequest) GetDatapoints() []*PushResourcesMonitoringUsageRequest_Datapoint {
|
|
if x != nil {
|
|
return x.Datapoints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PushResourcesMonitoringUsageResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *PushResourcesMonitoringUsageResponse) Reset() {
|
|
*x = PushResourcesMonitoringUsageResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PushResourcesMonitoringUsageResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PushResourcesMonitoringUsageResponse) ProtoMessage() {}
|
|
|
|
func (x *PushResourcesMonitoringUsageResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[34]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PushResourcesMonitoringUsageResponse.ProtoReflect.Descriptor instead.
|
|
func (*PushResourcesMonitoringUsageResponse) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
type Connection struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Action Connection_Action `protobuf:"varint,2,opt,name=action,proto3,enum=coder.agent.v2.Connection_Action" json:"action,omitempty"`
|
|
// Superseded by connection_method and app_name.
|
|
//
|
|
// Deprecated: Marked as deprecated in agent/proto/agent.proto.
|
|
Type Connection_Type `protobuf:"varint,3,opt,name=type,proto3,enum=coder.agent.v2.Connection_Type" json:"type,omitempty"`
|
|
Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
Ip string `protobuf:"bytes,5,opt,name=ip,proto3" json:"ip,omitempty"`
|
|
StatusCode int32 `protobuf:"varint,6,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
|
|
Reason *string `protobuf:"bytes,7,opt,name=reason,proto3,oneof" json:"reason,omitempty"`
|
|
ClientSessionId string `protobuf:"bytes,8,opt,name=client_session_id,json=clientSessionId,proto3" json:"client_session_id,omitempty"`
|
|
AppName string `protobuf:"bytes,9,opt,name=app_name,json=appName,proto3" json:"app_name,omitempty"`
|
|
ConnectionMethod Connection_Method `protobuf:"varint,10,opt,name=connection_method,json=connectionMethod,proto3,enum=coder.agent.v2.Connection_Method" json:"connection_method,omitempty"`
|
|
RxBytes *int64 `protobuf:"varint,11,opt,name=rx_bytes,json=rxBytes,proto3,oneof" json:"rx_bytes,omitempty"`
|
|
TxBytes *int64 `protobuf:"varint,12,opt,name=tx_bytes,json=txBytes,proto3,oneof" json:"tx_bytes,omitempty"`
|
|
}
|
|
|
|
func (x *Connection) Reset() {
|
|
*x = Connection{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Connection) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Connection) ProtoMessage() {}
|
|
|
|
func (x *Connection) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[35]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Connection.ProtoReflect.Descriptor instead.
|
|
func (*Connection) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *Connection) GetId() []byte {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Connection) GetAction() Connection_Action {
|
|
if x != nil {
|
|
return x.Action
|
|
}
|
|
return Connection_ACTION_UNSPECIFIED
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in agent/proto/agent.proto.
|
|
func (x *Connection) GetType() Connection_Type {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return Connection_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *Connection) GetTimestamp() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.Timestamp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Connection) GetIp() string {
|
|
if x != nil {
|
|
return x.Ip
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Connection) GetStatusCode() int32 {
|
|
if x != nil {
|
|
return x.StatusCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Connection) GetReason() string {
|
|
if x != nil && x.Reason != nil {
|
|
return *x.Reason
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Connection) GetClientSessionId() string {
|
|
if x != nil {
|
|
return x.ClientSessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Connection) GetAppName() string {
|
|
if x != nil {
|
|
return x.AppName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Connection) GetConnectionMethod() Connection_Method {
|
|
if x != nil {
|
|
return x.ConnectionMethod
|
|
}
|
|
return Connection_METHOD_UNSPECIFIED
|
|
}
|
|
|
|
func (x *Connection) GetRxBytes() int64 {
|
|
if x != nil && x.RxBytes != nil {
|
|
return *x.RxBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Connection) GetTxBytes() int64 {
|
|
if x != nil && x.TxBytes != nil {
|
|
return *x.TxBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ReportConnectionRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Connection *Connection `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`
|
|
}
|
|
|
|
func (x *ReportConnectionRequest) Reset() {
|
|
*x = ReportConnectionRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ReportConnectionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReportConnectionRequest) ProtoMessage() {}
|
|
|
|
func (x *ReportConnectionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[36]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReportConnectionRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReportConnectionRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
func (x *ReportConnectionRequest) GetConnection() *Connection {
|
|
if x != nil {
|
|
return x.Connection
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SubAgent struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Id []byte `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
AuthToken []byte `protobuf:"bytes,3,opt,name=auth_token,json=authToken,proto3" json:"auth_token,omitempty"`
|
|
}
|
|
|
|
func (x *SubAgent) Reset() {
|
|
*x = SubAgent{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SubAgent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubAgent) ProtoMessage() {}
|
|
|
|
func (x *SubAgent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[37]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SubAgent.ProtoReflect.Descriptor instead.
|
|
func (*SubAgent) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *SubAgent) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubAgent) GetId() []byte {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SubAgent) GetAuthToken() []byte {
|
|
if x != nil {
|
|
return x.AuthToken
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateSubAgentRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Directory string `protobuf:"bytes,2,opt,name=directory,proto3" json:"directory,omitempty"`
|
|
Architecture string `protobuf:"bytes,3,opt,name=architecture,proto3" json:"architecture,omitempty"`
|
|
OperatingSystem string `protobuf:"bytes,4,opt,name=operating_system,json=operatingSystem,proto3" json:"operating_system,omitempty"`
|
|
Apps []*CreateSubAgentRequest_App `protobuf:"bytes,5,rep,name=apps,proto3" json:"apps,omitempty"`
|
|
DisplayApps []CreateSubAgentRequest_DisplayApp `protobuf:"varint,6,rep,packed,name=display_apps,json=displayApps,proto3,enum=coder.agent.v2.CreateSubAgentRequest_DisplayApp" json:"display_apps,omitempty"`
|
|
Id []byte `protobuf:"bytes,7,opt,name=id,proto3,oneof" json:"id,omitempty"`
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest) Reset() {
|
|
*x = CreateSubAgentRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateSubAgentRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateSubAgentRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[38]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateSubAgentRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateSubAgentRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest) GetDirectory() string {
|
|
if x != nil {
|
|
return x.Directory
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest) GetArchitecture() string {
|
|
if x != nil {
|
|
return x.Architecture
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest) GetOperatingSystem() string {
|
|
if x != nil {
|
|
return x.OperatingSystem
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest) GetApps() []*CreateSubAgentRequest_App {
|
|
if x != nil {
|
|
return x.Apps
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest) GetDisplayApps() []CreateSubAgentRequest_DisplayApp {
|
|
if x != nil {
|
|
return x.DisplayApps
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest) GetId() []byte {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CreateSubAgentResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Agent *SubAgent `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"`
|
|
AppCreationErrors []*CreateSubAgentResponse_AppCreationError `protobuf:"bytes,2,rep,name=app_creation_errors,json=appCreationErrors,proto3" json:"app_creation_errors,omitempty"`
|
|
}
|
|
|
|
func (x *CreateSubAgentResponse) Reset() {
|
|
*x = CreateSubAgentResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateSubAgentResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateSubAgentResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateSubAgentResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[39]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateSubAgentResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateSubAgentResponse) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
func (x *CreateSubAgentResponse) GetAgent() *SubAgent {
|
|
if x != nil {
|
|
return x.Agent
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateSubAgentResponse) GetAppCreationErrors() []*CreateSubAgentResponse_AppCreationError {
|
|
if x != nil {
|
|
return x.AppCreationErrors
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteSubAgentRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
}
|
|
|
|
func (x *DeleteSubAgentRequest) Reset() {
|
|
*x = DeleteSubAgentRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeleteSubAgentRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteSubAgentRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteSubAgentRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[40]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteSubAgentRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteSubAgentRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
func (x *DeleteSubAgentRequest) GetId() []byte {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteSubAgentResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *DeleteSubAgentResponse) Reset() {
|
|
*x = DeleteSubAgentResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeleteSubAgentResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteSubAgentResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteSubAgentResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[41]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use DeleteSubAgentResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteSubAgentResponse) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
type ListSubAgentsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ListSubAgentsRequest) Reset() {
|
|
*x = ListSubAgentsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[42]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListSubAgentsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListSubAgentsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListSubAgentsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[42]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListSubAgentsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListSubAgentsRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
type ListSubAgentsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Agents []*SubAgent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"`
|
|
}
|
|
|
|
func (x *ListSubAgentsResponse) Reset() {
|
|
*x = ListSubAgentsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[43]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListSubAgentsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListSubAgentsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListSubAgentsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[43]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListSubAgentsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListSubAgentsResponse) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
func (x *ListSubAgentsResponse) GetAgents() []*SubAgent {
|
|
if x != nil {
|
|
return x.Agents
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// BoundaryLog represents a log for a single resource access processed
|
|
// by boundary.
|
|
type BoundaryLog struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Whether boundary allowed this resource access.
|
|
Allowed bool `protobuf:"varint,1,opt,name=allowed,proto3" json:"allowed,omitempty"`
|
|
// The timestamp when boundary processed this resource access.
|
|
Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
|
|
// The resource being accessed by boundary.
|
|
//
|
|
// Types that are assignable to Resource:
|
|
//
|
|
// *BoundaryLog_HttpRequest_
|
|
Resource isBoundaryLog_Resource `protobuf_oneof:"resource"`
|
|
// Monotonically increasing integer assigned by boundary, starting at 0
|
|
// per session. Primary ordering key when boundary is in use.
|
|
SequenceNumber int32 `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"`
|
|
}
|
|
|
|
func (x *BoundaryLog) Reset() {
|
|
*x = BoundaryLog{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[44]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BoundaryLog) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BoundaryLog) ProtoMessage() {}
|
|
|
|
func (x *BoundaryLog) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[44]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BoundaryLog.ProtoReflect.Descriptor instead.
|
|
func (*BoundaryLog) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
func (x *BoundaryLog) GetAllowed() bool {
|
|
if x != nil {
|
|
return x.Allowed
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *BoundaryLog) GetTime() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.Time
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *BoundaryLog) GetResource() isBoundaryLog_Resource {
|
|
if m != nil {
|
|
return m.Resource
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BoundaryLog) GetHttpRequest() *BoundaryLog_HttpRequest {
|
|
if x, ok := x.GetResource().(*BoundaryLog_HttpRequest_); ok {
|
|
return x.HttpRequest
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BoundaryLog) GetSequenceNumber() int32 {
|
|
if x != nil {
|
|
return x.SequenceNumber
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type isBoundaryLog_Resource interface {
|
|
isBoundaryLog_Resource()
|
|
}
|
|
|
|
type BoundaryLog_HttpRequest_ struct {
|
|
HttpRequest *BoundaryLog_HttpRequest `protobuf:"bytes,3,opt,name=http_request,json=httpRequest,proto3,oneof"`
|
|
}
|
|
|
|
func (*BoundaryLog_HttpRequest_) isBoundaryLog_Resource() {}
|
|
|
|
// ReportBoundaryLogsRequest is a request to re-emit the given BoundaryLogs.
|
|
type ReportBoundaryLogsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Logs []*BoundaryLog `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
|
|
// session_id identifies the boundary invocation that produced these
|
|
// logs. It is a UUID generated by boundary at startup and is the same
|
|
// for all batches produced by a single boundary run.
|
|
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
|
|
// confined_process is the name of the process that boundary is
|
|
// confining (e.g. "claude-code", "codex", "copilot").
|
|
ConfinedProcessName string `protobuf:"bytes,3,opt,name=confined_process_name,json=confinedProcessName,proto3" json:"confined_process_name,omitempty"`
|
|
}
|
|
|
|
func (x *ReportBoundaryLogsRequest) Reset() {
|
|
*x = ReportBoundaryLogsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[45]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ReportBoundaryLogsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReportBoundaryLogsRequest) ProtoMessage() {}
|
|
|
|
func (x *ReportBoundaryLogsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[45]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReportBoundaryLogsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ReportBoundaryLogsRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
func (x *ReportBoundaryLogsRequest) GetLogs() []*BoundaryLog {
|
|
if x != nil {
|
|
return x.Logs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ReportBoundaryLogsRequest) GetSessionId() string {
|
|
if x != nil {
|
|
return x.SessionId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReportBoundaryLogsRequest) GetConfinedProcessName() string {
|
|
if x != nil {
|
|
return x.ConfinedProcessName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ReportBoundaryLogsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ReportBoundaryLogsResponse) Reset() {
|
|
*x = ReportBoundaryLogsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[46]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ReportBoundaryLogsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReportBoundaryLogsResponse) ProtoMessage() {}
|
|
|
|
func (x *ReportBoundaryLogsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[46]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ReportBoundaryLogsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ReportBoundaryLogsResponse) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
// UpdateAppStatusRequest updates the given Workspace App's status. c.f. agentsdk.PatchAppStatus
|
|
type UpdateAppStatusRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Slug string `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
|
|
State UpdateAppStatusRequest_AppStatusState `protobuf:"varint,2,opt,name=state,proto3,enum=coder.agent.v2.UpdateAppStatusRequest_AppStatusState" json:"state,omitempty"`
|
|
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
|
|
Uri string `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty"`
|
|
}
|
|
|
|
func (x *UpdateAppStatusRequest) Reset() {
|
|
*x = UpdateAppStatusRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[47]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UpdateAppStatusRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateAppStatusRequest) ProtoMessage() {}
|
|
|
|
func (x *UpdateAppStatusRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[47]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateAppStatusRequest.ProtoReflect.Descriptor instead.
|
|
func (*UpdateAppStatusRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
func (x *UpdateAppStatusRequest) GetSlug() string {
|
|
if x != nil {
|
|
return x.Slug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateAppStatusRequest) GetState() UpdateAppStatusRequest_AppStatusState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return UpdateAppStatusRequest_WORKING
|
|
}
|
|
|
|
func (x *UpdateAppStatusRequest) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *UpdateAppStatusRequest) GetUri() string {
|
|
if x != nil {
|
|
return x.Uri
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UpdateAppStatusResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *UpdateAppStatusResponse) Reset() {
|
|
*x = UpdateAppStatusResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[48]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *UpdateAppStatusResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*UpdateAppStatusResponse) ProtoMessage() {}
|
|
|
|
func (x *UpdateAppStatusResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[48]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateAppStatusResponse.ProtoReflect.Descriptor instead.
|
|
func (*UpdateAppStatusResponse) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
// ContextResource is a single resolved workspace context
|
|
// resource (instruction file, skill meta, MCP config, live
|
|
// MCP server tool list, ACP harness, or Agent Plugin manifest)
|
|
// pushed from the agent to coderd as part of a
|
|
// PushContextStateRequest snapshot.
|
|
//
|
|
// The resource kind is conveyed by which variant of the body
|
|
// oneof is set. coderd rejects the whole push when a
|
|
// resource carries a body variant it does not know, so agents
|
|
// must not emit a new variant to a coderd that predates it.
|
|
type ContextResource struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// source is the resource's own locator and must be unique within
|
|
// a push, nested resources included: a canonical file path for
|
|
// file-backed kinds, the canonical plugin root directory for plugin
|
|
// resources, the MCP server name for mcp_server resources, the
|
|
// harness slug for acp_harness resources, or
|
|
// "<plugin name>/<server_name>" for servers nested in a plugin.
|
|
Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
|
|
// source_path is the user-declared scan root that produced
|
|
// this resource (empty for built-in roots, set to the owning
|
|
// .mcp.json for mcp_server entries declared in a user config).
|
|
// For ACP harnesses, it is the harness configuration directory.
|
|
SourcePath *string `protobuf:"bytes,2,opt,name=source_path,json=sourcePath,proto3,oneof" json:"source_path,omitempty"`
|
|
// content_hash is sha256 over the original on-disk bytes (or
|
|
// over the agent's canonical encoding for non-file kinds).
|
|
ContentHash []byte `protobuf:"bytes,3,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"`
|
|
// size_bytes is the resource's original size in bytes.
|
|
SizeBytes uint64 `protobuf:"varint,4,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
|
|
Status ContextResource_Status `protobuf:"varint,5,opt,name=status,proto3,enum=coder.agent.v2.ContextResource_Status" json:"status,omitempty"`
|
|
// error carries the per-resource failure string when status
|
|
// is not OK; may also carry a non-fatal warning when status
|
|
// is OK.
|
|
Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
|
|
// body conveys both the resource kind (via which variant is
|
|
// set) and the kind-specific payload. The variant is set even
|
|
// when status is not OK so coderd can still attribute the
|
|
// failure to a known kind.
|
|
//
|
|
// Types that are assignable to Body:
|
|
//
|
|
// *ContextResource_InstructionFile
|
|
// *ContextResource_Skill
|
|
// *ContextResource_McpConfig
|
|
// *ContextResource_McpServer
|
|
// *ContextResource_AcpHarness
|
|
// *ContextResource_Plugin
|
|
Body isContextResource_Body `protobuf_oneof:"body"`
|
|
}
|
|
|
|
func (x *ContextResource) Reset() {
|
|
*x = ContextResource{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[49]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ContextResource) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ContextResource) ProtoMessage() {}
|
|
|
|
func (x *ContextResource) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[49]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ContextResource.ProtoReflect.Descriptor instead.
|
|
func (*ContextResource) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{49}
|
|
}
|
|
|
|
func (x *ContextResource) GetSource() string {
|
|
if x != nil {
|
|
return x.Source
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContextResource) GetSourcePath() string {
|
|
if x != nil && x.SourcePath != nil {
|
|
return *x.SourcePath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ContextResource) GetContentHash() []byte {
|
|
if x != nil {
|
|
return x.ContentHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ContextResource) GetSizeBytes() uint64 {
|
|
if x != nil {
|
|
return x.SizeBytes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ContextResource) GetStatus() ContextResource_Status {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return ContextResource_STATUS_UNSPECIFIED
|
|
}
|
|
|
|
func (x *ContextResource) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *ContextResource) GetBody() isContextResource_Body {
|
|
if m != nil {
|
|
return m.Body
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ContextResource) GetInstructionFile() *InstructionFileBody {
|
|
if x, ok := x.GetBody().(*ContextResource_InstructionFile); ok {
|
|
return x.InstructionFile
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ContextResource) GetSkill() *SkillMetaBody {
|
|
if x, ok := x.GetBody().(*ContextResource_Skill); ok {
|
|
return x.Skill
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ContextResource) GetMcpConfig() *MCPConfigBody {
|
|
if x, ok := x.GetBody().(*ContextResource_McpConfig); ok {
|
|
return x.McpConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ContextResource) GetMcpServer() *MCPServerBody {
|
|
if x, ok := x.GetBody().(*ContextResource_McpServer); ok {
|
|
return x.McpServer
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ContextResource) GetAcpHarness() *ACPHarnessBody {
|
|
if x, ok := x.GetBody().(*ContextResource_AcpHarness); ok {
|
|
return x.AcpHarness
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ContextResource) GetPlugin() *PluginBody {
|
|
if x, ok := x.GetBody().(*ContextResource_Plugin); ok {
|
|
return x.Plugin
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isContextResource_Body interface {
|
|
isContextResource_Body()
|
|
}
|
|
|
|
type ContextResource_InstructionFile struct {
|
|
InstructionFile *InstructionFileBody `protobuf:"bytes,10,opt,name=instruction_file,json=instructionFile,proto3,oneof"`
|
|
}
|
|
|
|
type ContextResource_Skill struct {
|
|
Skill *SkillMetaBody `protobuf:"bytes,11,opt,name=skill,proto3,oneof"`
|
|
}
|
|
|
|
type ContextResource_McpConfig struct {
|
|
McpConfig *MCPConfigBody `protobuf:"bytes,12,opt,name=mcp_config,json=mcpConfig,proto3,oneof"`
|
|
}
|
|
|
|
type ContextResource_McpServer struct {
|
|
McpServer *MCPServerBody `protobuf:"bytes,13,opt,name=mcp_server,json=mcpServer,proto3,oneof"`
|
|
}
|
|
|
|
type ContextResource_AcpHarness struct {
|
|
AcpHarness *ACPHarnessBody `protobuf:"bytes,17,opt,name=acp_harness,json=acpHarness,proto3,oneof"`
|
|
}
|
|
|
|
type ContextResource_Plugin struct {
|
|
Plugin *PluginBody `protobuf:"bytes,18,opt,name=plugin,proto3,oneof"`
|
|
}
|
|
|
|
func (*ContextResource_InstructionFile) isContextResource_Body() {}
|
|
|
|
func (*ContextResource_Skill) isContextResource_Body() {}
|
|
|
|
func (*ContextResource_McpConfig) isContextResource_Body() {}
|
|
|
|
func (*ContextResource_McpServer) isContextResource_Body() {}
|
|
|
|
func (*ContextResource_AcpHarness) isContextResource_Body() {}
|
|
|
|
func (*ContextResource_Plugin) isContextResource_Body() {}
|
|
|
|
// InstructionFileBody carries a plain-text instruction file
|
|
// such as AGENTS.md, CLAUDE.md, or .cursorrules. The content is
|
|
// the verbatim file bytes (capped at the resolver's per-resource
|
|
// limit).
|
|
type InstructionFileBody struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
|
|
}
|
|
|
|
func (x *InstructionFileBody) Reset() {
|
|
*x = InstructionFileBody{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[50]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InstructionFileBody) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InstructionFileBody) ProtoMessage() {}
|
|
|
|
func (x *InstructionFileBody) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[50]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use InstructionFileBody.ProtoReflect.Descriptor instead.
|
|
func (*InstructionFileBody) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{50}
|
|
}
|
|
|
|
func (x *InstructionFileBody) GetContent() []byte {
|
|
if x != nil {
|
|
return x.Content
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// SkillMetaBody carries the SKILL.md meta file content plus the
|
|
// fields parsed from its YAML front-matter. Supporting files in
|
|
// the skill directory are NOT included; clients fetch them on
|
|
// demand via the agent's local HTTP API.
|
|
type SkillMetaBody struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Meta []byte `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
}
|
|
|
|
func (x *SkillMetaBody) Reset() {
|
|
*x = SkillMetaBody{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[51]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SkillMetaBody) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SkillMetaBody) ProtoMessage() {}
|
|
|
|
func (x *SkillMetaBody) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[51]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SkillMetaBody.ProtoReflect.Descriptor instead.
|
|
func (*SkillMetaBody) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{51}
|
|
}
|
|
|
|
func (x *SkillMetaBody) GetMeta() []byte {
|
|
if x != nil {
|
|
return x.Meta
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SkillMetaBody) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SkillMetaBody) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// PluginBody carries the validated fields of an Agent Plugins
|
|
// (agent-plugins.org) plugin.json manifest and the plugin's skills and
|
|
// MCP servers. Each nested entry follows the same rules and caps as a
|
|
// top-level resource, counts toward the push's resource cap, and may
|
|
// have any status.
|
|
//
|
|
// Plugin names must pass workspacesdk.ValidatePluginName. name may be
|
|
// empty only when the status is not OK, and must be unique among OK
|
|
// plugin resources in a push. Only an OK plugin may nest resources.
|
|
// coderd rejects the whole push when a plugin rule is broken.
|
|
type PluginBody struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
// skills must each carry a skill body, with a source under
|
|
// "<plugin source>/skills/".
|
|
Skills []*ContextResource `protobuf:"bytes,4,rep,name=skills,proto3" json:"skills,omitempty"`
|
|
// mcp_servers must each carry an mcp_server body with a non-empty
|
|
// server_name, with the source "<name>/<server_name>".
|
|
McpServers []*ContextResource `protobuf:"bytes,5,rep,name=mcp_servers,json=mcpServers,proto3" json:"mcp_servers,omitempty"`
|
|
}
|
|
|
|
func (x *PluginBody) Reset() {
|
|
*x = PluginBody{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[52]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PluginBody) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PluginBody) ProtoMessage() {}
|
|
|
|
func (x *PluginBody) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[52]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PluginBody.ProtoReflect.Descriptor instead.
|
|
func (*PluginBody) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{52}
|
|
}
|
|
|
|
func (x *PluginBody) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PluginBody) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PluginBody) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PluginBody) GetSkills() []*ContextResource {
|
|
if x != nil {
|
|
return x.Skills
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PluginBody) GetMcpServers() []*ContextResource {
|
|
if x != nil {
|
|
return x.McpServers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// MCPConfigBody is intentionally empty: the .mcp.json content
|
|
// can contain secrets in env blocks and must not leave the
|
|
// agent. content_hash and size_bytes on ContextResource still
|
|
// let coderd detect changes for cache invalidation.
|
|
type MCPConfigBody struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *MCPConfigBody) Reset() {
|
|
*x = MCPConfigBody{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[53]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MCPConfigBody) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MCPConfigBody) ProtoMessage() {}
|
|
|
|
func (x *MCPConfigBody) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[53]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MCPConfigBody.ProtoReflect.Descriptor instead.
|
|
func (*MCPConfigBody) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{53}
|
|
}
|
|
|
|
// MCPServerBody carries a live MCP server's resolved tool list,
|
|
// emitted by the agent's MCPProvider after the server has been
|
|
// connected.
|
|
type MCPServerBody struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ServerName string `protobuf:"bytes,1,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
|
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
|
Tools []*MCPTool `protobuf:"bytes,3,rep,name=tools,proto3" json:"tools,omitempty"`
|
|
}
|
|
|
|
func (x *MCPServerBody) Reset() {
|
|
*x = MCPServerBody{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[54]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MCPServerBody) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MCPServerBody) ProtoMessage() {}
|
|
|
|
func (x *MCPServerBody) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[54]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MCPServerBody.ProtoReflect.Descriptor instead.
|
|
func (*MCPServerBody) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{54}
|
|
}
|
|
|
|
func (x *MCPServerBody) GetServerName() string {
|
|
if x != nil {
|
|
return x.ServerName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MCPServerBody) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MCPServerBody) GetTools() []*MCPTool {
|
|
if x != nil {
|
|
return x.Tools
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// MCPTool mirrors the MCP server-reported tool surface. The
|
|
// input schema is JSON Schema; we ship it as a google.protobuf
|
|
// Struct so coderd can introspect it without re-parsing JSON.
|
|
type MCPTool struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
|
|
InputSchema *structpb.Struct `protobuf:"bytes,3,opt,name=input_schema,json=inputSchema,proto3" json:"input_schema,omitempty"`
|
|
}
|
|
|
|
func (x *MCPTool) Reset() {
|
|
*x = MCPTool{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[55]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MCPTool) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MCPTool) ProtoMessage() {}
|
|
|
|
func (x *MCPTool) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[55]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use MCPTool.ProtoReflect.Descriptor instead.
|
|
func (*MCPTool) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{55}
|
|
}
|
|
|
|
func (x *MCPTool) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MCPTool) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MCPTool) GetInputSchema() *structpb.Struct {
|
|
if x != nil {
|
|
return x.InputSchema
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PushContextStateRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Version uint64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
|
|
AggregateHash []byte `protobuf:"bytes,2,opt,name=aggregate_hash,json=aggregateHash,proto3" json:"aggregate_hash,omitempty"`
|
|
Resources []*ContextResource `protobuf:"bytes,3,rep,name=resources,proto3" json:"resources,omitempty"`
|
|
Initial bool `protobuf:"varint,4,opt,name=initial,proto3" json:"initial,omitempty"`
|
|
SnapshotError string `protobuf:"bytes,6,opt,name=snapshot_error,json=snapshotError,proto3" json:"snapshot_error,omitempty"`
|
|
}
|
|
|
|
func (x *PushContextStateRequest) Reset() {
|
|
*x = PushContextStateRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[56]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PushContextStateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PushContextStateRequest) ProtoMessage() {}
|
|
|
|
func (x *PushContextStateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[56]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PushContextStateRequest.ProtoReflect.Descriptor instead.
|
|
func (*PushContextStateRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{56}
|
|
}
|
|
|
|
func (x *PushContextStateRequest) GetVersion() uint64 {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PushContextStateRequest) GetAggregateHash() []byte {
|
|
if x != nil {
|
|
return x.AggregateHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PushContextStateRequest) GetResources() []*ContextResource {
|
|
if x != nil {
|
|
return x.Resources
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PushContextStateRequest) GetInitial() bool {
|
|
if x != nil {
|
|
return x.Initial
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *PushContextStateRequest) GetSnapshotError() string {
|
|
if x != nil {
|
|
return x.SnapshotError
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PushContextStateResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Accepted bool `protobuf:"varint,1,opt,name=accepted,proto3" json:"accepted,omitempty"`
|
|
}
|
|
|
|
func (x *PushContextStateResponse) Reset() {
|
|
*x = PushContextStateResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[57]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PushContextStateResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PushContextStateResponse) ProtoMessage() {}
|
|
|
|
func (x *PushContextStateResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[57]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PushContextStateResponse.ProtoReflect.Descriptor instead.
|
|
func (*PushContextStateResponse) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{57}
|
|
}
|
|
|
|
func (x *PushContextStateResponse) GetAccepted() bool {
|
|
if x != nil {
|
|
return x.Accepted
|
|
}
|
|
return false
|
|
}
|
|
|
|
// ACPHarnessBody advertises cached harness metadata without launch configuration.
|
|
type ACPHarnessBody struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Slug string `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
|
|
DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
ConfigOptions []*ACPConfigOption `protobuf:"bytes,3,rep,name=config_options,json=configOptions,proto3" json:"config_options,omitempty"`
|
|
}
|
|
|
|
func (x *ACPHarnessBody) Reset() {
|
|
*x = ACPHarnessBody{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[58]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ACPHarnessBody) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ACPHarnessBody) ProtoMessage() {}
|
|
|
|
func (x *ACPHarnessBody) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[58]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ACPHarnessBody.ProtoReflect.Descriptor instead.
|
|
func (*ACPHarnessBody) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{58}
|
|
}
|
|
|
|
func (x *ACPHarnessBody) GetSlug() string {
|
|
if x != nil {
|
|
return x.Slug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ACPHarnessBody) GetDisplayName() string {
|
|
if x != nil {
|
|
return x.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ACPHarnessBody) GetConfigOptions() []*ACPConfigOption {
|
|
if x != nil {
|
|
return x.ConfigOptions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// ACPConfigOption preserves a harness's selectable configuration and default.
|
|
type ACPConfigOption struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
CurrentValue string `protobuf:"bytes,4,opt,name=current_value,json=currentValue,proto3" json:"current_value,omitempty"`
|
|
Values []*ACPConfigValue `protobuf:"bytes,5,rep,name=values,proto3" json:"values,omitempty"`
|
|
Category string `protobuf:"bytes,6,opt,name=category,proto3" json:"category,omitempty"`
|
|
}
|
|
|
|
func (x *ACPConfigOption) Reset() {
|
|
*x = ACPConfigOption{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[59]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ACPConfigOption) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ACPConfigOption) ProtoMessage() {}
|
|
|
|
func (x *ACPConfigOption) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[59]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ACPConfigOption.ProtoReflect.Descriptor instead.
|
|
func (*ACPConfigOption) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{59}
|
|
}
|
|
|
|
func (x *ACPConfigOption) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ACPConfigOption) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ACPConfigOption) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ACPConfigOption) GetCurrentValue() string {
|
|
if x != nil {
|
|
return x.CurrentValue
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ACPConfigOption) GetValues() []*ACPConfigValue {
|
|
if x != nil {
|
|
return x.Values
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ACPConfigOption) GetCategory() string {
|
|
if x != nil {
|
|
return x.Category
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// ACPConfigValue is a selectable configuration value.
|
|
type ACPConfigValue struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
Group string `protobuf:"bytes,4,opt,name=group,proto3" json:"group,omitempty"`
|
|
GroupName string `protobuf:"bytes,5,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
|
|
}
|
|
|
|
func (x *ACPConfigValue) Reset() {
|
|
*x = ACPConfigValue{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[60]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ACPConfigValue) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ACPConfigValue) ProtoMessage() {}
|
|
|
|
func (x *ACPConfigValue) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[60]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ACPConfigValue.ProtoReflect.Descriptor instead.
|
|
func (*ACPConfigValue) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{60}
|
|
}
|
|
|
|
func (x *ACPConfigValue) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ACPConfigValue) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ACPConfigValue) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ACPConfigValue) GetGroup() string {
|
|
if x != nil {
|
|
return x.Group
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ACPConfigValue) GetGroupName() string {
|
|
if x != nil {
|
|
return x.GroupName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type WorkspaceApp_Healthcheck struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
|
Interval *durationpb.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"`
|
|
Threshold int32 `protobuf:"varint,3,opt,name=threshold,proto3" json:"threshold,omitempty"`
|
|
}
|
|
|
|
func (x *WorkspaceApp_Healthcheck) Reset() {
|
|
*x = WorkspaceApp_Healthcheck{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[61]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WorkspaceApp_Healthcheck) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkspaceApp_Healthcheck) ProtoMessage() {}
|
|
|
|
func (x *WorkspaceApp_Healthcheck) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[61]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WorkspaceApp_Healthcheck.ProtoReflect.Descriptor instead.
|
|
func (*WorkspaceApp_Healthcheck) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{0, 0}
|
|
}
|
|
|
|
func (x *WorkspaceApp_Healthcheck) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceApp_Healthcheck) GetInterval() *durationpb.Duration {
|
|
if x != nil {
|
|
return x.Interval
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WorkspaceApp_Healthcheck) GetThreshold() int32 {
|
|
if x != nil {
|
|
return x.Threshold
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type WorkspaceAgentMetadata_Result struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CollectedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=collected_at,json=collectedAt,proto3" json:"collected_at,omitempty"`
|
|
Age int64 `protobuf:"varint,2,opt,name=age,proto3" json:"age,omitempty"`
|
|
Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
|
|
Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
|
|
}
|
|
|
|
func (x *WorkspaceAgentMetadata_Result) Reset() {
|
|
*x = WorkspaceAgentMetadata_Result{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[62]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WorkspaceAgentMetadata_Result) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkspaceAgentMetadata_Result) ProtoMessage() {}
|
|
|
|
func (x *WorkspaceAgentMetadata_Result) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[62]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WorkspaceAgentMetadata_Result.ProtoReflect.Descriptor instead.
|
|
func (*WorkspaceAgentMetadata_Result) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{3, 0}
|
|
}
|
|
|
|
func (x *WorkspaceAgentMetadata_Result) GetCollectedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CollectedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WorkspaceAgentMetadata_Result) GetAge() int64 {
|
|
if x != nil {
|
|
return x.Age
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WorkspaceAgentMetadata_Result) GetValue() string {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceAgentMetadata_Result) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type WorkspaceAgentMetadata_Description struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
|
|
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
|
|
Script string `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"`
|
|
Interval *durationpb.Duration `protobuf:"bytes,4,opt,name=interval,proto3" json:"interval,omitempty"`
|
|
Timeout *durationpb.Duration `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
|
|
}
|
|
|
|
func (x *WorkspaceAgentMetadata_Description) Reset() {
|
|
*x = WorkspaceAgentMetadata_Description{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[63]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WorkspaceAgentMetadata_Description) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkspaceAgentMetadata_Description) ProtoMessage() {}
|
|
|
|
func (x *WorkspaceAgentMetadata_Description) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[63]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use WorkspaceAgentMetadata_Description.ProtoReflect.Descriptor instead.
|
|
func (*WorkspaceAgentMetadata_Description) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{3, 1}
|
|
}
|
|
|
|
func (x *WorkspaceAgentMetadata_Description) GetDisplayName() string {
|
|
if x != nil {
|
|
return x.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceAgentMetadata_Description) GetKey() string {
|
|
if x != nil {
|
|
return x.Key
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceAgentMetadata_Description) GetScript() string {
|
|
if x != nil {
|
|
return x.Script
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceAgentMetadata_Description) GetInterval() *durationpb.Duration {
|
|
if x != nil {
|
|
return x.Interval
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WorkspaceAgentMetadata_Description) GetTimeout() *durationpb.Duration {
|
|
if x != nil {
|
|
return x.Timeout
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Stats_Metric struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Type Stats_Metric_Type `protobuf:"varint,2,opt,name=type,proto3,enum=coder.agent.v2.Stats_Metric_Type" json:"type,omitempty"`
|
|
Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"`
|
|
Labels []*Stats_Metric_Label `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"`
|
|
}
|
|
|
|
func (x *Stats_Metric) Reset() {
|
|
*x = Stats_Metric{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[66]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Stats_Metric) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Stats_Metric) ProtoMessage() {}
|
|
|
|
func (x *Stats_Metric) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[66]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Stats_Metric.ProtoReflect.Descriptor instead.
|
|
func (*Stats_Metric) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{10, 1}
|
|
}
|
|
|
|
func (x *Stats_Metric) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Stats_Metric) GetType() Stats_Metric_Type {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return Stats_Metric_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *Stats_Metric) GetValue() float64 {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Stats_Metric) GetLabels() []*Stats_Metric_Label {
|
|
if x != nil {
|
|
return x.Labels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Stats_Metric_Label struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
|
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
}
|
|
|
|
func (x *Stats_Metric_Label) Reset() {
|
|
*x = Stats_Metric_Label{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[68]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Stats_Metric_Label) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Stats_Metric_Label) ProtoMessage() {}
|
|
|
|
func (x *Stats_Metric_Label) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[68]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use Stats_Metric_Label.ProtoReflect.Descriptor instead.
|
|
func (*Stats_Metric_Label) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{10, 1, 0}
|
|
}
|
|
|
|
func (x *Stats_Metric_Label) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Stats_Metric_Label) GetValue() string {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type BatchUpdateAppHealthRequest_HealthUpdate struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Health AppHealth `protobuf:"varint,2,opt,name=health,proto3,enum=coder.agent.v2.AppHealth" json:"health,omitempty"`
|
|
}
|
|
|
|
func (x *BatchUpdateAppHealthRequest_HealthUpdate) Reset() {
|
|
*x = BatchUpdateAppHealthRequest_HealthUpdate{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[69]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BatchUpdateAppHealthRequest_HealthUpdate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BatchUpdateAppHealthRequest_HealthUpdate) ProtoMessage() {}
|
|
|
|
func (x *BatchUpdateAppHealthRequest_HealthUpdate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[69]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BatchUpdateAppHealthRequest_HealthUpdate.ProtoReflect.Descriptor instead.
|
|
func (*BatchUpdateAppHealthRequest_HealthUpdate) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{15, 0}
|
|
}
|
|
|
|
func (x *BatchUpdateAppHealthRequest_HealthUpdate) GetId() []byte {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BatchUpdateAppHealthRequest_HealthUpdate) GetHealth() AppHealth {
|
|
if x != nil {
|
|
return x.Health
|
|
}
|
|
return AppHealth_APP_HEALTH_UNSPECIFIED
|
|
}
|
|
|
|
type GetResourcesMonitoringConfigurationResponse_Config struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
NumDatapoints int32 `protobuf:"varint,1,opt,name=num_datapoints,json=numDatapoints,proto3" json:"num_datapoints,omitempty"`
|
|
CollectionIntervalSeconds int32 `protobuf:"varint,2,opt,name=collection_interval_seconds,json=collectionIntervalSeconds,proto3" json:"collection_interval_seconds,omitempty"`
|
|
}
|
|
|
|
func (x *GetResourcesMonitoringConfigurationResponse_Config) Reset() {
|
|
*x = GetResourcesMonitoringConfigurationResponse_Config{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[70]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetResourcesMonitoringConfigurationResponse_Config) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetResourcesMonitoringConfigurationResponse_Config) ProtoMessage() {}
|
|
|
|
func (x *GetResourcesMonitoringConfigurationResponse_Config) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[70]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetResourcesMonitoringConfigurationResponse_Config.ProtoReflect.Descriptor instead.
|
|
func (*GetResourcesMonitoringConfigurationResponse_Config) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{32, 0}
|
|
}
|
|
|
|
func (x *GetResourcesMonitoringConfigurationResponse_Config) GetNumDatapoints() int32 {
|
|
if x != nil {
|
|
return x.NumDatapoints
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetResourcesMonitoringConfigurationResponse_Config) GetCollectionIntervalSeconds() int32 {
|
|
if x != nil {
|
|
return x.CollectionIntervalSeconds
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetResourcesMonitoringConfigurationResponse_Memory struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
|
}
|
|
|
|
func (x *GetResourcesMonitoringConfigurationResponse_Memory) Reset() {
|
|
*x = GetResourcesMonitoringConfigurationResponse_Memory{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[71]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetResourcesMonitoringConfigurationResponse_Memory) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetResourcesMonitoringConfigurationResponse_Memory) ProtoMessage() {}
|
|
|
|
func (x *GetResourcesMonitoringConfigurationResponse_Memory) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[71]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetResourcesMonitoringConfigurationResponse_Memory.ProtoReflect.Descriptor instead.
|
|
func (*GetResourcesMonitoringConfigurationResponse_Memory) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{32, 1}
|
|
}
|
|
|
|
func (x *GetResourcesMonitoringConfigurationResponse_Memory) GetEnabled() bool {
|
|
if x != nil {
|
|
return x.Enabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetResourcesMonitoringConfigurationResponse_Volume struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
|
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
|
}
|
|
|
|
func (x *GetResourcesMonitoringConfigurationResponse_Volume) Reset() {
|
|
*x = GetResourcesMonitoringConfigurationResponse_Volume{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[72]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetResourcesMonitoringConfigurationResponse_Volume) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetResourcesMonitoringConfigurationResponse_Volume) ProtoMessage() {}
|
|
|
|
func (x *GetResourcesMonitoringConfigurationResponse_Volume) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[72]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use GetResourcesMonitoringConfigurationResponse_Volume.ProtoReflect.Descriptor instead.
|
|
func (*GetResourcesMonitoringConfigurationResponse_Volume) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{32, 2}
|
|
}
|
|
|
|
func (x *GetResourcesMonitoringConfigurationResponse_Volume) GetEnabled() bool {
|
|
if x != nil {
|
|
return x.Enabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetResourcesMonitoringConfigurationResponse_Volume) GetPath() string {
|
|
if x != nil {
|
|
return x.Path
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PushResourcesMonitoringUsageRequest_Datapoint struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CollectedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=collected_at,json=collectedAt,proto3" json:"collected_at,omitempty"`
|
|
Memory *PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage `protobuf:"bytes,2,opt,name=memory,proto3,oneof" json:"memory,omitempty"`
|
|
Volumes []*PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage `protobuf:"bytes,3,rep,name=volumes,proto3" json:"volumes,omitempty"`
|
|
}
|
|
|
|
func (x *PushResourcesMonitoringUsageRequest_Datapoint) Reset() {
|
|
*x = PushResourcesMonitoringUsageRequest_Datapoint{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[73]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PushResourcesMonitoringUsageRequest_Datapoint) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PushResourcesMonitoringUsageRequest_Datapoint) ProtoMessage() {}
|
|
|
|
func (x *PushResourcesMonitoringUsageRequest_Datapoint) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[73]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PushResourcesMonitoringUsageRequest_Datapoint.ProtoReflect.Descriptor instead.
|
|
func (*PushResourcesMonitoringUsageRequest_Datapoint) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{33, 0}
|
|
}
|
|
|
|
func (x *PushResourcesMonitoringUsageRequest_Datapoint) GetCollectedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CollectedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PushResourcesMonitoringUsageRequest_Datapoint) GetMemory() *PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage {
|
|
if x != nil {
|
|
return x.Memory
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PushResourcesMonitoringUsageRequest_Datapoint) GetVolumes() []*PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage {
|
|
if x != nil {
|
|
return x.Volumes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Used int64 `protobuf:"varint,1,opt,name=used,proto3" json:"used,omitempty"`
|
|
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
|
}
|
|
|
|
func (x *PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage) Reset() {
|
|
*x = PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[74]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage) ProtoMessage() {}
|
|
|
|
func (x *PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[74]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage.ProtoReflect.Descriptor instead.
|
|
func (*PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{33, 0, 0}
|
|
}
|
|
|
|
func (x *PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage) GetUsed() int64 {
|
|
if x != nil {
|
|
return x.Used
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage) GetTotal() int64 {
|
|
if x != nil {
|
|
return x.Total
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Volume string `protobuf:"bytes,1,opt,name=volume,proto3" json:"volume,omitempty"`
|
|
Used int64 `protobuf:"varint,2,opt,name=used,proto3" json:"used,omitempty"`
|
|
Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
|
|
}
|
|
|
|
func (x *PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) Reset() {
|
|
*x = PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[75]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) ProtoMessage() {}
|
|
|
|
func (x *PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[75]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage.ProtoReflect.Descriptor instead.
|
|
func (*PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{33, 0, 1}
|
|
}
|
|
|
|
func (x *PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) GetVolume() string {
|
|
if x != nil {
|
|
return x.Volume
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) GetUsed() int64 {
|
|
if x != nil {
|
|
return x.Used
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage) GetTotal() int64 {
|
|
if x != nil {
|
|
return x.Total
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CreateSubAgentRequest_App struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Slug string `protobuf:"bytes,1,opt,name=slug,proto3" json:"slug,omitempty"`
|
|
Command *string `protobuf:"bytes,2,opt,name=command,proto3,oneof" json:"command,omitempty"`
|
|
DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"`
|
|
External *bool `protobuf:"varint,4,opt,name=external,proto3,oneof" json:"external,omitempty"`
|
|
Group *string `protobuf:"bytes,5,opt,name=group,proto3,oneof" json:"group,omitempty"`
|
|
Healthcheck *CreateSubAgentRequest_App_Healthcheck `protobuf:"bytes,6,opt,name=healthcheck,proto3,oneof" json:"healthcheck,omitempty"`
|
|
Hidden *bool `protobuf:"varint,7,opt,name=hidden,proto3,oneof" json:"hidden,omitempty"`
|
|
Icon *string `protobuf:"bytes,8,opt,name=icon,proto3,oneof" json:"icon,omitempty"`
|
|
OpenIn *CreateSubAgentRequest_App_OpenIn `protobuf:"varint,9,opt,name=open_in,json=openIn,proto3,enum=coder.agent.v2.CreateSubAgentRequest_App_OpenIn,oneof" json:"open_in,omitempty"`
|
|
Order *int32 `protobuf:"varint,10,opt,name=order,proto3,oneof" json:"order,omitempty"`
|
|
Share *CreateSubAgentRequest_App_SharingLevel `protobuf:"varint,11,opt,name=share,proto3,enum=coder.agent.v2.CreateSubAgentRequest_App_SharingLevel,oneof" json:"share,omitempty"`
|
|
Subdomain *bool `protobuf:"varint,12,opt,name=subdomain,proto3,oneof" json:"subdomain,omitempty"`
|
|
Url *string `protobuf:"bytes,13,opt,name=url,proto3,oneof" json:"url,omitempty"`
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest_App) Reset() {
|
|
*x = CreateSubAgentRequest_App{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[76]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest_App) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateSubAgentRequest_App) ProtoMessage() {}
|
|
|
|
func (x *CreateSubAgentRequest_App) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[76]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateSubAgentRequest_App.ProtoReflect.Descriptor instead.
|
|
func (*CreateSubAgentRequest_App) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{38, 0}
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest_App) GetSlug() string {
|
|
if x != nil {
|
|
return x.Slug
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest_App) GetCommand() string {
|
|
if x != nil && x.Command != nil {
|
|
return *x.Command
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest_App) GetDisplayName() string {
|
|
if x != nil && x.DisplayName != nil {
|
|
return *x.DisplayName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest_App) GetExternal() bool {
|
|
if x != nil && x.External != nil {
|
|
return *x.External
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest_App) GetGroup() string {
|
|
if x != nil && x.Group != nil {
|
|
return *x.Group
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest_App) GetHealthcheck() *CreateSubAgentRequest_App_Healthcheck {
|
|
if x != nil {
|
|
return x.Healthcheck
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest_App) GetHidden() bool {
|
|
if x != nil && x.Hidden != nil {
|
|
return *x.Hidden
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest_App) GetIcon() string {
|
|
if x != nil && x.Icon != nil {
|
|
return *x.Icon
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest_App) GetOpenIn() CreateSubAgentRequest_App_OpenIn {
|
|
if x != nil && x.OpenIn != nil {
|
|
return *x.OpenIn
|
|
}
|
|
return CreateSubAgentRequest_App_SLIM_WINDOW
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest_App) GetOrder() int32 {
|
|
if x != nil && x.Order != nil {
|
|
return *x.Order
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest_App) GetShare() CreateSubAgentRequest_App_SharingLevel {
|
|
if x != nil && x.Share != nil {
|
|
return *x.Share
|
|
}
|
|
return CreateSubAgentRequest_App_OWNER
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest_App) GetSubdomain() bool {
|
|
if x != nil && x.Subdomain != nil {
|
|
return *x.Subdomain
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest_App) GetUrl() string {
|
|
if x != nil && x.Url != nil {
|
|
return *x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateSubAgentRequest_App_Healthcheck struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Interval int32 `protobuf:"varint,1,opt,name=interval,proto3" json:"interval,omitempty"`
|
|
Threshold int32 `protobuf:"varint,2,opt,name=threshold,proto3" json:"threshold,omitempty"`
|
|
Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest_App_Healthcheck) Reset() {
|
|
*x = CreateSubAgentRequest_App_Healthcheck{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[77]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest_App_Healthcheck) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateSubAgentRequest_App_Healthcheck) ProtoMessage() {}
|
|
|
|
func (x *CreateSubAgentRequest_App_Healthcheck) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[77]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateSubAgentRequest_App_Healthcheck.ProtoReflect.Descriptor instead.
|
|
func (*CreateSubAgentRequest_App_Healthcheck) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{38, 0, 0}
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest_App_Healthcheck) GetInterval() int32 {
|
|
if x != nil {
|
|
return x.Interval
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest_App_Healthcheck) GetThreshold() int32 {
|
|
if x != nil {
|
|
return x.Threshold
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateSubAgentRequest_App_Healthcheck) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateSubAgentResponse_AppCreationError struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
|
|
Field *string `protobuf:"bytes,2,opt,name=field,proto3,oneof" json:"field,omitempty"`
|
|
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
|
|
}
|
|
|
|
func (x *CreateSubAgentResponse_AppCreationError) Reset() {
|
|
*x = CreateSubAgentResponse_AppCreationError{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[78]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateSubAgentResponse_AppCreationError) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateSubAgentResponse_AppCreationError) ProtoMessage() {}
|
|
|
|
func (x *CreateSubAgentResponse_AppCreationError) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[78]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use CreateSubAgentResponse_AppCreationError.ProtoReflect.Descriptor instead.
|
|
func (*CreateSubAgentResponse_AppCreationError) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{39, 0}
|
|
}
|
|
|
|
func (x *CreateSubAgentResponse_AppCreationError) GetIndex() int32 {
|
|
if x != nil {
|
|
return x.Index
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateSubAgentResponse_AppCreationError) GetField() string {
|
|
if x != nil && x.Field != nil {
|
|
return *x.Field
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateSubAgentResponse_AppCreationError) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type BoundaryLog_HttpRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
|
|
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
|
|
// The rule that resulted in this HTTP request being allowed. Only populated
|
|
// when allowed = true because boundary denies requests by default and
|
|
// requires rule(s) that allow requests.
|
|
MatchedRule string `protobuf:"bytes,3,opt,name=matched_rule,json=matchedRule,proto3" json:"matched_rule,omitempty"`
|
|
}
|
|
|
|
func (x *BoundaryLog_HttpRequest) Reset() {
|
|
*x = BoundaryLog_HttpRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[79]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BoundaryLog_HttpRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BoundaryLog_HttpRequest) ProtoMessage() {}
|
|
|
|
func (x *BoundaryLog_HttpRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_agent_proto_agent_proto_msgTypes[79]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use BoundaryLog_HttpRequest.ProtoReflect.Descriptor instead.
|
|
func (*BoundaryLog_HttpRequest) Descriptor() ([]byte, []int) {
|
|
return file_agent_proto_agent_proto_rawDescGZIP(), []int{44, 0}
|
|
}
|
|
|
|
func (x *BoundaryLog_HttpRequest) GetMethod() string {
|
|
if x != nil {
|
|
return x.Method
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BoundaryLog_HttpRequest) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BoundaryLog_HttpRequest) GetMatchedRule() string {
|
|
if x != nil {
|
|
return x.MatchedRule
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var File_agent_proto_agent_proto protoreflect.FileDescriptor
|
|
|
|
var file_agent_proto_agent_proto_rawDesc = []byte{
|
|
0x0a, 0x17, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x61, 0x67,
|
|
0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0e, 0x63, 0x6f, 0x64, 0x65, 0x72,
|
|
0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x1a, 0x1b, 0x74, 0x61, 0x69, 0x6c, 0x6e,
|
|
0x65, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x61, 0x69, 0x6c, 0x6e, 0x65, 0x74,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
|
|
0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x22, 0xa6, 0x06, 0x0a, 0x0c, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65,
|
|
0x41, 0x70, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
|
0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61,
|
|
0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61,
|
|
0x6c, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6c, 0x75, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x04, 0x73, 0x6c, 0x75, 0x67, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79,
|
|
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73,
|
|
0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d,
|
|
0x61, 0x6e, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61,
|
|
0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x75, 0x62, 0x64, 0x6f, 0x6d,
|
|
0x61, 0x69, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x73, 0x75, 0x62, 0x64, 0x6f,
|
|
0x6d, 0x61, 0x69, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x64, 0x6f, 0x6d, 0x61, 0x69,
|
|
0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x75,
|
|
0x62, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4e, 0x0a, 0x0d, 0x73,
|
|
0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x0a, 0x20, 0x01,
|
|
0x28, 0x0e, 0x32, 0x29, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74,
|
|
0x2e, 0x76, 0x32, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x70, 0x70,
|
|
0x2e, 0x53, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x0c, 0x73,
|
|
0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x4a, 0x0a, 0x0b, 0x68,
|
|
0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x28, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76,
|
|
0x32, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x70, 0x70, 0x2e, 0x48,
|
|
0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x0b, 0x68, 0x65, 0x61, 0x6c,
|
|
0x74, 0x68, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x3b, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x6c, 0x74,
|
|
0x68, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e,
|
|
0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
|
|
0x63, 0x65, 0x41, 0x70, 0x70, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x06, 0x68, 0x65,
|
|
0x61, 0x6c, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x18, 0x0d,
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x1a, 0x74, 0x0a, 0x0b,
|
|
0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x75,
|
|
0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x35, 0x0a,
|
|
0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
|
0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65,
|
|
0x72, 0x76, 0x61, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c,
|
|
0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f,
|
|
0x6c, 0x64, 0x22, 0x69, 0x0a, 0x0c, 0x53, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76,
|
|
0x65, 0x6c, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x48, 0x41, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x4c, 0x45,
|
|
0x56, 0x45, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
|
|
0x00, 0x12, 0x09, 0x0a, 0x05, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d,
|
|
0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54, 0x49, 0x43, 0x41, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12,
|
|
0x0a, 0x0a, 0x06, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x4f,
|
|
0x52, 0x47, 0x41, 0x4e, 0x49, 0x5a, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x04, 0x22, 0x5c, 0x0a,
|
|
0x06, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x12, 0x48, 0x45, 0x41, 0x4c, 0x54,
|
|
0x48, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
|
|
0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x10, 0x0a,
|
|
0x0c, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x49, 0x5a, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12,
|
|
0x0b, 0x0a, 0x07, 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x59, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09,
|
|
0x55, 0x4e, 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x59, 0x10, 0x04, 0x22, 0xd8, 0x03, 0x0a, 0x14,
|
|
0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x53, 0x63,
|
|
0x72, 0x69, 0x70, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x6c, 0x6f, 0x67, 0x5f, 0x73, 0x6f, 0x75, 0x72,
|
|
0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x6c, 0x6f, 0x67,
|
|
0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6c, 0x6f, 0x67, 0x5f,
|
|
0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6c, 0x6f, 0x67, 0x50,
|
|
0x61, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x63,
|
|
0x72, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x72, 0x6f, 0x6e, 0x12,
|
|
0x20, 0x0a, 0x0c, 0x72, 0x75, 0x6e, 0x5f, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18,
|
|
0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x72, 0x75, 0x6e, 0x4f, 0x6e, 0x53, 0x74, 0x61, 0x72,
|
|
0x74, 0x12, 0x1e, 0x0a, 0x0b, 0x72, 0x75, 0x6e, 0x5f, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x6f, 0x70,
|
|
0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x75, 0x6e, 0x4f, 0x6e, 0x53, 0x74, 0x6f,
|
|
0x70, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
|
|
0x73, 0x5f, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x73,
|
|
0x74, 0x61, 0x72, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12,
|
|
0x33, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
|
0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x74, 0x69, 0x6d,
|
|
0x65, 0x6f, 0x75, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f,
|
|
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70,
|
|
0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x0a, 0x20,
|
|
0x01, 0x28, 0x0c, 0x52, 0x02, 0x69, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x6f, 0x75,
|
|
0x72, 0x63, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65,
|
|
0x73, 0x73, 0x12, 0x52, 0x0a, 0x0c, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69,
|
|
0x65, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72,
|
|
0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70,
|
|
0x61, 0x63, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x44, 0x65,
|
|
0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64,
|
|
0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x22, 0xa3, 0x02, 0x0a, 0x1e, 0x57, 0x6f, 0x72, 0x6b, 0x73,
|
|
0x70, 0x61, 0x63, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x44,
|
|
0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x42, 0x0a, 0x1d, 0x70, 0x72, 0x65,
|
|
0x72, 0x65, 0x71, 0x75, 0x69, 0x73, 0x69, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
|
|
0x63, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x1b, 0x70, 0x72, 0x65, 0x72, 0x65, 0x71, 0x75, 0x69, 0x73, 0x69, 0x74, 0x65, 0x52, 0x65,
|
|
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x5c, 0x0a,
|
|
0x0b, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x0e, 0x32, 0x3a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74,
|
|
0x2e, 0x76, 0x32, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x67, 0x65,
|
|
0x6e, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e,
|
|
0x63, 0x79, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b,
|
|
0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x5f, 0x0a, 0x0b, 0x52,
|
|
0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x45,
|
|
0x51, 0x55, 0x49, 0x52, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43,
|
|
0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x45, 0x51, 0x55, 0x49,
|
|
0x52, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01,
|
|
0x12, 0x1a, 0x0a, 0x16, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x4d, 0x45, 0x4e, 0x54, 0x5f,
|
|
0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x22, 0x86, 0x04, 0x0a,
|
|
0x16, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x4d,
|
|
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x45, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c,
|
|
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e,
|
|
0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
|
|
0x63, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e,
|
|
0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x54,
|
|
0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e,
|
|
0x74, 0x2e, 0x76, 0x32, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x67,
|
|
0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x73, 0x63,
|
|
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x85, 0x01, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12,
|
|
0x3d, 0x0a, 0x0c, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
|
|
0x70, 0x52, 0x0b, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x10,
|
|
0x0a, 0x03, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x61, 0x67, 0x65,
|
|
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0xc6, 0x01, 0x0a,
|
|
0x0b, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c,
|
|
0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12,
|
|
0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
|
|
0x79, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x06, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x12, 0x35, 0x0a, 0x08, 0x69, 0x6e, 0x74,
|
|
0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f,
|
|
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75,
|
|
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c,
|
|
0x12, 0x33, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x74, 0x69,
|
|
0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0xcf, 0x09, 0x0a, 0x08, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65,
|
|
0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a,
|
|
0x0a, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x09, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e,
|
|
0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0d,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x6e,
|
|
0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65,
|
|
0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x73,
|
|
0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70,
|
|
0x61, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
|
|
0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a,
|
|
0x10, 0x67, 0x69, 0x74, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
|
0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x67, 0x69, 0x74, 0x41, 0x75, 0x74, 0x68,
|
|
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x67, 0x0a, 0x15, 0x65, 0x6e, 0x76, 0x69, 0x72,
|
|
0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73,
|
|
0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61,
|
|
0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74,
|
|
0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69,
|
|
0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x14, 0x65, 0x6e, 0x76, 0x69,
|
|
0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73,
|
|
0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x32,
|
|
0x0a, 0x16, 0x76, 0x73, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x70,
|
|
0x72, 0x6f, 0x78, 0x79, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12,
|
|
0x76, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x55,
|
|
0x72, 0x69, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x6f, 0x74, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18,
|
|
0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x6f, 0x74, 0x64, 0x50, 0x61, 0x74, 0x68, 0x12,
|
|
0x3c, 0x0a, 0x1a, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63,
|
|
0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20,
|
|
0x01, 0x28, 0x08, 0x52, 0x18, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x69, 0x72, 0x65,
|
|
0x63, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x32, 0x0a,
|
|
0x15, 0x64, 0x65, 0x72, 0x70, 0x5f, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x77, 0x65, 0x62, 0x73,
|
|
0x6f, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x64, 0x65,
|
|
0x72, 0x70, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x57, 0x65, 0x62, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74,
|
|
0x73, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x12,
|
|
0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x08, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x49, 0x64,
|
|
0x88, 0x01, 0x01, 0x12, 0x34, 0x0a, 0x08, 0x64, 0x65, 0x72, 0x70, 0x5f, 0x6d, 0x61, 0x70, 0x18,
|
|
0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x74, 0x61,
|
|
0x69, 0x6c, 0x6e, 0x65, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x45, 0x52, 0x50, 0x4d, 0x61, 0x70,
|
|
0x52, 0x07, 0x64, 0x65, 0x72, 0x70, 0x4d, 0x61, 0x70, 0x12, 0x3e, 0x0a, 0x07, 0x73, 0x63, 0x72,
|
|
0x69, 0x70, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x6f, 0x64,
|
|
0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x57, 0x6f, 0x72, 0x6b,
|
|
0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74,
|
|
0x52, 0x07, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x73, 0x12, 0x30, 0x0a, 0x04, 0x61, 0x70, 0x70,
|
|
0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e,
|
|
0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
|
|
0x63, 0x65, 0x41, 0x70, 0x70, 0x52, 0x04, 0x61, 0x70, 0x70, 0x73, 0x12, 0x4e, 0x0a, 0x08, 0x6d,
|
|
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e,
|
|
0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x57,
|
|
0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74,
|
|
0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x50, 0x0a, 0x0d, 0x64,
|
|
0x65, 0x76, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x11, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74,
|
|
0x2e, 0x76, 0x32, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x67, 0x65,
|
|
0x6e, 0x74, 0x44, 0x65, 0x76, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x0d,
|
|
0x64, 0x65, 0x76, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x39, 0x0a,
|
|
0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f,
|
|
0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e,
|
|
0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x52,
|
|
0x07, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x77, 0x6f, 0x72, 0x6b,
|
|
0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x14,
|
|
0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x42,
|
|
0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61,
|
|
0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x74, 0x65, 0x6d,
|
|
0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x65, 0x6d, 0x70, 0x6c,
|
|
0x61, 0x74, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
|
|
0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x15,
|
|
0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x5f, 0x65, 0x6e,
|
|
0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x17, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x61, 0x67, 0x65,
|
|
0x6e, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
|
0x1a, 0x47, 0x0a, 0x19, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x56,
|
|
0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
|
|
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
|
|
0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x70, 0x61,
|
|
0x72, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x22, 0x5f, 0x0a, 0x0f, 0x57, 0x6f, 0x72, 0x6b, 0x73,
|
|
0x70, 0x61, 0x63, 0x65, 0x53, 0x65, 0x63, 0x72, 0x65, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e,
|
|
0x76, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e,
|
|
0x76, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61,
|
|
0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61,
|
|
0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xc2, 0x01, 0x0a, 0x1a, 0x57, 0x6f, 0x72,
|
|
0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x76, 0x63, 0x6f,
|
|
0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x0c, 0x52, 0x02, 0x69, 0x64, 0x12, 0x29, 0x0a, 0x10, 0x77, 0x6f, 0x72, 0x6b, 0x73,
|
|
0x70, 0x61, 0x63, 0x65, 0x5f, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0f, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x46, 0x6f, 0x6c, 0x64,
|
|
0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x70, 0x61, 0x74,
|
|
0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x50,
|
|
0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0b, 0x73, 0x75, 0x62, 0x61, 0x67,
|
|
0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x0a,
|
|
0x73, 0x75, 0x62, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0e, 0x0a,
|
|
0x0c, 0x5f, 0x73, 0x75, 0x62, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x22, 0x14, 0x0a,
|
|
0x12, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x22, 0x6e, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x61,
|
|
0x6e, 0x6e, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x18,
|
|
0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x62, 0x61, 0x63, 0x6b,
|
|
0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0f, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f,
|
|
0x6c, 0x6f, 0x72, 0x22, 0x19, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
|
|
0x65, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xd6,
|
|
0x08, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x5f, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x6e,
|
|
0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x62, 0x79, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61,
|
|
0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x43, 0x6f,
|
|
0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x73, 0x42, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e,
|
|
0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43,
|
|
0x6f, 0x75, 0x6e, 0x74, 0x12, 0x3f, 0x0a, 0x1c, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x6e, 0x5f, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63,
|
|
0x79, 0x5f, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x19, 0x63, 0x6f, 0x6e, 0x6e,
|
|
0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x6e, 0x4c, 0x61, 0x74, 0x65,
|
|
0x6e, 0x63, 0x79, 0x4d, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x78, 0x5f, 0x70, 0x61, 0x63, 0x6b,
|
|
0x65, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x72, 0x78, 0x50, 0x61, 0x63,
|
|
0x6b, 0x65, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73,
|
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x72, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12,
|
|
0x1d, 0x0a, 0x0a, 0x74, 0x78, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x06, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x78, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x19,
|
|
0x0a, 0x08, 0x74, 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03,
|
|
0x52, 0x07, 0x74, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x14, 0x73, 0x65, 0x73,
|
|
0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x76, 0x73, 0x63, 0x6f, 0x64,
|
|
0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x52, 0x12, 0x73, 0x65, 0x73,
|
|
0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x56, 0x73, 0x63, 0x6f, 0x64, 0x65, 0x12,
|
|
0x3a, 0x0a, 0x17, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
|
0x5f, 0x6a, 0x65, 0x74, 0x62, 0x72, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03,
|
|
0x42, 0x02, 0x18, 0x01, 0x52, 0x15, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x4a, 0x65, 0x74, 0x62, 0x72, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x47, 0x0a, 0x1e, 0x73,
|
|
0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x63,
|
|
0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x74, 0x79, 0x18, 0x0a, 0x20,
|
|
0x01, 0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x52, 0x1b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
|
|
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6e,
|
|
0x67, 0x50, 0x74, 0x79, 0x12, 0x2e, 0x0a, 0x11, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f,
|
|
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x73, 0x73, 0x68, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x42,
|
|
0x02, 0x18, 0x01, 0x52, 0x0f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e,
|
|
0x74, 0x53, 0x73, 0x68, 0x12, 0x36, 0x0a, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18,
|
|
0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67,
|
|
0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x4d, 0x65, 0x74,
|
|
0x72, 0x69, 0x63, 0x52, 0x07, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x4f, 0x0a, 0x0e,
|
|
0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x0d,
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65,
|
|
0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x53, 0x65, 0x73, 0x73,
|
|
0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d,
|
|
0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x1a, 0x45, 0x0a,
|
|
0x17, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x79, 0x50, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
|
|
0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
|
0x3a, 0x02, 0x38, 0x01, 0x1a, 0x8e, 0x02, 0x0a, 0x06, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x12,
|
|
0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
|
|
0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x0e, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e,
|
|
0x76, 0x32, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e,
|
|
0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
|
|
0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
|
0x12, 0x3a, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
|
|
0x32, 0x22, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76,
|
|
0x32, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2e, 0x4c,
|
|
0x61, 0x62, 0x65, 0x6c, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x31, 0x0a, 0x05,
|
|
0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
|
|
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22,
|
|
0x34, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f,
|
|
0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a,
|
|
0x07, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x47, 0x41,
|
|
0x55, 0x47, 0x45, 0x10, 0x02, 0x1a, 0x40, 0x0a, 0x12, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e,
|
|
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
|
|
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61,
|
|
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x41, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74,
|
|
0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a,
|
|
0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63,
|
|
0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74,
|
|
0x61, 0x74, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x73, 0x22, 0x59, 0x0a, 0x13, 0x55, 0x70,
|
|
0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x12, 0x42, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x65,
|
|
0x72, 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f,
|
|
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x74,
|
|
0x65, 0x72, 0x76, 0x61, 0x6c, 0x22, 0xae, 0x02, 0x0a, 0x09, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79,
|
|
0x63, 0x6c, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74,
|
|
0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x2e, 0x53, 0x74,
|
|
0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x68,
|
|
0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
|
|
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
|
0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e,
|
|
0x67, 0x65, 0x64, 0x41, 0x74, 0x22, 0xae, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12,
|
|
0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
|
|
0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x52, 0x45, 0x41, 0x54, 0x45,
|
|
0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x54, 0x41, 0x52, 0x54, 0x49, 0x4e, 0x47, 0x10,
|
|
0x02, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x54, 0x41, 0x52, 0x54, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x4f,
|
|
0x55, 0x54, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x54, 0x41, 0x52, 0x54, 0x5f, 0x45, 0x52,
|
|
0x52, 0x4f, 0x52, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x52, 0x45, 0x41, 0x44, 0x59, 0x10, 0x05,
|
|
0x12, 0x11, 0x0a, 0x0d, 0x53, 0x48, 0x55, 0x54, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x44, 0x4f, 0x57,
|
|
0x4e, 0x10, 0x06, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x48, 0x55, 0x54, 0x44, 0x4f, 0x57, 0x4e, 0x5f,
|
|
0x54, 0x49, 0x4d, 0x45, 0x4f, 0x55, 0x54, 0x10, 0x07, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x48, 0x55,
|
|
0x54, 0x44, 0x4f, 0x57, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x08, 0x12, 0x07, 0x0a,
|
|
0x03, 0x4f, 0x46, 0x46, 0x10, 0x09, 0x22, 0x51, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
|
0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x12, 0x37, 0x0a, 0x09, 0x6c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e,
|
|
0x74, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x52, 0x09,
|
|
0x6c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x22, 0xc4, 0x01, 0x0a, 0x1b, 0x42, 0x61,
|
|
0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x48, 0x65, 0x61, 0x6c,
|
|
0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x52, 0x0a, 0x07, 0x75, 0x70, 0x64,
|
|
0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x63, 0x6f, 0x64,
|
|
0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x61, 0x74, 0x63,
|
|
0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x55, 0x70,
|
|
0x64, 0x61, 0x74, 0x65, 0x52, 0x07, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x1a, 0x51, 0x0a,
|
|
0x0c, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a,
|
|
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x69, 0x64, 0x12, 0x31, 0x0a,
|
|
0x06, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e,
|
|
0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x41,
|
|
0x70, 0x70, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x06, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68,
|
|
0x22, 0x1e, 0x0a, 0x1c, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41,
|
|
0x70, 0x70, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x22, 0xe8, 0x01, 0x0a, 0x07, 0x53, 0x74, 0x61, 0x72, 0x74, 0x75, 0x70, 0x12, 0x18, 0x0a, 0x07,
|
|
0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76,
|
|
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x65, 0x78, 0x70, 0x61, 0x6e, 0x64,
|
|
0x65, 0x64, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x11, 0x65, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x65, 0x64, 0x44, 0x69, 0x72, 0x65,
|
|
0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x41, 0x0a, 0x0a, 0x73, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74,
|
|
0x65, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x64, 0x65,
|
|
0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74,
|
|
0x75, 0x70, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x0a, 0x73, 0x75,
|
|
0x62, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x51, 0x0a, 0x09, 0x53, 0x75, 0x62, 0x73,
|
|
0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x55, 0x42, 0x53, 0x59, 0x53, 0x54,
|
|
0x45, 0x4d, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
|
|
0x12, 0x0a, 0x0a, 0x06, 0x45, 0x4e, 0x56, 0x42, 0x4f, 0x58, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a,
|
|
0x45, 0x4e, 0x56, 0x42, 0x55, 0x49, 0x4c, 0x44, 0x45, 0x52, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09,
|
|
0x45, 0x58, 0x45, 0x43, 0x54, 0x52, 0x41, 0x43, 0x45, 0x10, 0x03, 0x22, 0x49, 0x0a, 0x14, 0x55,
|
|
0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x12, 0x31, 0x0a, 0x07, 0x73, 0x74, 0x61, 0x72, 0x74, 0x75, 0x70, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65,
|
|
0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x75, 0x70, 0x52, 0x07, 0x73,
|
|
0x74, 0x61, 0x72, 0x74, 0x75, 0x70, 0x22, 0x63, 0x0a, 0x08, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
|
|
0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x03, 0x6b, 0x65, 0x79, 0x12, 0x45, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65,
|
|
0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41,
|
|
0x67, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x52, 0x65, 0x73,
|
|
0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x52, 0x0a, 0x1a, 0x42,
|
|
0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
|
|
0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x08, 0x6d, 0x65, 0x74,
|
|
0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f,
|
|
0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x65, 0x74,
|
|
0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22,
|
|
0x1d, 0x0a, 0x1b, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65,
|
|
0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xde,
|
|
0x01, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x12, 0x39, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
|
|
0x64, 0x5f, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
|
|
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
|
|
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41,
|
|
0x74, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x2f, 0x0a, 0x05, 0x6c, 0x65, 0x76,
|
|
0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72,
|
|
0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x6f, 0x67, 0x2e, 0x4c, 0x65,
|
|
0x76, 0x65, 0x6c, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x53, 0x0a, 0x05, 0x4c, 0x65,
|
|
0x76, 0x65, 0x6c, 0x12, 0x15, 0x0a, 0x11, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x55, 0x4e, 0x53,
|
|
0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x54, 0x52,
|
|
0x41, 0x43, 0x45, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x44, 0x45, 0x42, 0x55, 0x47, 0x10, 0x02,
|
|
0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x57, 0x41,
|
|
0x52, 0x4e, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x05, 0x22,
|
|
0x65, 0x0a, 0x16, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f,
|
|
0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x6c, 0x6f, 0x67,
|
|
0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
|
|
0x52, 0x0b, 0x6c, 0x6f, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x64, 0x12, 0x27, 0x0a,
|
|
0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x63, 0x6f,
|
|
0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x6f, 0x67,
|
|
0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x22, 0x47, 0x0a, 0x17, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43,
|
|
0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x12, 0x2c, 0x0a, 0x12, 0x6c, 0x6f, 0x67, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x65,
|
|
0x78, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6c,
|
|
0x6f, 0x67, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x45, 0x78, 0x63, 0x65, 0x65, 0x64, 0x65, 0x64, 0x22,
|
|
0x1f, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x6d, 0x65,
|
|
0x6e, 0x74, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x22, 0x71, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x6d,
|
|
0x65, 0x6e, 0x74, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x4f, 0x0a, 0x14, 0x61, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x6d, 0x65,
|
|
0x6e, 0x74, 0x5f, 0x62, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
|
0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76,
|
|
0x32, 0x2e, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x13,
|
|
0x61, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x6e, 0x6e,
|
|
0x65, 0x72, 0x73, 0x22, 0x6d, 0x0a, 0x0c, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x43, 0x6f, 0x6e,
|
|
0x66, 0x69, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x18, 0x0a,
|
|
0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
|
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x62, 0x61, 0x63, 0x6b, 0x67,
|
|
0x72, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0f, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x43, 0x6f, 0x6c,
|
|
0x6f, 0x72, 0x22, 0x56, 0x0a, 0x24, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41,
|
|
0x67, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65,
|
|
0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x06, 0x74, 0x69,
|
|
0x6d, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x6f, 0x64,
|
|
0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x69, 0x6d, 0x69,
|
|
0x6e, 0x67, 0x52, 0x06, 0x74, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x22, 0x27, 0x0a, 0x25, 0x57, 0x6f,
|
|
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x72, 0x69,
|
|
0x70, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
0x6e, 0x73, 0x65, 0x22, 0x98, 0x03, 0x0a, 0x06, 0x54, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x1b,
|
|
0x0a, 0x09, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x0c, 0x52, 0x08, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x05, 0x73,
|
|
0x74, 0x61, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
|
|
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
|
|
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x2c, 0x0a,
|
|
0x03, 0x65, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
|
|
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
|
|
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x65,
|
|
0x78, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
|
|
0x65, 0x78, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67,
|
|
0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e,
|
|
0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x69, 0x6d, 0x69, 0x6e, 0x67, 0x2e,
|
|
0x53, 0x74, 0x61, 0x67, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x35, 0x0a, 0x06,
|
|
0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x63,
|
|
0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x69,
|
|
0x6d, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61,
|
|
0x74, 0x75, 0x73, 0x22, 0x26, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x67, 0x65, 0x12, 0x09, 0x0a, 0x05,
|
|
0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x54, 0x4f, 0x50, 0x10,
|
|
0x01, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x52, 0x4f, 0x4e, 0x10, 0x02, 0x22, 0x61, 0x0a, 0x06, 0x53,
|
|
0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x00, 0x12, 0x10, 0x0a,
|
|
0x0c, 0x45, 0x58, 0x49, 0x54, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x10, 0x01, 0x12,
|
|
0x0d, 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, 0x44, 0x5f, 0x4f, 0x55, 0x54, 0x10, 0x02, 0x12, 0x13,
|
|
0x0a, 0x0f, 0x50, 0x49, 0x50, 0x45, 0x53, 0x5f, 0x4c, 0x45, 0x46, 0x54, 0x5f, 0x4f, 0x50, 0x45,
|
|
0x4e, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x4b, 0x49, 0x50, 0x50, 0x45, 0x44, 0x10, 0x04,
|
|
0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x05, 0x22, 0x2c,
|
|
0x0a, 0x2a, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x4d, 0x6f,
|
|
0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xa0, 0x04, 0x0a,
|
|
0x2b, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x4d, 0x6f, 0x6e,
|
|
0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x06,
|
|
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x63,
|
|
0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65,
|
|
0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f,
|
|
0x72, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
|
0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x5f, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x6f,
|
|
0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72,
|
|
0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73,
|
|
0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67,
|
|
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x48, 0x00, 0x52, 0x06,
|
|
0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x88, 0x01, 0x01, 0x12, 0x5c, 0x0a, 0x07, 0x76, 0x6f, 0x6c,
|
|
0x75, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x63, 0x6f, 0x64,
|
|
0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x52,
|
|
0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69,
|
|
0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x07,
|
|
0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x1a, 0x6f, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
|
0x67, 0x12, 0x25, 0x0a, 0x0e, 0x6e, 0x75, 0x6d, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x69,
|
|
0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x6e, 0x75, 0x6d, 0x44, 0x61,
|
|
0x74, 0x61, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x3e, 0x0a, 0x1b, 0x63, 0x6f, 0x6c, 0x6c,
|
|
0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f,
|
|
0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x19, 0x63,
|
|
0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61,
|
|
0x6c, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x1a, 0x22, 0x0a, 0x06, 0x4d, 0x65, 0x6d, 0x6f,
|
|
0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x1a, 0x36, 0x0a, 0x06,
|
|
0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
|
0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
|
0x70, 0x61, 0x74, 0x68, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x22,
|
|
0xb3, 0x04, 0x0a, 0x23, 0x50, 0x75, 0x73, 0x68, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
|
|
0x73, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x55, 0x73, 0x61, 0x67, 0x65,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x5d, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x70,
|
|
0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x63, 0x6f,
|
|
0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x75, 0x73,
|
|
0x68, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f,
|
|
0x72, 0x69, 0x6e, 0x67, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x2e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61,
|
|
0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x1a, 0xac, 0x03, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 0x70,
|
|
0x6f, 0x69, 0x6e, 0x74, 0x12, 0x3d, 0x0a, 0x0c, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x65,
|
|
0x64, 0x5f, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
|
|
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
|
|
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x65,
|
|
0x64, 0x41, 0x74, 0x12, 0x66, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x49, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e,
|
|
0x74, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
|
|
0x65, 0x73, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x55, 0x73, 0x61, 0x67,
|
|
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x69,
|
|
0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00,
|
|
0x52, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x88, 0x01, 0x01, 0x12, 0x63, 0x0a, 0x07, 0x76,
|
|
0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x49, 0x2e, 0x63,
|
|
0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x75,
|
|
0x73, 0x68, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x4d, 0x6f, 0x6e, 0x69, 0x74,
|
|
0x6f, 0x72, 0x69, 0x6e, 0x67, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x2e, 0x56, 0x6f, 0x6c, 0x75,
|
|
0x6d, 0x65, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73,
|
|
0x1a, 0x37, 0x0a, 0x0b, 0x4d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12,
|
|
0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x75,
|
|
0x73, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x1a, 0x4f, 0x0a, 0x0b, 0x56, 0x6f, 0x6c,
|
|
0x75, 0x6d, 0x65, 0x55, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x6f, 0x6c, 0x75,
|
|
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
|
|
0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
|
|
0x75, 0x73, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6d,
|
|
0x65, 0x6d, 0x6f, 0x72, 0x79, 0x22, 0x26, 0x0a, 0x24, 0x50, 0x75, 0x73, 0x68, 0x52, 0x65, 0x73,
|
|
0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67,
|
|
0x55, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x96, 0x06,
|
|
0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02,
|
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x69, 0x64, 0x12, 0x39, 0x0a, 0x06,
|
|
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x63,
|
|
0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f,
|
|
0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52,
|
|
0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67,
|
|
0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
|
|
0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
|
|
0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70,
|
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74,
|
|
0x61, 0x74, 0x75, 0x73, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x0a, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x06, 0x72,
|
|
0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x72,
|
|
0x65, 0x61, 0x73, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x6c, 0x69, 0x65,
|
|
0x6e, 0x74, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x65, 0x73, 0x73, 0x69,
|
|
0x6f, 0x6e, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x70, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
|
|
0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x70, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12,
|
|
0x4e, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65,
|
|
0x74, 0x68, 0x6f, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x64,
|
|
0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x6e,
|
|
0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x10, 0x63,
|
|
0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12,
|
|
0x1e, 0x0a, 0x08, 0x72, 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28,
|
|
0x03, 0x48, 0x01, 0x52, 0x07, 0x72, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x88, 0x01, 0x01, 0x12,
|
|
0x1e, 0x0a, 0x08, 0x74, 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28,
|
|
0x03, 0x48, 0x02, 0x52, 0x07, 0x74, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x88, 0x01, 0x01, 0x22,
|
|
0x3d, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x43, 0x54,
|
|
0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
|
|
0x00, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x10, 0x01, 0x12, 0x0e,
|
|
0x0a, 0x0a, 0x44, 0x49, 0x53, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x10, 0x02, 0x22, 0x56,
|
|
0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55,
|
|
0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03,
|
|
0x53, 0x53, 0x48, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x53, 0x43, 0x4f, 0x44, 0x45, 0x10,
|
|
0x02, 0x12, 0x0d, 0x0a, 0x09, 0x4a, 0x45, 0x54, 0x42, 0x52, 0x41, 0x49, 0x4e, 0x53, 0x10, 0x03,
|
|
0x12, 0x14, 0x0a, 0x10, 0x52, 0x45, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4e, 0x47,
|
|
0x5f, 0x50, 0x54, 0x59, 0x10, 0x04, 0x22, 0x69, 0x0a, 0x06, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64,
|
|
0x12, 0x16, 0x0a, 0x12, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
|
|
0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x45, 0x54, 0x48,
|
|
0x4f, 0x44, 0x5f, 0x53, 0x53, 0x48, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x45, 0x54, 0x48,
|
|
0x4f, 0x44, 0x5f, 0x52, 0x45, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4e, 0x47, 0x5f,
|
|
0x50, 0x54, 0x59, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f,
|
|
0x50, 0x4f, 0x52, 0x54, 0x5f, 0x46, 0x4f, 0x52, 0x57, 0x41, 0x52, 0x44, 0x49, 0x4e, 0x47, 0x10,
|
|
0x03, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x42, 0x0b, 0x0a, 0x09,
|
|
0x5f, 0x72, 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x74, 0x78,
|
|
0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x22, 0x55, 0x0a, 0x17, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74,
|
|
0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x12, 0x3a, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67,
|
|
0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x4d, 0x0a,
|
|
0x08, 0x53, 0x75, 0x62, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
|
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a,
|
|
0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a,
|
|
0x0a, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x0c, 0x52, 0x09, 0x61, 0x75, 0x74, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xb9, 0x0a, 0x0a,
|
|
0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69,
|
|
0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64,
|
|
0x69, 0x72, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x72, 0x63, 0x68,
|
|
0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
|
|
0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x29, 0x0a, 0x10,
|
|
0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d,
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e,
|
|
0x67, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x3d, 0x0a, 0x04, 0x61, 0x70, 0x70, 0x73, 0x18,
|
|
0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67,
|
|
0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62,
|
|
0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x70, 0x70,
|
|
0x52, 0x04, 0x61, 0x70, 0x70, 0x73, 0x12, 0x53, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61,
|
|
0x79, 0x5f, 0x61, 0x70, 0x70, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x63,
|
|
0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72,
|
|
0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x2e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x41, 0x70, 0x70, 0x52, 0x0b,
|
|
0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x41, 0x70, 0x70, 0x73, 0x12, 0x13, 0x0a, 0x02, 0x69,
|
|
0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x02, 0x69, 0x64, 0x88, 0x01, 0x01,
|
|
0x1a, 0x81, 0x07, 0x0a, 0x03, 0x41, 0x70, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6c, 0x75, 0x67,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x6c, 0x75, 0x67, 0x12, 0x1d, 0x0a, 0x07,
|
|
0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52,
|
|
0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x88, 0x01, 0x01, 0x12, 0x26, 0x0a, 0x0c, 0x64,
|
|
0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x09, 0x48, 0x01, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65,
|
|
0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x08, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x02, 0x52, 0x08, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61,
|
|
0x6c, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x05, 0x20,
|
|
0x01, 0x28, 0x09, 0x48, 0x03, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x88, 0x01, 0x01, 0x12,
|
|
0x5c, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x06,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65,
|
|
0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x41,
|
|
0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x70, 0x70, 0x2e,
|
|
0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x48, 0x04, 0x52, 0x0b, 0x68,
|
|
0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x88, 0x01, 0x01, 0x12, 0x1b, 0x0a,
|
|
0x06, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x48, 0x05, 0x52,
|
|
0x06, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x69, 0x63,
|
|
0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, 0x06, 0x52, 0x04, 0x69, 0x63, 0x6f, 0x6e,
|
|
0x88, 0x01, 0x01, 0x12, 0x4e, 0x0a, 0x07, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x69, 0x6e, 0x18, 0x09,
|
|
0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65,
|
|
0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x41,
|
|
0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x70, 0x70, 0x2e,
|
|
0x4f, 0x70, 0x65, 0x6e, 0x49, 0x6e, 0x48, 0x07, 0x52, 0x06, 0x6f, 0x70, 0x65, 0x6e, 0x49, 0x6e,
|
|
0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01,
|
|
0x28, 0x05, 0x48, 0x08, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x88, 0x01, 0x01, 0x12, 0x51,
|
|
0x0a, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e,
|
|
0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x43,
|
|
0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x70, 0x70, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x69, 0x6e, 0x67,
|
|
0x4c, 0x65, 0x76, 0x65, 0x6c, 0x48, 0x09, 0x52, 0x05, 0x73, 0x68, 0x61, 0x72, 0x65, 0x88, 0x01,
|
|
0x01, 0x12, 0x21, 0x0a, 0x09, 0x73, 0x75, 0x62, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x0c,
|
|
0x20, 0x01, 0x28, 0x08, 0x48, 0x0a, 0x52, 0x09, 0x73, 0x75, 0x62, 0x64, 0x6f, 0x6d, 0x61, 0x69,
|
|
0x6e, 0x88, 0x01, 0x01, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28,
|
|
0x09, 0x48, 0x0b, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x88, 0x01, 0x01, 0x1a, 0x59, 0x0a, 0x0b, 0x48,
|
|
0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e,
|
|
0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x69, 0x6e,
|
|
0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68,
|
|
0x6f, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73,
|
|
0x68, 0x6f, 0x6c, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x22, 0x0a, 0x06, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x6e,
|
|
0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x4c, 0x49, 0x4d, 0x5f, 0x57, 0x49, 0x4e, 0x44, 0x4f, 0x57, 0x10,
|
|
0x00, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x41, 0x42, 0x10, 0x01, 0x22, 0x4a, 0x0a, 0x0c, 0x53, 0x68,
|
|
0x61, 0x72, 0x69, 0x6e, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x09, 0x0a, 0x05, 0x4f, 0x57,
|
|
0x4e, 0x45, 0x52, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x55, 0x54, 0x48, 0x45, 0x4e, 0x54,
|
|
0x49, 0x43, 0x41, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x55, 0x42, 0x4c,
|
|
0x49, 0x43, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x52, 0x47, 0x41, 0x4e, 0x49, 0x5a, 0x41,
|
|
0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x61,
|
|
0x6e, 0x64, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e,
|
|
0x61, 0x6d, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c,
|
|
0x42, 0x08, 0x0a, 0x06, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x68,
|
|
0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x68,
|
|
0x69, 0x64, 0x64, 0x65, 0x6e, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x69, 0x63, 0x6f, 0x6e, 0x42, 0x0a,
|
|
0x0a, 0x08, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x69, 0x6e, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x6f,
|
|
0x72, 0x64, 0x65, 0x72, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x42, 0x0c,
|
|
0x0a, 0x0a, 0x5f, 0x73, 0x75, 0x62, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x42, 0x06, 0x0a, 0x04,
|
|
0x5f, 0x75, 0x72, 0x6c, 0x22, 0x6b, 0x0a, 0x0a, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x41,
|
|
0x70, 0x70, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x53, 0x43, 0x4f, 0x44, 0x45, 0x10, 0x00, 0x12, 0x13,
|
|
0x0a, 0x0f, 0x56, 0x53, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x49, 0x4e, 0x53, 0x49, 0x44, 0x45, 0x52,
|
|
0x53, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x57, 0x45, 0x42, 0x5f, 0x54, 0x45, 0x52, 0x4d, 0x49,
|
|
0x4e, 0x41, 0x4c, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x53, 0x48, 0x5f, 0x48, 0x45, 0x4c,
|
|
0x50, 0x45, 0x52, 0x10, 0x03, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x46, 0x4f,
|
|
0x52, 0x57, 0x41, 0x52, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x48, 0x45, 0x4c, 0x50, 0x45, 0x52, 0x10,
|
|
0x04, 0x42, 0x05, 0x0a, 0x03, 0x5f, 0x69, 0x64, 0x22, 0x96, 0x02, 0x0a, 0x16, 0x43, 0x72, 0x65,
|
|
0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x05, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74,
|
|
0x2e, 0x76, 0x32, 0x2e, 0x53, 0x75, 0x62, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x61, 0x67,
|
|
0x65, 0x6e, 0x74, 0x12, 0x67, 0x0a, 0x13, 0x61, 0x70, 0x70, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
|
|
0x32, 0x37, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76,
|
|
0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x41, 0x67, 0x65, 0x6e, 0x74,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x41, 0x70, 0x70, 0x43, 0x72, 0x65, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x11, 0x61, 0x70, 0x70, 0x43, 0x72,
|
|
0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x1a, 0x63, 0x0a, 0x10,
|
|
0x41, 0x70, 0x70, 0x43, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72,
|
|
0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x19, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x88, 0x01,
|
|
0x01, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x66, 0x69, 0x65, 0x6c,
|
|
0x64, 0x22, 0x27, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x41, 0x67,
|
|
0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x69, 0x64, 0x22, 0x18, 0x0a, 0x16, 0x44, 0x65,
|
|
0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70,
|
|
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x75, 0x62, 0x41,
|
|
0x67, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x49, 0x0a, 0x15,
|
|
0x4c, 0x69, 0x73, 0x74, 0x53, 0x75, 0x62, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x06, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x18,
|
|
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67,
|
|
0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x75, 0x62, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52,
|
|
0x06, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xb6, 0x02, 0x0a, 0x0b, 0x42, 0x6f, 0x75, 0x6e,
|
|
0x64, 0x61, 0x72, 0x79, 0x4c, 0x6f, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x6c, 0x6c, 0x6f, 0x77,
|
|
0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x65,
|
|
0x64, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
|
0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d,
|
|
0x65, 0x12, 0x4c, 0x0a, 0x0c, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e,
|
|
0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x61, 0x72,
|
|
0x79, 0x4c, 0x6f, 0x67, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x48, 0x00, 0x52, 0x0b, 0x68, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
0x27, 0x0a, 0x0f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62,
|
|
0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e,
|
|
0x63, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x1a, 0x5a, 0x0a, 0x0b, 0x48, 0x74, 0x74, 0x70,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f,
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12,
|
|
0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72,
|
|
0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x72, 0x75, 0x6c,
|
|
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64,
|
|
0x52, 0x75, 0x6c, 0x65, 0x42, 0x0a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
|
|
0x22, 0x9f, 0x01, 0x0a, 0x19, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x6f, 0x75, 0x6e, 0x64,
|
|
0x61, 0x72, 0x79, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f,
|
|
0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63,
|
|
0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x6f,
|
|
0x75, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x4c, 0x6f, 0x67, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x12,
|
|
0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x32,
|
|
0x0a, 0x15, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x65,
|
|
0x73, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x63,
|
|
0x6f, 0x6e, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x4e, 0x61,
|
|
0x6d, 0x65, 0x22, 0x1c, 0x0a, 0x1a, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x6f, 0x75, 0x6e,
|
|
0x64, 0x61, 0x72, 0x79, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x22, 0xe9, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x53, 0x74,
|
|
0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73,
|
|
0x6c, 0x75, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x6c, 0x75, 0x67, 0x12,
|
|
0x4b, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35,
|
|
0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e,
|
|
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x70, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
|
0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07,
|
|
0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d,
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x04, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x22, 0x42, 0x0a, 0x0e, 0x41, 0x70, 0x70, 0x53,
|
|
0x74, 0x61, 0x74, 0x75, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x4f,
|
|
0x52, 0x4b, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x44, 0x4c, 0x45, 0x10,
|
|
0x01, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x02, 0x12,
|
|
0x0b, 0x0a, 0x07, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x10, 0x03, 0x22, 0x19, 0x0a, 0x17,
|
|
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x88, 0x06, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x74,
|
|
0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73,
|
|
0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75,
|
|
0x72, 0x63, 0x65, 0x12, 0x24, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x61,
|
|
0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72,
|
|
0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x88, 0x01, 0x01, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e,
|
|
0x74, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
|
0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1d, 0x0a, 0x0a,
|
|
0x73, 0x69, 0x7a, 0x65, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04,
|
|
0x52, 0x09, 0x73, 0x69, 0x7a, 0x65, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x3e, 0x0a, 0x06, 0x73,
|
|
0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x63, 0x6f,
|
|
0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e,
|
|
0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x61,
|
|
0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65,
|
|
0x72, 0x72, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f,
|
|
0x72, 0x12, 0x50, 0x0a, 0x10, 0x69, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6f,
|
|
0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x49, 0x6e, 0x73,
|
|
0x74, 0x72, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x6f, 0x64, 0x79,
|
|
0x48, 0x00, 0x52, 0x0f, 0x69, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x46,
|
|
0x69, 0x6c, 0x65, 0x12, 0x35, 0x0a, 0x05, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x18, 0x0b, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74,
|
|
0x2e, 0x76, 0x32, 0x2e, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x42, 0x6f, 0x64,
|
|
0x79, 0x48, 0x00, 0x52, 0x05, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x12, 0x3e, 0x0a, 0x0a, 0x6d, 0x63,
|
|
0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d,
|
|
0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e,
|
|
0x4d, 0x43, 0x50, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52,
|
|
0x09, 0x6d, 0x63, 0x70, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3e, 0x0a, 0x0a, 0x6d, 0x63,
|
|
0x70, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d,
|
|
0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e,
|
|
0x4d, 0x43, 0x50, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52,
|
|
0x09, 0x6d, 0x63, 0x70, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x0b, 0x61, 0x63,
|
|
0x70, 0x5f, 0x68, 0x61, 0x72, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x1e, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32,
|
|
0x2e, 0x41, 0x43, 0x50, 0x48, 0x61, 0x72, 0x6e, 0x65, 0x73, 0x73, 0x42, 0x6f, 0x64, 0x79, 0x48,
|
|
0x00, 0x52, 0x0a, 0x61, 0x63, 0x70, 0x48, 0x61, 0x72, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x34, 0x0a,
|
|
0x06, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
|
|
0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x50,
|
|
0x6c, 0x75, 0x67, 0x69, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x06, 0x70, 0x6c, 0x75,
|
|
0x67, 0x69, 0x6e, 0x22, 0x61, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a,
|
|
0x12, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
|
|
0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x06, 0x0a, 0x02, 0x4f, 0x4b, 0x10, 0x01, 0x12, 0x0c, 0x0a,
|
|
0x08, 0x4f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x5a, 0x45, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x55,
|
|
0x4e, 0x52, 0x45, 0x41, 0x44, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x49,
|
|
0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x04, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x58, 0x43, 0x4c,
|
|
0x55, 0x44, 0x45, 0x44, 0x10, 0x05, 0x42, 0x06, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x42, 0x0e,
|
|
0x0a, 0x0c, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x4a, 0x04,
|
|
0x08, 0x07, 0x10, 0x08, 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a,
|
|
0x4a, 0x04, 0x08, 0x0e, 0x10, 0x0f, 0x4a, 0x04, 0x08, 0x0f, 0x10, 0x10, 0x4a, 0x04, 0x08, 0x10,
|
|
0x10, 0x11, 0x22, 0x2f, 0x0a, 0x13, 0x49, 0x6e, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x46, 0x69, 0x6c, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e,
|
|
0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74,
|
|
0x65, 0x6e, 0x74, 0x22, 0x59, 0x0a, 0x0d, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4d, 0x65, 0x74, 0x61,
|
|
0x42, 0x6f, 0x64, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0c, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b,
|
|
0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xd7,
|
|
0x01, 0x0a, 0x0a, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x12, 0x0a,
|
|
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
|
|
0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64,
|
|
0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x37, 0x0a,
|
|
0x06, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
|
|
0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x43,
|
|
0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x06,
|
|
0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x73, 0x12, 0x40, 0x0a, 0x0b, 0x6d, 0x63, 0x70, 0x5f, 0x73, 0x65,
|
|
0x72, 0x76, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x6f,
|
|
0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e,
|
|
0x74, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0a, 0x6d, 0x63,
|
|
0x70, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x22, 0x0f, 0x0a, 0x0d, 0x4d, 0x43, 0x50, 0x43,
|
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x6f, 0x64, 0x79, 0x22, 0x81, 0x01, 0x0a, 0x0d, 0x4d, 0x43,
|
|
0x50, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x73,
|
|
0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b,
|
|
0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2d,
|
|
0x0a, 0x05, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e,
|
|
0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x4d,
|
|
0x43, 0x50, 0x54, 0x6f, 0x6f, 0x6c, 0x52, 0x05, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x22, 0x7b, 0x0a,
|
|
0x07, 0x4d, 0x43, 0x50, 0x54, 0x6f, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b,
|
|
0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3a,
|
|
0x0a, 0x0c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0b, 0x69,
|
|
0x6e, 0x70, 0x75, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0xe0, 0x01, 0x0a, 0x17, 0x50,
|
|
0x75, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
|
|
0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
|
|
0x12, 0x25, 0x0a, 0x0e, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x5f, 0x68, 0x61,
|
|
0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67,
|
|
0x61, 0x74, 0x65, 0x48, 0x61, 0x73, 0x68, 0x12, 0x3d, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75,
|
|
0x72, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x6f, 0x64,
|
|
0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6f, 0x6e, 0x74,
|
|
0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73,
|
|
0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61,
|
|
0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c,
|
|
0x12, 0x25, 0x0a, 0x0e, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x5f, 0x65, 0x72, 0x72,
|
|
0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68,
|
|
0x6f, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x22, 0x36, 0x0a,
|
|
0x18, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53, 0x74, 0x61, 0x74,
|
|
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x63, 0x63,
|
|
0x65, 0x70, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x61, 0x63, 0x63,
|
|
0x65, 0x70, 0x74, 0x65, 0x64, 0x22, 0x8f, 0x01, 0x0a, 0x0e, 0x41, 0x43, 0x50, 0x48, 0x61, 0x72,
|
|
0x6e, 0x65, 0x73, 0x73, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6c, 0x75, 0x67,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x6c, 0x75, 0x67, 0x12, 0x21, 0x0a, 0x0c,
|
|
0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12,
|
|
0x46, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e,
|
|
0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x43, 0x50, 0x43, 0x6f, 0x6e, 0x66,
|
|
0x69, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
|
0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xd0, 0x01, 0x0a, 0x0f, 0x41, 0x43, 0x50, 0x43,
|
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e,
|
|
0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
|
|
0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x61, 0x6c,
|
|
0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e,
|
|
0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73,
|
|
0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61,
|
|
0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x41, 0x43, 0x50, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
|
0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x1a,
|
|
0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x22, 0x8b, 0x01, 0x0a, 0x0e, 0x41,
|
|
0x43, 0x50, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x0e, 0x0a,
|
|
0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a,
|
|
0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
|
|
0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x04, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x72, 0x6f,
|
|
0x75, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x67,
|
|
0x72, 0x6f, 0x75, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x2a, 0x63, 0x0a, 0x09, 0x41, 0x70, 0x70, 0x48,
|
|
0x65, 0x61, 0x6c, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x50, 0x50, 0x5f, 0x48, 0x45, 0x41,
|
|
0x4c, 0x54, 0x48, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
|
|
0x00, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12,
|
|
0x10, 0x0a, 0x0c, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x49, 0x5a, 0x49, 0x4e, 0x47, 0x10,
|
|
0x02, 0x12, 0x0b, 0x0a, 0x07, 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x59, 0x10, 0x03, 0x12, 0x0d,
|
|
0x0a, 0x09, 0x55, 0x4e, 0x48, 0x45, 0x41, 0x4c, 0x54, 0x48, 0x59, 0x10, 0x04, 0x32, 0xc9, 0x0f,
|
|
0x0a, 0x05, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x12, 0x4b, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4d, 0x61,
|
|
0x6e, 0x69, 0x66, 0x65, 0x73, 0x74, 0x12, 0x22, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61,
|
|
0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x6e, 0x69, 0x66,
|
|
0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x63, 0x6f, 0x64,
|
|
0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x4d, 0x61, 0x6e, 0x69,
|
|
0x66, 0x65, 0x73, 0x74, 0x12, 0x5a, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69,
|
|
0x63, 0x65, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x12, 0x27, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72,
|
|
0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x72,
|
|
0x76, 0x69, 0x63, 0x65, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x1a, 0x1d, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e,
|
|
0x76, 0x32, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x72,
|
|
0x12, 0x56, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12,
|
|
0x22, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32,
|
|
0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e,
|
|
0x74, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61,
|
|
0x74, 0x65, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x12, 0x26, 0x2e, 0x63, 0x6f,
|
|
0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x70, 0x64,
|
|
0x61, 0x74, 0x65, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e,
|
|
0x74, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x66, 0x65, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x12, 0x72,
|
|
0x0a, 0x15, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70,
|
|
0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x73, 0x12, 0x2b, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e,
|
|
0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70,
|
|
0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65,
|
|
0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74,
|
|
0x65, 0x41, 0x70, 0x70, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x4e, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x72,
|
|
0x74, 0x75, 0x70, 0x12, 0x24, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e,
|
|
0x74, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74,
|
|
0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x63, 0x6f, 0x64, 0x65,
|
|
0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74,
|
|
0x75, 0x70, 0x12, 0x6e, 0x0a, 0x13, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61, 0x74,
|
|
0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2a, 0x2e, 0x63, 0x6f, 0x64, 0x65,
|
|
0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68,
|
|
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67,
|
|
0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x55, 0x70, 0x64, 0x61,
|
|
0x74, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x62, 0x0a, 0x0f, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74,
|
|
0x65, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x26, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67,
|
|
0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61,
|
|
0x74, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e,
|
|
0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x42,
|
|
0x61, 0x74, 0x63, 0x68, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x77, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x41, 0x6e, 0x6e,
|
|
0x6f, 0x75, 0x6e, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x73,
|
|
0x12, 0x2d, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76,
|
|
0x32, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x6d, 0x65, 0x6e,
|
|
0x74, 0x42, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
0x2e, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32,
|
|
0x2e, 0x47, 0x65, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74,
|
|
0x42, 0x61, 0x6e, 0x6e, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
0x7e, 0x0a, 0x0f, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74,
|
|
0x65, 0x64, 0x12, 0x34, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74,
|
|
0x2e, 0x76, 0x32, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x41, 0x67, 0x65,
|
|
0x6e, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65,
|
|
0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72,
|
|
0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70,
|
|
0x61, 0x63, 0x65, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x43, 0x6f,
|
|
0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
0x9e, 0x01, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,
|
|
0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
|
0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e,
|
|
0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x6f,
|
|
0x75, 0x72, 0x63, 0x65, 0x73, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x43,
|
|
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x1a, 0x3b, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e,
|
|
0x74, 0x2e, 0x76, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
|
|
0x73, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69,
|
|
0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x12, 0x89, 0x01, 0x0a, 0x1c, 0x50, 0x75, 0x73, 0x68, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
|
|
0x65, 0x73, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x55, 0x73, 0x61, 0x67,
|
|
0x65, 0x12, 0x33, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e,
|
|
0x76, 0x32, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,
|
|
0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x55, 0x73, 0x61, 0x67, 0x65, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61,
|
|
0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x52, 0x65, 0x73, 0x6f,
|
|
0x75, 0x72, 0x63, 0x65, 0x73, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x55,
|
|
0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x10,
|
|
0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x12, 0x27, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76,
|
|
0x32, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
|
|
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
|
|
0x79, 0x12, 0x5f, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x41, 0x67,
|
|
0x65, 0x6e, 0x74, 0x12, 0x25, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e,
|
|
0x74, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x41, 0x67,
|
|
0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x63, 0x6f, 0x64,
|
|
0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61,
|
|
0x74, 0x65, 0x53, 0x75, 0x62, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x5f, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x41,
|
|
0x67, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65,
|
|
0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x41,
|
|
0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x63, 0x6f,
|
|
0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c,
|
|
0x65, 0x74, 0x65, 0x53, 0x75, 0x62, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
0x6e, 0x73, 0x65, 0x12, 0x5c, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x75, 0x62, 0x41, 0x67,
|
|
0x65, 0x6e, 0x74, 0x73, 0x12, 0x24, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65,
|
|
0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x75, 0x62, 0x41, 0x67, 0x65,
|
|
0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x63, 0x6f, 0x64,
|
|
0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74,
|
|
0x53, 0x75, 0x62, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x12, 0x6b, 0x0a, 0x12, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x6f, 0x75, 0x6e, 0x64,
|
|
0x61, 0x72, 0x79, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x29, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e,
|
|
0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42,
|
|
0x6f, 0x75, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74,
|
|
0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x61,
|
|
0x72, 0x79, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62,
|
|
0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75,
|
|
0x73, 0x12, 0x26, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e,
|
|
0x76, 0x32, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x70, 0x70, 0x53, 0x74, 0x61, 0x74,
|
|
0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x63, 0x6f, 0x64, 0x65,
|
|
0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
|
|
0x65, 0x41, 0x70, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x65, 0x0a, 0x10, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78,
|
|
0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x27, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61,
|
|
0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x74,
|
|
0x65, 0x78, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
0x28, 0x2e, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2e, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32,
|
|
0x2e, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x53, 0x74, 0x61, 0x74,
|
|
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x27, 0x5a, 0x25, 0x67, 0x69, 0x74,
|
|
0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6f, 0x64, 0x65, 0x72, 0x2f, 0x63, 0x6f,
|
|
0x64, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_agent_proto_agent_proto_rawDescOnce sync.Once
|
|
file_agent_proto_agent_proto_rawDescData = file_agent_proto_agent_proto_rawDesc
|
|
)
|
|
|
|
func file_agent_proto_agent_proto_rawDescGZIP() []byte {
|
|
file_agent_proto_agent_proto_rawDescOnce.Do(func() {
|
|
file_agent_proto_agent_proto_rawDescData = protoimpl.X.CompressGZIP(file_agent_proto_agent_proto_rawDescData)
|
|
})
|
|
return file_agent_proto_agent_proto_rawDescData
|
|
}
|
|
|
|
var file_agent_proto_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 18)
|
|
var file_agent_proto_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 80)
|
|
var file_agent_proto_agent_proto_goTypes = []interface{}{
|
|
(AppHealth)(0), // 0: coder.agent.v2.AppHealth
|
|
(WorkspaceApp_SharingLevel)(0), // 1: coder.agent.v2.WorkspaceApp.SharingLevel
|
|
(WorkspaceApp_Health)(0), // 2: coder.agent.v2.WorkspaceApp.Health
|
|
(WorkspaceAgentScriptDependency_Requirement)(0), // 3: coder.agent.v2.WorkspaceAgentScriptDependency.Requirement
|
|
(Stats_Metric_Type)(0), // 4: coder.agent.v2.Stats.Metric.Type
|
|
(Lifecycle_State)(0), // 5: coder.agent.v2.Lifecycle.State
|
|
(Startup_Subsystem)(0), // 6: coder.agent.v2.Startup.Subsystem
|
|
(Log_Level)(0), // 7: coder.agent.v2.Log.Level
|
|
(Timing_Stage)(0), // 8: coder.agent.v2.Timing.Stage
|
|
(Timing_Status)(0), // 9: coder.agent.v2.Timing.Status
|
|
(Connection_Action)(0), // 10: coder.agent.v2.Connection.Action
|
|
(Connection_Type)(0), // 11: coder.agent.v2.Connection.Type
|
|
(Connection_Method)(0), // 12: coder.agent.v2.Connection.Method
|
|
(CreateSubAgentRequest_DisplayApp)(0), // 13: coder.agent.v2.CreateSubAgentRequest.DisplayApp
|
|
(CreateSubAgentRequest_App_OpenIn)(0), // 14: coder.agent.v2.CreateSubAgentRequest.App.OpenIn
|
|
(CreateSubAgentRequest_App_SharingLevel)(0), // 15: coder.agent.v2.CreateSubAgentRequest.App.SharingLevel
|
|
(UpdateAppStatusRequest_AppStatusState)(0), // 16: coder.agent.v2.UpdateAppStatusRequest.AppStatusState
|
|
(ContextResource_Status)(0), // 17: coder.agent.v2.ContextResource.Status
|
|
(*WorkspaceApp)(nil), // 18: coder.agent.v2.WorkspaceApp
|
|
(*WorkspaceAgentScript)(nil), // 19: coder.agent.v2.WorkspaceAgentScript
|
|
(*WorkspaceAgentScriptDependency)(nil), // 20: coder.agent.v2.WorkspaceAgentScriptDependency
|
|
(*WorkspaceAgentMetadata)(nil), // 21: coder.agent.v2.WorkspaceAgentMetadata
|
|
(*Manifest)(nil), // 22: coder.agent.v2.Manifest
|
|
(*WorkspaceSecret)(nil), // 23: coder.agent.v2.WorkspaceSecret
|
|
(*WorkspaceAgentDevcontainer)(nil), // 24: coder.agent.v2.WorkspaceAgentDevcontainer
|
|
(*GetManifestRequest)(nil), // 25: coder.agent.v2.GetManifestRequest
|
|
(*ServiceBanner)(nil), // 26: coder.agent.v2.ServiceBanner
|
|
(*GetServiceBannerRequest)(nil), // 27: coder.agent.v2.GetServiceBannerRequest
|
|
(*Stats)(nil), // 28: coder.agent.v2.Stats
|
|
(*UpdateStatsRequest)(nil), // 29: coder.agent.v2.UpdateStatsRequest
|
|
(*UpdateStatsResponse)(nil), // 30: coder.agent.v2.UpdateStatsResponse
|
|
(*Lifecycle)(nil), // 31: coder.agent.v2.Lifecycle
|
|
(*UpdateLifecycleRequest)(nil), // 32: coder.agent.v2.UpdateLifecycleRequest
|
|
(*BatchUpdateAppHealthRequest)(nil), // 33: coder.agent.v2.BatchUpdateAppHealthRequest
|
|
(*BatchUpdateAppHealthResponse)(nil), // 34: coder.agent.v2.BatchUpdateAppHealthResponse
|
|
(*Startup)(nil), // 35: coder.agent.v2.Startup
|
|
(*UpdateStartupRequest)(nil), // 36: coder.agent.v2.UpdateStartupRequest
|
|
(*Metadata)(nil), // 37: coder.agent.v2.Metadata
|
|
(*BatchUpdateMetadataRequest)(nil), // 38: coder.agent.v2.BatchUpdateMetadataRequest
|
|
(*BatchUpdateMetadataResponse)(nil), // 39: coder.agent.v2.BatchUpdateMetadataResponse
|
|
(*Log)(nil), // 40: coder.agent.v2.Log
|
|
(*BatchCreateLogsRequest)(nil), // 41: coder.agent.v2.BatchCreateLogsRequest
|
|
(*BatchCreateLogsResponse)(nil), // 42: coder.agent.v2.BatchCreateLogsResponse
|
|
(*GetAnnouncementBannersRequest)(nil), // 43: coder.agent.v2.GetAnnouncementBannersRequest
|
|
(*GetAnnouncementBannersResponse)(nil), // 44: coder.agent.v2.GetAnnouncementBannersResponse
|
|
(*BannerConfig)(nil), // 45: coder.agent.v2.BannerConfig
|
|
(*WorkspaceAgentScriptCompletedRequest)(nil), // 46: coder.agent.v2.WorkspaceAgentScriptCompletedRequest
|
|
(*WorkspaceAgentScriptCompletedResponse)(nil), // 47: coder.agent.v2.WorkspaceAgentScriptCompletedResponse
|
|
(*Timing)(nil), // 48: coder.agent.v2.Timing
|
|
(*GetResourcesMonitoringConfigurationRequest)(nil), // 49: coder.agent.v2.GetResourcesMonitoringConfigurationRequest
|
|
(*GetResourcesMonitoringConfigurationResponse)(nil), // 50: coder.agent.v2.GetResourcesMonitoringConfigurationResponse
|
|
(*PushResourcesMonitoringUsageRequest)(nil), // 51: coder.agent.v2.PushResourcesMonitoringUsageRequest
|
|
(*PushResourcesMonitoringUsageResponse)(nil), // 52: coder.agent.v2.PushResourcesMonitoringUsageResponse
|
|
(*Connection)(nil), // 53: coder.agent.v2.Connection
|
|
(*ReportConnectionRequest)(nil), // 54: coder.agent.v2.ReportConnectionRequest
|
|
(*SubAgent)(nil), // 55: coder.agent.v2.SubAgent
|
|
(*CreateSubAgentRequest)(nil), // 56: coder.agent.v2.CreateSubAgentRequest
|
|
(*CreateSubAgentResponse)(nil), // 57: coder.agent.v2.CreateSubAgentResponse
|
|
(*DeleteSubAgentRequest)(nil), // 58: coder.agent.v2.DeleteSubAgentRequest
|
|
(*DeleteSubAgentResponse)(nil), // 59: coder.agent.v2.DeleteSubAgentResponse
|
|
(*ListSubAgentsRequest)(nil), // 60: coder.agent.v2.ListSubAgentsRequest
|
|
(*ListSubAgentsResponse)(nil), // 61: coder.agent.v2.ListSubAgentsResponse
|
|
(*BoundaryLog)(nil), // 62: coder.agent.v2.BoundaryLog
|
|
(*ReportBoundaryLogsRequest)(nil), // 63: coder.agent.v2.ReportBoundaryLogsRequest
|
|
(*ReportBoundaryLogsResponse)(nil), // 64: coder.agent.v2.ReportBoundaryLogsResponse
|
|
(*UpdateAppStatusRequest)(nil), // 65: coder.agent.v2.UpdateAppStatusRequest
|
|
(*UpdateAppStatusResponse)(nil), // 66: coder.agent.v2.UpdateAppStatusResponse
|
|
(*ContextResource)(nil), // 67: coder.agent.v2.ContextResource
|
|
(*InstructionFileBody)(nil), // 68: coder.agent.v2.InstructionFileBody
|
|
(*SkillMetaBody)(nil), // 69: coder.agent.v2.SkillMetaBody
|
|
(*PluginBody)(nil), // 70: coder.agent.v2.PluginBody
|
|
(*MCPConfigBody)(nil), // 71: coder.agent.v2.MCPConfigBody
|
|
(*MCPServerBody)(nil), // 72: coder.agent.v2.MCPServerBody
|
|
(*MCPTool)(nil), // 73: coder.agent.v2.MCPTool
|
|
(*PushContextStateRequest)(nil), // 74: coder.agent.v2.PushContextStateRequest
|
|
(*PushContextStateResponse)(nil), // 75: coder.agent.v2.PushContextStateResponse
|
|
(*ACPHarnessBody)(nil), // 76: coder.agent.v2.ACPHarnessBody
|
|
(*ACPConfigOption)(nil), // 77: coder.agent.v2.ACPConfigOption
|
|
(*ACPConfigValue)(nil), // 78: coder.agent.v2.ACPConfigValue
|
|
(*WorkspaceApp_Healthcheck)(nil), // 79: coder.agent.v2.WorkspaceApp.Healthcheck
|
|
(*WorkspaceAgentMetadata_Result)(nil), // 80: coder.agent.v2.WorkspaceAgentMetadata.Result
|
|
(*WorkspaceAgentMetadata_Description)(nil), // 81: coder.agent.v2.WorkspaceAgentMetadata.Description
|
|
nil, // 82: coder.agent.v2.Manifest.EnvironmentVariablesEntry
|
|
nil, // 83: coder.agent.v2.Stats.ConnectionsByProtoEntry
|
|
(*Stats_Metric)(nil), // 84: coder.agent.v2.Stats.Metric
|
|
nil, // 85: coder.agent.v2.Stats.SessionCountsEntry
|
|
(*Stats_Metric_Label)(nil), // 86: coder.agent.v2.Stats.Metric.Label
|
|
(*BatchUpdateAppHealthRequest_HealthUpdate)(nil), // 87: coder.agent.v2.BatchUpdateAppHealthRequest.HealthUpdate
|
|
(*GetResourcesMonitoringConfigurationResponse_Config)(nil), // 88: coder.agent.v2.GetResourcesMonitoringConfigurationResponse.Config
|
|
(*GetResourcesMonitoringConfigurationResponse_Memory)(nil), // 89: coder.agent.v2.GetResourcesMonitoringConfigurationResponse.Memory
|
|
(*GetResourcesMonitoringConfigurationResponse_Volume)(nil), // 90: coder.agent.v2.GetResourcesMonitoringConfigurationResponse.Volume
|
|
(*PushResourcesMonitoringUsageRequest_Datapoint)(nil), // 91: coder.agent.v2.PushResourcesMonitoringUsageRequest.Datapoint
|
|
(*PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage)(nil), // 92: coder.agent.v2.PushResourcesMonitoringUsageRequest.Datapoint.MemoryUsage
|
|
(*PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage)(nil), // 93: coder.agent.v2.PushResourcesMonitoringUsageRequest.Datapoint.VolumeUsage
|
|
(*CreateSubAgentRequest_App)(nil), // 94: coder.agent.v2.CreateSubAgentRequest.App
|
|
(*CreateSubAgentRequest_App_Healthcheck)(nil), // 95: coder.agent.v2.CreateSubAgentRequest.App.Healthcheck
|
|
(*CreateSubAgentResponse_AppCreationError)(nil), // 96: coder.agent.v2.CreateSubAgentResponse.AppCreationError
|
|
(*BoundaryLog_HttpRequest)(nil), // 97: coder.agent.v2.BoundaryLog.HttpRequest
|
|
(*durationpb.Duration)(nil), // 98: google.protobuf.Duration
|
|
(*proto.DERPMap)(nil), // 99: coder.tailnet.v2.DERPMap
|
|
(*timestamppb.Timestamp)(nil), // 100: google.protobuf.Timestamp
|
|
(*structpb.Struct)(nil), // 101: google.protobuf.Struct
|
|
(*emptypb.Empty)(nil), // 102: google.protobuf.Empty
|
|
}
|
|
var file_agent_proto_agent_proto_depIdxs = []int32{
|
|
1, // 0: coder.agent.v2.WorkspaceApp.sharing_level:type_name -> coder.agent.v2.WorkspaceApp.SharingLevel
|
|
79, // 1: coder.agent.v2.WorkspaceApp.healthcheck:type_name -> coder.agent.v2.WorkspaceApp.Healthcheck
|
|
2, // 2: coder.agent.v2.WorkspaceApp.health:type_name -> coder.agent.v2.WorkspaceApp.Health
|
|
98, // 3: coder.agent.v2.WorkspaceAgentScript.timeout:type_name -> google.protobuf.Duration
|
|
20, // 4: coder.agent.v2.WorkspaceAgentScript.dependencies:type_name -> coder.agent.v2.WorkspaceAgentScriptDependency
|
|
3, // 5: coder.agent.v2.WorkspaceAgentScriptDependency.requirement:type_name -> coder.agent.v2.WorkspaceAgentScriptDependency.Requirement
|
|
80, // 6: coder.agent.v2.WorkspaceAgentMetadata.result:type_name -> coder.agent.v2.WorkspaceAgentMetadata.Result
|
|
81, // 7: coder.agent.v2.WorkspaceAgentMetadata.description:type_name -> coder.agent.v2.WorkspaceAgentMetadata.Description
|
|
82, // 8: coder.agent.v2.Manifest.environment_variables:type_name -> coder.agent.v2.Manifest.EnvironmentVariablesEntry
|
|
99, // 9: coder.agent.v2.Manifest.derp_map:type_name -> coder.tailnet.v2.DERPMap
|
|
19, // 10: coder.agent.v2.Manifest.scripts:type_name -> coder.agent.v2.WorkspaceAgentScript
|
|
18, // 11: coder.agent.v2.Manifest.apps:type_name -> coder.agent.v2.WorkspaceApp
|
|
81, // 12: coder.agent.v2.Manifest.metadata:type_name -> coder.agent.v2.WorkspaceAgentMetadata.Description
|
|
24, // 13: coder.agent.v2.Manifest.devcontainers:type_name -> coder.agent.v2.WorkspaceAgentDevcontainer
|
|
23, // 14: coder.agent.v2.Manifest.secrets:type_name -> coder.agent.v2.WorkspaceSecret
|
|
83, // 15: coder.agent.v2.Stats.connections_by_proto:type_name -> coder.agent.v2.Stats.ConnectionsByProtoEntry
|
|
84, // 16: coder.agent.v2.Stats.metrics:type_name -> coder.agent.v2.Stats.Metric
|
|
85, // 17: coder.agent.v2.Stats.session_counts:type_name -> coder.agent.v2.Stats.SessionCountsEntry
|
|
28, // 18: coder.agent.v2.UpdateStatsRequest.stats:type_name -> coder.agent.v2.Stats
|
|
98, // 19: coder.agent.v2.UpdateStatsResponse.report_interval:type_name -> google.protobuf.Duration
|
|
5, // 20: coder.agent.v2.Lifecycle.state:type_name -> coder.agent.v2.Lifecycle.State
|
|
100, // 21: coder.agent.v2.Lifecycle.changed_at:type_name -> google.protobuf.Timestamp
|
|
31, // 22: coder.agent.v2.UpdateLifecycleRequest.lifecycle:type_name -> coder.agent.v2.Lifecycle
|
|
87, // 23: coder.agent.v2.BatchUpdateAppHealthRequest.updates:type_name -> coder.agent.v2.BatchUpdateAppHealthRequest.HealthUpdate
|
|
6, // 24: coder.agent.v2.Startup.subsystems:type_name -> coder.agent.v2.Startup.Subsystem
|
|
35, // 25: coder.agent.v2.UpdateStartupRequest.startup:type_name -> coder.agent.v2.Startup
|
|
80, // 26: coder.agent.v2.Metadata.result:type_name -> coder.agent.v2.WorkspaceAgentMetadata.Result
|
|
37, // 27: coder.agent.v2.BatchUpdateMetadataRequest.metadata:type_name -> coder.agent.v2.Metadata
|
|
100, // 28: coder.agent.v2.Log.created_at:type_name -> google.protobuf.Timestamp
|
|
7, // 29: coder.agent.v2.Log.level:type_name -> coder.agent.v2.Log.Level
|
|
40, // 30: coder.agent.v2.BatchCreateLogsRequest.logs:type_name -> coder.agent.v2.Log
|
|
45, // 31: coder.agent.v2.GetAnnouncementBannersResponse.announcement_banners:type_name -> coder.agent.v2.BannerConfig
|
|
48, // 32: coder.agent.v2.WorkspaceAgentScriptCompletedRequest.timing:type_name -> coder.agent.v2.Timing
|
|
100, // 33: coder.agent.v2.Timing.start:type_name -> google.protobuf.Timestamp
|
|
100, // 34: coder.agent.v2.Timing.end:type_name -> google.protobuf.Timestamp
|
|
8, // 35: coder.agent.v2.Timing.stage:type_name -> coder.agent.v2.Timing.Stage
|
|
9, // 36: coder.agent.v2.Timing.status:type_name -> coder.agent.v2.Timing.Status
|
|
88, // 37: coder.agent.v2.GetResourcesMonitoringConfigurationResponse.config:type_name -> coder.agent.v2.GetResourcesMonitoringConfigurationResponse.Config
|
|
89, // 38: coder.agent.v2.GetResourcesMonitoringConfigurationResponse.memory:type_name -> coder.agent.v2.GetResourcesMonitoringConfigurationResponse.Memory
|
|
90, // 39: coder.agent.v2.GetResourcesMonitoringConfigurationResponse.volumes:type_name -> coder.agent.v2.GetResourcesMonitoringConfigurationResponse.Volume
|
|
91, // 40: coder.agent.v2.PushResourcesMonitoringUsageRequest.datapoints:type_name -> coder.agent.v2.PushResourcesMonitoringUsageRequest.Datapoint
|
|
10, // 41: coder.agent.v2.Connection.action:type_name -> coder.agent.v2.Connection.Action
|
|
11, // 42: coder.agent.v2.Connection.type:type_name -> coder.agent.v2.Connection.Type
|
|
100, // 43: coder.agent.v2.Connection.timestamp:type_name -> google.protobuf.Timestamp
|
|
12, // 44: coder.agent.v2.Connection.connection_method:type_name -> coder.agent.v2.Connection.Method
|
|
53, // 45: coder.agent.v2.ReportConnectionRequest.connection:type_name -> coder.agent.v2.Connection
|
|
94, // 46: coder.agent.v2.CreateSubAgentRequest.apps:type_name -> coder.agent.v2.CreateSubAgentRequest.App
|
|
13, // 47: coder.agent.v2.CreateSubAgentRequest.display_apps:type_name -> coder.agent.v2.CreateSubAgentRequest.DisplayApp
|
|
55, // 48: coder.agent.v2.CreateSubAgentResponse.agent:type_name -> coder.agent.v2.SubAgent
|
|
96, // 49: coder.agent.v2.CreateSubAgentResponse.app_creation_errors:type_name -> coder.agent.v2.CreateSubAgentResponse.AppCreationError
|
|
55, // 50: coder.agent.v2.ListSubAgentsResponse.agents:type_name -> coder.agent.v2.SubAgent
|
|
100, // 51: coder.agent.v2.BoundaryLog.time:type_name -> google.protobuf.Timestamp
|
|
97, // 52: coder.agent.v2.BoundaryLog.http_request:type_name -> coder.agent.v2.BoundaryLog.HttpRequest
|
|
62, // 53: coder.agent.v2.ReportBoundaryLogsRequest.logs:type_name -> coder.agent.v2.BoundaryLog
|
|
16, // 54: coder.agent.v2.UpdateAppStatusRequest.state:type_name -> coder.agent.v2.UpdateAppStatusRequest.AppStatusState
|
|
17, // 55: coder.agent.v2.ContextResource.status:type_name -> coder.agent.v2.ContextResource.Status
|
|
68, // 56: coder.agent.v2.ContextResource.instruction_file:type_name -> coder.agent.v2.InstructionFileBody
|
|
69, // 57: coder.agent.v2.ContextResource.skill:type_name -> coder.agent.v2.SkillMetaBody
|
|
71, // 58: coder.agent.v2.ContextResource.mcp_config:type_name -> coder.agent.v2.MCPConfigBody
|
|
72, // 59: coder.agent.v2.ContextResource.mcp_server:type_name -> coder.agent.v2.MCPServerBody
|
|
76, // 60: coder.agent.v2.ContextResource.acp_harness:type_name -> coder.agent.v2.ACPHarnessBody
|
|
70, // 61: coder.agent.v2.ContextResource.plugin:type_name -> coder.agent.v2.PluginBody
|
|
67, // 62: coder.agent.v2.PluginBody.skills:type_name -> coder.agent.v2.ContextResource
|
|
67, // 63: coder.agent.v2.PluginBody.mcp_servers:type_name -> coder.agent.v2.ContextResource
|
|
73, // 64: coder.agent.v2.MCPServerBody.tools:type_name -> coder.agent.v2.MCPTool
|
|
101, // 65: coder.agent.v2.MCPTool.input_schema:type_name -> google.protobuf.Struct
|
|
67, // 66: coder.agent.v2.PushContextStateRequest.resources:type_name -> coder.agent.v2.ContextResource
|
|
77, // 67: coder.agent.v2.ACPHarnessBody.config_options:type_name -> coder.agent.v2.ACPConfigOption
|
|
78, // 68: coder.agent.v2.ACPConfigOption.values:type_name -> coder.agent.v2.ACPConfigValue
|
|
98, // 69: coder.agent.v2.WorkspaceApp.Healthcheck.interval:type_name -> google.protobuf.Duration
|
|
100, // 70: coder.agent.v2.WorkspaceAgentMetadata.Result.collected_at:type_name -> google.protobuf.Timestamp
|
|
98, // 71: coder.agent.v2.WorkspaceAgentMetadata.Description.interval:type_name -> google.protobuf.Duration
|
|
98, // 72: coder.agent.v2.WorkspaceAgentMetadata.Description.timeout:type_name -> google.protobuf.Duration
|
|
4, // 73: coder.agent.v2.Stats.Metric.type:type_name -> coder.agent.v2.Stats.Metric.Type
|
|
86, // 74: coder.agent.v2.Stats.Metric.labels:type_name -> coder.agent.v2.Stats.Metric.Label
|
|
0, // 75: coder.agent.v2.BatchUpdateAppHealthRequest.HealthUpdate.health:type_name -> coder.agent.v2.AppHealth
|
|
100, // 76: coder.agent.v2.PushResourcesMonitoringUsageRequest.Datapoint.collected_at:type_name -> google.protobuf.Timestamp
|
|
92, // 77: coder.agent.v2.PushResourcesMonitoringUsageRequest.Datapoint.memory:type_name -> coder.agent.v2.PushResourcesMonitoringUsageRequest.Datapoint.MemoryUsage
|
|
93, // 78: coder.agent.v2.PushResourcesMonitoringUsageRequest.Datapoint.volumes:type_name -> coder.agent.v2.PushResourcesMonitoringUsageRequest.Datapoint.VolumeUsage
|
|
95, // 79: coder.agent.v2.CreateSubAgentRequest.App.healthcheck:type_name -> coder.agent.v2.CreateSubAgentRequest.App.Healthcheck
|
|
14, // 80: coder.agent.v2.CreateSubAgentRequest.App.open_in:type_name -> coder.agent.v2.CreateSubAgentRequest.App.OpenIn
|
|
15, // 81: coder.agent.v2.CreateSubAgentRequest.App.share:type_name -> coder.agent.v2.CreateSubAgentRequest.App.SharingLevel
|
|
25, // 82: coder.agent.v2.Agent.GetManifest:input_type -> coder.agent.v2.GetManifestRequest
|
|
27, // 83: coder.agent.v2.Agent.GetServiceBanner:input_type -> coder.agent.v2.GetServiceBannerRequest
|
|
29, // 84: coder.agent.v2.Agent.UpdateStats:input_type -> coder.agent.v2.UpdateStatsRequest
|
|
32, // 85: coder.agent.v2.Agent.UpdateLifecycle:input_type -> coder.agent.v2.UpdateLifecycleRequest
|
|
33, // 86: coder.agent.v2.Agent.BatchUpdateAppHealths:input_type -> coder.agent.v2.BatchUpdateAppHealthRequest
|
|
36, // 87: coder.agent.v2.Agent.UpdateStartup:input_type -> coder.agent.v2.UpdateStartupRequest
|
|
38, // 88: coder.agent.v2.Agent.BatchUpdateMetadata:input_type -> coder.agent.v2.BatchUpdateMetadataRequest
|
|
41, // 89: coder.agent.v2.Agent.BatchCreateLogs:input_type -> coder.agent.v2.BatchCreateLogsRequest
|
|
43, // 90: coder.agent.v2.Agent.GetAnnouncementBanners:input_type -> coder.agent.v2.GetAnnouncementBannersRequest
|
|
46, // 91: coder.agent.v2.Agent.ScriptCompleted:input_type -> coder.agent.v2.WorkspaceAgentScriptCompletedRequest
|
|
49, // 92: coder.agent.v2.Agent.GetResourcesMonitoringConfiguration:input_type -> coder.agent.v2.GetResourcesMonitoringConfigurationRequest
|
|
51, // 93: coder.agent.v2.Agent.PushResourcesMonitoringUsage:input_type -> coder.agent.v2.PushResourcesMonitoringUsageRequest
|
|
54, // 94: coder.agent.v2.Agent.ReportConnection:input_type -> coder.agent.v2.ReportConnectionRequest
|
|
56, // 95: coder.agent.v2.Agent.CreateSubAgent:input_type -> coder.agent.v2.CreateSubAgentRequest
|
|
58, // 96: coder.agent.v2.Agent.DeleteSubAgent:input_type -> coder.agent.v2.DeleteSubAgentRequest
|
|
60, // 97: coder.agent.v2.Agent.ListSubAgents:input_type -> coder.agent.v2.ListSubAgentsRequest
|
|
63, // 98: coder.agent.v2.Agent.ReportBoundaryLogs:input_type -> coder.agent.v2.ReportBoundaryLogsRequest
|
|
65, // 99: coder.agent.v2.Agent.UpdateAppStatus:input_type -> coder.agent.v2.UpdateAppStatusRequest
|
|
74, // 100: coder.agent.v2.Agent.PushContextState:input_type -> coder.agent.v2.PushContextStateRequest
|
|
22, // 101: coder.agent.v2.Agent.GetManifest:output_type -> coder.agent.v2.Manifest
|
|
26, // 102: coder.agent.v2.Agent.GetServiceBanner:output_type -> coder.agent.v2.ServiceBanner
|
|
30, // 103: coder.agent.v2.Agent.UpdateStats:output_type -> coder.agent.v2.UpdateStatsResponse
|
|
31, // 104: coder.agent.v2.Agent.UpdateLifecycle:output_type -> coder.agent.v2.Lifecycle
|
|
34, // 105: coder.agent.v2.Agent.BatchUpdateAppHealths:output_type -> coder.agent.v2.BatchUpdateAppHealthResponse
|
|
35, // 106: coder.agent.v2.Agent.UpdateStartup:output_type -> coder.agent.v2.Startup
|
|
39, // 107: coder.agent.v2.Agent.BatchUpdateMetadata:output_type -> coder.agent.v2.BatchUpdateMetadataResponse
|
|
42, // 108: coder.agent.v2.Agent.BatchCreateLogs:output_type -> coder.agent.v2.BatchCreateLogsResponse
|
|
44, // 109: coder.agent.v2.Agent.GetAnnouncementBanners:output_type -> coder.agent.v2.GetAnnouncementBannersResponse
|
|
47, // 110: coder.agent.v2.Agent.ScriptCompleted:output_type -> coder.agent.v2.WorkspaceAgentScriptCompletedResponse
|
|
50, // 111: coder.agent.v2.Agent.GetResourcesMonitoringConfiguration:output_type -> coder.agent.v2.GetResourcesMonitoringConfigurationResponse
|
|
52, // 112: coder.agent.v2.Agent.PushResourcesMonitoringUsage:output_type -> coder.agent.v2.PushResourcesMonitoringUsageResponse
|
|
102, // 113: coder.agent.v2.Agent.ReportConnection:output_type -> google.protobuf.Empty
|
|
57, // 114: coder.agent.v2.Agent.CreateSubAgent:output_type -> coder.agent.v2.CreateSubAgentResponse
|
|
59, // 115: coder.agent.v2.Agent.DeleteSubAgent:output_type -> coder.agent.v2.DeleteSubAgentResponse
|
|
61, // 116: coder.agent.v2.Agent.ListSubAgents:output_type -> coder.agent.v2.ListSubAgentsResponse
|
|
64, // 117: coder.agent.v2.Agent.ReportBoundaryLogs:output_type -> coder.agent.v2.ReportBoundaryLogsResponse
|
|
66, // 118: coder.agent.v2.Agent.UpdateAppStatus:output_type -> coder.agent.v2.UpdateAppStatusResponse
|
|
75, // 119: coder.agent.v2.Agent.PushContextState:output_type -> coder.agent.v2.PushContextStateResponse
|
|
101, // [101:120] is the sub-list for method output_type
|
|
82, // [82:101] is the sub-list for method input_type
|
|
82, // [82:82] is the sub-list for extension type_name
|
|
82, // [82:82] is the sub-list for extension extendee
|
|
0, // [0:82] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_agent_proto_agent_proto_init() }
|
|
func file_agent_proto_agent_proto_init() {
|
|
if File_agent_proto_agent_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_agent_proto_agent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WorkspaceApp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WorkspaceAgentScript); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WorkspaceAgentScriptDependency); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WorkspaceAgentMetadata); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Manifest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WorkspaceSecret); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WorkspaceAgentDevcontainer); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetManifestRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ServiceBanner); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetServiceBannerRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Stats); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UpdateStatsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UpdateStatsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Lifecycle); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UpdateLifecycleRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BatchUpdateAppHealthRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BatchUpdateAppHealthResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Startup); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UpdateStartupRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Metadata); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BatchUpdateMetadataRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BatchUpdateMetadataResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Log); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BatchCreateLogsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BatchCreateLogsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetAnnouncementBannersRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetAnnouncementBannersResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BannerConfig); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WorkspaceAgentScriptCompletedRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WorkspaceAgentScriptCompletedResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Timing); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetResourcesMonitoringConfigurationRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetResourcesMonitoringConfigurationResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PushResourcesMonitoringUsageRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PushResourcesMonitoringUsageResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Connection); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ReportConnectionRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SubAgent); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateSubAgentRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateSubAgentResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeleteSubAgentRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeleteSubAgentResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListSubAgentsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListSubAgentsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BoundaryLog); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ReportBoundaryLogsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ReportBoundaryLogsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UpdateAppStatusRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*UpdateAppStatusResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ContextResource); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*InstructionFileBody); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SkillMetaBody); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PluginBody); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MCPConfigBody); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MCPServerBody); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MCPTool); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PushContextStateRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PushContextStateResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ACPHarnessBody); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ACPConfigOption); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ACPConfigValue); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WorkspaceApp_Healthcheck); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WorkspaceAgentMetadata_Result); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WorkspaceAgentMetadata_Description); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Stats_Metric); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Stats_Metric_Label); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BatchUpdateAppHealthRequest_HealthUpdate); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetResourcesMonitoringConfigurationResponse_Config); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetResourcesMonitoringConfigurationResponse_Memory); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetResourcesMonitoringConfigurationResponse_Volume); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PushResourcesMonitoringUsageRequest_Datapoint); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PushResourcesMonitoringUsageRequest_Datapoint_MemoryUsage); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PushResourcesMonitoringUsageRequest_Datapoint_VolumeUsage); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateSubAgentRequest_App); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateSubAgentRequest_App_Healthcheck); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateSubAgentResponse_AppCreationError); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BoundaryLog_HttpRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[4].OneofWrappers = []interface{}{}
|
|
file_agent_proto_agent_proto_msgTypes[6].OneofWrappers = []interface{}{}
|
|
file_agent_proto_agent_proto_msgTypes[32].OneofWrappers = []interface{}{}
|
|
file_agent_proto_agent_proto_msgTypes[35].OneofWrappers = []interface{}{}
|
|
file_agent_proto_agent_proto_msgTypes[38].OneofWrappers = []interface{}{}
|
|
file_agent_proto_agent_proto_msgTypes[44].OneofWrappers = []interface{}{
|
|
(*BoundaryLog_HttpRequest_)(nil),
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[49].OneofWrappers = []interface{}{
|
|
(*ContextResource_InstructionFile)(nil),
|
|
(*ContextResource_Skill)(nil),
|
|
(*ContextResource_McpConfig)(nil),
|
|
(*ContextResource_McpServer)(nil),
|
|
(*ContextResource_AcpHarness)(nil),
|
|
(*ContextResource_Plugin)(nil),
|
|
}
|
|
file_agent_proto_agent_proto_msgTypes[73].OneofWrappers = []interface{}{}
|
|
file_agent_proto_agent_proto_msgTypes[76].OneofWrappers = []interface{}{}
|
|
file_agent_proto_agent_proto_msgTypes[78].OneofWrappers = []interface{}{}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_agent_proto_agent_proto_rawDesc,
|
|
NumEnums: 18,
|
|
NumMessages: 80,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_agent_proto_agent_proto_goTypes,
|
|
DependencyIndexes: file_agent_proto_agent_proto_depIdxs,
|
|
EnumInfos: file_agent_proto_agent_proto_enumTypes,
|
|
MessageInfos: file_agent_proto_agent_proto_msgTypes,
|
|
}.Build()
|
|
File_agent_proto_agent_proto = out.File
|
|
file_agent_proto_agent_proto_rawDesc = nil
|
|
file_agent_proto_agent_proto_goTypes = nil
|
|
file_agent_proto_agent_proto_depIdxs = nil
|
|
}
|