@java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + SOURCE_DISK_FIELD_NUMBER;
    hash = (53 * hash) + getSourceDisk().hashCode();
    hash = (37 * hash) + MODE_FIELD_NUMBER;
    hash = (53 * hash) + mode_;
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }
<pre>
The mode in which to attach this disk.
If not specified, the default is READ_WRITE mode.
Only applicable to data_disks.
</pre>

<code>.google.cloud.tpu.v2.AttachedDisk.DiskMode mode = 4;</code>

@return The mode.
java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/AttachedDisk.java