// Copyright 2025 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
//
//     http://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.11
// 	protoc        v6.33.2
// source: google/cloud/aiplatform/v1/persistent_resource.proto

package aiplatformpb

import (
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"

	_ "google.golang.org/genproto/googleapis/api/annotations"
	status "google.golang.org/genproto/googleapis/rpc/status"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)

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)
)

// Describes the PersistentResource state.
type PersistentResource_State int32

const (
	// Not set.
	PersistentResource_STATE_UNSPECIFIED PersistentResource_State = 0
	// The PROVISIONING state indicates the persistent resources is being
	// created.
	PersistentResource_PROVISIONING PersistentResource_State = 1
	// The RUNNING state indicates the persistent resource is healthy and fully
	// usable.
	PersistentResource_RUNNING PersistentResource_State = 3
	// The STOPPING state indicates the persistent resource is being deleted.
	PersistentResource_STOPPING PersistentResource_State = 4
	// The ERROR state indicates the persistent resource may be unusable.
	// Details can be found in the `error` field.
	PersistentResource_ERROR PersistentResource_State = 5
	// The REBOOTING state indicates the persistent resource is being rebooted
	// (PR is not available right now but is expected to be ready again later).
	PersistentResource_REBOOTING PersistentResource_State = 6
	// The UPDATING state indicates the persistent resource is being updated.
	PersistentResource_UPDATING PersistentResource_State = 7
)

// Enum value maps for PersistentResource_State.
var (
	PersistentResource_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PROVISIONING",
		3: "RUNNING",
		4: "STOPPING",
		5: "ERROR",
		6: "REBOOTING",
		7: "UPDATING",
	}
	PersistentResource_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PROVISIONING":      1,
		"RUNNING":           3,
		"STOPPING":          4,
		"ERROR":             5,
		"REBOOTING":         6,
		"UPDATING":          7,
	}
)

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

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

func (PersistentResource_State) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_aiplatform_v1_persistent_resource_proto_enumTypes[0].Descriptor()
}

func (PersistentResource_State) Type() protoreflect.EnumType {
	return &file_google_cloud_aiplatform_v1_persistent_resource_proto_enumTypes[0]
}

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

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

