public boolean equals(SetSchemaVersionStateRequest that) {
    if (that == null)
      return false;
    if (this == that)
      return true;

    boolean this_present_schemaVersion = true && this.isSetSchemaVersion();
    boolean that_present_schemaVersion = true && that.isSetSchemaVersion();
    if (this_present_schemaVersion || that_present_schemaVersion) {
      if (!(this_present_schemaVersion && that_present_schemaVersion))
        return false;
      if (!this.schemaVersion.equals(that.schemaVersion))
        return false;
    }

    boolean this_present_state = true && this.isSetState();
    boolean that_present_state = true && that.isSetState();
    if (this_present_state || that_present_state) {
      if (!(this_present_state && that_present_state))
        return false;
      if (!this.state.equals(that.state))
        return false;
    }

    return true;
  }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetSchemaVersionStateRequest.java