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

    if (!getValueCase().equals(other.getValueCase())) return false;
    switch (valueCase_) {
      case 1:
        if (getI() != other.getI()) return false;
        break;
      case 2:
        if (java.lang.Float.floatToIntBits(getF()) != java.lang.Float.floatToIntBits(other.getF()))
          return false;
        break;
      case 3:
        if (getB() != other.getB()) return false;
        break;
      case 4:
        if (!getS().equals(other.getS())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
string.
</pre>

<code>bytes s = 4;</code>

@return The s.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/AttributeValue.java