// Represents long-lasting resources that are dedicated to users to runs custom
// workloads.
// A PersistentResource can have multiple node pools and each node
// pool can have its own machine spec.
type PersistentResource struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Immutable. Resource name of a PersistentResource.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The display name of the PersistentResource.
	// The name can be up to 128 characters long and can consist of any UTF-8
	// characters.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Required. The spec of the pools of different resources.
	ResourcePools []*ResourcePool `protobuf:"bytes,4,rep,name=resource_pools,json=resourcePools,proto3" json:"resource_pools,omitempty"`
	// Output only. The detailed state of a Study.
	State PersistentResource_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.aiplatform.v1.PersistentResource_State" json:"state,omitempty"`
	// Output only. Only populated when persistent resource's state is `STOPPING`
	// or `ERROR`.
	Error *status.Status `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
	// Output only. Time when the PersistentResource was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Time when the PersistentResource for the first time entered
	// the `RUNNING` state.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// Output only. Time when the PersistentResource was most recently updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. The labels with user-defined metadata to organize
	// PersistentResource.
	//
	// Label keys and values can be no longer than 64 characters
	// (Unicode codepoints), can only contain lowercase letters, numeric
	// characters, underscores and dashes. International characters are allowed.
	//
	// See https://goo.gl/xmQnxf for more information and examples of labels.
	Labels map[string]string `protobuf:"bytes,10,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// Optional. The full name of the Compute Engine
	// [network](/compute/docs/networks-and-firewalls#networks) to peered with
	// Vertex AI to host the persistent resources.
	// For example, `projects/12345/global/networks/myVPC`.
	// [Format](/compute/docs/reference/rest/v1/networks/insert)
	// is of the form `projects/{project}/global/networks/{network}`.
	// Where {project} is a project number, as in `12345`, and {network} is a
	// network name.
	//
	// To specify this field, you must have already [configured VPC Network
	// Peering for Vertex
	// AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering).
	//
	// If this field is left unspecified, the resources aren't peered with any
	// network.
	Network string `protobuf:"bytes,11,opt,name=network,proto3" json:"network,omitempty"`
	// Optional. Configuration for PSC-I for PersistentResource.
	PscInterfaceConfig *PscInterfaceConfig `protobuf:"bytes,17,opt,name=psc_interface_config,json=pscInterfaceConfig,proto3" json:"psc_interface_config,omitempty"`
	// Optional. Customer-managed encryption key spec for a PersistentResource.
	// If set, this PersistentResource and all sub-resources of this
	// PersistentResource will be secured by this key.
	EncryptionSpec *EncryptionSpec `protobuf:"bytes,12,opt,name=encryption_spec,json=encryptionSpec,proto3" json:"encryption_spec,omitempty"`
	// Optional. Persistent Resource runtime spec.
	// For example, used for Ray cluster configuration.
	ResourceRuntimeSpec *ResourceRuntimeSpec `protobuf:"bytes,13,opt,name=resource_runtime_spec,json=resourceRuntimeSpec,proto3" json:"resource_runtime_spec,omitempty"`
	// Output only. Runtime information of the Persistent Resource.
	ResourceRuntime *ResourceRuntime `protobuf:"bytes,14,opt,name=resource_runtime,json=resourceRuntime,proto3" json:"resource_runtime,omitempty"`
	// Optional. A list of names for the reserved IP ranges under the VPC network
	// that can be used for this persistent resource.
	//
	// If set, we will deploy the persistent resource within the provided IP
	// ranges. Otherwise, the persistent resource is deployed to any IP
	// ranges under the provided VPC network.
	//
	// Example: ['vertex-ai-ip-range'].
	ReservedIpRanges []string `protobuf:"bytes,15,rep,name=reserved_ip_ranges,json=reservedIpRanges,proto3" json:"reserved_ip_ranges,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*PersistentResource) ProtoMessage() {}

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

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

func (x *PersistentResource) GetDisplayName() string {
	if x != nil {
		return x.DisplayName
	}
	return ""
}

func (x *PersistentResource) GetResourcePools() []*ResourcePool {
	if x != nil {
		return x.ResourcePools
	}
	return nil
}

func (x *PersistentResource) GetState() PersistentResource_State {
	if x != nil {
		return x.State
	}
	return PersistentResource_STATE_UNSPECIFIED
}

func (x *PersistentResource) GetError() *status.Status {
	if x != nil {
		return x.Error
	}
	return nil
}

func (x *PersistentResource) GetCreateTime() *timestamppb.Timestamp {
	if x != nil {
		return x.CreateTime
	}
	return nil
}

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

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

func (x *PersistentResource) GetLabels() map[string]string {
	if x != nil {
		return x.Labels
	}
	return nil
}

func (x *PersistentResource) GetNetwork() string {
	if x != nil {
		return x.Network
	}
	return ""
}

func (x *PersistentResource) GetPscInterfaceConfig() *PscInterfaceConfig {
	if x != nil {
		return x.PscInterfaceConfig
	}
	return nil
}

func (x *PersistentResource) GetEncryptionSpec() *EncryptionSpec {
	if x != nil {
		return x.EncryptionSpec
	}
	return nil
}

func (x *PersistentResource) GetResourceRuntimeSpec() *ResourceRuntimeSpec {
	if x != nil {
		return x.ResourceRuntimeSpec
	}
	return nil
}

func (x *PersistentResource) GetResourceRuntime() *ResourceRuntime {
	if x != nil {
		return x.ResourceRuntime
	}
	return nil
}

func (x *PersistentResource) GetReservedIpRanges() []string {
	if x != nil {
		return x.ReservedIpRanges
	}
	return nil
}

// Represents the spec of a group of resources of the same type,
// for example machine type, disk, and accelerators, in a PersistentResource.
type ResourcePool struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Immutable. The unique ID in a PersistentResource for referring to this
	// resource pool. User can specify it if necessary. Otherwise, it's generated
	// automatically.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Required. Immutable. The specification of a single machine.
	MachineSpec *MachineSpec `protobuf:"bytes,2,opt,name=machine_spec,json=machineSpec,proto3" json:"machine_spec,omitempty"`
	// Optional. The total number of machines to use for this resource pool.
	ReplicaCount *int64 `protobuf:"varint,3,opt,name=replica_count,json=replicaCount,proto3,oneof" json:"replica_count,omitempty"`
	// Optional. Disk spec for the machine in this node pool.
	DiskSpec *DiskSpec `protobuf:"bytes,4,opt,name=disk_spec,json=diskSpec,proto3" json:"disk_spec,omitempty"`
	// Output only. The number of machines currently in use by training jobs for
	// this resource pool. Will replace idle_replica_count.
	UsedReplicaCount int64 `protobuf:"varint,6,opt,name=used_replica_count,json=usedReplicaCount,proto3" json:"used_replica_count,omitempty"`
	// Optional. Optional spec to configure GKE or Ray-on-Vertex autoscaling
	AutoscalingSpec *ResourcePool_AutoscalingSpec `protobuf:"bytes,7,opt,name=autoscaling_spec,json=autoscalingSpec,proto3" json:"autoscaling_spec,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*ResourcePool) ProtoMessage() {}

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

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

