public boolean isSet(_Fields field) {
    if (field == null) {
      throw new java.lang.IllegalArgumentException();
    }

    switch (field) {
    case DB_NAME:
      return isSetDb_name();
    case TBL_NAME:
      return isSetTbl_name();
    case NAMES:
      return isSetNames();
    case GET_COL_STATS:
      return isSetGet_col_stats();
    case PROCESSOR_CAPABILITIES:
      return isSetProcessorCapabilities();
    case PROCESSOR_IDENTIFIER:
      return isSetProcessorIdentifier();
    case ENGINE:
      return isSetEngine();
    case VALID_WRITE_ID_LIST:
      return isSetValidWriteIdList();
    case GET_FILE_METADATA:
      return isSetGetFileMetadata();
    case ID:
      return isSetId();
    case SKIP_COLUMN_SCHEMA_FOR_PARTITION:
      return isSetSkipColumnSchemaForPartition();
    case INCLUDE_PARAM_KEY_PATTERN:
      return isSetIncludeParamKeyPattern();
    case EXCLUDE_PARAM_KEY_PATTERN:
      return isSetExcludeParamKeyPattern();
    }
    throw new java.lang.IllegalStateException();
  }
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/GetPartitionsByNamesRequest.java