# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/notebooks/v2/gce_setup.proto require 'google/protobuf' require 'google/api/field_behavior_pb' descriptor_data = "\n)google/cloud/notebooks/v2/gce_setup.proto\x12\x19google.cloud.notebooks.v2\x1a\x1fgoogle/api/field_behavior.proto\"\xcc\x01\n\x10NetworkInterface\x12\x15\n\x07network\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06subnet\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12K\n\x08nic_type\x18\x03 \x01(\x0e\x32\x33.google.cloud.notebooks.v2.NetworkInterface.NicTypeB\x04\xe2\x41\x01\x01\">\n\x07NicType\x12\x18\n\x14NIC_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nVIRTIO_NET\x10\x01\x12\t\n\x05GVNIC\x10\x02\"W\n\x07VmImage\x12\x15\n\x07project\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x14\n\x04name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01H\x00\x12\x16\n\x06\x66\x61mily\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01H\x00\x42\x07\n\x05image\"=\n\x0e\x43ontainerImage\x12\x18\n\nrepository\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x11\n\x03tag\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"\x96\x03\n\x11\x41\x63\x63\x65leratorConfig\x12P\n\x04type\x18\x01 \x01(\x0e\x32<.google.cloud.notebooks.v2.AcceleratorConfig.AcceleratorTypeB\x04\xe2\x41\x01\x01\x12\x18\n\ncore_count\x18\x02 \x01(\x03\x42\x04\xe2\x41\x01\x01\"\x94\x02\n\x0f\x41\x63\x63\x65leratorType\x12 \n\x1c\x41\x43\x43\x45LERATOR_TYPE_UNSPECIFIED\x10\x00\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\x0b\x12\x14\n\x10NVIDIA_A100_80GB\x10\x0c\x12\r\n\tNVIDIA_L4\x10\r\x12\x17\n\x13NVIDIA_TESLA_T4_VWS\x10\x08\x12\x19\n\x15NVIDIA_TESLA_P100_VWS\x10\t\x12\x17\n\x13NVIDIA_TESLA_P4_VWS\x10\n\"\x80\x01\n\x16ShieldedInstanceConfig\x12 \n\x12\x65nable_secure_boot\x18\x01 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x19\n\x0b\x65nable_vtpm\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12)\n\x1b\x65nable_integrity_monitoring\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x01\"X\n\x0fGPUDriverConfig\x12\x1f\n\x11\x65nable_gpu_driver\x18\x01 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12$\n\x16\x63ustom_gpu_driver_path\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\"\xc8\x01\n\x08\x44\x61taDisk\x12\x1a\n\x0c\x64isk_size_gb\x18\x01 \x01(\x03\x42\x04\xe2\x41\x01\x01\x12=\n\tdisk_type\x18\x02 \x01(\x0e\x32#.google.cloud.notebooks.v2.DiskTypeB\x05\xe2\x41\x02\x04\x01\x12I\n\x0f\x64isk_encryption\x18\x05 \x01(\x0e\x32).google.cloud.notebooks.v2.DiskEncryptionB\x05\xe2\x41\x02\x04\x01\x12\x16\n\x07kms_key\x18\x06 \x01(\tB\x05\xe2\x41\x02\x04\x01\"\xc7\x01\n\x08\x42ootDisk\x12\x1a\n\x0c\x64isk_size_gb\x18\x01 \x01(\x03\x42\x04\xe2\x41\x01\x01\x12<\n\tdisk_type\x18\x02 \x01(\x0e\x32#.google.cloud.notebooks.v2.DiskTypeB\x04\xe2\x41\x01\x01\x12I\n\x0f\x64isk_encryption\x18\x03 \x01(\x0e\x32).google.cloud.notebooks.v2.DiskEncryptionB\x05\xe2\x41\x02\x04\x01\x12\x16\n\x07kms_key\x18\x04 \x01(\tB\x05\xe2\x41\x02\x04\x01\";\n\x0eServiceAccount\x12\x13\n\x05\x65mail\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06scopes\x18\x02 \x03(\tB\x04\xe2\x41\x01\x03\"\x9e\x07\n\x08GceSetup\x12\x1a\n\x0cmachine_type\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12O\n\x13\x61\x63\x63\x65lerator_configs\x18\x02 \x03(\x0b\x32,.google.cloud.notebooks.v2.AcceleratorConfigB\x04\xe2\x41\x01\x01\x12I\n\x10service_accounts\x18\x03 \x03(\x0b\x32).google.cloud.notebooks.v2.ServiceAccountB\x04\xe2\x41\x01\x01\x12<\n\x08vm_image\x18\x04 \x01(\x0b\x32\".google.cloud.notebooks.v2.VmImageB\x04\xe2\x41\x01\x01H\x00\x12J\n\x0f\x63ontainer_image\x18\x05 \x01(\x0b\x32).google.cloud.notebooks.v2.ContainerImageB\x04\xe2\x41\x01\x01H\x00\x12<\n\tboot_disk\x18\x06 \x01(\x0b\x32#.google.cloud.notebooks.v2.BootDiskB\x04\xe2\x41\x01\x01\x12=\n\ndata_disks\x18\x07 \x03(\x0b\x32#.google.cloud.notebooks.v2.DataDiskB\x04\xe2\x41\x01\x01\x12Y\n\x18shielded_instance_config\x18\x08 \x01(\x0b\x32\x31.google.cloud.notebooks.v2.ShieldedInstanceConfigB\x04\xe2\x41\x01\x01\x12M\n\x12network_interfaces\x18\t \x03(\x0b\x32+.google.cloud.notebooks.v2.NetworkInterfaceB\x04\xe2\x41\x01\x01\x12\x1f\n\x11\x64isable_public_ip\x18\n \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x12\n\x04tags\x18\x0b \x03(\tB\x04\xe2\x41\x01\x01\x12I\n\x08metadata\x18\x0c \x03(\x0b\x32\x31.google.cloud.notebooks.v2.GceSetup.MetadataEntryB\x04\xe2\x41\x01\x01\x12\"\n\x14\x65nable_ip_forwarding\x18\r \x01(\x08\x42\x04\xe2\x41\x01\x01\x12K\n\x11gpu_driver_config\x18\x0e \x01(\x0b\x32*.google.cloud.notebooks.v2.GPUDriverConfigB\x04\xe2\x41\x01\x01\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x07\n\x05image*E\n\x0e\x44iskEncryption\x12\x1f\n\x1b\x44ISK_ENCRYPTION_UNSPECIFIED\x10\x00\x12\x08\n\x04GMEK\x10\x01\x12\x08\n\x04\x43MEK\x10\x02*c\n\x08\x44iskType\x12\x19\n\x15\x44ISK_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPD_STANDARD\x10\x01\x12\n\n\x06PD_SSD\x10\x02\x12\x0f\n\x0bPD_BALANCED\x10\x03\x12\x0e\n\nPD_EXTREME\x10\x04\x42\xc4\x01\n\x1d\x63om.google.cloud.notebooks.v2B\rGceSetupProtoP\x01Z;cloud.google.com/go/notebooks/apiv2/notebookspb;notebookspb\xaa\x02\x19Google.Cloud.Notebooks.V2\xca\x02\x19Google\\Cloud\\Notebooks\\V2\xea\x02\x1cGoogle::Cloud::Notebooks::V2b\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError # 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 = [ ] 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 V2 NetworkInterface = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v2.NetworkInterface").msgclass NetworkInterface::NicType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v2.NetworkInterface.NicType").enummodule VmImage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v2.VmImage").msgclass ContainerImage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v2.ContainerImage").msgclass AcceleratorConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v2.AcceleratorConfig").msgclass AcceleratorConfig::AcceleratorType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v2.AcceleratorConfig.AcceleratorType").enummodule ShieldedInstanceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v2.ShieldedInstanceConfig").msgclass GPUDriverConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v2.GPUDriverConfig").msgclass DataDisk = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v2.DataDisk").msgclass BootDisk = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v2.BootDisk").msgclass ServiceAccount = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v2.ServiceAccount").msgclass GceSetup = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v2.GceSetup").msgclass DiskEncryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v2.DiskEncryption").enummodule DiskType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v2.DiskType").enummodule end end end end