public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) {
    switch (field) {
    case REQUEST_TYPE:
      if (value == null) {
        unsetRequestType();
      } else {
        setRequestType((GrantRevokeType)value);
      }
      break;

    case PRIVILEGES:
      if (value == null) {
        unsetPrivileges();
      } else {
        setPrivileges((PrivilegeBag)value);
      }
      break;

    case REVOKE_GRANT_OPTION:
      if (value == null) {
        unsetRevokeGrantOption();
      } else {
        setRevokeGrantOption((java.lang.Boolean)value);
      }
      break;

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