public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) {
    switch (field) {
    case SCALE:
      if (value == null) {
        unsetScale();
      } else {
        setScale((java.lang.Short)value);
      }
      break;

    case UNSCALED:
      if (value == null) {
        unsetUnscaled();
      } else {
        if (value instanceof byte[]) {
          setUnscaled((byte[])value);
        } else {
          setUnscaled((java.nio.ByteBuffer)value);
        }
      }
      break;

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