public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) {
    switch (field) {
    case DB_NAME:
      if (value == null) {
        unsetDbName();
      } else {
        setDbName((java.lang.String)value);
      }
      break;

    case TBL_NAME:
      if (value == null) {
        unsetTblName();
      } else {
        setTblName((java.lang.String)value);
      }
      break;

    case EXPR:
      if (value == null) {
        unsetExpr();
      } else {
        if (value instanceof byte[]) {
          setExpr((byte[])value);
        } else {
          setExpr((java.nio.ByteBuffer)value);
        }
      }
      break;

    case DEFAULT_PARTITION_NAME:
      if (value == null) {
        unsetDefaultPartitionName();
      } else {
        setDefaultPartitionName((java.lang.String)value);
      }
      break;

    case MAX_PARTS:
      if (value == null) {
        unsetMaxParts();
      } else {
        setMaxParts((java.lang.Short)value);
      }
      break;

    case CAT_NAME:
      if (value == null) {
        unsetCatName();
      } else {
        setCatName((java.lang.String)value);
      }
      break;

    case ORDER:
      if (value == null) {
        unsetOrder();
      } else {
        setOrder((java.lang.String)value);
      }
      break;

    case VALID_WRITE_ID_LIST:
      if (value == null) {
        unsetValidWriteIdList();
      } else {
        setValidWriteIdList((java.lang.String)value);
      }
      break;

    case ID:
      if (value == null) {
        unsetId();
      } else {
        setId((java.lang.Long)value);
      }
      break;

    case SKIP_COLUMN_SCHEMA_FOR_PARTITION:
      if (value == null) {
        unsetSkipColumnSchemaForPartition();
      } else {
        setSkipColumnSchemaForPartition((java.lang.Boolean)value);
      }
      break;

    case INCLUDE_PARAM_KEY_PATTERN:
      if (value == null) {
        unsetIncludeParamKeyPattern();
      } else {
        setIncludeParamKeyPattern((java.lang.String)value);
      }
      break;

    case EXCLUDE_PARAM_KEY_PATTERN:
      if (value == null) {
        unsetExcludeParamKeyPattern();
      } else {
        setExcludeParamKeyPattern((java.lang.String)value);
      }
      break;

    }
  }
Returns true if field excludeParamKeyPattern 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/PartitionsByExprRequest.java