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

    if (hasIndexEndpoint() != other.hasIndexEndpoint()) return false;
    if (hasIndexEndpoint()) {
      if (!getIndexEndpoint().equals(other.getIndexEndpoint())) return false;
    }
    if (hasUpdateMask() != other.hasUpdateMask()) return false;
    if (hasUpdateMask()) {
      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Required. Field mask is used to specify the fields to be overwritten in the
IndexEndpoint resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request.
A field of the resource will be overwritten if it is in the mask.
Empty field mask is not allowed.
If the mask is "*", then this is a full replacement of the resource.
</pre>

<code>.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/UpdateIndexEndpointRequest.java