@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.memorystore.v1beta.NodeConfig)) {
      return super.equals(obj);
    }
    com.google.cloud.memorystore.v1beta.NodeConfig other =
        (com.google.cloud.memorystore.v1beta.NodeConfig) obj;

    if (java.lang.Double.doubleToLongBits(getSizeGb())
        != java.lang.Double.doubleToLongBits(other.getSizeGb())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Output only. Memory size in GB of the node.
</pre>

<code>double size_gb = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>

@return The sizeGb.
java-valkey/proto-google-cloud-valkey-v1beta/src/main/java/com/google/cloud/memorystore/v1beta/NodeConfig.java