1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/notebooks/v1beta1/instance.proto 18 19 package com.google.cloud.notebooks.v1beta1; 20 21 public final class InstanceProto { InstanceProto()22 private InstanceProto() {} 23 registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)24 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} 25 registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)26 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { 27 registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); 28 } 29 30 static final com.google.protobuf.Descriptors.Descriptor 31 internal_static_google_cloud_notebooks_v1beta1_ReservationAffinity_descriptor; 32 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 33 internal_static_google_cloud_notebooks_v1beta1_ReservationAffinity_fieldAccessorTable; 34 static final com.google.protobuf.Descriptors.Descriptor 35 internal_static_google_cloud_notebooks_v1beta1_Instance_descriptor; 36 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 37 internal_static_google_cloud_notebooks_v1beta1_Instance_fieldAccessorTable; 38 static final com.google.protobuf.Descriptors.Descriptor 39 internal_static_google_cloud_notebooks_v1beta1_Instance_AcceleratorConfig_descriptor; 40 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 41 internal_static_google_cloud_notebooks_v1beta1_Instance_AcceleratorConfig_fieldAccessorTable; 42 static final com.google.protobuf.Descriptors.Descriptor 43 internal_static_google_cloud_notebooks_v1beta1_Instance_LabelsEntry_descriptor; 44 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 45 internal_static_google_cloud_notebooks_v1beta1_Instance_LabelsEntry_fieldAccessorTable; 46 static final com.google.protobuf.Descriptors.Descriptor 47 internal_static_google_cloud_notebooks_v1beta1_Instance_MetadataEntry_descriptor; 48 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 49 internal_static_google_cloud_notebooks_v1beta1_Instance_MetadataEntry_fieldAccessorTable; 50 getDescriptor()51 public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 52 return descriptor; 53 } 54 55 private static com.google.protobuf.Descriptors.FileDescriptor descriptor; 56 57 static { 58 java.lang.String[] descriptorData = { 59 "\n-google/cloud/notebooks/v1beta1/instanc" 60 + "e.proto\022\036google.cloud.notebooks.v1beta1\032" 61 + "\037google/api/field_behavior.proto\032\031google" 62 + "/api/resource.proto\0320google/cloud/notebo" 63 + "oks/v1beta1/environment.proto\032\037google/pr" 64 + "otobuf/timestamp.proto\"\376\001\n\023ReservationAf" 65 + "finity\022_\n\030consume_reservation_type\030\001 \001(\016" 66 + "28.google.cloud.notebooks.v1beta1.Reserv" 67 + "ationAffinity.TypeB\003\340A\001\022\020\n\003key\030\002 \001(\tB\003\340A" 68 + "\001\022\023\n\006values\030\003 \003(\tB\003\340A\001\"_\n\004Type\022\024\n\020TYPE_U" 69 + "NSPECIFIED\020\000\022\022\n\016NO_RESERVATION\020\001\022\023\n\017ANY_" 70 + "RESERVATION\020\002\022\030\n\024SPECIFIC_RESERVATION\020\003\"" 71 + "\331\022\n\010Instance\022\021\n\004name\030\001 \001(\tB\003\340A\003\022;\n\010vm_im" 72 + "age\030\002 \001(\0132\'.google.cloud.notebooks.v1bet" 73 + "a1.VmImageH\000\022I\n\017container_image\030\003 \001(\0132.." 74 + "google.cloud.notebooks.v1beta1.Container" 75 + "ImageH\000\022\033\n\023post_startup_script\030\004 \001(\t\022\026\n\t" 76 + "proxy_uri\030\005 \001(\tB\003\340A\003\022\034\n\017instance_owners\030" 77 + "\006 \003(\tB\003\340A\004\022\027\n\017service_account\030\007 \001(\t\022\031\n\014m" 78 + "achine_type\030\010 \001(\tB\003\340A\002\022V\n\022accelerator_co" 79 + "nfig\030\t \001(\0132:.google.cloud.notebooks.v1be" 80 + "ta1.Instance.AcceleratorConfig\022B\n\005state\030" 81 + "\n \001(\0162..google.cloud.notebooks.v1beta1.I" 82 + "nstance.StateB\003\340A\003\022\032\n\022install_gpu_driver" 83 + "\030\013 \001(\010\022\036\n\026custom_gpu_driver_path\030\014 \001(\t\022N" 84 + "\n\016boot_disk_type\030\r \001(\01621.google.cloud.no" 85 + "tebooks.v1beta1.Instance.DiskTypeB\003\340A\004\022\036" 86 + "\n\021boot_disk_size_gb\030\016 \001(\003B\003\340A\004\022N\n\016data_d" 87 + "isk_type\030\031 \001(\01621.google.cloud.notebooks." 88 + "v1beta1.Instance.DiskTypeB\003\340A\004\022\036\n\021data_d" 89 + "isk_size_gb\030\032 \001(\003B\003\340A\004\022 \n\023no_remove_data" 90 + "_disk\030\033 \001(\010B\003\340A\004\022U\n\017disk_encryption\030\017 \001(" 91 + "\01627.google.cloud.notebooks.v1beta1.Insta" 92 + "nce.DiskEncryptionB\003\340A\004\022\024\n\007kms_key\030\020 \001(\t" 93 + "B\003\340A\004\022\024\n\014no_public_ip\030\021 \001(\010\022\027\n\017no_proxy_" 94 + "access\030\022 \001(\010\022\017\n\007network\030\023 \001(\t\022\016\n\006subnet\030" 95 + "\024 \001(\t\022D\n\006labels\030\025 \003(\01324.google.cloud.not" 96 + "ebooks.v1beta1.Instance.LabelsEntry\022H\n\010m" 97 + "etadata\030\026 \003(\01326.google.cloud.notebooks.v" 98 + "1beta1.Instance.MetadataEntry\022G\n\010nic_typ" 99 + "e\030\034 \001(\01620.google.cloud.notebooks.v1beta1" 100 + ".Instance.NicTypeB\003\340A\001\022V\n\024reservation_af" 101 + "finity\030\035 \001(\01323.google.cloud.notebooks.v1" 102 + "beta1.ReservationAffinityB\003\340A\001\022\033\n\016can_ip" 103 + "_forward\030\037 \001(\010B\003\340A\001\0224\n\013create_time\030\027 \001(\013" 104 + "2\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upd" 105 + "ate_time\030\030 \001(\0132\032.google.protobuf.Timesta" 106 + "mpB\003\340A\003\032o\n\021AcceleratorConfig\022F\n\004type\030\001 \001" 107 + "(\01628.google.cloud.notebooks.v1beta1.Inst" 108 + "ance.AcceleratorType\022\022\n\ncore_count\030\002 \001(\003" 109 + "\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " 110 + "\001(\t:\0028\001\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n" 111 + "\005value\030\002 \001(\t:\0028\001\"\206\002\n\017AcceleratorType\022 \n\034" 112 + "ACCELERATOR_TYPE_UNSPECIFIED\020\000\022\024\n\020NVIDIA" 113 + "_TESLA_K80\020\001\022\025\n\021NVIDIA_TESLA_P100\020\002\022\025\n\021N" 114 + "VIDIA_TESLA_V100\020\003\022\023\n\017NVIDIA_TESLA_P4\020\004\022" 115 + "\023\n\017NVIDIA_TESLA_T4\020\005\022\027\n\023NVIDIA_TESLA_T4_" 116 + "VWS\020\010\022\031\n\025NVIDIA_TESLA_P100_VWS\020\t\022\027\n\023NVID" 117 + "IA_TESLA_P4_VWS\020\n\022\n\n\006TPU_V2\020\006\022\n\n\006TPU_V3\020" 118 + "\007\"\303\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010ST" 119 + "ARTING\020\001\022\020\n\014PROVISIONING\020\002\022\n\n\006ACTIVE\020\003\022\014" 120 + "\n\010STOPPING\020\004\022\013\n\007STOPPED\020\005\022\013\n\007DELETED\020\006\022\r" 121 + "\n\tUPGRADING\020\007\022\020\n\014INITIALIZING\020\010\022\017\n\013REGIS" 122 + "TERING\020\t\022\016\n\nSUSPENDING\020\n\022\r\n\tSUSPENDED\020\013\"" 123 + "S\n\010DiskType\022\031\n\025DISK_TYPE_UNSPECIFIED\020\000\022\017" 124 + "\n\013PD_STANDARD\020\001\022\n\n\006PD_SSD\020\002\022\017\n\013PD_BALANC" 125 + "ED\020\003\"E\n\016DiskEncryption\022\037\n\033DISK_ENCRYPTIO" 126 + "N_UNSPECIFIED\020\000\022\010\n\004GMEK\020\001\022\010\n\004CMEK\020\002\">\n\007N" 127 + "icType\022\030\n\024UNSPECIFIED_NIC_TYPE\020\000\022\016\n\nVIRT" 128 + "IO_NET\020\001\022\t\n\005GVNIC\020\002:O\352AL\n!notebooks.goog" 129 + "leapis.com/Instance\022\'projects/{project}/" 130 + "instances/{instance}B\r\n\013environmentB\335\001\n\"" 131 + "com.google.cloud.notebooks.v1beta1B\rInst" 132 + "anceProtoP\001Z@cloud.google.com/go/noteboo" 133 + "ks/apiv1beta1/notebookspb;notebookspb\252\002\036" 134 + "Google.Cloud.Notebooks.V1Beta1\312\002\036Google\\" 135 + "Cloud\\Notebooks\\V1beta1\352\002!Google::Cloud:" 136 + ":Notebooks::V1beta1b\006proto3" 137 }; 138 descriptor = 139 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 140 descriptorData, 141 new com.google.protobuf.Descriptors.FileDescriptor[] { 142 com.google.api.FieldBehaviorProto.getDescriptor(), 143 com.google.api.ResourceProto.getDescriptor(), 144 com.google.cloud.notebooks.v1beta1.EnvironmentProto.getDescriptor(), 145 com.google.protobuf.TimestampProto.getDescriptor(), 146 }); 147 internal_static_google_cloud_notebooks_v1beta1_ReservationAffinity_descriptor = 148 getDescriptor().getMessageTypes().get(0); 149 internal_static_google_cloud_notebooks_v1beta1_ReservationAffinity_fieldAccessorTable = 150 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 151 internal_static_google_cloud_notebooks_v1beta1_ReservationAffinity_descriptor, 152 new java.lang.String[] { 153 "ConsumeReservationType", "Key", "Values", 154 }); 155 internal_static_google_cloud_notebooks_v1beta1_Instance_descriptor = 156 getDescriptor().getMessageTypes().get(1); 157 internal_static_google_cloud_notebooks_v1beta1_Instance_fieldAccessorTable = 158 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 159 internal_static_google_cloud_notebooks_v1beta1_Instance_descriptor, 160 new java.lang.String[] { 161 "Name", 162 "VmImage", 163 "ContainerImage", 164 "PostStartupScript", 165 "ProxyUri", 166 "InstanceOwners", 167 "ServiceAccount", 168 "MachineType", 169 "AcceleratorConfig", 170 "State", 171 "InstallGpuDriver", 172 "CustomGpuDriverPath", 173 "BootDiskType", 174 "BootDiskSizeGb", 175 "DataDiskType", 176 "DataDiskSizeGb", 177 "NoRemoveDataDisk", 178 "DiskEncryption", 179 "KmsKey", 180 "NoPublicIp", 181 "NoProxyAccess", 182 "Network", 183 "Subnet", 184 "Labels", 185 "Metadata", 186 "NicType", 187 "ReservationAffinity", 188 "CanIpForward", 189 "CreateTime", 190 "UpdateTime", 191 "Environment", 192 }); 193 internal_static_google_cloud_notebooks_v1beta1_Instance_AcceleratorConfig_descriptor = 194 internal_static_google_cloud_notebooks_v1beta1_Instance_descriptor.getNestedTypes().get(0); 195 internal_static_google_cloud_notebooks_v1beta1_Instance_AcceleratorConfig_fieldAccessorTable = 196 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 197 internal_static_google_cloud_notebooks_v1beta1_Instance_AcceleratorConfig_descriptor, 198 new java.lang.String[] { 199 "Type", "CoreCount", 200 }); 201 internal_static_google_cloud_notebooks_v1beta1_Instance_LabelsEntry_descriptor = 202 internal_static_google_cloud_notebooks_v1beta1_Instance_descriptor.getNestedTypes().get(1); 203 internal_static_google_cloud_notebooks_v1beta1_Instance_LabelsEntry_fieldAccessorTable = 204 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 205 internal_static_google_cloud_notebooks_v1beta1_Instance_LabelsEntry_descriptor, 206 new java.lang.String[] { 207 "Key", "Value", 208 }); 209 internal_static_google_cloud_notebooks_v1beta1_Instance_MetadataEntry_descriptor = 210 internal_static_google_cloud_notebooks_v1beta1_Instance_descriptor.getNestedTypes().get(2); 211 internal_static_google_cloud_notebooks_v1beta1_Instance_MetadataEntry_fieldAccessorTable = 212 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 213 internal_static_google_cloud_notebooks_v1beta1_Instance_MetadataEntry_descriptor, 214 new java.lang.String[] { 215 "Key", "Value", 216 }); 217 com.google.protobuf.ExtensionRegistry registry = 218 com.google.protobuf.ExtensionRegistry.newInstance(); 219 registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); 220 registry.add(com.google.api.ResourceProto.resource); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)221 com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( 222 descriptor, registry); com.google.api.FieldBehaviorProto.getDescriptor()223 com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor()224 com.google.api.ResourceProto.getDescriptor(); com.google.cloud.notebooks.v1beta1.EnvironmentProto.getDescriptor()225 com.google.cloud.notebooks.v1beta1.EnvironmentProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor()226 com.google.protobuf.TimestampProto.getDescriptor(); 227 } 228 229 // @@protoc_insertion_point(outer_class_scope) 230 } 231