public HiveObjectPrivilege build() throws MetaException {
    if (hiveObjectRef == null || principleName == null || principalType == null ||
        grantInfo == null) {
      throw new MetaException("hive object reference, principle name and type, and grant info " +
          "must all be provided");
    }
    return new HiveObjectPrivilege(hiveObjectRef, principleName, principalType, grantInfo, authorizer);
  }
Builder for {@link HiveObjectPrivilege}.  All values must be set.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/client/builder/HiveObjectPrivilegeBuilder.java