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

    boolean this_present_connector = true && this.isSetConnector();
    boolean that_present_connector = true && that.isSetConnector();
    if (this_present_connector || that_present_connector) {
      if (!(this_present_connector && that_present_connector))
        return false;
      if (!this.connector.equals(that.connector))
        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/CreateDataConnectorRequest.java