// Copyright IBM Corp. 2020, 2026
// SPDX-License-Identifier: MPL-2.0

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        (unknown)
// source: controller/api/resources/targets/v1/target.proto

package targets

import (
	scopes "github.com/hashicorp/boundary/sdk/pbs/controller/api/resources/scopes"
	_ "github.com/hashicorp/boundary/sdk/pbs/controller/protooptions"
	_ "google.golang.org/genproto/googleapis/api/visibility"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	structpb "google.golang.org/protobuf/types/known/structpb"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
	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)
)

// Alias is the alias information related to the aliases associated with the target.
type Alias struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Output only. The ID of the alias referencing this target.
	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Ouput only. The value of the alias referencing this target.
	Value         string                 `protobuf:"bytes,20,opt,name=value,proto3" json:"value,omitempty" class:"public" eventstream:"observation"`       // @gotags: `class:"public" eventstream:"observation"`
	ScopeId       string                 `protobuf:"bytes,30,opt,name=scope_id,proto3" json:"scope_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`;
	Attributes    *TargetAliasAttributes `protobuf:"bytes,40,opt,name=attributes,proto3" json:"attributes,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Alias) ProtoMessage() {}

func (x *Alias) ProtoReflect() protoreflect.Message {
	mi := &file_controller_api_resources_targets_v1_target_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 Alias.ProtoReflect.Descriptor instead.
func (*Alias) Descriptor() ([]byte, []int) {
	return file_controller_api_resources_targets_v1_target_proto_rawDescGZIP(), []int{0}
}

func (x *Alias) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *Alias) GetValue() string {
	if x != nil {
		return x.Value
	}
	return ""
}

func (x *Alias) GetScopeId() string {
	if x != nil {
		return x.ScopeId
	}
	return ""
}

func (x *Alias) GetAttributes() *TargetAliasAttributes {
	if x != nil {
		return x.Attributes
	}
	return nil
}

type TargetAliasAttributes struct {
	state                     protoimpl.MessageState     `protogen:"open.v1"`
	AuthorizeSessionArguments *AuthorizeSessionArguments `protobuf:"bytes,1,opt,name=authorize_session_arguments,proto3" json:"authorize_session_arguments,omitempty" class:"public"` // @gotags: `class:"public"`
	unknownFields             protoimpl.UnknownFields
	sizeCache                 protoimpl.SizeCache
}

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

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

func (*TargetAliasAttributes) ProtoMessage() {}

func (x *TargetAliasAttributes) ProtoReflect() protoreflect.Message {
	mi := &file_controller_api_resources_targets_v1_target_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 TargetAliasAttributes.ProtoReflect.Descriptor instead.
func (*TargetAliasAttributes) Descriptor() ([]byte, []int) {
	return file_controller_api_resources_targets_v1_target_proto_rawDescGZIP(), []int{1}
}

func (x *TargetAliasAttributes) GetAuthorizeSessionArguments() *AuthorizeSessionArguments {
	if x != nil {
		return x.AuthorizeSessionArguments
	}
	return nil
}

type AuthorizeSessionArguments struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// host_id is the id of the host that the session will be authorized for.
	// When specified authorizing a session using this alias will have the same
	// effect of authorizing a session to the alias' destination_id and passing
	// in this value through the -host-id flag. If the host-id flag is also
	// specified when calling authorize-session an error will be returned unless
	// the provided host-id matches this value.
	HostId        string `protobuf:"bytes,1,opt,name=host_id,proto3" json:"host_id,omitempty" class:"public"` // @gotags: `class:"public"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AuthorizeSessionArguments) ProtoMessage() {}

func (x *AuthorizeSessionArguments) ProtoReflect() protoreflect.Message {
	mi := &file_controller_api_resources_targets_v1_target_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 AuthorizeSessionArguments.ProtoReflect.Descriptor instead.
func (*AuthorizeSessionArguments) Descriptor() ([]byte, []int) {
	return file_controller_api_resources_targets_v1_target_proto_rawDescGZIP(), []int{2}
}

func (x *AuthorizeSessionArguments) GetHostId() string {
	if x != nil {
		return x.HostId
	}
	return ""
}

type HostSource struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Output only. The ID of the Host Set.
	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. The Host Catalog to which this Host Source belongs.
	HostCatalogId string `protobuf:"bytes,20,opt,name=host_catalog_id,proto3" json:"host_catalog_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*HostSource) ProtoMessage() {}

func (x *HostSource) ProtoReflect() protoreflect.Message {
	mi := &file_controller_api_resources_targets_v1_target_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 HostSource.ProtoReflect.Descriptor instead.
func (*HostSource) Descriptor() ([]byte, []int) {
	return file_controller_api_resources_targets_v1_target_proto_rawDescGZIP(), []int{3}
}

func (x *HostSource) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *HostSource) GetHostCatalogId() string {
	if x != nil {
		return x.HostCatalogId
	}
	return ""
}

type CredentialSource struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The ID of the Credential. May be empty if the credential is dynamically generated from a library.
	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The name of the Credential source.
	Name string `protobuf:"bytes,20,opt,name=name,proto3" json:"name,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The description of the Credential source.
	Description string `protobuf:"bytes,30,opt,name=description,proto3" json:"description,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The Credential Store to which this Credential source belongs.
	CredentialStoreId string `protobuf:"bytes,40,opt,name=credential_store_id,proto3" json:"credential_store_id,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The type of the credential source (e.g. "vault"; not the type of the credential itself).
	Type string `protobuf:"bytes,60,opt,name=type,proto3" json:"type,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The type of the credential, empty if unspecified.
	CredentialType string `protobuf:"bytes,70,opt,name=credential_type,json=credentialType,proto3" json:"credential_type,omitempty" class:"public"` // @gotags: `class:"public"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*CredentialSource) ProtoMessage() {}

func (x *CredentialSource) ProtoReflect() protoreflect.Message {
	mi := &file_controller_api_resources_targets_v1_target_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 CredentialSource.ProtoReflect.Descriptor instead.
func (*CredentialSource) Descriptor() ([]byte, []int) {
	return file_controller_api_resources_targets_v1_target_proto_rawDescGZIP(), []int{4}
}

func (x *CredentialSource) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

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

func (x *CredentialSource) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *CredentialSource) GetCredentialStoreId() string {
	if x != nil {
		return x.CredentialStoreId
	}
	return ""
}

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

func (x *CredentialSource) GetCredentialType() string {
	if x != nil {
		return x.CredentialType
	}
	return ""
}

// The actual secret for a session credential.
type SessionSecret struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Output only. The base64-encoded value representing the raw bytes from the
	// credential provider.
	Raw string `protobuf:"bytes,10,opt,name=raw,proto3" json:"raw,omitempty" class:"secret"` // @gotags: `class:"secret"`
	// Output only. The decoded raw string, if a JSON object.
	Decoded       *structpb.Struct `protobuf:"bytes,20,opt,name=decoded,proto3" json:"decoded,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SessionSecret) ProtoMessage() {}

func (x *SessionSecret) ProtoReflect() protoreflect.Message {
	mi := &file_controller_api_resources_targets_v1_target_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 SessionSecret.ProtoReflect.Descriptor instead.
func (*SessionSecret) Descriptor() ([]byte, []int) {
	return file_controller_api_resources_targets_v1_target_proto_rawDescGZIP(), []int{5}
}

func (x *SessionSecret) GetRaw() string {
	if x != nil {
		return x.Raw
	}
	return ""
}

func (x *SessionSecret) GetDecoded() *structpb.Struct {
	if x != nil {
		return x.Decoded
	}
	return nil
}

// Credential information for a session.
type SessionCredential struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Output only. The credential source information.
	CredentialSource *CredentialSource `protobuf:"bytes,1,opt,name=credential_source,json=credentialSource,proto3" json:"credential_source,omitempty"`
	// Output only. The secret of this credential base64 encoded.
	Secret *SessionSecret `protobuf:"bytes,20,opt,name=secret,proto3" json:"secret,omitempty"`
	// Output only. The fields of the strongly typed credential, empty if the credential type of the
	// credential source is unspecified.
	Credential    *structpb.Struct `protobuf:"bytes,40,opt,name=credential,proto3" json:"credential,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SessionCredential) ProtoMessage() {}

