// 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/deployment_resource_pool.proto

package aiplatformpb

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

	_ "google.golang.org/genproto/googleapis/api/annotations"
	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)
)

// A description of resources that can be shared by multiple DeployedModels,
// whose underlying specification consists of a DedicatedResources.
type DeploymentResourcePool struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Immutable. The resource name of the DeploymentResourcePool.
	// Format:
	// `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The underlying DedicatedResources that the DeploymentResourcePool
	// uses.
	DedicatedResources *DedicatedResources `protobuf:"bytes,2,opt,name=dedicated_resources,json=dedicatedResources,proto3" json:"dedicated_resources,omitempty"`
	// Customer-managed encryption key spec for a DeploymentResourcePool. If set,
	// this DeploymentResourcePool will be secured by this key. Endpoints and the
	// DeploymentResourcePool they deploy in need to have the same EncryptionSpec.
	EncryptionSpec *EncryptionSpec `protobuf:"bytes,5,opt,name=encryption_spec,json=encryptionSpec,proto3" json:"encryption_spec,omitempty"`
	// The service account that the DeploymentResourcePool's container(s) run as.
	// Specify the email address of the service account. If this service account
	// is not specified, the container(s) run as a service account that doesn't
	// have access to the resource project.
	//
	// Users deploying the Models to this DeploymentResourcePool must have the
	// `iam.serviceAccounts.actAs` permission on this service account.
	ServiceAccount string `protobuf:"bytes,6,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
	// If the DeploymentResourcePool is deployed with custom-trained Models or
	// AutoML Tabular Models, the container(s) of the DeploymentResourcePool will
	// send `stderr` and `stdout` streams to Cloud Logging by default.
	// Please note that the logs incur cost, which are subject to [Cloud Logging
	// pricing](https://cloud.google.com/logging/pricing).
	//
	// User can disable container logging by setting this flag to true.
	DisableContainerLogging bool `protobuf:"varint,7,opt,name=disable_container_logging,json=disableContainerLogging,proto3" json:"disable_container_logging,omitempty"`
	// Output only. Timestamp when this DeploymentResourcePool was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Reserved for future use.
	SatisfiesPzs bool `protobuf:"varint,8,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"`
	// Output only. Reserved for future use.
	SatisfiesPzi  bool `protobuf:"varint,9,opt,name=satisfies_pzi,json=satisfiesPzi,proto3" json:"satisfies_pzi,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DeploymentResourcePool) ProtoMessage() {}

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

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

func (x *DeploymentResourcePool) GetDedicatedResources() *DedicatedResources {
	if x != nil {
		return x.DedicatedResources
	}
	return nil
}

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

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

func (x *DeploymentResourcePool) GetDisableContainerLogging() bool {
	if x != nil {
		return x.DisableContainerLogging
	}
	return false
}

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

func (x *DeploymentResourcePool) GetSatisfiesPzs() bool {
	if x != nil {
		return x.SatisfiesPzs
	}
	return false
}

func (x *DeploymentResourcePool) GetSatisfiesPzi() bool {
	if x != nil {
		return x.SatisfiesPzi
	}
	return false
}

var File_google_cloud_aiplatform_v1_deployment_resource_pool_proto protoreflect.FileDescriptor

const file_google_cloud_aiplatform_v1_deployment_resource_pool_proto_rawDesc = "" +
	"\n" +
	"9google/cloud/aiplatform/v1/deployment_resource_pool.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\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfc\x04\n" +
	"\x16DeploymentResourcePool\x12\x17\n" +
	"\x04name\x18\x01 \x01(\tB\x03\xe0A\x05R\x04name\x12d\n" +
	"\x13dedicated_resources\x18\x02 \x01(\v2..google.cloud.aiplatform.v1.DedicatedResourcesB\x03\xe0A\x02R\x12dedicatedResources\x12S\n" +
	"\x0fencryption_spec\x18\x05 \x01(\v2*.google.cloud.aiplatform.v1.EncryptionSpecR\x0eencryptionSpec\x12'\n" +
	"\x0fservice_account\x18\x06 \x01(\tR\x0eserviceAccount\x12:\n" +
	"\x19disable_container_logging\x18\a \x01(\bR\x17disableContainerLogging\x12@\n" +
	"\vcreate_time\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"createTime\x12(\n" +
	"\rsatisfies_pzs\x18\b \x01(\bB\x03\xe0A\x03R\fsatisfiesPzs\x12(\n" +
	"\rsatisfies_pzi\x18\t \x01(\bB\x03\xe0A\x03R\fsatisfiesPzi:\x92\x01\xeaA\x8e\x01\n" +
	"0aiplatform.googleapis.com/DeploymentResourcePool\x12Zprojects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}B\xd9\x01\n" +
	"\x1ecom.google.cloud.aiplatform.v1B\x1bDeploymentResourcePoolProtoP\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_deployment_resource_pool_proto_rawDescOnce sync.Once
	file_google_cloud_aiplatform_v1_deployment_resource_pool_proto_rawDescData []byte
)

