//  Copyright 2024 Google LLC
//
//  Licensed under the Apache License, Version 2.0 (the "License");
//  you may not use this file except in compliance with the License.
//  You may obtain a copy of the License at
//
//     https://www.apache.org/licenses/LICENSE-2.0
//
//  Unless required by applicable law or agreed to in writing, software
//  distributed under the License is distributed on an "AS IS" BASIS,
//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//  See the License for the specific language governing permissions and
//  limitations under the License.

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.12
// 	protoc        v7.35.1
// source: agent_controlplane.proto

// The package contains messages between control plane and a guest agent over
// Agent Communication Service.

package acp

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	durationpb "google.golang.org/protobuf/types/known/durationpb"
	structpb "google.golang.org/protobuf/types/known/structpb"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// Type of the plugin.
type PluginType int32

const (
	// Unspecified plugin type.
	PluginType_PLUGIN_TYPE_UNSPECIFIED PluginType = 0
	// Daemon plugin type.
	PluginType_DAEMON PluginType = 1
	// One-shot plugin type.
	PluginType_ONE_SHOT PluginType = 2
)

// Enum value maps for PluginType.
var (
	PluginType_name = map[int32]string{
		0: "PLUGIN_TYPE_UNSPECIFIED",
		1: "DAEMON",
		2: "ONE_SHOT",
	}
	PluginType_value = map[string]int32{
		"PLUGIN_TYPE_UNSPECIFIED": 0,
		"DAEMON":                  1,
		"ONE_SHOT":                2,
	}
)

func (x PluginType) Enum() *PluginType {
	p := new(PluginType)
	*p = x
	return p
}

func (x PluginType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (PluginType) Descriptor() protoreflect.EnumDescriptor {
	return file_agent_controlplane_proto_enumTypes[0].Descriptor()
}

func (PluginType) Type() protoreflect.EnumType {
	return &file_agent_controlplane_proto_enumTypes[0]
}

func (x PluginType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use PluginType.Descriptor instead.
func (PluginType) EnumDescriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{0}
}

// Plugin installation type.
type PluginInstallationType int32

const (
	// Plugin needs to be dynamically downloaded. This is the default type.
	PluginInstallationType_DYNAMIC_INSTALLATION PluginInstallationType = 0
	// Plugin is located in a local directory.
	PluginInstallationType_LOCAL_INSTALLATION PluginInstallationType = 1
)

// Enum value maps for PluginInstallationType.
var (
	PluginInstallationType_name = map[int32]string{
		0: "DYNAMIC_INSTALLATION",
		1: "LOCAL_INSTALLATION",
	}
	PluginInstallationType_value = map[string]int32{
		"DYNAMIC_INSTALLATION": 0,
		"LOCAL_INSTALLATION":   1,
	}
)

func (x PluginInstallationType) Enum() *PluginInstallationType {
	p := new(PluginInstallationType)
	*p = x
	return p
}

func (x PluginInstallationType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (PluginInstallationType) Descriptor() protoreflect.EnumDescriptor {
	return file_agent_controlplane_proto_enumTypes[1].Descriptor()
}

func (PluginInstallationType) Type() protoreflect.EnumType {
	return &file_agent_controlplane_proto_enumTypes[1]
}

func (x PluginInstallationType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use PluginInstallationType.Descriptor instead.
func (PluginInstallationType) EnumDescriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{1}
}

type AgentInfo_AgentCapability int32

const (
	AgentInfo_AGENT_CAPABILITY_UNSPECIFIED AgentInfo_AgentCapability = 0
	// The agent supports returning agent information.
	AgentInfo_GET_AGENT_INFO AgentInfo_AgentCapability = 1
	// The agent supports returning OS information.
	AgentInfo_GET_OS_INFO AgentInfo_AgentCapability = 2
	// The agent supports returning plugin states.
	AgentInfo_LIST_PLUGIN_STATES AgentInfo_AgentCapability = 3
	// The agent supports configuring different plugin states through
	// install/remove a plugin revision.
	AgentInfo_CONFIGURE_PLUGIN_STATES AgentInfo_AgentCapability = 4
	// The agent supports applying the config to the installed plugin.
	AgentInfo_APPLY_PLUGIN_CONFIG AgentInfo_AgentCapability = 5
)

// Enum value maps for AgentInfo_AgentCapability.
var (
	AgentInfo_AgentCapability_name = map[int32]string{
		0: "AGENT_CAPABILITY_UNSPECIFIED",
		1: "GET_AGENT_INFO",
		2: "GET_OS_INFO",
		3: "LIST_PLUGIN_STATES",
		4: "CONFIGURE_PLUGIN_STATES",
		5: "APPLY_PLUGIN_CONFIG",
	}
	AgentInfo_AgentCapability_value = map[string]int32{
		"AGENT_CAPABILITY_UNSPECIFIED": 0,
		"GET_AGENT_INFO":               1,
		"GET_OS_INFO":                  2,
		"LIST_PLUGIN_STATES":           3,
		"CONFIGURE_PLUGIN_STATES":      4,
		"APPLY_PLUGIN_CONFIG":          5,
	}
)

func (x AgentInfo_AgentCapability) Enum() *AgentInfo_AgentCapability {
	p := new(AgentInfo_AgentCapability)
	*p = x
	return p
}

func (x AgentInfo_AgentCapability) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (AgentInfo_AgentCapability) Descriptor() protoreflect.EnumDescriptor {
	return file_agent_controlplane_proto_enumTypes[2].Descriptor()
}

func (AgentInfo_AgentCapability) Type() protoreflect.EnumType {
	return &file_agent_controlplane_proto_enumTypes[2]
}

func (x AgentInfo_AgentCapability) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use AgentInfo_AgentCapability.Descriptor instead.
func (AgentInfo_AgentCapability) EnumDescriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{2, 0}
}

// Detailed plugin status on the resource.
//
// If there's another revision is running, it will be stopped before
// starting this plugin. If any step fails during the process, agent will
// retry until retry attempts exhausted.
//
// During restart of a plugin, it will go through
// STOPPING -> STOPPED -> STARTING -> RUNNING
// with start_time updated if it restarts successfully.
//
// When trying to stop the plugin, the agent will first try signal the
// plugin to stop itself. If the plugin does not stop after a certain
// timeout, it will force kill the process.
//
// CRASHED and INSTALL_FAILED statuses expect a non-zero response code
// indicating an error. Other statuses might have a non-zero response code
// indicating a non-fatal error.
type CurrentPluginStates_StatusValue int32

const (
	CurrentPluginStates_STATE_VALUE_UNSPECIFIED CurrentPluginStates_StatusValue = 0
	// Life cycle of a plugin after installed.
	CurrentPluginStates_STARTING CurrentPluginStates_StatusValue = 1
	CurrentPluginStates_RUNNING  CurrentPluginStates_StatusValue = 2
	CurrentPluginStates_STOPPING CurrentPluginStates_StatusValue = 3
	CurrentPluginStates_STOPPED  CurrentPluginStates_StatusValue = 4
	CurrentPluginStates_CRASHED  CurrentPluginStates_StatusValue = 5
	// Installing or failed to install.
	CurrentPluginStates_INSTALLING          CurrentPluginStates_StatusValue = 6
	CurrentPluginStates_INSTALL_FAILED      CurrentPluginStates_StatusValue = 7
	CurrentPluginStates_EXECUTION_COMPLETED CurrentPluginStates_StatusValue = 8
	CurrentPluginStates_EXECUTION_FAILED    CurrentPluginStates_StatusValue = 9
)

// Enum value maps for CurrentPluginStates_StatusValue.
var (
	CurrentPluginStates_StatusValue_name = map[int32]string{
		0: "STATE_VALUE_UNSPECIFIED",
		1: "STARTING",
		2: "RUNNING",
		3: "STOPPING",
		4: "STOPPED",
		5: "CRASHED",
		6: "INSTALLING",
		7: "INSTALL_FAILED",
		8: "EXECUTION_COMPLETED",
		9: "EXECUTION_FAILED",
	}
	CurrentPluginStates_StatusValue_value = map[string]int32{
		"STATE_VALUE_UNSPECIFIED": 0,
		"STARTING":                1,
		"RUNNING":                 2,
		"STOPPING":                3,
		"STOPPED":                 4,
		"CRASHED":                 5,
		"INSTALLING":              6,
		"INSTALL_FAILED":          7,
		"EXECUTION_COMPLETED":     8,
		"EXECUTION_FAILED":        9,
	}
)

func (x CurrentPluginStates_StatusValue) Enum() *CurrentPluginStates_StatusValue {
	p := new(CurrentPluginStates_StatusValue)
	*p = x
	return p
}

func (x CurrentPluginStates_StatusValue) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (CurrentPluginStates_StatusValue) Descriptor() protoreflect.EnumDescriptor {
	return file_agent_controlplane_proto_enumTypes[3].Descriptor()
}

func (CurrentPluginStates_StatusValue) Type() protoreflect.EnumType {
	return &file_agent_controlplane_proto_enumTypes[3]
}

func (x CurrentPluginStates_StatusValue) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use CurrentPluginStates_StatusValue.Descriptor instead.
func (CurrentPluginStates_StatusValue) EnumDescriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{6, 0}
}

type ConfigurePluginStates_Action int32

const (
	ConfigurePluginStates_ACTION_UNSPECIFIED ConfigurePluginStates_Action = 0
	// Instruct the Guest agent to stop the plugin if it finds one already
	// running. Then install AND run the given plugin_name@revision_id. It's
	// expected that every plugin should be long running until it's removed. So
	// we don't have a start/stop, or enable/disable here.
	ConfigurePluginStates_INSTALL ConfigurePluginStates_Action = 1
	// Instruct the Guest Agent to first stop the running plugin then remove the
	// plugin binary.
	// When using this action, only the name of the plugin will be specified,
	// other fields will be empty.
	ConfigurePluginStates_REMOVE ConfigurePluginStates_Action = 2
	// Instruct the Guest Agent to apply the config to the running plugin. If
	// the plugin does not support Apply RPC then the Guest Agent will restart
	// the plugin with the new config.
	ConfigurePluginStates_APPLY ConfigurePluginStates_Action = 3
)

// Enum value maps for ConfigurePluginStates_Action.
var (
	ConfigurePluginStates_Action_name = map[int32]string{
		0: "ACTION_UNSPECIFIED",
		1: "INSTALL",
		2: "REMOVE",
		3: "APPLY",
	}
	ConfigurePluginStates_Action_value = map[string]int32{
		"ACTION_UNSPECIFIED": 0,
		"INSTALL":            1,
		"REMOVE":             2,
		"APPLY":              3,
	}
)

func (x ConfigurePluginStates_Action) Enum() *ConfigurePluginStates_Action {
	p := new(ConfigurePluginStates_Action)
	*p = x
	return p
}

func (x ConfigurePluginStates_Action) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (ConfigurePluginStates_Action) Descriptor() protoreflect.EnumDescriptor {
	return file_agent_controlplane_proto_enumTypes[4].Descriptor()
}

func (ConfigurePluginStates_Action) Type() protoreflect.EnumType {
	return &file_agent_controlplane_proto_enumTypes[4]
}

func (x ConfigurePluginStates_Action) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use ConfigurePluginStates_Action.Descriptor instead.
func (ConfigurePluginStates_Action) EnumDescriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{7, 0}
}

type ExecutionModel_State int32

const (
	ExecutionModel_STATE_UNSPECIFIED ExecutionModel_State = 0
	ExecutionModel_ENABLED           ExecutionModel_State = 1
	ExecutionModel_DISABLED          ExecutionModel_State = 2
)

// Enum value maps for ExecutionModel_State.
var (
	ExecutionModel_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "ENABLED",
		2: "DISABLED",
	}
	ExecutionModel_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"ENABLED":           1,
		"DISABLED":          2,
	}
)

func (x ExecutionModel_State) Enum() *ExecutionModel_State {
	p := new(ExecutionModel_State)
	*p = x
	return p
}

func (x ExecutionModel_State) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (ExecutionModel_State) Descriptor() protoreflect.EnumDescriptor {
	return file_agent_controlplane_proto_enumTypes[5].Descriptor()
}

func (ExecutionModel_State) Type() protoreflect.EnumType {
	return &file_agent_controlplane_proto_enumTypes[5]
}

func (x ExecutionModel_State) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use ExecutionModel_State.Descriptor instead.
func (ExecutionModel_State) EnumDescriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{8, 0}
}

type ExecutionModel_MatchPolicy int32

const (
	ExecutionModel_MATCH_POLICY_UNSPECIFIED ExecutionModel_MatchPolicy = 0
	// Logical AND
	ExecutionModel_ALL ExecutionModel_MatchPolicy = 1
	// Logical OR
	ExecutionModel_ANY ExecutionModel_MatchPolicy = 2
)

// Enum value maps for ExecutionModel_MatchPolicy.
var (
	ExecutionModel_MatchPolicy_name = map[int32]string{
		0: "MATCH_POLICY_UNSPECIFIED",
		1: "ALL",
		2: "ANY",
	}
	ExecutionModel_MatchPolicy_value = map[string]int32{
		"MATCH_POLICY_UNSPECIFIED": 0,
		"ALL":                      1,
		"ANY":                      2,
	}
)

func (x ExecutionModel_MatchPolicy) Enum() *ExecutionModel_MatchPolicy {
	p := new(ExecutionModel_MatchPolicy)
	*p = x
	return p
}

func (x ExecutionModel_MatchPolicy) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (ExecutionModel_MatchPolicy) Descriptor() protoreflect.EnumDescriptor {
	return file_agent_controlplane_proto_enumTypes[6].Descriptor()
}

func (ExecutionModel_MatchPolicy) Type() protoreflect.EnumType {
	return &file_agent_controlplane_proto_enumTypes[6]
}

func (x ExecutionModel_MatchPolicy) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use ExecutionModel_MatchPolicy.Descriptor instead.
func (ExecutionModel_MatchPolicy) EnumDescriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{8, 1}
}

// Enum for all supported comparison operators.
type Rules_ComparisonOperator int32

