// 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/v1beta1/notebook_execution_job.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"
	durationpb "google.golang.org/protobuf/types/known/durationpb"
	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)
)

// NotebookExecutionJob represents an instance of a notebook execution.
type NotebookExecutionJob struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The input notebook.
	//
	// Types that are valid to be assigned to NotebookSource:
	//
	//	*NotebookExecutionJob_DataformRepositorySource_
	//	*NotebookExecutionJob_GcsNotebookSource_
	//	*NotebookExecutionJob_DirectNotebookSource_
	NotebookSource isNotebookExecutionJob_NotebookSource `protobuf_oneof:"notebook_source"`
	// The compute config to use for an execution job.
	//
	// Types that are valid to be assigned to EnvironmentSpec:
	//
	//	*NotebookExecutionJob_NotebookRuntimeTemplateResourceName
	//	*NotebookExecutionJob_CustomEnvironmentSpec_
	EnvironmentSpec isNotebookExecutionJob_EnvironmentSpec `protobuf_oneof:"environment_spec"`
	// The location to store the notebook execution result.
	//
	// Types that are valid to be assigned to ExecutionSink:
	//
	//	*NotebookExecutionJob_GcsOutputUri
	ExecutionSink isNotebookExecutionJob_ExecutionSink `protobuf_oneof:"execution_sink"`
	// The identity to run the execution as.
	//
	// Types that are valid to be assigned to ExecutionIdentity:
	//
	//	*NotebookExecutionJob_ExecutionUser
	//	*NotebookExecutionJob_ServiceAccount
	ExecutionIdentity isNotebookExecutionJob_ExecutionIdentity `protobuf_oneof:"execution_identity"`
	// Runtime environment for the notebook execution job. If unspecified, the
	// default runtime of Colab is used.
	//
	// Types that are valid to be assigned to RuntimeEnvironment:
	//
	//	*NotebookExecutionJob_WorkbenchRuntime_
	RuntimeEnvironment isNotebookExecutionJob_RuntimeEnvironment `protobuf_oneof:"runtime_environment"`
	// Output only. The resource name of this NotebookExecutionJob. Format:
	// `projects/{project_id}/locations/{location}/notebookExecutionJobs/{job_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The display name of the NotebookExecutionJob. 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"`
	// Max running time of the execution job in seconds (default 86400s / 24 hrs).
	ExecutionTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=execution_timeout,json=executionTimeout,proto3" json:"execution_timeout,omitempty"`
	// The Schedule resource name if this job is triggered by one. Format:
	// `projects/{project_id}/locations/{location}/schedules/{schedule_id}`
	ScheduleResourceName string `protobuf:"bytes,6,opt,name=schedule_resource_name,json=scheduleResourceName,proto3" json:"schedule_resource_name,omitempty"`
	// Output only. The state of the NotebookExecutionJob.
	JobState JobState `protobuf:"varint,10,opt,name=job_state,json=jobState,proto3,enum=google.cloud.aiplatform.v1beta1.JobState" json:"job_state,omitempty"`
	// Output only. Populated when the NotebookExecutionJob is completed. When
	// there is an error during notebook execution, the error details are
	// populated.
	Status *status.Status `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"`
	// Output only. Timestamp when this NotebookExecutionJob was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Timestamp when this NotebookExecutionJob was most recently
	// updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The labels with user-defined metadata to organize NotebookExecutionJobs.
	//
	// 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.
	// System reserved label keys are prefixed with "aiplatform.googleapis.com/"
	// and are immutable.
	Labels map[string]string `protobuf:"bytes,19,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// The name of the kernel to use during notebook execution. If unset, the
	// default kernel is used.
	KernelName string `protobuf:"bytes,20,opt,name=kernel_name,json=kernelName,proto3" json:"kernel_name,omitempty"`
	// Customer-managed encryption key spec for the notebook execution job.
	// This field is auto-populated if the
	// [NotebookRuntimeTemplate][google.cloud.aiplatform.v1beta1.NotebookRuntimeTemplate]
	// has an encryption spec.
	EncryptionSpec *EncryptionSpec `protobuf:"bytes,22,opt,name=encryption_spec,json=encryptionSpec,proto3" json:"encryption_spec,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*NotebookExecutionJob) ProtoMessage() {}

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

