public com.google.protobuf.ByteString getInputResourceBytes() {
      java.lang.Object ref = "";
      if (inputResourceInformationCase_ == 1) {
        ref = inputResourceInformation_;
      }
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        if (inputResourceInformationCase_ == 1) {
          inputResourceInformation_ = b;
        }
        return b;
      } else {
        return (com.google.protobuf.ByteString) 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 bytes for inputResource.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/Instance.java