const (
	Rules_OPERATOR_UNSPECIFIED Rules_ComparisonOperator = 0
	Rules_EQUAL                Rules_ComparisonOperator = 1
	Rules_NOT_EQUAL            Rules_ComparisonOperator = 2
	Rules_CONTAINS             Rules_ComparisonOperator = 3
)

// Enum value maps for Rules_ComparisonOperator.
var (
	Rules_ComparisonOperator_name = map[int32]string{
		0: "OPERATOR_UNSPECIFIED",
		1: "EQUAL",
		2: "NOT_EQUAL",
		3: "CONTAINS",
	}
	Rules_ComparisonOperator_value = map[string]int32{
		"OPERATOR_UNSPECIFIED": 0,
		"EQUAL":                1,
		"NOT_EQUAL":            2,
		"CONTAINS":             3,
	}
)

func (x Rules_ComparisonOperator) Enum() *Rules_ComparisonOperator {
	p := new(Rules_ComparisonOperator)
	*p = x
	return p
}

func (x Rules_ComparisonOperator) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Rules_ComparisonOperator) Descriptor() protoreflect.EnumDescriptor {
	return file_agent_controlplane_proto_enumTypes[7].Descriptor()
}

func (Rules_ComparisonOperator) Type() protoreflect.EnumType {
	return &file_agent_controlplane_proto_enumTypes[7]
}

func (x Rules_ComparisonOperator) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Rules_ComparisonOperator.Descriptor instead.
func (Rules_ComparisonOperator) EnumDescriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{9, 0}
}

// Enum defining the valid, known namespaces for rule evaluation.
type Rules_Scope int32

const (
	// Default, unspecified value.
	Rules_NAMESPACE_UNSPECIFIED Rules_Scope = 0
	// For checking OS properties from /etc/os-release.
	Rules_OS Rules_Scope = 1
	// Source is instance properties from the metadata server, like machine
	// type. Value is fetched from Metadata Server key “v1/instance/<attribute>”
	// to compare.
	Rules_INSTANCE Rules_Scope = 2
	// Source is custom key-value pairs from the metadata server. The value is
	// retrieved from "v1/instance/attributes/<key>" for comparison.
	Rules_METADATA Rules_Scope = 3
)

// Enum value maps for Rules_Scope.
var (
	Rules_Scope_name = map[int32]string{
		0: "NAMESPACE_UNSPECIFIED",
		1: "OS",
		2: "INSTANCE",
		3: "METADATA",
	}
	Rules_Scope_value = map[string]int32{
		"NAMESPACE_UNSPECIFIED": 0,
		"OS":                    1,
		"INSTANCE":              2,
		"METADATA":              3,
	}
)

func (x Rules_Scope) Enum() *Rules_Scope {
	p := new(Rules_Scope)
	*p = x
	return p
}

func (x Rules_Scope) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Rules_Scope) Descriptor() protoreflect.EnumDescriptor {
	return file_agent_controlplane_proto_enumTypes[8].Descriptor()
}

func (Rules_Scope) Type() protoreflect.EnumType {
	return &file_agent_controlplane_proto_enumTypes[8]
}

func (x Rules_Scope) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Rules_Scope.Descriptor instead.
func (Rules_Scope) EnumDescriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{9, 1}
}

// Enum for the types of events that can occur to a plugin or a CSE config.
type PluginEventMessage_PluginEventType int32

const (
	// Unspecified event type, used as a default value.
	PluginEventMessage_PLUGIN_EVENT_TYPE_UNSPECIFIED PluginEventMessage_PluginEventType = 0
	// Event indicating that CSE has sent a configuration to install a new
	// plugin revision. This event type captures the initiation of the
	// installation process for a plugin.
	PluginEventMessage_PLUGIN_CONFIG_INSTALL PluginEventMessage_PluginEventType = 1
	// Event indicating that CSE has sent a configuration to remove an existing
	// plugin revision. This event type is used when a plugin is being
	// uninstalled or removed from the agent.
	PluginEventMessage_PLUGIN_CONFIG_REMOVE PluginEventMessage_PluginEventType = 2
	// Event indicating that the plugin has been successfully installed.
	PluginEventMessage_PLUGIN_INSTALLED PluginEventMessage_PluginEventType = 3
	// Event indicating that the plugin has started successfully.
	PluginEventMessage_PLUGIN_STARTED PluginEventMessage_PluginEventType = 4
	// Event indicating that the plugin has been successfully removed.
	PluginEventMessage_PLUGIN_REMOVED PluginEventMessage_PluginEventType = 5
	// Event indicating that the plugin has been stopped, either as part of a
	// normal shutdown or due to an error.
	PluginEventMessage_PLUGIN_STOPPED PluginEventMessage_PluginEventType = 6
	// Event indicating that the plugin has crashed. This is typically followed
	// by a restart if auto-recovery is enabled.
	PluginEventMessage_PLUGIN_CRASHED PluginEventMessage_PluginEventType = 7
	// Event indicating that an attempt to install the plugin has failed.
	PluginEventMessage_PLUGIN_INSTALL_FAILED PluginEventMessage_PluginEventType = 8
	// Event indicating that an attempt to start the plugin has failed.
	PluginEventMessage_PLUGIN_START_FAILED PluginEventMessage_PluginEventType = 9
	// Event indicating that an attempt to remove or uninstall the plugin has
	// failed.
	PluginEventMessage_PLUGIN_REMOVE_FAILED PluginEventMessage_PluginEventType = 10
	// Event indicating that agent has received the plugin config to apply.
	PluginEventMessage_PLUGIN_CONFIG_APPLY PluginEventMessage_PluginEventType = 11
	// Event indicating that agent successfully applied the plugin config.
	PluginEventMessage_PLUGIN_CONFIG_APPLIED PluginEventMessage_PluginEventType = 12
	// Event indicating that agent failed to apply the plugin config. This event
	// will be triggered only when the plugin returns non-unimplemented rpc
	// error code to the Apply RPC. In case of unimplemented error code, the
	// agent will run restart workflow on the plugin with new config and
	// will not trigger this event.
	PluginEventMessage_PLUGIN_CONFIG_APPLY_FAILED PluginEventMessage_PluginEventType = 13
	// Indicates that the plugin finished execution gracefully and is no longer
	// running.
	PluginEventMessage_PLUGIN_EXECUTION_COMPLETED PluginEventMessage_PluginEventType = 14
	// Indicates that the plugin finished execution in a failure state and is no
	// longer running.
	PluginEventMessage_PLUGIN_EXECUTION_FAILED PluginEventMessage_PluginEventType = 15
)

// Enum value maps for PluginEventMessage_PluginEventType.
var (
	PluginEventMessage_PluginEventType_name = map[int32]string{
		0:  "PLUGIN_EVENT_TYPE_UNSPECIFIED",
		1:  "PLUGIN_CONFIG_INSTALL",
		2:  "PLUGIN_CONFIG_REMOVE",
		3:  "PLUGIN_INSTALLED",
		4:  "PLUGIN_STARTED",
		5:  "PLUGIN_REMOVED",
		6:  "PLUGIN_STOPPED",
		7:  "PLUGIN_CRASHED",
		8:  "PLUGIN_INSTALL_FAILED",
		9:  "PLUGIN_START_FAILED",
		10: "PLUGIN_REMOVE_FAILED",
		11: "PLUGIN_CONFIG_APPLY",
		12: "PLUGIN_CONFIG_APPLIED",
		13: "PLUGIN_CONFIG_APPLY_FAILED",
		14: "PLUGIN_EXECUTION_COMPLETED",
		15: "PLUGIN_EXECUTION_FAILED",
	}
	PluginEventMessage_PluginEventType_value = map[string]int32{
		"PLUGIN_EVENT_TYPE_UNSPECIFIED": 0,
		"PLUGIN_CONFIG_INSTALL":         1,
		"PLUGIN_CONFIG_REMOVE":          2,
		"PLUGIN_INSTALLED":              3,
		"PLUGIN_STARTED":                4,
		"PLUGIN_REMOVED":                5,
		"PLUGIN_STOPPED":                6,
		"PLUGIN_CRASHED":                7,
		"PLUGIN_INSTALL_FAILED":         8,
		"PLUGIN_START_FAILED":           9,
		"PLUGIN_REMOVE_FAILED":          10,
		"PLUGIN_CONFIG_APPLY":           11,
		"PLUGIN_CONFIG_APPLIED":         12,
		"PLUGIN_CONFIG_APPLY_FAILED":    13,
		"PLUGIN_EXECUTION_COMPLETED":    14,
		"PLUGIN_EXECUTION_FAILED":       15,
	}
)

func (x PluginEventMessage_PluginEventType) Enum() *PluginEventMessage_PluginEventType {
	p := new(PluginEventMessage_PluginEventType)
	*p = x
	return p
}

func (x PluginEventMessage_PluginEventType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (PluginEventMessage_PluginEventType) Descriptor() protoreflect.EnumDescriptor {
	return file_agent_controlplane_proto_enumTypes[9].Descriptor()
}

func (PluginEventMessage_PluginEventType) Type() protoreflect.EnumType {
	return &file_agent_controlplane_proto_enumTypes[9]
}

func (x PluginEventMessage_PluginEventType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use PluginEventMessage_PluginEventType.Descriptor instead.
func (PluginEventMessage_PluginEventType) EnumDescriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{10, 0}
}

type GuestAgentModuleMetric_Metric int32

const (
	GuestAgentModuleMetric_MODULE_UNSPECIFIED                   GuestAgentModuleMetric_Metric = 0
	GuestAgentModuleMetric_NETWORK_INITIALIZATION               GuestAgentModuleMetric_Metric = 1
	GuestAgentModuleMetric_IOSCHED_INITIALIZATION               GuestAgentModuleMetric_Metric = 2
	GuestAgentModuleMetric_AGENT_CRYPTO_INITIALIZATION          GuestAgentModuleMetric_Metric = 3
	GuestAgentModuleMetric_CLOCK_INITIALIZATION                 GuestAgentModuleMetric_Metric = 4
	GuestAgentModuleMetric_COMMAND_INITIALIZATION               GuestAgentModuleMetric_Metric = 5
	GuestAgentModuleMetric_DIAGNOSTICS_INITIALIZATION           GuestAgentModuleMetric_Metric = 6
	GuestAgentModuleMetric_FIRST_BOOT_INITIALIZATION            GuestAgentModuleMetric_Metric = 7
	GuestAgentModuleMetric_HOST_NAME_INITIALIZATION             GuestAgentModuleMetric_Metric = 8
	GuestAgentModuleMetric_METADATA_SSH_KEY_INITIALIZATION      GuestAgentModuleMetric_Metric = 9
	GuestAgentModuleMetric_OS_LOGIN_INITIALIZATION              GuestAgentModuleMetric_Metric = 10
	GuestAgentModuleMetric_PLAT_SCRIPT_INITIALIZATION           GuestAgentModuleMetric_Metric = 11
	GuestAgentModuleMetric_SNAPSHOT_INITIALIZATION              GuestAgentModuleMetric_Metric = 12
	GuestAgentModuleMetric_TELEMETRY_INITIALIZATION             GuestAgentModuleMetric_Metric = 13
	GuestAgentModuleMetric_WORKLOAD_CERT_REFRESH_INITIALIZATION GuestAgentModuleMetric_Metric = 14
	GuestAgentModuleMetric_WSFC_HEALTH_CHECK_INITIALIZATION     GuestAgentModuleMetric_Metric = 15
	GuestAgentModuleMetric_WINDOWS_PASSWORD_RESET               GuestAgentModuleMetric_Metric = 16
	GuestAgentModuleMetric_CORE_PLUGIN_INITIALIZATION           GuestAgentModuleMetric_Metric = 17
	GuestAgentModuleMetric_GUEST_COMPAT_MANAGER_INITIALIZATION  GuestAgentModuleMetric_Metric = 18
	GuestAgentModuleMetric_PLUGIN_CLEANUP                       GuestAgentModuleMetric_Metric = 19
)

// Enum value maps for GuestAgentModuleMetric_Metric.
var (
	GuestAgentModuleMetric_Metric_name = map[int32]string{
		0:  "MODULE_UNSPECIFIED",
		1:  "NETWORK_INITIALIZATION",
		2:  "IOSCHED_INITIALIZATION",
		3:  "AGENT_CRYPTO_INITIALIZATION",
		4:  "CLOCK_INITIALIZATION",
		5:  "COMMAND_INITIALIZATION",
		6:  "DIAGNOSTICS_INITIALIZATION",
		7:  "FIRST_BOOT_INITIALIZATION",
		8:  "HOST_NAME_INITIALIZATION",
		9:  "METADATA_SSH_KEY_INITIALIZATION",
		10: "OS_LOGIN_INITIALIZATION",
		11: "PLAT_SCRIPT_INITIALIZATION",
		12: "SNAPSHOT_INITIALIZATION",
		13: "TELEMETRY_INITIALIZATION",
		14: "WORKLOAD_CERT_REFRESH_INITIALIZATION",
		15: "WSFC_HEALTH_CHECK_INITIALIZATION",
		16: "WINDOWS_PASSWORD_RESET",
		17: "CORE_PLUGIN_INITIALIZATION",
		18: "GUEST_COMPAT_MANAGER_INITIALIZATION",
		19: "PLUGIN_CLEANUP",
	}
	GuestAgentModuleMetric_Metric_value = map[string]int32{
		"MODULE_UNSPECIFIED":                   0,
		"NETWORK_INITIALIZATION":               1,
		"IOSCHED_INITIALIZATION":               2,
		"AGENT_CRYPTO_INITIALIZATION":          3,
		"CLOCK_INITIALIZATION":                 4,
		"COMMAND_INITIALIZATION":               5,
		"DIAGNOSTICS_INITIALIZATION":           6,
		"FIRST_BOOT_INITIALIZATION":            7,
		"HOST_NAME_INITIALIZATION":             8,
		"METADATA_SSH_KEY_INITIALIZATION":      9,
		"OS_LOGIN_INITIALIZATION":              10,
		"PLAT_SCRIPT_INITIALIZATION":           11,
		"SNAPSHOT_INITIALIZATION":              12,
		"TELEMETRY_INITIALIZATION":             13,
		"WORKLOAD_CERT_REFRESH_INITIALIZATION": 14,
		"WSFC_HEALTH_CHECK_INITIALIZATION":     15,
		"WINDOWS_PASSWORD_RESET":               16,
		"CORE_PLUGIN_INITIALIZATION":           17,
		"GUEST_COMPAT_MANAGER_INITIALIZATION":  18,
		"PLUGIN_CLEANUP":                       19,
	}
)

func (x GuestAgentModuleMetric_Metric) Enum() *GuestAgentModuleMetric_Metric {
	p := new(GuestAgentModuleMetric_Metric)
	*p = x
	return p
}

func (x GuestAgentModuleMetric_Metric) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (GuestAgentModuleMetric_Metric) Descriptor() protoreflect.EnumDescriptor {
	return file_agent_controlplane_proto_enumTypes[10].Descriptor()
}

func (GuestAgentModuleMetric_Metric) Type() protoreflect.EnumType {
	return &file_agent_controlplane_proto_enumTypes[10]
}

func (x GuestAgentModuleMetric_Metric) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use GuestAgentModuleMetric_Metric.Descriptor instead.
func (GuestAgentModuleMetric_Metric) EnumDescriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{12, 0}
}

