public Builder setIndex(com.google.cloud.visionai.v1.Index.Builder builderForValue) {
      if (indexBuilder_ == null) {
        index_ = builderForValue.build();
      } else {
        indexBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
<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