func (x *NotebookExecutionJob) GetNotebookSource() isNotebookExecutionJob_NotebookSource {
	if x != nil {
		return x.NotebookSource
	}
	return nil
}

func (x *NotebookExecutionJob) GetDataformRepositorySource() *NotebookExecutionJob_DataformRepositorySource {
	if x != nil {
		if x, ok := x.NotebookSource.(*NotebookExecutionJob_DataformRepositorySource_); ok {
			return x.DataformRepositorySource
		}
	}
	return nil
}

func (x *NotebookExecutionJob) GetGcsNotebookSource() *NotebookExecutionJob_GcsNotebookSource {
	if x != nil {
		if x, ok := x.NotebookSource.(*NotebookExecutionJob_GcsNotebookSource_); ok {
			return x.GcsNotebookSource
		}
	}
	return nil
}

func (x *NotebookExecutionJob) GetDirectNotebookSource() *NotebookExecutionJob_DirectNotebookSource {
	if x != nil {
		if x, ok := x.NotebookSource.(*NotebookExecutionJob_DirectNotebookSource_); ok {
			return x.DirectNotebookSource
		}
	}
	return nil
}

func (x *NotebookExecutionJob) GetEnvironmentSpec() isNotebookExecutionJob_EnvironmentSpec {
	if x != nil {
		return x.EnvironmentSpec
	}
	return nil
}

func (x *NotebookExecutionJob) GetNotebookRuntimeTemplateResourceName() string {
	if x != nil {
		if x, ok := x.EnvironmentSpec.(*NotebookExecutionJob_NotebookRuntimeTemplateResourceName); ok {
			return x.NotebookRuntimeTemplateResourceName
		}
	}
	return ""
}

func (x *NotebookExecutionJob) GetCustomEnvironmentSpec() *NotebookExecutionJob_CustomEnvironmentSpec {
	if x != nil {
		if x, ok := x.EnvironmentSpec.(*NotebookExecutionJob_CustomEnvironmentSpec_); ok {
			return x.CustomEnvironmentSpec
		}
	}
	return nil
}

func (x *NotebookExecutionJob) GetExecutionSink() isNotebookExecutionJob_ExecutionSink {
	if x != nil {
		return x.ExecutionSink
	}
	return nil
}

func (x *NotebookExecutionJob) GetGcsOutputUri() string {
	if x != nil {
		if x, ok := x.ExecutionSink.(*NotebookExecutionJob_GcsOutputUri); ok {
			return x.GcsOutputUri
		}
	}
	return ""
}

func (x *NotebookExecutionJob) GetExecutionIdentity() isNotebookExecutionJob_ExecutionIdentity {
	if x != nil {
		return x.ExecutionIdentity
	}
	return nil
}

func (x *NotebookExecutionJob) GetExecutionUser() string {
	if x != nil {
		if x, ok := x.ExecutionIdentity.(*NotebookExecutionJob_ExecutionUser); ok {
			return x.ExecutionUser
		}
	}
	return ""
}

func (x *NotebookExecutionJob) GetServiceAccount() string {
	if x != nil {
		if x, ok := x.ExecutionIdentity.(*NotebookExecutionJob_ServiceAccount); ok {
			return x.ServiceAccount
		}
	}
	return ""
}

func (x *NotebookExecutionJob) GetRuntimeEnvironment() isNotebookExecutionJob_RuntimeEnvironment {
	if x != nil {
		return x.RuntimeEnvironment
	}
	return nil
}

func (x *NotebookExecutionJob) GetWorkbenchRuntime() *NotebookExecutionJob_WorkbenchRuntime {
	if x != nil {
		if x, ok := x.RuntimeEnvironment.(*NotebookExecutionJob_WorkbenchRuntime_); ok {
			return x.WorkbenchRuntime
		}
	}
	return nil
}

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

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

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

func (x *NotebookExecutionJob) GetScheduleResourceName() string {
	if x != nil {
		return x.ScheduleResourceName
	}
	return ""
}

func (x *NotebookExecutionJob) GetJobState() JobState {
	if x != nil {
		return x.JobState
	}
	return JobState_JOB_STATE_UNSPECIFIED
}