func (x *ResourcePool) GetMachineSpec() *MachineSpec {
	if x != nil {
		return x.MachineSpec
	}
	return nil
}

func (x *ResourcePool) GetReplicaCount() int64 {
	if x != nil && x.ReplicaCount != nil {
		return *x.ReplicaCount
	}
	return 0
}

func (x *ResourcePool) GetDiskSpec() *DiskSpec {
	if x != nil {
		return x.DiskSpec
	}
	return nil
}

func (x *ResourcePool) GetUsedReplicaCount() int64 {
	if x != nil {
		return x.UsedReplicaCount
	}
	return 0
}

func (x *ResourcePool) GetAutoscalingSpec() *ResourcePool_AutoscalingSpec {
	if x != nil {
		return x.AutoscalingSpec
	}
	return nil
}

// Configuration for the runtime on a PersistentResource instance, including
// but not limited to:
//
// * Service accounts used to run the workloads.
// * Whether to make it a dedicated Ray Cluster.
type ResourceRuntimeSpec struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. Configure the use of workload identity on the PersistentResource
	ServiceAccountSpec *ServiceAccountSpec `protobuf:"bytes,2,opt,name=service_account_spec,json=serviceAccountSpec,proto3" json:"service_account_spec,omitempty"`
	// Optional. Ray cluster configuration.
	// Required when creating a dedicated RayCluster on the PersistentResource.
	RaySpec       *RaySpec `protobuf:"bytes,1,opt,name=ray_spec,json=raySpec,proto3" json:"ray_spec,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ResourceRuntimeSpec) ProtoMessage() {}

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

func (x *ResourceRuntimeSpec) GetServiceAccountSpec() *ServiceAccountSpec {
	if x != nil {
		return x.ServiceAccountSpec
	}
	return nil
}

func (x *ResourceRuntimeSpec) GetRaySpec() *RaySpec {
	if x != nil {
		return x.RaySpec
	}
	return nil
}

// Configuration information for the Ray cluster.
// For experimental launch, Ray cluster creation and Persistent
// cluster creation are 1:1 mapping: We will provision all the nodes within the
// Persistent cluster as Ray nodes.
type RaySpec struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. Default image for user to choose a preferred ML framework
	// (for example, TensorFlow or Pytorch) by choosing from [Vertex prebuilt
	// images](https://cloud.google.com/vertex-ai/docs/training/pre-built-containers).
	// Either this or the resource_pool_images is required. Use this field if
	// you need all the resource pools to have the same Ray image. Otherwise, use
	// the {@code resource_pool_images} field.
	ImageUri string `protobuf:"bytes,1,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"`
	// Optional. Required if image_uri isn't set. A map of resource_pool_id to
	// prebuild Ray image if user need to use different images for different
	// head/worker pools. This map needs to cover all the resource pool ids.
	// Example:
	//
	//	{
	//	  "ray_head_node_pool": "head image"
	//	  "ray_worker_node_pool1": "worker image"
	//	  "ray_worker_node_pool2": "another worker image"
	//	}
	ResourcePoolImages map[string]string `protobuf:"bytes,6,rep,name=resource_pool_images,json=resourcePoolImages,proto3" json:"resource_pool_images,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// Optional. This will be used to indicate which resource pool will serve as
	// the Ray head node(the first node within that pool). Will use the machine
	// from the first workerpool as the head node by default if this field isn't
	// set.
	HeadNodeResourcePoolId string `protobuf:"bytes,7,opt,name=head_node_resource_pool_id,json=headNodeResourcePoolId,proto3" json:"head_node_resource_pool_id,omitempty"`
	// Optional. Ray metrics configurations.
	RayMetricSpec *RayMetricSpec `protobuf:"bytes,8,opt,name=ray_metric_spec,json=rayMetricSpec,proto3" json:"ray_metric_spec,omitempty"`
	// Optional. OSS Ray logging configurations.
	RayLogsSpec   *RayLogsSpec `protobuf:"bytes,10,opt,name=ray_logs_spec,json=rayLogsSpec,proto3" json:"ray_logs_spec,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*RaySpec) ProtoMessage() {}

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

func (x *RaySpec) GetImageUri() string {
	if x != nil {
		return x.ImageUri
	}
	return ""
}

func (x *RaySpec) GetResourcePoolImages() map[string]string {
	if x != nil {
		return x.ResourcePoolImages
	}
	return nil
}

func (x *RaySpec) GetHeadNodeResourcePoolId() string {
	if x != nil {
		return x.HeadNodeResourcePoolId
	}
	return ""
}

func (x *RaySpec) GetRayMetricSpec() *RayMetricSpec {
	if x != nil {
		return x.RayMetricSpec
	}
	return nil
}

func (x *RaySpec) GetRayLogsSpec() *RayLogsSpec {
	if x != nil {
		return x.RayLogsSpec
	}
	return nil
}

// Persistent Cluster runtime information as output
type ResourceRuntime struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Output only. URIs for user to connect to the Cluster.
	// Example:
	//
	//	{
	//	  "RAY_HEAD_NODE_INTERNAL_IP": "head-node-IP:10001"
	//	  "RAY_DASHBOARD_URI": "ray-dashboard-address:8888"
	//	}
	AccessUris    map[string]string `protobuf:"bytes,1,rep,name=access_uris,json=accessUris,proto3" json:"access_uris,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ResourceRuntime) ProtoMessage() {}

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