type GuestAgentModuleMetric_ModuleStatus int32

const (
	GuestAgentModuleMetric_MODULE_STATUS_UNSPECIFIED GuestAgentModuleMetric_ModuleStatus = 0
	GuestAgentModuleMetric_STATUS_SKIPPED            GuestAgentModuleMetric_ModuleStatus = 1
	GuestAgentModuleMetric_STATUS_FAILED             GuestAgentModuleMetric_ModuleStatus = 2
	GuestAgentModuleMetric_STATUS_SUCCEEDED          GuestAgentModuleMetric_ModuleStatus = 3
)

// Enum value maps for GuestAgentModuleMetric_ModuleStatus.
var (
	GuestAgentModuleMetric_ModuleStatus_name = map[int32]string{
		0: "MODULE_STATUS_UNSPECIFIED",
		1: "STATUS_SKIPPED",
		2: "STATUS_FAILED",
		3: "STATUS_SUCCEEDED",
	}
	GuestAgentModuleMetric_ModuleStatus_value = map[string]int32{
		"MODULE_STATUS_UNSPECIFIED": 0,
		"STATUS_SKIPPED":            1,
		"STATUS_FAILED":             2,
		"STATUS_SUCCEEDED":          3,
	}
)

func (x GuestAgentModuleMetric_ModuleStatus) Enum() *GuestAgentModuleMetric_ModuleStatus {
	p := new(GuestAgentModuleMetric_ModuleStatus)
	*p = x
	return p
}

func (x GuestAgentModuleMetric_ModuleStatus) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (GuestAgentModuleMetric_ModuleStatus) Descriptor() protoreflect.EnumDescriptor {
	return file_agent_controlplane_proto_enumTypes[11].Descriptor()
}

func (GuestAgentModuleMetric_ModuleStatus) Type() protoreflect.EnumType {
	return &file_agent_controlplane_proto_enumTypes[11]
}

func (x GuestAgentModuleMetric_ModuleStatus) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use GuestAgentModuleMetric_ModuleStatus.Descriptor instead.
func (GuestAgentModuleMetric_ModuleStatus) EnumDescriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{12, 1}
}

// PlatformInfo reports platform information based on a SMBIOS/DMI check.
type PlatformInfo struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Whether the process is running on GCE, as determined by SMBIOS/DMI data
	// such as board_serial. For example, on Linux /sys/class/dmi/id/board_serial
	// or (Get-CimInstance -ClassName Win32_BaseBoard).SerialNumber is inspected.
	OnGce bool `protobuf:"varint,1,opt,name=on_gce,json=onGce,proto3" json:"on_gce,omitempty"`
	// Error message if SMBIOS/DMI data could not be read. Empty if successful.
	Error         string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PlatformInfo) Reset() {
	*x = PlatformInfo{}
	mi := &file_agent_controlplane_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PlatformInfo) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PlatformInfo) ProtoMessage() {}

func (x *PlatformInfo) ProtoReflect() protoreflect.Message {
	mi := &file_agent_controlplane_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PlatformInfo.ProtoReflect.Descriptor instead.
func (*PlatformInfo) Descriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{0}
}

func (x *PlatformInfo) GetOnGce() bool {
	if x != nil {
		return x.OnGce
	}
	return false
}

func (x *PlatformInfo) GetError() string {
	if x != nil {
		return x.Error
	}
	return ""
}

// Continuous State Enforcement system send the message to request agent
// information.
type GetAgentInfo struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetAgentInfo) Reset() {
	*x = GetAgentInfo{}
	mi := &file_agent_controlplane_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetAgentInfo) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetAgentInfo) ProtoMessage() {}

func (x *GetAgentInfo) ProtoReflect() protoreflect.Message {
	mi := &file_agent_controlplane_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetAgentInfo.ProtoReflect.Descriptor instead.
func (*GetAgentInfo) Descriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{1}
}

// Response from Guest Agent replying to GetAgentInfo
type AgentInfo struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The name of the agent.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The version of the agent. e.g., "20230913.00"
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// The architecture of the agent. e.g., "amd64"
	Architecture string `protobuf:"bytes,3,opt,name=architecture,proto3" json:"architecture,omitempty"`
	// A list of agent capabilites.
	AgentCapabilities []AgentInfo_AgentCapability `protobuf:"varint,4,rep,packed,name=agent_capabilities,json=agentCapabilities,proto3,enum=agent_controlplane.AgentInfo_AgentCapability" json:"agent_capabilities,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

func (x *AgentInfo) Reset() {
	*x = AgentInfo{}
	mi := &file_agent_controlplane_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *AgentInfo) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AgentInfo) ProtoMessage() {}

func (x *AgentInfo) ProtoReflect() protoreflect.Message {
	mi := &file_agent_controlplane_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AgentInfo.ProtoReflect.Descriptor instead.
func (*AgentInfo) Descriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{2}
}

func (x *AgentInfo) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *AgentInfo) GetVersion() string {
	if x != nil {
		return x.Version
	}
	return ""
}

func (x *AgentInfo) GetArchitecture() string {
	if x != nil {
		return x.Architecture
	}
	return ""
}

func (x *AgentInfo) GetAgentCapabilities() []AgentInfo_AgentCapability {
	if x != nil {
		return x.AgentCapabilities
	}
	return nil
}

// Continuous State Enforcement system send the message to request OS
// information
type GetOSInfo struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetOSInfo) Reset() {
	*x = GetOSInfo{}
	mi := &file_agent_controlplane_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetOSInfo) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetOSInfo) ProtoMessage() {}

func (x *GetOSInfo) ProtoReflect() protoreflect.Message {
	mi := &file_agent_controlplane_proto_msgTypes[3]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GetOSInfo.ProtoReflect.Descriptor instead.
func (*GetOSInfo) Descriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{3}
}

// Response from Guest Agent replying to GetOSInfo
type OSInfo struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Type of the operating system for the VM. e.g., "linux" and "windows".
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	// Short name of the operating system. e.g., "rhel" and "windows".
	ShortName string `protobuf:"bytes,3,opt,name=short_name,json=shortName,proto3" json:"short_name,omitempty"`
	// Long name of the operating system for the VM. e.g., "Red Hat Enterprise
	// Linux 9.2 (Plow)", "Windows Server 2022 Datacenter".
	LongName string `protobuf:"bytes,4,opt,name=long_name,json=longName,proto3" json:"long_name,omitempty"`
	// The version of this operating system. e.g., "9.2" for RHEL, "10.0.20348"
	// for Windows Server.
	Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
	// The architecture of the operating system. e.g., "amd64"
	Architecture string `protobuf:"bytes,6,opt,name=architecture,proto3" json:"architecture,omitempty"`
	// Kernel release of the operating system.
	// e.g.,
	// "5.14.0-284.30.1.el9_2.x86_64" for Linux
	// "10.0.20348.1970" for Windows.
	KernelRelease string `protobuf:"bytes,7,opt,name=kernel_release,json=kernelRelease,proto3" json:"kernel_release,omitempty"`
	// Kernel verion of the operating system.
	// e.g.,
	// "#1 SMP PREEMPT_DYNAMIC Fri Aug 25 09:13:12 EDT 2023" for Linux
	// "10.0.20348.1970 (WinBuild.160101.0800)" for Windows.
	KernelVersion string `protobuf:"bytes,8,opt,name=kernel_version,json=kernelVersion,proto3" json:"kernel_version,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *OSInfo) Reset() {
	*x = OSInfo{}
	mi := &file_agent_controlplane_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *OSInfo) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*OSInfo) ProtoMessage() {}

func (x *OSInfo) ProtoReflect() protoreflect.Message {
	mi := &file_agent_controlplane_proto_msgTypes[4]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use OSInfo.ProtoReflect.Descriptor instead.
func (*OSInfo) Descriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{4}
}

func (x *OSInfo) GetType() string {
	if x != nil {
		return x.Type
	}
	return ""
}

func (x *OSInfo) GetShortName() string {
	if x != nil {
		return x.ShortName
	}
	return ""
}

func (x *OSInfo) GetLongName() string {
	if x != nil {
		return x.LongName
	}
	return ""
}

func (x *OSInfo) GetVersion() string {
	if x != nil {
		return x.Version
	}
	return ""
}

func (x *OSInfo) GetArchitecture() string {
	if x != nil {
		return x.Architecture
	}
	return ""
}

func (x *OSInfo) GetKernelRelease() string {
	if x != nil {
		return x.KernelRelease
	}
	return ""
}

func (x *OSInfo) GetKernelVersion() string {
	if x != nil {
		return x.KernelVersion
	}
	return ""
}

// Continuous State Enforcement system send the message to request plugin
// states.
type ListPluginStates struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListPluginStates) Reset() {
	*x = ListPluginStates{}
	mi := &file_agent_controlplane_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ListPluginStates) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListPluginStates) ProtoMessage() {}

func (x *ListPluginStates) ProtoReflect() protoreflect.Message {
	mi := &file_agent_controlplane_proto_msgTypes[5]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListPluginStates.ProtoReflect.Descriptor instead.
func (*ListPluginStates) Descriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{5}
}

// Response from Guest Agent replying to ListPluginStates.
type CurrentPluginStates struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The states of all daemon plugins on the resource.
	DaemonPluginStates []*CurrentPluginStates_DaemonPluginState `protobuf:"bytes,1,rep,name=daemon_plugin_states,json=daemonPluginStates,proto3" json:"daemon_plugin_states,omitempty"`
	// The states of all one-shot plugins on the resource.
	OneShotPluginStates []*CurrentPluginStates_OneShotPluginState `protobuf:"bytes,2,rep,name=one_shot_plugin_states,json=oneShotPluginStates,proto3" json:"one_shot_plugin_states,omitempty"`
	unknownFields       protoimpl.UnknownFields
	sizeCache           protoimpl.SizeCache
}

func (x *CurrentPluginStates) Reset() {
	*x = CurrentPluginStates{}
	mi := &file_agent_controlplane_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CurrentPluginStates) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CurrentPluginStates) ProtoMessage() {}

func (x *CurrentPluginStates) ProtoReflect() protoreflect.Message {
	mi := &file_agent_controlplane_proto_msgTypes[6]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CurrentPluginStates.ProtoReflect.Descriptor instead.
func (*CurrentPluginStates) Descriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{6}
}

func (x *CurrentPluginStates) GetDaemonPluginStates() []*CurrentPluginStates_DaemonPluginState {
	if x != nil {
		return x.DaemonPluginStates
	}
	return nil
}

func (x *CurrentPluginStates) GetOneShotPluginStates() []*CurrentPluginStates_OneShotPluginState {
	if x != nil {
		return x.OneShotPluginStates
	}
	return nil
}

// Continuous State Enforcement system send the message to ask the Guest Agent
// to configure different plugins. No response from Guest Agent is expected for
// this message. The system only waits for an acknowledgement from Agent
// Communication Service.
type ConfigurePluginStates struct {
	state            protoimpl.MessageState                   `protogen:"open.v1"`
	ConfigurePlugins []*ConfigurePluginStates_ConfigurePlugin `protobuf:"bytes,1,rep,name=configure_plugins,json=configurePlugins,proto3" json:"configure_plugins,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *ConfigurePluginStates) Reset() {
	*x = ConfigurePluginStates{}
	mi := &file_agent_controlplane_proto_msgTypes[7]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ConfigurePluginStates) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ConfigurePluginStates) ProtoMessage() {}

func (x *ConfigurePluginStates) ProtoReflect() protoreflect.Message {
	mi := &file_agent_controlplane_proto_msgTypes[7]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ConfigurePluginStates.ProtoReflect.Descriptor instead.
func (*ConfigurePluginStates) Descriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{7}
}

func (x *ConfigurePluginStates) GetConfigurePlugins() []*ConfigurePluginStates_ConfigurePlugin {
	if x != nil {
		return x.ConfigurePlugins
	}
	return nil
}

type ExecutionModel struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The base state of the plugin before any rule evaluation.
	OnDefault ExecutionModel_State `protobuf:"varint,1,opt,name=on_default,json=onDefault,proto3,enum=agent_controlplane.ExecutionModel_State" json:"on_default,omitempty"`
	// The state of the plugin if the rule matches.
	OnMatch ExecutionModel_State `protobuf:"varint,2,opt,name=on_match,json=onMatch,proto3,enum=agent_controlplane.ExecutionModel_State" json:"on_match,omitempty"`
	// Determines how the rules are evaluated.
	MatchPolicy ExecutionModel_MatchPolicy `protobuf:"varint,3,opt,name=match_policy,json=matchPolicy,proto3,enum=agent_controlplane.ExecutionModel_MatchPolicy" json:"match_policy,omitempty"`
	// An array of rules object to evaluate against the host.
	Rules []*Rules `protobuf:"bytes,4,rep,name=rules,proto3" json:"rules,omitempty"`
	// Identifies if the plugin must run immediately at boot after agent is
	// initialized.
	BootCritical bool `protobuf:"varint,5,opt,name=boot_critical,json=bootCritical,proto3" json:"boot_critical,omitempty"`
	// How to execute the plugin.
	//
	// Types that are valid to be assigned to Type:
	//
	//	*ExecutionModel_OneShot_
	//	*ExecutionModel_Daemon_
	Type          isExecutionModel_Type `protobuf_oneof:"type"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ExecutionModel) Reset() {
	*x = ExecutionModel{}
	mi := &file_agent_controlplane_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ExecutionModel) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ExecutionModel) ProtoMessage() {}

