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

    boolean this_present_sessionHandle = true && this.isSetSessionHandle();
    boolean that_present_sessionHandle = true && that.isSetSessionHandle();
    if (this_present_sessionHandle || that_present_sessionHandle) {
      if (!(this_present_sessionHandle && that_present_sessionHandle))
        return false;
      if (!this.sessionHandle.equals(that.sessionHandle))
        return false;
    }

    boolean this_present_parentCatalogName = true && this.isSetParentCatalogName();
    boolean that_present_parentCatalogName = true && that.isSetParentCatalogName();
    if (this_present_parentCatalogName || that_present_parentCatalogName) {
      if (!(this_present_parentCatalogName && that_present_parentCatalogName))
        return false;
      if (!this.parentCatalogName.equals(that.parentCatalogName))
        return false;
    }

    boolean this_present_parentSchemaName = true && this.isSetParentSchemaName();
    boolean that_present_parentSchemaName = true && that.isSetParentSchemaName();
    if (this_present_parentSchemaName || that_present_parentSchemaName) {
      if (!(this_present_parentSchemaName && that_present_parentSchemaName))
        return false;
      if (!this.parentSchemaName.equals(that.parentSchemaName))
        return false;
    }

    boolean this_present_parentTableName = true && this.isSetParentTableName();
    boolean that_present_parentTableName = true && that.isSetParentTableName();
    if (this_present_parentTableName || that_present_parentTableName) {
      if (!(this_present_parentTableName && that_present_parentTableName))
        return false;
      if (!this.parentTableName.equals(that.parentTableName))
        return false;
    }

    boolean this_present_foreignCatalogName = true && this.isSetForeignCatalogName();
    boolean that_present_foreignCatalogName = true && that.isSetForeignCatalogName();
    if (this_present_foreignCatalogName || that_present_foreignCatalogName) {
      if (!(this_present_foreignCatalogName && that_present_foreignCatalogName))
        return false;
      if (!this.foreignCatalogName.equals(that.foreignCatalogName))
        return false;
    }

    boolean this_present_foreignSchemaName = true && this.isSetForeignSchemaName();
    boolean that_present_foreignSchemaName = true && that.isSetForeignSchemaName();
    if (this_present_foreignSchemaName || that_present_foreignSchemaName) {
      if (!(this_present_foreignSchemaName && that_present_foreignSchemaName))
        return false;
      if (!this.foreignSchemaName.equals(that.foreignSchemaName))
        return false;
    }

    boolean this_present_foreignTableName = true && this.isSetForeignTableName();
    boolean that_present_foreignTableName = true && that.isSetForeignTableName();
    if (this_present_foreignTableName || that_present_foreignTableName) {
      if (!(this_present_foreignTableName && that_present_foreignTableName))
        return false;
      if (!this.foreignTableName.equals(that.foreignTableName))
        return false;
    }

    return true;
  }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
service-rpc/src/gen/thrift/gen-javabean/org/apache/hive/service/rpc/thrift/TGetCrossReferenceReq.java