func (x *NotebookExecutionJob) GetStatus() *status.Status {
	if x != nil {
		return x.Status
	}
	return nil
}

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

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

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

func (x *NotebookExecutionJob) GetKernelName() string {
	if x != nil {
		return x.KernelName
	}
	return ""
}

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

type isNotebookExecutionJob_NotebookSource interface {
	isNotebookExecutionJob_NotebookSource()
}

type NotebookExecutionJob_DataformRepositorySource_ struct {
	// The Dataform Repository pointing to a single file notebook repository.
	DataformRepositorySource *NotebookExecutionJob_DataformRepositorySource `protobuf:"bytes,3,opt,name=dataform_repository_source,json=dataformRepositorySource,proto3,oneof"`
}

type NotebookExecutionJob_GcsNotebookSource_ struct {
	// The Cloud Storage url pointing to the ipynb file. Format:
	// `gs://bucket/notebook_file.ipynb`
	GcsNotebookSource *NotebookExecutionJob_GcsNotebookSource `protobuf:"bytes,4,opt,name=gcs_notebook_source,json=gcsNotebookSource,proto3,oneof"`
}

type NotebookExecutionJob_DirectNotebookSource_ struct {
	// The contents of an input notebook file.
	DirectNotebookSource *NotebookExecutionJob_DirectNotebookSource `protobuf:"bytes,17,opt,name=direct_notebook_source,json=directNotebookSource,proto3,oneof"`
}

func (*NotebookExecutionJob_DataformRepositorySource_) isNotebookExecutionJob_NotebookSource() {}

func (*NotebookExecutionJob_GcsNotebookSource_) isNotebookExecutionJob_NotebookSource() {}

func (*NotebookExecutionJob_DirectNotebookSource_) isNotebookExecutionJob_NotebookSource() {}

type isNotebookExecutionJob_EnvironmentSpec interface {
	isNotebookExecutionJob_EnvironmentSpec()
}

type NotebookExecutionJob_NotebookRuntimeTemplateResourceName struct {
	// The NotebookRuntimeTemplate to source compute configuration from.
	NotebookRuntimeTemplateResourceName string `protobuf:"bytes,14,opt,name=notebook_runtime_template_resource_name,json=notebookRuntimeTemplateResourceName,proto3,oneof"`
}

type NotebookExecutionJob_CustomEnvironmentSpec_ struct {
	// The custom compute configuration for an execution job.
	CustomEnvironmentSpec *NotebookExecutionJob_CustomEnvironmentSpec `protobuf:"bytes,16,opt,name=custom_environment_spec,json=customEnvironmentSpec,proto3,oneof"`
}

func (*NotebookExecutionJob_NotebookRuntimeTemplateResourceName) isNotebookExecutionJob_EnvironmentSpec() {
}

func (*NotebookExecutionJob_CustomEnvironmentSpec_) isNotebookExecutionJob_EnvironmentSpec() {}

type isNotebookExecutionJob_ExecutionSink interface {
	isNotebookExecutionJob_ExecutionSink()
}

type NotebookExecutionJob_GcsOutputUri struct {
	// The Cloud Storage location to upload the result to. Format:
	// `gs://bucket-name`
	GcsOutputUri string `protobuf:"bytes,8,opt,name=gcs_output_uri,json=gcsOutputUri,proto3,oneof"`
}

func (*NotebookExecutionJob_GcsOutputUri) isNotebookExecutionJob_ExecutionSink() {}

type isNotebookExecutionJob_ExecutionIdentity interface {
	isNotebookExecutionJob_ExecutionIdentity()
}

type NotebookExecutionJob_ExecutionUser struct {
	// The user email to run the execution as. Only supported by Colab runtimes.
	ExecutionUser string `protobuf:"bytes,9,opt,name=execution_user,json=executionUser,proto3,oneof"`
}

type NotebookExecutionJob_ServiceAccount struct {
	// The service account to run the execution as.
	ServiceAccount string `protobuf:"bytes,18,opt,name=service_account,json=serviceAccount,proto3,oneof"`
}

func (*NotebookExecutionJob_ExecutionUser) isNotebookExecutionJob_ExecutionIdentity() {}

func (*NotebookExecutionJob_ServiceAccount) isNotebookExecutionJob_ExecutionIdentity() {}

