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

    size = 0;
    if (java.lang.Double.doubleToRawLongBits(sizeGb_) != 0) {
      size += com.google.protobuf.CodedOutputStream.computeDoubleSize(1, sizeGb_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<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-v1/src/main/java/com/google/cloud/memorystore/v1/NodeConfig.java