@java.lang.Override
  public com.google.protobuf.ByteString getMachineTypeBytes() {
    java.lang.Object ref = machineType_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      machineType_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) 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 bytes for machineType.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/MachineSpec.java