public Builder setMachineType(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      machineType_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
<pre>
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.
</pre>

<code>string machine_type = 1 [(.google.api.field_behavior) = IMMUTABLE];</code>

@param value The machineType to set.
@return This builder for chaining.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/MachineSpec.java