# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/notebooks/v1/execution.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/protobuf/timestamp_pb' descriptor_data = "\n)google/cloud/notebooks/v1/execution.proto\x12\x19google.cloud.notebooks.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xea\x0c\n\x11\x45xecutionTemplate\x12Q\n\nscale_tier\x18\x01 \x01(\x0e\x32\x36.google.cloud.notebooks.v1.ExecutionTemplate.ScaleTierB\x05\x18\x01\xe0\x41\x02\x12\x13\n\x0bmaster_type\x18\x02 \x01(\t\x12\x63\n\x12\x61\x63\x63\x65lerator_config\x18\x03 \x01(\x0b\x32G.google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorConfig\x12H\n\x06labels\x18\x04 \x03(\x0b\x32\x38.google.cloud.notebooks.v1.ExecutionTemplate.LabelsEntry\x12\x1b\n\x13input_notebook_file\x18\x05 \x01(\t\x12\x1b\n\x13\x63ontainer_image_uri\x18\x06 \x01(\t\x12\x1e\n\x16output_notebook_folder\x18\x07 \x01(\t\x12\x18\n\x10params_yaml_file\x18\x08 \x01(\t\x12\x12\n\nparameters\x18\t \x01(\t\x12\x17\n\x0fservice_account\x18\n \x01(\t\x12\x46\n\x08job_type\x18\x0b \x01(\x0e\x32\x34.google.cloud.notebooks.v1.ExecutionTemplate.JobType\x12^\n\x13\x64\x61taproc_parameters\x18\x0c \x01(\x0b\x32?.google.cloud.notebooks.v1.ExecutionTemplate.DataprocParametersH\x00\x12_\n\x14vertex_ai_parameters\x18\r \x01(\x0b\x32?.google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParametersH\x00\x12\x13\n\x0bkernel_spec\x18\x0e \x01(\t\x12?\n\x0btensorboard\x18\x0f \x01(\tB*\xfa\x41\'\n%aiplatform.googleapis.com/Tensorboard\x1a\x85\x01\n\x1aSchedulerAcceleratorConfig\x12S\n\x04type\x18\x01 \x01(\x0e\x32\x45.google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorType\x12\x12\n\ncore_count\x18\x02 \x01(\x03\x1a%\n\x12\x44\x61taprocParameters\x12\x0f\n\x07\x63luster\x18\x01 \x01(\t\x1a\xa8\x01\n\x12VertexAIParameters\x12\x0f\n\x07network\x18\x01 \x01(\t\x12U\n\x03\x65nv\x18\x02 \x03(\x0b\x32H.google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParameters.EnvEntry\x1a*\n\x08\x45nvEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"{\n\tScaleTier\x12\x1a\n\x16SCALE_TIER_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x0e\n\nSTANDARD_1\x10\x02\x12\r\n\tPREMIUM_1\x10\x03\x12\r\n\tBASIC_GPU\x10\x04\x12\r\n\tBASIC_TPU\x10\x05\x12\n\n\x06\x43USTOM\x10\x06\"\xe3\x01\n\x18SchedulerAcceleratorType\x12*\n&SCHEDULER_ACCELERATOR_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10NVIDIA_TESLA_K80\x10\x01\x12\x15\n\x11NVIDIA_TESLA_P100\x10\x02\x12\x15\n\x11NVIDIA_TESLA_V100\x10\x03\x12\x13\n\x0fNVIDIA_TESLA_P4\x10\x04\x12\x13\n\x0fNVIDIA_TESLA_T4\x10\x05\x12\x15\n\x11NVIDIA_TESLA_A100\x10\n\x12\n\n\x06TPU_V2\x10\x06\x12\n\n\x06TPU_V3\x10\x07\"@\n\x07JobType\x12\x18\n\x14JOB_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tVERTEX_AI\x10\x01\x12\x0c\n\x08\x44\x41TAPROC\x10\x02\x42\x10\n\x0ejob_parameters\"\x82\x05\n\tExecution\x12H\n\x12\x65xecution_template\x18\x01 \x01(\x0b\x32,.google.cloud.notebooks.v1.ExecutionTemplate\x12\x11\n\x04name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12>\n\x05state\x18\x07 \x01(\x0e\x32*.google.cloud.notebooks.v1.Execution.StateB\x03\xe0\x41\x03\x12\x1c\n\x14output_notebook_file\x18\x08 \x01(\t\x12\x14\n\x07job_uri\x18\t \x01(\tB\x03\xe0\x41\x03\"\x9f\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06QUEUED\x10\x01\x12\r\n\tPREPARING\x10\x02\x12\x0b\n\x07RUNNING\x10\x03\x12\r\n\tSUCCEEDED\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\x0e\n\nCANCELLING\x10\x06\x12\r\n\tCANCELLED\x10\x07\x12\x0b\n\x07\x45XPIRED\x10\t\x12\x10\n\x0cINITIALIZING\x10\n:f\xea\x41\x63\n\"notebooks.googleapis.com/Execution\x12=projects/{project}/location/{location}/executions/{execution}B\xdc\x01\n\x1d\x63om.google.cloud.notebooks.v1B\x0e\x45xecutionProtoP\x01Z;cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspb\xea\x41k\n%aiplatform.googleapis.com/Tensorboard\x12\x42projects/{project}/locations/{location}/tensorboards/{tensorboard}b\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError => e # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) parsed.clear_dependency serialized = parsed.class.encode(parsed) file = pool.add_serialized_file(serialized) warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" imports = [ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], ] imports.each do |type_name, expected_filename| import_file = pool.lookup(type_name).file_descriptor if import_file.name != expected_filename warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" end end warn "Each proto file must use a consistent fully-qualified name." warn "This will become an error in the next major version." end module Google module Cloud module Notebooks module V1 ExecutionTemplate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.ExecutionTemplate").msgclass ExecutionTemplate::SchedulerAcceleratorConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorConfig").msgclass ExecutionTemplate::DataprocParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.ExecutionTemplate.DataprocParameters").msgclass ExecutionTemplate::VertexAIParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParameters").msgclass ExecutionTemplate::ScaleTier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.ExecutionTemplate.ScaleTier").enummodule ExecutionTemplate::SchedulerAcceleratorType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorType").enummodule ExecutionTemplate::JobType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.ExecutionTemplate.JobType").enummodule Execution = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.Execution").msgclass Execution::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.Execution.State").enummodule end end end end