func (x *ResourceRuntime) GetAccessUris() map[string]string {
	if x != nil {
		return x.AccessUris
	}
	return nil
}

// Configuration for the use of custom service account to run the workloads.
type ServiceAccountSpec struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. If true, custom user-managed service account is enforced to run
	// any workloads (for example, Vertex Jobs) on the resource. Otherwise, uses
	// the [Vertex AI Custom Code Service
	// Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents).
	EnableCustomServiceAccount bool `protobuf:"varint,1,opt,name=enable_custom_service_account,json=enableCustomServiceAccount,proto3" json:"enable_custom_service_account,omitempty"`
	// Optional. Required when all below conditions are met
	//   - `enable_custom_service_account` is true;
	//   - any runtime is specified via `ResourceRuntimeSpec` on creation time,
	//     for example, Ray
	//
	// The users must have `iam.serviceAccounts.actAs` permission on this service
	// account and then the specified runtime containers will run as it.
	//
	// Do not set this field if you want to submit jobs using custom service
	// account to this PersistentResource after creation, but only specify the
	// `service_account` inside the job.
	ServiceAccount string `protobuf:"bytes,2,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*ServiceAccountSpec) ProtoMessage() {}

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

func (x *ServiceAccountSpec) GetEnableCustomServiceAccount() bool {
	if x != nil {
		return x.EnableCustomServiceAccount
	}
	return false
}

func (x *ServiceAccountSpec) GetServiceAccount() string {
	if x != nil {
		return x.ServiceAccount
	}
	return ""
}

// Configuration for the Ray metrics.
type RayMetricSpec struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. Flag to disable the Ray metrics collection.
	Disabled      bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*RayMetricSpec) ProtoMessage() {}

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

func (x *RayMetricSpec) GetDisabled() bool {
	if x != nil {
		return x.Disabled
	}
	return false
}

// Configuration for the Ray OSS Logs.
type RayLogsSpec struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. Flag to disable the export of Ray OSS logs to Cloud Logging.
	Disabled      bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*RayLogsSpec) ProtoMessage() {}

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

func (x *RayLogsSpec) GetDisabled() bool {
	if x != nil {
		return x.Disabled
	}
	return false
}

// The min/max number of replicas allowed if enabling autoscaling
type ResourcePool_AutoscalingSpec struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. min replicas in the node pool,
	// must be ≤ replica_count and < max_replica_count or will throw error.
	// For autoscaling enabled Ray-on-Vertex, we allow min_replica_count of a
	// resource_pool to be 0 to match the OSS Ray
	// behavior(https://docs.ray.io/en/latest/cluster/vms/user-guides/configuring-autoscaling.html#cluster-config-parameters).
	// As for Persistent Resource, the min_replica_count must be > 0, we added
	// a corresponding validation inside
	// CreatePersistentResourceRequestValidator.java.
	MinReplicaCount *int64 `protobuf:"varint,1,opt,name=min_replica_count,json=minReplicaCount,proto3,oneof" json:"min_replica_count,omitempty"`
	// Optional. max replicas in the node pool,
	// must be ≥ replica_count and > min_replica_count or will throw error
	MaxReplicaCount *int64 `protobuf:"varint,2,opt,name=max_replica_count,json=maxReplicaCount,proto3,oneof" json:"max_replica_count,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*ResourcePool_AutoscalingSpec) ProtoMessage() {}

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