func (x *SessionCredential) ProtoReflect() protoreflect.Message {
	mi := &file_controller_api_resources_targets_v1_target_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 SessionCredential.ProtoReflect.Descriptor instead.
func (*SessionCredential) Descriptor() ([]byte, []int) {
	return file_controller_api_resources_targets_v1_target_proto_rawDescGZIP(), []int{6}
}

func (x *SessionCredential) GetCredentialSource() *CredentialSource {
	if x != nil {
		return x.CredentialSource
	}
	return nil
}

func (x *SessionCredential) GetSecret() *SessionSecret {
	if x != nil {
		return x.Secret
	}
	return nil
}

func (x *SessionCredential) GetCredential() *structpb.Struct {
	if x != nil {
		return x.Credential
	}
	return nil
}

// Target contains all fields related to a Target resource
type Target struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Output only. The ID of the resource.
	Id string `protobuf:"bytes,10,opt,name=id,proto3" json:"id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// The Scope of of this resource. This must be defined for creation of this resource, but is otherwise output only.
	ScopeId string `protobuf:"bytes,20,opt,name=scope_id,proto3" json:"scope_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. Scope information for this resource.
	Scope *scopes.ScopeInfo `protobuf:"bytes,30,opt,name=scope,proto3" json:"scope,omitempty"`
	// Required name for identification purposes.
	Name *wrapperspb.StringValue `protobuf:"bytes,40,opt,name=name,proto3" json:"name,omitempty" class:"public"` // @gotags: `class:"public"`
	// Optional user-set description for identification purposes.
	Description *wrapperspb.StringValue `protobuf:"bytes,50,opt,name=description,proto3" json:"description,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The time this resource was created.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,60,opt,name=created_time,proto3" json:"created_time,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. The time this resource was last updated.
	UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,70,opt,name=updated_time,proto3" json:"updated_time,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Version is used in mutation requests, after the initial creation, to ensure this resource has not changed.
	// The mutation will fail if the version does not match the latest known good version.
	Version uint32 `protobuf:"varint,80,opt,name=version,proto3" json:"version,omitempty" class:"public"` // @gotags: `class:"public"`
	// The type of the Target.
	Type string `protobuf:"bytes,90,opt,name=type,proto3" json:"type,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. The IDs of the Host Sources associated with this Target.
	HostSourceIds []string `protobuf:"bytes,420,rep,name=host_source_ids,proto3" json:"host_source_ids,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. The Host Sources associated with this Target.
	HostSources []*HostSource `protobuf:"bytes,430,rep,name=host_sources,proto3" json:"host_sources,omitempty"`
	// Maximum total lifetime of a created Session, in seconds.
	SessionMaxSeconds *wrapperspb.UInt32Value `protobuf:"bytes,120,opt,name=session_max_seconds,proto3" json:"session_max_seconds,omitempty" class:"public"` // @gotags: `class:"public"`
	// Maximum number of connections allowed in a Session.  Unlimited is indicated by the value -1.
	SessionConnectionLimit *wrapperspb.Int32Value `protobuf:"bytes,130,opt,name=session_connection_limit,proto3" json:"session_connection_limit,omitempty" class:"public"` // @gotags: `class:"public"`
	// Optional boolean expression to filter the workers that are allowed to satisfy this request.
	// Deprecated; use egress or ingress worker filters instead.
	//
	// Deprecated: Marked as deprecated in controller/api/resources/targets/v1/target.proto.
	WorkerFilter *wrapperspb.StringValue `protobuf:"bytes,140,opt,name=worker_filter,proto3" json:"worker_filter,omitempty" class:"public"` // @gotags: `class:"public"`
	// Optional boolean expressions to filter the egress workers that are allowed to satisfy this request.
	EgressWorkerFilter *wrapperspb.StringValue `protobuf:"bytes,160,opt,name=egress_worker_filter,proto3" json:"egress_worker_filter,omitempty" class:"public"` // @gotags: `class:"public"`
	// Optional boolean expressions to filter the ingress workers that are allowed to satisfy this request.
	// Unsupported on OSS.
	IngressWorkerFilter *wrapperspb.StringValue `protobuf:"bytes,170,opt,name=ingress_worker_filter,proto3" json:"ingress_worker_filter,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The IDs of the brokered credential source ids associated with this Target.
	BrokeredCredentialSourceIds []string `protobuf:"bytes,440,rep,name=brokered_credential_source_ids,proto3" json:"brokered_credential_source_ids,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The brokered credential sources associated with this Target.
	BrokeredCredentialSources []*CredentialSource `protobuf:"bytes,450,rep,name=brokered_credential_sources,proto3" json:"brokered_credential_sources,omitempty"`
	// Output only. The IDs of the injected application credential source ids associated with this Target.
	InjectedApplicationCredentialSourceIds []string `protobuf:"bytes,520,rep,name=injected_application_credential_source_ids,proto3" json:"injected_application_credential_source_ids,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The injected application credential sources associated with this Target.
	InjectedApplicationCredentialSources []*CredentialSource `protobuf:"bytes,530,rep,name=injected_application_credential_sources,proto3" json:"injected_application_credential_sources,omitempty"`
	// Types that are valid to be assigned to Attrs:
	//
	//	*Target_Attributes
	//	*Target_TcpTargetAttributes
	//	*Target_SshTargetAttributes
	//	*Target_RdpTargetAttributes
	Attrs isTarget_Attrs `protobuf_oneof:"attrs"`
	// Output only. The available actions on this resource for this user.
	AuthorizedActions []string `protobuf:"bytes,300,rep,name=authorized_actions,proto3" json:"authorized_actions,omitempty" class:"public"` // @gotags: `class:"public"`
	// Optional string value that represents a network resource and is used when establishing a session.
	Address *wrapperspb.StringValue `protobuf:"bytes,540,opt,name=address,proto3" json:"address,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The aliases that point to this Target.
	Aliases []*Alias `protobuf:"bytes,550,rep,name=aliases,proto3" json:"aliases,omitempty" class:"public"` // @gotags: `class:"public"`
	// Input only. with_aliases specify the aliases that should be created when
	// the target is created.  This field is only usable at target creation time.
	WithAliases   []*Alias `protobuf:"bytes,560,rep,name=with_aliases,proto3" json:"with_aliases,omitempty" class:"public"` // @gotags: `class:"public"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Target) ProtoMessage() {}

func (x *Target) ProtoReflect() protoreflect.Message {
	mi := &file_controller_api_resources_targets_v1_target_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 Target.ProtoReflect.Descriptor instead.
func (*Target) Descriptor() ([]byte, []int) {
	return file_controller_api_resources_targets_v1_target_proto_rawDescGZIP(), []int{7}
}

func (x *Target) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *Target) GetScopeId() string {
	if x != nil {
		return x.ScopeId
	}
	return ""
}

func (x *Target) GetScope() *scopes.ScopeInfo {
	if x != nil {
		return x.Scope
	}
	return nil
}

func (x *Target) GetName() *wrapperspb.StringValue {
	if x != nil {
		return x.Name
	}
	return nil
}

func (x *Target) GetDescription() *wrapperspb.StringValue {
	if x != nil {
		return x.Description
	}
	return nil
}

func (x *Target) GetCreatedTime() *timestamppb.Timestamp {
	if x != nil {
		return x.CreatedTime
	}
	return nil
}

func (x *Target) GetUpdatedTime() *timestamppb.Timestamp {
	if x != nil {
		return x.UpdatedTime
	}
	return nil
}

func (x *Target) GetVersion() uint32 {
	if x != nil {
		return x.Version
	}
	return 0
}

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

func (x *Target) GetHostSourceIds() []string {
	if x != nil {
		return x.HostSourceIds
	}
	return nil
}

func (x *Target) GetHostSources() []*HostSource {
	if x != nil {
		return x.HostSources
	}
	return nil
}

func (x *Target) GetSessionMaxSeconds() *wrapperspb.UInt32Value {
	if x != nil {
		return x.SessionMaxSeconds
	}
	return nil
}

func (x *Target) GetSessionConnectionLimit() *wrapperspb.Int32Value {
	if x != nil {
		return x.SessionConnectionLimit
	}
	return nil
}

// Deprecated: Marked as deprecated in controller/api/resources/targets/v1/target.proto.
func (x *Target) GetWorkerFilter() *wrapperspb.StringValue {
	if x != nil {
		return x.WorkerFilter
	}
	return nil
}

func (x *Target) GetEgressWorkerFilter() *wrapperspb.StringValue {
	if x != nil {
		return x.EgressWorkerFilter
	}
	return nil
}

func (x *Target) GetIngressWorkerFilter() *wrapperspb.StringValue {
	if x != nil {
		return x.IngressWorkerFilter
	}
	return nil
}

func (x *Target) GetBrokeredCredentialSourceIds() []string {
	if x != nil {
		return x.BrokeredCredentialSourceIds
	}
	return nil
}

func (x *Target) GetBrokeredCredentialSources() []*CredentialSource {
	if x != nil {
		return x.BrokeredCredentialSources
	}
	return nil
}