func (x *ExecutionModel) ProtoReflect() protoreflect.Message {
	mi := &file_agent_controlplane_proto_msgTypes[8]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ExecutionModel.ProtoReflect.Descriptor instead.
func (*ExecutionModel) Descriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{8}
}

func (x *ExecutionModel) GetOnDefault() ExecutionModel_State {
	if x != nil {
		return x.OnDefault
	}
	return ExecutionModel_STATE_UNSPECIFIED
}

func (x *ExecutionModel) GetOnMatch() ExecutionModel_State {
	if x != nil {
		return x.OnMatch
	}
	return ExecutionModel_STATE_UNSPECIFIED
}

func (x *ExecutionModel) GetMatchPolicy() ExecutionModel_MatchPolicy {
	if x != nil {
		return x.MatchPolicy
	}
	return ExecutionModel_MATCH_POLICY_UNSPECIFIED
}

func (x *ExecutionModel) GetRules() []*Rules {
	if x != nil {
		return x.Rules
	}
	return nil
}

func (x *ExecutionModel) GetBootCritical() bool {
	if x != nil {
		return x.BootCritical
	}
	return false
}

func (x *ExecutionModel) GetType() isExecutionModel_Type {
	if x != nil {
		return x.Type
	}
	return nil
}

func (x *ExecutionModel) GetOneShot() *ExecutionModel_OneShot {
	if x != nil {
		if x, ok := x.Type.(*ExecutionModel_OneShot_); ok {
			return x.OneShot
		}
	}
	return nil
}

func (x *ExecutionModel) GetDaemon() *ExecutionModel_Daemon {
	if x != nil {
		if x, ok := x.Type.(*ExecutionModel_Daemon_); ok {
			return x.Daemon
		}
	}
	return nil
}

type isExecutionModel_Type interface {
	isExecutionModel_Type()
}

type ExecutionModel_OneShot_ struct {
	OneShot *ExecutionModel_OneShot `protobuf:"bytes,6,opt,name=one_shot,json=oneShot,proto3,oneof"`
}

type ExecutionModel_Daemon_ struct {
	Daemon *ExecutionModel_Daemon `protobuf:"bytes,7,opt,name=daemon,proto3,oneof"`
}

func (*ExecutionModel_OneShot_) isExecutionModel_Type() {}

func (*ExecutionModel_Daemon_) isExecutionModel_Type() {}

type Rules struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The scope of the rule.
	Scope Rules_Scope `protobuf:"varint,1,opt,name=scope,proto3,enum=agent_controlplane.Rules_Scope" json:"scope,omitempty"`
	// The attribute to compare against.
	Attribute string `protobuf:"bytes,2,opt,name=attribute,proto3" json:"attribute,omitempty"`
	// The operator to compare the attribute against the value.
	ComparisonOperator Rules_ComparisonOperator `protobuf:"varint,3,opt,name=comparison_operator,json=comparisonOperator,proto3,enum=agent_controlplane.Rules_ComparisonOperator" json:"comparison_operator,omitempty"`
	// The value to compare against.
	Value         *structpb.Value `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Rules) Reset() {
	*x = Rules{}
	mi := &file_agent_controlplane_proto_msgTypes[9]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Rules) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Rules) ProtoMessage() {}

func (x *Rules) ProtoReflect() protoreflect.Message {
	mi := &file_agent_controlplane_proto_msgTypes[9]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Rules.ProtoReflect.Descriptor instead.
func (*Rules) Descriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{9}
}

func (x *Rules) GetScope() Rules_Scope {
	if x != nil {
		return x.Scope
	}
	return Rules_NAMESPACE_UNSPECIFIED
}

func (x *Rules) GetAttribute() string {
	if x != nil {
		return x.Attribute
	}
	return ""
}

func (x *Rules) GetComparisonOperator() Rules_ComparisonOperator {
	if x != nil {
		return x.ComparisonOperator
	}
	return Rules_OPERATOR_UNSPECIFIED
}

func (x *Rules) GetValue() *structpb.Value {
	if x != nil {
		return x.Value
	}
	return nil
}

type PluginEventMessage struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// RevisionID is the ID of the plugin revision related to this event.
	RevisionId string `protobuf:"bytes,1,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
	// PluginName is the name of the plugin associated with this event.
	PluginName string `protobuf:"bytes,2,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"`
	// EventType categorizes the event (e.g., CRASH, STOP, START, INSTALL_FAILED).
	EventType PluginEventMessage_PluginEventType `protobuf:"varint,3,opt,name=event_type,json=eventType,proto3,enum=agent_controlplane.PluginEventMessage_PluginEventType" json:"event_type,omitempty"`
	// EventTimestamp records the time at which the event was generated by the
	// plugin. This timestamp reflects when the event actually happened in the
	// guest agent or plugin, not when it was received by ACS. It is critical for
	// understanding the sequence of events as they occurred on the agent or
	// within the plugin. If not explicitly set, control plane defaults to January
	// 1, 1970.
	EventTimestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=event_timestamp,json=eventTimestamp,proto3" json:"event_timestamp,omitempty"`
	// EventDetails contains additional information about the event.
	// This could be a serialized format like JSON or a protocol buffer.
	EventDetails  []byte `protobuf:"bytes,5,opt,name=event_details,json=eventDetails,proto3,oneof" json:"event_details,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PluginEventMessage) Reset() {
	*x = PluginEventMessage{}
	mi := &file_agent_controlplane_proto_msgTypes[10]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PluginEventMessage) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PluginEventMessage) ProtoMessage() {}

func (x *PluginEventMessage) ProtoReflect() protoreflect.Message {
	mi := &file_agent_controlplane_proto_msgTypes[10]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PluginEventMessage.ProtoReflect.Descriptor instead.
func (*PluginEventMessage) Descriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{10}
}

func (x *PluginEventMessage) GetRevisionId() string {
	if x != nil {
		return x.RevisionId
	}
	return ""
}

func (x *PluginEventMessage) GetPluginName() string {
	if x != nil {
		return x.PluginName
	}
	return ""
}

func (x *PluginEventMessage) GetEventType() PluginEventMessage_PluginEventType {
	if x != nil {
		return x.EventType
	}
	return PluginEventMessage_PLUGIN_EVENT_TYPE_UNSPECIFIED
}

func (x *PluginEventMessage) GetEventTimestamp() *timestamppb.Timestamp {
	if x != nil {
		return x.EventTimestamp
	}
	return nil
}

func (x *PluginEventMessage) GetEventDetails() []byte {
	if x != nil {
		return x.EventDetails
	}
	return nil
}

type GuestAgentModuleMetrics struct {
	state         protoimpl.MessageState    `protogen:"open.v1"`
	Metrics       []*GuestAgentModuleMetric `protobuf:"bytes,1,rep,name=metrics,proto3" json:"metrics,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GuestAgentModuleMetrics) Reset() {
	*x = GuestAgentModuleMetrics{}
	mi := &file_agent_controlplane_proto_msgTypes[11]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GuestAgentModuleMetrics) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GuestAgentModuleMetrics) ProtoMessage() {}

func (x *GuestAgentModuleMetrics) ProtoReflect() protoreflect.Message {
	mi := &file_agent_controlplane_proto_msgTypes[11]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GuestAgentModuleMetrics.ProtoReflect.Descriptor instead.
func (*GuestAgentModuleMetrics) Descriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{11}
}

func (x *GuestAgentModuleMetrics) GetMetrics() []*GuestAgentModuleMetric {
	if x != nil {
		return x.Metrics
	}
	return nil
}

type GuestAgentModuleMetric struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Name of the metric.
	MetricName GuestAgentModuleMetric_Metric `protobuf:"varint,1,opt,name=metric_name,json=metricName,proto3,enum=agent_controlplane.GuestAgentModuleMetric_Metric" json:"metric_name,omitempty"`
	// Start time is the time the module initialization started.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// End time is the time the module initialization ended.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Status is the status of the module initialization.
	ModuleStatus GuestAgentModuleMetric_ModuleStatus `protobuf:"varint,4,opt,name=module_status,json=moduleStatus,proto3,enum=agent_controlplane.GuestAgentModuleMetric_ModuleStatus" json:"module_status,omitempty"`
	// Enabled indicates whether the module is enabled by customer in the VM or
	// not.
	Enabled bool `protobuf:"varint,5,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Error is the error of the module initialization if it failed.
	// Empty if module initialization succeeded.
	Error         string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GuestAgentModuleMetric) Reset() {
	*x = GuestAgentModuleMetric{}
	mi := &file_agent_controlplane_proto_msgTypes[12]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GuestAgentModuleMetric) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GuestAgentModuleMetric) ProtoMessage() {}

func (x *GuestAgentModuleMetric) ProtoReflect() protoreflect.Message {
	mi := &file_agent_controlplane_proto_msgTypes[12]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use GuestAgentModuleMetric.ProtoReflect.Descriptor instead.
func (*GuestAgentModuleMetric) Descriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{12}
}

func (x *GuestAgentModuleMetric) GetMetricName() GuestAgentModuleMetric_Metric {
	if x != nil {
		return x.MetricName
	}
	return GuestAgentModuleMetric_MODULE_UNSPECIFIED
}

func (x *GuestAgentModuleMetric) GetStartTime() *timestamppb.Timestamp {
	if x != nil {
		return x.StartTime
	}
	return nil
}

func (x *GuestAgentModuleMetric) GetEndTime() *timestamppb.Timestamp {
	if x != nil {
		return x.EndTime
	}
	return nil
}

func (x *GuestAgentModuleMetric) GetModuleStatus() GuestAgentModuleMetric_ModuleStatus {
	if x != nil {
		return x.ModuleStatus
	}
	return GuestAgentModuleMetric_MODULE_STATUS_UNSPECIFIED
}

func (x *GuestAgentModuleMetric) GetEnabled() bool {
	if x != nil {
		return x.Enabled
	}
	return false
}

func (x *GuestAgentModuleMetric) GetError() string {
	if x != nil {
		return x.Error
	}
	return ""
}

type CurrentPluginStates_DaemonPluginState struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The name of the plugin. e.g., "sap-hana-01"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A randomly generated 8 digit hexa string for current plugin. e.g.,
	// "67C5640D"
	CurrentRevisionId string `protobuf:"bytes,2,opt,name=current_revision_id,json=currentRevisionId,proto3" json:"current_revision_id,omitempty"`
	// Status of the current plugin.
	CurrentPluginStatus *CurrentPluginStates_Status `protobuf:"bytes,3,opt,name=current_plugin_status,json=currentPluginStatus,proto3" json:"current_plugin_status,omitempty"`
	// The revision id for the pending plugin. If this pending revision is
	// installed and running, the field value should be empty and
	// current_revision_id should be updated and status set to RUNNING. If
	// there's an error during the process, this value should remain as is and
	// the pending_revision_status should update to an error status.
	PendingRevisionId string `protobuf:"bytes,4,opt,name=pending_revision_id,json=pendingRevisionId,proto3" json:"pending_revision_id,omitempty"`
	// Status of the pending plugin. Available only if pending_revision_id has a
	// value
	PendingPluginStatus *CurrentPluginStates_Status `protobuf:"bytes,5,opt,name=pending_plugin_status,json=pendingPluginStatus,proto3" json:"pending_plugin_status,omitempty"`
	// The metrics of the current plugin.
	CurrentPluginMetrics []*CurrentPluginStates_Metric `protobuf:"bytes,6,rep,name=current_plugin_metrics,json=currentPluginMetrics,proto3" json:"current_plugin_metrics,omitempty"`
	// The hash of the config applied to the plugin during the last start.
	ConfigHash    string `protobuf:"bytes,7,opt,name=config_hash,json=configHash,proto3" json:"config_hash,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CurrentPluginStates_DaemonPluginState) Reset() {
	*x = CurrentPluginStates_DaemonPluginState{}
	mi := &file_agent_controlplane_proto_msgTypes[13]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CurrentPluginStates_DaemonPluginState) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CurrentPluginStates_DaemonPluginState) ProtoMessage() {}

func (x *CurrentPluginStates_DaemonPluginState) ProtoReflect() protoreflect.Message {
	mi := &file_agent_controlplane_proto_msgTypes[13]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CurrentPluginStates_DaemonPluginState.ProtoReflect.Descriptor instead.
func (*CurrentPluginStates_DaemonPluginState) Descriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{6, 0}
}

func (x *CurrentPluginStates_DaemonPluginState) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *CurrentPluginStates_DaemonPluginState) GetCurrentRevisionId() string {
	if x != nil {
		return x.CurrentRevisionId
	}
	return ""
}

func (x *CurrentPluginStates_DaemonPluginState) GetCurrentPluginStatus() *CurrentPluginStates_Status {
	if x != nil {
		return x.CurrentPluginStatus
	}
	return nil
}

func (x *CurrentPluginStates_DaemonPluginState) GetPendingRevisionId() string {
	if x != nil {
		return x.PendingRevisionId
	}
	return ""
}

func (x *CurrentPluginStates_DaemonPluginState) GetPendingPluginStatus() *CurrentPluginStates_Status {
	if x != nil {
		return x.PendingPluginStatus
	}
	return nil
}

func (x *CurrentPluginStates_DaemonPluginState) GetCurrentPluginMetrics() []*CurrentPluginStates_Metric {
	if x != nil {
		return x.CurrentPluginMetrics
	}
	return nil
}

