public Query setAuthorizations(Authorizations authorizations) {
    this.setAttribute(VisibilityConstants.VISIBILITY_LABELS_ATTR_KEY,
      ProtobufUtil.toAuthorizations(authorizations).toByteArray());
    return this;
  }
Sets the authorizations to be used by this Query
hbase-client/src/main/java/org/apache/hadoop/hbase/client/Query.java