func (x *Target) GetInjectedApplicationCredentialSourceIds() []string {
	if x != nil {
		return x.InjectedApplicationCredentialSourceIds
	}
	return nil
}

func (x *Target) GetInjectedApplicationCredentialSources() []*CredentialSource {
	if x != nil {
		return x.InjectedApplicationCredentialSources
	}
	return nil
}

func (x *Target) GetAttrs() isTarget_Attrs {
	if x != nil {
		return x.Attrs
	}
	return nil
}

func (x *Target) GetAttributes() *structpb.Struct {
	if x != nil {
		if x, ok := x.Attrs.(*Target_Attributes); ok {
			return x.Attributes
		}
	}
	return nil
}

func (x *Target) GetTcpTargetAttributes() *TcpTargetAttributes {
	if x != nil {
		if x, ok := x.Attrs.(*Target_TcpTargetAttributes); ok {
			return x.TcpTargetAttributes
		}
	}
	return nil
}

func (x *Target) GetSshTargetAttributes() *SshTargetAttributes {
	if x != nil {
		if x, ok := x.Attrs.(*Target_SshTargetAttributes); ok {
			return x.SshTargetAttributes
		}
	}
	return nil
}

func (x *Target) GetRdpTargetAttributes() *RdpTargetAttributes {
	if x != nil {
		if x, ok := x.Attrs.(*Target_RdpTargetAttributes); ok {
			return x.RdpTargetAttributes
		}
	}
	return nil
}

func (x *Target) GetAuthorizedActions() []string {
	if x != nil {
		return x.AuthorizedActions
	}
	return nil
}

func (x *Target) GetAddress() *wrapperspb.StringValue {
	if x != nil {
		return x.Address
	}
	return nil
}

func (x *Target) GetAliases() []*Alias {
	if x != nil {
		return x.Aliases
	}
	return nil
}

func (x *Target) GetWithAliases() []*Alias {
	if x != nil {
		return x.WithAliases
	}
	return nil
}

type isTarget_Attrs interface {
	isTarget_Attrs()
}

type Target_Attributes struct {
	// The attributes that are applicable for the specific Target.
	Attributes *structpb.Struct `protobuf:"bytes,200,opt,name=attributes,proto3,oneof"`
}

type Target_TcpTargetAttributes struct {
	TcpTargetAttributes *TcpTargetAttributes `protobuf:"bytes,201,opt,name=tcp_target_attributes,json=tcpTargetAttributes,proto3,oneof"`
}

type Target_SshTargetAttributes struct {
	SshTargetAttributes *SshTargetAttributes `protobuf:"bytes,202,opt,name=ssh_target_attributes,json=sshTargetAttributes,proto3,oneof"`
}

type Target_RdpTargetAttributes struct {
	RdpTargetAttributes *RdpTargetAttributes `protobuf:"bytes,203,opt,name=rdp_target_attributes,json=rdpTargetAttributes,proto3,oneof"`
}

func (*Target_Attributes) isTarget_Attrs() {}

func (*Target_TcpTargetAttributes) isTarget_Attrs() {}

func (*Target_SshTargetAttributes) isTarget_Attrs() {}

func (*Target_RdpTargetAttributes) isTarget_Attrs() {}

// TcpTargetAttributes contains attributes relevant to Targets of type "tcp"
type TcpTargetAttributes struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The default TCP port that will be used when connecting to the endpoint unless overridden by a Host Set or Host.
	DefaultPort *wrapperspb.UInt32Value `protobuf:"bytes,10,opt,name=default_port,proto3" json:"default_port,omitempty" class:"public"` // @gotags: `class:"public"`
	// The default TCP port that will be listened on by the client's local proxy.
	DefaultClientPort *wrapperspb.UInt32Value `protobuf:"bytes,20,opt,name=default_client_port,proto3" json:"default_client_port,omitempty" class:"public"` // @gotags: `class:"public"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

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

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

func (*TcpTargetAttributes) ProtoMessage() {}

func (x *TcpTargetAttributes) ProtoReflect() protoreflect.Message {
	mi := &file_controller_api_resources_targets_v1_target_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 TcpTargetAttributes.ProtoReflect.Descriptor instead.
func (*TcpTargetAttributes) Descriptor() ([]byte, []int) {
	return file_controller_api_resources_targets_v1_target_proto_rawDescGZIP(), []int{8}
}

func (x *TcpTargetAttributes) GetDefaultPort() *wrapperspb.UInt32Value {
	if x != nil {
		return x.DefaultPort
	}
	return nil
}

func (x *TcpTargetAttributes) GetDefaultClientPort() *wrapperspb.UInt32Value {
	if x != nil {
		return x.DefaultClientPort
	}
	return nil
}

// SshTargetAttributes contains attributes relevant to Targets of type "ssh"
type SshTargetAttributes struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The default SSH port that will be used when connecting to the endpoint unless overridden by a Host Set or Host.
	// If this is not specified the DefaultPort will be 22.
	DefaultPort *wrapperspb.UInt32Value `protobuf:"bytes,10,opt,name=default_port,proto3" json:"default_port,omitempty" class:"public"` // @gotags: `class:"public"`
	// The default TCP port that will be listened on by the client's local proxy.
	DefaultClientPort *wrapperspb.UInt32Value `protobuf:"bytes,20,opt,name=default_client_port,proto3" json:"default_client_port,omitempty" class:"public"` // @gotags: `class:"public"`
	// PublicId of the storage bucket associated with the target
	StorageBucketId *wrapperspb.StringValue `protobuf:"bytes,30,opt,name=storage_bucket_id,proto3" json:"storage_bucket_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// A boolean indicating if session recording has been enabled
	EnableSessionRecording *wrapperspb.BoolValue `protobuf:"bytes,40,opt,name=enable_session_recording,proto3" json:"enable_session_recording,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	unknownFields          protoimpl.UnknownFields
	sizeCache              protoimpl.SizeCache
}

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

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

func (*SshTargetAttributes) ProtoMessage() {}

