@java.lang.Override
    public com.google.cloud.visionai.v1.RequestMetadata getMetadata() {
      if (metadataBuilder_ == null) {
        if (requestCase_ == 2) {
          return (com.google.cloud.visionai.v1.RequestMetadata) request_;
        }
        return com.google.cloud.visionai.v1.RequestMetadata.getDefaultInstance();
      } else {
        if (requestCase_ == 2) {
          return metadataBuilder_.getMessage();
        }
        return com.google.cloud.visionai.v1.RequestMetadata.getDefaultInstance();
      }
    }
<pre>
The first message of the streaming rpc including the request metadata.
</pre>

<code>.google.cloud.visionai.v1.RequestMetadata metadata = 2;</code>

@return The metadata.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/SendPacketsRequest.java