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/v1/execution.proto 18 19 package com.google.cloud.notebooks.v1; 20 21 public final class ExecutionProto { ExecutionProto()22 private ExecutionProto() {} 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_v1_ExecutionTemplate_descriptor; 32 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 33 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_fieldAccessorTable; 34 static final com.google.protobuf.Descriptors.Descriptor 35 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_SchedulerAcceleratorConfig_descriptor; 36 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 37 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_SchedulerAcceleratorConfig_fieldAccessorTable; 38 static final com.google.protobuf.Descriptors.Descriptor 39 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_DataprocParameters_descriptor; 40 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 41 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_DataprocParameters_fieldAccessorTable; 42 static final com.google.protobuf.Descriptors.Descriptor 43 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_VertexAIParameters_descriptor; 44 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 45 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_VertexAIParameters_fieldAccessorTable; 46 static final com.google.protobuf.Descriptors.Descriptor 47 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_VertexAIParameters_EnvEntry_descriptor; 48 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 49 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_VertexAIParameters_EnvEntry_fieldAccessorTable; 50 static final com.google.protobuf.Descriptors.Descriptor 51 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_LabelsEntry_descriptor; 52 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 53 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_LabelsEntry_fieldAccessorTable; 54 static final com.google.protobuf.Descriptors.Descriptor 55 internal_static_google_cloud_notebooks_v1_Execution_descriptor; 56 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 57 internal_static_google_cloud_notebooks_v1_Execution_fieldAccessorTable; 58 getDescriptor()59 public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 60 return descriptor; 61 } 62 63 private static com.google.protobuf.Descriptors.FileDescriptor descriptor; 64 65 static { 66 java.lang.String[] descriptorData = { 67 "\n)google/cloud/notebooks/v1/execution.pr" 68 + "oto\022\031google.cloud.notebooks.v1\032\037google/a" 69 + "pi/field_behavior.proto\032\031google/api/reso" 70 + "urce.proto\032\037google/protobuf/timestamp.pr" 71 + "oto\"\352\014\n\021ExecutionTemplate\022Q\n\nscale_tier\030" 72 + "\001 \001(\01626.google.cloud.notebooks.v1.Execut" 73 + "ionTemplate.ScaleTierB\005\030\001\340A\002\022\023\n\013master_t" 74 + "ype\030\002 \001(\t\022c\n\022accelerator_config\030\003 \001(\0132G." 75 + "google.cloud.notebooks.v1.ExecutionTempl" 76 + "ate.SchedulerAcceleratorConfig\022H\n\006labels" 77 + "\030\004 \003(\01328.google.cloud.notebooks.v1.Execu" 78 + "tionTemplate.LabelsEntry\022\033\n\023input_notebo" 79 + "ok_file\030\005 \001(\t\022\033\n\023container_image_uri\030\006 \001" 80 + "(\t\022\036\n\026output_notebook_folder\030\007 \001(\t\022\030\n\020pa" 81 + "rams_yaml_file\030\010 \001(\t\022\022\n\nparameters\030\t \001(\t" 82 + "\022\027\n\017service_account\030\n \001(\t\022F\n\010job_type\030\013 " 83 + "\001(\01624.google.cloud.notebooks.v1.Executio" 84 + "nTemplate.JobType\022^\n\023dataproc_parameters" 85 + "\030\014 \001(\0132?.google.cloud.notebooks.v1.Execu" 86 + "tionTemplate.DataprocParametersH\000\022_\n\024ver" 87 + "tex_ai_parameters\030\r \001(\0132?.google.cloud.n" 88 + "otebooks.v1.ExecutionTemplate.VertexAIPa" 89 + "rametersH\000\022\023\n\013kernel_spec\030\016 \001(\t\022?\n\013tenso" 90 + "rboard\030\017 \001(\tB*\372A\'\n%aiplatform.googleapis" 91 + ".com/Tensorboard\032\205\001\n\032SchedulerAccelerato" 92 + "rConfig\022S\n\004type\030\001 \001(\0162E.google.cloud.not" 93 + "ebooks.v1.ExecutionTemplate.SchedulerAcc" 94 + "eleratorType\022\022\n\ncore_count\030\002 \001(\003\032%\n\022Data" 95 + "procParameters\022\017\n\007cluster\030\001 \001(\t\032\250\001\n\022Vert" 96 + "exAIParameters\022\017\n\007network\030\001 \001(\t\022U\n\003env\030\002" 97 + " \003(\0132H.google.cloud.notebooks.v1.Executi" 98 + "onTemplate.VertexAIParameters.EnvEntry\032*" 99 + "\n\010EnvEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" 100 + "8\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" 101 + "\002 \001(\t:\0028\001\"{\n\tScaleTier\022\032\n\026SCALE_TIER_UNS" 102 + "PECIFIED\020\000\022\t\n\005BASIC\020\001\022\016\n\nSTANDARD_1\020\002\022\r\n" 103 + "\tPREMIUM_1\020\003\022\r\n\tBASIC_GPU\020\004\022\r\n\tBASIC_TPU" 104 + "\020\005\022\n\n\006CUSTOM\020\006\"\343\001\n\030SchedulerAcceleratorT" 105 + "ype\022*\n&SCHEDULER_ACCELERATOR_TYPE_UNSPEC" 106 + "IFIED\020\000\022\024\n\020NVIDIA_TESLA_K80\020\001\022\025\n\021NVIDIA_" 107 + "TESLA_P100\020\002\022\025\n\021NVIDIA_TESLA_V100\020\003\022\023\n\017N" 108 + "VIDIA_TESLA_P4\020\004\022\023\n\017NVIDIA_TESLA_T4\020\005\022\025\n" 109 + "\021NVIDIA_TESLA_A100\020\n\022\n\n\006TPU_V2\020\006\022\n\n\006TPU_" 110 + "V3\020\007\"@\n\007JobType\022\030\n\024JOB_TYPE_UNSPECIFIED\020" 111 + "\000\022\r\n\tVERTEX_AI\020\001\022\014\n\010DATAPROC\020\002B\020\n\016job_pa" 112 + "rameters\"\202\005\n\tExecution\022H\n\022execution_temp" 113 + "late\030\001 \001(\0132,.google.cloud.notebooks.v1.E" 114 + "xecutionTemplate\022\021\n\004name\030\002 \001(\tB\003\340A\003\022\031\n\014d" 115 + "isplay_name\030\003 \001(\tB\003\340A\003\022\023\n\013description\030\004 " 116 + "\001(\t\0224\n\013create_time\030\005 \001(\0132\032.google.protob" 117 + "uf.TimestampB\003\340A\003\0224\n\013update_time\030\006 \001(\0132\032" 118 + ".google.protobuf.TimestampB\003\340A\003\022>\n\005state" 119 + "\030\007 \001(\0162*.google.cloud.notebooks.v1.Execu" 120 + "tion.StateB\003\340A\003\022\034\n\024output_notebook_file\030" 121 + "\010 \001(\t\022\024\n\007job_uri\030\t \001(\tB\003\340A\003\"\237\001\n\005State\022\025\n" 122 + "\021STATE_UNSPECIFIED\020\000\022\n\n\006QUEUED\020\001\022\r\n\tPREP" 123 + "ARING\020\002\022\013\n\007RUNNING\020\003\022\r\n\tSUCCEEDED\020\004\022\n\n\006F" 124 + "AILED\020\005\022\016\n\nCANCELLING\020\006\022\r\n\tCANCELLED\020\007\022\013" 125 + "\n\007EXPIRED\020\t\022\020\n\014INITIALIZING\020\n:f\352Ac\n\"note" 126 + "books.googleapis.com/Execution\022=projects" 127 + "/{project}/location/{location}/execution" 128 + "s/{execution}B\334\001\n\035com.google.cloud.noteb" 129 + "ooks.v1B\016ExecutionProtoP\001Z;cloud.google." 130 + "com/go/notebooks/apiv1/notebookspb;noteb" 131 + "ookspb\352Ak\n%aiplatform.googleapis.com/Ten" 132 + "sorboard\022Bprojects/{project}/locations/{" 133 + "location}/tensorboards/{tensorboard}b\006pr" 134 + "oto3" 135 }; 136 descriptor = 137 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 138 descriptorData, 139 new com.google.protobuf.Descriptors.FileDescriptor[] { 140 com.google.api.FieldBehaviorProto.getDescriptor(), 141 com.google.api.ResourceProto.getDescriptor(), 142 com.google.protobuf.TimestampProto.getDescriptor(), 143 }); 144 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_descriptor = 145 getDescriptor().getMessageTypes().get(0); 146 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_fieldAccessorTable = 147 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 148 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_descriptor, 149 new java.lang.String[] { 150 "ScaleTier", 151 "MasterType", 152 "AcceleratorConfig", 153 "Labels", 154 "InputNotebookFile", 155 "ContainerImageUri", 156 "OutputNotebookFolder", 157 "ParamsYamlFile", 158 "Parameters", 159 "ServiceAccount", 160 "JobType", 161 "DataprocParameters", 162 "VertexAiParameters", 163 "KernelSpec", 164 "Tensorboard", 165 "JobParameters", 166 }); 167 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_SchedulerAcceleratorConfig_descriptor = 168 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_descriptor 169 .getNestedTypes() 170 .get(0); 171 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_SchedulerAcceleratorConfig_fieldAccessorTable = 172 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 173 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_SchedulerAcceleratorConfig_descriptor, 174 new java.lang.String[] { 175 "Type", "CoreCount", 176 }); 177 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_DataprocParameters_descriptor = 178 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_descriptor 179 .getNestedTypes() 180 .get(1); 181 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_DataprocParameters_fieldAccessorTable = 182 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 183 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_DataprocParameters_descriptor, 184 new java.lang.String[] { 185 "Cluster", 186 }); 187 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_VertexAIParameters_descriptor = 188 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_descriptor 189 .getNestedTypes() 190 .get(2); 191 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_VertexAIParameters_fieldAccessorTable = 192 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 193 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_VertexAIParameters_descriptor, 194 new java.lang.String[] { 195 "Network", "Env", 196 }); 197 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_VertexAIParameters_EnvEntry_descriptor = 198 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_VertexAIParameters_descriptor 199 .getNestedTypes() 200 .get(0); 201 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_VertexAIParameters_EnvEntry_fieldAccessorTable = 202 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 203 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_VertexAIParameters_EnvEntry_descriptor, 204 new java.lang.String[] { 205 "Key", "Value", 206 }); 207 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_LabelsEntry_descriptor = 208 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_descriptor 209 .getNestedTypes() 210 .get(3); 211 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_LabelsEntry_fieldAccessorTable = 212 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 213 internal_static_google_cloud_notebooks_v1_ExecutionTemplate_LabelsEntry_descriptor, 214 new java.lang.String[] { 215 "Key", "Value", 216 }); 217 internal_static_google_cloud_notebooks_v1_Execution_descriptor = 218 getDescriptor().getMessageTypes().get(1); 219 internal_static_google_cloud_notebooks_v1_Execution_fieldAccessorTable = 220 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 221 internal_static_google_cloud_notebooks_v1_Execution_descriptor, 222 new java.lang.String[] { 223 "ExecutionTemplate", 224 "Name", 225 "DisplayName", 226 "Description", 227 "CreateTime", 228 "UpdateTime", 229 "State", 230 "OutputNotebookFile", 231 "JobUri", 232 }); 233 com.google.protobuf.ExtensionRegistry registry = 234 com.google.protobuf.ExtensionRegistry.newInstance(); 235 registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); 236 registry.add(com.google.api.ResourceProto.resource); 237 registry.add(com.google.api.ResourceProto.resourceDefinition); 238 registry.add(com.google.api.ResourceProto.resourceReference); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)239 com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( 240 descriptor, registry); com.google.api.FieldBehaviorProto.getDescriptor()241 com.google.api.FieldBehaviorProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor()242 com.google.api.ResourceProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor()243 com.google.protobuf.TimestampProto.getDescriptor(); 244 } 245 246 // @@protoc_insertion_point(outer_class_scope) 247 } 248