func (x *SshTargetAttributes) ProtoReflect() protoreflect.Message {
	mi := &file_controller_api_resources_targets_v1_target_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 SshTargetAttributes.ProtoReflect.Descriptor instead.
func (*SshTargetAttributes) Descriptor() ([]byte, []int) {
	return file_controller_api_resources_targets_v1_target_proto_rawDescGZIP(), []int{9}
}

func (x *SshTargetAttributes) GetDefaultPort() *wrapperspb.UInt32Value {
	if x != nil {
		return x.DefaultPort
	}
	return nil
}

func (x *SshTargetAttributes) GetDefaultClientPort() *wrapperspb.UInt32Value {
	if x != nil {
		return x.DefaultClientPort
	}
	return nil
}

func (x *SshTargetAttributes) GetStorageBucketId() *wrapperspb.StringValue {
	if x != nil {
		return x.StorageBucketId
	}
	return nil
}

func (x *SshTargetAttributes) GetEnableSessionRecording() *wrapperspb.BoolValue {
	if x != nil {
		return x.EnableSessionRecording
	}
	return nil
}

// RdpTargetAttributes contains attributes relevant to Targets of type "rdp"
type RdpTargetAttributes struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The default RDP port that will be used when connecting to the endpoint unless overridden by a Host Set or Host.
	// If this is not specified the DefaultPort will be 3389.
	DefaultPort *wrapperspb.UInt32Value `protobuf:"bytes,10,opt,name=default_port,proto3" json:"default_port,omitempty" class:"public"` // @gotags: `class:"public"`
	// The default RDP port that will be listened on by the client's local proxy.
	DefaultClientPort *wrapperspb.UInt32Value `protobuf:"bytes,20,opt,name=default_client_port,proto3" json:"default_client_port,omitempty" class:"public"` // @gotags: `class:"public"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

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

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

func (*RdpTargetAttributes) ProtoMessage() {}

func (x *RdpTargetAttributes) ProtoReflect() protoreflect.Message {
	mi := &file_controller_api_resources_targets_v1_target_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 RdpTargetAttributes.ProtoReflect.Descriptor instead.
func (*RdpTargetAttributes) Descriptor() ([]byte, []int) {
	return file_controller_api_resources_targets_v1_target_proto_rawDescGZIP(), []int{10}
}

func (x *RdpTargetAttributes) GetDefaultPort() *wrapperspb.UInt32Value {
	if x != nil {
		return x.DefaultPort
	}
	return nil
}

func (x *RdpTargetAttributes) GetDefaultClientPort() *wrapperspb.UInt32Value {
	if x != nil {
		return x.DefaultClientPort
	}
	return nil
}

// WorkerInfo contains information about workers, returned in to the client in SessionAuthorization
type WorkerInfo struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Output only. The address of the worker.
	Address       string `protobuf:"bytes,10,opt,name=address,proto3" json:"address,omitempty" class:"public"` // @gotags: `class:"public"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*WorkerInfo) ProtoMessage() {}

func (x *WorkerInfo) ProtoReflect() protoreflect.Message {
	mi := &file_controller_api_resources_targets_v1_target_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 WorkerInfo.ProtoReflect.Descriptor instead.
func (*WorkerInfo) Descriptor() ([]byte, []int) {
	return file_controller_api_resources_targets_v1_target_proto_rawDescGZIP(), []int{11}
}

func (x *WorkerInfo) GetAddress() string {
	if x != nil {
		return x.Address
	}
	return ""
}

// SessionAuthorizationData contains the fields needed by the proxy command to
// connect to a worker. It is marshaled inside the SessionAuthorization message.
type SessionAuthorizationData struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Output only. The ID of the session.
	SessionId string `protobuf:"bytes,10,opt,name=session_id,proto3" json:"session_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. The ID of the Target authorizing this session.
	TargetId string `protobuf:"bytes,20,opt,name=target_id,proto3" json:"target_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. Scope information for this the Target that authorized this session.
	Scope *scopes.ScopeInfo `protobuf:"bytes,30,opt,name=scope,proto3" json:"scope,omitempty"`
	// Output only. The time this resource was created.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,40,opt,name=created_time,proto3" json:"created_time,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. Type of the session (e.g. tcp, ssh, etc.).
	Type string `protobuf:"bytes,80,opt,name=type,proto3" json:"type,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. The connection limit being applied to this session. -1 means unlimited. This is not actually enforced on the client side but it provides for better listener handling by including it.
	ConnectionLimit int32 `protobuf:"varint,90,opt,name=connection_limit,proto3" json:"connection_limit,omitempty"`
	// Output only. The endpoint port that will be connected to, either from a
	// port directly on the target or from a service definition.
	EndpointPort uint32 `protobuf:"varint,102,opt,name=endpoint_port,proto3" json:"endpoint_port,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. The expiration time of the session.
	Expiration *timestamppb.Timestamp `protobuf:"bytes,105,opt,name=expiration,proto3" json:"expiration,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. The certificate to use when connecting. Raw DER bytes.
	Certificate []byte `protobuf:"bytes,120,opt,name=certificate,proto3" json:"certificate,omitempty" class:"sensitive"` // @gotags: `class:"sensitive"`
	// Output only. The private key to use when connecting. We are using Ed25519, so this is purely raw bytes, no marshaling.
	PrivateKey []byte `protobuf:"bytes,130,opt,name=private_key,proto3" json:"private_key,omitempty" class:"secret"` // @gotags: `class:"secret"`
	// Output only. The host ID...not used for security purposes, but for some special command handling (e.g. ssh host key aliasing).
	HostId string `protobuf:"bytes,140,opt,name=host_id,json=hostId,proto3" json:"host_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. The endpoint, for some special command handling.
	Endpoint string `protobuf:"bytes,141,opt,name=endpoint,proto3" json:"endpoint,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. Worker information. The first worker in the array should be prioritized.
	WorkerInfo []*WorkerInfo `protobuf:"bytes,150,rep,name=worker_info,proto3" json:"worker_info,omitempty"`
	// Output only. A default port to listen on for client connections.
	DefaultClientPort uint32 `protobuf:"varint,160,opt,name=default_client_port,proto3" json:"default_client_port,omitempty" class:"public"` // @gotags: `class:"public"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

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

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

func (*SessionAuthorizationData) ProtoMessage() {}

func (x *SessionAuthorizationData) ProtoReflect() protoreflect.Message {
	mi := &file_controller_api_resources_targets_v1_target_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 SessionAuthorizationData.ProtoReflect.Descriptor instead.
func (*SessionAuthorizationData) Descriptor() ([]byte, []int) {
	return file_controller_api_resources_targets_v1_target_proto_rawDescGZIP(), []int{12}
}

func (x *SessionAuthorizationData) GetSessionId() string {
	if x != nil {
		return x.SessionId
	}
	return ""
}

func (x *SessionAuthorizationData) GetTargetId() string {
	if x != nil {
		return x.TargetId
	}
	return ""
}

func (x *SessionAuthorizationData) GetScope() *scopes.ScopeInfo {
	if x != nil {
		return x.Scope
	}
	return nil
}

func (x *SessionAuthorizationData) GetCreatedTime() *timestamppb.Timestamp {
	if x != nil {
		return x.CreatedTime
	}
	return nil
}

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

func (x *SessionAuthorizationData) GetConnectionLimit() int32 {
	if x != nil {
		return x.ConnectionLimit
	}
	return 0
}

func (x *SessionAuthorizationData) GetEndpointPort() uint32 {
	if x != nil {
		return x.EndpointPort
	}
	return 0
}

func (x *SessionAuthorizationData) GetExpiration() *timestamppb.Timestamp {
	if x != nil {
		return x.Expiration
	}
	return nil
}

func (x *SessionAuthorizationData) GetCertificate() []byte {
	if x != nil {
		return x.Certificate
	}
	return nil
}

func (x *SessionAuthorizationData) GetPrivateKey() []byte {
	if x != nil {
		return x.PrivateKey
	}
	return nil
}

func (x *SessionAuthorizationData) GetHostId() string {
	if x != nil {
		return x.HostId
	}
	return ""
}

func (x *SessionAuthorizationData) GetEndpoint() string {
	if x != nil {
		return x.Endpoint
	}
	return ""
}

func (x *SessionAuthorizationData) GetWorkerInfo() []*WorkerInfo {
	if x != nil {
		return x.WorkerInfo
	}
	return nil
}

func (x *SessionAuthorizationData) GetDefaultClientPort() uint32 {
	if x != nil {
		return x.DefaultClientPort
	}
	return 0
}

// SessionAuthorization contains all fields related to authorization for a Session. It's in the Targets package because it's returned by a Target's authorize action.
type SessionAuthorization struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Output only. The ID of the Session.
	SessionId string `protobuf:"bytes,10,opt,name=session_id,proto3" json:"session_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. The ID of the Target authorizing this Session.
	TargetId string `protobuf:"bytes,20,opt,name=target_id,proto3" json:"target_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. Scope information for this resource.
	Scope *scopes.ScopeInfo `protobuf:"bytes,30,opt,name=scope,proto3" json:"scope,omitempty"`
	// Output only. The time this resource was created.
	CreatedTime *timestamppb.Timestamp `protobuf:"bytes,40,opt,name=created_time,proto3" json:"created_time,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. The User for which this Session was authorized.
	UserId string `protobuf:"bytes,50,opt,name=user_id,proto3" json:"user_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. The Host Set containing the Host being used for this Session.
	HostSetId string `protobuf:"bytes,60,opt,name=host_set_id,proto3" json:"host_set_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. The Host whose address is being used as the endpoint for this Session.
	HostId string `protobuf:"bytes,70,opt,name=host_id,proto3" json:"host_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. Type of the Session (e.g. tcp, ssh, etc.).
	Type string `protobuf:"bytes,80,opt,name=type,proto3" json:"type,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. The marshaled SessionAuthorizationData message containing all information that the proxy needs.
	AuthorizationToken string `protobuf:"bytes,90,opt,name=authorization_token,proto3" json:"authorization_token,omitempty" class:"secret"` // @gotags: `class:"secret"`
	// Output only. The connection limit being applied to this session. -1 means unlimited. This is not actually enforced on the client side but it provides for better listener handling by including it.
	ConnectionLimit int32 `protobuf:"varint,95,opt,name=connection_limit,proto3" json:"connection_limit,omitempty"`
	// Output only. The endpoint address that the worker will connect to, useful for setting TLS parameters.
	Endpoint string `protobuf:"bytes,100,opt,name=endpoint,proto3" json:"endpoint,omitempty" class:"public"` // @gotags: `class:"public"`
	// Output only. The endpoint port that will be connected to, either from a
	// port directly on the target or from a service definition.
	EndpointPort uint32 `protobuf:"varint,102,opt,name=endpoint_port,proto3" json:"endpoint_port,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. The expiration time of the session.
	Expiration *timestamppb.Timestamp `protobuf:"bytes,105,opt,name=expiration,proto3" json:"expiration,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	// Output only. The credentials for this session.
	Credentials []*SessionCredential `protobuf:"bytes,110,rep,name=credentials,proto3" json:"credentials,omitempty"`
	// Output only. The ID of the Session Recording.
	SessionRecordingId string `protobuf:"bytes,115,opt,name=session_recording_id,proto3" json:"session_recording_id,omitempty" class:"public" eventstream:"observation"` // @gotags: `class:"public" eventstream:"observation"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

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

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

func (*SessionAuthorization) ProtoMessage() {}

func (x *SessionAuthorization) ProtoReflect() protoreflect.Message {
	mi := &file_controller_api_resources_targets_v1_target_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 SessionAuthorization.ProtoReflect.Descriptor instead.
func (*SessionAuthorization) Descriptor() ([]byte, []int) {
	return file_controller_api_resources_targets_v1_target_proto_rawDescGZIP(), []int{13}
}

func (x *SessionAuthorization) GetSessionId() string {
	if x != nil {
		return x.SessionId
	}
	return ""
}

func (x *SessionAuthorization) GetTargetId() string {
	if x != nil {
		return x.TargetId
	}
	return ""
}

func (x *SessionAuthorization) GetScope() *scopes.ScopeInfo {
	if x != nil {
		return x.Scope
	}
	return nil
}

func (x *SessionAuthorization) GetCreatedTime() *timestamppb.Timestamp {
	if x != nil {
		return x.CreatedTime
	}
	return nil
}

func (x *SessionAuthorization) GetUserId() string {
	if x != nil {
		return x.UserId
	}
	return ""
}

func (x *SessionAuthorization) GetHostSetId() string {
	if x != nil {
		return x.HostSetId
	}
	return ""
}

func (x *SessionAuthorization) GetHostId() string {
	if x != nil {
		return x.HostId
	}
	return ""
}

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

func (x *SessionAuthorization) GetAuthorizationToken() string {
	if x != nil {
		return x.AuthorizationToken
	}
	return ""
}

func (x *SessionAuthorization) GetConnectionLimit() int32 {
	if x != nil {
		return x.ConnectionLimit
	}
	return 0
}

func (x *SessionAuthorization) GetEndpoint() string {
	if x != nil {
		return x.Endpoint
	}
	return ""
}

func (x *SessionAuthorization) GetEndpointPort() uint32 {
	if x != nil {
		return x.EndpointPort
	}
	return 0
}

func (x *SessionAuthorization) GetExpiration() *timestamppb.Timestamp {
	if x != nil {
		return x.Expiration
	}
	return nil
}

func (x *SessionAuthorization) GetCredentials() []*SessionCredential {
	if x != nil {
		return x.Credentials
	}
	return nil
}

func (x *SessionAuthorization) GetSessionRecordingId() string {
	if x != nil {
		return x.SessionRecordingId
	}
	return ""
}

// The layout of the struct for "credential" field in SessionCredential for a username_password credential type.
type UsernamePasswordCredential struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Username of the credential
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty" class:"sensitive"` // @gotags: `class:"sensitive"`
	// Password of the credential
	Password      string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty" class:"secret"` // @gotags: `class:"secret"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*UsernamePasswordCredential) ProtoMessage() {}

func (x *UsernamePasswordCredential) ProtoReflect() protoreflect.Message {
	mi := &file_controller_api_resources_targets_v1_target_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 UsernamePasswordCredential.ProtoReflect.Descriptor instead.
func (*UsernamePasswordCredential) Descriptor() ([]byte, []int) {
	return file_controller_api_resources_targets_v1_target_proto_rawDescGZIP(), []int{14}
}

func (x *UsernamePasswordCredential) GetUsername() string {
	if x != nil {
		return x.Username
	}
	return ""
}

func (x *UsernamePasswordCredential) GetPassword() string {
	if x != nil {
		return x.Password
	}
	return ""
}

// The layout of the struct for "credential" field in SessionCredential for a username_password_domain credential type.
type UsernamePasswordDomainCredential struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Username of the credential
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty" class:"sensitive"` // @gotags: `class:"sensitive"`
	// Password of the credential
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty" class:"secret"` // @gotags: `class:"secret"`
	// Domain of the credential
	Domain        string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty" class:"public"` // @gotags: `class:"public"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*UsernamePasswordDomainCredential) ProtoMessage() {}

func (x *UsernamePasswordDomainCredential) ProtoReflect() protoreflect.Message {
	mi := &file_controller_api_resources_targets_v1_target_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 UsernamePasswordDomainCredential.ProtoReflect.Descriptor instead.
func (*UsernamePasswordDomainCredential) Descriptor() ([]byte, []int) {
	return file_controller_api_resources_targets_v1_target_proto_rawDescGZIP(), []int{15}
}

func (x *UsernamePasswordDomainCredential) GetUsername() string {
	if x != nil {
		return x.Username
	}
	return ""
}

func (x *UsernamePasswordDomainCredential) GetPassword() string {
	if x != nil {
		return x.Password
	}
	return ""
}

func (x *UsernamePasswordDomainCredential) GetDomain() string {
	if x != nil {
		return x.Domain
	}
	return ""
}

// The layout of the struct for "credential" field in SessionCredential for a password credential type.
type PasswordCredential struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Password of the credential
	Password      string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty" class:"secret"` // @gotags: `class:"secret"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*PasswordCredential) ProtoMessage() {}

func (x *PasswordCredential) ProtoReflect() protoreflect.Message {
	mi := &file_controller_api_resources_targets_v1_target_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 PasswordCredential.ProtoReflect.Descriptor instead.
func (*PasswordCredential) Descriptor() ([]byte, []int) {
	return file_controller_api_resources_targets_v1_target_proto_rawDescGZIP(), []int{16}
}

func (x *PasswordCredential) GetPassword() string {
	if x != nil {
		return x.Password
	}
	return ""
}

// The layout of the struct for "credential" field in SessionCredential for a ssh_private_key credential type.
type SshPrivateKeyCredential struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Username of the credential
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty" class:"sensitive"` // @gotags: `class:"sensitive"`
	// Private key of the credential
	PrivateKey string `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty" class:"secret"` // @gotags: `class:"secret"`
	// The optional passphrase of the private_key
	PrivateKeyPassphrase string `protobuf:"bytes,3,opt,name=private_key_passphrase,json=privateKeyPassphrase,proto3" json:"private_key_passphrase,omitempty" class:"secret"` // @gotags: `class:"secret"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

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

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

func (*SshPrivateKeyCredential) ProtoMessage() {}

func (x *SshPrivateKeyCredential) ProtoReflect() protoreflect.Message {
	mi := &file_controller_api_resources_targets_v1_target_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 SshPrivateKeyCredential.ProtoReflect.Descriptor instead.
func (*SshPrivateKeyCredential) Descriptor() ([]byte, []int) {
	return file_controller_api_resources_targets_v1_target_proto_rawDescGZIP(), []int{17}
}

func (x *SshPrivateKeyCredential) GetUsername() string {
	if x != nil {
		return x.Username
	}
	return ""
}

func (x *SshPrivateKeyCredential) GetPrivateKey() string {
	if x != nil {
		return x.PrivateKey
	}
	return ""
}

func (x *SshPrivateKeyCredential) GetPrivateKeyPassphrase() string {
	if x != nil {
		return x.PrivateKeyPassphrase
	}
	return ""
}

var File_controller_api_resources_targets_v1_target_proto protoreflect.FileDescriptor

const file_controller_api_resources_targets_v1_target_proto_rawDesc = "" +
	"\n" +
	"0controller/api/resources/targets/v1/target.proto\x12#controller.api.resources.targets.v1\x1a.controller/api/resources/scopes/v1/scope.proto\x1a*controller/custom_options/v1/options.proto\x1a\x1bgoogle/api/visibility.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xa5\x01\n" +
	"\x05Alias\x12\x0e\n" +
	"\x02id\x18\n" +
	" \x01(\tR\x02id\x12\x14\n" +
	"\x05value\x18\x14 \x01(\tR\x05value\x12\x1a\n" +
	"\bscope_id\x18\x1e \x01(\tR\bscope_id\x12Z\n" +
	"\n" +
	"attributes\x18( \x01(\v2:.controller.api.resources.targets.v1.TargetAliasAttributesR\n" +
	"attributes\"\x9a\x01\n" +
	"\x15TargetAliasAttributes\x12\x80\x01\n" +
	"\x1bauthorize_session_arguments\x18\x01 \x01(\v2>.controller.api.resources.targets.v1.AuthorizeSessionArgumentsR\x1bauthorize_session_arguments\"5\n" +
	"\x19AuthorizeSessionArguments\x12\x18\n" +
	"\ahost_id\x18\x01 \x01(\tR\ahost_id\"F\n" +
	"\n" +
	"HostSource\x12\x0e\n" +
	"\x02id\x18\n" +
	" \x01(\tR\x02id\x12(\n" +
	"\x0fhost_catalog_id\x18\x14 \x01(\tR\x0fhost_catalog_id\"\xc7\x01\n" +
	"\x10CredentialSource\x12\x0e\n" +
	"\x02id\x18\n" +
	" \x01(\tR\x02id\x12\x12\n" +
	"\x04name\x18\x14 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x1e \x01(\tR\vdescription\x120\n" +
	"\x13credential_store_id\x18( \x01(\tR\x13credential_store_id\x12\x12\n" +
	"\x04type\x18< \x01(\tR\x04type\x12'\n" +
	"\x0fcredential_type\x18F \x01(\tR\x0ecredentialType\"T\n" +
	"\rSessionSecret\x12\x10\n" +
	"\x03raw\x18\n" +
	" \x01(\tR\x03raw\x121\n" +
	"\adecoded\x18\x14 \x01(\v2\x17.google.protobuf.StructR\adecoded\"\x96\x02\n" +
	"\x11SessionCredential\x12b\n" +
	"\x11credential_source\x18\x01 \x01(\v25.controller.api.resources.targets.v1.CredentialSourceR\x10credentialSource\x12J\n" +
	"\x06secret\x18\x14 \x01(\v22.controller.api.resources.targets.v1.SessionSecretR\x06secret\x127\n" +
	"\n" +
	"credential\x18( \x01(\v2\x17.google.protobuf.StructR\n" +
	"credentialJ\x04\b\n" +
	"\x10\vR\x12credential_library\"\xdf\x15\n" +
	"\x06Target\x12\x0e\n" +
	"\x02id\x18\n" +
	" \x01(\tR\x02id\x12\x1a\n" +
	"\bscope_id\x18\x14 \x01(\tR\bscope_id\x12C\n" +
	"\x05scope\x18\x1e \x01(\v2-.controller.api.resources.scopes.v1.ScopeInfoR\x05scope\x12F\n" +
	"\x04name\x18( \x01(\v2\x1c.google.protobuf.StringValueB\x14\xa0\xda)\x01\xc2\xdd)\f\n" +
	"\x04name\x12\x04nameR\x04name\x12b\n" +
	"\vdescription\x182 \x01(\v2\x1c.google.protobuf.StringValueB\"\xa0\xda)\x01\xc2\xdd)\x1a\n" +
	"\vdescription\x12\vdescriptionR\vdescription\x12>\n" +
	"\fcreated_time\x18< \x01(\v2\x1a.google.protobuf.TimestampR\fcreated_time\x12>\n" +
	"\fupdated_time\x18F \x01(\v2\x1a.google.protobuf.TimestampR\fupdated_time\x12\x18\n" +
	"\aversion\x18P \x01(\rR\aversion\x12\x12\n" +
	"\x04type\x18Z \x01(\tR\x04type\x12)\n" +
	"\x0fhost_source_ids\x18\xa4\x03 \x03(\tR\x0fhost_source_ids\x12T\n" +
	"\fhost_sources\x18\xae\x03 \x03(\v2/.controller.api.resources.targets.v1.HostSourceR\fhost_sources\x12\x80\x01\n" +
	"\x13session_max_seconds\x18x \x01(\v2\x1c.google.protobuf.UInt32ValueB0\xa0\xda)\x01\xc2\xdd)(\n" +
	"\x13session_max_seconds\x12\x11SessionMaxSecondsR\x13session_max_seconds\x12\x94\x01\n" +
	"\x18session_connection_limit\x18\x82\x01 \x01(\v2\x1b.google.protobuf.Int32ValueB:\xa0\xda)\x01\xc2\xdd)2\n" +
	"\x18session_connection_limit\x12\x16SessionConnectionLimitR\x18session_connection_limit\x12l\n" +
	"\rworker_filter\x18\x8c\x01 \x01(\v2\x1c.google.protobuf.StringValueB'\xa0\xda)\x01\xc2\xdd)\x1d\n" +
	"\rworker_filter\x12\fWorkerFilter\x18\x01R\rworker_filter\x12\x85\x01\n" +
	"\x14egress_worker_filter\x18\xa0\x01 \x01(\v2\x1c.google.protobuf.StringValueB2\xa0\xda)\x01\xc2\xdd)*\n" +
	"\x14egress_worker_filter\x12\x12EgressWorkerFilterR\x14egress_worker_filter\x12\x89\x01\n" +
	"\x15ingress_worker_filter\x18\xaa\x01 \x01(\v2\x1c.google.protobuf.StringValueB4\xa0\xda)\x01\xc2\xdd),\n" +
	"\x15ingress_worker_filter\x12\x13IngressWorkerFilterR\x15ingress_worker_filter\x12G\n" +
	"\x1ebrokered_credential_source_ids\x18\xb8\x03 \x03(\tR\x1ebrokered_credential_source_ids\x12x\n" +
	"\x1bbrokered_credential_sources\x18\xc2\x03 \x03(\v25.controller.api.resources.targets.v1.CredentialSourceR\x1bbrokered_credential_sources\x12_\n" +
	"*injected_application_credential_source_ids\x18\x88\x04 \x03(\tR*injected_application_credential_source_ids\x12\x90\x01\n" +
	"'injected_application_credential_sources\x18\x92\x04 \x03(\v25.controller.api.resources.targets.v1.CredentialSourceR'injected_application_credential_sources\x12K\n" +
	"\n" +
	"attributes\x18\xc8\x01 \x01(\v2\x17.google.protobuf.StructB\x0f\xa0\xda)\x01\x9a\xe3)\adefaultH\x00R\n" +
	"attributes\x12\x8c\x01\n" +
	"\x15tcp_target_attributes\x18\xc9\x01 \x01(\v28.controller.api.resources.targets.v1.TcpTargetAttributesB\x1b\xa0\xda)\x01\x9a\xe3)\x03tcp\xfa\xd2\xe4\x93\x02\n" +
	"\x12\bINTERNALH\x00R\x13tcpTargetAttributes\x12\x8c\x01\n" +
	"\x15ssh_target_attributes\x18\xca\x01 \x01(\v28.controller.api.resources.targets.v1.SshTargetAttributesB\x1b\xa0\xda)\x01\x9a\xe3)\x03ssh\xfa\xd2\xe4\x93\x02\n" +
	"\x12\bINTERNALH\x00R\x13sshTargetAttributes\x12\x8c\x01\n" +
	"\x15rdp_target_attributes\x18\xcb\x01 \x01(\v28.controller.api.resources.targets.v1.RdpTargetAttributesB\x1b\xa0\xda)\x01\x9a\xe3)\x03rdp\xfa\xd2\xe4\x93\x02\n" +
	"\x12\bINTERNALH\x00R\x13rdpTargetAttributes\x12/\n" +
	"\x12authorized_actions\x18\xac\x02 \x03(\tR\x12authorized_actions\x12S\n" +
	"\aaddress\x18\x9c\x04 \x01(\v2\x1c.google.protobuf.StringValueB\x1a\xa0\xda)\x01\xc2\xdd)\x12\n" +
	"\aaddress\x12\aaddressR\aaddress\x12E\n" +
	"\aaliases\x18\xa6\x04 \x03(\v2*.controller.api.resources.targets.v1.AliasR\aaliases\x12O\n" +
	"\fwith_aliases\x18\xb0\x04 \x03(\v2*.controller.api.resources.targets.v1.AliasR\fwith_aliasesB\a\n" +
	"\x05attrsJ\x06\b\x96\x01\x10\x97\x01J\x06\b\xb4\x01\x10\xb5\x01J\x06\b\xf4\x03\x10\xf5\x03J\x06\b\xfe\x03\x10\xff\x03J\x04\bd\x10eJ\x04\bn\x10oJ\x06\b\x90\x03\x10\x91\x03J\x06\b\x9a\x03\x10\x9b\x03R\"application_credential_library_idsR application_credential_librariesR\x1cegress_credential_source_idsR\x19egress_credential_sourcesR\fhost_set_idsR\thost_setsR!application_credential_source_idsR\x1eapplication_credential_sources\"\x95\x02\n" +
	"\x13TcpTargetAttributes\x12p\n" +
	"\fdefault_port\x18\n" +
	" \x01(\v2\x1c.google.protobuf.UInt32ValueB.\xa0\xda)\x01\xc2\xdd)&\n" +
	"\x17attributes.default_port\x12\vDefaultPortR\fdefault_port\x12\x8b\x01\n" +
	"\x13default_client_port\x18\x14 \x01(\v2\x1c.google.protobuf.UInt32ValueB;\xa0\xda)\x01\xc2\xdd)3\n" +
	"\x1eattributes.default_client_port\x12\x11DefaultClientPortR\x13default_client_port\"\xbb\x04\n" +
	"\x13SshTargetAttributes\x12p\n" +
	"\fdefault_port\x18\n" +
	" \x01(\v2\x1c.google.protobuf.UInt32ValueB.\xa0\xda)\x01\xc2\xdd)&\n" +
	"\x17attributes.default_port\x12\vDefaultPortR\fdefault_port\x12\x8b\x01\n" +
	"\x13default_client_port\x18\x14 \x01(\v2\x1c.google.protobuf.UInt32ValueB;\xa0\xda)\x01\xc2\xdd)3\n" +
	"\x1eattributes.default_client_port\x12\x11DefaultClientPortR\x13default_client_port\x12\x83\x01\n" +
	"\x11storage_bucket_id\x18\x1e \x01(\v2\x1c.google.protobuf.StringValueB7\xa0\xda)\x01\xc2\xdd)/\n" +
	"\x1cattributes.storage_bucket_id\x12\x0fStorageBucketIdR\x11storage_bucket_id\x12\x9d\x01\n" +
	"\x18enable_session_recording\x18( \x01(\v2\x1a.google.protobuf.BoolValueBE\xa0\xda)\x01\xc2\xdd)=\n" +
	"#attributes.enable_session_recording\x12\x16EnableSessionRecordingR\x18enable_session_recording\"\x95\x02\n" +
	"\x13RdpTargetAttributes\x12p\n" +
	"\fdefault_port\x18\n" +
	" \x01(\v2\x1c.google.protobuf.UInt32ValueB.\xa0\xda)\x01\xc2\xdd)&\n" +
	"\x17attributes.default_port\x12\vDefaultPortR\fdefault_port\x12\x8b\x01\n" +
	"\x13default_client_port\x18\x14 \x01(\v2\x1c.google.protobuf.UInt32ValueB;\xa0\xda)\x01\xc2\xdd)3\n" +
	"\x1eattributes.default_client_port\x12\x11DefaultClientPortR\x13default_client_port\"&\n" +
	"\n" +
	"WorkerInfo\x12\x18\n" +
	"\aaddress\x18\n" +
	" \x01(\tR\aaddress\"\x82\x05\n" +
	"\x18SessionAuthorizationData\x12\x1e\n" +
	"\n" +
	"session_id\x18\n" +
	" \x01(\tR\n" +
	"session_id\x12\x1c\n" +
	"\ttarget_id\x18\x14 \x01(\tR\ttarget_id\x12C\n" +
	"\x05scope\x18\x1e \x01(\v2-.controller.api.resources.scopes.v1.ScopeInfoR\x05scope\x12>\n" +
	"\fcreated_time\x18( \x01(\v2\x1a.google.protobuf.TimestampR\fcreated_time\x12\x12\n" +
	"\x04type\x18P \x01(\tR\x04type\x12*\n" +
	"\x10connection_limit\x18Z \x01(\x05R\x10connection_limit\x12$\n" +
	"\rendpoint_port\x18f \x01(\rR\rendpoint_port\x12:\n" +
	"\n" +
	"expiration\x18i \x01(\v2\x1a.google.protobuf.TimestampR\n" +
	"expiration\x12 \n" +
	"\vcertificate\x18x \x01(\fR\vcertificate\x12!\n" +
	"\vprivate_key\x18\x82\x01 \x01(\fR\vprivate_key\x12\x18\n" +
	"\ahost_id\x18\x8c\x01 \x01(\tR\x06hostId\x12\x1b\n" +
	"\bendpoint\x18\x8d\x01 \x01(\tR\bendpoint\x12R\n" +
	"\vworker_info\x18\x96\x01 \x03(\v2/.controller.api.resources.targets.v1.WorkerInfoR\vworker_info\x121\n" +
	"\x13default_client_port\x18\xa0\x01 \x01(\rR\x13default_client_port\"\xad\x05\n" +
	"\x14SessionAuthorization\x12\x1e\n" +
	"\n" +
	"session_id\x18\n" +
	" \x01(\tR\n" +
	"session_id\x12\x1c\n" +
	"\ttarget_id\x18\x14 \x01(\tR\ttarget_id\x12C\n" +
	"\x05scope\x18\x1e \x01(\v2-.controller.api.resources.scopes.v1.ScopeInfoR\x05scope\x12>\n" +
	"\fcreated_time\x18( \x01(\v2\x1a.google.protobuf.TimestampR\fcreated_time\x12\x18\n" +
	"\auser_id\x182 \x01(\tR\auser_id\x12 \n" +
	"\vhost_set_id\x18< \x01(\tR\vhost_set_id\x12\x18\n" +
	"\ahost_id\x18F \x01(\tR\ahost_id\x12\x12\n" +
	"\x04type\x18P \x01(\tR\x04type\x120\n" +
	"\x13authorization_token\x18Z \x01(\tR\x13authorization_token\x12*\n" +
	"\x10connection_limit\x18_ \x01(\x05R\x10connection_limit\x12\x1a\n" +
	"\bendpoint\x18d \x01(\tR\bendpoint\x12$\n" +
	"\rendpoint_port\x18f \x01(\rR\rendpoint_port\x12:\n" +
	"\n" +
	"expiration\x18i \x01(\v2\x1a.google.protobuf.TimestampR\n" +
	"expiration\x12X\n" +
	"\vcredentials\x18n \x03(\v26.controller.api.resources.targets.v1.SessionCredentialR\vcredentials\x122\n" +
	"\x14session_recording_id\x18s \x01(\tR\x14session_recording_id\"T\n" +
	"\x1aUsernamePasswordCredential\x12\x1a\n" +
	"\busername\x18\x01 \x01(\tR\busername\x12\x1a\n" +
	"\bpassword\x18\x02 \x01(\tR\bpassword\"r\n" +
	" UsernamePasswordDomainCredential\x12\x1a\n" +
	"\busername\x18\x01 \x01(\tR\busername\x12\x1a\n" +
	"\bpassword\x18\x02 \x01(\tR\bpassword\x12\x16\n" +
	"\x06domain\x18\x03 \x01(\tR\x06domain\"0\n" +
	"\x12PasswordCredential\x12\x1a\n" +
	"\bpassword\x18\x01 \x01(\tR\bpassword\"\x8c\x01\n" +
	"\x17SshPrivateKeyCredential\x12\x1a\n" +
	"\busername\x18\x01 \x01(\tR\busername\x12\x1f\n" +
	"\vprivate_key\x18\x02 \x01(\tR\n" +
	"privateKey\x124\n" +
	"\x16private_key_passphrase\x18\x03 \x01(\tR\x14privateKeyPassphraseBPZNgithub.com/hashicorp/boundary/sdk/pbs/controller/api/resources/targets;targetsb\x06proto3"

var (
	file_controller_api_resources_targets_v1_target_proto_rawDescOnce sync.Once
	file_controller_api_resources_targets_v1_target_proto_rawDescData []byte
)

func file_controller_api_resources_targets_v1_target_proto_rawDescGZIP() []byte {
	file_controller_api_resources_targets_v1_target_proto_rawDescOnce.Do(func() {
		file_controller_api_resources_targets_v1_target_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_controller_api_resources_targets_v1_target_proto_rawDesc), len(file_controller_api_resources_targets_v1_target_proto_rawDesc)))
	})
	return file_controller_api_resources_targets_v1_target_proto_rawDescData
}

var file_controller_api_resources_targets_v1_target_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
var file_controller_api_resources_targets_v1_target_proto_goTypes = []any{
	(*Alias)(nil),                            // 0: controller.api.resources.targets.v1.Alias
	(*TargetAliasAttributes)(nil),            // 1: controller.api.resources.targets.v1.TargetAliasAttributes
	(*AuthorizeSessionArguments)(nil),        // 2: controller.api.resources.targets.v1.AuthorizeSessionArguments
	(*HostSource)(nil),                       // 3: controller.api.resources.targets.v1.HostSource
	(*CredentialSource)(nil),                 // 4: controller.api.resources.targets.v1.CredentialSource
	(*SessionSecret)(nil),                    // 5: controller.api.resources.targets.v1.SessionSecret
	(*SessionCredential)(nil),                // 6: controller.api.resources.targets.v1.SessionCredential
	(*Target)(nil),                           // 7: controller.api.resources.targets.v1.Target
	(*TcpTargetAttributes)(nil),              // 8: controller.api.resources.targets.v1.TcpTargetAttributes
	(*SshTargetAttributes)(nil),              // 9: controller.api.resources.targets.v1.SshTargetAttributes
	(*RdpTargetAttributes)(nil),              // 10: controller.api.resources.targets.v1.RdpTargetAttributes
	(*WorkerInfo)(nil),                       // 11: controller.api.resources.targets.v1.WorkerInfo
	(*SessionAuthorizationData)(nil),         // 12: controller.api.resources.targets.v1.SessionAuthorizationData
	(*SessionAuthorization)(nil),             // 13: controller.api.resources.targets.v1.SessionAuthorization
	(*UsernamePasswordCredential)(nil),       // 14: controller.api.resources.targets.v1.UsernamePasswordCredential
	(*UsernamePasswordDomainCredential)(nil), // 15: controller.api.resources.targets.v1.UsernamePasswordDomainCredential
	(*PasswordCredential)(nil),               // 16: controller.api.resources.targets.v1.PasswordCredential
	(*SshPrivateKeyCredential)(nil),          // 17: controller.api.resources.targets.v1.SshPrivateKeyCredential
	(*structpb.Struct)(nil),                  // 18: google.protobuf.Struct
	(*scopes.ScopeInfo)(nil),                 // 19: controller.api.resources.scopes.v1.ScopeInfo
	(*wrapperspb.StringValue)(nil),           // 20: google.protobuf.StringValue
	(*timestamppb.Timestamp)(nil),            // 21: google.protobuf.Timestamp
	(*wrapperspb.UInt32Value)(nil),           // 22: google.protobuf.UInt32Value
	(*wrapperspb.Int32Value)(nil),            // 23: google.protobuf.Int32Value
	(*wrapperspb.BoolValue)(nil),             // 24: google.protobuf.BoolValue
}
var file_controller_api_resources_targets_v1_target_proto_depIdxs = []int32{
	1,  // 0: controller.api.resources.targets.v1.Alias.attributes:type_name -> controller.api.resources.targets.v1.TargetAliasAttributes
	2,  // 1: controller.api.resources.targets.v1.TargetAliasAttributes.authorize_session_arguments:type_name -> controller.api.resources.targets.v1.AuthorizeSessionArguments
	18, // 2: controller.api.resources.targets.v1.SessionSecret.decoded:type_name -> google.protobuf.Struct
	4,  // 3: controller.api.resources.targets.v1.SessionCredential.credential_source:type_name -> controller.api.resources.targets.v1.CredentialSource
	5,  // 4: controller.api.resources.targets.v1.SessionCredential.secret:type_name -> controller.api.resources.targets.v1.SessionSecret
	18, // 5: controller.api.resources.targets.v1.SessionCredential.credential:type_name -> google.protobuf.Struct
	19, // 6: controller.api.resources.targets.v1.Target.scope:type_name -> controller.api.resources.scopes.v1.ScopeInfo
	20, // 7: controller.api.resources.targets.v1.Target.name:type_name -> google.protobuf.StringValue
	20, // 8: controller.api.resources.targets.v1.Target.description:type_name -> google.protobuf.StringValue
	21, // 9: controller.api.resources.targets.v1.Target.created_time:type_name -> google.protobuf.Timestamp
	21, // 10: controller.api.resources.targets.v1.Target.updated_time:type_name -> google.protobuf.Timestamp
	3,  // 11: controller.api.resources.targets.v1.Target.host_sources:type_name -> controller.api.resources.targets.v1.HostSource
	22, // 12: controller.api.resources.targets.v1.Target.session_max_seconds:type_name -> google.protobuf.UInt32Value
	23, // 13: controller.api.resources.targets.v1.Target.session_connection_limit:type_name -> google.protobuf.Int32Value
	20, // 14: controller.api.resources.targets.v1.Target.worker_filter:type_name -> google.protobuf.StringValue
	20, // 15: controller.api.resources.targets.v1.Target.egress_worker_filter:type_name -> google.protobuf.StringValue
	20, // 16: controller.api.resources.targets.v1.Target.ingress_worker_filter:type_name -> google.protobuf.StringValue
	4,  // 17: controller.api.resources.targets.v1.Target.brokered_credential_sources:type_name -> controller.api.resources.targets.v1.CredentialSource
	4,  // 18: controller.api.resources.targets.v1.Target.injected_application_credential_sources:type_name -> controller.api.resources.targets.v1.CredentialSource
	18, // 19: controller.api.resources.targets.v1.Target.attributes:type_name -> google.protobuf.Struct
	8,  // 20: controller.api.resources.targets.v1.Target.tcp_target_attributes:type_name -> controller.api.resources.targets.v1.TcpTargetAttributes
	9,  // 21: controller.api.resources.targets.v1.Target.ssh_target_attributes:type_name -> controller.api.resources.targets.v1.SshTargetAttributes
	10, // 22: controller.api.resources.targets.v1.Target.rdp_target_attributes:type_name -> controller.api.resources.targets.v1.RdpTargetAttributes
	20, // 23: controller.api.resources.targets.v1.Target.address:type_name -> google.protobuf.StringValue
	0,  // 24: controller.api.resources.targets.v1.Target.aliases:type_name -> controller.api.resources.targets.v1.Alias
	0,  // 25: controller.api.resources.targets.v1.Target.with_aliases:type_name -> controller.api.resources.targets.v1.Alias
	22, // 26: controller.api.resources.targets.v1.TcpTargetAttributes.default_port:type_name -> google.protobuf.UInt32Value
	22, // 27: controller.api.resources.targets.v1.TcpTargetAttributes.default_client_port:type_name -> google.protobuf.UInt32Value
	22, // 28: controller.api.resources.targets.v1.SshTargetAttributes.default_port:type_name -> google.protobuf.UInt32Value
	22, // 29: controller.api.resources.targets.v1.SshTargetAttributes.default_client_port:type_name -> google.protobuf.UInt32Value
	20, // 30: controller.api.resources.targets.v1.SshTargetAttributes.storage_bucket_id:type_name -> google.protobuf.StringValue
	24, // 31: controller.api.resources.targets.v1.SshTargetAttributes.enable_session_recording:type_name -> google.protobuf.BoolValue
	22, // 32: controller.api.resources.targets.v1.RdpTargetAttributes.default_port:type_name -> google.protobuf.UInt32Value
	22, // 33: controller.api.resources.targets.v1.RdpTargetAttributes.default_client_port:type_name -> google.protobuf.UInt32Value
	19, // 34: controller.api.resources.targets.v1.SessionAuthorizationData.scope:type_name -> controller.api.resources.scopes.v1.ScopeInfo
	21, // 35: controller.api.resources.targets.v1.SessionAuthorizationData.created_time:type_name -> google.protobuf.Timestamp
	21, // 36: controller.api.resources.targets.v1.SessionAuthorizationData.expiration:type_name -> google.protobuf.Timestamp
	11, // 37: controller.api.resources.targets.v1.SessionAuthorizationData.worker_info:type_name -> controller.api.resources.targets.v1.WorkerInfo
	19, // 38: controller.api.resources.targets.v1.SessionAuthorization.scope:type_name -> controller.api.resources.scopes.v1.ScopeInfo
	21, // 39: controller.api.resources.targets.v1.SessionAuthorization.created_time:type_name -> google.protobuf.Timestamp
	21, // 40: controller.api.resources.targets.v1.SessionAuthorization.expiration:type_name -> google.protobuf.Timestamp
	6,  // 41: controller.api.resources.targets.v1.SessionAuthorization.credentials:type_name -> controller.api.resources.targets.v1.SessionCredential
	42, // [42:42] is the sub-list for method output_type
	42, // [42:42] is the sub-list for method input_type
	42, // [42:42] is the sub-list for extension type_name
	42, // [42:42] is the sub-list for extension extendee
	0,  // [0:42] is the sub-list for field type_name
}

func init() { file_controller_api_resources_targets_v1_target_proto_init() }
func file_controller_api_resources_targets_v1_target_proto_init() {
	if File_controller_api_resources_targets_v1_target_proto != nil {
		return
	}
	file_controller_api_resources_targets_v1_target_proto_msgTypes[7].OneofWrappers = []any{
		(*Target_Attributes)(nil),
		(*Target_TcpTargetAttributes)(nil),
		(*Target_SshTargetAttributes)(nil),
		(*Target_RdpTargetAttributes)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_controller_api_resources_targets_v1_target_proto_rawDesc), len(file_controller_api_resources_targets_v1_target_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   18,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_controller_api_resources_targets_v1_target_proto_goTypes,
		DependencyIndexes: file_controller_api_resources_targets_v1_target_proto_depIdxs,
		MessageInfos:      file_controller_api_resources_targets_v1_target_proto_msgTypes,
	}.Build()
	File_controller_api_resources_targets_v1_target_proto = out.File
	file_controller_api_resources_targets_v1_target_proto_goTypes = nil
	file_controller_api_resources_targets_v1_target_proto_depIdxs = nil
}