type isNotebookExecutionJob_RuntimeEnvironment interface {
	isNotebookExecutionJob_RuntimeEnvironment()
}

type NotebookExecutionJob_WorkbenchRuntime_ struct {
	// The Workbench runtime configuration to use for the notebook execution.
	WorkbenchRuntime *NotebookExecutionJob_WorkbenchRuntime `protobuf:"bytes,23,opt,name=workbench_runtime,json=workbenchRuntime,proto3,oneof"`
}

func (*NotebookExecutionJob_WorkbenchRuntime_) isNotebookExecutionJob_RuntimeEnvironment() {}

// The Dataform Repository containing the input notebook.
type NotebookExecutionJob_DataformRepositorySource struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The resource name of the Dataform Repository. Format:
	// `projects/{project_id}/locations/{location}/repositories/{repository_id}`
	DataformRepositoryResourceName string `protobuf:"bytes,1,opt,name=dataform_repository_resource_name,json=dataformRepositoryResourceName,proto3" json:"dataform_repository_resource_name,omitempty"`
	// The commit SHA to read repository with. If unset, the file will be read
	// at HEAD.
	CommitSha     string `protobuf:"bytes,2,opt,name=commit_sha,json=commitSha,proto3" json:"commit_sha,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*NotebookExecutionJob_DataformRepositorySource) ProtoMessage() {}

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

func (x *NotebookExecutionJob_DataformRepositorySource) GetDataformRepositoryResourceName() string {
	if x != nil {
		return x.DataformRepositoryResourceName
	}
	return ""
}

func (x *NotebookExecutionJob_DataformRepositorySource) GetCommitSha() string {
	if x != nil {
		return x.CommitSha
	}
	return ""
}

// The Cloud Storage uri for the input notebook.
type NotebookExecutionJob_GcsNotebookSource struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The Cloud Storage uri pointing to the ipynb file. Format:
	// `gs://bucket/notebook_file.ipynb`
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// The version of the Cloud Storage object to read. If unset, the current
	// version of the object is read. See
	// https://cloud.google.com/storage/docs/metadata#generation-number.
	Generation    string `protobuf:"bytes,2,opt,name=generation,proto3" json:"generation,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*NotebookExecutionJob_GcsNotebookSource) ProtoMessage() {}

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

func (x *NotebookExecutionJob_GcsNotebookSource) GetUri() string {
	if x != nil {
		return x.Uri
	}
	return ""
}

func (x *NotebookExecutionJob_GcsNotebookSource) GetGeneration() string {
	if x != nil {
		return x.Generation
	}
	return ""
}

// The content of the input notebook in ipynb format.
type NotebookExecutionJob_DirectNotebookSource struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The base64-encoded contents of the input notebook file.
	Content       []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*NotebookExecutionJob_DirectNotebookSource) ProtoMessage() {}

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

func (x *NotebookExecutionJob_DirectNotebookSource) GetContent() []byte {
	if x != nil {
		return x.Content
	}
	return nil
}

// Compute configuration to use for an execution job.
type NotebookExecutionJob_CustomEnvironmentSpec struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The specification of a single machine for the execution job.
	MachineSpec *MachineSpec `protobuf:"bytes,1,opt,name=machine_spec,json=machineSpec,proto3" json:"machine_spec,omitempty"`
	// The specification of a persistent disk to attach for the execution job.
	PersistentDiskSpec *PersistentDiskSpec `protobuf:"bytes,2,opt,name=persistent_disk_spec,json=persistentDiskSpec,proto3" json:"persistent_disk_spec,omitempty"`
	// The network configuration to use for the execution job.
	NetworkSpec   *NetworkSpec `protobuf:"bytes,3,opt,name=network_spec,json=networkSpec,proto3" json:"network_spec,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*NotebookExecutionJob_CustomEnvironmentSpec) ProtoMessage() {}

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

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

func (x *NotebookExecutionJob_CustomEnvironmentSpec) GetPersistentDiskSpec() *PersistentDiskSpec {
	if x != nil {
		return x.PersistentDiskSpec
	}
	return nil
}

func (x *NotebookExecutionJob_CustomEnvironmentSpec) GetNetworkSpec() *NetworkSpec {
	if x != nil {
		return x.NetworkSpec
	}
	return nil
}

