@java.lang.Override
      public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) return size;

        size = 0;
        if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(machineType_)) {
          size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, machineType_);
        }
        if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccount_)) {
          size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, serviceAccount_);
        }
        {
          int dataSize = 0;
          for (int i = 0; i < serviceAccountScopes_.size(); i++) {
            dataSize += computeStringSizeNoTag(serviceAccountScopes_.getRaw(i));
          }
          size += dataSize;
          size += 1 * getServiceAccountScopesList().size();
        }
        {
          int dataSize = 0;
          for (int i = 0; i < tags_.size(); i++) {
            dataSize += computeStringSizeNoTag(tags_.getRaw(i));
          }
          size += dataSize;
          size += 1 * getTagsList().size();
        }
        if (poolSize_ != 0) {
          size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, poolSize_);
        }
        if (disablePublicIpAddresses_ != false) {
          size +=
              com.google.protobuf.CodedOutputStream.computeBoolSize(6, disablePublicIpAddresses_);
        }
        if (enableNestedVirtualization_ != false) {
          size +=
              com.google.protobuf.CodedOutputStream.computeBoolSize(7, enableNestedVirtualization_);
        }
        if (((bitField0_ & 0x00000001) != 0)) {
          size +=
              com.google.protobuf.CodedOutputStream.computeMessageSize(
                  8, getShieldedInstanceConfig());
        }
        if (bootDiskSizeGb_ != 0) {
          size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, bootDiskSizeGb_);
        }
        if (((bitField0_ & 0x00000002) != 0)) {
          size +=
              com.google.protobuf.CodedOutputStream.computeMessageSize(
                  10, getConfidentialInstanceConfig());
        }
        for (int i = 0; i < accelerators_.size(); i++) {
          size +=
              com.google.protobuf.CodedOutputStream.computeMessageSize(11, accelerators_.get(i));
        }
        if (pooledInstances_ != 0) {
          size += com.google.protobuf.CodedOutputStream.computeInt32Size(12, pooledInstances_);
        }
        size += getUnknownFields().getSerializedSize();
        memoizedSize = size;
        return size;
      }
<pre>
Optional. A list of the type and count of accelerator cards attached to
the instance.
</pre>

<code>
repeated .google.cloud.workstations.v1beta.WorkstationConfig.Host.GceInstance.Accelerator accelerators = 11 [(.google.api.field_behavior) = OPTIONAL];
</code>
java-workstations/proto-google-cloud-workstations-v1beta/src/main/java/com/google/cloud/workstations/v1beta/WorkstationConfig.java