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

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bootDiskType_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, bootDiskType_);
    }
    if (bootDiskSizeGb_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, bootDiskSizeGb_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<pre>
Size in GB of the boot disk (default is 100GB).
</pre>

<code>int32 boot_disk_size_gb = 2;</code>

@return The bootDiskSizeGb.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/DiskSpec.java