func (x *ResourcePool_AutoscalingSpec) GetMinReplicaCount() int64 {
	if x != nil && x.MinReplicaCount != nil {
		return *x.MinReplicaCount
	}
	return 0
}

func (x *ResourcePool_AutoscalingSpec) GetMaxReplicaCount() int64 {
	if x != nil && x.MaxReplicaCount != nil {
		return *x.MaxReplicaCount
	}
	return 0
}

var File_google_cloud_aiplatform_v1_persistent_resource_proto protoreflect.FileDescriptor

const file_google_cloud_aiplatform_v1_persistent_resource_proto_rawDesc = "" +
	"\n" +
	"4google/cloud/aiplatform/v1/persistent_resource.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a0google/cloud/aiplatform/v1/encryption_spec.proto\x1a2google/cloud/aiplatform/v1/machine_resources.proto\x1a3google/cloud/aiplatform/v1/service_networking.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xfd\n" +
	"\n" +
	"\x12PersistentResource\x12\x17\n" +
	"\x04name\x18\x01 \x01(\tB\x03\xe0A\x05R\x04name\x12&\n" +
	"\fdisplay_name\x18\x02 \x01(\tB\x03\xe0A\x01R\vdisplayName\x12T\n" +
	"\x0eresource_pools\x18\x04 \x03(\v2(.google.cloud.aiplatform.v1.ResourcePoolB\x03\xe0A\x02R\rresourcePools\x12O\n" +
	"\x05state\x18\x05 \x01(\x0e24.google.cloud.aiplatform.v1.PersistentResource.StateB\x03\xe0A\x03R\x05state\x12-\n" +
	"\x05error\x18\x06 \x01(\v2\x12.google.rpc.StatusB\x03\xe0A\x03R\x05error\x12@\n" +
	"\vcreate_time\x18\a \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"createTime\x12>\n" +
	"\n" +
	"start_time\x18\b \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\tstartTime\x12@\n" +
	"\vupdate_time\x18\t \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"updateTime\x12W\n" +
	"\x06labels\x18\n" +
	" \x03(\v2:.google.cloud.aiplatform.v1.PersistentResource.LabelsEntryB\x03\xe0A\x01R\x06labels\x12@\n" +
	"\anetwork\x18\v \x01(\tB&\xe0A\x01\xfaA \n" +
	"\x1ecompute.googleapis.com/NetworkR\anetwork\x12e\n" +
	"\x14psc_interface_config\x18\x11 \x01(\v2..google.cloud.aiplatform.v1.PscInterfaceConfigB\x03\xe0A\x01R\x12pscInterfaceConfig\x12X\n" +
	"\x0fencryption_spec\x18\f \x01(\v2*.google.cloud.aiplatform.v1.EncryptionSpecB\x03\xe0A\x01R\x0eencryptionSpec\x12h\n" +
	"\x15resource_runtime_spec\x18\r \x01(\v2/.google.cloud.aiplatform.v1.ResourceRuntimeSpecB\x03\xe0A\x01R\x13resourceRuntimeSpec\x12[\n" +
	"\x10resource_runtime\x18\x0e \x01(\v2+.google.cloud.aiplatform.v1.ResourceRuntimeB\x03\xe0A\x03R\x0fresourceRuntime\x121\n" +
	"\x12reserved_ip_ranges\x18\x0f \x03(\tB\x03\xe0A\x01R\x10reservedIpRanges\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"s\n" +
	"\x05State\x12\x15\n" +
	"\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n" +
	"\fPROVISIONING\x10\x01\x12\v\n" +
	"\aRUNNING\x10\x03\x12\f\n" +
	"\bSTOPPING\x10\x04\x12\t\n" +
	"\x05ERROR\x10\x05\x12\r\n" +
	"\tREBOOTING\x10\x06\x12\f\n" +
	"\bUPDATING\x10\a:\x85\x01\xeaA\x81\x01\n" +
	",aiplatform.googleapis.com/PersistentResource\x12Qprojects/{project}/locations/{location}/persistentResources/{persistent_resource}\"\xc9\x04\n" +
	"\fResourcePool\x12\x13\n" +
	"\x02id\x18\x01 \x01(\tB\x03\xe0A\x05R\x02id\x12R\n" +
	"\fmachine_spec\x18\x02 \x01(\v2'.google.cloud.aiplatform.v1.MachineSpecB\x06\xe0A\x02\xe0A\x05R\vmachineSpec\x12-\n" +
	"\rreplica_count\x18\x03 \x01(\x03B\x03\xe0A\x01H\x00R\freplicaCount\x88\x01\x01\x12F\n" +
	"\tdisk_spec\x18\x04 \x01(\v2$.google.cloud.aiplatform.v1.DiskSpecB\x03\xe0A\x01R\bdiskSpec\x121\n" +
	"\x12used_replica_count\x18\x06 \x01(\x03B\x03\xe0A\x03R\x10usedReplicaCount\x12h\n" +
	"\x10autoscaling_spec\x18\a \x01(\v28.google.cloud.aiplatform.v1.ResourcePool.AutoscalingSpecB\x03\xe0A\x01R\x0fautoscalingSpec\x1a\xa9\x01\n" +
	"\x0fAutoscalingSpec\x124\n" +
	"\x11min_replica_count\x18\x01 \x01(\x03B\x03\xe0A\x01H\x00R\x0fminReplicaCount\x88\x01\x01\x124\n" +
	"\x11max_replica_count\x18\x02 \x01(\x03B\x03\xe0A\x01H\x01R\x0fmaxReplicaCount\x88\x01\x01B\x14\n" +
	"\x12_min_replica_countB\x14\n" +
	"\x12_max_replica_countB\x10\n" +
	"\x0e_replica_count\"\xc1\x01\n" +
	"\x13ResourceRuntimeSpec\x12e\n" +
	"\x14service_account_spec\x18\x02 \x01(\v2..google.cloud.aiplatform.v1.ServiceAccountSpecB\x03\xe0A\x01R\x12serviceAccountSpec\x12C\n" +
	"\bray_spec\x18\x01 \x01(\v2#.google.cloud.aiplatform.v1.RaySpecB\x03\xe0A\x01R\araySpec\"\xd1\x03\n" +
	"\aRaySpec\x12 \n" +
	"\timage_uri\x18\x01 \x01(\tB\x03\xe0A\x01R\bimageUri\x12r\n" +
	"\x14resource_pool_images\x18\x06 \x03(\v2;.google.cloud.aiplatform.v1.RaySpec.ResourcePoolImagesEntryB\x03\xe0A\x01R\x12resourcePoolImages\x12?\n" +
	"\x1ahead_node_resource_pool_id\x18\a \x01(\tB\x03\xe0A\x01R\x16headNodeResourcePoolId\x12V\n" +
	"\x0fray_metric_spec\x18\b \x01(\v2).google.cloud.aiplatform.v1.RayMetricSpecB\x03\xe0A\x01R\rrayMetricSpec\x12P\n" +
	"\rray_logs_spec\x18\n" +
	" \x01(\v2'.google.cloud.aiplatform.v1.RayLogsSpecB\x03\xe0A\x01R\vrayLogsSpec\x1aE\n" +
	"\x17ResourcePoolImagesEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xb3\x01\n" +
	"\x0fResourceRuntime\x12a\n" +
	"\vaccess_uris\x18\x01 \x03(\v2;.google.cloud.aiplatform.v1.ResourceRuntime.AccessUrisEntryB\x03\xe0A\x03R\n" +
	"accessUris\x1a=\n" +
	"\x0fAccessUrisEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x8a\x01\n" +
	"\x12ServiceAccountSpec\x12F\n" +
	"\x1denable_custom_service_account\x18\x01 \x01(\bB\x03\xe0A\x02R\x1aenableCustomServiceAccount\x12,\n" +
	"\x0fservice_account\x18\x02 \x01(\tB\x03\xe0A\x01R\x0eserviceAccount\"0\n" +
	"\rRayMetricSpec\x12\x1f\n" +
	"\bdisabled\x18\x01 \x01(\bB\x03\xe0A\x01R\bdisabled\".\n" +
	"\vRayLogsSpec\x12\x1f\n" +
	"\bdisabled\x18\x01 \x01(\bB\x03\xe0A\x01R\bdisabledB\xd5\x01\n" +
	"\x1ecom.google.cloud.aiplatform.v1B\x17PersistentResourceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"