// Configuration for a Workbench Instances-based environment.
type NotebookExecutionJob_WorkbenchRuntime struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*NotebookExecutionJob_WorkbenchRuntime) ProtoMessage() {}

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

var File_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto protoreflect.FileDescriptor

const file_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto_rawDesc = "" +
	"\n" +
	"<google/cloud/aiplatform/v1beta1/notebook_execution_job.proto\x12\x1fgoogle.cloud.aiplatform.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a5google/cloud/aiplatform/v1beta1/encryption_spec.proto\x1a/google/cloud/aiplatform/v1beta1/job_state.proto\x1a7google/cloud/aiplatform/v1beta1/machine_resources.proto\x1a2google/cloud/aiplatform/v1beta1/network_spec.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\x82\x14\n" +
	"\x14NotebookExecutionJob\x12\x8e\x01\n" +
	"\x1adataform_repository_source\x18\x03 \x01(\v2N.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySourceH\x00R\x18dataformRepositorySource\x12y\n" +
	"\x13gcs_notebook_source\x18\x04 \x01(\v2G.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSourceH\x00R\x11gcsNotebookSource\x12\x82\x01\n" +
	"\x16direct_notebook_source\x18\x11 \x01(\v2J.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DirectNotebookSourceH\x00R\x14directNotebookSource\x12\x8e\x01\n" +
	"'notebook_runtime_template_resource_name\x18\x0e \x01(\tB6\xfaA3\n" +
	"1aiplatform.googleapis.com/NotebookRuntimeTemplateH\x01R#notebookRuntimeTemplateResourceName\x12\x85\x01\n" +
	"\x17custom_environment_spec\x18\x10 \x01(\v2K.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpecH\x01R\x15customEnvironmentSpec\x12&\n" +
	"\x0egcs_output_uri\x18\b \x01(\tH\x02R\fgcsOutputUri\x12'\n" +
	"\x0eexecution_user\x18\t \x01(\tH\x03R\rexecutionUser\x12)\n" +
	"\x0fservice_account\x18\x12 \x01(\tH\x03R\x0eserviceAccount\x12u\n" +
	"\x11workbench_runtime\x18\x17 \x01(\v2F.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.WorkbenchRuntimeH\x04R\x10workbenchRuntime\x12\x17\n" +
	"\x04name\x18\x01 \x01(\tB\x03\xe0A\x03R\x04name\x12!\n" +
	"\fdisplay_name\x18\x02 \x01(\tR\vdisplayName\x12F\n" +
	"\x11execution_timeout\x18\x05 \x01(\v2\x19.google.protobuf.DurationR\x10executionTimeout\x12]\n" +
	"\x16schedule_resource_name\x18\x06 \x01(\tB'\xfaA$\n" +
	"\"aiplatform.googleapis.com/ScheduleR\x14scheduleResourceName\x12K\n" +
	"\tjob_state\x18\n" +
	" \x01(\x0e2).google.cloud.aiplatform.v1beta1.JobStateB\x03\xe0A\x03R\bjobState\x12/\n" +
	"\x06status\x18\v \x01(\v2\x12.google.rpc.StatusB\x03\xe0A\x03R\x06status\x12@\n" +
	"\vcreate_time\x18\f \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"createTime\x12@\n" +
	"\vupdate_time\x18\r \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\n" +
	"updateTime\x12Y\n" +
	"\x06labels\x18\x13 \x03(\v2A.google.cloud.aiplatform.v1beta1.NotebookExecutionJob.LabelsEntryR\x06labels\x12\x1f\n" +
	"\vkernel_name\x18\x14 \x01(\tR\n" +
	"kernelName\x12X\n" +
	"\x0fencryption_spec\x18\x16 \x01(\v2/.google.cloud.aiplatform.v1beta1.EncryptionSpecR\x0eencryptionSpec\x1a\x84\x01\n" +
	"\x18DataformRepositorySource\x12I\n" +
	"!dataform_repository_resource_name\x18\x01 \x01(\tR\x1edataformRepositoryResourceName\x12\x1d\n" +
	"\n" +
	"commit_sha\x18\x02 \x01(\tR\tcommitSha\x1aE\n" +
	"\x11GcsNotebookSource\x12\x10\n" +
	"\x03uri\x18\x01 \x01(\tR\x03uri\x12\x1e\n" +
	"\n" +
	"generation\x18\x02 \x01(\tR\n" +
	"generation\x1a0\n" +
	"\x14DirectNotebookSource\x12\x18\n" +
	"\acontent\x18\x01 \x01(\fR\acontent\x1a\xa0\x02\n" +
	"\x15CustomEnvironmentSpec\x12O\n" +
	"\fmachine_spec\x18\x01 \x01(\v2,.google.cloud.aiplatform.v1beta1.MachineSpecR\vmachineSpec\x12e\n" +
	"\x14persistent_disk_spec\x18\x02 \x01(\v23.google.cloud.aiplatform.v1beta1.PersistentDiskSpecR\x12persistentDiskSpec\x12O\n" +
	"\fnetwork_spec\x18\x03 \x01(\v2,.google.cloud.aiplatform.v1beta1.NetworkSpecR\vnetworkSpec\x1a\x12\n" +
	"\x10WorkbenchRuntime\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01:\xb9\x01\xeaA\xb5\x01\n" +
	".aiplatform.googleapis.com/NotebookExecutionJob\x12Vprojects/{project}/locations/{location}/notebookExecutionJobs/{notebook_execution_job}*\x15notebookExecutionJobs2\x14notebookExecutionJobB\x11\n" +
	"\x0fnotebook_sourceB\x12\n" +
	"\x10environment_specB\x10\n" +
	"\x0eexecution_sinkB\x14\n" +
	"\x12execution_identityB\x15\n" +
	"\x13runtime_environmentB\xf0\x01\n" +
	"#com.google.cloud.aiplatform.v1beta1B\x19NotebookExecutionJobProtoP\x01ZCcloud.google.com/go/aiplatform/apiv1beta1/aiplatformpb;aiplatformpb\xaa\x02\x1fGoogle.Cloud.AIPlatform.V1Beta1\xca\x02\x1fGoogle\\Cloud\\AIPlatform\\V1beta1\xea\x02\"Google::Cloud::AIPlatform::V1beta1b\x06proto3"

