@java.lang.Override
  public java.lang.String getMemory() {
    java.lang.Object ref = memory_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      memory_ = s;
      return s;
    }
  }
<pre>
Memory specification (in bytes).

Examples:
"128974848", "129e6", "129M", "123Mi", ... correspond to
128974848 bytes, 129000000 bytes, 129 mebibytes, 123 megabytes.

Leave empty to let the system decide.
</pre>

<code>string memory = 2;</code>

@return The memory.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/ResourceSpecification.java