public Builder setInstanceId(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        instanceId_ = value;
        bitField0_ |= 0x00000004;
        onChanged();
        return this;
      }
<pre>
Required. The id of the instance.
</pre>

<code>string instance_id = 3 [(.google.api.field_behavior) = REQUIRED];</code>

@param value The instanceId to set.
@return This builder for chaining.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/UpdateApplicationInstancesRequest.java