var (
	file_google_cloud_aiplatform_v1_persistent_resource_proto_rawDescOnce sync.Once
	file_google_cloud_aiplatform_v1_persistent_resource_proto_rawDescData []byte
)

func file_google_cloud_aiplatform_v1_persistent_resource_proto_rawDescGZIP() []byte {
	file_google_cloud_aiplatform_v1_persistent_resource_proto_rawDescOnce.Do(func() {
		file_google_cloud_aiplatform_v1_persistent_resource_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_aiplatform_v1_persistent_resource_proto_rawDesc), len(file_google_cloud_aiplatform_v1_persistent_resource_proto_rawDesc)))
	})
	return file_google_cloud_aiplatform_v1_persistent_resource_proto_rawDescData
}

var file_google_cloud_aiplatform_v1_persistent_resource_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_google_cloud_aiplatform_v1_persistent_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
var file_google_cloud_aiplatform_v1_persistent_resource_proto_goTypes = []any{
	(PersistentResource_State)(0),        // 0: google.cloud.aiplatform.v1.PersistentResource.State
	(*PersistentResource)(nil),           // 1: google.cloud.aiplatform.v1.PersistentResource
	(*ResourcePool)(nil),                 // 2: google.cloud.aiplatform.v1.ResourcePool
	(*ResourceRuntimeSpec)(nil),          // 3: google.cloud.aiplatform.v1.ResourceRuntimeSpec
	(*RaySpec)(nil),                      // 4: google.cloud.aiplatform.v1.RaySpec
	(*ResourceRuntime)(nil),              // 5: google.cloud.aiplatform.v1.ResourceRuntime
	(*ServiceAccountSpec)(nil),           // 6: google.cloud.aiplatform.v1.ServiceAccountSpec
	(*RayMetricSpec)(nil),                // 7: google.cloud.aiplatform.v1.RayMetricSpec
	(*RayLogsSpec)(nil),                  // 8: google.cloud.aiplatform.v1.RayLogsSpec
	nil,                                  // 9: google.cloud.aiplatform.v1.PersistentResource.LabelsEntry
	(*ResourcePool_AutoscalingSpec)(nil), // 10: google.cloud.aiplatform.v1.ResourcePool.AutoscalingSpec
	nil,                                  // 11: google.cloud.aiplatform.v1.RaySpec.ResourcePoolImagesEntry
	nil,                                  // 12: google.cloud.aiplatform.v1.ResourceRuntime.AccessUrisEntry
	(*status.Status)(nil),                // 13: google.rpc.Status
	(*timestamppb.Timestamp)(nil),        // 14: google.protobuf.Timestamp
	(*PscInterfaceConfig)(nil),           // 15: google.cloud.aiplatform.v1.PscInterfaceConfig
	(*EncryptionSpec)(nil),               // 16: google.cloud.aiplatform.v1.EncryptionSpec
	(*MachineSpec)(nil),                  // 17: google.cloud.aiplatform.v1.MachineSpec
	(*DiskSpec)(nil),                     // 18: google.cloud.aiplatform.v1.DiskSpec
}
var file_google_cloud_aiplatform_v1_persistent_resource_proto_depIdxs = []int32{
	2,  // 0: google.cloud.aiplatform.v1.PersistentResource.resource_pools:type_name -> google.cloud.aiplatform.v1.ResourcePool
	0,  // 1: google.cloud.aiplatform.v1.PersistentResource.state:type_name -> google.cloud.aiplatform.v1.PersistentResource.State
	13, // 2: google.cloud.aiplatform.v1.PersistentResource.error:type_name -> google.rpc.Status
	14, // 3: google.cloud.aiplatform.v1.PersistentResource.create_time:type_name -> google.protobuf.Timestamp
	14, // 4: google.cloud.aiplatform.v1.PersistentResource.start_time:type_name -> google.protobuf.Timestamp
	14, // 5: google.cloud.aiplatform.v1.PersistentResource.update_time:type_name -> google.protobuf.Timestamp
	9,  // 6: google.cloud.aiplatform.v1.PersistentResource.labels:type_name -> google.cloud.aiplatform.v1.PersistentResource.LabelsEntry
	15, // 7: google.cloud.aiplatform.v1.PersistentResource.psc_interface_config:type_name -> google.cloud.aiplatform.v1.PscInterfaceConfig
	16, // 8: google.cloud.aiplatform.v1.PersistentResource.encryption_spec:type_name -> google.cloud.aiplatform.v1.EncryptionSpec
	3,  // 9: google.cloud.aiplatform.v1.PersistentResource.resource_runtime_spec:type_name -> google.cloud.aiplatform.v1.ResourceRuntimeSpec
	5,  // 10: google.cloud.aiplatform.v1.PersistentResource.resource_runtime:type_name -> google.cloud.aiplatform.v1.ResourceRuntime
	17, // 11: google.cloud.aiplatform.v1.ResourcePool.machine_spec:type_name -> google.cloud.aiplatform.v1.MachineSpec
	18, // 12: google.cloud.aiplatform.v1.ResourcePool.disk_spec:type_name -> google.cloud.aiplatform.v1.DiskSpec
	10, // 13: google.cloud.aiplatform.v1.ResourcePool.autoscaling_spec:type_name -> google.cloud.aiplatform.v1.ResourcePool.AutoscalingSpec
	6,  // 14: google.cloud.aiplatform.v1.ResourceRuntimeSpec.service_account_spec:type_name -> google.cloud.aiplatform.v1.ServiceAccountSpec
	4,  // 15: google.cloud.aiplatform.v1.ResourceRuntimeSpec.ray_spec:type_name -> google.cloud.aiplatform.v1.RaySpec
	11, // 16: google.cloud.aiplatform.v1.RaySpec.resource_pool_images:type_name -> google.cloud.aiplatform.v1.RaySpec.ResourcePoolImagesEntry
	7,  // 17: google.cloud.aiplatform.v1.RaySpec.ray_metric_spec:type_name -> google.cloud.aiplatform.v1.RayMetricSpec
	8,  // 18: google.cloud.aiplatform.v1.RaySpec.ray_logs_spec:type_name -> google.cloud.aiplatform.v1.RayLogsSpec
	12, // 19: google.cloud.aiplatform.v1.ResourceRuntime.access_uris:type_name -> google.cloud.aiplatform.v1.ResourceRuntime.AccessUrisEntry
	20, // [20:20] is the sub-list for method output_type
	20, // [20:20] is the sub-list for method input_type
	20, // [20:20] is the sub-list for extension type_name
	20, // [20:20] is the sub-list for extension extendee
	0,  // [0:20] is the sub-list for field type_name
}