func file_google_cloud_aiplatform_v1_deployment_resource_pool_proto_rawDescGZIP() []byte {
	file_google_cloud_aiplatform_v1_deployment_resource_pool_proto_rawDescOnce.Do(func() {
		file_google_cloud_aiplatform_v1_deployment_resource_pool_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_aiplatform_v1_deployment_resource_pool_proto_rawDesc), len(file_google_cloud_aiplatform_v1_deployment_resource_pool_proto_rawDesc)))
	})
	return file_google_cloud_aiplatform_v1_deployment_resource_pool_proto_rawDescData
}

var file_google_cloud_aiplatform_v1_deployment_resource_pool_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_google_cloud_aiplatform_v1_deployment_resource_pool_proto_goTypes = []any{
	(*DeploymentResourcePool)(nil), // 0: google.cloud.aiplatform.v1.DeploymentResourcePool
	(*DedicatedResources)(nil),     // 1: google.cloud.aiplatform.v1.DedicatedResources
	(*EncryptionSpec)(nil),         // 2: google.cloud.aiplatform.v1.EncryptionSpec
	(*timestamppb.Timestamp)(nil),  // 3: google.protobuf.Timestamp
}
var file_google_cloud_aiplatform_v1_deployment_resource_pool_proto_depIdxs = []int32{
	1, // 0: google.cloud.aiplatform.v1.DeploymentResourcePool.dedicated_resources:type_name -> google.cloud.aiplatform.v1.DedicatedResources
	2, // 1: google.cloud.aiplatform.v1.DeploymentResourcePool.encryption_spec:type_name -> google.cloud.aiplatform.v1.EncryptionSpec
	3, // 2: google.cloud.aiplatform.v1.DeploymentResourcePool.create_time:type_name -> google.protobuf.Timestamp
	3, // [3:3] is the sub-list for method output_type
	3, // [3:3] is the sub-list for method input_type
	3, // [3:3] is the sub-list for extension type_name
	3, // [3:3] is the sub-list for extension extendee
	0, // [0:3] is the sub-list for field type_name
}

func init() { file_google_cloud_aiplatform_v1_deployment_resource_pool_proto_init() }
func file_google_cloud_aiplatform_v1_deployment_resource_pool_proto_init() {
	if File_google_cloud_aiplatform_v1_deployment_resource_pool_proto != nil {
		return
	}
	file_google_cloud_aiplatform_v1_encryption_spec_proto_init()
	file_google_cloud_aiplatform_v1_machine_resources_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_cloud_aiplatform_v1_deployment_resource_pool_proto_rawDesc), len(file_google_cloud_aiplatform_v1_deployment_resource_pool_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_google_cloud_aiplatform_v1_deployment_resource_pool_proto_goTypes,
		DependencyIndexes: file_google_cloud_aiplatform_v1_deployment_resource_pool_proto_depIdxs,
		MessageInfos:      file_google_cloud_aiplatform_v1_deployment_resource_pool_proto_msgTypes,
	}.Build()
	File_google_cloud_aiplatform_v1_deployment_resource_pool_proto = out.File
	file_google_cloud_aiplatform_v1_deployment_resource_pool_proto_goTypes = nil
	file_google_cloud_aiplatform_v1_deployment_resource_pool_proto_depIdxs = nil
}
