public java.lang.String getMachineType() {
      java.lang.Object ref = machineType_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        machineType_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
<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>

@return The machineType.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/MachineSpec.java