func (x *CurrentPluginStates_DaemonPluginState) GetConfigHash() string {
	if x != nil {
		return x.ConfigHash
	}
	return ""
}

type CurrentPluginStates_OneShotPluginState struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The name of the plugin. e.g., "sap-hana-01"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A randomly generated 8 digit hexa string for current plugin. e.g.,
	// "67C5640D"
	CurrentRevisionId string `protobuf:"bytes,2,opt,name=current_revision_id,json=currentRevisionId,proto3" json:"current_revision_id,omitempty"`
	// Status of the current plugin.
	CurrentPluginStatus *CurrentPluginStates_Status `protobuf:"bytes,3,opt,name=current_plugin_status,json=currentPluginStatus,proto3" json:"current_plugin_status,omitempty"`
	// The revision id for the pending plugin. If this pending revision is
	// installed and running, the field value should be empty and
	// current_revision_id should be updated and status set to RUNNING. If
	// there's an error during the process, this value should remain as is and
	// the pending_revision_status should update to an error status.
	PendingRevisionId string `protobuf:"bytes,4,opt,name=pending_revision_id,json=pendingRevisionId,proto3" json:"pending_revision_id,omitempty"`
	// Status of the pending plugin. Available only if pending_revision_id has a
	// value
	PendingPluginStatus *CurrentPluginStates_Status `protobuf:"bytes,5,opt,name=pending_plugin_status,json=pendingPluginStatus,proto3" json:"pending_plugin_status,omitempty"`
	// The metrics of the current plugin.
	CurrentPluginMetrics []*CurrentPluginStates_Metric `protobuf:"bytes,6,rep,name=current_plugin_metrics,json=currentPluginMetrics,proto3" json:"current_plugin_metrics,omitempty"`
	// The hash of the config applied to the plugin during the last start.
	ConfigHash    string `protobuf:"bytes,7,opt,name=config_hash,json=configHash,proto3" json:"config_hash,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CurrentPluginStates_OneShotPluginState) Reset() {
	*x = CurrentPluginStates_OneShotPluginState{}
	mi := &file_agent_controlplane_proto_msgTypes[14]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CurrentPluginStates_OneShotPluginState) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CurrentPluginStates_OneShotPluginState) ProtoMessage() {}

func (x *CurrentPluginStates_OneShotPluginState) ProtoReflect() protoreflect.Message {
	mi := &file_agent_controlplane_proto_msgTypes[14]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CurrentPluginStates_OneShotPluginState.ProtoReflect.Descriptor instead.
func (*CurrentPluginStates_OneShotPluginState) Descriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{6, 1}
}

func (x *CurrentPluginStates_OneShotPluginState) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *CurrentPluginStates_OneShotPluginState) GetCurrentRevisionId() string {
	if x != nil {
		return x.CurrentRevisionId
	}
	return ""
}

func (x *CurrentPluginStates_OneShotPluginState) GetCurrentPluginStatus() *CurrentPluginStates_Status {
	if x != nil {
		return x.CurrentPluginStatus
	}
	return nil
}

func (x *CurrentPluginStates_OneShotPluginState) GetPendingRevisionId() string {
	if x != nil {
		return x.PendingRevisionId
	}
	return ""
}

func (x *CurrentPluginStates_OneShotPluginState) GetPendingPluginStatus() *CurrentPluginStates_Status {
	if x != nil {
		return x.PendingPluginStatus
	}
	return nil
}

func (x *CurrentPluginStates_OneShotPluginState) GetCurrentPluginMetrics() []*CurrentPluginStates_Metric {
	if x != nil {
		return x.CurrentPluginMetrics
	}
	return nil
}

func (x *CurrentPluginStates_OneShotPluginState) GetConfigHash() string {
	if x != nil {
		return x.ConfigHash
	}
	return ""
}

type CurrentPluginStates_Status struct {
	state  protoimpl.MessageState          `protogen:"open.v1"`
	Status CurrentPluginStates_StatusValue `protobuf:"varint,1,opt,name=status,proto3,enum=agent_controlplane.CurrentPluginStates_StatusValue" json:"status,omitempty"`
	// The response code returned when agent checks plugin health.
	// Zero indicates running normally. Non-zero code indicates an error.  If
	// it's a non-fatal error, the status value should be RUNNING.
	ResponseCode int32 `protobuf:"varint,2,opt,name=response_code,json=responseCode,proto3" json:"response_code,omitempty"`
	// A result message returned when agent checks plugin health explaining
	// potential error reasons.
	Results []string `protobuf:"bytes,3,rep,name=results,proto3" json:"results,omitempty"`
	// The time when the agent checks plugin health and gets the
	// response_code.
	UpdateTime    *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CurrentPluginStates_Status) Reset() {
	*x = CurrentPluginStates_Status{}
	mi := &file_agent_controlplane_proto_msgTypes[15]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CurrentPluginStates_Status) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CurrentPluginStates_Status) ProtoMessage() {}

func (x *CurrentPluginStates_Status) ProtoReflect() protoreflect.Message {
	mi := &file_agent_controlplane_proto_msgTypes[15]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CurrentPluginStates_Status.ProtoReflect.Descriptor instead.
func (*CurrentPluginStates_Status) Descriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{6, 2}
}

func (x *CurrentPluginStates_Status) GetStatus() CurrentPluginStates_StatusValue {
	if x != nil {
		return x.Status
	}
	return CurrentPluginStates_STATE_VALUE_UNSPECIFIED
}

func (x *CurrentPluginStates_Status) GetResponseCode() int32 {
	if x != nil {
		return x.ResponseCode
	}
	return 0
}

func (x *CurrentPluginStates_Status) GetResults() []string {
	if x != nil {
		return x.Results
	}
	return nil
}

func (x *CurrentPluginStates_Status) GetUpdateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.UpdateTime
	}
	return nil
}

// The CPU and Memory usage of the plugin at a specific time.
type CurrentPluginStates_Metric struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The time when the agent checks for metrics.
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The value of the metric.
	// The recent CPU usage of the plugin.
	CpuUsage float32 `protobuf:"fixed32,6,opt,name=cpu_usage,json=cpuUsage,proto3" json:"cpu_usage,omitempty"`
	// The recent memory usage of the plugin.
	MemoryUsage   int64 `protobuf:"varint,7,opt,name=memory_usage,json=memoryUsage,proto3" json:"memory_usage,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CurrentPluginStates_Metric) Reset() {
	*x = CurrentPluginStates_Metric{}
	mi := &file_agent_controlplane_proto_msgTypes[16]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *CurrentPluginStates_Metric) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*CurrentPluginStates_Metric) ProtoMessage() {}

func (x *CurrentPluginStates_Metric) ProtoReflect() protoreflect.Message {
	mi := &file_agent_controlplane_proto_msgTypes[16]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use CurrentPluginStates_Metric.ProtoReflect.Descriptor instead.
func (*CurrentPluginStates_Metric) Descriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{6, 3}
}

func (x *CurrentPluginStates_Metric) GetTimestamp() *timestamppb.Timestamp {
	if x != nil {
		return x.Timestamp
	}
	return nil
}

func (x *CurrentPluginStates_Metric) GetCpuUsage() float32 {
	if x != nil {
		return x.CpuUsage
	}
	return 0
}

func (x *CurrentPluginStates_Metric) GetMemoryUsage() int64 {
	if x != nil {
		return x.MemoryUsage
	}
	return 0
}

