public Builder setAcceleratorType(com.google.cloud.visionai.v1.AcceleratorType value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000002;
      acceleratorType_ = value.getNumber();
      onChanged();
      return this;
    }
<pre>
Immutable. The type of accelerator(s) that may be attached to the machine
as per
[accelerator_count][google.cloud.visionai.v1.MachineSpec.accelerator_count].
</pre>

<code>
.google.cloud.visionai.v1.AcceleratorType accelerator_type = 2 [(.google.api.field_behavior) = IMMUTABLE];
</code>

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