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

    switch (field) {
    case TABLE:
      return isSetTable();
    case ENV_CONTEXT:
      return isSetEnvContext();
    case PRIMARY_KEYS:
      return isSetPrimaryKeys();
    case FOREIGN_KEYS:
      return isSetForeignKeys();
    case UNIQUE_CONSTRAINTS:
      return isSetUniqueConstraints();
    case NOT_NULL_CONSTRAINTS:
      return isSetNotNullConstraints();
    case DEFAULT_CONSTRAINTS:
      return isSetDefaultConstraints();
    case CHECK_CONSTRAINTS:
      return isSetCheckConstraints();
    case PROCESSOR_CAPABILITIES:
      return isSetProcessorCapabilities();
    case PROCESSOR_IDENTIFIER:
      return isSetProcessorIdentifier();
    }
    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/CreateTableRequest.java