type ConfigurePluginStates_ConfigurePlugin struct {
	state         protoimpl.MessageState          `protogen:"open.v1"`
	Action        ConfigurePluginStates_Action    `protobuf:"varint,1,opt,name=action,proto3,enum=agent_controlplane.ConfigurePluginStates_Action" json:"action,omitempty"`
	Plugin        *ConfigurePluginStates_Plugin   `protobuf:"bytes,2,opt,name=plugin,proto3" json:"plugin,omitempty"`
	Manifest      *ConfigurePluginStates_Manifest `protobuf:"bytes,3,opt,name=manifest,proto3" json:"manifest,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ConfigurePluginStates_ConfigurePlugin) Reset() {
	*x = ConfigurePluginStates_ConfigurePlugin{}
	mi := &file_agent_controlplane_proto_msgTypes[17]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ConfigurePluginStates_ConfigurePlugin) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ConfigurePluginStates_ConfigurePlugin) ProtoMessage() {}

func (x *ConfigurePluginStates_ConfigurePlugin) ProtoReflect() protoreflect.Message {
	mi := &file_agent_controlplane_proto_msgTypes[17]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ConfigurePluginStates_ConfigurePlugin.ProtoReflect.Descriptor instead.
func (*ConfigurePluginStates_ConfigurePlugin) Descriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{7, 0}
}

func (x *ConfigurePluginStates_ConfigurePlugin) GetAction() ConfigurePluginStates_Action {
	if x != nil {
		return x.Action
	}
	return ConfigurePluginStates_ACTION_UNSPECIFIED
}

func (x *ConfigurePluginStates_ConfigurePlugin) GetPlugin() *ConfigurePluginStates_Plugin {
	if x != nil {
		return x.Plugin
	}
	return nil
}

func (x *ConfigurePluginStates_ConfigurePlugin) GetManifest() *ConfigurePluginStates_Manifest {
	if x != nil {
		return x.Manifest
	}
	return nil
}

type ConfigurePluginStates_Plugin struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The name of the plugin. e.g., "sap-hana-01"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A system generated string.
	RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"`
	// The gcs signed url is passed to the Guest Agent to download the plugin
	// data. Continuous State Enforcement system gets the url from PDM.
	GcsSignedUrl string `protobuf:"bytes,3,opt,name=gcs_signed_url,json=gcsSignedUrl,proto3" json:"gcs_signed_url,omitempty"`
	// Path to the binary to execute in the plugin archive.
	EntryPoint string `protobuf:"bytes,4,opt,name=entry_point,json=entryPoint,proto3" json:"entry_point,omitempty"`
	// Arguments (subcommands or extra flags like "--foo=bar") to pass in when
	// launching the plugin process.
	//
	// For the payload sent to the plugin in the GuestAgentPlugin.Start()
	// request, see `config` below.
	Arguments []string `protobuf:"bytes,5,rep,name=arguments,proto3" json:"arguments,omitempty"`
	// The SHA256 checksum of the plugin data.
	Checksum      string `protobuf:"bytes,6,opt,name=checksum,proto3" json:"checksum,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ConfigurePluginStates_Plugin) Reset() {
	*x = ConfigurePluginStates_Plugin{}
	mi := &file_agent_controlplane_proto_msgTypes[18]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ConfigurePluginStates_Plugin) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ConfigurePluginStates_Plugin) ProtoMessage() {}

func (x *ConfigurePluginStates_Plugin) ProtoReflect() protoreflect.Message {
	mi := &file_agent_controlplane_proto_msgTypes[18]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ConfigurePluginStates_Plugin.ProtoReflect.Descriptor instead.
func (*ConfigurePluginStates_Plugin) Descriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{7, 1}
}

func (x *ConfigurePluginStates_Plugin) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *ConfigurePluginStates_Plugin) GetRevisionId() string {
	if x != nil {
		return x.RevisionId
	}
	return ""
}

func (x *ConfigurePluginStates_Plugin) GetGcsSignedUrl() string {
	if x != nil {
		return x.GcsSignedUrl
	}
	return ""
}

func (x *ConfigurePluginStates_Plugin) GetEntryPoint() string {
	if x != nil {
		return x.EntryPoint
	}
	return ""
}

func (x *ConfigurePluginStates_Plugin) GetArguments() []string {
	if x != nil {
		return x.Arguments
	}
	return nil
}

func (x *ConfigurePluginStates_Plugin) GetChecksum() string {
	if x != nil {
		return x.Checksum
	}
	return ""
}

type ConfigurePluginStates_Manifest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The maximum allowed memory usage of the plugin in bytes.
	// If a plugin exceeds the memory usage, the guest agent would restart the
	// plugin.
	MaxMemoryUsageBytes int64 `protobuf:"varint,1,opt,name=max_memory_usage_bytes,json=maxMemoryUsageBytes,proto3" json:"max_memory_usage_bytes,omitempty"`
	// The maximum allowed percent CPU usage of the plugin.
	// This usage is the percentage of CPU cycles the plugin is allowed to use
	// per time period. If the plugin exceeds the quota, the plugin will be
	// throttled until the next time period.
	MaxCpuUsagePercentage int32 `protobuf:"varint,2,opt,name=max_cpu_usage_percentage,json=maxCpuUsagePercentage,proto3" json:"max_cpu_usage_percentage,omitempty"`
	// The interval with which to check the plugin's memory and CPU usage.
	MetricsInterval *durationpb.Duration `protobuf:"bytes,3,opt,name=metrics_interval,json=metricsInterval,proto3" json:"metrics_interval,omitempty"`
	// The timeout for downloading the plugin data.
	DownloadTimeout *durationpb.Duration `protobuf:"bytes,4,opt,name=download_timeout,json=downloadTimeout,proto3" json:"download_timeout,omitempty"`
	// The number of attempts for downloading the plugin data.
	DownloadAttemptCount int32 `protobuf:"varint,5,opt,name=download_attempt_count,json=downloadAttemptCount,proto3" json:"download_attempt_count,omitempty"`
	// The timeout to wait for a plugin to start running.
	StartTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=start_timeout,json=startTimeout,proto3" json:"start_timeout,omitempty"`
	// The number of attempts for starting a plugin.
	StartAttemptCount int32 `protobuf:"varint,7,opt,name=start_attempt_count,json=startAttemptCount,proto3" json:"start_attempt_count,omitempty"`
	// The timeout to wait for a plugin to stop running.
	// If the timeout is exceeded, the guest agent will force kill the process
	// so no stop attempts needed.
	StopTimeout *durationpb.Duration `protobuf:"bytes,8,opt,name=stop_timeout,json=stopTimeout,proto3" json:"stop_timeout,omitempty"`
	// Maximum number of datapoints to collect/return. If count reaches this
	// limit before metrics are flushed then oldest datapoints are purged.
	MaxMetricDatapoints uint64 `protobuf:"varint,9,opt,name=max_metric_datapoints,json=maxMetricDatapoints,proto3" json:"max_metric_datapoints,omitempty"`
	// This is any additional payload handed off to the plugin on every start
	// request. Payload is optional and defined by the service and plugin
	// itself.
	//
	// Types that are valid to be assigned to Config:
	//
	//	*ConfigurePluginStates_Manifest_StringConfig
	//	*ConfigurePluginStates_Manifest_StructConfig
	Config isConfigurePluginStates_Manifest_Config `protobuf_oneof:"config"`
	// The exponential backoff factor for retrying a failed action.
	// If the value is 2, then the first retry will be 1 second, the second
	// retry will be 2 seconds, the third retry will be 4 seconds, etc.
	StartExpBackoffFactor int32 `protobuf:"varint,12,opt,name=start_exp_backoff_factor,json=startExpBackoffFactor,proto3" json:"start_exp_backoff_factor,omitempty"`
	// The type of the plugin.
	PluginType PluginType `protobuf:"varint,13,opt,name=plugin_type,json=pluginType,proto3,enum=agent_controlplane.PluginType" json:"plugin_type,omitempty"`
	// The installation type of the plugin.
	PluginInstallationType PluginInstallationType `protobuf:"varint,14,opt,name=plugin_installation_type,json=pluginInstallationType,proto3,enum=agent_controlplane.PluginInstallationType" json:"plugin_installation_type,omitempty"`
	// The execution model of the plugin. This is used to determine how the
	// plugin should be executed.
	ExecutionModel *ExecutionModel `protobuf:"bytes,15,opt,name=execution_model,json=executionModel,proto3" json:"execution_model,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *ConfigurePluginStates_Manifest) Reset() {
	*x = ConfigurePluginStates_Manifest{}
	mi := &file_agent_controlplane_proto_msgTypes[19]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ConfigurePluginStates_Manifest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ConfigurePluginStates_Manifest) ProtoMessage() {}

func (x *ConfigurePluginStates_Manifest) ProtoReflect() protoreflect.Message {
	mi := &file_agent_controlplane_proto_msgTypes[19]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ConfigurePluginStates_Manifest.ProtoReflect.Descriptor instead.
func (*ConfigurePluginStates_Manifest) Descriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{7, 2}
}

func (x *ConfigurePluginStates_Manifest) GetMaxMemoryUsageBytes() int64 {
	if x != nil {
		return x.MaxMemoryUsageBytes
	}
	return 0
}

func (x *ConfigurePluginStates_Manifest) GetMaxCpuUsagePercentage() int32 {
	if x != nil {
		return x.MaxCpuUsagePercentage
	}
	return 0
}

func (x *ConfigurePluginStates_Manifest) GetMetricsInterval() *durationpb.Duration {
	if x != nil {
		return x.MetricsInterval
	}
	return nil
}

func (x *ConfigurePluginStates_Manifest) GetDownloadTimeout() *durationpb.Duration {
	if x != nil {
		return x.DownloadTimeout
	}
	return nil
}

func (x *ConfigurePluginStates_Manifest) GetDownloadAttemptCount() int32 {
	if x != nil {
		return x.DownloadAttemptCount
	}
	return 0
}

func (x *ConfigurePluginStates_Manifest) GetStartTimeout() *durationpb.Duration {
	if x != nil {
		return x.StartTimeout
	}
	return nil
}

func (x *ConfigurePluginStates_Manifest) GetStartAttemptCount() int32 {
	if x != nil {
		return x.StartAttemptCount
	}
	return 0
}

func (x *ConfigurePluginStates_Manifest) GetStopTimeout() *durationpb.Duration {
	if x != nil {
		return x.StopTimeout
	}
	return nil
}

func (x *ConfigurePluginStates_Manifest) GetMaxMetricDatapoints() uint64 {
	if x != nil {
		return x.MaxMetricDatapoints
	}
	return 0
}

func (x *ConfigurePluginStates_Manifest) GetConfig() isConfigurePluginStates_Manifest_Config {
	if x != nil {
		return x.Config
	}
	return nil
}

func (x *ConfigurePluginStates_Manifest) GetStringConfig() string {
	if x != nil {
		if x, ok := x.Config.(*ConfigurePluginStates_Manifest_StringConfig); ok {
			return x.StringConfig
		}
	}
	return ""
}

func (x *ConfigurePluginStates_Manifest) GetStructConfig() *structpb.Struct {
	if x != nil {
		if x, ok := x.Config.(*ConfigurePluginStates_Manifest_StructConfig); ok {
			return x.StructConfig
		}
	}
	return nil
}

func (x *ConfigurePluginStates_Manifest) GetStartExpBackoffFactor() int32 {
	if x != nil {
		return x.StartExpBackoffFactor
	}
	return 0
}

func (x *ConfigurePluginStates_Manifest) GetPluginType() PluginType {
	if x != nil {
		return x.PluginType
	}
	return PluginType_PLUGIN_TYPE_UNSPECIFIED
}

func (x *ConfigurePluginStates_Manifest) GetPluginInstallationType() PluginInstallationType {
	if x != nil {
		return x.PluginInstallationType
	}
	return PluginInstallationType_DYNAMIC_INSTALLATION
}

func (x *ConfigurePluginStates_Manifest) GetExecutionModel() *ExecutionModel {
	if x != nil {
		return x.ExecutionModel
	}
	return nil
}

type isConfigurePluginStates_Manifest_Config interface {
	isConfigurePluginStates_Manifest_Config()
}

type ConfigurePluginStates_Manifest_StringConfig struct {
	// String configuration. Any string payload that the plugin understands.
	StringConfig string `protobuf:"bytes,10,opt,name=string_config,json=stringConfig,proto3,oneof"`
}

type ConfigurePluginStates_Manifest_StructConfig struct {
	// Struct configuration. Usually used for reading file based configuration
	// like JSON or yaml.
	StructConfig *structpb.Struct `protobuf:"bytes,11,opt,name=struct_config,json=structConfig,proto3,oneof"`
}

func (*ConfigurePluginStates_Manifest_StringConfig) isConfigurePluginStates_Manifest_Config() {}

func (*ConfigurePluginStates_Manifest_StructConfig) isConfigurePluginStates_Manifest_Config() {}

type ExecutionModel_Daemon struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ExecutionModel_Daemon) Reset() {
	*x = ExecutionModel_Daemon{}
	mi := &file_agent_controlplane_proto_msgTypes[20]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ExecutionModel_Daemon) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ExecutionModel_Daemon) ProtoMessage() {}

func (x *ExecutionModel_Daemon) ProtoReflect() protoreflect.Message {
	mi := &file_agent_controlplane_proto_msgTypes[20]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ExecutionModel_Daemon.ProtoReflect.Descriptor instead.
func (*ExecutionModel_Daemon) Descriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{8, 0}
}

type ExecutionModel_OneShot struct {
	state    protoimpl.MessageState   `protogen:"open.v1"`
	Triggers *ExecutionModel_Triggers `protobuf:"bytes,1,opt,name=triggers,proto3" json:"triggers,omitempty"`
	// The max duration plugin is allowed to run.
	ExecutionTimeout *durationpb.Duration `protobuf:"bytes,2,opt,name=execution_timeout,json=executionTimeout,proto3" json:"execution_timeout,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *ExecutionModel_OneShot) Reset() {
	*x = ExecutionModel_OneShot{}
	mi := &file_agent_controlplane_proto_msgTypes[21]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ExecutionModel_OneShot) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ExecutionModel_OneShot) ProtoMessage() {}

func (x *ExecutionModel_OneShot) ProtoReflect() protoreflect.Message {
	mi := &file_agent_controlplane_proto_msgTypes[21]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ExecutionModel_OneShot.ProtoReflect.Descriptor instead.
func (*ExecutionModel_OneShot) Descriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{8, 1}
}

func (x *ExecutionModel_OneShot) GetTriggers() *ExecutionModel_Triggers {
	if x != nil {
		return x.Triggers
	}
	return nil
}

func (x *ExecutionModel_OneShot) GetExecutionTimeout() *durationpb.Duration {
	if x != nil {
		return x.ExecutionTimeout
	}
	return nil
}

