1// Copyright 2020 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.26.0 18// protoc v3.12.2 19// source: google/cloud/notebooks/v1beta1/instance.proto 20 21package notebooks 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 _ "google.golang.org/genproto/googleapis/api/annotations" 28 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 29 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 30 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 31) 32 33const ( 34 // Verify that this generated code is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 36 // Verify that runtime/protoimpl is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 38) 39 40// Definition of the types of hardware accelerators that can be used on this 41// instance. 42type Instance_AcceleratorType int32 43 44const ( 45 // Accelerator type is not specified. 46 Instance_ACCELERATOR_TYPE_UNSPECIFIED Instance_AcceleratorType = 0 47 // Accelerator type is Nvidia Tesla K80. 48 Instance_NVIDIA_TESLA_K80 Instance_AcceleratorType = 1 49 // Accelerator type is Nvidia Tesla P100. 50 Instance_NVIDIA_TESLA_P100 Instance_AcceleratorType = 2 51 // Accelerator type is Nvidia Tesla V100. 52 Instance_NVIDIA_TESLA_V100 Instance_AcceleratorType = 3 53 // Accelerator type is Nvidia Tesla P_4. 54 Instance_NVIDIA_TESLA_P4 Instance_AcceleratorType = 4 55 // Accelerator type is Nvidia Tesla T4. 56 Instance_NVIDIA_TESLA_T4 Instance_AcceleratorType = 5 57 // Accelerator type is NVIDIA Tesla T4 Virtual Workstations. 58 Instance_NVIDIA_TESLA_T4_VWS Instance_AcceleratorType = 8 59 // Accelerator type is NVIDIA Tesla P100 Virtual Workstations. 60 Instance_NVIDIA_TESLA_P100_VWS Instance_AcceleratorType = 9 61 // Accelerator type is NVIDIA Tesla P_4 Virtual Workstations. 62 Instance_NVIDIA_TESLA_P4_VWS Instance_AcceleratorType = 10 63 // (Coming soon) Accelerator type is TPU V2. 64 Instance_TPU_V2 Instance_AcceleratorType = 6 65 // (Coming soon) Accelerator type is TPU V3. 66 Instance_TPU_V3 Instance_AcceleratorType = 7 67) 68 69// Enum value maps for Instance_AcceleratorType. 70var ( 71 Instance_AcceleratorType_name = map[int32]string{ 72 0: "ACCELERATOR_TYPE_UNSPECIFIED", 73 1: "NVIDIA_TESLA_K80", 74 2: "NVIDIA_TESLA_P100", 75 3: "NVIDIA_TESLA_V100", 76 4: "NVIDIA_TESLA_P4", 77 5: "NVIDIA_TESLA_T4", 78 8: "NVIDIA_TESLA_T4_VWS", 79 9: "NVIDIA_TESLA_P100_VWS", 80 10: "NVIDIA_TESLA_P4_VWS", 81 6: "TPU_V2", 82 7: "TPU_V3", 83 } 84 Instance_AcceleratorType_value = map[string]int32{ 85 "ACCELERATOR_TYPE_UNSPECIFIED": 0, 86 "NVIDIA_TESLA_K80": 1, 87 "NVIDIA_TESLA_P100": 2, 88 "NVIDIA_TESLA_V100": 3, 89 "NVIDIA_TESLA_P4": 4, 90 "NVIDIA_TESLA_T4": 5, 91 "NVIDIA_TESLA_T4_VWS": 8, 92 "NVIDIA_TESLA_P100_VWS": 9, 93 "NVIDIA_TESLA_P4_VWS": 10, 94 "TPU_V2": 6, 95 "TPU_V3": 7, 96 } 97) 98 99func (x Instance_AcceleratorType) Enum() *Instance_AcceleratorType { 100 p := new(Instance_AcceleratorType) 101 *p = x 102 return p 103} 104 105func (x Instance_AcceleratorType) String() string { 106 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 107} 108 109func (Instance_AcceleratorType) Descriptor() protoreflect.EnumDescriptor { 110 return file_google_cloud_notebooks_v1beta1_instance_proto_enumTypes[0].Descriptor() 111} 112 113func (Instance_AcceleratorType) Type() protoreflect.EnumType { 114 return &file_google_cloud_notebooks_v1beta1_instance_proto_enumTypes[0] 115} 116 117func (x Instance_AcceleratorType) Number() protoreflect.EnumNumber { 118 return protoreflect.EnumNumber(x) 119} 120 121// Deprecated: Use Instance_AcceleratorType.Descriptor instead. 122func (Instance_AcceleratorType) EnumDescriptor() ([]byte, []int) { 123 return file_google_cloud_notebooks_v1beta1_instance_proto_rawDescGZIP(), []int{0, 0} 124} 125 126// The definition of the states of this instance. 127type Instance_State int32 128 129const ( 130 // State is not specified. 131 Instance_STATE_UNSPECIFIED Instance_State = 0 132 // The control logic is starting the instance. 133 Instance_STARTING Instance_State = 1 134 // The control logic is installing required frameworks and registering the 135 // instance with notebook proxy 136 Instance_PROVISIONING Instance_State = 2 137 // The instance is running. 138 Instance_ACTIVE Instance_State = 3 139 // The control logic is stopping the instance. 140 Instance_STOPPING Instance_State = 4 141 // The instance is stopped. 142 Instance_STOPPED Instance_State = 5 143 // The instance is deleted. 144 Instance_DELETED Instance_State = 6 145 // The instance is upgrading. 146 Instance_UPGRADING Instance_State = 7 147 // The instance is being created. 148 Instance_INITIALIZING Instance_State = 8 149 // The instance is getting registered. 150 Instance_REGISTERING Instance_State = 9 151) 152 153// Enum value maps for Instance_State. 154var ( 155 Instance_State_name = map[int32]string{ 156 0: "STATE_UNSPECIFIED", 157 1: "STARTING", 158 2: "PROVISIONING", 159 3: "ACTIVE", 160 4: "STOPPING", 161 5: "STOPPED", 162 6: "DELETED", 163 7: "UPGRADING", 164 8: "INITIALIZING", 165 9: "REGISTERING", 166 } 167 Instance_State_value = map[string]int32{ 168 "STATE_UNSPECIFIED": 0, 169 "STARTING": 1, 170 "PROVISIONING": 2, 171 "ACTIVE": 3, 172 "STOPPING": 4, 173 "STOPPED": 5, 174 "DELETED": 6, 175 "UPGRADING": 7, 176 "INITIALIZING": 8, 177 "REGISTERING": 9, 178 } 179) 180 181func (x Instance_State) Enum() *Instance_State { 182 p := new(Instance_State) 183 *p = x 184 return p 185} 186 187func (x Instance_State) String() string { 188 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 189} 190 191func (Instance_State) Descriptor() protoreflect.EnumDescriptor { 192 return file_google_cloud_notebooks_v1beta1_instance_proto_enumTypes[1].Descriptor() 193} 194 195func (Instance_State) Type() protoreflect.EnumType { 196 return &file_google_cloud_notebooks_v1beta1_instance_proto_enumTypes[1] 197} 198 199func (x Instance_State) Number() protoreflect.EnumNumber { 200 return protoreflect.EnumNumber(x) 201} 202 203// Deprecated: Use Instance_State.Descriptor instead. 204func (Instance_State) EnumDescriptor() ([]byte, []int) { 205 return file_google_cloud_notebooks_v1beta1_instance_proto_rawDescGZIP(), []int{0, 1} 206} 207 208// Possible disk types for notebook instances. 209type Instance_DiskType int32 210 211const ( 212 // Disk type not set. 213 Instance_DISK_TYPE_UNSPECIFIED Instance_DiskType = 0 214 // Standard persistent disk type. 215 Instance_PD_STANDARD Instance_DiskType = 1 216 // SSD persistent disk type. 217 Instance_PD_SSD Instance_DiskType = 2 218 // Balanced persistent disk type. 219 Instance_PD_BALANCED Instance_DiskType = 3 220) 221 222// Enum value maps for Instance_DiskType. 223var ( 224 Instance_DiskType_name = map[int32]string{ 225 0: "DISK_TYPE_UNSPECIFIED", 226 1: "PD_STANDARD", 227 2: "PD_SSD", 228 3: "PD_BALANCED", 229 } 230 Instance_DiskType_value = map[string]int32{ 231 "DISK_TYPE_UNSPECIFIED": 0, 232 "PD_STANDARD": 1, 233 "PD_SSD": 2, 234 "PD_BALANCED": 3, 235 } 236) 237 238func (x Instance_DiskType) Enum() *Instance_DiskType { 239 p := new(Instance_DiskType) 240 *p = x 241 return p 242} 243 244func (x Instance_DiskType) String() string { 245 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 246} 247 248func (Instance_DiskType) Descriptor() protoreflect.EnumDescriptor { 249 return file_google_cloud_notebooks_v1beta1_instance_proto_enumTypes[2].Descriptor() 250} 251 252func (Instance_DiskType) Type() protoreflect.EnumType { 253 return &file_google_cloud_notebooks_v1beta1_instance_proto_enumTypes[2] 254} 255 256func (x Instance_DiskType) Number() protoreflect.EnumNumber { 257 return protoreflect.EnumNumber(x) 258} 259 260// Deprecated: Use Instance_DiskType.Descriptor instead. 261func (Instance_DiskType) EnumDescriptor() ([]byte, []int) { 262 return file_google_cloud_notebooks_v1beta1_instance_proto_rawDescGZIP(), []int{0, 2} 263} 264 265// Definition of the disk encryption options. 266type Instance_DiskEncryption int32 267 268const ( 269 // Disk encryption is not specified. 270 Instance_DISK_ENCRYPTION_UNSPECIFIED Instance_DiskEncryption = 0 271 // Use Google managed encryption keys to encrypt the boot disk. 272 Instance_GMEK Instance_DiskEncryption = 1 273 // Use customer managed encryption keys to encrypt the boot disk. 274 Instance_CMEK Instance_DiskEncryption = 2 275) 276 277// Enum value maps for Instance_DiskEncryption. 278var ( 279 Instance_DiskEncryption_name = map[int32]string{ 280 0: "DISK_ENCRYPTION_UNSPECIFIED", 281 1: "GMEK", 282 2: "CMEK", 283 } 284 Instance_DiskEncryption_value = map[string]int32{ 285 "DISK_ENCRYPTION_UNSPECIFIED": 0, 286 "GMEK": 1, 287 "CMEK": 2, 288 } 289) 290 291func (x Instance_DiskEncryption) Enum() *Instance_DiskEncryption { 292 p := new(Instance_DiskEncryption) 293 *p = x 294 return p 295} 296 297func (x Instance_DiskEncryption) String() string { 298 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 299} 300 301func (Instance_DiskEncryption) Descriptor() protoreflect.EnumDescriptor { 302 return file_google_cloud_notebooks_v1beta1_instance_proto_enumTypes[3].Descriptor() 303} 304 305func (Instance_DiskEncryption) Type() protoreflect.EnumType { 306 return &file_google_cloud_notebooks_v1beta1_instance_proto_enumTypes[3] 307} 308 309func (x Instance_DiskEncryption) Number() protoreflect.EnumNumber { 310 return protoreflect.EnumNumber(x) 311} 312 313// Deprecated: Use Instance_DiskEncryption.Descriptor instead. 314func (Instance_DiskEncryption) EnumDescriptor() ([]byte, []int) { 315 return file_google_cloud_notebooks_v1beta1_instance_proto_rawDescGZIP(), []int{0, 3} 316} 317 318// The definition of a notebook instance. 319type Instance struct { 320 state protoimpl.MessageState 321 sizeCache protoimpl.SizeCache 322 unknownFields protoimpl.UnknownFields 323 324 // Output only. The name of this notebook instance. Format: 325 // `projects/{project_id}/locations/{location}/instances/{instance_id}` 326 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 327 // Type of the environment; can be one of VM image, or container image. 328 // 329 // Types that are assignable to Environment: 330 // *Instance_VmImage 331 // *Instance_ContainerImage 332 Environment isInstance_Environment `protobuf_oneof:"environment"` 333 // Path to a Bash script that automatically runs after a notebook instance 334 // fully boots up. The path must be a URL or 335 // Cloud Storage path (`gs://path-to-file/file-name`). 336 PostStartupScript string `protobuf:"bytes,4,opt,name=post_startup_script,json=postStartupScript,proto3" json:"post_startup_script,omitempty"` 337 // Output only. The proxy endpoint that is used to access the Jupyter 338 // notebook. 339 ProxyUri string `protobuf:"bytes,5,opt,name=proxy_uri,json=proxyUri,proto3" json:"proxy_uri,omitempty"` 340 // Input only. The owner of this instance after creation. Format: 341 // `alias@example.com` 342 // 343 // Currently supports one owner only. If not specified, all of the service 344 // account users of your VM instance's service account can use 345 // the instance. 346 InstanceOwners []string `protobuf:"bytes,6,rep,name=instance_owners,json=instanceOwners,proto3" json:"instance_owners,omitempty"` 347 // The service account on this instance, giving access to other Google 348 // Cloud services. 349 // You can use any service account within the same project, but you 350 // must have the service account user permission to use the instance. 351 // 352 // If not specified, the [Compute Engine default service 353 // account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) 354 // is used. 355 ServiceAccount string `protobuf:"bytes,7,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"` 356 // Required. The [Compute Engine machine 357 // type](https://cloud.google.com/compute/docs/machine-types) of this 358 // instance. 359 MachineType string `protobuf:"bytes,8,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"` 360 // The hardware accelerator used on this instance. If you use 361 // accelerators, make sure that your configuration has 362 // [enough vCPUs and memory to support the `machine_type` you 363 // have selected](https://cloud.google.com/compute/docs/gpus/#gpus-list). 364 AcceleratorConfig *Instance_AcceleratorConfig `protobuf:"bytes,9,opt,name=accelerator_config,json=acceleratorConfig,proto3" json:"accelerator_config,omitempty"` 365 // Output only. The state of this instance. 366 State Instance_State `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.notebooks.v1beta1.Instance_State" json:"state,omitempty"` 367 // Whether the end user authorizes Google Cloud to install GPU driver 368 // on this instance. 369 // If this field is empty or set to false, the GPU driver won't be installed. 370 // Only applicable to instances with GPUs. 371 InstallGpuDriver bool `protobuf:"varint,11,opt,name=install_gpu_driver,json=installGpuDriver,proto3" json:"install_gpu_driver,omitempty"` 372 // Specify a custom Cloud Storage path where the GPU driver is stored. 373 // If not specified, we'll automatically choose from official GPU drivers. 374 CustomGpuDriverPath string `protobuf:"bytes,12,opt,name=custom_gpu_driver_path,json=customGpuDriverPath,proto3" json:"custom_gpu_driver_path,omitempty"` 375 // Input only. The type of the boot disk attached to this instance, defaults 376 // to standard persistent disk (`PD_STANDARD`). 377 BootDiskType Instance_DiskType `protobuf:"varint,13,opt,name=boot_disk_type,json=bootDiskType,proto3,enum=google.cloud.notebooks.v1beta1.Instance_DiskType" json:"boot_disk_type,omitempty"` 378 // Input only. The size of the boot disk in GB attached to this instance, up 379 // to a maximum of 64000 GB (64 TB). The minimum recommended value 380 // is 100 GB. If not specified, this defaults to 100. 381 BootDiskSizeGb int64 `protobuf:"varint,14,opt,name=boot_disk_size_gb,json=bootDiskSizeGb,proto3" json:"boot_disk_size_gb,omitempty"` 382 // Input only. The type of the data disk attached to this instance, defaults 383 // to standard persistent disk (`PD_STANDARD`). 384 DataDiskType Instance_DiskType `protobuf:"varint,25,opt,name=data_disk_type,json=dataDiskType,proto3,enum=google.cloud.notebooks.v1beta1.Instance_DiskType" json:"data_disk_type,omitempty"` 385 // Input only. The size of the data disk in GB attached to this instance, up 386 // to a maximum of 64000 GB (64 TB). You can choose the size of the 387 // data disk based on how big your notebooks and data are. If not specified, 388 // this defaults to 100. 389 DataDiskSizeGb int64 `protobuf:"varint,26,opt,name=data_disk_size_gb,json=dataDiskSizeGb,proto3" json:"data_disk_size_gb,omitempty"` 390 // Input only. If true, the data disk will not be auto deleted when deleting 391 // the instance. 392 NoRemoveDataDisk bool `protobuf:"varint,27,opt,name=no_remove_data_disk,json=noRemoveDataDisk,proto3" json:"no_remove_data_disk,omitempty"` 393 // Input only. Disk encryption method used on the boot and data disks, 394 // defaults to GMEK. 395 DiskEncryption Instance_DiskEncryption `protobuf:"varint,15,opt,name=disk_encryption,json=diskEncryption,proto3,enum=google.cloud.notebooks.v1beta1.Instance_DiskEncryption" json:"disk_encryption,omitempty"` 396 // Input only. The KMS key used to encrypt the disks, only applicable if 397 // disk_encryption is CMEK. Format: 398 // `projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}` 399 // 400 // Learn more about [using your own encryption keys]( 401 // https://cloud.google.com/kms/docs/quickstart). 402 KmsKey string `protobuf:"bytes,16,opt,name=kms_key,json=kmsKey,proto3" json:"kms_key,omitempty"` 403 // If true, no public IP will be assigned to this instance. 404 NoPublicIp bool `protobuf:"varint,17,opt,name=no_public_ip,json=noPublicIp,proto3" json:"no_public_ip,omitempty"` 405 // If true, the notebook instance will not register with the proxy. 406 NoProxyAccess bool `protobuf:"varint,18,opt,name=no_proxy_access,json=noProxyAccess,proto3" json:"no_proxy_access,omitempty"` 407 // The name of the VPC that this instance is in. 408 // Format: 409 // `projects/{project_id}/global/networks/{network_id}` 410 Network string `protobuf:"bytes,19,opt,name=network,proto3" json:"network,omitempty"` 411 // The name of the subnet that this instance is in. 412 // Format: 413 // `projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}` 414 Subnet string `protobuf:"bytes,20,opt,name=subnet,proto3" json:"subnet,omitempty"` 415 // Labels to apply to this instance. 416 // These can be later modified by the setLabels method. 417 Labels map[string]string `protobuf:"bytes,21,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 418 // Custom metadata to apply to this instance. 419 Metadata map[string]string `protobuf:"bytes,22,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 420 // Output only. Instance creation time. 421 CreateTime *timestamppb.Timestamp `protobuf:"bytes,23,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 422 // Output only. Instance update time. 423 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,24,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 424} 425 426func (x *Instance) Reset() { 427 *x = Instance{} 428 if protoimpl.UnsafeEnabled { 429 mi := &file_google_cloud_notebooks_v1beta1_instance_proto_msgTypes[0] 430 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 431 ms.StoreMessageInfo(mi) 432 } 433} 434 435func (x *Instance) String() string { 436 return protoimpl.X.MessageStringOf(x) 437} 438 439func (*Instance) ProtoMessage() {} 440 441func (x *Instance) ProtoReflect() protoreflect.Message { 442 mi := &file_google_cloud_notebooks_v1beta1_instance_proto_msgTypes[0] 443 if protoimpl.UnsafeEnabled && x != nil { 444 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 445 if ms.LoadMessageInfo() == nil { 446 ms.StoreMessageInfo(mi) 447 } 448 return ms 449 } 450 return mi.MessageOf(x) 451} 452 453// Deprecated: Use Instance.ProtoReflect.Descriptor instead. 454func (*Instance) Descriptor() ([]byte, []int) { 455 return file_google_cloud_notebooks_v1beta1_instance_proto_rawDescGZIP(), []int{0} 456} 457 458func (x *Instance) GetName() string { 459 if x != nil { 460 return x.Name 461 } 462 return "" 463} 464 465func (m *Instance) GetEnvironment() isInstance_Environment { 466 if m != nil { 467 return m.Environment 468 } 469 return nil 470} 471 472func (x *Instance) GetVmImage() *VmImage { 473 if x, ok := x.GetEnvironment().(*Instance_VmImage); ok { 474 return x.VmImage 475 } 476 return nil 477} 478 479func (x *Instance) GetContainerImage() *ContainerImage { 480 if x, ok := x.GetEnvironment().(*Instance_ContainerImage); ok { 481 return x.ContainerImage 482 } 483 return nil 484} 485 486func (x *Instance) GetPostStartupScript() string { 487 if x != nil { 488 return x.PostStartupScript 489 } 490 return "" 491} 492 493func (x *Instance) GetProxyUri() string { 494 if x != nil { 495 return x.ProxyUri 496 } 497 return "" 498} 499 500func (x *Instance) GetInstanceOwners() []string { 501 if x != nil { 502 return x.InstanceOwners 503 } 504 return nil 505} 506 507func (x *Instance) GetServiceAccount() string { 508 if x != nil { 509 return x.ServiceAccount 510 } 511 return "" 512} 513 514func (x *Instance) GetMachineType() string { 515 if x != nil { 516 return x.MachineType 517 } 518 return "" 519} 520 521func (x *Instance) GetAcceleratorConfig() *Instance_AcceleratorConfig { 522 if x != nil { 523 return x.AcceleratorConfig 524 } 525 return nil 526} 527 528func (x *Instance) GetState() Instance_State { 529 if x != nil { 530 return x.State 531 } 532 return Instance_STATE_UNSPECIFIED 533} 534 535func (x *Instance) GetInstallGpuDriver() bool { 536 if x != nil { 537 return x.InstallGpuDriver 538 } 539 return false 540} 541 542func (x *Instance) GetCustomGpuDriverPath() string { 543 if x != nil { 544 return x.CustomGpuDriverPath 545 } 546 return "" 547} 548 549func (x *Instance) GetBootDiskType() Instance_DiskType { 550 if x != nil { 551 return x.BootDiskType 552 } 553 return Instance_DISK_TYPE_UNSPECIFIED 554} 555 556func (x *Instance) GetBootDiskSizeGb() int64 { 557 if x != nil { 558 return x.BootDiskSizeGb 559 } 560 return 0 561} 562 563func (x *Instance) GetDataDiskType() Instance_DiskType { 564 if x != nil { 565 return x.DataDiskType 566 } 567 return Instance_DISK_TYPE_UNSPECIFIED 568} 569 570func (x *Instance) GetDataDiskSizeGb() int64 { 571 if x != nil { 572 return x.DataDiskSizeGb 573 } 574 return 0 575} 576 577func (x *Instance) GetNoRemoveDataDisk() bool { 578 if x != nil { 579 return x.NoRemoveDataDisk 580 } 581 return false 582} 583 584func (x *Instance) GetDiskEncryption() Instance_DiskEncryption { 585 if x != nil { 586 return x.DiskEncryption 587 } 588 return Instance_DISK_ENCRYPTION_UNSPECIFIED 589} 590 591func (x *Instance) GetKmsKey() string { 592 if x != nil { 593 return x.KmsKey 594 } 595 return "" 596} 597 598func (x *Instance) GetNoPublicIp() bool { 599 if x != nil { 600 return x.NoPublicIp 601 } 602 return false 603} 604 605func (x *Instance) GetNoProxyAccess() bool { 606 if x != nil { 607 return x.NoProxyAccess 608 } 609 return false 610} 611 612func (x *Instance) GetNetwork() string { 613 if x != nil { 614 return x.Network 615 } 616 return "" 617} 618 619func (x *Instance) GetSubnet() string { 620 if x != nil { 621 return x.Subnet 622 } 623 return "" 624} 625 626func (x *Instance) GetLabels() map[string]string { 627 if x != nil { 628 return x.Labels 629 } 630 return nil 631} 632 633func (x *Instance) GetMetadata() map[string]string { 634 if x != nil { 635 return x.Metadata 636 } 637 return nil 638} 639 640func (x *Instance) GetCreateTime() *timestamppb.Timestamp { 641 if x != nil { 642 return x.CreateTime 643 } 644 return nil 645} 646 647func (x *Instance) GetUpdateTime() *timestamppb.Timestamp { 648 if x != nil { 649 return x.UpdateTime 650 } 651 return nil 652} 653 654type isInstance_Environment interface { 655 isInstance_Environment() 656} 657 658type Instance_VmImage struct { 659 // Use a Compute Engine VM image to start the notebook instance. 660 VmImage *VmImage `protobuf:"bytes,2,opt,name=vm_image,json=vmImage,proto3,oneof"` 661} 662 663type Instance_ContainerImage struct { 664 // Use a container image to start the notebook instance. 665 ContainerImage *ContainerImage `protobuf:"bytes,3,opt,name=container_image,json=containerImage,proto3,oneof"` 666} 667 668func (*Instance_VmImage) isInstance_Environment() {} 669 670func (*Instance_ContainerImage) isInstance_Environment() {} 671 672// Definition of a hardware accelerator. Note that not all combinations 673// of `type` and `core_count` are valid. Check [GPUs on 674// Compute Engine](/compute/docs/gpus/#gpus-list) to find a valid 675// combination. TPUs are not supported. 676type Instance_AcceleratorConfig struct { 677 state protoimpl.MessageState 678 sizeCache protoimpl.SizeCache 679 unknownFields protoimpl.UnknownFields 680 681 // Type of this accelerator. 682 Type Instance_AcceleratorType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.notebooks.v1beta1.Instance_AcceleratorType" json:"type,omitempty"` 683 // Count of cores of this accelerator. 684 CoreCount int64 `protobuf:"varint,2,opt,name=core_count,json=coreCount,proto3" json:"core_count,omitempty"` 685} 686 687func (x *Instance_AcceleratorConfig) Reset() { 688 *x = Instance_AcceleratorConfig{} 689 if protoimpl.UnsafeEnabled { 690 mi := &file_google_cloud_notebooks_v1beta1_instance_proto_msgTypes[1] 691 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 692 ms.StoreMessageInfo(mi) 693 } 694} 695 696func (x *Instance_AcceleratorConfig) String() string { 697 return protoimpl.X.MessageStringOf(x) 698} 699 700func (*Instance_AcceleratorConfig) ProtoMessage() {} 701 702func (x *Instance_AcceleratorConfig) ProtoReflect() protoreflect.Message { 703 mi := &file_google_cloud_notebooks_v1beta1_instance_proto_msgTypes[1] 704 if protoimpl.UnsafeEnabled && x != nil { 705 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 706 if ms.LoadMessageInfo() == nil { 707 ms.StoreMessageInfo(mi) 708 } 709 return ms 710 } 711 return mi.MessageOf(x) 712} 713 714// Deprecated: Use Instance_AcceleratorConfig.ProtoReflect.Descriptor instead. 715func (*Instance_AcceleratorConfig) Descriptor() ([]byte, []int) { 716 return file_google_cloud_notebooks_v1beta1_instance_proto_rawDescGZIP(), []int{0, 0} 717} 718 719func (x *Instance_AcceleratorConfig) GetType() Instance_AcceleratorType { 720 if x != nil { 721 return x.Type 722 } 723 return Instance_ACCELERATOR_TYPE_UNSPECIFIED 724} 725 726func (x *Instance_AcceleratorConfig) GetCoreCount() int64 { 727 if x != nil { 728 return x.CoreCount 729 } 730 return 0 731} 732 733var File_google_cloud_notebooks_v1beta1_instance_proto protoreflect.FileDescriptor 734 735var file_google_cloud_notebooks_v1beta1_instance_proto_rawDesc = []byte{ 736 0x0a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 737 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 738 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 739 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x6f, 740 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 741 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 742 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 743 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 744 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, 0x67, 0x6f, 0x6f, 745 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 746 0x6f, 0x6b, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x65, 0x6e, 0x76, 0x69, 747 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 748 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 749 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 750 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 751 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcc, 0x13, 0x0a, 752 0x08, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 753 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 754 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x08, 0x76, 0x6d, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 755 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 756 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 757 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x56, 0x6d, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 758 0x07, 0x76, 0x6d, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x59, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 759 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 760 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 761 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 762 0x61, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x6d, 0x61, 0x67, 763 0x65, 0x48, 0x00, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x6d, 764 0x61, 0x67, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x72, 765 0x74, 0x75, 0x70, 0x5f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 766 0x52, 0x11, 0x70, 0x6f, 0x73, 0x74, 0x53, 0x74, 0x61, 0x72, 0x74, 0x75, 0x70, 0x53, 0x63, 0x72, 767 0x69, 0x70, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x75, 0x72, 0x69, 768 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x08, 0x70, 0x72, 0x6f, 769 0x78, 0x79, 0x55, 0x72, 0x69, 0x12, 0x2c, 0x0a, 0x0f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 770 0x65, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 771 0xe0, 0x41, 0x04, 0x52, 0x0e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4f, 0x77, 0x6e, 772 0x65, 0x72, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 773 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x73, 0x65, 774 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0c, 775 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 776 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 777 0x54, 0x79, 0x70, 0x65, 0x12, 0x69, 0x0a, 0x12, 0x61, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 778 0x74, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 779 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 780 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 781 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x6c, 782 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x11, 0x61, 0x63, 783 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 784 0x49, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 785 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x6f, 786 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 787 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x03, 788 0xe0, 0x41, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x69, 0x6e, 789 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x5f, 0x67, 0x70, 0x75, 0x5f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 790 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x47, 791 0x70, 0x75, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x12, 0x33, 0x0a, 0x16, 0x63, 0x75, 0x73, 0x74, 792 0x6f, 0x6d, 0x5f, 0x67, 0x70, 0x75, 0x5f, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x70, 0x61, 793 0x74, 0x68, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 794 0x47, 0x70, 0x75, 0x44, 0x72, 0x69, 0x76, 0x65, 0x72, 0x50, 0x61, 0x74, 0x68, 0x12, 0x5c, 0x0a, 795 0x0e, 0x62, 0x6f, 0x6f, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 796 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 797 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 798 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 799 0x44, 0x69, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x04, 0x52, 0x0c, 0x62, 800 0x6f, 0x6f, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x11, 0x62, 801 0x6f, 0x6f, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x67, 0x62, 802 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x04, 0x52, 0x0e, 0x62, 0x6f, 0x6f, 803 0x74, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x47, 0x62, 0x12, 0x5c, 0x0a, 0x0e, 0x64, 804 0x61, 0x74, 0x61, 0x5f, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x19, 0x20, 805 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 806 0x75, 0x64, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x62, 807 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x44, 0x69, 808 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x04, 0x52, 0x0c, 0x64, 0x61, 0x74, 809 0x61, 0x44, 0x69, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x11, 0x64, 0x61, 0x74, 810 0x61, 0x5f, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x67, 0x62, 0x18, 0x1a, 811 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x04, 0x52, 0x0e, 0x64, 0x61, 0x74, 0x61, 0x44, 812 0x69, 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x47, 0x62, 0x12, 0x32, 0x0a, 0x13, 0x6e, 0x6f, 0x5f, 813 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x64, 0x69, 0x73, 0x6b, 814 0x18, 0x1b, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x04, 0x52, 0x10, 0x6e, 0x6f, 0x52, 815 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x44, 0x61, 0x74, 0x61, 0x44, 0x69, 0x73, 0x6b, 0x12, 0x65, 0x0a, 816 0x0f, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 817 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 818 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 819 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 820 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 821 0x03, 0xe0, 0x41, 0x04, 0x52, 0x0e, 0x64, 0x69, 0x73, 0x6b, 0x45, 0x6e, 0x63, 0x72, 0x79, 0x70, 822 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x07, 0x6b, 0x6d, 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x18, 823 0x10, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x04, 0x52, 0x06, 0x6b, 0x6d, 0x73, 0x4b, 824 0x65, 0x79, 0x12, 0x20, 0x0a, 0x0c, 0x6e, 0x6f, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 825 0x69, 0x70, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x6e, 0x6f, 0x50, 0x75, 0x62, 0x6c, 826 0x69, 0x63, 0x49, 0x70, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x78, 0x79, 827 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x6e, 828 0x6f, 0x50, 0x72, 0x6f, 0x78, 0x79, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 829 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 830 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 831 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x75, 0x62, 0x6e, 0x65, 0x74, 0x12, 0x4c, 832 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x15, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 833 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x6f, 834 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 835 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 836 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x52, 0x0a, 0x08, 837 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x16, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 838 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x6f, 839 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 840 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 841 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 842 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 843 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 844 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 845 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 846 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 847 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 848 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 849 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 850 0x54, 0x69, 0x6d, 0x65, 0x1a, 0x80, 0x01, 0x0a, 0x11, 0x41, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 851 0x61, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4c, 0x0a, 0x04, 0x74, 0x79, 852 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 853 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 854 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 855 0x63, 0x65, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x54, 0x79, 856 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x72, 0x65, 857 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6f, 858 0x72, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 859 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 860 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 861 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 862 0x38, 0x01, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 863 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 864 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 865 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 866 0x86, 0x02, 0x0a, 0x0f, 0x41, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x54, 867 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x1c, 0x41, 0x43, 0x43, 0x45, 0x4c, 0x45, 0x52, 0x41, 0x54, 868 0x4f, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 869 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x4e, 0x56, 0x49, 0x44, 0x49, 0x41, 0x5f, 870 0x54, 0x45, 0x53, 0x4c, 0x41, 0x5f, 0x4b, 0x38, 0x30, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x4e, 871 0x56, 0x49, 0x44, 0x49, 0x41, 0x5f, 0x54, 0x45, 0x53, 0x4c, 0x41, 0x5f, 0x50, 0x31, 0x30, 0x30, 872 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x56, 0x49, 0x44, 0x49, 0x41, 0x5f, 0x54, 0x45, 0x53, 873 0x4c, 0x41, 0x5f, 0x56, 0x31, 0x30, 0x30, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x4e, 0x56, 0x49, 874 0x44, 0x49, 0x41, 0x5f, 0x54, 0x45, 0x53, 0x4c, 0x41, 0x5f, 0x50, 0x34, 0x10, 0x04, 0x12, 0x13, 875 0x0a, 0x0f, 0x4e, 0x56, 0x49, 0x44, 0x49, 0x41, 0x5f, 0x54, 0x45, 0x53, 0x4c, 0x41, 0x5f, 0x54, 876 0x34, 0x10, 0x05, 0x12, 0x17, 0x0a, 0x13, 0x4e, 0x56, 0x49, 0x44, 0x49, 0x41, 0x5f, 0x54, 0x45, 877 0x53, 0x4c, 0x41, 0x5f, 0x54, 0x34, 0x5f, 0x56, 0x57, 0x53, 0x10, 0x08, 0x12, 0x19, 0x0a, 0x15, 878 0x4e, 0x56, 0x49, 0x44, 0x49, 0x41, 0x5f, 0x54, 0x45, 0x53, 0x4c, 0x41, 0x5f, 0x50, 0x31, 0x30, 879 0x30, 0x5f, 0x56, 0x57, 0x53, 0x10, 0x09, 0x12, 0x17, 0x0a, 0x13, 0x4e, 0x56, 0x49, 0x44, 0x49, 880 0x41, 0x5f, 0x54, 0x45, 0x53, 0x4c, 0x41, 0x5f, 0x50, 0x34, 0x5f, 0x56, 0x57, 0x53, 0x10, 0x0a, 881 0x12, 0x0a, 0x0a, 0x06, 0x54, 0x50, 0x55, 0x5f, 0x56, 0x32, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 882 0x54, 0x50, 0x55, 0x5f, 0x56, 0x33, 0x10, 0x07, 0x22, 0xa4, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, 883 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 884 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x54, 0x41, 885 0x52, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x52, 0x4f, 0x56, 0x49, 886 0x53, 0x49, 0x4f, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 887 0x49, 0x56, 0x45, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x54, 0x4f, 0x50, 0x50, 0x49, 0x4e, 888 0x47, 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x4f, 0x50, 0x50, 0x45, 0x44, 0x10, 0x05, 889 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x06, 0x12, 0x0d, 0x0a, 890 0x09, 0x55, 0x50, 0x47, 0x52, 0x41, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x07, 0x12, 0x10, 0x0a, 0x0c, 891 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x4c, 0x49, 0x5a, 0x49, 0x4e, 0x47, 0x10, 0x08, 0x12, 0x0f, 892 0x0a, 0x0b, 0x52, 0x45, 0x47, 0x49, 0x53, 0x54, 0x45, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x09, 0x22, 893 0x53, 0x0a, 0x08, 0x44, 0x69, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x44, 894 0x49, 0x53, 0x4b, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 895 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x44, 0x5f, 0x53, 0x54, 0x41, 896 0x4e, 0x44, 0x41, 0x52, 0x44, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x44, 0x5f, 0x53, 0x53, 897 0x44, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x44, 0x5f, 0x42, 0x41, 0x4c, 0x41, 0x4e, 0x43, 898 0x45, 0x44, 0x10, 0x03, 0x22, 0x45, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x6b, 0x45, 0x6e, 0x63, 0x72, 899 0x79, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x1b, 0x44, 0x49, 0x53, 0x4b, 0x5f, 0x45, 900 0x4e, 0x43, 0x52, 0x59, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 901 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x47, 0x4d, 0x45, 0x4b, 0x10, 902 0x01, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x4d, 0x45, 0x4b, 0x10, 0x02, 0x3a, 0x4f, 0xea, 0x41, 0x4c, 903 0x0a, 0x21, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 904 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x49, 0x6e, 0x73, 0x74, 0x61, 905 0x6e, 0x63, 0x65, 0x12, 0x27, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 906 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 907 0x73, 0x2f, 0x7b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x7d, 0x42, 0x0d, 0x0a, 0x0b, 908 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0xe4, 0x01, 0x0a, 0x22, 909 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 910 0x2e, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 911 0x61, 0x31, 0x42, 0x0d, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 912 0x6f, 0x50, 0x01, 0x5a, 0x47, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 913 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 914 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 915 0x2f, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 916 0x61, 0x31, 0x3b, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0xaa, 0x02, 0x1e, 0x47, 917 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 918 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x2e, 0x56, 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x1e, 919 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4e, 0x6f, 0x74, 920 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 921 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 922 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 923 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 924} 925 926var ( 927 file_google_cloud_notebooks_v1beta1_instance_proto_rawDescOnce sync.Once 928 file_google_cloud_notebooks_v1beta1_instance_proto_rawDescData = file_google_cloud_notebooks_v1beta1_instance_proto_rawDesc 929) 930 931func file_google_cloud_notebooks_v1beta1_instance_proto_rawDescGZIP() []byte { 932 file_google_cloud_notebooks_v1beta1_instance_proto_rawDescOnce.Do(func() { 933 file_google_cloud_notebooks_v1beta1_instance_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_notebooks_v1beta1_instance_proto_rawDescData) 934 }) 935 return file_google_cloud_notebooks_v1beta1_instance_proto_rawDescData 936} 937 938var file_google_cloud_notebooks_v1beta1_instance_proto_enumTypes = make([]protoimpl.EnumInfo, 4) 939var file_google_cloud_notebooks_v1beta1_instance_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 940var file_google_cloud_notebooks_v1beta1_instance_proto_goTypes = []interface{}{ 941 (Instance_AcceleratorType)(0), // 0: google.cloud.notebooks.v1beta1.Instance.AcceleratorType 942 (Instance_State)(0), // 1: google.cloud.notebooks.v1beta1.Instance.State 943 (Instance_DiskType)(0), // 2: google.cloud.notebooks.v1beta1.Instance.DiskType 944 (Instance_DiskEncryption)(0), // 3: google.cloud.notebooks.v1beta1.Instance.DiskEncryption 945 (*Instance)(nil), // 4: google.cloud.notebooks.v1beta1.Instance 946 (*Instance_AcceleratorConfig)(nil), // 5: google.cloud.notebooks.v1beta1.Instance.AcceleratorConfig 947 nil, // 6: google.cloud.notebooks.v1beta1.Instance.LabelsEntry 948 nil, // 7: google.cloud.notebooks.v1beta1.Instance.MetadataEntry 949 (*VmImage)(nil), // 8: google.cloud.notebooks.v1beta1.VmImage 950 (*ContainerImage)(nil), // 9: google.cloud.notebooks.v1beta1.ContainerImage 951 (*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp 952} 953var file_google_cloud_notebooks_v1beta1_instance_proto_depIdxs = []int32{ 954 8, // 0: google.cloud.notebooks.v1beta1.Instance.vm_image:type_name -> google.cloud.notebooks.v1beta1.VmImage 955 9, // 1: google.cloud.notebooks.v1beta1.Instance.container_image:type_name -> google.cloud.notebooks.v1beta1.ContainerImage 956 5, // 2: google.cloud.notebooks.v1beta1.Instance.accelerator_config:type_name -> google.cloud.notebooks.v1beta1.Instance.AcceleratorConfig 957 1, // 3: google.cloud.notebooks.v1beta1.Instance.state:type_name -> google.cloud.notebooks.v1beta1.Instance.State 958 2, // 4: google.cloud.notebooks.v1beta1.Instance.boot_disk_type:type_name -> google.cloud.notebooks.v1beta1.Instance.DiskType 959 2, // 5: google.cloud.notebooks.v1beta1.Instance.data_disk_type:type_name -> google.cloud.notebooks.v1beta1.Instance.DiskType 960 3, // 6: google.cloud.notebooks.v1beta1.Instance.disk_encryption:type_name -> google.cloud.notebooks.v1beta1.Instance.DiskEncryption 961 6, // 7: google.cloud.notebooks.v1beta1.Instance.labels:type_name -> google.cloud.notebooks.v1beta1.Instance.LabelsEntry 962 7, // 8: google.cloud.notebooks.v1beta1.Instance.metadata:type_name -> google.cloud.notebooks.v1beta1.Instance.MetadataEntry 963 10, // 9: google.cloud.notebooks.v1beta1.Instance.create_time:type_name -> google.protobuf.Timestamp 964 10, // 10: google.cloud.notebooks.v1beta1.Instance.update_time:type_name -> google.protobuf.Timestamp 965 0, // 11: google.cloud.notebooks.v1beta1.Instance.AcceleratorConfig.type:type_name -> google.cloud.notebooks.v1beta1.Instance.AcceleratorType 966 12, // [12:12] is the sub-list for method output_type 967 12, // [12:12] is the sub-list for method input_type 968 12, // [12:12] is the sub-list for extension type_name 969 12, // [12:12] is the sub-list for extension extendee 970 0, // [0:12] is the sub-list for field type_name 971} 972 973func init() { file_google_cloud_notebooks_v1beta1_instance_proto_init() } 974func file_google_cloud_notebooks_v1beta1_instance_proto_init() { 975 if File_google_cloud_notebooks_v1beta1_instance_proto != nil { 976 return 977 } 978 file_google_cloud_notebooks_v1beta1_environment_proto_init() 979 if !protoimpl.UnsafeEnabled { 980 file_google_cloud_notebooks_v1beta1_instance_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 981 switch v := v.(*Instance); i { 982 case 0: 983 return &v.state 984 case 1: 985 return &v.sizeCache 986 case 2: 987 return &v.unknownFields 988 default: 989 return nil 990 } 991 } 992 file_google_cloud_notebooks_v1beta1_instance_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 993 switch v := v.(*Instance_AcceleratorConfig); i { 994 case 0: 995 return &v.state 996 case 1: 997 return &v.sizeCache 998 case 2: 999 return &v.unknownFields 1000 default: 1001 return nil 1002 } 1003 } 1004 } 1005 file_google_cloud_notebooks_v1beta1_instance_proto_msgTypes[0].OneofWrappers = []interface{}{ 1006 (*Instance_VmImage)(nil), 1007 (*Instance_ContainerImage)(nil), 1008 } 1009 type x struct{} 1010 out := protoimpl.TypeBuilder{ 1011 File: protoimpl.DescBuilder{ 1012 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1013 RawDescriptor: file_google_cloud_notebooks_v1beta1_instance_proto_rawDesc, 1014 NumEnums: 4, 1015 NumMessages: 4, 1016 NumExtensions: 0, 1017 NumServices: 0, 1018 }, 1019 GoTypes: file_google_cloud_notebooks_v1beta1_instance_proto_goTypes, 1020 DependencyIndexes: file_google_cloud_notebooks_v1beta1_instance_proto_depIdxs, 1021 EnumInfos: file_google_cloud_notebooks_v1beta1_instance_proto_enumTypes, 1022 MessageInfos: file_google_cloud_notebooks_v1beta1_instance_proto_msgTypes, 1023 }.Build() 1024 File_google_cloud_notebooks_v1beta1_instance_proto = out.File 1025 file_google_cloud_notebooks_v1beta1_instance_proto_rawDesc = nil 1026 file_google_cloud_notebooks_v1beta1_instance_proto_goTypes = nil 1027 file_google_cloud_notebooks_v1beta1_instance_proto_depIdxs = nil 1028} 1029