HBASE-18731 [compat 1-2] Mark protected methods of QuotaSettings that touch Protobuf internals as IA.Private
Signed-off-by: Michael Stack <stack@apache.org>
This commit is contained in:
parent
a6c3c645fd
commit
e39359986c
|
@ -56,6 +56,7 @@ public abstract class QuotaSettings {
|
||||||
* This is used internally by the Admin client to serialize the quota settings
|
* This is used internally by the Admin client to serialize the quota settings
|
||||||
* and send them to the master.
|
* and send them to the master.
|
||||||
*/
|
*/
|
||||||
|
@InterfaceAudience.Private
|
||||||
public static SetQuotaRequest buildSetQuotaRequestProto(final QuotaSettings settings) {
|
public static SetQuotaRequest buildSetQuotaRequestProto(final QuotaSettings settings) {
|
||||||
SetQuotaRequest.Builder builder = SetQuotaRequest.newBuilder();
|
SetQuotaRequest.Builder builder = SetQuotaRequest.newBuilder();
|
||||||
if (settings.getUserName() != null) {
|
if (settings.getUserName() != null) {
|
||||||
|
@ -76,6 +77,7 @@ public abstract class QuotaSettings {
|
||||||
* the subclass should implement this method to set the specific SetQuotaRequest
|
* the subclass should implement this method to set the specific SetQuotaRequest
|
||||||
* properties.
|
* properties.
|
||||||
*/
|
*/
|
||||||
|
@InterfaceAudience.Private
|
||||||
protected abstract void setupSetQuotaRequest(SetQuotaRequest.Builder builder);
|
protected abstract void setupSetQuotaRequest(SetQuotaRequest.Builder builder);
|
||||||
|
|
||||||
protected String ownerToString() {
|
protected String ownerToString() {
|
||||||
|
|
Loading…
Reference in New Issue