type ExecutionModel_Triggers struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// If true, the plugin runs every time when the instance boots, similar to
	// startup script.
	Startup bool `protobuf:"varint,1,opt,name=startup,proto3" json:"startup,omitempty"`
	// If true, the plugin runs only on the very first startup of an instance,
	// triggered by an agent detecting a new instance ID.
	Firstboot bool `protobuf:"varint,2,opt,name=firstboot,proto3" json:"firstboot,omitempty"`
	// A simple recurring schedule in minutes. Schedule begins at instance
	// startup.
	Interval      *durationpb.Duration `protobuf:"bytes,3,opt,name=interval,proto3" json:"interval,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ExecutionModel_Triggers) Reset() {
	*x = ExecutionModel_Triggers{}
	mi := &file_agent_controlplane_proto_msgTypes[22]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *ExecutionModel_Triggers) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ExecutionModel_Triggers) ProtoMessage() {}

func (x *ExecutionModel_Triggers) ProtoReflect() protoreflect.Message {
	mi := &file_agent_controlplane_proto_msgTypes[22]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ExecutionModel_Triggers.ProtoReflect.Descriptor instead.
func (*ExecutionModel_Triggers) Descriptor() ([]byte, []int) {
	return file_agent_controlplane_proto_rawDescGZIP(), []int{8, 2}
}

func (x *ExecutionModel_Triggers) GetStartup() bool {
	if x != nil {
		return x.Startup
	}
	return false
}

func (x *ExecutionModel_Triggers) GetFirstboot() bool {
	if x != nil {
		return x.Firstboot
	}
	return false
}

func (x *ExecutionModel_Triggers) GetInterval() *durationpb.Duration {
	if x != nil {
		return x.Interval
	}
	return nil
}

var File_agent_controlplane_proto protoreflect.FileDescriptor

const file_agent_controlplane_proto_rawDesc = "" +
	"\n" +
	"\x18agent_controlplane.proto\x12\x12agent_controlplane\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\";\n" +
	"\fPlatformInfo\x12\x15\n" +
	"\x06on_gce\x18\x01 \x01(\bR\x05onGce\x12\x14\n" +
	"\x05error\x18\x02 \x01(\tR\x05error\"\x0e\n" +
	"\fGetAgentInfo\"\xe4\x02\n" +
	"\tAgentInfo\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n" +
	"\aversion\x18\x02 \x01(\tR\aversion\x12\"\n" +
	"\farchitecture\x18\x03 \x01(\tR\farchitecture\x12\\\n" +
	"\x12agent_capabilities\x18\x04 \x03(\x0e2-.agent_controlplane.AgentInfo.AgentCapabilityR\x11agentCapabilities\"\xa6\x01\n" +
	"\x0fAgentCapability\x12 \n" +
	"\x1cAGENT_CAPABILITY_UNSPECIFIED\x10\x00\x12\x12\n" +
	"\x0eGET_AGENT_INFO\x10\x01\x12\x0f\n" +
	"\vGET_OS_INFO\x10\x02\x12\x16\n" +
	"\x12LIST_PLUGIN_STATES\x10\x03\x12\x1b\n" +
	"\x17CONFIGURE_PLUGIN_STATES\x10\x04\x12\x17\n" +
	"\x13APPLY_PLUGIN_CONFIG\x10\x05\"\v\n" +
	"\tGetOSInfo\"\xe4\x01\n" +
	"\x06OSInfo\x12\x12\n" +
	"\x04type\x18\x02 \x01(\tR\x04type\x12\x1d\n" +
	"\n" +
	"short_name\x18\x03 \x01(\tR\tshortName\x12\x1b\n" +
	"\tlong_name\x18\x04 \x01(\tR\blongName\x12\x18\n" +
	"\aversion\x18\x05 \x01(\tR\aversion\x12\"\n" +
	"\farchitecture\x18\x06 \x01(\tR\farchitecture\x12%\n" +
	"\x0ekernel_release\x18\a \x01(\tR\rkernelRelease\x12%\n" +
	"\x0ekernel_version\x18\b \x01(\tR\rkernelVersion\"\x12\n" +
	"\x10ListPluginStates\"\xc2\r\n" +
	"\x13CurrentPluginStates\x12k\n" +
	"\x14daemon_plugin_states\x18\x01 \x03(\v29.agent_controlplane.CurrentPluginStates.DaemonPluginStateR\x12daemonPluginStates\x12o\n" +
	"\x16one_shot_plugin_states\x18\x02 \x03(\v2:.agent_controlplane.CurrentPluginStates.OneShotPluginStateR\x13oneShotPluginStates\x1a\xd6\x03\n" +
	"\x11DaemonPluginState\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12.\n" +
	"\x13current_revision_id\x18\x02 \x01(\tR\x11currentRevisionId\x12b\n" +
	"\x15current_plugin_status\x18\x03 \x01(\v2..agent_controlplane.CurrentPluginStates.StatusR\x13currentPluginStatus\x12.\n" +
	"\x13pending_revision_id\x18\x04 \x01(\tR\x11pendingRevisionId\x12b\n" +
	"\x15pending_plugin_status\x18\x05 \x01(\v2..agent_controlplane.CurrentPluginStates.StatusR\x13pendingPluginStatus\x12d\n" +
	"\x16current_plugin_metrics\x18\x06 \x03(\v2..agent_controlplane.CurrentPluginStates.MetricR\x14currentPluginMetrics\x12\x1f\n" +
	"\vconfig_hash\x18\a \x01(\tR\n" +
	"configHash\x1a\xd7\x03\n" +
	"\x12OneShotPluginState\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12.\n" +
	"\x13current_revision_id\x18\x02 \x01(\tR\x11currentRevisionId\x12b\n" +
	"\x15current_plugin_status\x18\x03 \x01(\v2..agent_controlplane.CurrentPluginStates.StatusR\x13currentPluginStatus\x12.\n" +
	"\x13pending_revision_id\x18\x04 \x01(\tR\x11pendingRevisionId\x12b\n" +
	"\x15pending_plugin_status\x18\x05 \x01(\v2..agent_controlplane.CurrentPluginStates.StatusR\x13pendingPluginStatus\x12d\n" +
	"\x16current_plugin_metrics\x18\x06 \x03(\v2..agent_controlplane.CurrentPluginStates.MetricR\x14currentPluginMetrics\x12\x1f\n" +
	"\vconfig_hash\x18\a \x01(\tR\n" +
	"configHash\x1a\xd1\x01\n" +
	"\x06Status\x12K\n" +
	"\x06status\x18\x01 \x01(\x0e23.agent_controlplane.CurrentPluginStates.StatusValueR\x06status\x12#\n" +
	"\rresponse_code\x18\x02 \x01(\x05R\fresponseCode\x12\x18\n" +
	"\aresults\x18\x03 \x03(\tR\aresults\x12;\n" +
	"\vupdate_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\n" +
	"updateTime\x1a\x82\x01\n" +
	"\x06Metric\x128\n" +
	"\ttimestamp\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\ttimestamp\x12\x1b\n" +
	"\tcpu_usage\x18\x06 \x01(\x02R\bcpuUsage\x12!\n" +
	"\fmemory_usage\x18\a \x01(\x03R\vmemoryUsage\"\xc0\x01\n" +
	"\vStatusValue\x12\x1b\n" +
	"\x17STATE_VALUE_UNSPECIFIED\x10\x00\x12\f\n" +
	"\bSTARTING\x10\x01\x12\v\n" +
	"\aRUNNING\x10\x02\x12\f\n" +
	"\bSTOPPING\x10\x03\x12\v\n" +
	"\aSTOPPED\x10\x04\x12\v\n" +
	"\aCRASHED\x10\x05\x12\x0e\n" +
	"\n" +
	"INSTALLING\x10\x06\x12\x12\n" +
	"\x0eINSTALL_FAILED\x10\a\x12\x17\n" +
	"\x13EXECUTION_COMPLETED\x10\b\x12\x14\n" +
	"\x10EXECUTION_FAILED\x10\t\"\xbb\f\n" +
	"\x15ConfigurePluginStates\x12f\n" +
	"\x11configure_plugins\x18\x01 \x03(\v29.agent_controlplane.ConfigurePluginStates.ConfigurePluginR\x10configurePlugins\x1a\xf5\x01\n" +
	"\x0fConfigurePlugin\x12H\n" +
	"\x06action\x18\x01 \x01(\x0e20.agent_controlplane.ConfigurePluginStates.ActionR\x06action\x12H\n" +
	"\x06plugin\x18\x02 \x01(\v20.agent_controlplane.ConfigurePluginStates.PluginR\x06plugin\x12N\n" +
	"\bmanifest\x18\x03 \x01(\v22.agent_controlplane.ConfigurePluginStates.ManifestR\bmanifest\x1a\xbe\x01\n" +
	"\x06Plugin\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12\x1f\n" +
	"\vrevision_id\x18\x02 \x01(\tR\n" +
	"revisionId\x12$\n" +
	"\x0egcs_signed_url\x18\x03 \x01(\tR\fgcsSignedUrl\x12\x1f\n" +
	"\ventry_point\x18\x04 \x01(\tR\n" +
	"entryPoint\x12\x1c\n" +
	"\targuments\x18\x05 \x03(\tR\targuments\x12\x1a\n" +
	"\bchecksum\x18\x06 \x01(\tR\bchecksum\x1a\xba\a\n" +
	"\bManifest\x123\n" +
	"\x16max_memory_usage_bytes\x18\x01 \x01(\x03R\x13maxMemoryUsageBytes\x127\n" +
	"\x18max_cpu_usage_percentage\x18\x02 \x01(\x05R\x15maxCpuUsagePercentage\x12D\n" +
	"\x10metrics_interval\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\x0fmetricsInterval\x12D\n" +
	"\x10download_timeout\x18\x04 \x01(\v2\x19.google.protobuf.DurationR\x0fdownloadTimeout\x124\n" +
	"\x16download_attempt_count\x18\x05 \x01(\x05R\x14downloadAttemptCount\x12>\n" +
	"\rstart_timeout\x18\x06 \x01(\v2\x19.google.protobuf.DurationR\fstartTimeout\x12.\n" +
	"\x13start_attempt_count\x18\a \x01(\x05R\x11startAttemptCount\x12<\n" +
	"\fstop_timeout\x18\b \x01(\v2\x19.google.protobuf.DurationR\vstopTimeout\x122\n" +
	"\x15max_metric_datapoints\x18\t \x01(\x04R\x13maxMetricDatapoints\x12%\n" +
	"\rstring_config\x18\n" +
	" \x01(\tH\x00R\fstringConfig\x12>\n" +
	"\rstruct_config\x18\v \x01(\v2\x17.google.protobuf.StructH\x00R\fstructConfig\x127\n" +
	"\x18start_exp_backoff_factor\x18\f \x01(\x05R\x15startExpBackoffFactor\x12?\n" +
	"\vplugin_type\x18\r \x01(\x0e2\x1e.agent_controlplane.PluginTypeR\n" +
	"pluginType\x12d\n" +
	"\x18plugin_installation_type\x18\x0e \x01(\x0e2*.agent_controlplane.PluginInstallationTypeR\x16pluginInstallationType\x12K\n" +
	"\x0fexecution_model\x18\x0f \x01(\v2\".agent_controlplane.ExecutionModelR\x0eexecutionModelB\b\n" +
	"\x06config\"D\n" +
	"\x06Action\x12\x16\n" +
	"\x12ACTION_UNSPECIFIED\x10\x00\x12\v\n" +
	"\aINSTALL\x10\x01\x12\n" +
	"\n" +
	"\x06REMOVE\x10\x02\x12\t\n" +
	"\x05APPLY\x10\x03\"\xf9\x06\n" +
	"\x0eExecutionModel\x12G\n" +
	"\n" +
	"on_default\x18\x01 \x01(\x0e2(.agent_controlplane.ExecutionModel.StateR\tonDefault\x12C\n" +
	"\bon_match\x18\x02 \x01(\x0e2(.agent_controlplane.ExecutionModel.StateR\aonMatch\x12Q\n" +
	"\fmatch_policy\x18\x03 \x01(\x0e2..agent_controlplane.ExecutionModel.MatchPolicyR\vmatchPolicy\x12/\n" +
	"\x05rules\x18\x04 \x03(\v2\x19.agent_controlplane.RulesR\x05rules\x12#\n" +
	"\rboot_critical\x18\x05 \x01(\bR\fbootCritical\x12G\n" +
	"\bone_shot\x18\x06 \x01(\v2*.agent_controlplane.ExecutionModel.OneShotH\x00R\aoneShot\x12C\n" +
	"\x06daemon\x18\a \x01(\v2).agent_controlplane.ExecutionModel.DaemonH\x00R\x06daemon\x1a\b\n" +
	"\x06Daemon\x1a\x9a\x01\n" +
	"\aOneShot\x12G\n" +
	"\btriggers\x18\x01 \x01(\v2+.agent_controlplane.ExecutionModel.TriggersR\btriggers\x12F\n" +
	"\x11execution_timeout\x18\x02 \x01(\v2\x19.google.protobuf.DurationR\x10executionTimeout\x1ay\n" +
	"\bTriggers\x12\x18\n" +
	"\astartup\x18\x01 \x01(\bR\astartup\x12\x1c\n" +
	"\tfirstboot\x18\x02 \x01(\bR\tfirstboot\x125\n" +
	"\binterval\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\binterval\"9\n" +
	"\x05State\x12\x15\n" +
	"\x11STATE_UNSPECIFIED\x10\x00\x12\v\n" +
	"\aENABLED\x10\x01\x12\f\n" +
	"\bDISABLED\x10\x02\"=\n" +
	"\vMatchPolicy\x12\x1c\n" +
	"\x18MATCH_POLICY_UNSPECIFIED\x10\x00\x12\a\n" +
	"\x03ALL\x10\x01\x12\a\n" +
	"\x03ANY\x10\x02B\x06\n" +
	"\x04type\"\x89\x03\n" +
	"\x05Rules\x125\n" +
	"\x05scope\x18\x01 \x01(\x0e2\x1f.agent_controlplane.Rules.ScopeR\x05scope\x12\x1c\n" +
	"\tattribute\x18\x02 \x01(\tR\tattribute\x12]\n" +
	"\x13comparison_operator\x18\x03 \x01(\x0e2,.agent_controlplane.Rules.ComparisonOperatorR\x12comparisonOperator\x12,\n" +
	"\x05value\x18\x04 \x01(\v2\x16.google.protobuf.ValueR\x05value\"V\n" +
	"\x12ComparisonOperator\x12\x18\n" +
	"\x14OPERATOR_UNSPECIFIED\x10\x00\x12\t\n" +
	"\x05EQUAL\x10\x01\x12\r\n" +
	"\tNOT_EQUAL\x10\x02\x12\f\n" +
	"\bCONTAINS\x10\x03\"F\n" +
	"\x05Scope\x12\x19\n" +
	"\x15NAMESPACE_UNSPECIFIED\x10\x00\x12\x06\n" +
	"\x02OS\x10\x01\x12\f\n" +
	"\bINSTANCE\x10\x02\x12\f\n" +
	"\bMETADATA\x10\x03\"\xdf\x05\n" +
	"\x12PluginEventMessage\x12\x1f\n" +
	"\vrevision_id\x18\x01 \x01(\tR\n" +
	"revisionId\x12\x1f\n" +
	"\vplugin_name\x18\x02 \x01(\tR\n" +
	"pluginName\x12U\n" +
	"\n" +
	"event_type\x18\x03 \x01(\x0e26.agent_controlplane.PluginEventMessage.PluginEventTypeR\teventType\x12C\n" +
	"\x0fevent_timestamp\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\x0eeventTimestamp\x12(\n" +
	"\revent_details\x18\x05 \x01(\fH\x00R\feventDetails\x88\x01\x01\"\xae\x03\n" +
	"\x0fPluginEventType\x12!\n" +
	"\x1dPLUGIN_EVENT_TYPE_UNSPECIFIED\x10\x00\x12\x19\n" +
	"\x15PLUGIN_CONFIG_INSTALL\x10\x01\x12\x18\n" +
	"\x14PLUGIN_CONFIG_REMOVE\x10\x02\x12\x14\n" +
	"\x10PLUGIN_INSTALLED\x10\x03\x12\x12\n" +
	"\x0ePLUGIN_STARTED\x10\x04\x12\x12\n" +
	"\x0ePLUGIN_REMOVED\x10\x05\x12\x12\n" +
	"\x0ePLUGIN_STOPPED\x10\x06\x12\x12\n" +
	"\x0ePLUGIN_CRASHED\x10\a\x12\x19\n" +
	"\x15PLUGIN_INSTALL_FAILED\x10\b\x12\x17\n" +
	"\x13PLUGIN_START_FAILED\x10\t\x12\x18\n" +
	"\x14PLUGIN_REMOVE_FAILED\x10\n" +
	"\x12\x17\n" +
	"\x13PLUGIN_CONFIG_APPLY\x10\v\x12\x19\n" +
	"\x15PLUGIN_CONFIG_APPLIED\x10\f\x12\x1e\n" +
	"\x1aPLUGIN_CONFIG_APPLY_FAILED\x10\r\x12\x1e\n" +
	"\x1aPLUGIN_EXECUTION_COMPLETED\x10\x0e\x12\x1b\n" +
	"\x17PLUGIN_EXECUTION_FAILED\x10\x0fB\x10\n" +
	"\x0e_event_details\"_\n" +
	"\x17GuestAgentModuleMetrics\x12D\n" +
	"\ametrics\x18\x01 \x03(\v2*.agent_controlplane.GuestAgentModuleMetricR\ametrics\"\xcd\b\n" +
	"\x16GuestAgentModuleMetric\x12R\n" +
	"\vmetric_name\x18\x01 \x01(\x0e21.agent_controlplane.GuestAgentModuleMetric.MetricR\n" +
	"metricName\x129\n" +
	"\n" +
	"start_time\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\tstartTime\x125\n" +
	"\bend_time\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\aendTime\x12\\\n" +
	"\rmodule_status\x18\x04 \x01(\x0e27.agent_controlplane.GuestAgentModuleMetric.ModuleStatusR\fmoduleStatus\x12\x18\n" +
	"\aenabled\x18\x05 \x01(\bR\aenabled\x12\x14\n" +
	"\x05error\x18\x06 \x01(\tR\x05error\"\xf2\x04\n" +
	"\x06Metric\x12\x16\n" +
	"\x12MODULE_UNSPECIFIED\x10\x00\x12\x1a\n" +
	"\x16NETWORK_INITIALIZATION\x10\x01\x12\x1a\n" +
	"\x16IOSCHED_INITIALIZATION\x10\x02\x12\x1f\n" +
	"\x1bAGENT_CRYPTO_INITIALIZATION\x10\x03\x12\x18\n" +
	"\x14CLOCK_INITIALIZATION\x10\x04\x12\x1a\n" +
	"\x16COMMAND_INITIALIZATION\x10\x05\x12\x1e\n" +
	"\x1aDIAGNOSTICS_INITIALIZATION\x10\x06\x12\x1d\n" +
	"\x19FIRST_BOOT_INITIALIZATION\x10\a\x12\x1c\n" +
	"\x18HOST_NAME_INITIALIZATION\x10\b\x12#\n" +
	"\x1fMETADATA_SSH_KEY_INITIALIZATION\x10\t\x12\x1b\n" +
	"\x17OS_LOGIN_INITIALIZATION\x10\n" +
	"\x12\x1e\n" +
	"\x1aPLAT_SCRIPT_INITIALIZATION\x10\v\x12\x1b\n" +
	"\x17SNAPSHOT_INITIALIZATION\x10\f\x12\x1c\n" +
	"\x18TELEMETRY_INITIALIZATION\x10\r\x12(\n" +
	"$WORKLOAD_CERT_REFRESH_INITIALIZATION\x10\x0e\x12$\n" +
	" WSFC_HEALTH_CHECK_INITIALIZATION\x10\x0f\x12\x1a\n" +
	"\x16WINDOWS_PASSWORD_RESET\x10\x10\x12\x1e\n" +
	"\x1aCORE_PLUGIN_INITIALIZATION\x10\x11\x12'\n" +
	"#GUEST_COMPAT_MANAGER_INITIALIZATION\x10\x12\x12\x12\n" +
	"\x0ePLUGIN_CLEANUP\x10\x13\"j\n" +
	"\fModuleStatus\x12\x1d\n" +
	"\x19MODULE_STATUS_UNSPECIFIED\x10\x00\x12\x12\n" +
	"\x0eSTATUS_SKIPPED\x10\x01\x12\x11\n" +
	"\rSTATUS_FAILED\x10\x02\x12\x14\n" +
	"\x10STATUS_SUCCEEDED\x10\x03*C\n" +
	"\n" +
	"PluginType\x12\x1b\n" +
	"\x17PLUGIN_TYPE_UNSPECIFIED\x10\x00\x12\n" +
	"\n" +
	"\x06DAEMON\x10\x01\x12\f\n" +
	"\bONE_SHOT\x10\x02*J\n" +
	"\x16PluginInstallationType\x12\x18\n" +
	"\x14DYNAMIC_INSTALLATION\x10\x00\x12\x16\n" +
	"\x12LOCAL_INSTALLATION\x10\x01B\x18Z\x16google_guest_agent/acpb\x06proto3"

var (
	file_agent_controlplane_proto_rawDescOnce sync.Once
	file_agent_controlplane_proto_rawDescData []byte
)

func file_agent_controlplane_proto_rawDescGZIP() []byte {
	file_agent_controlplane_proto_rawDescOnce.Do(func() {
		file_agent_controlplane_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_agent_controlplane_proto_rawDesc), len(file_agent_controlplane_proto_rawDesc)))
	})
	return file_agent_controlplane_proto_rawDescData
}

var file_agent_controlplane_proto_enumTypes = make([]protoimpl.EnumInfo, 12)
var file_agent_controlplane_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
var file_agent_controlplane_proto_goTypes = []any{
	(PluginType)(0),                                // 0: agent_controlplane.PluginType
	(PluginInstallationType)(0),                    // 1: agent_controlplane.PluginInstallationType
	(AgentInfo_AgentCapability)(0),                 // 2: agent_controlplane.AgentInfo.AgentCapability
	(CurrentPluginStates_StatusValue)(0),           // 3: agent_controlplane.CurrentPluginStates.StatusValue
	(ConfigurePluginStates_Action)(0),              // 4: agent_controlplane.ConfigurePluginStates.Action
	(ExecutionModel_State)(0),                      // 5: agent_controlplane.ExecutionModel.State
	(ExecutionModel_MatchPolicy)(0),                // 6: agent_controlplane.ExecutionModel.MatchPolicy
	(Rules_ComparisonOperator)(0),                  // 7: agent_controlplane.Rules.ComparisonOperator
	(Rules_Scope)(0),                               // 8: agent_controlplane.Rules.Scope
	(PluginEventMessage_PluginEventType)(0),        // 9: agent_controlplane.PluginEventMessage.PluginEventType
	(GuestAgentModuleMetric_Metric)(0),             // 10: agent_controlplane.GuestAgentModuleMetric.Metric
	(GuestAgentModuleMetric_ModuleStatus)(0),       // 11: agent_controlplane.GuestAgentModuleMetric.ModuleStatus
	(*PlatformInfo)(nil),                           // 12: agent_controlplane.PlatformInfo
	(*GetAgentInfo)(nil),                           // 13: agent_controlplane.GetAgentInfo
	(*AgentInfo)(nil),                              // 14: agent_controlplane.AgentInfo
	(*GetOSInfo)(nil),                              // 15: agent_controlplane.GetOSInfo
	(*OSInfo)(nil),                                 // 16: agent_controlplane.OSInfo
	(*ListPluginStates)(nil),                       // 17: agent_controlplane.ListPluginStates
	(*CurrentPluginStates)(nil),                    // 18: agent_controlplane.CurrentPluginStates
	(*ConfigurePluginStates)(nil),                  // 19: agent_controlplane.ConfigurePluginStates
	(*ExecutionModel)(nil),                         // 20: agent_controlplane.ExecutionModel
	(*Rules)(nil),                                  // 21: agent_controlplane.Rules
	(*PluginEventMessage)(nil),                     // 22: agent_controlplane.PluginEventMessage
	(*GuestAgentModuleMetrics)(nil),                // 23: agent_controlplane.GuestAgentModuleMetrics
	(*GuestAgentModuleMetric)(nil),                 // 24: agent_controlplane.GuestAgentModuleMetric
	(*CurrentPluginStates_DaemonPluginState)(nil),  // 25: agent_controlplane.CurrentPluginStates.DaemonPluginState
	(*CurrentPluginStates_OneShotPluginState)(nil), // 26: agent_controlplane.CurrentPluginStates.OneShotPluginState
	(*CurrentPluginStates_Status)(nil),             // 27: agent_controlplane.CurrentPluginStates.Status
	(*CurrentPluginStates_Metric)(nil),             // 28: agent_controlplane.CurrentPluginStates.Metric
	(*ConfigurePluginStates_ConfigurePlugin)(nil),  // 29: agent_controlplane.ConfigurePluginStates.ConfigurePlugin
	(*ConfigurePluginStates_Plugin)(nil),           // 30: agent_controlplane.ConfigurePluginStates.Plugin
	(*ConfigurePluginStates_Manifest)(nil),         // 31: agent_controlplane.ConfigurePluginStates.Manifest
	(*ExecutionModel_Daemon)(nil),                  // 32: agent_controlplane.ExecutionModel.Daemon
	(*ExecutionModel_OneShot)(nil),                 // 33: agent_controlplane.ExecutionModel.OneShot
	(*ExecutionModel_Triggers)(nil),                // 34: agent_controlplane.ExecutionModel.Triggers
	(*structpb.Value)(nil),                         // 35: google.protobuf.Value
	(*timestamppb.Timestamp)(nil),                  // 36: google.protobuf.Timestamp
	(*durationpb.Duration)(nil),                    // 37: google.protobuf.Duration
	(*structpb.Struct)(nil),                        // 38: google.protobuf.Struct
}
var file_agent_controlplane_proto_depIdxs = []int32{
	2,  // 0: agent_controlplane.AgentInfo.agent_capabilities:type_name -> agent_controlplane.AgentInfo.AgentCapability
	25, // 1: agent_controlplane.CurrentPluginStates.daemon_plugin_states:type_name -> agent_controlplane.CurrentPluginStates.DaemonPluginState
	26, // 2: agent_controlplane.CurrentPluginStates.one_shot_plugin_states:type_name -> agent_controlplane.CurrentPluginStates.OneShotPluginState
	29, // 3: agent_controlplane.ConfigurePluginStates.configure_plugins:type_name -> agent_controlplane.ConfigurePluginStates.ConfigurePlugin
	5,  // 4: agent_controlplane.ExecutionModel.on_default:type_name -> agent_controlplane.ExecutionModel.State
	5,  // 5: agent_controlplane.ExecutionModel.on_match:type_name -> agent_controlplane.ExecutionModel.State
	6,  // 6: agent_controlplane.ExecutionModel.match_policy:type_name -> agent_controlplane.ExecutionModel.MatchPolicy
	21, // 7: agent_controlplane.ExecutionModel.rules:type_name -> agent_controlplane.Rules
	33, // 8: agent_controlplane.ExecutionModel.one_shot:type_name -> agent_controlplane.ExecutionModel.OneShot
	32, // 9: agent_controlplane.ExecutionModel.daemon:type_name -> agent_controlplane.ExecutionModel.Daemon
	8,  // 10: agent_controlplane.Rules.scope:type_name -> agent_controlplane.Rules.Scope
	7,  // 11: agent_controlplane.Rules.comparison_operator:type_name -> agent_controlplane.Rules.ComparisonOperator
	35, // 12: agent_controlplane.Rules.value:type_name -> google.protobuf.Value
	9,  // 13: agent_controlplane.PluginEventMessage.event_type:type_name -> agent_controlplane.PluginEventMessage.PluginEventType
	36, // 14: agent_controlplane.PluginEventMessage.event_timestamp:type_name -> google.protobuf.Timestamp
	24, // 15: agent_controlplane.GuestAgentModuleMetrics.metrics:type_name -> agent_controlplane.GuestAgentModuleMetric
	10, // 16: agent_controlplane.GuestAgentModuleMetric.metric_name:type_name -> agent_controlplane.GuestAgentModuleMetric.Metric
	36, // 17: agent_controlplane.GuestAgentModuleMetric.start_time:type_name -> google.protobuf.Timestamp
	36, // 18: agent_controlplane.GuestAgentModuleMetric.end_time:type_name -> google.protobuf.Timestamp
	11, // 19: agent_controlplane.GuestAgentModuleMetric.module_status:type_name -> agent_controlplane.GuestAgentModuleMetric.ModuleStatus
	27, // 20: agent_controlplane.CurrentPluginStates.DaemonPluginState.current_plugin_status:type_name -> agent_controlplane.CurrentPluginStates.Status
	27, // 21: agent_controlplane.CurrentPluginStates.DaemonPluginState.pending_plugin_status:type_name -> agent_controlplane.CurrentPluginStates.Status
	28, // 22: agent_controlplane.CurrentPluginStates.DaemonPluginState.current_plugin_metrics:type_name -> agent_controlplane.CurrentPluginStates.Metric
	27, // 23: agent_controlplane.CurrentPluginStates.OneShotPluginState.current_plugin_status:type_name -> agent_controlplane.CurrentPluginStates.Status
	27, // 24: agent_controlplane.CurrentPluginStates.OneShotPluginState.pending_plugin_status:type_name -> agent_controlplane.CurrentPluginStates.Status
	28, // 25: agent_controlplane.CurrentPluginStates.OneShotPluginState.current_plugin_metrics:type_name -> agent_controlplane.CurrentPluginStates.Metric
	3,  // 26: agent_controlplane.CurrentPluginStates.Status.status:type_name -> agent_controlplane.CurrentPluginStates.StatusValue
	36, // 27: agent_controlplane.CurrentPluginStates.Status.update_time:type_name -> google.protobuf.Timestamp
	36, // 28: agent_controlplane.CurrentPluginStates.Metric.timestamp:type_name -> google.protobuf.Timestamp
	4,  // 29: agent_controlplane.ConfigurePluginStates.ConfigurePlugin.action:type_name -> agent_controlplane.ConfigurePluginStates.Action
	30, // 30: agent_controlplane.ConfigurePluginStates.ConfigurePlugin.plugin:type_name -> agent_controlplane.ConfigurePluginStates.Plugin
	31, // 31: agent_controlplane.ConfigurePluginStates.ConfigurePlugin.manifest:type_name -> agent_controlplane.ConfigurePluginStates.Manifest
	37, // 32: agent_controlplane.ConfigurePluginStates.Manifest.metrics_interval:type_name -> google.protobuf.Duration
	37, // 33: agent_controlplane.ConfigurePluginStates.Manifest.download_timeout:type_name -> google.protobuf.Duration
	37, // 34: agent_controlplane.ConfigurePluginStates.Manifest.start_timeout:type_name -> google.protobuf.Duration
	37, // 35: agent_controlplane.ConfigurePluginStates.Manifest.stop_timeout:type_name -> google.protobuf.Duration
	38, // 36: agent_controlplane.ConfigurePluginStates.Manifest.struct_config:type_name -> google.protobuf.Struct
	0,  // 37: agent_controlplane.ConfigurePluginStates.Manifest.plugin_type:type_name -> agent_controlplane.PluginType
	1,  // 38: agent_controlplane.ConfigurePluginStates.Manifest.plugin_installation_type:type_name -> agent_controlplane.PluginInstallationType
	20, // 39: agent_controlplane.ConfigurePluginStates.Manifest.execution_model:type_name -> agent_controlplane.ExecutionModel
	34, // 40: agent_controlplane.ExecutionModel.OneShot.triggers:type_name -> agent_controlplane.ExecutionModel.Triggers
	37, // 41: agent_controlplane.ExecutionModel.OneShot.execution_timeout:type_name -> google.protobuf.Duration
	37, // 42: agent_controlplane.ExecutionModel.Triggers.interval:type_name -> google.protobuf.Duration
	43, // [43:43] is the sub-list for method output_type
	43, // [43:43] is the sub-list for method input_type
	43, // [43:43] is the sub-list for extension type_name
	43, // [43:43] is the sub-list for extension extendee
	0,  // [0:43] is the sub-list for field type_name
}

func init() { file_agent_controlplane_proto_init() }
func file_agent_controlplane_proto_init() {
	if File_agent_controlplane_proto != nil {
		return
	}
	file_agent_controlplane_proto_msgTypes[8].OneofWrappers = []any{
		(*ExecutionModel_OneShot_)(nil),
		(*ExecutionModel_Daemon_)(nil),
	}
	file_agent_controlplane_proto_msgTypes[10].OneofWrappers = []any{}
	file_agent_controlplane_proto_msgTypes[19].OneofWrappers = []any{
		(*ConfigurePluginStates_Manifest_StringConfig)(nil),
		(*ConfigurePluginStates_Manifest_StructConfig)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_agent_controlplane_proto_rawDesc), len(file_agent_controlplane_proto_rawDesc)),
			NumEnums:      12,
			NumMessages:   23,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_agent_controlplane_proto_goTypes,
		DependencyIndexes: file_agent_controlplane_proto_depIdxs,
		EnumInfos:         file_agent_controlplane_proto_enumTypes,
		MessageInfos:      file_agent_controlplane_proto_msgTypes,
	}.Build()
	File_agent_controlplane_proto = out.File
	file_agent_controlplane_proto_goTypes = nil
	file_agent_controlplane_proto_depIdxs = nil
}
