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

    if (!getValueCase().equals(other.getValueCase())) return false;
    switch (valueCase_) {
      case 1:
        if (!getStringValue().equals(other.getStringValue())) return false;
        break;
      case 2:
        if (getIntegerValue() != other.getIntegerValue()) return false;
        break;
      case 3:
        if (!getDatetimeValue().equals(other.getDatetimeValue())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Datetime type value.
</pre>

<code>.google.type.DateTime datetime_value = 3;</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/FacetValue.java