func init() { file_google_cloud_aiplatform_v1_persistent_resource_proto_init() }
func file_google_cloud_aiplatform_v1_persistent_resource_proto_init() {
	if File_google_cloud_aiplatform_v1_persistent_resource_proto != nil {
		return
	}
	file_google_cloud_aiplatform_v1_encryption_spec_proto_init()
	file_google_cloud_aiplatform_v1_machine_resources_proto_init()
	file_google_cloud_aiplatform_v1_service_networking_proto_init()
	file_google_cloud_aiplatform_v1_persistent_resource_proto_msgTypes[1].OneofWrappers = []any{}
	file_google_cloud_aiplatform_v1_persistent_resource_proto_msgTypes[9].OneofWrappers = []any{}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_cloud_aiplatform_v1_persistent_resource_proto_rawDesc), len(file_google_cloud_aiplatform_v1_persistent_resource_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   12,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_google_cloud_aiplatform_v1_persistent_resource_proto_goTypes,
		DependencyIndexes: file_google_cloud_aiplatform_v1_persistent_resource_proto_depIdxs,
		EnumInfos:         file_google_cloud_aiplatform_v1_persistent_resource_proto_enumTypes,
		MessageInfos:      file_google_cloud_aiplatform_v1_persistent_resource_proto_msgTypes,
	}.Build()
	File_google_cloud_aiplatform_v1_persistent_resource_proto = out.File
	file_google_cloud_aiplatform_v1_persistent_resource_proto_goTypes = nil
	file_google_cloud_aiplatform_v1_persistent_resource_proto_depIdxs = nil
}
