public Builder setInstance(com.google.cloud.visionai.v1.Instance value) {
        if (instanceBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          instance_ = value;
        } else {
          instanceBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
<pre>
Required. The resource being updated.
</pre>

<code>
.google.cloud.visionai.v1.Instance instance = 2 [(.google.api.field_behavior) = REQUIRED];
</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/UpdateApplicationInstancesRequest.java