cloud.google.com/go/aiplatform@v1.106.0/apiv1/aiplatformpb/machine_resources.pb.go (about) 1 // Copyright 2025 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.35.2 18 // protoc v4.25.7 19 // source: google/cloud/aiplatform/v1/machine_resources.proto 20 21 package aiplatformpb 22 23 import ( 24 _ "google.golang.org/genproto/googleapis/api/annotations" 25 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 26 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 27 reflect "reflect" 28 sync "sync" 29 ) 30 31 const ( 32 // Verify that this generated code is sufficiently up-to-date. 33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 34 // Verify that runtime/protoimpl is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 36 ) 37 38 // Specification of a single machine. 39 type MachineSpec struct { 40 state protoimpl.MessageState 41 sizeCache protoimpl.SizeCache 42 unknownFields protoimpl.UnknownFields 43 44 // Immutable. The type of the machine. 45 // 46 // See the [list of machine types supported for 47 // prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types) 48 // 49 // See the [list of machine types supported for custom 50 // training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types). 51 // 52 // For [DeployedModel][google.cloud.aiplatform.v1.DeployedModel] this field is 53 // optional, and the default value is `n1-standard-2`. For 54 // [BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob] or as 55 // part of [WorkerPoolSpec][google.cloud.aiplatform.v1.WorkerPoolSpec] this 56 // field is required. 57 MachineType string `protobuf:"bytes,1,opt,name=machine_type,json=machineType,proto3" json:"machine_type,omitempty"` 58 // Immutable. The type of accelerator(s) that may be attached to the machine 59 // as per 60 // [accelerator_count][google.cloud.aiplatform.v1.MachineSpec.accelerator_count]. 61 AcceleratorType AcceleratorType `protobuf:"varint,2,opt,name=accelerator_type,json=acceleratorType,proto3,enum=google.cloud.aiplatform.v1.AcceleratorType" json:"accelerator_type,omitempty"` 62 // The number of accelerators to attach to the machine. 63 AcceleratorCount int32 `protobuf:"varint,3,opt,name=accelerator_count,json=acceleratorCount,proto3" json:"accelerator_count,omitempty"` 64 // Immutable. The topology of the TPUs. Corresponds to the TPU topologies 65 // available from GKE. (Example: tpu_topology: "2x2x1"). 66 TpuTopology string `protobuf:"bytes,4,opt,name=tpu_topology,json=tpuTopology,proto3" json:"tpu_topology,omitempty"` 67 // Optional. Immutable. Configuration controlling how this resource pool 68 // consumes reservation. 69 ReservationAffinity *ReservationAffinity `protobuf:"bytes,5,opt,name=reservation_affinity,json=reservationAffinity,proto3" json:"reservation_affinity,omitempty"` 70 } 71 72 func (x *MachineSpec) Reset() { 73 *x = MachineSpec{} 74 mi := &file_google_cloud_aiplatform_v1_machine_resources_proto_msgTypes[0] 75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 76 ms.StoreMessageInfo(mi) 77 } 78 79 func (x *MachineSpec) String() string { 80 return protoimpl.X.MessageStringOf(x) 81 } 82 83 func (*MachineSpec) ProtoMessage() {} 84 85 func (x *MachineSpec) ProtoReflect() protoreflect.Message { 86 mi := &file_google_cloud_aiplatform_v1_machine_resources_proto_msgTypes[0] 87 if x != nil { 88 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 89 if ms.LoadMessageInfo() == nil { 90 ms.StoreMessageInfo(mi) 91 } 92 return ms 93 } 94 return mi.MessageOf(x) 95 } 96 97 // Deprecated: Use MachineSpec.ProtoReflect.Descriptor instead. 98 func (*MachineSpec) Descriptor() ([]byte, []int) { 99 return file_google_cloud_aiplatform_v1_machine_resources_proto_rawDescGZIP(), []int{0} 100 } 101 102 func (x *MachineSpec) GetMachineType() string { 103 if x != nil { 104 return x.MachineType 105 } 106 return "" 107 } 108 109 func (x *MachineSpec) GetAcceleratorType() AcceleratorType { 110 if x != nil { 111 return x.AcceleratorType 112 } 113 return AcceleratorType_ACCELERATOR_TYPE_UNSPECIFIED 114 } 115 116 func (x *MachineSpec) GetAcceleratorCount() int32 { 117 if x != nil { 118 return x.AcceleratorCount 119 } 120 return 0 121 } 122 123 func (x *MachineSpec) GetTpuTopology() string { 124 if x != nil { 125 return x.TpuTopology 126 } 127 return "" 128 } 129 130 func (x *MachineSpec) GetReservationAffinity() *ReservationAffinity { 131 if x != nil { 132 return x.ReservationAffinity 133 } 134 return nil 135 } 136 137 // A description of resources that are dedicated to a DeployedModel, and 138 // that need a higher degree of manual configuration. 139 type DedicatedResources struct { 140 state protoimpl.MessageState 141 sizeCache protoimpl.SizeCache 142 unknownFields protoimpl.UnknownFields 143 144 // Required. Immutable. The specification of a single machine used by the 145 // prediction. 146 MachineSpec *MachineSpec `protobuf:"bytes,1,opt,name=machine_spec,json=machineSpec,proto3" json:"machine_spec,omitempty"` 147 // Required. Immutable. The minimum number of machine replicas this 148 // DeployedModel will be always deployed on. This value must be greater than 149 // or equal to 1. 150 // 151 // If traffic against the DeployedModel increases, it may dynamically be 152 // deployed onto more replicas, and as traffic decreases, some of these extra 153 // replicas may be freed. 154 MinReplicaCount int32 `protobuf:"varint,2,opt,name=min_replica_count,json=minReplicaCount,proto3" json:"min_replica_count,omitempty"` 155 // Immutable. The maximum number of replicas this DeployedModel may be 156 // deployed on when the traffic against it increases. If the requested value 157 // is too large, the deployment will error, but if deployment succeeds then 158 // the ability to scale the model to that many replicas is guaranteed (barring 159 // service outages). If traffic against the DeployedModel increases beyond 160 // what its replicas at maximum may handle, a portion of the traffic will be 161 // dropped. If this value is not provided, will use 162 // [min_replica_count][google.cloud.aiplatform.v1.DedicatedResources.min_replica_count] 163 // as the default value. 164 // 165 // The value of this field impacts the charge against Vertex CPU and GPU 166 // quotas. Specifically, you will be charged for (max_replica_count * 167 // number of cores in the selected machine type) and (max_replica_count * 168 // number of GPUs per replica in the selected machine type). 169 MaxReplicaCount int32 `protobuf:"varint,3,opt,name=max_replica_count,json=maxReplicaCount,proto3" json:"max_replica_count,omitempty"` 170 // Optional. Number of required available replicas for the deployment to 171 // succeed. This field is only needed when partial model deployment/mutation 172 // is desired. If set, the model deploy/mutate operation will succeed once 173 // available_replica_count reaches required_replica_count, and the rest of 174 // the replicas will be retried. If not set, the default 175 // required_replica_count will be min_replica_count. 176 RequiredReplicaCount int32 `protobuf:"varint,9,opt,name=required_replica_count,json=requiredReplicaCount,proto3" json:"required_replica_count,omitempty"` 177 // Immutable. The metric specifications that overrides a resource 178 // utilization metric (CPU utilization, accelerator's duty cycle, and so on) 179 // target value (default to 60 if not set). At most one entry is allowed per 180 // metric. 181 // 182 // If 183 // [machine_spec.accelerator_count][google.cloud.aiplatform.v1.MachineSpec.accelerator_count] 184 // is above 0, the autoscaling will be based on both CPU utilization and 185 // accelerator's duty cycle metrics and scale up when either metrics exceeds 186 // its target value while scale down if both metrics are under their target 187 // value. The default target value is 60 for both metrics. 188 // 189 // If 190 // [machine_spec.accelerator_count][google.cloud.aiplatform.v1.MachineSpec.accelerator_count] 191 // is 0, the autoscaling will be based on CPU utilization metric only with 192 // default target value 60 if not explicitly set. 193 // 194 // For example, in the case of Online Prediction, if you want to override 195 // target CPU utilization to 80, you should set 196 // [autoscaling_metric_specs.metric_name][google.cloud.aiplatform.v1.AutoscalingMetricSpec.metric_name] 197 // to `aiplatform.googleapis.com/prediction/online/cpu/utilization` and 198 // [autoscaling_metric_specs.target][google.cloud.aiplatform.v1.AutoscalingMetricSpec.target] 199 // to `80`. 200 AutoscalingMetricSpecs []*AutoscalingMetricSpec `protobuf:"bytes,4,rep,name=autoscaling_metric_specs,json=autoscalingMetricSpecs,proto3" json:"autoscaling_metric_specs,omitempty"` 201 // Optional. If true, schedule the deployment workload on [spot 202 // VMs](https://cloud.google.com/kubernetes-engine/docs/concepts/spot-vms). 203 Spot bool `protobuf:"varint,5,opt,name=spot,proto3" json:"spot,omitempty"` 204 } 205 206 func (x *DedicatedResources) Reset() { 207 *x = DedicatedResources{} 208 mi := &file_google_cloud_aiplatform_v1_machine_resources_proto_msgTypes[1] 209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 210 ms.StoreMessageInfo(mi) 211 } 212 213 func (x *DedicatedResources) String() string { 214 return protoimpl.X.MessageStringOf(x) 215 } 216 217 func (*DedicatedResources) ProtoMessage() {} 218 219 func (x *DedicatedResources) ProtoReflect() protoreflect.Message { 220 mi := &file_google_cloud_aiplatform_v1_machine_resources_proto_msgTypes[1] 221 if x != nil { 222 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 223 if ms.LoadMessageInfo() == nil { 224 ms.StoreMessageInfo(mi) 225 } 226 return ms 227 } 228 return mi.MessageOf(x) 229 } 230 231 // Deprecated: Use DedicatedResources.ProtoReflect.Descriptor instead. 232 func (*DedicatedResources) Descriptor() ([]byte, []int) { 233 return file_google_cloud_aiplatform_v1_machine_resources_proto_rawDescGZIP(), []int{1} 234 } 235 236 func (x *DedicatedResources) GetMachineSpec() *MachineSpec { 237 if x != nil { 238 return x.MachineSpec 239 } 240 return nil 241 } 242 243 func (x *DedicatedResources) GetMinReplicaCount() int32 { 244 if x != nil { 245 return x.MinReplicaCount 246 } 247 return 0 248 } 249 250 func (x *DedicatedResources) GetMaxReplicaCount() int32 { 251 if x != nil { 252 return x.MaxReplicaCount 253 } 254 return 0 255 } 256 257 func (x *DedicatedResources) GetRequiredReplicaCount() int32 { 258 if x != nil { 259 return x.RequiredReplicaCount 260 } 261 return 0 262 } 263 264 func (x *DedicatedResources) GetAutoscalingMetricSpecs() []*AutoscalingMetricSpec { 265 if x != nil { 266 return x.AutoscalingMetricSpecs 267 } 268 return nil 269 } 270 271 func (x *DedicatedResources) GetSpot() bool { 272 if x != nil { 273 return x.Spot 274 } 275 return false 276 } 277 278 // A description of resources that to large degree are decided by Vertex AI, 279 // and require only a modest additional configuration. 280 // Each Model supporting these resources documents its specific guidelines. 281 type AutomaticResources struct { 282 state protoimpl.MessageState 283 sizeCache protoimpl.SizeCache 284 unknownFields protoimpl.UnknownFields 285 286 // Immutable. The minimum number of replicas this DeployedModel will be always 287 // deployed on. If traffic against it increases, it may dynamically be 288 // deployed onto more replicas up to 289 // [max_replica_count][google.cloud.aiplatform.v1.AutomaticResources.max_replica_count], 290 // and as traffic decreases, some of these extra replicas may be freed. If the 291 // requested value is too large, the deployment will error. 292 MinReplicaCount int32 `protobuf:"varint,1,opt,name=min_replica_count,json=minReplicaCount,proto3" json:"min_replica_count,omitempty"` 293 // Immutable. The maximum number of replicas this DeployedModel may be 294 // deployed on when the traffic against it increases. If the requested value 295 // is too large, the deployment will error, but if deployment succeeds then 296 // the ability to scale the model to that many replicas is guaranteed (barring 297 // service outages). If traffic against the DeployedModel increases beyond 298 // what its replicas at maximum may handle, a portion of the traffic will be 299 // dropped. If this value is not provided, a no upper bound for scaling under 300 // heavy traffic will be assume, though Vertex AI may be unable to scale 301 // beyond certain replica number. 302 MaxReplicaCount int32 `protobuf:"varint,2,opt,name=max_replica_count,json=maxReplicaCount,proto3" json:"max_replica_count,omitempty"` 303 } 304 305 func (x *AutomaticResources) Reset() { 306 *x = AutomaticResources{} 307 mi := &file_google_cloud_aiplatform_v1_machine_resources_proto_msgTypes[2] 308 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 309 ms.StoreMessageInfo(mi) 310 } 311 312 func (x *AutomaticResources) String() string { 313 return protoimpl.X.MessageStringOf(x) 314 } 315 316 func (*AutomaticResources) ProtoMessage() {} 317 318 func (x *AutomaticResources) ProtoReflect() protoreflect.Message { 319 mi := &file_google_cloud_aiplatform_v1_machine_resources_proto_msgTypes[2] 320 if x != nil { 321 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 322 if ms.LoadMessageInfo() == nil { 323 ms.StoreMessageInfo(mi) 324 } 325 return ms 326 } 327 return mi.MessageOf(x) 328 } 329 330 // Deprecated: Use AutomaticResources.ProtoReflect.Descriptor instead. 331 func (*AutomaticResources) Descriptor() ([]byte, []int) { 332 return file_google_cloud_aiplatform_v1_machine_resources_proto_rawDescGZIP(), []int{2} 333 } 334 335 func (x *AutomaticResources) GetMinReplicaCount() int32 { 336 if x != nil { 337 return x.MinReplicaCount 338 } 339 return 0 340 } 341 342 func (x *AutomaticResources) GetMaxReplicaCount() int32 { 343 if x != nil { 344 return x.MaxReplicaCount 345 } 346 return 0 347 } 348 349 // A description of resources that are used for performing batch operations, are 350 // dedicated to a Model, and need manual configuration. 351 type BatchDedicatedResources struct { 352 state protoimpl.MessageState 353 sizeCache protoimpl.SizeCache 354 unknownFields protoimpl.UnknownFields 355 356 // Required. Immutable. The specification of a single machine. 357 MachineSpec *MachineSpec `protobuf:"bytes,1,opt,name=machine_spec,json=machineSpec,proto3" json:"machine_spec,omitempty"` 358 // Immutable. The number of machine replicas used at the start of the batch 359 // operation. If not set, Vertex AI decides starting number, not greater than 360 // [max_replica_count][google.cloud.aiplatform.v1.BatchDedicatedResources.max_replica_count] 361 StartingReplicaCount int32 `protobuf:"varint,2,opt,name=starting_replica_count,json=startingReplicaCount,proto3" json:"starting_replica_count,omitempty"` 362 // Immutable. The maximum number of machine replicas the batch operation may 363 // be scaled to. The default value is 10. 364 MaxReplicaCount int32 `protobuf:"varint,3,opt,name=max_replica_count,json=maxReplicaCount,proto3" json:"max_replica_count,omitempty"` 365 } 366 367 func (x *BatchDedicatedResources) Reset() { 368 *x = BatchDedicatedResources{} 369 mi := &file_google_cloud_aiplatform_v1_machine_resources_proto_msgTypes[3] 370 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 371 ms.StoreMessageInfo(mi) 372 } 373 374 func (x *BatchDedicatedResources) String() string { 375 return protoimpl.X.MessageStringOf(x) 376 } 377 378 func (*BatchDedicatedResources) ProtoMessage() {} 379 380 func (x *BatchDedicatedResources) ProtoReflect() protoreflect.Message { 381 mi := &file_google_cloud_aiplatform_v1_machine_resources_proto_msgTypes[3] 382 if x != nil { 383 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 384 if ms.LoadMessageInfo() == nil { 385 ms.StoreMessageInfo(mi) 386 } 387 return ms 388 } 389 return mi.MessageOf(x) 390 } 391 392 // Deprecated: Use BatchDedicatedResources.ProtoReflect.Descriptor instead. 393 func (*BatchDedicatedResources) Descriptor() ([]byte, []int) { 394 return file_google_cloud_aiplatform_v1_machine_resources_proto_rawDescGZIP(), []int{3} 395 } 396 397 func (x *BatchDedicatedResources) GetMachineSpec() *MachineSpec { 398 if x != nil { 399 return x.MachineSpec 400 } 401 return nil 402 } 403 404 func (x *BatchDedicatedResources) GetStartingReplicaCount() int32 { 405 if x != nil { 406 return x.StartingReplicaCount 407 } 408 return 0 409 } 410 411 func (x *BatchDedicatedResources) GetMaxReplicaCount() int32 { 412 if x != nil { 413 return x.MaxReplicaCount 414 } 415 return 0 416 } 417 418 // Statistics information about resource consumption. 419 type ResourcesConsumed struct { 420 state protoimpl.MessageState 421 sizeCache protoimpl.SizeCache 422 unknownFields protoimpl.UnknownFields 423 424 // Output only. The number of replica hours used. Note that many replicas may 425 // run in parallel, and additionally any given work may be queued for some 426 // time. Therefore this value is not strictly related to wall time. 427 ReplicaHours float64 `protobuf:"fixed64,1,opt,name=replica_hours,json=replicaHours,proto3" json:"replica_hours,omitempty"` 428 } 429 430 func (x *ResourcesConsumed) Reset() { 431 *x = ResourcesConsumed{} 432 mi := &file_google_cloud_aiplatform_v1_machine_resources_proto_msgTypes[4] 433 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 434 ms.StoreMessageInfo(mi) 435 } 436 437 func (x *ResourcesConsumed) String() string { 438 return protoimpl.X.MessageStringOf(x) 439 } 440 441 func (*ResourcesConsumed) ProtoMessage() {} 442 443 func (x *ResourcesConsumed) ProtoReflect() protoreflect.Message { 444 mi := &file_google_cloud_aiplatform_v1_machine_resources_proto_msgTypes[4] 445 if x != nil { 446 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 447 if ms.LoadMessageInfo() == nil { 448 ms.StoreMessageInfo(mi) 449 } 450 return ms 451 } 452 return mi.MessageOf(x) 453 } 454 455 // Deprecated: Use ResourcesConsumed.ProtoReflect.Descriptor instead. 456 func (*ResourcesConsumed) Descriptor() ([]byte, []int) { 457 return file_google_cloud_aiplatform_v1_machine_resources_proto_rawDescGZIP(), []int{4} 458 } 459 460 func (x *ResourcesConsumed) GetReplicaHours() float64 { 461 if x != nil { 462 return x.ReplicaHours 463 } 464 return 0 465 } 466 467 // Represents the spec of disk options. 468 type DiskSpec struct { 469 state protoimpl.MessageState 470 sizeCache protoimpl.SizeCache 471 unknownFields protoimpl.UnknownFields 472 473 // Type of the boot disk (default is "pd-ssd"). 474 // Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or 475 // "pd-standard" (Persistent Disk Hard Disk Drive). 476 BootDiskType string `protobuf:"bytes,1,opt,name=boot_disk_type,json=bootDiskType,proto3" json:"boot_disk_type,omitempty"` 477 // Size in GB of the boot disk (default is 100GB). 478 BootDiskSizeGb int32 `protobuf:"varint,2,opt,name=boot_disk_size_gb,json=bootDiskSizeGb,proto3" json:"boot_disk_size_gb,omitempty"` 479 } 480 481 func (x *DiskSpec) Reset() { 482 *x = DiskSpec{} 483 mi := &file_google_cloud_aiplatform_v1_machine_resources_proto_msgTypes[5] 484 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 485 ms.StoreMessageInfo(mi) 486 } 487 488 func (x *DiskSpec) String() string { 489 return protoimpl.X.MessageStringOf(x) 490 } 491 492 func (*DiskSpec) ProtoMessage() {} 493 494 func (x *DiskSpec) ProtoReflect() protoreflect.Message { 495 mi := &file_google_cloud_aiplatform_v1_machine_resources_proto_msgTypes[5] 496 if x != nil { 497 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 498 if ms.LoadMessageInfo() == nil { 499 ms.StoreMessageInfo(mi) 500 } 501 return ms 502 } 503 return mi.MessageOf(x) 504 } 505 506 // Deprecated: Use DiskSpec.ProtoReflect.Descriptor instead. 507 func (*DiskSpec) Descriptor() ([]byte, []int) { 508 return file_google_cloud_aiplatform_v1_machine_resources_proto_rawDescGZIP(), []int{5} 509 } 510 511 func (x *DiskSpec) GetBootDiskType() string { 512 if x != nil { 513 return x.BootDiskType 514 } 515 return "" 516 } 517 518 func (x *DiskSpec) GetBootDiskSizeGb() int32 { 519 if x != nil { 520 return x.BootDiskSizeGb 521 } 522 return 0 523 } 524 525 // Represents the spec of [persistent 526 // disk][https://cloud.google.com/compute/docs/disks/persistent-disks] options. 527 type PersistentDiskSpec struct { 528 state protoimpl.MessageState 529 sizeCache protoimpl.SizeCache 530 unknownFields protoimpl.UnknownFields 531 532 // Type of the disk (default is "pd-standard"). 533 // Valid values: "pd-ssd" (Persistent Disk Solid State Drive) 534 // "pd-standard" (Persistent Disk Hard Disk Drive) 535 // "pd-balanced" (Balanced Persistent Disk) 536 // "pd-extreme" (Extreme Persistent Disk) 537 DiskType string `protobuf:"bytes,1,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"` 538 // Size in GB of the disk (default is 100GB). 539 DiskSizeGb int64 `protobuf:"varint,2,opt,name=disk_size_gb,json=diskSizeGb,proto3" json:"disk_size_gb,omitempty"` 540 } 541 542 func (x *PersistentDiskSpec) Reset() { 543 *x = PersistentDiskSpec{} 544 mi := &file_google_cloud_aiplatform_v1_machine_resources_proto_msgTypes[6] 545 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 546 ms.StoreMessageInfo(mi) 547 } 548 549 func (x *PersistentDiskSpec) String() string { 550 return protoimpl.X.MessageStringOf(x) 551 } 552 553 func (*PersistentDiskSpec) ProtoMessage() {} 554 555 func (x *PersistentDiskSpec) ProtoReflect() protoreflect.Message { 556 mi := &file_google_cloud_aiplatform_v1_machine_resources_proto_msgTypes[6] 557 if x != nil { 558 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 559 if ms.LoadMessageInfo() == nil { 560 ms.StoreMessageInfo(mi) 561 } 562 return ms 563 } 564 return mi.MessageOf(x) 565 } 566 567 // Deprecated: Use PersistentDiskSpec.ProtoReflect.Descriptor instead. 568 func (*PersistentDiskSpec) Descriptor() ([]byte, []int) { 569 return file_google_cloud_aiplatform_v1_machine_resources_proto_rawDescGZIP(), []int{6} 570 } 571 572 func (x *PersistentDiskSpec) GetDiskType() string { 573 if x != nil { 574 return x.DiskType 575 } 576 return "" 577 } 578 579 func (x *PersistentDiskSpec) GetDiskSizeGb() int64 { 580 if x != nil { 581 return x.DiskSizeGb 582 } 583 return 0 584 } 585 586 // Represents a mount configuration for Network File System (NFS) to mount. 587 type NfsMount struct { 588 state protoimpl.MessageState 589 sizeCache protoimpl.SizeCache 590 unknownFields protoimpl.UnknownFields 591 592 // Required. IP address of the NFS server. 593 Server string `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` 594 // Required. Source path exported from NFS server. 595 // Has to start with '/', and combined with the ip address, it indicates 596 // the source mount path in the form of `server:path` 597 Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` 598 // Required. Destination mount path. The NFS will be mounted for the user 599 // under /mnt/nfs/<mount_point> 600 MountPoint string `protobuf:"bytes,3,opt,name=mount_point,json=mountPoint,proto3" json:"mount_point,omitempty"` 601 } 602 603 func (x *NfsMount) Reset() { 604 *x = NfsMount{} 605 mi := &file_google_cloud_aiplatform_v1_machine_resources_proto_msgTypes[7] 606 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 607 ms.StoreMessageInfo(mi) 608 } 609 610 func (x *NfsMount) String() string { 611 return protoimpl.X.MessageStringOf(x) 612 } 613 614 func (*NfsMount) ProtoMessage() {} 615 616 func (x *NfsMount) ProtoReflect() protoreflect.Message { 617 mi := &file_google_cloud_aiplatform_v1_machine_resources_proto_msgTypes[7] 618 if x != nil { 619 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 620 if ms.LoadMessageInfo() == nil { 621 ms.StoreMessageInfo(mi) 622 } 623 return ms 624 } 625 return mi.MessageOf(x) 626 } 627 628 // Deprecated: Use NfsMount.ProtoReflect.Descriptor instead. 629 func (*NfsMount) Descriptor() ([]byte, []int) { 630 return file_google_cloud_aiplatform_v1_machine_resources_proto_rawDescGZIP(), []int{7} 631 } 632 633 func (x *NfsMount) GetServer() string { 634 if x != nil { 635 return x.Server 636 } 637 return "" 638 } 639 640 func (x *NfsMount) GetPath() string { 641 if x != nil { 642 return x.Path 643 } 644 return "" 645 } 646 647 func (x *NfsMount) GetMountPoint() string { 648 if x != nil { 649 return x.MountPoint 650 } 651 return "" 652 } 653 654 // The metric specification that defines the target resource utilization 655 // (CPU utilization, accelerator's duty cycle, and so on) for calculating the 656 // desired replica count. 657 type AutoscalingMetricSpec struct { 658 state protoimpl.MessageState 659 sizeCache protoimpl.SizeCache 660 unknownFields protoimpl.UnknownFields 661 662 // Required. The resource metric name. 663 // Supported metrics: 664 // 665 // * For Online Prediction: 666 // * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` 667 // * `aiplatform.googleapis.com/prediction/online/cpu/utilization` 668 MetricName string `protobuf:"bytes,1,opt,name=metric_name,json=metricName,proto3" json:"metric_name,omitempty"` 669 // The target resource utilization in percentage (1% - 100%) for the given 670 // metric; once the real usage deviates from the target by a certain 671 // percentage, the machine replicas change. The default value is 60 672 // (representing 60%) if not provided. 673 Target int32 `protobuf:"varint,2,opt,name=target,proto3" json:"target,omitempty"` 674 } 675 676 func (x *AutoscalingMetricSpec) Reset() { 677 *x = AutoscalingMetricSpec{} 678 mi := &file_google_cloud_aiplatform_v1_machine_resources_proto_msgTypes[8] 679 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 680 ms.StoreMessageInfo(mi) 681 } 682 683 func (x *AutoscalingMetricSpec) String() string { 684 return protoimpl.X.MessageStringOf(x) 685 } 686 687 func (*AutoscalingMetricSpec) ProtoMessage() {} 688 689 func (x *AutoscalingMetricSpec) ProtoReflect() protoreflect.Message { 690 mi := &file_google_cloud_aiplatform_v1_machine_resources_proto_msgTypes[8] 691 if x != nil { 692 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 693 if ms.LoadMessageInfo() == nil { 694 ms.StoreMessageInfo(mi) 695 } 696 return ms 697 } 698 return mi.MessageOf(x) 699 } 700 701 // Deprecated: Use AutoscalingMetricSpec.ProtoReflect.Descriptor instead. 702 func (*AutoscalingMetricSpec) Descriptor() ([]byte, []int) { 703 return file_google_cloud_aiplatform_v1_machine_resources_proto_rawDescGZIP(), []int{8} 704 } 705 706 func (x *AutoscalingMetricSpec) GetMetricName() string { 707 if x != nil { 708 return x.MetricName 709 } 710 return "" 711 } 712 713 func (x *AutoscalingMetricSpec) GetTarget() int32 { 714 if x != nil { 715 return x.Target 716 } 717 return 0 718 } 719 720 // A set of Shielded Instance options. 721 // See [Images using supported Shielded VM 722 // features](https://cloud.google.com/compute/docs/instances/modifying-shielded-vm). 723 type ShieldedVmConfig struct { 724 state protoimpl.MessageState 725 sizeCache protoimpl.SizeCache 726 unknownFields protoimpl.UnknownFields 727 728 // Defines whether the instance has [Secure 729 // Boot](https://cloud.google.com/compute/shielded-vm/docs/shielded-vm#secure-boot) 730 // enabled. 731 // 732 // Secure Boot helps ensure that the system only runs authentic software by 733 // verifying the digital signature of all boot components, and halting the 734 // boot process if signature verification fails. 735 EnableSecureBoot bool `protobuf:"varint,1,opt,name=enable_secure_boot,json=enableSecureBoot,proto3" json:"enable_secure_boot,omitempty"` 736 } 737 738 func (x *ShieldedVmConfig) Reset() { 739 *x = ShieldedVmConfig{} 740 mi := &file_google_cloud_aiplatform_v1_machine_resources_proto_msgTypes[9] 741 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 742 ms.StoreMessageInfo(mi) 743 } 744 745 func (x *ShieldedVmConfig) String() string { 746 return protoimpl.X.MessageStringOf(x) 747 } 748 749 func (*ShieldedVmConfig) ProtoMessage() {} 750 751 func (x *ShieldedVmConfig) ProtoReflect() protoreflect.Message { 752 mi := &file_google_cloud_aiplatform_v1_machine_resources_proto_msgTypes[9] 753 if x != nil { 754 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 755 if ms.LoadMessageInfo() == nil { 756 ms.StoreMessageInfo(mi) 757 } 758 return ms 759 } 760 return mi.MessageOf(x) 761 } 762 763 // Deprecated: Use ShieldedVmConfig.ProtoReflect.Descriptor instead. 764 func (*ShieldedVmConfig) Descriptor() ([]byte, []int) { 765 return file_google_cloud_aiplatform_v1_machine_resources_proto_rawDescGZIP(), []int{9} 766 } 767 768 func (x *ShieldedVmConfig) GetEnableSecureBoot() bool { 769 if x != nil { 770 return x.EnableSecureBoot 771 } 772 return false 773 } 774 775 var File_google_cloud_aiplatform_v1_machine_resources_proto protoreflect.FileDescriptor 776 777 var file_google_cloud_aiplatform_v1_machine_resources_proto_rawDesc = []byte{ 778 0x0a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 779 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x63, 780 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 781 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 782 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 783 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 784 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 785 0x6f, 0x1a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 786 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 787 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 788 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x35, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 789 0x75, 0x64, 0x2f, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x76, 0x31, 790 0x2f, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x66, 0x66, 791 0x69, 0x6e, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd3, 0x02, 0x0a, 0x0b, 792 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x26, 0x0a, 0x0c, 0x6d, 793 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 794 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x0b, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x54, 795 0x79, 0x70, 0x65, 0x12, 0x5b, 0x0a, 0x10, 0x61, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 796 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 797 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 798 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x6c, 799 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 800 0x0f, 0x61, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 801 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x63, 0x63, 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 802 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x61, 0x63, 0x63, 803 0x65, 0x6c, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x26, 0x0a, 804 0x0c, 0x74, 0x70, 0x75, 0x5f, 0x74, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x18, 0x04, 0x20, 805 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x0b, 0x74, 0x70, 0x75, 0x54, 0x6f, 0x70, 806 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x12, 0x6a, 0x0a, 0x14, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 807 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x61, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 808 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 809 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 810 0x2e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x66, 0x66, 0x69, 811 0x6e, 0x69, 0x74, 0x79, 0x42, 0x06, 0xe0, 0x41, 0x05, 0xe0, 0x41, 0x01, 0x52, 0x13, 0x72, 0x65, 812 0x73, 0x65, 0x72, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x66, 0x66, 0x69, 0x6e, 0x69, 0x74, 813 0x79, 0x22, 0x93, 0x03, 0x0a, 0x12, 0x44, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 0x65, 0x64, 0x52, 814 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x52, 0x0a, 0x0c, 0x6d, 0x61, 0x63, 0x68, 815 0x69, 0x6e, 0x65, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 816 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 817 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x61, 0x63, 0x68, 818 0x69, 0x6e, 0x65, 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, 0xe0, 0x41, 0x02, 0xe0, 0x41, 0x05, 0x52, 819 0x0b, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x32, 0x0a, 0x11, 820 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 821 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x06, 0xe0, 0x41, 0x02, 0xe0, 0x41, 0x05, 0x52, 822 0x0f, 0x6d, 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x43, 0x6f, 0x75, 0x6e, 0x74, 823 0x12, 0x2f, 0x0a, 0x11, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 824 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x05, 825 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x43, 0x6f, 0x75, 0x6e, 826 0x74, 0x12, 0x39, 0x0a, 0x16, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x72, 0x65, 827 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 828 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x14, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 829 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x70, 0x0a, 0x18, 830 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x65, 0x74, 0x72, 831 0x69, 0x63, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 832 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 833 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x6f, 834 0x73, 0x63, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x70, 0x65, 835 0x63, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x16, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 836 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x70, 0x65, 0x63, 0x73, 0x12, 0x17, 837 0x0a, 0x04, 0x73, 0x70, 0x6f, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 838 0x01, 0x52, 0x04, 0x73, 0x70, 0x6f, 0x74, 0x22, 0x76, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x6f, 0x6d, 839 0x61, 0x74, 0x69, 0x63, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x2f, 0x0a, 840 0x11, 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x63, 0x6f, 0x75, 841 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x0f, 0x6d, 842 0x69, 0x6e, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2f, 843 0x0a, 0x11, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x63, 0x6f, 844 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x0f, 845 0x6d, 0x61, 0x78, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 846 0xd9, 0x01, 0x0a, 0x17, 0x42, 0x61, 0x74, 0x63, 0x68, 0x44, 0x65, 0x64, 0x69, 0x63, 0x61, 0x74, 847 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x52, 0x0a, 0x0c, 0x6d, 848 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 849 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 850 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 851 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x53, 0x70, 0x65, 0x63, 0x42, 0x06, 0xe0, 0x41, 0x02, 0xe0, 852 0x41, 0x05, 0x52, 0x0b, 0x6d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 853 0x39, 0x0a, 0x16, 0x73, 0x74, 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x70, 0x6c, 854 0x69, 0x63, 0x61, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 855 0x03, 0xe0, 0x41, 0x05, 0x52, 0x14, 0x73, 0x74, 0x61, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 856 0x70, 0x6c, 0x69, 0x63, 0x61, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2f, 0x0a, 0x11, 0x6d, 0x61, 857 0x78, 0x5f, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 858 0x03, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x05, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x52, 859 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x3d, 0x0a, 0x11, 0x52, 860 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x64, 861 0x12, 0x28, 0x0a, 0x0d, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x68, 0x6f, 0x75, 0x72, 862 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0c, 0x72, 0x65, 863 0x70, 0x6c, 0x69, 0x63, 0x61, 0x48, 0x6f, 0x75, 0x72, 0x73, 0x22, 0x5b, 0x0a, 0x08, 0x44, 0x69, 864 0x73, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x12, 0x24, 0x0a, 0x0e, 0x62, 0x6f, 0x6f, 0x74, 0x5f, 0x64, 865 0x69, 0x73, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 866 0x62, 0x6f, 0x6f, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x11, 867 0x62, 0x6f, 0x6f, 0x74, 0x5f, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x67, 868 0x62, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x62, 0x6f, 0x6f, 0x74, 0x44, 0x69, 0x73, 869 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x47, 0x62, 0x22, 0x53, 0x0a, 0x12, 0x50, 0x65, 0x72, 0x73, 0x69, 870 0x73, 0x74, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x6b, 0x53, 0x70, 0x65, 0x63, 0x12, 0x1b, 0x0a, 871 0x09, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 872 0x52, 0x08, 0x64, 0x69, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x64, 0x69, 873 0x73, 0x6b, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x67, 0x62, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 874 0x52, 0x0a, 0x64, 0x69, 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x47, 0x62, 0x22, 0x66, 0x0a, 0x08, 875 0x4e, 0x66, 0x73, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, 876 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x73, 877 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 878 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x24, 879 0x0a, 0x0b, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 880 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x50, 881 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x55, 0x0a, 0x15, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x63, 0x61, 0x6c, 882 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x53, 0x70, 0x65, 0x63, 0x12, 0x24, 0x0a, 883 0x0b, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 884 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x4e, 885 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 886 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0x40, 0x0a, 0x10, 0x53, 887 0x68, 0x69, 0x65, 0x6c, 0x64, 0x65, 0x64, 0x56, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 888 0x2c, 0x0a, 0x12, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x65, 889 0x5f, 0x62, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x65, 0x6e, 0x61, 890 0x62, 0x6c, 0x65, 0x53, 0x65, 0x63, 0x75, 0x72, 0x65, 0x42, 0x6f, 0x6f, 0x74, 0x42, 0xd3, 0x01, 891 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 892 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 893 0x42, 0x15, 0x4d, 0x61, 0x63, 0x68, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 894 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 895 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 896 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 897 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0x3b, 0x61, 0x69, 0x70, 898 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x70, 0x62, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 899 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 900 0x6f, 0x72, 0x6d, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 901 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 902 0x5c, 0x56, 0x31, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 903 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x49, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x3a, 904 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 905 } 906 907 var ( 908 file_google_cloud_aiplatform_v1_machine_resources_proto_rawDescOnce sync.Once 909 file_google_cloud_aiplatform_v1_machine_resources_proto_rawDescData = file_google_cloud_aiplatform_v1_machine_resources_proto_rawDesc 910 ) 911 912 func file_google_cloud_aiplatform_v1_machine_resources_proto_rawDescGZIP() []byte { 913 file_google_cloud_aiplatform_v1_machine_resources_proto_rawDescOnce.Do(func() { 914 file_google_cloud_aiplatform_v1_machine_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_aiplatform_v1_machine_resources_proto_rawDescData) 915 }) 916 return file_google_cloud_aiplatform_v1_machine_resources_proto_rawDescData 917 } 918 919 var file_google_cloud_aiplatform_v1_machine_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 10) 920 var file_google_cloud_aiplatform_v1_machine_resources_proto_goTypes = []any{ 921 (*MachineSpec)(nil), // 0: google.cloud.aiplatform.v1.MachineSpec 922 (*DedicatedResources)(nil), // 1: google.cloud.aiplatform.v1.DedicatedResources 923 (*AutomaticResources)(nil), // 2: google.cloud.aiplatform.v1.AutomaticResources 924 (*BatchDedicatedResources)(nil), // 3: google.cloud.aiplatform.v1.BatchDedicatedResources 925 (*ResourcesConsumed)(nil), // 4: google.cloud.aiplatform.v1.ResourcesConsumed 926 (*DiskSpec)(nil), // 5: google.cloud.aiplatform.v1.DiskSpec 927 (*PersistentDiskSpec)(nil), // 6: google.cloud.aiplatform.v1.PersistentDiskSpec 928 (*NfsMount)(nil), // 7: google.cloud.aiplatform.v1.NfsMount 929 (*AutoscalingMetricSpec)(nil), // 8: google.cloud.aiplatform.v1.AutoscalingMetricSpec 930 (*ShieldedVmConfig)(nil), // 9: google.cloud.aiplatform.v1.ShieldedVmConfig 931 (AcceleratorType)(0), // 10: google.cloud.aiplatform.v1.AcceleratorType 932 (*ReservationAffinity)(nil), // 11: google.cloud.aiplatform.v1.ReservationAffinity 933 } 934 var file_google_cloud_aiplatform_v1_machine_resources_proto_depIdxs = []int32{ 935 10, // 0: google.cloud.aiplatform.v1.MachineSpec.accelerator_type:type_name -> google.cloud.aiplatform.v1.AcceleratorType 936 11, // 1: google.cloud.aiplatform.v1.MachineSpec.reservation_affinity:type_name -> google.cloud.aiplatform.v1.ReservationAffinity 937 0, // 2: google.cloud.aiplatform.v1.DedicatedResources.machine_spec:type_name -> google.cloud.aiplatform.v1.MachineSpec 938 8, // 3: google.cloud.aiplatform.v1.DedicatedResources.autoscaling_metric_specs:type_name -> google.cloud.aiplatform.v1.AutoscalingMetricSpec 939 0, // 4: google.cloud.aiplatform.v1.BatchDedicatedResources.machine_spec:type_name -> google.cloud.aiplatform.v1.MachineSpec 940 5, // [5:5] is the sub-list for method output_type 941 5, // [5:5] is the sub-list for method input_type 942 5, // [5:5] is the sub-list for extension type_name 943 5, // [5:5] is the sub-list for extension extendee 944 0, // [0:5] is the sub-list for field type_name 945 } 946 947 func init() { file_google_cloud_aiplatform_v1_machine_resources_proto_init() } 948 func file_google_cloud_aiplatform_v1_machine_resources_proto_init() { 949 if File_google_cloud_aiplatform_v1_machine_resources_proto != nil { 950 return 951 } 952 file_google_cloud_aiplatform_v1_accelerator_type_proto_init() 953 file_google_cloud_aiplatform_v1_reservation_affinity_proto_init() 954 type x struct{} 955 out := protoimpl.TypeBuilder{ 956 File: protoimpl.DescBuilder{ 957 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 958 RawDescriptor: file_google_cloud_aiplatform_v1_machine_resources_proto_rawDesc, 959 NumEnums: 0, 960 NumMessages: 10, 961 NumExtensions: 0, 962 NumServices: 0, 963 }, 964 GoTypes: file_google_cloud_aiplatform_v1_machine_resources_proto_goTypes, 965 DependencyIndexes: file_google_cloud_aiplatform_v1_machine_resources_proto_depIdxs, 966 MessageInfos: file_google_cloud_aiplatform_v1_machine_resources_proto_msgTypes, 967 }.Build() 968 File_google_cloud_aiplatform_v1_machine_resources_proto = out.File 969 file_google_cloud_aiplatform_v1_machine_resources_proto_rawDesc = nil 970 file_google_cloud_aiplatform_v1_machine_resources_proto_goTypes = nil 971 file_google_cloud_aiplatform_v1_machine_resources_proto_depIdxs = nil 972 }