public com.google.cloud.visionai.v1.IndexOrBuilder getIndexOrBuilder() {
      if (indexBuilder_ != null) {
        return indexBuilder_.getMessageOrBuilder();
      } else {
        return index_ == null ? com.google.cloud.visionai.v1.Index.getDefaultInstance() : index_;
      }
    }
<pre>
Required. The resource being updated.
</pre>

<code>.google.cloud.visionai.v1.Index index = 1 [(.google.api.field_behavior) = REQUIRED];
</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/UpdateIndexRequest.java