All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.visionai.v1.MachineSpecOrBuilder Maven / Gradle / Ivy

/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/visionai/v1/platform.proto

// Protobuf Java Version: 3.25.3
package com.google.cloud.visionai.v1;

public interface MachineSpecOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.visionai.v1.MachineSpec)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Immutable. The type of the machine.
   *
   * See the [list of machine types supported for
   * prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types)
   *
   * See the [list of machine types supported for custom
   * training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types).
   *
   * For [DeployedModel][] this field is optional, and the default
   * value is `n1-standard-2`. For [BatchPredictionJob][] or as part of
   * [WorkerPoolSpec][] this field is required.
   * 
* * string machine_type = 1 [(.google.api.field_behavior) = IMMUTABLE]; * * @return The machineType. */ java.lang.String getMachineType(); /** * * *
   * Immutable. The type of the machine.
   *
   * See the [list of machine types supported for
   * prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types)
   *
   * See the [list of machine types supported for custom
   * training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types).
   *
   * For [DeployedModel][] this field is optional, and the default
   * value is `n1-standard-2`. For [BatchPredictionJob][] or as part of
   * [WorkerPoolSpec][] this field is required.
   * 
* * string machine_type = 1 [(.google.api.field_behavior) = IMMUTABLE]; * * @return The bytes for machineType. */ com.google.protobuf.ByteString getMachineTypeBytes(); /** * * *
   * Immutable. The type of accelerator(s) that may be attached to the machine
   * as per
   * [accelerator_count][google.cloud.visionai.v1.MachineSpec.accelerator_count].
   * 
* * * .google.cloud.visionai.v1.AcceleratorType accelerator_type = 2 [(.google.api.field_behavior) = IMMUTABLE]; * * * @return The enum numeric value on the wire for acceleratorType. */ int getAcceleratorTypeValue(); /** * * *
   * Immutable. The type of accelerator(s) that may be attached to the machine
   * as per
   * [accelerator_count][google.cloud.visionai.v1.MachineSpec.accelerator_count].
   * 
* * * .google.cloud.visionai.v1.AcceleratorType accelerator_type = 2 [(.google.api.field_behavior) = IMMUTABLE]; * * * @return The acceleratorType. */ com.google.cloud.visionai.v1.AcceleratorType getAcceleratorType(); /** * * *
   * The number of accelerators to attach to the machine.
   * 
* * int32 accelerator_count = 3; * * @return The acceleratorCount. */ int getAcceleratorCount(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy