@java.lang.Override
      public java.lang.String getInputResource() {
        java.lang.Object ref = "";
        if (inputResourceInformationCase_ == 1) {
          ref = inputResourceInformation_;
        }
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (inputResourceInformationCase_ == 1) {
            inputResourceInformation_ = s;
          }
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
<pre>
The direct input resource name.
If the instance type is STREAMING_PREDICTION, the input resource is in
format of
"projects/123/locations/us-central1/clusters/456/streams/stream-a".
If the instance type is BATCH_PREDICTION from Cloud Storage input
container, the input resource is in format of "gs://bucket-a".
</pre>

<code>string input_resource = 1;</code>

@return The inputResource.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/Instance.java