var (
	file_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto_rawDescOnce sync.Once
	file_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto_rawDescData []byte
)

func file_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto_rawDescGZIP() []byte {
	file_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto_rawDescOnce.Do(func() {
		file_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto_rawDesc), len(file_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto_rawDesc)))
	})
	return file_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto_rawDescData
}

var file_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto_goTypes = []any{
	(*NotebookExecutionJob)(nil),                          // 0: google.cloud.aiplatform.v1beta1.NotebookExecutionJob
	(*NotebookExecutionJob_DataformRepositorySource)(nil), // 1: google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource
	(*NotebookExecutionJob_GcsNotebookSource)(nil),        // 2: google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource
	(*NotebookExecutionJob_DirectNotebookSource)(nil),     // 3: google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DirectNotebookSource
	(*NotebookExecutionJob_CustomEnvironmentSpec)(nil),    // 4: google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
	(*NotebookExecutionJob_WorkbenchRuntime)(nil),         // 5: google.cloud.aiplatform.v1beta1.NotebookExecutionJob.WorkbenchRuntime
	nil,                           // 6: google.cloud.aiplatform.v1beta1.NotebookExecutionJob.LabelsEntry
	(*durationpb.Duration)(nil),   // 7: google.protobuf.Duration
	(JobState)(0),                 // 8: google.cloud.aiplatform.v1beta1.JobState
	(*status.Status)(nil),         // 9: google.rpc.Status
	(*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp
	(*EncryptionSpec)(nil),        // 11: google.cloud.aiplatform.v1beta1.EncryptionSpec
	(*MachineSpec)(nil),           // 12: google.cloud.aiplatform.v1beta1.MachineSpec
	(*PersistentDiskSpec)(nil),    // 13: google.cloud.aiplatform.v1beta1.PersistentDiskSpec
	(*NetworkSpec)(nil),           // 14: google.cloud.aiplatform.v1beta1.NetworkSpec
}
var file_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto_depIdxs = []int32{
	1,  // 0: google.cloud.aiplatform.v1beta1.NotebookExecutionJob.dataform_repository_source:type_name -> google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DataformRepositorySource
	2,  // 1: google.cloud.aiplatform.v1beta1.NotebookExecutionJob.gcs_notebook_source:type_name -> google.cloud.aiplatform.v1beta1.NotebookExecutionJob.GcsNotebookSource
	3,  // 2: google.cloud.aiplatform.v1beta1.NotebookExecutionJob.direct_notebook_source:type_name -> google.cloud.aiplatform.v1beta1.NotebookExecutionJob.DirectNotebookSource
	4,  // 3: google.cloud.aiplatform.v1beta1.NotebookExecutionJob.custom_environment_spec:type_name -> google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec
	5,  // 4: google.cloud.aiplatform.v1beta1.NotebookExecutionJob.workbench_runtime:type_name -> google.cloud.aiplatform.v1beta1.NotebookExecutionJob.WorkbenchRuntime
	7,  // 5: google.cloud.aiplatform.v1beta1.NotebookExecutionJob.execution_timeout:type_name -> google.protobuf.Duration
	8,  // 6: google.cloud.aiplatform.v1beta1.NotebookExecutionJob.job_state:type_name -> google.cloud.aiplatform.v1beta1.JobState
	9,  // 7: google.cloud.aiplatform.v1beta1.NotebookExecutionJob.status:type_name -> google.rpc.Status
	10, // 8: google.cloud.aiplatform.v1beta1.NotebookExecutionJob.create_time:type_name -> google.protobuf.Timestamp
	10, // 9: google.cloud.aiplatform.v1beta1.NotebookExecutionJob.update_time:type_name -> google.protobuf.Timestamp
	6,  // 10: google.cloud.aiplatform.v1beta1.NotebookExecutionJob.labels:type_name -> google.cloud.aiplatform.v1beta1.NotebookExecutionJob.LabelsEntry
	11, // 11: google.cloud.aiplatform.v1beta1.NotebookExecutionJob.encryption_spec:type_name -> google.cloud.aiplatform.v1beta1.EncryptionSpec
	12, // 12: google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec.machine_spec:type_name -> google.cloud.aiplatform.v1beta1.MachineSpec
	13, // 13: google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec.persistent_disk_spec:type_name -> google.cloud.aiplatform.v1beta1.PersistentDiskSpec
	14, // 14: google.cloud.aiplatform.v1beta1.NotebookExecutionJob.CustomEnvironmentSpec.network_spec:type_name -> google.cloud.aiplatform.v1beta1.NetworkSpec
	15, // [15:15] is the sub-list for method output_type
	15, // [15:15] is the sub-list for method input_type
	15, // [15:15] is the sub-list for extension type_name
	15, // [15:15] is the sub-list for extension extendee
	0,  // [0:15] is the sub-list for field type_name
}

func init() { file_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto_init() }
func file_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto_init() {
	if File_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto != nil {
		return
	}
	file_google_cloud_aiplatform_v1beta1_encryption_spec_proto_init()
	file_google_cloud_aiplatform_v1beta1_job_state_proto_init()
	file_google_cloud_aiplatform_v1beta1_machine_resources_proto_init()
	file_google_cloud_aiplatform_v1beta1_network_spec_proto_init()
	file_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto_msgTypes[0].OneofWrappers = []any{
		(*NotebookExecutionJob_DataformRepositorySource_)(nil),
		(*NotebookExecutionJob_GcsNotebookSource_)(nil),
		(*NotebookExecutionJob_DirectNotebookSource_)(nil),
		(*NotebookExecutionJob_NotebookRuntimeTemplateResourceName)(nil),
		(*NotebookExecutionJob_CustomEnvironmentSpec_)(nil),
		(*NotebookExecutionJob_GcsOutputUri)(nil),
		(*NotebookExecutionJob_ExecutionUser)(nil),
		(*NotebookExecutionJob_ServiceAccount)(nil),
		(*NotebookExecutionJob_WorkbenchRuntime_)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto_rawDesc), len(file_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   7,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto_goTypes,
		DependencyIndexes: file_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto_depIdxs,
		MessageInfos:      file_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto_msgTypes,
	}.Build()
	File_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto = out.File
	file_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto_goTypes = nil
	file_google_cloud_aiplatform_v1beta1_notebook_execution_job_proto_depIdxs = nil
}
