@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.visionai.v1.ApplicationInstance)) {
      return super.equals(obj);
    }
    com.google.cloud.visionai.v1.ApplicationInstance other =
        (com.google.cloud.visionai.v1.ApplicationInstance) obj;

    if (!getInstanceId().equals(other.getInstanceId())) return false;
    if (hasInstance() != other.hasInstance()) return false;
    if (hasInstance()) {
      if (!getInstance().equals(other.getInstance())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Required. The resource being created.
</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/ApplicationInstance.java