All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.hudi.org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos Maven / Gradle / Ivy

There is a newer version: 1.0.0-beta1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: AccessControl.proto

package org.apache.hadoop.hbase.shaded.protobuf.generated;

@javax.annotation.Generated("proto") public final class AccessControlProtos {
  private AccessControlProtos() {}
  public static void registerAllExtensions(
      org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface PermissionOrBuilder extends
      // @@protoc_insertion_point(interface_extends:hbase.pb.Permission)
      org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder {

    /**
     * required .hbase.pb.Permission.Type type = 1;
     * @return Whether the type field is set.
     */
    boolean hasType();
    /**
     * required .hbase.pb.Permission.Type type = 1;
     * @return The type.
     */
    org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type getType();

    /**
     * optional .hbase.pb.GlobalPermission global_permission = 2;
     * @return Whether the globalPermission field is set.
     */
    boolean hasGlobalPermission();
    /**
     * optional .hbase.pb.GlobalPermission global_permission = 2;
     * @return The globalPermission.
     */
    org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission getGlobalPermission();
    /**
     * optional .hbase.pb.GlobalPermission global_permission = 2;
     */
    org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermissionOrBuilder getGlobalPermissionOrBuilder();

    /**
     * optional .hbase.pb.NamespacePermission namespace_permission = 3;
     * @return Whether the namespacePermission field is set.
     */
    boolean hasNamespacePermission();
    /**
     * optional .hbase.pb.NamespacePermission namespace_permission = 3;
     * @return The namespacePermission.
     */
    org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission getNamespacePermission();
    /**
     * optional .hbase.pb.NamespacePermission namespace_permission = 3;
     */
    org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermissionOrBuilder getNamespacePermissionOrBuilder();

    /**
     * optional .hbase.pb.TablePermission table_permission = 4;
     * @return Whether the tablePermission field is set.
     */
    boolean hasTablePermission();
    /**
     * optional .hbase.pb.TablePermission table_permission = 4;
     * @return The tablePermission.
     */
    org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission getTablePermission();
    /**
     * optional .hbase.pb.TablePermission table_permission = 4;
     */
    org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermissionOrBuilder getTablePermissionOrBuilder();
  }
  /**
   * Protobuf type {@code hbase.pb.Permission}
   */
  @javax.annotation.Generated("proto") public static final class Permission extends
      org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:hbase.pb.Permission)
      PermissionOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Permission.newBuilder() to construct.
    private Permission(org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private Permission() {
      type_ = 1;
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new Permission();
    }

    @java.lang.Override
    public final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Permission(
        org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {
              int rawValue = input.readEnum();
                @SuppressWarnings("deprecation")
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type value = org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type.valueOf(rawValue);
              if (value == null) {
                unknownFields.mergeVarintField(1, rawValue);
              } else {
                bitField0_ |= 0x00000001;
                type_ = rawValue;
              }
              break;
            }
            case 18: {
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission.Builder subBuilder = null;
              if (((bitField0_ & 0x00000002) != 0)) {
                subBuilder = globalPermission_.toBuilder();
              }
              globalPermission_ = input.readMessage(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(globalPermission_);
                globalPermission_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000002;
              break;
            }
            case 26: {
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission.Builder subBuilder = null;
              if (((bitField0_ & 0x00000004) != 0)) {
                subBuilder = namespacePermission_.toBuilder();
              }
              namespacePermission_ = input.readMessage(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(namespacePermission_);
                namespacePermission_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000004;
              break;
            }
            case 34: {
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission.Builder subBuilder = null;
              if (((bitField0_ & 0x00000008) != 0)) {
                subBuilder = tablePermission_.toBuilder();
              }
              tablePermission_ = input.readMessage(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(tablePermission_);
                tablePermission_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000008;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_Permission_descriptor;
    }

    @java.lang.Override
    protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_Permission_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder.class);
    }

    /**
     * Protobuf enum {@code hbase.pb.Permission.Action}
     */
    public enum Action
        implements org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnum {
      /**
       * READ = 0;
       */
      READ(0),
      /**
       * WRITE = 1;
       */
      WRITE(1),
      /**
       * EXEC = 2;
       */
      EXEC(2),
      /**
       * CREATE = 3;
       */
      CREATE(3),
      /**
       * ADMIN = 4;
       */
      ADMIN(4),
      ;

      /**
       * READ = 0;
       */
      public static final int READ_VALUE = 0;
      /**
       * WRITE = 1;
       */
      public static final int WRITE_VALUE = 1;
      /**
       * EXEC = 2;
       */
      public static final int EXEC_VALUE = 2;
      /**
       * CREATE = 3;
       */
      public static final int CREATE_VALUE = 3;
      /**
       * ADMIN = 4;
       */
      public static final int ADMIN_VALUE = 4;


      public final int getNumber() {
        return value;
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static Action valueOf(int value) {
        return forNumber(value);
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       */
      public static Action forNumber(int value) {
        switch (value) {
          case 0: return READ;
          case 1: return WRITE;
          case 2: return EXEC;
          case 3: return CREATE;
          case 4: return ADMIN;
          default: return null;
        }
      }

      public static org.apache.hbase.thirdparty.com.google.protobuf.Internal.EnumLiteMap
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final org.apache.hbase.thirdparty.com.google.protobuf.Internal.EnumLiteMap<
          Action> internalValueMap =
            new org.apache.hbase.thirdparty.com.google.protobuf.Internal.EnumLiteMap() {
              public Action findValueByNumber(int number) {
                return Action.forNumber(number);
              }
            };

      public final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        return getDescriptor().getValues().get(ordinal());
      }
      public final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.getDescriptor().getEnumTypes().get(0);
      }

      private static final Action[] VALUES = values();

      public static Action valueOf(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
        if (desc.getType() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "EnumValueDescriptor is not for this type.");
        }
        return VALUES[desc.getIndex()];
      }

      private final int value;

      private Action(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:hbase.pb.Permission.Action)
    }

    /**
     * Protobuf enum {@code hbase.pb.Permission.Type}
     */
    public enum Type
        implements org.apache.hbase.thirdparty.com.google.protobuf.ProtocolMessageEnum {
      /**
       * Global = 1;
       */
      Global(1),
      /**
       * Namespace = 2;
       */
      Namespace(2),
      /**
       * Table = 3;
       */
      Table(3),
      ;

      /**
       * Global = 1;
       */
      public static final int Global_VALUE = 1;
      /**
       * Namespace = 2;
       */
      public static final int Namespace_VALUE = 2;
      /**
       * Table = 3;
       */
      public static final int Table_VALUE = 3;


      public final int getNumber() {
        return value;
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static Type valueOf(int value) {
        return forNumber(value);
      }

      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       */
      public static Type forNumber(int value) {
        switch (value) {
          case 1: return Global;
          case 2: return Namespace;
          case 3: return Table;
          default: return null;
        }
      }

      public static org.apache.hbase.thirdparty.com.google.protobuf.Internal.EnumLiteMap
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final org.apache.hbase.thirdparty.com.google.protobuf.Internal.EnumLiteMap<
          Type> internalValueMap =
            new org.apache.hbase.thirdparty.com.google.protobuf.Internal.EnumLiteMap() {
              public Type findValueByNumber(int number) {
                return Type.forNumber(number);
              }
            };

      public final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor
          getValueDescriptor() {
        return getDescriptor().getValues().get(ordinal());
      }
      public final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptorForType() {
        return getDescriptor();
      }
      public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumDescriptor
          getDescriptor() {
        return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.getDescriptor().getEnumTypes().get(1);
      }

      private static final Type[] VALUES = values();

      public static Type valueOf(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
        if (desc.getType() != getDescriptor()) {
          throw new java.lang.IllegalArgumentException(
            "EnumValueDescriptor is not for this type.");
        }
        return VALUES[desc.getIndex()];
      }

      private final int value;

      private Type(int value) {
        this.value = value;
      }

      // @@protoc_insertion_point(enum_scope:hbase.pb.Permission.Type)
    }

    private int bitField0_;
    public static final int TYPE_FIELD_NUMBER = 1;
    private int type_;
    /**
     * required .hbase.pb.Permission.Type type = 1;
     * @return Whether the type field is set.
     */
    @java.lang.Override public boolean hasType() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * required .hbase.pb.Permission.Type type = 1;
     * @return The type.
     */
    @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type getType() {
      @SuppressWarnings("deprecation")
      org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type result = org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type.valueOf(type_);
      return result == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type.Global : result;
    }

    public static final int GLOBAL_PERMISSION_FIELD_NUMBER = 2;
    private org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission globalPermission_;
    /**
     * optional .hbase.pb.GlobalPermission global_permission = 2;
     * @return Whether the globalPermission field is set.
     */
    @java.lang.Override
    public boolean hasGlobalPermission() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * optional .hbase.pb.GlobalPermission global_permission = 2;
     * @return The globalPermission.
     */
    @java.lang.Override
    public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission getGlobalPermission() {
      return globalPermission_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission.getDefaultInstance() : globalPermission_;
    }
    /**
     * optional .hbase.pb.GlobalPermission global_permission = 2;
     */
    @java.lang.Override
    public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermissionOrBuilder getGlobalPermissionOrBuilder() {
      return globalPermission_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission.getDefaultInstance() : globalPermission_;
    }

    public static final int NAMESPACE_PERMISSION_FIELD_NUMBER = 3;
    private org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission namespacePermission_;
    /**
     * optional .hbase.pb.NamespacePermission namespace_permission = 3;
     * @return Whether the namespacePermission field is set.
     */
    @java.lang.Override
    public boolean hasNamespacePermission() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * optional .hbase.pb.NamespacePermission namespace_permission = 3;
     * @return The namespacePermission.
     */
    @java.lang.Override
    public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission getNamespacePermission() {
      return namespacePermission_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission.getDefaultInstance() : namespacePermission_;
    }
    /**
     * optional .hbase.pb.NamespacePermission namespace_permission = 3;
     */
    @java.lang.Override
    public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermissionOrBuilder getNamespacePermissionOrBuilder() {
      return namespacePermission_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission.getDefaultInstance() : namespacePermission_;
    }

    public static final int TABLE_PERMISSION_FIELD_NUMBER = 4;
    private org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission tablePermission_;
    /**
     * optional .hbase.pb.TablePermission table_permission = 4;
     * @return Whether the tablePermission field is set.
     */
    @java.lang.Override
    public boolean hasTablePermission() {
      return ((bitField0_ & 0x00000008) != 0);
    }
    /**
     * optional .hbase.pb.TablePermission table_permission = 4;
     * @return The tablePermission.
     */
    @java.lang.Override
    public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission getTablePermission() {
      return tablePermission_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission.getDefaultInstance() : tablePermission_;
    }
    /**
     * optional .hbase.pb.TablePermission table_permission = 4;
     */
    @java.lang.Override
    public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermissionOrBuilder getTablePermissionOrBuilder() {
      return tablePermission_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission.getDefaultInstance() : tablePermission_;
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      if (!hasType()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (hasTablePermission()) {
        if (!getTablePermission().isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeEnum(1, type_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeMessage(2, getGlobalPermission());
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeMessage(3, getNamespacePermission());
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        output.writeMessage(4, getTablePermission());
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream
          .computeEnumSize(1, type_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getGlobalPermission());
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getNamespacePermission());
      }
      if (((bitField0_ & 0x00000008) != 0)) {
        size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, getTablePermission());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission)) {
        return super.equals(obj);
      }
      org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission other = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission) obj;

      if (hasType() != other.hasType()) return false;
      if (hasType()) {
        if (type_ != other.type_) return false;
      }
      if (hasGlobalPermission() != other.hasGlobalPermission()) return false;
      if (hasGlobalPermission()) {
        if (!getGlobalPermission()
            .equals(other.getGlobalPermission())) return false;
      }
      if (hasNamespacePermission() != other.hasNamespacePermission()) return false;
      if (hasNamespacePermission()) {
        if (!getNamespacePermission()
            .equals(other.getNamespacePermission())) return false;
      }
      if (hasTablePermission() != other.hasTablePermission()) return false;
      if (hasTablePermission()) {
        if (!getTablePermission()
            .equals(other.getTablePermission())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasType()) {
        hash = (37 * hash) + TYPE_FIELD_NUMBER;
        hash = (53 * hash) + type_;
      }
      if (hasGlobalPermission()) {
        hash = (37 * hash) + GLOBAL_PERMISSION_FIELD_NUMBER;
        hash = (53 * hash) + getGlobalPermission().hashCode();
      }
      if (hasNamespacePermission()) {
        hash = (37 * hash) + NAMESPACE_PERMISSION_FIELD_NUMBER;
        hash = (53 * hash) + getNamespacePermission().hashCode();
      }
      if (hasTablePermission()) {
        hash = (37 * hash) + TABLE_PERMISSION_FIELD_NUMBER;
        hash = (53 * hash) + getTablePermission().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission parseFrom(
        java.nio.ByteBuffer data)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission parseFrom(
        java.nio.ByteBuffer data,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission parseFrom(
        org.apache.hbase.thirdparty.com.google.protobuf.ByteString data)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission parseFrom(
        org.apache.hbase.thirdparty.com.google.protobuf.ByteString data,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission parseFrom(byte[] data)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission parseFrom(
        byte[] data,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission parseFrom(
        java.io.InputStream input,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission parseDelimitedFrom(
        java.io.InputStream input,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission parseFrom(
        org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission parseFrom(
        org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code hbase.pb.Permission}
     */
    @javax.annotation.Generated("proto") public static final class Builder extends
        org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:hbase.pb.Permission)
        org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder {
      public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_Permission_descriptor;
      }

      @java.lang.Override
      protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_Permission_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder.class);
      }

      // Construct using org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getGlobalPermissionFieldBuilder();
          getNamespacePermissionFieldBuilder();
          getTablePermissionFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        type_ = 1;
        bitField0_ = (bitField0_ & ~0x00000001);
        if (globalPermissionBuilder_ == null) {
          globalPermission_ = null;
        } else {
          globalPermissionBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000002);
        if (namespacePermissionBuilder_ == null) {
          namespacePermission_ = null;
        } else {
          namespacePermissionBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000004);
        if (tablePermissionBuilder_ == null) {
          tablePermission_ = null;
        } else {
          tablePermissionBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000008);
        return this;
      }

      @java.lang.Override
      public org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_Permission_descriptor;
      }

      @java.lang.Override
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission getDefaultInstanceForType() {
        return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.getDefaultInstance();
      }

      @java.lang.Override
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission build() {
        org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission buildPartial() {
        org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission result = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          to_bitField0_ |= 0x00000001;
        }
        result.type_ = type_;
        if (((from_bitField0_ & 0x00000002) != 0)) {
          if (globalPermissionBuilder_ == null) {
            result.globalPermission_ = globalPermission_;
          } else {
            result.globalPermission_ = globalPermissionBuilder_.build();
          }
          to_bitField0_ |= 0x00000002;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          if (namespacePermissionBuilder_ == null) {
            result.namespacePermission_ = namespacePermission_;
          } else {
            result.namespacePermission_ = namespacePermissionBuilder_.build();
          }
          to_bitField0_ |= 0x00000004;
        }
        if (((from_bitField0_ & 0x00000008) != 0)) {
          if (tablePermissionBuilder_ == null) {
            result.tablePermission_ = tablePermission_;
          } else {
            result.tablePermission_ = tablePermissionBuilder_.build();
          }
          to_bitField0_ |= 0x00000008;
        }
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.Message other) {
        if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission) {
          return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission other) {
        if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.getDefaultInstance()) return this;
        if (other.hasType()) {
          setType(other.getType());
        }
        if (other.hasGlobalPermission()) {
          mergeGlobalPermission(other.getGlobalPermission());
        }
        if (other.hasNamespacePermission()) {
          mergeNamespacePermission(other.getNamespacePermission());
        }
        if (other.hasTablePermission()) {
          mergeTablePermission(other.getTablePermission());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        if (!hasType()) {
          return false;
        }
        if (hasTablePermission()) {
          if (!getTablePermission().isInitialized()) {
            return false;
          }
        }
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
          org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private int type_ = 1;
      /**
       * required .hbase.pb.Permission.Type type = 1;
       * @return Whether the type field is set.
       */
      @java.lang.Override public boolean hasType() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * required .hbase.pb.Permission.Type type = 1;
       * @return The type.
       */
      @java.lang.Override
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type getType() {
        @SuppressWarnings("deprecation")
        org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type result = org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type.valueOf(type_);
        return result == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type.Global : result;
      }
      /**
       * required .hbase.pb.Permission.Type type = 1;
       * @param value The type to set.
       * @return This builder for chaining.
       */
      public Builder setType(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type value) {
        if (value == null) {
          throw new NullPointerException();
        }
        bitField0_ |= 0x00000001;
        type_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * required .hbase.pb.Permission.Type type = 1;
       * @return This builder for chaining.
       */
      public Builder clearType() {
        bitField0_ = (bitField0_ & ~0x00000001);
        type_ = 1;
        onChanged();
        return this;
      }

      private org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission globalPermission_;
      private org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3<
          org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermissionOrBuilder> globalPermissionBuilder_;
      /**
       * optional .hbase.pb.GlobalPermission global_permission = 2;
       * @return Whether the globalPermission field is set.
       */
      public boolean hasGlobalPermission() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * optional .hbase.pb.GlobalPermission global_permission = 2;
       * @return The globalPermission.
       */
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission getGlobalPermission() {
        if (globalPermissionBuilder_ == null) {
          return globalPermission_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission.getDefaultInstance() : globalPermission_;
        } else {
          return globalPermissionBuilder_.getMessage();
        }
      }
      /**
       * optional .hbase.pb.GlobalPermission global_permission = 2;
       */
      public Builder setGlobalPermission(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission value) {
        if (globalPermissionBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          globalPermission_ = value;
          onChanged();
        } else {
          globalPermissionBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * optional .hbase.pb.GlobalPermission global_permission = 2;
       */
      public Builder setGlobalPermission(
          org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission.Builder builderForValue) {
        if (globalPermissionBuilder_ == null) {
          globalPermission_ = builderForValue.build();
          onChanged();
        } else {
          globalPermissionBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * optional .hbase.pb.GlobalPermission global_permission = 2;
       */
      public Builder mergeGlobalPermission(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission value) {
        if (globalPermissionBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0) &&
              globalPermission_ != null &&
              globalPermission_ != org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission.getDefaultInstance()) {
            globalPermission_ =
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission.newBuilder(globalPermission_).mergeFrom(value).buildPartial();
          } else {
            globalPermission_ = value;
          }
          onChanged();
        } else {
          globalPermissionBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * optional .hbase.pb.GlobalPermission global_permission = 2;
       */
      public Builder clearGlobalPermission() {
        if (globalPermissionBuilder_ == null) {
          globalPermission_ = null;
          onChanged();
        } else {
          globalPermissionBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }
      /**
       * optional .hbase.pb.GlobalPermission global_permission = 2;
       */
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission.Builder getGlobalPermissionBuilder() {
        bitField0_ |= 0x00000002;
        onChanged();
        return getGlobalPermissionFieldBuilder().getBuilder();
      }
      /**
       * optional .hbase.pb.GlobalPermission global_permission = 2;
       */
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermissionOrBuilder getGlobalPermissionOrBuilder() {
        if (globalPermissionBuilder_ != null) {
          return globalPermissionBuilder_.getMessageOrBuilder();
        } else {
          return globalPermission_ == null ?
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission.getDefaultInstance() : globalPermission_;
        }
      }
      /**
       * optional .hbase.pb.GlobalPermission global_permission = 2;
       */
      private org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3<
          org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermissionOrBuilder> 
          getGlobalPermissionFieldBuilder() {
        if (globalPermissionBuilder_ == null) {
          globalPermissionBuilder_ = new org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3<
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermissionOrBuilder>(
                  getGlobalPermission(),
                  getParentForChildren(),
                  isClean());
          globalPermission_ = null;
        }
        return globalPermissionBuilder_;
      }

      private org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission namespacePermission_;
      private org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3<
          org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermissionOrBuilder> namespacePermissionBuilder_;
      /**
       * optional .hbase.pb.NamespacePermission namespace_permission = 3;
       * @return Whether the namespacePermission field is set.
       */
      public boolean hasNamespacePermission() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * optional .hbase.pb.NamespacePermission namespace_permission = 3;
       * @return The namespacePermission.
       */
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission getNamespacePermission() {
        if (namespacePermissionBuilder_ == null) {
          return namespacePermission_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission.getDefaultInstance() : namespacePermission_;
        } else {
          return namespacePermissionBuilder_.getMessage();
        }
      }
      /**
       * optional .hbase.pb.NamespacePermission namespace_permission = 3;
       */
      public Builder setNamespacePermission(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission value) {
        if (namespacePermissionBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          namespacePermission_ = value;
          onChanged();
        } else {
          namespacePermissionBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000004;
        return this;
      }
      /**
       * optional .hbase.pb.NamespacePermission namespace_permission = 3;
       */
      public Builder setNamespacePermission(
          org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission.Builder builderForValue) {
        if (namespacePermissionBuilder_ == null) {
          namespacePermission_ = builderForValue.build();
          onChanged();
        } else {
          namespacePermissionBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000004;
        return this;
      }
      /**
       * optional .hbase.pb.NamespacePermission namespace_permission = 3;
       */
      public Builder mergeNamespacePermission(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission value) {
        if (namespacePermissionBuilder_ == null) {
          if (((bitField0_ & 0x00000004) != 0) &&
              namespacePermission_ != null &&
              namespacePermission_ != org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission.getDefaultInstance()) {
            namespacePermission_ =
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission.newBuilder(namespacePermission_).mergeFrom(value).buildPartial();
          } else {
            namespacePermission_ = value;
          }
          onChanged();
        } else {
          namespacePermissionBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000004;
        return this;
      }
      /**
       * optional .hbase.pb.NamespacePermission namespace_permission = 3;
       */
      public Builder clearNamespacePermission() {
        if (namespacePermissionBuilder_ == null) {
          namespacePermission_ = null;
          onChanged();
        } else {
          namespacePermissionBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }
      /**
       * optional .hbase.pb.NamespacePermission namespace_permission = 3;
       */
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission.Builder getNamespacePermissionBuilder() {
        bitField0_ |= 0x00000004;
        onChanged();
        return getNamespacePermissionFieldBuilder().getBuilder();
      }
      /**
       * optional .hbase.pb.NamespacePermission namespace_permission = 3;
       */
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermissionOrBuilder getNamespacePermissionOrBuilder() {
        if (namespacePermissionBuilder_ != null) {
          return namespacePermissionBuilder_.getMessageOrBuilder();
        } else {
          return namespacePermission_ == null ?
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission.getDefaultInstance() : namespacePermission_;
        }
      }
      /**
       * optional .hbase.pb.NamespacePermission namespace_permission = 3;
       */
      private org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3<
          org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermissionOrBuilder> 
          getNamespacePermissionFieldBuilder() {
        if (namespacePermissionBuilder_ == null) {
          namespacePermissionBuilder_ = new org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3<
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermissionOrBuilder>(
                  getNamespacePermission(),
                  getParentForChildren(),
                  isClean());
          namespacePermission_ = null;
        }
        return namespacePermissionBuilder_;
      }

      private org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission tablePermission_;
      private org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3<
          org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermissionOrBuilder> tablePermissionBuilder_;
      /**
       * optional .hbase.pb.TablePermission table_permission = 4;
       * @return Whether the tablePermission field is set.
       */
      public boolean hasTablePermission() {
        return ((bitField0_ & 0x00000008) != 0);
      }
      /**
       * optional .hbase.pb.TablePermission table_permission = 4;
       * @return The tablePermission.
       */
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission getTablePermission() {
        if (tablePermissionBuilder_ == null) {
          return tablePermission_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission.getDefaultInstance() : tablePermission_;
        } else {
          return tablePermissionBuilder_.getMessage();
        }
      }
      /**
       * optional .hbase.pb.TablePermission table_permission = 4;
       */
      public Builder setTablePermission(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission value) {
        if (tablePermissionBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          tablePermission_ = value;
          onChanged();
        } else {
          tablePermissionBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000008;
        return this;
      }
      /**
       * optional .hbase.pb.TablePermission table_permission = 4;
       */
      public Builder setTablePermission(
          org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission.Builder builderForValue) {
        if (tablePermissionBuilder_ == null) {
          tablePermission_ = builderForValue.build();
          onChanged();
        } else {
          tablePermissionBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000008;
        return this;
      }
      /**
       * optional .hbase.pb.TablePermission table_permission = 4;
       */
      public Builder mergeTablePermission(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission value) {
        if (tablePermissionBuilder_ == null) {
          if (((bitField0_ & 0x00000008) != 0) &&
              tablePermission_ != null &&
              tablePermission_ != org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission.getDefaultInstance()) {
            tablePermission_ =
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission.newBuilder(tablePermission_).mergeFrom(value).buildPartial();
          } else {
            tablePermission_ = value;
          }
          onChanged();
        } else {
          tablePermissionBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000008;
        return this;
      }
      /**
       * optional .hbase.pb.TablePermission table_permission = 4;
       */
      public Builder clearTablePermission() {
        if (tablePermissionBuilder_ == null) {
          tablePermission_ = null;
          onChanged();
        } else {
          tablePermissionBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000008);
        return this;
      }
      /**
       * optional .hbase.pb.TablePermission table_permission = 4;
       */
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission.Builder getTablePermissionBuilder() {
        bitField0_ |= 0x00000008;
        onChanged();
        return getTablePermissionFieldBuilder().getBuilder();
      }
      /**
       * optional .hbase.pb.TablePermission table_permission = 4;
       */
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermissionOrBuilder getTablePermissionOrBuilder() {
        if (tablePermissionBuilder_ != null) {
          return tablePermissionBuilder_.getMessageOrBuilder();
        } else {
          return tablePermission_ == null ?
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission.getDefaultInstance() : tablePermission_;
        }
      }
      /**
       * optional .hbase.pb.TablePermission table_permission = 4;
       */
      private org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3<
          org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermissionOrBuilder> 
          getTablePermissionFieldBuilder() {
        if (tablePermissionBuilder_ == null) {
          tablePermissionBuilder_ = new org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3<
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermissionOrBuilder>(
                  getTablePermission(),
                  getParentForChildren(),
                  isClean());
          tablePermission_ = null;
        }
        return tablePermissionBuilder_;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:hbase.pb.Permission)
    }

    // @@protoc_insertion_point(class_scope:hbase.pb.Permission)
    private static final org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission();
    }

    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final org.apache.hbase.thirdparty.com.google.protobuf.Parser
        PARSER = new org.apache.hbase.thirdparty.com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public Permission parsePartialFrom(
          org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
          org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
        return new Permission(input, extensionRegistry);
      }
    };

    public static org.apache.hbase.thirdparty.com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.hbase.thirdparty.com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface TablePermissionOrBuilder extends
      // @@protoc_insertion_point(interface_extends:hbase.pb.TablePermission)
      org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder {

    /**
     * optional .hbase.pb.TableName table_name = 1;
     * @return Whether the tableName field is set.
     */
    boolean hasTableName();
    /**
     * optional .hbase.pb.TableName table_name = 1;
     * @return The tableName.
     */
    org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName getTableName();
    /**
     * optional .hbase.pb.TableName table_name = 1;
     */
    org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableNameOrBuilder getTableNameOrBuilder();

    /**
     * optional bytes family = 2;
     * @return Whether the family field is set.
     */
    boolean hasFamily();
    /**
     * optional bytes family = 2;
     * @return The family.
     */
    org.apache.hbase.thirdparty.com.google.protobuf.ByteString getFamily();

    /**
     * optional bytes qualifier = 3;
     * @return Whether the qualifier field is set.
     */
    boolean hasQualifier();
    /**
     * optional bytes qualifier = 3;
     * @return The qualifier.
     */
    org.apache.hbase.thirdparty.com.google.protobuf.ByteString getQualifier();

    /**
     * repeated .hbase.pb.Permission.Action action = 4;
     * @return A list containing the action.
     */
    java.util.List getActionList();
    /**
     * repeated .hbase.pb.Permission.Action action = 4;
     * @return The count of action.
     */
    int getActionCount();
    /**
     * repeated .hbase.pb.Permission.Action action = 4;
     * @param index The index of the element to return.
     * @return The action at the given index.
     */
    org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action getAction(int index);
  }
  /**
   * Protobuf type {@code hbase.pb.TablePermission}
   */
  @javax.annotation.Generated("proto") public static final class TablePermission extends
      org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:hbase.pb.TablePermission)
      TablePermissionOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use TablePermission.newBuilder() to construct.
    private TablePermission(org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private TablePermission() {
      family_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY;
      qualifier_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY;
      action_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new TablePermission();
    }

    @java.lang.Override
    public final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private TablePermission(
        org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.Builder subBuilder = null;
              if (((bitField0_ & 0x00000001) != 0)) {
                subBuilder = tableName_.toBuilder();
              }
              tableName_ = input.readMessage(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(tableName_);
                tableName_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000001;
              break;
            }
            case 18: {
              bitField0_ |= 0x00000002;
              family_ = input.readBytes();
              break;
            }
            case 26: {
              bitField0_ |= 0x00000004;
              qualifier_ = input.readBytes();
              break;
            }
            case 32: {
              int rawValue = input.readEnum();
              @SuppressWarnings("deprecation")
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action value = org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action.valueOf(rawValue);
              if (value == null) {
                unknownFields.mergeVarintField(4, rawValue);
              } else {
                if (!((mutable_bitField0_ & 0x00000008) != 0)) {
                  action_ = new java.util.ArrayList();
                  mutable_bitField0_ |= 0x00000008;
                }
                action_.add(rawValue);
              }
              break;
            }
            case 34: {
              int length = input.readRawVarint32();
              int oldLimit = input.pushLimit(length);
              while(input.getBytesUntilLimit() > 0) {
                int rawValue = input.readEnum();
                @SuppressWarnings("deprecation")
                org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action value = org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action.valueOf(rawValue);
                if (value == null) {
                  unknownFields.mergeVarintField(4, rawValue);
                } else {
                  if (!((mutable_bitField0_ & 0x00000008) != 0)) {
                    action_ = new java.util.ArrayList();
                    mutable_bitField0_ |= 0x00000008;
                  }
                  action_.add(rawValue);
                }
              }
              input.popLimit(oldLimit);
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000008) != 0)) {
          action_ = java.util.Collections.unmodifiableList(action_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_TablePermission_descriptor;
    }

    @java.lang.Override
    protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_TablePermission_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission.Builder.class);
    }

    private int bitField0_;
    public static final int TABLE_NAME_FIELD_NUMBER = 1;
    private org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName tableName_;
    /**
     * optional .hbase.pb.TableName table_name = 1;
     * @return Whether the tableName field is set.
     */
    @java.lang.Override
    public boolean hasTableName() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * optional .hbase.pb.TableName table_name = 1;
     * @return The tableName.
     */
    @java.lang.Override
    public org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName getTableName() {
      return tableName_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.getDefaultInstance() : tableName_;
    }
    /**
     * optional .hbase.pb.TableName table_name = 1;
     */
    @java.lang.Override
    public org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableNameOrBuilder getTableNameOrBuilder() {
      return tableName_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.getDefaultInstance() : tableName_;
    }

    public static final int FAMILY_FIELD_NUMBER = 2;
    private org.apache.hbase.thirdparty.com.google.protobuf.ByteString family_;
    /**
     * optional bytes family = 2;
     * @return Whether the family field is set.
     */
    @java.lang.Override
    public boolean hasFamily() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * optional bytes family = 2;
     * @return The family.
     */
    @java.lang.Override
    public org.apache.hbase.thirdparty.com.google.protobuf.ByteString getFamily() {
      return family_;
    }

    public static final int QUALIFIER_FIELD_NUMBER = 3;
    private org.apache.hbase.thirdparty.com.google.protobuf.ByteString qualifier_;
    /**
     * optional bytes qualifier = 3;
     * @return Whether the qualifier field is set.
     */
    @java.lang.Override
    public boolean hasQualifier() {
      return ((bitField0_ & 0x00000004) != 0);
    }
    /**
     * optional bytes qualifier = 3;
     * @return The qualifier.
     */
    @java.lang.Override
    public org.apache.hbase.thirdparty.com.google.protobuf.ByteString getQualifier() {
      return qualifier_;
    }

    public static final int ACTION_FIELD_NUMBER = 4;
    private java.util.List action_;
    private static final org.apache.hbase.thirdparty.com.google.protobuf.Internal.ListAdapter.Converter<
        java.lang.Integer, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action> action_converter_ =
            new org.apache.hbase.thirdparty.com.google.protobuf.Internal.ListAdapter.Converter<
                java.lang.Integer, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action>() {
              public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action convert(java.lang.Integer from) {
                @SuppressWarnings("deprecation")
                org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action result = org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action.valueOf(from);
                return result == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action.READ : result;
              }
            };
    /**
     * repeated .hbase.pb.Permission.Action action = 4;
     * @return A list containing the action.
     */
    @java.lang.Override
    public java.util.List getActionList() {
      return new org.apache.hbase.thirdparty.com.google.protobuf.Internal.ListAdapter<
          java.lang.Integer, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action>(action_, action_converter_);
    }
    /**
     * repeated .hbase.pb.Permission.Action action = 4;
     * @return The count of action.
     */
    @java.lang.Override
    public int getActionCount() {
      return action_.size();
    }
    /**
     * repeated .hbase.pb.Permission.Action action = 4;
     * @param index The index of the element to return.
     * @return The action at the given index.
     */
    @java.lang.Override
    public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action getAction(int index) {
      return action_converter_.convert(action_.get(index));
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      if (hasTableName()) {
        if (!getTableName().isInitialized()) {
          memoizedIsInitialized = 0;
          return false;
        }
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(1, getTableName());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeBytes(2, family_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeBytes(3, qualifier_);
      }
      for (int i = 0; i < action_.size(); i++) {
        output.writeEnum(4, action_.get(i));
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getTableName());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream
          .computeBytesSize(2, family_);
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream
          .computeBytesSize(3, qualifier_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < action_.size(); i++) {
          dataSize += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream
            .computeEnumSizeNoTag(action_.get(i));
        }
        size += dataSize;
        size += 1 * action_.size();
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission)) {
        return super.equals(obj);
      }
      org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission other = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission) obj;

      if (hasTableName() != other.hasTableName()) return false;
      if (hasTableName()) {
        if (!getTableName()
            .equals(other.getTableName())) return false;
      }
      if (hasFamily() != other.hasFamily()) return false;
      if (hasFamily()) {
        if (!getFamily()
            .equals(other.getFamily())) return false;
      }
      if (hasQualifier() != other.hasQualifier()) return false;
      if (hasQualifier()) {
        if (!getQualifier()
            .equals(other.getQualifier())) return false;
      }
      if (!action_.equals(other.action_)) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasTableName()) {
        hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER;
        hash = (53 * hash) + getTableName().hashCode();
      }
      if (hasFamily()) {
        hash = (37 * hash) + FAMILY_FIELD_NUMBER;
        hash = (53 * hash) + getFamily().hashCode();
      }
      if (hasQualifier()) {
        hash = (37 * hash) + QUALIFIER_FIELD_NUMBER;
        hash = (53 * hash) + getQualifier().hashCode();
      }
      if (getActionCount() > 0) {
        hash = (37 * hash) + ACTION_FIELD_NUMBER;
        hash = (53 * hash) + action_.hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission parseFrom(
        java.nio.ByteBuffer data)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission parseFrom(
        java.nio.ByteBuffer data,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission parseFrom(
        org.apache.hbase.thirdparty.com.google.protobuf.ByteString data)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission parseFrom(
        org.apache.hbase.thirdparty.com.google.protobuf.ByteString data,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission parseFrom(byte[] data)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission parseFrom(
        byte[] data,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission parseFrom(
        java.io.InputStream input,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission parseDelimitedFrom(
        java.io.InputStream input,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission parseFrom(
        org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission parseFrom(
        org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code hbase.pb.TablePermission}
     */
    @javax.annotation.Generated("proto") public static final class Builder extends
        org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:hbase.pb.TablePermission)
        org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermissionOrBuilder {
      public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_TablePermission_descriptor;
      }

      @java.lang.Override
      protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_TablePermission_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission.Builder.class);
      }

      // Construct using org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getTableNameFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (tableNameBuilder_ == null) {
          tableName_ = null;
        } else {
          tableNameBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        family_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000002);
        qualifier_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000004);
        action_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000008);
        return this;
      }

      @java.lang.Override
      public org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_TablePermission_descriptor;
      }

      @java.lang.Override
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission getDefaultInstanceForType() {
        return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission.getDefaultInstance();
      }

      @java.lang.Override
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission build() {
        org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission buildPartial() {
        org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission result = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          if (tableNameBuilder_ == null) {
            result.tableName_ = tableName_;
          } else {
            result.tableName_ = tableNameBuilder_.build();
          }
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          to_bitField0_ |= 0x00000002;
        }
        result.family_ = family_;
        if (((from_bitField0_ & 0x00000004) != 0)) {
          to_bitField0_ |= 0x00000004;
        }
        result.qualifier_ = qualifier_;
        if (((bitField0_ & 0x00000008) != 0)) {
          action_ = java.util.Collections.unmodifiableList(action_);
          bitField0_ = (bitField0_ & ~0x00000008);
        }
        result.action_ = action_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.Message other) {
        if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission) {
          return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission other) {
        if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission.getDefaultInstance()) return this;
        if (other.hasTableName()) {
          mergeTableName(other.getTableName());
        }
        if (other.hasFamily()) {
          setFamily(other.getFamily());
        }
        if (other.hasQualifier()) {
          setQualifier(other.getQualifier());
        }
        if (!other.action_.isEmpty()) {
          if (action_.isEmpty()) {
            action_ = other.action_;
            bitField0_ = (bitField0_ & ~0x00000008);
          } else {
            ensureActionIsMutable();
            action_.addAll(other.action_);
          }
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        if (hasTableName()) {
          if (!getTableName().isInitialized()) {
            return false;
          }
        }
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
          org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName tableName_;
      private org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3<
          org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName, org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableNameOrBuilder> tableNameBuilder_;
      /**
       * optional .hbase.pb.TableName table_name = 1;
       * @return Whether the tableName field is set.
       */
      public boolean hasTableName() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * optional .hbase.pb.TableName table_name = 1;
       * @return The tableName.
       */
      public org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName getTableName() {
        if (tableNameBuilder_ == null) {
          return tableName_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.getDefaultInstance() : tableName_;
        } else {
          return tableNameBuilder_.getMessage();
        }
      }
      /**
       * optional .hbase.pb.TableName table_name = 1;
       */
      public Builder setTableName(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName value) {
        if (tableNameBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          tableName_ = value;
          onChanged();
        } else {
          tableNameBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * optional .hbase.pb.TableName table_name = 1;
       */
      public Builder setTableName(
          org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.Builder builderForValue) {
        if (tableNameBuilder_ == null) {
          tableName_ = builderForValue.build();
          onChanged();
        } else {
          tableNameBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * optional .hbase.pb.TableName table_name = 1;
       */
      public Builder mergeTableName(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName value) {
        if (tableNameBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0) &&
              tableName_ != null &&
              tableName_ != org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.getDefaultInstance()) {
            tableName_ =
              org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.newBuilder(tableName_).mergeFrom(value).buildPartial();
          } else {
            tableName_ = value;
          }
          onChanged();
        } else {
          tableNameBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000001;
        return this;
      }
      /**
       * optional .hbase.pb.TableName table_name = 1;
       */
      public Builder clearTableName() {
        if (tableNameBuilder_ == null) {
          tableName_ = null;
          onChanged();
        } else {
          tableNameBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }
      /**
       * optional .hbase.pb.TableName table_name = 1;
       */
      public org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.Builder getTableNameBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getTableNameFieldBuilder().getBuilder();
      }
      /**
       * optional .hbase.pb.TableName table_name = 1;
       */
      public org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableNameOrBuilder getTableNameOrBuilder() {
        if (tableNameBuilder_ != null) {
          return tableNameBuilder_.getMessageOrBuilder();
        } else {
          return tableName_ == null ?
              org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.getDefaultInstance() : tableName_;
        }
      }
      /**
       * optional .hbase.pb.TableName table_name = 1;
       */
      private org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3<
          org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName, org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableNameOrBuilder> 
          getTableNameFieldBuilder() {
        if (tableNameBuilder_ == null) {
          tableNameBuilder_ = new org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3<
              org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName, org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableNameOrBuilder>(
                  getTableName(),
                  getParentForChildren(),
                  isClean());
          tableName_ = null;
        }
        return tableNameBuilder_;
      }

      private org.apache.hbase.thirdparty.com.google.protobuf.ByteString family_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY;
      /**
       * optional bytes family = 2;
       * @return Whether the family field is set.
       */
      @java.lang.Override
      public boolean hasFamily() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * optional bytes family = 2;
       * @return The family.
       */
      @java.lang.Override
      public org.apache.hbase.thirdparty.com.google.protobuf.ByteString getFamily() {
        return family_;
      }
      /**
       * optional bytes family = 2;
       * @param value The family to set.
       * @return This builder for chaining.
       */
      public Builder setFamily(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000002;
        family_ = value;
        onChanged();
        return this;
      }
      /**
       * optional bytes family = 2;
       * @return This builder for chaining.
       */
      public Builder clearFamily() {
        bitField0_ = (bitField0_ & ~0x00000002);
        family_ = getDefaultInstance().getFamily();
        onChanged();
        return this;
      }

      private org.apache.hbase.thirdparty.com.google.protobuf.ByteString qualifier_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY;
      /**
       * optional bytes qualifier = 3;
       * @return Whether the qualifier field is set.
       */
      @java.lang.Override
      public boolean hasQualifier() {
        return ((bitField0_ & 0x00000004) != 0);
      }
      /**
       * optional bytes qualifier = 3;
       * @return The qualifier.
       */
      @java.lang.Override
      public org.apache.hbase.thirdparty.com.google.protobuf.ByteString getQualifier() {
        return qualifier_;
      }
      /**
       * optional bytes qualifier = 3;
       * @param value The qualifier to set.
       * @return This builder for chaining.
       */
      public Builder setQualifier(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000004;
        qualifier_ = value;
        onChanged();
        return this;
      }
      /**
       * optional bytes qualifier = 3;
       * @return This builder for chaining.
       */
      public Builder clearQualifier() {
        bitField0_ = (bitField0_ & ~0x00000004);
        qualifier_ = getDefaultInstance().getQualifier();
        onChanged();
        return this;
      }

      private java.util.List action_ =
        java.util.Collections.emptyList();
      private void ensureActionIsMutable() {
        if (!((bitField0_ & 0x00000008) != 0)) {
          action_ = new java.util.ArrayList(action_);
          bitField0_ |= 0x00000008;
        }
      }
      /**
       * repeated .hbase.pb.Permission.Action action = 4;
       * @return A list containing the action.
       */
      public java.util.List getActionList() {
        return new org.apache.hbase.thirdparty.com.google.protobuf.Internal.ListAdapter<
            java.lang.Integer, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action>(action_, action_converter_);
      }
      /**
       * repeated .hbase.pb.Permission.Action action = 4;
       * @return The count of action.
       */
      public int getActionCount() {
        return action_.size();
      }
      /**
       * repeated .hbase.pb.Permission.Action action = 4;
       * @param index The index of the element to return.
       * @return The action at the given index.
       */
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action getAction(int index) {
        return action_converter_.convert(action_.get(index));
      }
      /**
       * repeated .hbase.pb.Permission.Action action = 4;
       * @param index The index to set the value at.
       * @param value The action to set.
       * @return This builder for chaining.
       */
      public Builder setAction(
          int index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureActionIsMutable();
        action_.set(index, value.getNumber());
        onChanged();
        return this;
      }
      /**
       * repeated .hbase.pb.Permission.Action action = 4;
       * @param value The action to add.
       * @return This builder for chaining.
       */
      public Builder addAction(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureActionIsMutable();
        action_.add(value.getNumber());
        onChanged();
        return this;
      }
      /**
       * repeated .hbase.pb.Permission.Action action = 4;
       * @param values The action to add.
       * @return This builder for chaining.
       */
      public Builder addAllAction(
          java.lang.Iterable values) {
        ensureActionIsMutable();
        for (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action value : values) {
          action_.add(value.getNumber());
        }
        onChanged();
        return this;
      }
      /**
       * repeated .hbase.pb.Permission.Action action = 4;
       * @return This builder for chaining.
       */
      public Builder clearAction() {
        action_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000008);
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:hbase.pb.TablePermission)
    }

    // @@protoc_insertion_point(class_scope:hbase.pb.TablePermission)
    private static final org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission();
    }

    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final org.apache.hbase.thirdparty.com.google.protobuf.Parser
        PARSER = new org.apache.hbase.thirdparty.com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public TablePermission parsePartialFrom(
          org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
          org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
        return new TablePermission(input, extensionRegistry);
      }
    };

    public static org.apache.hbase.thirdparty.com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.hbase.thirdparty.com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.TablePermission getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface NamespacePermissionOrBuilder extends
      // @@protoc_insertion_point(interface_extends:hbase.pb.NamespacePermission)
      org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder {

    /**
     * optional bytes namespace_name = 1;
     * @return Whether the namespaceName field is set.
     */
    boolean hasNamespaceName();
    /**
     * optional bytes namespace_name = 1;
     * @return The namespaceName.
     */
    org.apache.hbase.thirdparty.com.google.protobuf.ByteString getNamespaceName();

    /**
     * repeated .hbase.pb.Permission.Action action = 2;
     * @return A list containing the action.
     */
    java.util.List getActionList();
    /**
     * repeated .hbase.pb.Permission.Action action = 2;
     * @return The count of action.
     */
    int getActionCount();
    /**
     * repeated .hbase.pb.Permission.Action action = 2;
     * @param index The index of the element to return.
     * @return The action at the given index.
     */
    org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action getAction(int index);
  }
  /**
   * Protobuf type {@code hbase.pb.NamespacePermission}
   */
  @javax.annotation.Generated("proto") public static final class NamespacePermission extends
      org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:hbase.pb.NamespacePermission)
      NamespacePermissionOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use NamespacePermission.newBuilder() to construct.
    private NamespacePermission(org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private NamespacePermission() {
      namespaceName_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY;
      action_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new NamespacePermission();
    }

    @java.lang.Override
    public final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private NamespacePermission(
        org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              bitField0_ |= 0x00000001;
              namespaceName_ = input.readBytes();
              break;
            }
            case 16: {
              int rawValue = input.readEnum();
              @SuppressWarnings("deprecation")
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action value = org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action.valueOf(rawValue);
              if (value == null) {
                unknownFields.mergeVarintField(2, rawValue);
              } else {
                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                  action_ = new java.util.ArrayList();
                  mutable_bitField0_ |= 0x00000002;
                }
                action_.add(rawValue);
              }
              break;
            }
            case 18: {
              int length = input.readRawVarint32();
              int oldLimit = input.pushLimit(length);
              while(input.getBytesUntilLimit() > 0) {
                int rawValue = input.readEnum();
                @SuppressWarnings("deprecation")
                org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action value = org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action.valueOf(rawValue);
                if (value == null) {
                  unknownFields.mergeVarintField(2, rawValue);
                } else {
                  if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                    action_ = new java.util.ArrayList();
                    mutable_bitField0_ |= 0x00000002;
                  }
                  action_.add(rawValue);
                }
              }
              input.popLimit(oldLimit);
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          action_ = java.util.Collections.unmodifiableList(action_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_NamespacePermission_descriptor;
    }

    @java.lang.Override
    protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_NamespacePermission_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission.Builder.class);
    }

    private int bitField0_;
    public static final int NAMESPACE_NAME_FIELD_NUMBER = 1;
    private org.apache.hbase.thirdparty.com.google.protobuf.ByteString namespaceName_;
    /**
     * optional bytes namespace_name = 1;
     * @return Whether the namespaceName field is set.
     */
    @java.lang.Override
    public boolean hasNamespaceName() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * optional bytes namespace_name = 1;
     * @return The namespaceName.
     */
    @java.lang.Override
    public org.apache.hbase.thirdparty.com.google.protobuf.ByteString getNamespaceName() {
      return namespaceName_;
    }

    public static final int ACTION_FIELD_NUMBER = 2;
    private java.util.List action_;
    private static final org.apache.hbase.thirdparty.com.google.protobuf.Internal.ListAdapter.Converter<
        java.lang.Integer, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action> action_converter_ =
            new org.apache.hbase.thirdparty.com.google.protobuf.Internal.ListAdapter.Converter<
                java.lang.Integer, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action>() {
              public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action convert(java.lang.Integer from) {
                @SuppressWarnings("deprecation")
                org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action result = org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action.valueOf(from);
                return result == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action.READ : result;
              }
            };
    /**
     * repeated .hbase.pb.Permission.Action action = 2;
     * @return A list containing the action.
     */
    @java.lang.Override
    public java.util.List getActionList() {
      return new org.apache.hbase.thirdparty.com.google.protobuf.Internal.ListAdapter<
          java.lang.Integer, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action>(action_, action_converter_);
    }
    /**
     * repeated .hbase.pb.Permission.Action action = 2;
     * @return The count of action.
     */
    @java.lang.Override
    public int getActionCount() {
      return action_.size();
    }
    /**
     * repeated .hbase.pb.Permission.Action action = 2;
     * @param index The index of the element to return.
     * @return The action at the given index.
     */
    @java.lang.Override
    public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action getAction(int index) {
      return action_converter_.convert(action_.get(index));
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeBytes(1, namespaceName_);
      }
      for (int i = 0; i < action_.size(); i++) {
        output.writeEnum(2, action_.get(i));
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream
          .computeBytesSize(1, namespaceName_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < action_.size(); i++) {
          dataSize += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream
            .computeEnumSizeNoTag(action_.get(i));
        }
        size += dataSize;
        size += 1 * action_.size();
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission)) {
        return super.equals(obj);
      }
      org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission other = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission) obj;

      if (hasNamespaceName() != other.hasNamespaceName()) return false;
      if (hasNamespaceName()) {
        if (!getNamespaceName()
            .equals(other.getNamespaceName())) return false;
      }
      if (!action_.equals(other.action_)) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasNamespaceName()) {
        hash = (37 * hash) + NAMESPACE_NAME_FIELD_NUMBER;
        hash = (53 * hash) + getNamespaceName().hashCode();
      }
      if (getActionCount() > 0) {
        hash = (37 * hash) + ACTION_FIELD_NUMBER;
        hash = (53 * hash) + action_.hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission parseFrom(
        java.nio.ByteBuffer data)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission parseFrom(
        java.nio.ByteBuffer data,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission parseFrom(
        org.apache.hbase.thirdparty.com.google.protobuf.ByteString data)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission parseFrom(
        org.apache.hbase.thirdparty.com.google.protobuf.ByteString data,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission parseFrom(byte[] data)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission parseFrom(
        byte[] data,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission parseFrom(
        java.io.InputStream input,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission parseDelimitedFrom(
        java.io.InputStream input,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission parseFrom(
        org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission parseFrom(
        org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code hbase.pb.NamespacePermission}
     */
    @javax.annotation.Generated("proto") public static final class Builder extends
        org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:hbase.pb.NamespacePermission)
        org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermissionOrBuilder {
      public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_NamespacePermission_descriptor;
      }

      @java.lang.Override
      protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_NamespacePermission_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission.Builder.class);
      }

      // Construct using org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        namespaceName_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        action_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

      @java.lang.Override
      public org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_NamespacePermission_descriptor;
      }

      @java.lang.Override
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission getDefaultInstanceForType() {
        return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission.getDefaultInstance();
      }

      @java.lang.Override
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission build() {
        org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission buildPartial() {
        org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission result = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          to_bitField0_ |= 0x00000001;
        }
        result.namespaceName_ = namespaceName_;
        if (((bitField0_ & 0x00000002) != 0)) {
          action_ = java.util.Collections.unmodifiableList(action_);
          bitField0_ = (bitField0_ & ~0x00000002);
        }
        result.action_ = action_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.Message other) {
        if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission) {
          return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission other) {
        if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission.getDefaultInstance()) return this;
        if (other.hasNamespaceName()) {
          setNamespaceName(other.getNamespaceName());
        }
        if (!other.action_.isEmpty()) {
          if (action_.isEmpty()) {
            action_ = other.action_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureActionIsMutable();
            action_.addAll(other.action_);
          }
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
          org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private org.apache.hbase.thirdparty.com.google.protobuf.ByteString namespaceName_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY;
      /**
       * optional bytes namespace_name = 1;
       * @return Whether the namespaceName field is set.
       */
      @java.lang.Override
      public boolean hasNamespaceName() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * optional bytes namespace_name = 1;
       * @return The namespaceName.
       */
      @java.lang.Override
      public org.apache.hbase.thirdparty.com.google.protobuf.ByteString getNamespaceName() {
        return namespaceName_;
      }
      /**
       * optional bytes namespace_name = 1;
       * @param value The namespaceName to set.
       * @return This builder for chaining.
       */
      public Builder setNamespaceName(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        namespaceName_ = value;
        onChanged();
        return this;
      }
      /**
       * optional bytes namespace_name = 1;
       * @return This builder for chaining.
       */
      public Builder clearNamespaceName() {
        bitField0_ = (bitField0_ & ~0x00000001);
        namespaceName_ = getDefaultInstance().getNamespaceName();
        onChanged();
        return this;
      }

      private java.util.List action_ =
        java.util.Collections.emptyList();
      private void ensureActionIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          action_ = new java.util.ArrayList(action_);
          bitField0_ |= 0x00000002;
        }
      }
      /**
       * repeated .hbase.pb.Permission.Action action = 2;
       * @return A list containing the action.
       */
      public java.util.List getActionList() {
        return new org.apache.hbase.thirdparty.com.google.protobuf.Internal.ListAdapter<
            java.lang.Integer, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action>(action_, action_converter_);
      }
      /**
       * repeated .hbase.pb.Permission.Action action = 2;
       * @return The count of action.
       */
      public int getActionCount() {
        return action_.size();
      }
      /**
       * repeated .hbase.pb.Permission.Action action = 2;
       * @param index The index of the element to return.
       * @return The action at the given index.
       */
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action getAction(int index) {
        return action_converter_.convert(action_.get(index));
      }
      /**
       * repeated .hbase.pb.Permission.Action action = 2;
       * @param index The index to set the value at.
       * @param value The action to set.
       * @return This builder for chaining.
       */
      public Builder setAction(
          int index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureActionIsMutable();
        action_.set(index, value.getNumber());
        onChanged();
        return this;
      }
      /**
       * repeated .hbase.pb.Permission.Action action = 2;
       * @param value The action to add.
       * @return This builder for chaining.
       */
      public Builder addAction(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureActionIsMutable();
        action_.add(value.getNumber());
        onChanged();
        return this;
      }
      /**
       * repeated .hbase.pb.Permission.Action action = 2;
       * @param values The action to add.
       * @return This builder for chaining.
       */
      public Builder addAllAction(
          java.lang.Iterable values) {
        ensureActionIsMutable();
        for (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action value : values) {
          action_.add(value.getNumber());
        }
        onChanged();
        return this;
      }
      /**
       * repeated .hbase.pb.Permission.Action action = 2;
       * @return This builder for chaining.
       */
      public Builder clearAction() {
        action_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:hbase.pb.NamespacePermission)
    }

    // @@protoc_insertion_point(class_scope:hbase.pb.NamespacePermission)
    private static final org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission();
    }

    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final org.apache.hbase.thirdparty.com.google.protobuf.Parser
        PARSER = new org.apache.hbase.thirdparty.com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public NamespacePermission parsePartialFrom(
          org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
          org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
        return new NamespacePermission(input, extensionRegistry);
      }
    };

    public static org.apache.hbase.thirdparty.com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.hbase.thirdparty.com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.NamespacePermission getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface GlobalPermissionOrBuilder extends
      // @@protoc_insertion_point(interface_extends:hbase.pb.GlobalPermission)
      org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder {

    /**
     * repeated .hbase.pb.Permission.Action action = 1;
     * @return A list containing the action.
     */
    java.util.List getActionList();
    /**
     * repeated .hbase.pb.Permission.Action action = 1;
     * @return The count of action.
     */
    int getActionCount();
    /**
     * repeated .hbase.pb.Permission.Action action = 1;
     * @param index The index of the element to return.
     * @return The action at the given index.
     */
    org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action getAction(int index);
  }
  /**
   * Protobuf type {@code hbase.pb.GlobalPermission}
   */
  @javax.annotation.Generated("proto") public static final class GlobalPermission extends
      org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:hbase.pb.GlobalPermission)
      GlobalPermissionOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use GlobalPermission.newBuilder() to construct.
    private GlobalPermission(org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private GlobalPermission() {
      action_ = java.util.Collections.emptyList();
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new GlobalPermission();
    }

    @java.lang.Override
    public final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private GlobalPermission(
        org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {
              int rawValue = input.readEnum();
              @SuppressWarnings("deprecation")
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action value = org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action.valueOf(rawValue);
              if (value == null) {
                unknownFields.mergeVarintField(1, rawValue);
              } else {
                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  action_ = new java.util.ArrayList();
                  mutable_bitField0_ |= 0x00000001;
                }
                action_.add(rawValue);
              }
              break;
            }
            case 10: {
              int length = input.readRawVarint32();
              int oldLimit = input.pushLimit(length);
              while(input.getBytesUntilLimit() > 0) {
                int rawValue = input.readEnum();
                @SuppressWarnings("deprecation")
                org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action value = org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action.valueOf(rawValue);
                if (value == null) {
                  unknownFields.mergeVarintField(1, rawValue);
                } else {
                  if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                    action_ = new java.util.ArrayList();
                    mutable_bitField0_ |= 0x00000001;
                  }
                  action_.add(rawValue);
                }
              }
              input.popLimit(oldLimit);
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          action_ = java.util.Collections.unmodifiableList(action_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GlobalPermission_descriptor;
    }

    @java.lang.Override
    protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GlobalPermission_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission.Builder.class);
    }

    public static final int ACTION_FIELD_NUMBER = 1;
    private java.util.List action_;
    private static final org.apache.hbase.thirdparty.com.google.protobuf.Internal.ListAdapter.Converter<
        java.lang.Integer, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action> action_converter_ =
            new org.apache.hbase.thirdparty.com.google.protobuf.Internal.ListAdapter.Converter<
                java.lang.Integer, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action>() {
              public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action convert(java.lang.Integer from) {
                @SuppressWarnings("deprecation")
                org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action result = org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action.valueOf(from);
                return result == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action.READ : result;
              }
            };
    /**
     * repeated .hbase.pb.Permission.Action action = 1;
     * @return A list containing the action.
     */
    @java.lang.Override
    public java.util.List getActionList() {
      return new org.apache.hbase.thirdparty.com.google.protobuf.Internal.ListAdapter<
          java.lang.Integer, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action>(action_, action_converter_);
    }
    /**
     * repeated .hbase.pb.Permission.Action action = 1;
     * @return The count of action.
     */
    @java.lang.Override
    public int getActionCount() {
      return action_.size();
    }
    /**
     * repeated .hbase.pb.Permission.Action action = 1;
     * @param index The index of the element to return.
     * @return The action at the given index.
     */
    @java.lang.Override
    public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action getAction(int index) {
      return action_converter_.convert(action_.get(index));
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      for (int i = 0; i < action_.size(); i++) {
        output.writeEnum(1, action_.get(i));
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < action_.size(); i++) {
          dataSize += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream
            .computeEnumSizeNoTag(action_.get(i));
        }
        size += dataSize;
        size += 1 * action_.size();
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission)) {
        return super.equals(obj);
      }
      org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission other = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission) obj;

      if (!action_.equals(other.action_)) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (getActionCount() > 0) {
        hash = (37 * hash) + ACTION_FIELD_NUMBER;
        hash = (53 * hash) + action_.hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission parseFrom(
        java.nio.ByteBuffer data)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission parseFrom(
        java.nio.ByteBuffer data,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission parseFrom(
        org.apache.hbase.thirdparty.com.google.protobuf.ByteString data)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission parseFrom(
        org.apache.hbase.thirdparty.com.google.protobuf.ByteString data,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission parseFrom(byte[] data)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission parseFrom(
        byte[] data,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission parseFrom(
        java.io.InputStream input,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission parseDelimitedFrom(
        java.io.InputStream input,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission parseFrom(
        org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission parseFrom(
        org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code hbase.pb.GlobalPermission}
     */
    @javax.annotation.Generated("proto") public static final class Builder extends
        org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:hbase.pb.GlobalPermission)
        org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermissionOrBuilder {
      public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GlobalPermission_descriptor;
      }

      @java.lang.Override
      protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GlobalPermission_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission.Builder.class);
      }

      // Construct using org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        action_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        return this;
      }

      @java.lang.Override
      public org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GlobalPermission_descriptor;
      }

      @java.lang.Override
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission getDefaultInstanceForType() {
        return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission.getDefaultInstance();
      }

      @java.lang.Override
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission build() {
        org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission buildPartial() {
        org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission result = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission(this);
        int from_bitField0_ = bitField0_;
        if (((bitField0_ & 0x00000001) != 0)) {
          action_ = java.util.Collections.unmodifiableList(action_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.action_ = action_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.Message other) {
        if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission) {
          return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission other) {
        if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission.getDefaultInstance()) return this;
        if (!other.action_.isEmpty()) {
          if (action_.isEmpty()) {
            action_ = other.action_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureActionIsMutable();
            action_.addAll(other.action_);
          }
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
          org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private java.util.List action_ =
        java.util.Collections.emptyList();
      private void ensureActionIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          action_ = new java.util.ArrayList(action_);
          bitField0_ |= 0x00000001;
        }
      }
      /**
       * repeated .hbase.pb.Permission.Action action = 1;
       * @return A list containing the action.
       */
      public java.util.List getActionList() {
        return new org.apache.hbase.thirdparty.com.google.protobuf.Internal.ListAdapter<
            java.lang.Integer, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action>(action_, action_converter_);
      }
      /**
       * repeated .hbase.pb.Permission.Action action = 1;
       * @return The count of action.
       */
      public int getActionCount() {
        return action_.size();
      }
      /**
       * repeated .hbase.pb.Permission.Action action = 1;
       * @param index The index of the element to return.
       * @return The action at the given index.
       */
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action getAction(int index) {
        return action_converter_.convert(action_.get(index));
      }
      /**
       * repeated .hbase.pb.Permission.Action action = 1;
       * @param index The index to set the value at.
       * @param value The action to set.
       * @return This builder for chaining.
       */
      public Builder setAction(
          int index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureActionIsMutable();
        action_.set(index, value.getNumber());
        onChanged();
        return this;
      }
      /**
       * repeated .hbase.pb.Permission.Action action = 1;
       * @param value The action to add.
       * @return This builder for chaining.
       */
      public Builder addAction(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureActionIsMutable();
        action_.add(value.getNumber());
        onChanged();
        return this;
      }
      /**
       * repeated .hbase.pb.Permission.Action action = 1;
       * @param values The action to add.
       * @return This builder for chaining.
       */
      public Builder addAllAction(
          java.lang.Iterable values) {
        ensureActionIsMutable();
        for (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Action value : values) {
          action_.add(value.getNumber());
        }
        onChanged();
        return this;
      }
      /**
       * repeated .hbase.pb.Permission.Action action = 1;
       * @return This builder for chaining.
       */
      public Builder clearAction() {
        action_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:hbase.pb.GlobalPermission)
    }

    // @@protoc_insertion_point(class_scope:hbase.pb.GlobalPermission)
    private static final org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission();
    }

    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final org.apache.hbase.thirdparty.com.google.protobuf.Parser
        PARSER = new org.apache.hbase.thirdparty.com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public GlobalPermission parsePartialFrom(
          org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
          org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
        return new GlobalPermission(input, extensionRegistry);
      }
    };

    public static org.apache.hbase.thirdparty.com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.hbase.thirdparty.com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GlobalPermission getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface UserPermissionOrBuilder extends
      // @@protoc_insertion_point(interface_extends:hbase.pb.UserPermission)
      org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder {

    /**
     * required bytes user = 1;
     * @return Whether the user field is set.
     */
    boolean hasUser();
    /**
     * required bytes user = 1;
     * @return The user.
     */
    org.apache.hbase.thirdparty.com.google.protobuf.ByteString getUser();

    /**
     * required .hbase.pb.Permission permission = 3;
     * @return Whether the permission field is set.
     */
    boolean hasPermission();
    /**
     * required .hbase.pb.Permission permission = 3;
     * @return The permission.
     */
    org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission getPermission();
    /**
     * required .hbase.pb.Permission permission = 3;
     */
    org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder getPermissionOrBuilder();
  }
  /**
   * Protobuf type {@code hbase.pb.UserPermission}
   */
  @javax.annotation.Generated("proto") public static final class UserPermission extends
      org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:hbase.pb.UserPermission)
      UserPermissionOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use UserPermission.newBuilder() to construct.
    private UserPermission(org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private UserPermission() {
      user_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY;
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new UserPermission();
    }

    @java.lang.Override
    public final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private UserPermission(
        org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              bitField0_ |= 0x00000001;
              user_ = input.readBytes();
              break;
            }
            case 26: {
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder subBuilder = null;
              if (((bitField0_ & 0x00000002) != 0)) {
                subBuilder = permission_.toBuilder();
              }
              permission_ = input.readMessage(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.PARSER, extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(permission_);
                permission_ = subBuilder.buildPartial();
              }
              bitField0_ |= 0x00000002;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_UserPermission_descriptor;
    }

    @java.lang.Override
    protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_UserPermission_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.Builder.class);
    }

    private int bitField0_;
    public static final int USER_FIELD_NUMBER = 1;
    private org.apache.hbase.thirdparty.com.google.protobuf.ByteString user_;
    /**
     * required bytes user = 1;
     * @return Whether the user field is set.
     */
    @java.lang.Override
    public boolean hasUser() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * required bytes user = 1;
     * @return The user.
     */
    @java.lang.Override
    public org.apache.hbase.thirdparty.com.google.protobuf.ByteString getUser() {
      return user_;
    }

    public static final int PERMISSION_FIELD_NUMBER = 3;
    private org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission permission_;
    /**
     * required .hbase.pb.Permission permission = 3;
     * @return Whether the permission field is set.
     */
    @java.lang.Override
    public boolean hasPermission() {
      return ((bitField0_ & 0x00000002) != 0);
    }
    /**
     * required .hbase.pb.Permission permission = 3;
     * @return The permission.
     */
    @java.lang.Override
    public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission getPermission() {
      return permission_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.getDefaultInstance() : permission_;
    }
    /**
     * required .hbase.pb.Permission permission = 3;
     */
    @java.lang.Override
    public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder getPermissionOrBuilder() {
      return permission_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.getDefaultInstance() : permission_;
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      if (!hasUser()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!hasPermission()) {
        memoizedIsInitialized = 0;
        return false;
      }
      if (!getPermission().isInitialized()) {
        memoizedIsInitialized = 0;
        return false;
      }
      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeBytes(1, user_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeMessage(3, getPermission());
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream
          .computeBytesSize(1, user_);
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getPermission());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission)) {
        return super.equals(obj);
      }
      org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission other = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission) obj;

      if (hasUser() != other.hasUser()) return false;
      if (hasUser()) {
        if (!getUser()
            .equals(other.getUser())) return false;
      }
      if (hasPermission() != other.hasPermission()) return false;
      if (hasPermission()) {
        if (!getPermission()
            .equals(other.getPermission())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasUser()) {
        hash = (37 * hash) + USER_FIELD_NUMBER;
        hash = (53 * hash) + getUser().hashCode();
      }
      if (hasPermission()) {
        hash = (37 * hash) + PERMISSION_FIELD_NUMBER;
        hash = (53 * hash) + getPermission().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission parseFrom(
        java.nio.ByteBuffer data)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission parseFrom(
        java.nio.ByteBuffer data,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission parseFrom(
        org.apache.hbase.thirdparty.com.google.protobuf.ByteString data)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission parseFrom(
        org.apache.hbase.thirdparty.com.google.protobuf.ByteString data,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission parseFrom(byte[] data)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission parseFrom(
        byte[] data,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission parseFrom(
        java.io.InputStream input,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission parseDelimitedFrom(
        java.io.InputStream input,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission parseFrom(
        org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission parseFrom(
        org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
        org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code hbase.pb.UserPermission}
     */
    @javax.annotation.Generated("proto") public static final class Builder extends
        org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:hbase.pb.UserPermission)
        org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder {
      public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_UserPermission_descriptor;
      }

      @java.lang.Override
      protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_UserPermission_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.Builder.class);
      }

      // Construct using org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getPermissionFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        user_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        if (permissionBuilder_ == null) {
          permission_ = null;
        } else {
          permissionBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }

      @java.lang.Override
      public org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_UserPermission_descriptor;
      }

      @java.lang.Override
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission getDefaultInstanceForType() {
        return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.getDefaultInstance();
      }

      @java.lang.Override
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission build() {
        org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission buildPartial() {
        org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission result = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          to_bitField0_ |= 0x00000001;
        }
        result.user_ = user_;
        if (((from_bitField0_ & 0x00000002) != 0)) {
          if (permissionBuilder_ == null) {
            result.permission_ = permission_;
          } else {
            result.permission_ = permissionBuilder_.build();
          }
          to_bitField0_ |= 0x00000002;
        }
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.Message other) {
        if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission) {
          return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission other) {
        if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.getDefaultInstance()) return this;
        if (other.hasUser()) {
          setUser(other.getUser());
        }
        if (other.hasPermission()) {
          mergePermission(other.getPermission());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        if (!hasUser()) {
          return false;
        }
        if (!hasPermission()) {
          return false;
        }
        if (!getPermission().isInitialized()) {
          return false;
        }
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
          org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      private org.apache.hbase.thirdparty.com.google.protobuf.ByteString user_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY;
      /**
       * required bytes user = 1;
       * @return Whether the user field is set.
       */
      @java.lang.Override
      public boolean hasUser() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * required bytes user = 1;
       * @return The user.
       */
      @java.lang.Override
      public org.apache.hbase.thirdparty.com.google.protobuf.ByteString getUser() {
        return user_;
      }
      /**
       * required bytes user = 1;
       * @param value The user to set.
       * @return This builder for chaining.
       */
      public Builder setUser(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  bitField0_ |= 0x00000001;
        user_ = value;
        onChanged();
        return this;
      }
      /**
       * required bytes user = 1;
       * @return This builder for chaining.
       */
      public Builder clearUser() {
        bitField0_ = (bitField0_ & ~0x00000001);
        user_ = getDefaultInstance().getUser();
        onChanged();
        return this;
      }

      private org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission permission_;
      private org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3<
          org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder> permissionBuilder_;
      /**
       * required .hbase.pb.Permission permission = 3;
       * @return Whether the permission field is set.
       */
      public boolean hasPermission() {
        return ((bitField0_ & 0x00000002) != 0);
      }
      /**
       * required .hbase.pb.Permission permission = 3;
       * @return The permission.
       */
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission getPermission() {
        if (permissionBuilder_ == null) {
          return permission_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.getDefaultInstance() : permission_;
        } else {
          return permissionBuilder_.getMessage();
        }
      }
      /**
       * required .hbase.pb.Permission permission = 3;
       */
      public Builder setPermission(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission value) {
        if (permissionBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          permission_ = value;
          onChanged();
        } else {
          permissionBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * required .hbase.pb.Permission permission = 3;
       */
      public Builder setPermission(
          org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder builderForValue) {
        if (permissionBuilder_ == null) {
          permission_ = builderForValue.build();
          onChanged();
        } else {
          permissionBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * required .hbase.pb.Permission permission = 3;
       */
      public Builder mergePermission(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission value) {
        if (permissionBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0) &&
              permission_ != null &&
              permission_ != org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.getDefaultInstance()) {
            permission_ =
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.newBuilder(permission_).mergeFrom(value).buildPartial();
          } else {
            permission_ = value;
          }
          onChanged();
        } else {
          permissionBuilder_.mergeFrom(value);
        }
        bitField0_ |= 0x00000002;
        return this;
      }
      /**
       * required .hbase.pb.Permission permission = 3;
       */
      public Builder clearPermission() {
        if (permissionBuilder_ == null) {
          permission_ = null;
          onChanged();
        } else {
          permissionBuilder_.clear();
        }
        bitField0_ = (bitField0_ & ~0x00000002);
        return this;
      }
      /**
       * required .hbase.pb.Permission permission = 3;
       */
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder getPermissionBuilder() {
        bitField0_ |= 0x00000002;
        onChanged();
        return getPermissionFieldBuilder().getBuilder();
      }
      /**
       * required .hbase.pb.Permission permission = 3;
       */
      public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder getPermissionOrBuilder() {
        if (permissionBuilder_ != null) {
          return permissionBuilder_.getMessageOrBuilder();
        } else {
          return permission_ == null ?
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.getDefaultInstance() : permission_;
        }
      }
      /**
       * required .hbase.pb.Permission permission = 3;
       */
      private org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3<
          org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder> 
          getPermissionFieldBuilder() {
        if (permissionBuilder_ == null) {
          permissionBuilder_ = new org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3<
              org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder>(
                  getPermission(),
                  getParentForChildren(),
                  isClean());
          permission_ = null;
        }
        return permissionBuilder_;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:hbase.pb.UserPermission)
    }

    // @@protoc_insertion_point(class_scope:hbase.pb.UserPermission)
    private static final org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission();
    }

    public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final org.apache.hbase.thirdparty.com.google.protobuf.Parser
        PARSER = new org.apache.hbase.thirdparty.com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public UserPermission parsePartialFrom(
          org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input,
          org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException {
        return new UserPermission(input, extensionRegistry);
      }
    };

    public static org.apache.hbase.thirdparty.com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.hbase.thirdparty.com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface UsersAndPermissionsOrBuilder extends
      // @@protoc_insertion_point(interface_extends:hbase.pb.UsersAndPermissions)
      org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder {

    /**
     * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1;
     */
    java.util.List 
        getUserPermissionsList();
    /**
     * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1;
     */
    org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions getUserPermissions(int index);
    /**
     * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1;
     */
    int getUserPermissionsCount();
    /**
     * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1;
     */
    java.util.List 
        getUserPermissionsOrBuilderList();
    /**
     * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1;
     */
    org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissionsOrBuilder getUserPermissionsOrBuilder(
        int index);
  }
  /**
   * 
   **
   * Content of the /hbase/acl/<table or namespace> znode.
   * 
* * Protobuf type {@code hbase.pb.UsersAndPermissions} */ @javax.annotation.Generated("proto") public static final class UsersAndPermissions extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:hbase.pb.UsersAndPermissions) UsersAndPermissionsOrBuilder { private static final long serialVersionUID = 0L; // Use UsersAndPermissions.newBuilder() to construct. private UsersAndPermissions(org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UsersAndPermissions() { userPermissions_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UsersAndPermissions(); } @java.lang.Override public final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UsersAndPermissions( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { userPermissions_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } userPermissions_.add( input.readMessage(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions.PARSER, extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { userPermissions_ = java.util.Collections.unmodifiableList(userPermissions_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_UsersAndPermissions_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_UsersAndPermissions_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.Builder.class); } public interface UserPermissionsOrBuilder extends // @@protoc_insertion_point(interface_extends:hbase.pb.UsersAndPermissions.UserPermissions) org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder { /** * required bytes user = 1; * @return Whether the user field is set. */ boolean hasUser(); /** * required bytes user = 1; * @return The user. */ org.apache.hbase.thirdparty.com.google.protobuf.ByteString getUser(); /** * repeated .hbase.pb.Permission permissions = 2; */ java.util.List getPermissionsList(); /** * repeated .hbase.pb.Permission permissions = 2; */ org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission getPermissions(int index); /** * repeated .hbase.pb.Permission permissions = 2; */ int getPermissionsCount(); /** * repeated .hbase.pb.Permission permissions = 2; */ java.util.List getPermissionsOrBuilderList(); /** * repeated .hbase.pb.Permission permissions = 2; */ org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder getPermissionsOrBuilder( int index); } /** * Protobuf type {@code hbase.pb.UsersAndPermissions.UserPermissions} */ @javax.annotation.Generated("proto") public static final class UserPermissions extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:hbase.pb.UsersAndPermissions.UserPermissions) UserPermissionsOrBuilder { private static final long serialVersionUID = 0L; // Use UserPermissions.newBuilder() to construct. private UserPermissions(org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UserPermissions() { user_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY; permissions_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UserPermissions(); } @java.lang.Override public final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UserPermissions( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { bitField0_ |= 0x00000001; user_ = input.readBytes(); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { permissions_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } permissions_.add( input.readMessage(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.PARSER, extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) != 0)) { permissions_ = java.util.Collections.unmodifiableList(permissions_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_UsersAndPermissions_UserPermissions_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_UsersAndPermissions_UserPermissions_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions.Builder.class); } private int bitField0_; public static final int USER_FIELD_NUMBER = 1; private org.apache.hbase.thirdparty.com.google.protobuf.ByteString user_; /** * required bytes user = 1; * @return Whether the user field is set. */ @java.lang.Override public boolean hasUser() { return ((bitField0_ & 0x00000001) != 0); } /** * required bytes user = 1; * @return The user. */ @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.ByteString getUser() { return user_; } public static final int PERMISSIONS_FIELD_NUMBER = 2; private java.util.List permissions_; /** * repeated .hbase.pb.Permission permissions = 2; */ @java.lang.Override public java.util.List getPermissionsList() { return permissions_; } /** * repeated .hbase.pb.Permission permissions = 2; */ @java.lang.Override public java.util.List getPermissionsOrBuilderList() { return permissions_; } /** * repeated .hbase.pb.Permission permissions = 2; */ @java.lang.Override public int getPermissionsCount() { return permissions_.size(); } /** * repeated .hbase.pb.Permission permissions = 2; */ @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission getPermissions(int index) { return permissions_.get(index); } /** * repeated .hbase.pb.Permission permissions = 2; */ @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder getPermissionsOrBuilder( int index) { return permissions_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasUser()) { memoizedIsInitialized = 0; return false; } for (int i = 0; i < getPermissionsCount(); i++) { if (!getPermissions(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, user_); } for (int i = 0; i < permissions_.size(); i++) { output.writeMessage(2, permissions_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream .computeBytesSize(1, user_); } for (int i = 0; i < permissions_.size(); i++) { size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream .computeMessageSize(2, permissions_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions)) { return super.equals(obj); } org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions other = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions) obj; if (hasUser() != other.hasUser()) return false; if (hasUser()) { if (!getUser() .equals(other.getUser())) return false; } if (!getPermissionsList() .equals(other.getPermissionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasUser()) { hash = (37 * hash) + USER_FIELD_NUMBER; hash = (53 * hash) + getUser().hashCode(); } if (getPermissionsCount() > 0) { hash = (37 * hash) + PERMISSIONS_FIELD_NUMBER; hash = (53 * hash) + getPermissionsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions parseFrom( java.nio.ByteBuffer data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions parseFrom( java.nio.ByteBuffer data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions parseFrom(byte[] data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions parseFrom( byte[] data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions parseFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions parseFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions parseDelimitedFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.UsersAndPermissions.UserPermissions} */ @javax.annotation.Generated("proto") public static final class Builder extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:hbase.pb.UsersAndPermissions.UserPermissions) org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissionsOrBuilder { public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_UsersAndPermissions_UserPermissions_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_UsersAndPermissions_UserPermissions_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions.Builder.class); } // Construct using org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPermissionsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); user_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); if (permissionsBuilder_ == null) { permissions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { permissionsBuilder_.clear(); } return this; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_UsersAndPermissions_UserPermissions_descriptor; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions getDefaultInstanceForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions.getDefaultInstance(); } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions build() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions buildPartial() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions result = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.user_ = user_; if (permissionsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { permissions_ = java.util.Collections.unmodifiableList(permissions_); bitField0_ = (bitField0_ & ~0x00000002); } result.permissions_ = permissions_; } else { result.permissions_ = permissionsBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions) { return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions.getDefaultInstance()) return this; if (other.hasUser()) { setUser(other.getUser()); } if (permissionsBuilder_ == null) { if (!other.permissions_.isEmpty()) { if (permissions_.isEmpty()) { permissions_ = other.permissions_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensurePermissionsIsMutable(); permissions_.addAll(other.permissions_); } onChanged(); } } else { if (!other.permissions_.isEmpty()) { if (permissionsBuilder_.isEmpty()) { permissionsBuilder_.dispose(); permissionsBuilder_ = null; permissions_ = other.permissions_; bitField0_ = (bitField0_ & ~0x00000002); permissionsBuilder_ = org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPermissionsFieldBuilder() : null; } else { permissionsBuilder_.addAllMessages(other.permissions_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasUser()) { return false; } for (int i = 0; i < getPermissionsCount(); i++) { if (!getPermissions(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.apache.hbase.thirdparty.com.google.protobuf.ByteString user_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY; /** * required bytes user = 1; * @return Whether the user field is set. */ @java.lang.Override public boolean hasUser() { return ((bitField0_ & 0x00000001) != 0); } /** * required bytes user = 1; * @return The user. */ @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.ByteString getUser() { return user_; } /** * required bytes user = 1; * @param value The user to set. * @return This builder for chaining. */ public Builder setUser(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; user_ = value; onChanged(); return this; } /** * required bytes user = 1; * @return This builder for chaining. */ public Builder clearUser() { bitField0_ = (bitField0_ & ~0x00000001); user_ = getDefaultInstance().getUser(); onChanged(); return this; } private java.util.List permissions_ = java.util.Collections.emptyList(); private void ensurePermissionsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { permissions_ = new java.util.ArrayList(permissions_); bitField0_ |= 0x00000002; } } private org.apache.hbase.thirdparty.com.google.protobuf.RepeatedFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder> permissionsBuilder_; /** * repeated .hbase.pb.Permission permissions = 2; */ public java.util.List getPermissionsList() { if (permissionsBuilder_ == null) { return java.util.Collections.unmodifiableList(permissions_); } else { return permissionsBuilder_.getMessageList(); } } /** * repeated .hbase.pb.Permission permissions = 2; */ public int getPermissionsCount() { if (permissionsBuilder_ == null) { return permissions_.size(); } else { return permissionsBuilder_.getCount(); } } /** * repeated .hbase.pb.Permission permissions = 2; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission getPermissions(int index) { if (permissionsBuilder_ == null) { return permissions_.get(index); } else { return permissionsBuilder_.getMessage(index); } } /** * repeated .hbase.pb.Permission permissions = 2; */ public Builder setPermissions( int index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission value) { if (permissionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePermissionsIsMutable(); permissions_.set(index, value); onChanged(); } else { permissionsBuilder_.setMessage(index, value); } return this; } /** * repeated .hbase.pb.Permission permissions = 2; */ public Builder setPermissions( int index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder builderForValue) { if (permissionsBuilder_ == null) { ensurePermissionsIsMutable(); permissions_.set(index, builderForValue.build()); onChanged(); } else { permissionsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.Permission permissions = 2; */ public Builder addPermissions(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission value) { if (permissionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePermissionsIsMutable(); permissions_.add(value); onChanged(); } else { permissionsBuilder_.addMessage(value); } return this; } /** * repeated .hbase.pb.Permission permissions = 2; */ public Builder addPermissions( int index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission value) { if (permissionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePermissionsIsMutable(); permissions_.add(index, value); onChanged(); } else { permissionsBuilder_.addMessage(index, value); } return this; } /** * repeated .hbase.pb.Permission permissions = 2; */ public Builder addPermissions( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder builderForValue) { if (permissionsBuilder_ == null) { ensurePermissionsIsMutable(); permissions_.add(builderForValue.build()); onChanged(); } else { permissionsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .hbase.pb.Permission permissions = 2; */ public Builder addPermissions( int index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder builderForValue) { if (permissionsBuilder_ == null) { ensurePermissionsIsMutable(); permissions_.add(index, builderForValue.build()); onChanged(); } else { permissionsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.Permission permissions = 2; */ public Builder addAllPermissions( java.lang.Iterable values) { if (permissionsBuilder_ == null) { ensurePermissionsIsMutable(); org.apache.hbase.thirdparty.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, permissions_); onChanged(); } else { permissionsBuilder_.addAllMessages(values); } return this; } /** * repeated .hbase.pb.Permission permissions = 2; */ public Builder clearPermissions() { if (permissionsBuilder_ == null) { permissions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { permissionsBuilder_.clear(); } return this; } /** * repeated .hbase.pb.Permission permissions = 2; */ public Builder removePermissions(int index) { if (permissionsBuilder_ == null) { ensurePermissionsIsMutable(); permissions_.remove(index); onChanged(); } else { permissionsBuilder_.remove(index); } return this; } /** * repeated .hbase.pb.Permission permissions = 2; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder getPermissionsBuilder( int index) { return getPermissionsFieldBuilder().getBuilder(index); } /** * repeated .hbase.pb.Permission permissions = 2; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder getPermissionsOrBuilder( int index) { if (permissionsBuilder_ == null) { return permissions_.get(index); } else { return permissionsBuilder_.getMessageOrBuilder(index); } } /** * repeated .hbase.pb.Permission permissions = 2; */ public java.util.List getPermissionsOrBuilderList() { if (permissionsBuilder_ != null) { return permissionsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(permissions_); } } /** * repeated .hbase.pb.Permission permissions = 2; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder addPermissionsBuilder() { return getPermissionsFieldBuilder().addBuilder( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.getDefaultInstance()); } /** * repeated .hbase.pb.Permission permissions = 2; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder addPermissionsBuilder( int index) { return getPermissionsFieldBuilder().addBuilder( index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.getDefaultInstance()); } /** * repeated .hbase.pb.Permission permissions = 2; */ public java.util.List getPermissionsBuilderList() { return getPermissionsFieldBuilder().getBuilderList(); } private org.apache.hbase.thirdparty.com.google.protobuf.RepeatedFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder> getPermissionsFieldBuilder() { if (permissionsBuilder_ == null) { permissionsBuilder_ = new org.apache.hbase.thirdparty.com.google.protobuf.RepeatedFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder>( permissions_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); permissions_ = null; } return permissionsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:hbase.pb.UsersAndPermissions.UserPermissions) } // @@protoc_insertion_point(class_scope:hbase.pb.UsersAndPermissions.UserPermissions) private static final org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions(); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final org.apache.hbase.thirdparty.com.google.protobuf.Parser PARSER = new org.apache.hbase.thirdparty.com.google.protobuf.AbstractParser() { @java.lang.Override public UserPermissions parsePartialFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return new UserPermissions(input, extensionRegistry); } }; public static org.apache.hbase.thirdparty.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int USER_PERMISSIONS_FIELD_NUMBER = 1; private java.util.List userPermissions_; /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ @java.lang.Override public java.util.List getUserPermissionsList() { return userPermissions_; } /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ @java.lang.Override public java.util.List getUserPermissionsOrBuilderList() { return userPermissions_; } /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ @java.lang.Override public int getUserPermissionsCount() { return userPermissions_.size(); } /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions getUserPermissions(int index) { return userPermissions_.get(index); } /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissionsOrBuilder getUserPermissionsOrBuilder( int index) { return userPermissions_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getUserPermissionsCount(); i++) { if (!getUserPermissions(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < userPermissions_.size(); i++) { output.writeMessage(1, userPermissions_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < userPermissions_.size(); i++) { size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream .computeMessageSize(1, userPermissions_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions)) { return super.equals(obj); } org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions other = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions) obj; if (!getUserPermissionsList() .equals(other.getUserPermissionsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getUserPermissionsCount() > 0) { hash = (37 * hash) + USER_PERMISSIONS_FIELD_NUMBER; hash = (53 * hash) + getUserPermissionsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions parseFrom( java.nio.ByteBuffer data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions parseFrom( java.nio.ByteBuffer data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions parseFrom(byte[] data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions parseFrom( byte[] data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions parseFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions parseFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions parseDelimitedFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     **
     * Content of the /hbase/acl/<table or namespace> znode.
     * 
* * Protobuf type {@code hbase.pb.UsersAndPermissions} */ @javax.annotation.Generated("proto") public static final class Builder extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:hbase.pb.UsersAndPermissions) org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissionsOrBuilder { public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_UsersAndPermissions_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_UsersAndPermissions_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.Builder.class); } // Construct using org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getUserPermissionsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (userPermissionsBuilder_ == null) { userPermissions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { userPermissionsBuilder_.clear(); } return this; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_UsersAndPermissions_descriptor; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions getDefaultInstanceForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.getDefaultInstance(); } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions build() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions buildPartial() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions result = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions(this); int from_bitField0_ = bitField0_; if (userPermissionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { userPermissions_ = java.util.Collections.unmodifiableList(userPermissions_); bitField0_ = (bitField0_ & ~0x00000001); } result.userPermissions_ = userPermissions_; } else { result.userPermissions_ = userPermissionsBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions) { return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.getDefaultInstance()) return this; if (userPermissionsBuilder_ == null) { if (!other.userPermissions_.isEmpty()) { if (userPermissions_.isEmpty()) { userPermissions_ = other.userPermissions_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureUserPermissionsIsMutable(); userPermissions_.addAll(other.userPermissions_); } onChanged(); } } else { if (!other.userPermissions_.isEmpty()) { if (userPermissionsBuilder_.isEmpty()) { userPermissionsBuilder_.dispose(); userPermissionsBuilder_ = null; userPermissions_ = other.userPermissions_; bitField0_ = (bitField0_ & ~0x00000001); userPermissionsBuilder_ = org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getUserPermissionsFieldBuilder() : null; } else { userPermissionsBuilder_.addAllMessages(other.userPermissions_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getUserPermissionsCount(); i++) { if (!getUserPermissions(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List userPermissions_ = java.util.Collections.emptyList(); private void ensureUserPermissionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { userPermissions_ = new java.util.ArrayList(userPermissions_); bitField0_ |= 0x00000001; } } private org.apache.hbase.thirdparty.com.google.protobuf.RepeatedFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissionsOrBuilder> userPermissionsBuilder_; /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ public java.util.List getUserPermissionsList() { if (userPermissionsBuilder_ == null) { return java.util.Collections.unmodifiableList(userPermissions_); } else { return userPermissionsBuilder_.getMessageList(); } } /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ public int getUserPermissionsCount() { if (userPermissionsBuilder_ == null) { return userPermissions_.size(); } else { return userPermissionsBuilder_.getCount(); } } /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions getUserPermissions(int index) { if (userPermissionsBuilder_ == null) { return userPermissions_.get(index); } else { return userPermissionsBuilder_.getMessage(index); } } /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ public Builder setUserPermissions( int index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions value) { if (userPermissionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUserPermissionsIsMutable(); userPermissions_.set(index, value); onChanged(); } else { userPermissionsBuilder_.setMessage(index, value); } return this; } /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ public Builder setUserPermissions( int index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions.Builder builderForValue) { if (userPermissionsBuilder_ == null) { ensureUserPermissionsIsMutable(); userPermissions_.set(index, builderForValue.build()); onChanged(); } else { userPermissionsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ public Builder addUserPermissions(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions value) { if (userPermissionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUserPermissionsIsMutable(); userPermissions_.add(value); onChanged(); } else { userPermissionsBuilder_.addMessage(value); } return this; } /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ public Builder addUserPermissions( int index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions value) { if (userPermissionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUserPermissionsIsMutable(); userPermissions_.add(index, value); onChanged(); } else { userPermissionsBuilder_.addMessage(index, value); } return this; } /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ public Builder addUserPermissions( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions.Builder builderForValue) { if (userPermissionsBuilder_ == null) { ensureUserPermissionsIsMutable(); userPermissions_.add(builderForValue.build()); onChanged(); } else { userPermissionsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ public Builder addUserPermissions( int index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions.Builder builderForValue) { if (userPermissionsBuilder_ == null) { ensureUserPermissionsIsMutable(); userPermissions_.add(index, builderForValue.build()); onChanged(); } else { userPermissionsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ public Builder addAllUserPermissions( java.lang.Iterable values) { if (userPermissionsBuilder_ == null) { ensureUserPermissionsIsMutable(); org.apache.hbase.thirdparty.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, userPermissions_); onChanged(); } else { userPermissionsBuilder_.addAllMessages(values); } return this; } /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ public Builder clearUserPermissions() { if (userPermissionsBuilder_ == null) { userPermissions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { userPermissionsBuilder_.clear(); } return this; } /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ public Builder removeUserPermissions(int index) { if (userPermissionsBuilder_ == null) { ensureUserPermissionsIsMutable(); userPermissions_.remove(index); onChanged(); } else { userPermissionsBuilder_.remove(index); } return this; } /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions.Builder getUserPermissionsBuilder( int index) { return getUserPermissionsFieldBuilder().getBuilder(index); } /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissionsOrBuilder getUserPermissionsOrBuilder( int index) { if (userPermissionsBuilder_ == null) { return userPermissions_.get(index); } else { return userPermissionsBuilder_.getMessageOrBuilder(index); } } /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ public java.util.List getUserPermissionsOrBuilderList() { if (userPermissionsBuilder_ != null) { return userPermissionsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(userPermissions_); } } /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions.Builder addUserPermissionsBuilder() { return getUserPermissionsFieldBuilder().addBuilder( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions.getDefaultInstance()); } /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions.Builder addUserPermissionsBuilder( int index) { return getUserPermissionsFieldBuilder().addBuilder( index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions.getDefaultInstance()); } /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ public java.util.List getUserPermissionsBuilderList() { return getUserPermissionsFieldBuilder().getBuilderList(); } private org.apache.hbase.thirdparty.com.google.protobuf.RepeatedFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissionsOrBuilder> getUserPermissionsFieldBuilder() { if (userPermissionsBuilder_ == null) { userPermissionsBuilder_ = new org.apache.hbase.thirdparty.com.google.protobuf.RepeatedFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissions.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissionsOrBuilder>( userPermissions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); userPermissions_ = null; } return userPermissionsBuilder_; } @java.lang.Override public final Builder setUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:hbase.pb.UsersAndPermissions) } // @@protoc_insertion_point(class_scope:hbase.pb.UsersAndPermissions) private static final org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions(); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final org.apache.hbase.thirdparty.com.google.protobuf.Parser PARSER = new org.apache.hbase.thirdparty.com.google.protobuf.AbstractParser() { @java.lang.Override public UsersAndPermissions parsePartialFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return new UsersAndPermissions(input, extensionRegistry); } }; public static org.apache.hbase.thirdparty.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UsersAndPermissions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GrantRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:hbase.pb.GrantRequest) org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder { /** * required .hbase.pb.UserPermission user_permission = 1; * @return Whether the userPermission field is set. */ boolean hasUserPermission(); /** * required .hbase.pb.UserPermission user_permission = 1; * @return The userPermission. */ org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission getUserPermission(); /** * required .hbase.pb.UserPermission user_permission = 1; */ org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder getUserPermissionOrBuilder(); /** * optional bool merge_existing_permissions = 2 [default = false]; * @return Whether the mergeExistingPermissions field is set. */ boolean hasMergeExistingPermissions(); /** * optional bool merge_existing_permissions = 2 [default = false]; * @return The mergeExistingPermissions. */ boolean getMergeExistingPermissions(); } /** * Protobuf type {@code hbase.pb.GrantRequest} */ @javax.annotation.Generated("proto") public static final class GrantRequest extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:hbase.pb.GrantRequest) GrantRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GrantRequest.newBuilder() to construct. private GrantRequest(org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GrantRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GrantRequest(); } @java.lang.Override public final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GrantRequest( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = userPermission_.toBuilder(); } userPermission_ = input.readMessage(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(userPermission_); userPermission_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 16: { bitField0_ |= 0x00000002; mergeExistingPermissions_ = input.readBool(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GrantRequest_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GrantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest.Builder.class); } private int bitField0_; public static final int USER_PERMISSION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission userPermission_; /** * required .hbase.pb.UserPermission user_permission = 1; * @return Whether the userPermission field is set. */ @java.lang.Override public boolean hasUserPermission() { return ((bitField0_ & 0x00000001) != 0); } /** * required .hbase.pb.UserPermission user_permission = 1; * @return The userPermission. */ @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission getUserPermission() { return userPermission_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.getDefaultInstance() : userPermission_; } /** * required .hbase.pb.UserPermission user_permission = 1; */ @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder getUserPermissionOrBuilder() { return userPermission_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.getDefaultInstance() : userPermission_; } public static final int MERGE_EXISTING_PERMISSIONS_FIELD_NUMBER = 2; private boolean mergeExistingPermissions_; /** * optional bool merge_existing_permissions = 2 [default = false]; * @return Whether the mergeExistingPermissions field is set. */ @java.lang.Override public boolean hasMergeExistingPermissions() { return ((bitField0_ & 0x00000002) != 0); } /** * optional bool merge_existing_permissions = 2 [default = false]; * @return The mergeExistingPermissions. */ @java.lang.Override public boolean getMergeExistingPermissions() { return mergeExistingPermissions_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasUserPermission()) { memoizedIsInitialized = 0; return false; } if (!getUserPermission().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getUserPermission()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(2, mergeExistingPermissions_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream .computeMessageSize(1, getUserPermission()); } if (((bitField0_ & 0x00000002) != 0)) { size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream .computeBoolSize(2, mergeExistingPermissions_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest)) { return super.equals(obj); } org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest other = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest) obj; if (hasUserPermission() != other.hasUserPermission()) return false; if (hasUserPermission()) { if (!getUserPermission() .equals(other.getUserPermission())) return false; } if (hasMergeExistingPermissions() != other.hasMergeExistingPermissions()) return false; if (hasMergeExistingPermissions()) { if (getMergeExistingPermissions() != other.getMergeExistingPermissions()) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasUserPermission()) { hash = (37 * hash) + USER_PERMISSION_FIELD_NUMBER; hash = (53 * hash) + getUserPermission().hashCode(); } if (hasMergeExistingPermissions()) { hash = (37 * hash) + MERGE_EXISTING_PERMISSIONS_FIELD_NUMBER; hash = (53 * hash) + org.apache.hbase.thirdparty.com.google.protobuf.Internal.hashBoolean( getMergeExistingPermissions()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest parseFrom( java.nio.ByteBuffer data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest parseFrom( java.nio.ByteBuffer data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest parseFrom(byte[] data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest parseFrom( byte[] data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest parseFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest parseDelimitedFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.GrantRequest} */ @javax.annotation.Generated("proto") public static final class Builder extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:hbase.pb.GrantRequest) org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequestOrBuilder { public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GrantRequest_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GrantRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest.Builder.class); } // Construct using org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getUserPermissionFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (userPermissionBuilder_ == null) { userPermission_ = null; } else { userPermissionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); mergeExistingPermissions_ = false; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GrantRequest_descriptor; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest getDefaultInstanceForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest.getDefaultInstance(); } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest build() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest buildPartial() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest result = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (userPermissionBuilder_ == null) { result.userPermission_ = userPermission_; } else { result.userPermission_ = userPermissionBuilder_.build(); } to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.mergeExistingPermissions_ = mergeExistingPermissions_; to_bitField0_ |= 0x00000002; } result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest) { return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest.getDefaultInstance()) return this; if (other.hasUserPermission()) { mergeUserPermission(other.getUserPermission()); } if (other.hasMergeExistingPermissions()) { setMergeExistingPermissions(other.getMergeExistingPermissions()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasUserPermission()) { return false; } if (!getUserPermission().isInitialized()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission userPermission_; private org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder> userPermissionBuilder_; /** * required .hbase.pb.UserPermission user_permission = 1; * @return Whether the userPermission field is set. */ public boolean hasUserPermission() { return ((bitField0_ & 0x00000001) != 0); } /** * required .hbase.pb.UserPermission user_permission = 1; * @return The userPermission. */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission getUserPermission() { if (userPermissionBuilder_ == null) { return userPermission_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.getDefaultInstance() : userPermission_; } else { return userPermissionBuilder_.getMessage(); } } /** * required .hbase.pb.UserPermission user_permission = 1; */ public Builder setUserPermission(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission value) { if (userPermissionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } userPermission_ = value; onChanged(); } else { userPermissionBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.UserPermission user_permission = 1; */ public Builder setUserPermission( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.Builder builderForValue) { if (userPermissionBuilder_ == null) { userPermission_ = builderForValue.build(); onChanged(); } else { userPermissionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.UserPermission user_permission = 1; */ public Builder mergeUserPermission(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission value) { if (userPermissionBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && userPermission_ != null && userPermission_ != org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.getDefaultInstance()) { userPermission_ = org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.newBuilder(userPermission_).mergeFrom(value).buildPartial(); } else { userPermission_ = value; } onChanged(); } else { userPermissionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.UserPermission user_permission = 1; */ public Builder clearUserPermission() { if (userPermissionBuilder_ == null) { userPermission_ = null; onChanged(); } else { userPermissionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * required .hbase.pb.UserPermission user_permission = 1; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.Builder getUserPermissionBuilder() { bitField0_ |= 0x00000001; onChanged(); return getUserPermissionFieldBuilder().getBuilder(); } /** * required .hbase.pb.UserPermission user_permission = 1; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder getUserPermissionOrBuilder() { if (userPermissionBuilder_ != null) { return userPermissionBuilder_.getMessageOrBuilder(); } else { return userPermission_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.getDefaultInstance() : userPermission_; } } /** * required .hbase.pb.UserPermission user_permission = 1; */ private org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder> getUserPermissionFieldBuilder() { if (userPermissionBuilder_ == null) { userPermissionBuilder_ = new org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder>( getUserPermission(), getParentForChildren(), isClean()); userPermission_ = null; } return userPermissionBuilder_; } private boolean mergeExistingPermissions_ ; /** * optional bool merge_existing_permissions = 2 [default = false]; * @return Whether the mergeExistingPermissions field is set. */ @java.lang.Override public boolean hasMergeExistingPermissions() { return ((bitField0_ & 0x00000002) != 0); } /** * optional bool merge_existing_permissions = 2 [default = false]; * @return The mergeExistingPermissions. */ @java.lang.Override public boolean getMergeExistingPermissions() { return mergeExistingPermissions_; } /** * optional bool merge_existing_permissions = 2 [default = false]; * @param value The mergeExistingPermissions to set. * @return This builder for chaining. */ public Builder setMergeExistingPermissions(boolean value) { bitField0_ |= 0x00000002; mergeExistingPermissions_ = value; onChanged(); return this; } /** * optional bool merge_existing_permissions = 2 [default = false]; * @return This builder for chaining. */ public Builder clearMergeExistingPermissions() { bitField0_ = (bitField0_ & ~0x00000002); mergeExistingPermissions_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:hbase.pb.GrantRequest) } // @@protoc_insertion_point(class_scope:hbase.pb.GrantRequest) private static final org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest(); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final org.apache.hbase.thirdparty.com.google.protobuf.Parser PARSER = new org.apache.hbase.thirdparty.com.google.protobuf.AbstractParser() { @java.lang.Override public GrantRequest parsePartialFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return new GrantRequest(input, extensionRegistry); } }; public static org.apache.hbase.thirdparty.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GrantResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:hbase.pb.GrantResponse) org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.GrantResponse} */ @javax.annotation.Generated("proto") public static final class GrantResponse extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:hbase.pb.GrantResponse) GrantResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GrantResponse.newBuilder() to construct. private GrantResponse(org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GrantResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GrantResponse(); } @java.lang.Override public final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GrantResponse( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GrantResponse_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GrantResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse)) { return super.equals(obj); } org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse other = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse parseFrom( java.nio.ByteBuffer data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse parseFrom( java.nio.ByteBuffer data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse parseFrom(byte[] data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse parseFrom( byte[] data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse parseFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse parseDelimitedFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.GrantResponse} */ @javax.annotation.Generated("proto") public static final class Builder extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:hbase.pb.GrantResponse) org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponseOrBuilder { public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GrantResponse_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GrantResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse.Builder.class); } // Construct using org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GrantResponse_descriptor; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse getDefaultInstanceForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse.getDefaultInstance(); } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse build() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse buildPartial() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse result = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse) { return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } @java.lang.Override public final Builder setUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:hbase.pb.GrantResponse) } // @@protoc_insertion_point(class_scope:hbase.pb.GrantResponse) private static final org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse(); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final org.apache.hbase.thirdparty.com.google.protobuf.Parser PARSER = new org.apache.hbase.thirdparty.com.google.protobuf.AbstractParser() { @java.lang.Override public GrantResponse parsePartialFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return new GrantResponse(input, extensionRegistry); } }; public static org.apache.hbase.thirdparty.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RevokeRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:hbase.pb.RevokeRequest) org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder { /** * required .hbase.pb.UserPermission user_permission = 1; * @return Whether the userPermission field is set. */ boolean hasUserPermission(); /** * required .hbase.pb.UserPermission user_permission = 1; * @return The userPermission. */ org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission getUserPermission(); /** * required .hbase.pb.UserPermission user_permission = 1; */ org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder getUserPermissionOrBuilder(); } /** * Protobuf type {@code hbase.pb.RevokeRequest} */ @javax.annotation.Generated("proto") public static final class RevokeRequest extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:hbase.pb.RevokeRequest) RevokeRequestOrBuilder { private static final long serialVersionUID = 0L; // Use RevokeRequest.newBuilder() to construct. private RevokeRequest(org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RevokeRequest() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RevokeRequest(); } @java.lang.Override public final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RevokeRequest( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.Builder subBuilder = null; if (((bitField0_ & 0x00000001) != 0)) { subBuilder = userPermission_.toBuilder(); } userPermission_ = input.readMessage(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(userPermission_); userPermission_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_RevokeRequest_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_RevokeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest.Builder.class); } private int bitField0_; public static final int USER_PERMISSION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission userPermission_; /** * required .hbase.pb.UserPermission user_permission = 1; * @return Whether the userPermission field is set. */ @java.lang.Override public boolean hasUserPermission() { return ((bitField0_ & 0x00000001) != 0); } /** * required .hbase.pb.UserPermission user_permission = 1; * @return The userPermission. */ @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission getUserPermission() { return userPermission_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.getDefaultInstance() : userPermission_; } /** * required .hbase.pb.UserPermission user_permission = 1; */ @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder getUserPermissionOrBuilder() { return userPermission_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.getDefaultInstance() : userPermission_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasUserPermission()) { memoizedIsInitialized = 0; return false; } if (!getUserPermission().isInitialized()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getUserPermission()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream .computeMessageSize(1, getUserPermission()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest)) { return super.equals(obj); } org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest other = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest) obj; if (hasUserPermission() != other.hasUserPermission()) return false; if (hasUserPermission()) { if (!getUserPermission() .equals(other.getUserPermission())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasUserPermission()) { hash = (37 * hash) + USER_PERMISSION_FIELD_NUMBER; hash = (53 * hash) + getUserPermission().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest parseFrom( java.nio.ByteBuffer data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest parseFrom( java.nio.ByteBuffer data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest parseFrom(byte[] data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest parseFrom( byte[] data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest parseFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest parseDelimitedFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.RevokeRequest} */ @javax.annotation.Generated("proto") public static final class Builder extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:hbase.pb.RevokeRequest) org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequestOrBuilder { public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_RevokeRequest_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_RevokeRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest.Builder.class); } // Construct using org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getUserPermissionFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (userPermissionBuilder_ == null) { userPermission_ = null; } else { userPermissionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_RevokeRequest_descriptor; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest getDefaultInstanceForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest.getDefaultInstance(); } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest build() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest buildPartial() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest result = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { if (userPermissionBuilder_ == null) { result.userPermission_ = userPermission_; } else { result.userPermission_ = userPermissionBuilder_.build(); } to_bitField0_ |= 0x00000001; } result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest) { return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest.getDefaultInstance()) return this; if (other.hasUserPermission()) { mergeUserPermission(other.getUserPermission()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (!hasUserPermission()) { return false; } if (!getUserPermission().isInitialized()) { return false; } return true; } @java.lang.Override public Builder mergeFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission userPermission_; private org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder> userPermissionBuilder_; /** * required .hbase.pb.UserPermission user_permission = 1; * @return Whether the userPermission field is set. */ public boolean hasUserPermission() { return ((bitField0_ & 0x00000001) != 0); } /** * required .hbase.pb.UserPermission user_permission = 1; * @return The userPermission. */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission getUserPermission() { if (userPermissionBuilder_ == null) { return userPermission_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.getDefaultInstance() : userPermission_; } else { return userPermissionBuilder_.getMessage(); } } /** * required .hbase.pb.UserPermission user_permission = 1; */ public Builder setUserPermission(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission value) { if (userPermissionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } userPermission_ = value; onChanged(); } else { userPermissionBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.UserPermission user_permission = 1; */ public Builder setUserPermission( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.Builder builderForValue) { if (userPermissionBuilder_ == null) { userPermission_ = builderForValue.build(); onChanged(); } else { userPermissionBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.UserPermission user_permission = 1; */ public Builder mergeUserPermission(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission value) { if (userPermissionBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && userPermission_ != null && userPermission_ != org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.getDefaultInstance()) { userPermission_ = org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.newBuilder(userPermission_).mergeFrom(value).buildPartial(); } else { userPermission_ = value; } onChanged(); } else { userPermissionBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * required .hbase.pb.UserPermission user_permission = 1; */ public Builder clearUserPermission() { if (userPermissionBuilder_ == null) { userPermission_ = null; onChanged(); } else { userPermissionBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * required .hbase.pb.UserPermission user_permission = 1; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.Builder getUserPermissionBuilder() { bitField0_ |= 0x00000001; onChanged(); return getUserPermissionFieldBuilder().getBuilder(); } /** * required .hbase.pb.UserPermission user_permission = 1; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder getUserPermissionOrBuilder() { if (userPermissionBuilder_ != null) { return userPermissionBuilder_.getMessageOrBuilder(); } else { return userPermission_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.getDefaultInstance() : userPermission_; } } /** * required .hbase.pb.UserPermission user_permission = 1; */ private org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder> getUserPermissionFieldBuilder() { if (userPermissionBuilder_ == null) { userPermissionBuilder_ = new org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder>( getUserPermission(), getParentForChildren(), isClean()); userPermission_ = null; } return userPermissionBuilder_; } @java.lang.Override public final Builder setUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:hbase.pb.RevokeRequest) } // @@protoc_insertion_point(class_scope:hbase.pb.RevokeRequest) private static final org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest(); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final org.apache.hbase.thirdparty.com.google.protobuf.Parser PARSER = new org.apache.hbase.thirdparty.com.google.protobuf.AbstractParser() { @java.lang.Override public RevokeRequest parsePartialFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return new RevokeRequest(input, extensionRegistry); } }; public static org.apache.hbase.thirdparty.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RevokeResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:hbase.pb.RevokeResponse) org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.RevokeResponse} */ @javax.annotation.Generated("proto") public static final class RevokeResponse extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:hbase.pb.RevokeResponse) RevokeResponseOrBuilder { private static final long serialVersionUID = 0L; // Use RevokeResponse.newBuilder() to construct. private RevokeResponse(org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RevokeResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new RevokeResponse(); } @java.lang.Override public final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RevokeResponse( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_RevokeResponse_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_RevokeResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse)) { return super.equals(obj); } org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse other = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse parseFrom( java.nio.ByteBuffer data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse parseFrom( java.nio.ByteBuffer data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse parseFrom(byte[] data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse parseFrom( byte[] data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse parseFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse parseDelimitedFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.RevokeResponse} */ @javax.annotation.Generated("proto") public static final class Builder extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:hbase.pb.RevokeResponse) org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponseOrBuilder { public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_RevokeResponse_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_RevokeResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse.Builder.class); } // Construct using org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_RevokeResponse_descriptor; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse getDefaultInstanceForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse.getDefaultInstance(); } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse build() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse buildPartial() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse result = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse) { return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } @java.lang.Override public final Builder setUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:hbase.pb.RevokeResponse) } // @@protoc_insertion_point(class_scope:hbase.pb.RevokeResponse) private static final org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse(); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final org.apache.hbase.thirdparty.com.google.protobuf.Parser PARSER = new org.apache.hbase.thirdparty.com.google.protobuf.AbstractParser() { @java.lang.Override public RevokeResponse parsePartialFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return new RevokeResponse(input, extensionRegistry); } }; public static org.apache.hbase.thirdparty.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetUserPermissionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:hbase.pb.GetUserPermissionsRequest) org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder { /** * optional .hbase.pb.Permission.Type type = 1; * @return Whether the type field is set. */ boolean hasType(); /** * optional .hbase.pb.Permission.Type type = 1; * @return The type. */ org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type getType(); /** * optional .hbase.pb.TableName table_name = 2; * @return Whether the tableName field is set. */ boolean hasTableName(); /** * optional .hbase.pb.TableName table_name = 2; * @return The tableName. */ org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName getTableName(); /** * optional .hbase.pb.TableName table_name = 2; */ org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableNameOrBuilder getTableNameOrBuilder(); /** * optional bytes namespace_name = 3; * @return Whether the namespaceName field is set. */ boolean hasNamespaceName(); /** * optional bytes namespace_name = 3; * @return The namespaceName. */ org.apache.hbase.thirdparty.com.google.protobuf.ByteString getNamespaceName(); /** * optional bytes column_family = 4; * @return Whether the columnFamily field is set. */ boolean hasColumnFamily(); /** * optional bytes column_family = 4; * @return The columnFamily. */ org.apache.hbase.thirdparty.com.google.protobuf.ByteString getColumnFamily(); /** * optional bytes column_qualifier = 5; * @return Whether the columnQualifier field is set. */ boolean hasColumnQualifier(); /** * optional bytes column_qualifier = 5; * @return The columnQualifier. */ org.apache.hbase.thirdparty.com.google.protobuf.ByteString getColumnQualifier(); /** * optional bytes user_name = 6; * @return Whether the userName field is set. */ boolean hasUserName(); /** * optional bytes user_name = 6; * @return The userName. */ org.apache.hbase.thirdparty.com.google.protobuf.ByteString getUserName(); } /** * Protobuf type {@code hbase.pb.GetUserPermissionsRequest} */ @javax.annotation.Generated("proto") public static final class GetUserPermissionsRequest extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:hbase.pb.GetUserPermissionsRequest) GetUserPermissionsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use GetUserPermissionsRequest.newBuilder() to construct. private GetUserPermissionsRequest(org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetUserPermissionsRequest() { type_ = 1; namespaceName_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY; columnFamily_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY; columnQualifier_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY; userName_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetUserPermissionsRequest(); } @java.lang.Override public final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetUserPermissionsRequest( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { int rawValue = input.readEnum(); @SuppressWarnings("deprecation") org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type value = org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; type_ = rawValue; } break; } case 18: { org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.Builder subBuilder = null; if (((bitField0_ & 0x00000002) != 0)) { subBuilder = tableName_.toBuilder(); } tableName_ = input.readMessage(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(tableName_); tableName_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { bitField0_ |= 0x00000004; namespaceName_ = input.readBytes(); break; } case 34: { bitField0_ |= 0x00000008; columnFamily_ = input.readBytes(); break; } case 42: { bitField0_ |= 0x00000010; columnQualifier_ = input.readBytes(); break; } case 50: { bitField0_ |= 0x00000020; userName_ = input.readBytes(); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GetUserPermissionsRequest_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GetUserPermissionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest.Builder.class); } private int bitField0_; public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** * optional .hbase.pb.Permission.Type type = 1; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .hbase.pb.Permission.Type type = 1; * @return The type. */ @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type getType() { @SuppressWarnings("deprecation") org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type result = org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type.valueOf(type_); return result == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type.Global : result; } public static final int TABLE_NAME_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName tableName_; /** * optional .hbase.pb.TableName table_name = 2; * @return Whether the tableName field is set. */ @java.lang.Override public boolean hasTableName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .hbase.pb.TableName table_name = 2; * @return The tableName. */ @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName getTableName() { return tableName_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.getDefaultInstance() : tableName_; } /** * optional .hbase.pb.TableName table_name = 2; */ @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableNameOrBuilder getTableNameOrBuilder() { return tableName_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.getDefaultInstance() : tableName_; } public static final int NAMESPACE_NAME_FIELD_NUMBER = 3; private org.apache.hbase.thirdparty.com.google.protobuf.ByteString namespaceName_; /** * optional bytes namespace_name = 3; * @return Whether the namespaceName field is set. */ @java.lang.Override public boolean hasNamespaceName() { return ((bitField0_ & 0x00000004) != 0); } /** * optional bytes namespace_name = 3; * @return The namespaceName. */ @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.ByteString getNamespaceName() { return namespaceName_; } public static final int COLUMN_FAMILY_FIELD_NUMBER = 4; private org.apache.hbase.thirdparty.com.google.protobuf.ByteString columnFamily_; /** * optional bytes column_family = 4; * @return Whether the columnFamily field is set. */ @java.lang.Override public boolean hasColumnFamily() { return ((bitField0_ & 0x00000008) != 0); } /** * optional bytes column_family = 4; * @return The columnFamily. */ @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.ByteString getColumnFamily() { return columnFamily_; } public static final int COLUMN_QUALIFIER_FIELD_NUMBER = 5; private org.apache.hbase.thirdparty.com.google.protobuf.ByteString columnQualifier_; /** * optional bytes column_qualifier = 5; * @return Whether the columnQualifier field is set. */ @java.lang.Override public boolean hasColumnQualifier() { return ((bitField0_ & 0x00000010) != 0); } /** * optional bytes column_qualifier = 5; * @return The columnQualifier. */ @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.ByteString getColumnQualifier() { return columnQualifier_; } public static final int USER_NAME_FIELD_NUMBER = 6; private org.apache.hbase.thirdparty.com.google.protobuf.ByteString userName_; /** * optional bytes user_name = 6; * @return Whether the userName field is set. */ @java.lang.Override public boolean hasUserName() { return ((bitField0_ & 0x00000020) != 0); } /** * optional bytes user_name = 6; * @return The userName. */ @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.ByteString getUserName() { return userName_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (hasTableName()) { if (!getTableName().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeEnum(1, type_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getTableName()); } if (((bitField0_ & 0x00000004) != 0)) { output.writeBytes(3, namespaceName_); } if (((bitField0_ & 0x00000008) != 0)) { output.writeBytes(4, columnFamily_); } if (((bitField0_ & 0x00000010) != 0)) { output.writeBytes(5, columnQualifier_); } if (((bitField0_ & 0x00000020) != 0)) { output.writeBytes(6, userName_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream .computeEnumSize(1, type_); } if (((bitField0_ & 0x00000002) != 0)) { size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream .computeMessageSize(2, getTableName()); } if (((bitField0_ & 0x00000004) != 0)) { size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream .computeBytesSize(3, namespaceName_); } if (((bitField0_ & 0x00000008) != 0)) { size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream .computeBytesSize(4, columnFamily_); } if (((bitField0_ & 0x00000010) != 0)) { size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream .computeBytesSize(5, columnQualifier_); } if (((bitField0_ & 0x00000020) != 0)) { size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream .computeBytesSize(6, userName_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest)) { return super.equals(obj); } org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest other = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest) obj; if (hasType() != other.hasType()) return false; if (hasType()) { if (type_ != other.type_) return false; } if (hasTableName() != other.hasTableName()) return false; if (hasTableName()) { if (!getTableName() .equals(other.getTableName())) return false; } if (hasNamespaceName() != other.hasNamespaceName()) return false; if (hasNamespaceName()) { if (!getNamespaceName() .equals(other.getNamespaceName())) return false; } if (hasColumnFamily() != other.hasColumnFamily()) return false; if (hasColumnFamily()) { if (!getColumnFamily() .equals(other.getColumnFamily())) return false; } if (hasColumnQualifier() != other.hasColumnQualifier()) return false; if (hasColumnQualifier()) { if (!getColumnQualifier() .equals(other.getColumnQualifier())) return false; } if (hasUserName() != other.hasUserName()) return false; if (hasUserName()) { if (!getUserName() .equals(other.getUserName())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; } if (hasTableName()) { hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER; hash = (53 * hash) + getTableName().hashCode(); } if (hasNamespaceName()) { hash = (37 * hash) + NAMESPACE_NAME_FIELD_NUMBER; hash = (53 * hash) + getNamespaceName().hashCode(); } if (hasColumnFamily()) { hash = (37 * hash) + COLUMN_FAMILY_FIELD_NUMBER; hash = (53 * hash) + getColumnFamily().hashCode(); } if (hasColumnQualifier()) { hash = (37 * hash) + COLUMN_QUALIFIER_FIELD_NUMBER; hash = (53 * hash) + getColumnQualifier().hashCode(); } if (hasUserName()) { hash = (37 * hash) + USER_NAME_FIELD_NUMBER; hash = (53 * hash) + getUserName().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest parseFrom( java.nio.ByteBuffer data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest parseFrom( java.nio.ByteBuffer data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest parseFrom(byte[] data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest parseFrom( byte[] data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest parseFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest parseDelimitedFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.GetUserPermissionsRequest} */ @javax.annotation.Generated("proto") public static final class Builder extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:hbase.pb.GetUserPermissionsRequest) org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequestOrBuilder { public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GetUserPermissionsRequest_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GetUserPermissionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest.Builder.class); } // Construct using org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTableNameFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); type_ = 1; bitField0_ = (bitField0_ & ~0x00000001); if (tableNameBuilder_ == null) { tableName_ = null; } else { tableNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); namespaceName_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); columnFamily_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000008); columnQualifier_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000010); userName_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000020); return this; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GetUserPermissionsRequest_descriptor; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest getDefaultInstanceForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest.getDefaultInstance(); } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest build() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest buildPartial() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest result = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.type_ = type_; if (((from_bitField0_ & 0x00000002) != 0)) { if (tableNameBuilder_ == null) { result.tableName_ = tableName_; } else { result.tableName_ = tableNameBuilder_.build(); } to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { to_bitField0_ |= 0x00000004; } result.namespaceName_ = namespaceName_; if (((from_bitField0_ & 0x00000008) != 0)) { to_bitField0_ |= 0x00000008; } result.columnFamily_ = columnFamily_; if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } result.columnQualifier_ = columnQualifier_; if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000020; } result.userName_ = userName_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest) { return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasTableName()) { mergeTableName(other.getTableName()); } if (other.hasNamespaceName()) { setNamespaceName(other.getNamespaceName()); } if (other.hasColumnFamily()) { setColumnFamily(other.getColumnFamily()); } if (other.hasColumnQualifier()) { setColumnQualifier(other.getColumnQualifier()); } if (other.hasUserName()) { setUserName(other.getUserName()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { if (hasTableName()) { if (!getTableName().isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int type_ = 1; /** * optional .hbase.pb.Permission.Type type = 1; * @return Whether the type field is set. */ @java.lang.Override public boolean hasType() { return ((bitField0_ & 0x00000001) != 0); } /** * optional .hbase.pb.Permission.Type type = 1; * @return The type. */ @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type getType() { @SuppressWarnings("deprecation") org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type result = org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type.valueOf(type_); return result == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type.Global : result; } /** * optional .hbase.pb.Permission.Type type = 1; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Type value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; type_ = value.getNumber(); onChanged(); return this; } /** * optional .hbase.pb.Permission.Type type = 1; * @return This builder for chaining. */ public Builder clearType() { bitField0_ = (bitField0_ & ~0x00000001); type_ = 1; onChanged(); return this; } private org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName tableName_; private org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName, org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableNameOrBuilder> tableNameBuilder_; /** * optional .hbase.pb.TableName table_name = 2; * @return Whether the tableName field is set. */ public boolean hasTableName() { return ((bitField0_ & 0x00000002) != 0); } /** * optional .hbase.pb.TableName table_name = 2; * @return The tableName. */ public org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName getTableName() { if (tableNameBuilder_ == null) { return tableName_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.getDefaultInstance() : tableName_; } else { return tableNameBuilder_.getMessage(); } } /** * optional .hbase.pb.TableName table_name = 2; */ public Builder setTableName(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName value) { if (tableNameBuilder_ == null) { if (value == null) { throw new NullPointerException(); } tableName_ = value; onChanged(); } else { tableNameBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .hbase.pb.TableName table_name = 2; */ public Builder setTableName( org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.Builder builderForValue) { if (tableNameBuilder_ == null) { tableName_ = builderForValue.build(); onChanged(); } else { tableNameBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .hbase.pb.TableName table_name = 2; */ public Builder mergeTableName(org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName value) { if (tableNameBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && tableName_ != null && tableName_ != org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.getDefaultInstance()) { tableName_ = org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.newBuilder(tableName_).mergeFrom(value).buildPartial(); } else { tableName_ = value; } onChanged(); } else { tableNameBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .hbase.pb.TableName table_name = 2; */ public Builder clearTableName() { if (tableNameBuilder_ == null) { tableName_ = null; onChanged(); } else { tableNameBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .hbase.pb.TableName table_name = 2; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.Builder getTableNameBuilder() { bitField0_ |= 0x00000002; onChanged(); return getTableNameFieldBuilder().getBuilder(); } /** * optional .hbase.pb.TableName table_name = 2; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableNameOrBuilder getTableNameOrBuilder() { if (tableNameBuilder_ != null) { return tableNameBuilder_.getMessageOrBuilder(); } else { return tableName_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.getDefaultInstance() : tableName_; } } /** * optional .hbase.pb.TableName table_name = 2; */ private org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName, org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableNameOrBuilder> getTableNameFieldBuilder() { if (tableNameBuilder_ == null) { tableNameBuilder_ = new org.apache.hbase.thirdparty.com.google.protobuf.SingleFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName, org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableName.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.TableNameOrBuilder>( getTableName(), getParentForChildren(), isClean()); tableName_ = null; } return tableNameBuilder_; } private org.apache.hbase.thirdparty.com.google.protobuf.ByteString namespaceName_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY; /** * optional bytes namespace_name = 3; * @return Whether the namespaceName field is set. */ @java.lang.Override public boolean hasNamespaceName() { return ((bitField0_ & 0x00000004) != 0); } /** * optional bytes namespace_name = 3; * @return The namespaceName. */ @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.ByteString getNamespaceName() { return namespaceName_; } /** * optional bytes namespace_name = 3; * @param value The namespaceName to set. * @return This builder for chaining. */ public Builder setNamespaceName(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; namespaceName_ = value; onChanged(); return this; } /** * optional bytes namespace_name = 3; * @return This builder for chaining. */ public Builder clearNamespaceName() { bitField0_ = (bitField0_ & ~0x00000004); namespaceName_ = getDefaultInstance().getNamespaceName(); onChanged(); return this; } private org.apache.hbase.thirdparty.com.google.protobuf.ByteString columnFamily_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY; /** * optional bytes column_family = 4; * @return Whether the columnFamily field is set. */ @java.lang.Override public boolean hasColumnFamily() { return ((bitField0_ & 0x00000008) != 0); } /** * optional bytes column_family = 4; * @return The columnFamily. */ @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.ByteString getColumnFamily() { return columnFamily_; } /** * optional bytes column_family = 4; * @param value The columnFamily to set. * @return This builder for chaining. */ public Builder setColumnFamily(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; columnFamily_ = value; onChanged(); return this; } /** * optional bytes column_family = 4; * @return This builder for chaining. */ public Builder clearColumnFamily() { bitField0_ = (bitField0_ & ~0x00000008); columnFamily_ = getDefaultInstance().getColumnFamily(); onChanged(); return this; } private org.apache.hbase.thirdparty.com.google.protobuf.ByteString columnQualifier_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY; /** * optional bytes column_qualifier = 5; * @return Whether the columnQualifier field is set. */ @java.lang.Override public boolean hasColumnQualifier() { return ((bitField0_ & 0x00000010) != 0); } /** * optional bytes column_qualifier = 5; * @return The columnQualifier. */ @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.ByteString getColumnQualifier() { return columnQualifier_; } /** * optional bytes column_qualifier = 5; * @param value The columnQualifier to set. * @return This builder for chaining. */ public Builder setColumnQualifier(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; columnQualifier_ = value; onChanged(); return this; } /** * optional bytes column_qualifier = 5; * @return This builder for chaining. */ public Builder clearColumnQualifier() { bitField0_ = (bitField0_ & ~0x00000010); columnQualifier_ = getDefaultInstance().getColumnQualifier(); onChanged(); return this; } private org.apache.hbase.thirdparty.com.google.protobuf.ByteString userName_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY; /** * optional bytes user_name = 6; * @return Whether the userName field is set. */ @java.lang.Override public boolean hasUserName() { return ((bitField0_ & 0x00000020) != 0); } /** * optional bytes user_name = 6; * @return The userName. */ @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.ByteString getUserName() { return userName_; } /** * optional bytes user_name = 6; * @param value The userName to set. * @return This builder for chaining. */ public Builder setUserName(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; userName_ = value; onChanged(); return this; } /** * optional bytes user_name = 6; * @return This builder for chaining. */ public Builder clearUserName() { bitField0_ = (bitField0_ & ~0x00000020); userName_ = getDefaultInstance().getUserName(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:hbase.pb.GetUserPermissionsRequest) } // @@protoc_insertion_point(class_scope:hbase.pb.GetUserPermissionsRequest) private static final org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest(); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final org.apache.hbase.thirdparty.com.google.protobuf.Parser PARSER = new org.apache.hbase.thirdparty.com.google.protobuf.AbstractParser() { @java.lang.Override public GetUserPermissionsRequest parsePartialFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return new GetUserPermissionsRequest(input, extensionRegistry); } }; public static org.apache.hbase.thirdparty.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GetUserPermissionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:hbase.pb.GetUserPermissionsResponse) org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder { /** * repeated .hbase.pb.UserPermission user_permission = 1; */ java.util.List getUserPermissionList(); /** * repeated .hbase.pb.UserPermission user_permission = 1; */ org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission getUserPermission(int index); /** * repeated .hbase.pb.UserPermission user_permission = 1; */ int getUserPermissionCount(); /** * repeated .hbase.pb.UserPermission user_permission = 1; */ java.util.List getUserPermissionOrBuilderList(); /** * repeated .hbase.pb.UserPermission user_permission = 1; */ org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder getUserPermissionOrBuilder( int index); } /** * Protobuf type {@code hbase.pb.GetUserPermissionsResponse} */ @javax.annotation.Generated("proto") public static final class GetUserPermissionsResponse extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:hbase.pb.GetUserPermissionsResponse) GetUserPermissionsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use GetUserPermissionsResponse.newBuilder() to construct. private GetUserPermissionsResponse(org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GetUserPermissionsResponse() { userPermission_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GetUserPermissionsResponse(); } @java.lang.Override public final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GetUserPermissionsResponse( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { userPermission_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } userPermission_.add( input.readMessage(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.PARSER, extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { userPermission_ = java.util.Collections.unmodifiableList(userPermission_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GetUserPermissionsResponse_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GetUserPermissionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse.Builder.class); } public static final int USER_PERMISSION_FIELD_NUMBER = 1; private java.util.List userPermission_; /** * repeated .hbase.pb.UserPermission user_permission = 1; */ @java.lang.Override public java.util.List getUserPermissionList() { return userPermission_; } /** * repeated .hbase.pb.UserPermission user_permission = 1; */ @java.lang.Override public java.util.List getUserPermissionOrBuilderList() { return userPermission_; } /** * repeated .hbase.pb.UserPermission user_permission = 1; */ @java.lang.Override public int getUserPermissionCount() { return userPermission_.size(); } /** * repeated .hbase.pb.UserPermission user_permission = 1; */ @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission getUserPermission(int index) { return userPermission_.get(index); } /** * repeated .hbase.pb.UserPermission user_permission = 1; */ @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder getUserPermissionOrBuilder( int index) { return userPermission_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getUserPermissionCount(); i++) { if (!getUserPermission(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < userPermission_.size(); i++) { output.writeMessage(1, userPermission_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < userPermission_.size(); i++) { size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream .computeMessageSize(1, userPermission_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse)) { return super.equals(obj); } org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse other = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse) obj; if (!getUserPermissionList() .equals(other.getUserPermissionList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getUserPermissionCount() > 0) { hash = (37 * hash) + USER_PERMISSION_FIELD_NUMBER; hash = (53 * hash) + getUserPermissionList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse parseFrom( java.nio.ByteBuffer data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse parseFrom( java.nio.ByteBuffer data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse parseFrom(byte[] data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse parseFrom( byte[] data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse parseFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse parseDelimitedFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.GetUserPermissionsResponse} */ @javax.annotation.Generated("proto") public static final class Builder extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:hbase.pb.GetUserPermissionsResponse) org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponseOrBuilder { public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GetUserPermissionsResponse_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GetUserPermissionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse.Builder.class); } // Construct using org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getUserPermissionFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (userPermissionBuilder_ == null) { userPermission_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { userPermissionBuilder_.clear(); } return this; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GetUserPermissionsResponse_descriptor; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse getDefaultInstanceForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse.getDefaultInstance(); } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse build() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse buildPartial() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse result = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse(this); int from_bitField0_ = bitField0_; if (userPermissionBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { userPermission_ = java.util.Collections.unmodifiableList(userPermission_); bitField0_ = (bitField0_ & ~0x00000001); } result.userPermission_ = userPermission_; } else { result.userPermission_ = userPermissionBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse) { return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse.getDefaultInstance()) return this; if (userPermissionBuilder_ == null) { if (!other.userPermission_.isEmpty()) { if (userPermission_.isEmpty()) { userPermission_ = other.userPermission_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureUserPermissionIsMutable(); userPermission_.addAll(other.userPermission_); } onChanged(); } } else { if (!other.userPermission_.isEmpty()) { if (userPermissionBuilder_.isEmpty()) { userPermissionBuilder_.dispose(); userPermissionBuilder_ = null; userPermission_ = other.userPermission_; bitField0_ = (bitField0_ & ~0x00000001); userPermissionBuilder_ = org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getUserPermissionFieldBuilder() : null; } else { userPermissionBuilder_.addAllMessages(other.userPermission_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getUserPermissionCount(); i++) { if (!getUserPermission(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List userPermission_ = java.util.Collections.emptyList(); private void ensureUserPermissionIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { userPermission_ = new java.util.ArrayList(userPermission_); bitField0_ |= 0x00000001; } } private org.apache.hbase.thirdparty.com.google.protobuf.RepeatedFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder> userPermissionBuilder_; /** * repeated .hbase.pb.UserPermission user_permission = 1; */ public java.util.List getUserPermissionList() { if (userPermissionBuilder_ == null) { return java.util.Collections.unmodifiableList(userPermission_); } else { return userPermissionBuilder_.getMessageList(); } } /** * repeated .hbase.pb.UserPermission user_permission = 1; */ public int getUserPermissionCount() { if (userPermissionBuilder_ == null) { return userPermission_.size(); } else { return userPermissionBuilder_.getCount(); } } /** * repeated .hbase.pb.UserPermission user_permission = 1; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission getUserPermission(int index) { if (userPermissionBuilder_ == null) { return userPermission_.get(index); } else { return userPermissionBuilder_.getMessage(index); } } /** * repeated .hbase.pb.UserPermission user_permission = 1; */ public Builder setUserPermission( int index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission value) { if (userPermissionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUserPermissionIsMutable(); userPermission_.set(index, value); onChanged(); } else { userPermissionBuilder_.setMessage(index, value); } return this; } /** * repeated .hbase.pb.UserPermission user_permission = 1; */ public Builder setUserPermission( int index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.Builder builderForValue) { if (userPermissionBuilder_ == null) { ensureUserPermissionIsMutable(); userPermission_.set(index, builderForValue.build()); onChanged(); } else { userPermissionBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.UserPermission user_permission = 1; */ public Builder addUserPermission(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission value) { if (userPermissionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUserPermissionIsMutable(); userPermission_.add(value); onChanged(); } else { userPermissionBuilder_.addMessage(value); } return this; } /** * repeated .hbase.pb.UserPermission user_permission = 1; */ public Builder addUserPermission( int index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission value) { if (userPermissionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureUserPermissionIsMutable(); userPermission_.add(index, value); onChanged(); } else { userPermissionBuilder_.addMessage(index, value); } return this; } /** * repeated .hbase.pb.UserPermission user_permission = 1; */ public Builder addUserPermission( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.Builder builderForValue) { if (userPermissionBuilder_ == null) { ensureUserPermissionIsMutable(); userPermission_.add(builderForValue.build()); onChanged(); } else { userPermissionBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .hbase.pb.UserPermission user_permission = 1; */ public Builder addUserPermission( int index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.Builder builderForValue) { if (userPermissionBuilder_ == null) { ensureUserPermissionIsMutable(); userPermission_.add(index, builderForValue.build()); onChanged(); } else { userPermissionBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.UserPermission user_permission = 1; */ public Builder addAllUserPermission( java.lang.Iterable values) { if (userPermissionBuilder_ == null) { ensureUserPermissionIsMutable(); org.apache.hbase.thirdparty.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, userPermission_); onChanged(); } else { userPermissionBuilder_.addAllMessages(values); } return this; } /** * repeated .hbase.pb.UserPermission user_permission = 1; */ public Builder clearUserPermission() { if (userPermissionBuilder_ == null) { userPermission_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { userPermissionBuilder_.clear(); } return this; } /** * repeated .hbase.pb.UserPermission user_permission = 1; */ public Builder removeUserPermission(int index) { if (userPermissionBuilder_ == null) { ensureUserPermissionIsMutable(); userPermission_.remove(index); onChanged(); } else { userPermissionBuilder_.remove(index); } return this; } /** * repeated .hbase.pb.UserPermission user_permission = 1; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.Builder getUserPermissionBuilder( int index) { return getUserPermissionFieldBuilder().getBuilder(index); } /** * repeated .hbase.pb.UserPermission user_permission = 1; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder getUserPermissionOrBuilder( int index) { if (userPermissionBuilder_ == null) { return userPermission_.get(index); } else { return userPermissionBuilder_.getMessageOrBuilder(index); } } /** * repeated .hbase.pb.UserPermission user_permission = 1; */ public java.util.List getUserPermissionOrBuilderList() { if (userPermissionBuilder_ != null) { return userPermissionBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(userPermission_); } } /** * repeated .hbase.pb.UserPermission user_permission = 1; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.Builder addUserPermissionBuilder() { return getUserPermissionFieldBuilder().addBuilder( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.getDefaultInstance()); } /** * repeated .hbase.pb.UserPermission user_permission = 1; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.Builder addUserPermissionBuilder( int index) { return getUserPermissionFieldBuilder().addBuilder( index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.getDefaultInstance()); } /** * repeated .hbase.pb.UserPermission user_permission = 1; */ public java.util.List getUserPermissionBuilderList() { return getUserPermissionFieldBuilder().getBuilderList(); } private org.apache.hbase.thirdparty.com.google.protobuf.RepeatedFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder> getUserPermissionFieldBuilder() { if (userPermissionBuilder_ == null) { userPermissionBuilder_ = new org.apache.hbase.thirdparty.com.google.protobuf.RepeatedFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder>( userPermission_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); userPermission_ = null; } return userPermissionBuilder_; } @java.lang.Override public final Builder setUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:hbase.pb.GetUserPermissionsResponse) } // @@protoc_insertion_point(class_scope:hbase.pb.GetUserPermissionsResponse) private static final org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse(); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final org.apache.hbase.thirdparty.com.google.protobuf.Parser PARSER = new org.apache.hbase.thirdparty.com.google.protobuf.AbstractParser() { @java.lang.Override public GetUserPermissionsResponse parsePartialFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return new GetUserPermissionsResponse(input, extensionRegistry); } }; public static org.apache.hbase.thirdparty.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CheckPermissionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:hbase.pb.CheckPermissionsRequest) org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder { /** * repeated .hbase.pb.Permission permission = 1; */ java.util.List getPermissionList(); /** * repeated .hbase.pb.Permission permission = 1; */ org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission getPermission(int index); /** * repeated .hbase.pb.Permission permission = 1; */ int getPermissionCount(); /** * repeated .hbase.pb.Permission permission = 1; */ java.util.List getPermissionOrBuilderList(); /** * repeated .hbase.pb.Permission permission = 1; */ org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder getPermissionOrBuilder( int index); } /** * Protobuf type {@code hbase.pb.CheckPermissionsRequest} */ @javax.annotation.Generated("proto") public static final class CheckPermissionsRequest extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:hbase.pb.CheckPermissionsRequest) CheckPermissionsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CheckPermissionsRequest.newBuilder() to construct. private CheckPermissionsRequest(org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CheckPermissionsRequest() { permission_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CheckPermissionsRequest(); } @java.lang.Override public final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CheckPermissionsRequest( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { permission_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } permission_.add( input.readMessage(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.PARSER, extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { permission_ = java.util.Collections.unmodifiableList(permission_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_CheckPermissionsRequest_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_CheckPermissionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest.Builder.class); } public static final int PERMISSION_FIELD_NUMBER = 1; private java.util.List permission_; /** * repeated .hbase.pb.Permission permission = 1; */ @java.lang.Override public java.util.List getPermissionList() { return permission_; } /** * repeated .hbase.pb.Permission permission = 1; */ @java.lang.Override public java.util.List getPermissionOrBuilderList() { return permission_; } /** * repeated .hbase.pb.Permission permission = 1; */ @java.lang.Override public int getPermissionCount() { return permission_.size(); } /** * repeated .hbase.pb.Permission permission = 1; */ @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission getPermission(int index) { return permission_.get(index); } /** * repeated .hbase.pb.Permission permission = 1; */ @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder getPermissionOrBuilder( int index) { return permission_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getPermissionCount(); i++) { if (!getPermission(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < permission_.size(); i++) { output.writeMessage(1, permission_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < permission_.size(); i++) { size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream .computeMessageSize(1, permission_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest)) { return super.equals(obj); } org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest other = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest) obj; if (!getPermissionList() .equals(other.getPermissionList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getPermissionCount() > 0) { hash = (37 * hash) + PERMISSION_FIELD_NUMBER; hash = (53 * hash) + getPermissionList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest parseFrom( java.nio.ByteBuffer data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest parseFrom( java.nio.ByteBuffer data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest parseFrom(byte[] data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest parseFrom( byte[] data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest parseFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest parseDelimitedFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.CheckPermissionsRequest} */ @javax.annotation.Generated("proto") public static final class Builder extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:hbase.pb.CheckPermissionsRequest) org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequestOrBuilder { public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_CheckPermissionsRequest_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_CheckPermissionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest.Builder.class); } // Construct using org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPermissionFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (permissionBuilder_ == null) { permission_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { permissionBuilder_.clear(); } return this; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_CheckPermissionsRequest_descriptor; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest getDefaultInstanceForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest.getDefaultInstance(); } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest build() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest buildPartial() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest result = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest(this); int from_bitField0_ = bitField0_; if (permissionBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { permission_ = java.util.Collections.unmodifiableList(permission_); bitField0_ = (bitField0_ & ~0x00000001); } result.permission_ = permission_; } else { result.permission_ = permissionBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest) { return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest.getDefaultInstance()) return this; if (permissionBuilder_ == null) { if (!other.permission_.isEmpty()) { if (permission_.isEmpty()) { permission_ = other.permission_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePermissionIsMutable(); permission_.addAll(other.permission_); } onChanged(); } } else { if (!other.permission_.isEmpty()) { if (permissionBuilder_.isEmpty()) { permissionBuilder_.dispose(); permissionBuilder_ = null; permission_ = other.permission_; bitField0_ = (bitField0_ & ~0x00000001); permissionBuilder_ = org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPermissionFieldBuilder() : null; } else { permissionBuilder_.addAllMessages(other.permission_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getPermissionCount(); i++) { if (!getPermission(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List permission_ = java.util.Collections.emptyList(); private void ensurePermissionIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { permission_ = new java.util.ArrayList(permission_); bitField0_ |= 0x00000001; } } private org.apache.hbase.thirdparty.com.google.protobuf.RepeatedFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder> permissionBuilder_; /** * repeated .hbase.pb.Permission permission = 1; */ public java.util.List getPermissionList() { if (permissionBuilder_ == null) { return java.util.Collections.unmodifiableList(permission_); } else { return permissionBuilder_.getMessageList(); } } /** * repeated .hbase.pb.Permission permission = 1; */ public int getPermissionCount() { if (permissionBuilder_ == null) { return permission_.size(); } else { return permissionBuilder_.getCount(); } } /** * repeated .hbase.pb.Permission permission = 1; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission getPermission(int index) { if (permissionBuilder_ == null) { return permission_.get(index); } else { return permissionBuilder_.getMessage(index); } } /** * repeated .hbase.pb.Permission permission = 1; */ public Builder setPermission( int index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission value) { if (permissionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePermissionIsMutable(); permission_.set(index, value); onChanged(); } else { permissionBuilder_.setMessage(index, value); } return this; } /** * repeated .hbase.pb.Permission permission = 1; */ public Builder setPermission( int index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder builderForValue) { if (permissionBuilder_ == null) { ensurePermissionIsMutable(); permission_.set(index, builderForValue.build()); onChanged(); } else { permissionBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.Permission permission = 1; */ public Builder addPermission(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission value) { if (permissionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePermissionIsMutable(); permission_.add(value); onChanged(); } else { permissionBuilder_.addMessage(value); } return this; } /** * repeated .hbase.pb.Permission permission = 1; */ public Builder addPermission( int index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission value) { if (permissionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePermissionIsMutable(); permission_.add(index, value); onChanged(); } else { permissionBuilder_.addMessage(index, value); } return this; } /** * repeated .hbase.pb.Permission permission = 1; */ public Builder addPermission( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder builderForValue) { if (permissionBuilder_ == null) { ensurePermissionIsMutable(); permission_.add(builderForValue.build()); onChanged(); } else { permissionBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .hbase.pb.Permission permission = 1; */ public Builder addPermission( int index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder builderForValue) { if (permissionBuilder_ == null) { ensurePermissionIsMutable(); permission_.add(index, builderForValue.build()); onChanged(); } else { permissionBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.Permission permission = 1; */ public Builder addAllPermission( java.lang.Iterable values) { if (permissionBuilder_ == null) { ensurePermissionIsMutable(); org.apache.hbase.thirdparty.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, permission_); onChanged(); } else { permissionBuilder_.addAllMessages(values); } return this; } /** * repeated .hbase.pb.Permission permission = 1; */ public Builder clearPermission() { if (permissionBuilder_ == null) { permission_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { permissionBuilder_.clear(); } return this; } /** * repeated .hbase.pb.Permission permission = 1; */ public Builder removePermission(int index) { if (permissionBuilder_ == null) { ensurePermissionIsMutable(); permission_.remove(index); onChanged(); } else { permissionBuilder_.remove(index); } return this; } /** * repeated .hbase.pb.Permission permission = 1; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder getPermissionBuilder( int index) { return getPermissionFieldBuilder().getBuilder(index); } /** * repeated .hbase.pb.Permission permission = 1; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder getPermissionOrBuilder( int index) { if (permissionBuilder_ == null) { return permission_.get(index); } else { return permissionBuilder_.getMessageOrBuilder(index); } } /** * repeated .hbase.pb.Permission permission = 1; */ public java.util.List getPermissionOrBuilderList() { if (permissionBuilder_ != null) { return permissionBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(permission_); } } /** * repeated .hbase.pb.Permission permission = 1; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder addPermissionBuilder() { return getPermissionFieldBuilder().addBuilder( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.getDefaultInstance()); } /** * repeated .hbase.pb.Permission permission = 1; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder addPermissionBuilder( int index) { return getPermissionFieldBuilder().addBuilder( index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.getDefaultInstance()); } /** * repeated .hbase.pb.Permission permission = 1; */ public java.util.List getPermissionBuilderList() { return getPermissionFieldBuilder().getBuilderList(); } private org.apache.hbase.thirdparty.com.google.protobuf.RepeatedFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder> getPermissionFieldBuilder() { if (permissionBuilder_ == null) { permissionBuilder_ = new org.apache.hbase.thirdparty.com.google.protobuf.RepeatedFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder>( permission_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); permission_ = null; } return permissionBuilder_; } @java.lang.Override public final Builder setUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:hbase.pb.CheckPermissionsRequest) } // @@protoc_insertion_point(class_scope:hbase.pb.CheckPermissionsRequest) private static final org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest(); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final org.apache.hbase.thirdparty.com.google.protobuf.Parser PARSER = new org.apache.hbase.thirdparty.com.google.protobuf.AbstractParser() { @java.lang.Override public CheckPermissionsRequest parsePartialFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return new CheckPermissionsRequest(input, extensionRegistry); } }; public static org.apache.hbase.thirdparty.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CheckPermissionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:hbase.pb.CheckPermissionsResponse) org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.CheckPermissionsResponse} */ @javax.annotation.Generated("proto") public static final class CheckPermissionsResponse extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:hbase.pb.CheckPermissionsResponse) CheckPermissionsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use CheckPermissionsResponse.newBuilder() to construct. private CheckPermissionsResponse(org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CheckPermissionsResponse() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CheckPermissionsResponse(); } @java.lang.Override public final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CheckPermissionsResponse( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_CheckPermissionsResponse_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_CheckPermissionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse.Builder.class); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse)) { return super.equals(obj); } org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse other = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse parseFrom( java.nio.ByteBuffer data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse parseFrom( java.nio.ByteBuffer data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse parseFrom(byte[] data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse parseFrom( byte[] data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse parseFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse parseDelimitedFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.CheckPermissionsResponse} */ @javax.annotation.Generated("proto") public static final class Builder extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:hbase.pb.CheckPermissionsResponse) org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponseOrBuilder { public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_CheckPermissionsResponse_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_CheckPermissionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse.Builder.class); } // Construct using org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_CheckPermissionsResponse_descriptor; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse getDefaultInstanceForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse.getDefaultInstance(); } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse build() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse buildPartial() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse result = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse) { return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } @java.lang.Override public final Builder setUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:hbase.pb.CheckPermissionsResponse) } // @@protoc_insertion_point(class_scope:hbase.pb.CheckPermissionsResponse) private static final org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse(); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final org.apache.hbase.thirdparty.com.google.protobuf.Parser PARSER = new org.apache.hbase.thirdparty.com.google.protobuf.AbstractParser() { @java.lang.Override public CheckPermissionsResponse parsePartialFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return new CheckPermissionsResponse(input, extensionRegistry); } }; public static org.apache.hbase.thirdparty.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface HasUserPermissionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:hbase.pb.HasUserPermissionsRequest) org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder { /** * optional bytes user_name = 1; * @return Whether the userName field is set. */ boolean hasUserName(); /** * optional bytes user_name = 1; * @return The userName. */ org.apache.hbase.thirdparty.com.google.protobuf.ByteString getUserName(); /** * repeated .hbase.pb.Permission permission = 2; */ java.util.List getPermissionList(); /** * repeated .hbase.pb.Permission permission = 2; */ org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission getPermission(int index); /** * repeated .hbase.pb.Permission permission = 2; */ int getPermissionCount(); /** * repeated .hbase.pb.Permission permission = 2; */ java.util.List getPermissionOrBuilderList(); /** * repeated .hbase.pb.Permission permission = 2; */ org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder getPermissionOrBuilder( int index); } /** * Protobuf type {@code hbase.pb.HasUserPermissionsRequest} */ @javax.annotation.Generated("proto") public static final class HasUserPermissionsRequest extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:hbase.pb.HasUserPermissionsRequest) HasUserPermissionsRequestOrBuilder { private static final long serialVersionUID = 0L; // Use HasUserPermissionsRequest.newBuilder() to construct. private HasUserPermissionsRequest(org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HasUserPermissionsRequest() { userName_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY; permission_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new HasUserPermissionsRequest(); } @java.lang.Override public final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private HasUserPermissionsRequest( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { bitField0_ |= 0x00000001; userName_ = input.readBytes(); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { permission_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } permission_.add( input.readMessage(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.PARSER, extensionRegistry)); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) != 0)) { permission_ = java.util.Collections.unmodifiableList(permission_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_HasUserPermissionsRequest_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_HasUserPermissionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest.Builder.class); } private int bitField0_; public static final int USER_NAME_FIELD_NUMBER = 1; private org.apache.hbase.thirdparty.com.google.protobuf.ByteString userName_; /** * optional bytes user_name = 1; * @return Whether the userName field is set. */ @java.lang.Override public boolean hasUserName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional bytes user_name = 1; * @return The userName. */ @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.ByteString getUserName() { return userName_; } public static final int PERMISSION_FIELD_NUMBER = 2; private java.util.List permission_; /** * repeated .hbase.pb.Permission permission = 2; */ @java.lang.Override public java.util.List getPermissionList() { return permission_; } /** * repeated .hbase.pb.Permission permission = 2; */ @java.lang.Override public java.util.List getPermissionOrBuilderList() { return permission_; } /** * repeated .hbase.pb.Permission permission = 2; */ @java.lang.Override public int getPermissionCount() { return permission_.size(); } /** * repeated .hbase.pb.Permission permission = 2; */ @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission getPermission(int index) { return permission_.get(index); } /** * repeated .hbase.pb.Permission permission = 2; */ @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder getPermissionOrBuilder( int index) { return permission_.get(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getPermissionCount(); i++) { if (!getPermission(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeBytes(1, userName_); } for (int i = 0; i < permission_.size(); i++) { output.writeMessage(2, permission_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream .computeBytesSize(1, userName_); } for (int i = 0; i < permission_.size(); i++) { size += org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream .computeMessageSize(2, permission_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest)) { return super.equals(obj); } org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest other = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest) obj; if (hasUserName() != other.hasUserName()) return false; if (hasUserName()) { if (!getUserName() .equals(other.getUserName())) return false; } if (!getPermissionList() .equals(other.getPermissionList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasUserName()) { hash = (37 * hash) + USER_NAME_FIELD_NUMBER; hash = (53 * hash) + getUserName().hashCode(); } if (getPermissionCount() > 0) { hash = (37 * hash) + PERMISSION_FIELD_NUMBER; hash = (53 * hash) + getPermissionList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest parseFrom( java.nio.ByteBuffer data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest parseFrom( java.nio.ByteBuffer data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest parseFrom(byte[] data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest parseFrom( byte[] data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest parseFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest parseDelimitedFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.HasUserPermissionsRequest} */ @javax.annotation.Generated("proto") public static final class Builder extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:hbase.pb.HasUserPermissionsRequest) org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequestOrBuilder { public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_HasUserPermissionsRequest_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_HasUserPermissionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest.Builder.class); } // Construct using org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPermissionFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); userName_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); if (permissionBuilder_ == null) { permission_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { permissionBuilder_.clear(); } return this; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_HasUserPermissionsRequest_descriptor; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest getDefaultInstanceForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest.getDefaultInstance(); } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest build() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest buildPartial() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest result = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { to_bitField0_ |= 0x00000001; } result.userName_ = userName_; if (permissionBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { permission_ = java.util.Collections.unmodifiableList(permission_); bitField0_ = (bitField0_ & ~0x00000002); } result.permission_ = permission_; } else { result.permission_ = permissionBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest) { return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest.getDefaultInstance()) return this; if (other.hasUserName()) { setUserName(other.getUserName()); } if (permissionBuilder_ == null) { if (!other.permission_.isEmpty()) { if (permission_.isEmpty()) { permission_ = other.permission_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensurePermissionIsMutable(); permission_.addAll(other.permission_); } onChanged(); } } else { if (!other.permission_.isEmpty()) { if (permissionBuilder_.isEmpty()) { permissionBuilder_.dispose(); permissionBuilder_ = null; permission_ = other.permission_; bitField0_ = (bitField0_ & ~0x00000002); permissionBuilder_ = org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPermissionFieldBuilder() : null; } else { permissionBuilder_.addAllMessages(other.permission_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { for (int i = 0; i < getPermissionCount(); i++) { if (!getPermission(i).isInitialized()) { return false; } } return true; } @java.lang.Override public Builder mergeFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.apache.hbase.thirdparty.com.google.protobuf.ByteString userName_ = org.apache.hbase.thirdparty.com.google.protobuf.ByteString.EMPTY; /** * optional bytes user_name = 1; * @return Whether the userName field is set. */ @java.lang.Override public boolean hasUserName() { return ((bitField0_ & 0x00000001) != 0); } /** * optional bytes user_name = 1; * @return The userName. */ @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.ByteString getUserName() { return userName_; } /** * optional bytes user_name = 1; * @param value The userName to set. * @return This builder for chaining. */ public Builder setUserName(org.apache.hbase.thirdparty.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; userName_ = value; onChanged(); return this; } /** * optional bytes user_name = 1; * @return This builder for chaining. */ public Builder clearUserName() { bitField0_ = (bitField0_ & ~0x00000001); userName_ = getDefaultInstance().getUserName(); onChanged(); return this; } private java.util.List permission_ = java.util.Collections.emptyList(); private void ensurePermissionIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { permission_ = new java.util.ArrayList(permission_); bitField0_ |= 0x00000002; } } private org.apache.hbase.thirdparty.com.google.protobuf.RepeatedFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder> permissionBuilder_; /** * repeated .hbase.pb.Permission permission = 2; */ public java.util.List getPermissionList() { if (permissionBuilder_ == null) { return java.util.Collections.unmodifiableList(permission_); } else { return permissionBuilder_.getMessageList(); } } /** * repeated .hbase.pb.Permission permission = 2; */ public int getPermissionCount() { if (permissionBuilder_ == null) { return permission_.size(); } else { return permissionBuilder_.getCount(); } } /** * repeated .hbase.pb.Permission permission = 2; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission getPermission(int index) { if (permissionBuilder_ == null) { return permission_.get(index); } else { return permissionBuilder_.getMessage(index); } } /** * repeated .hbase.pb.Permission permission = 2; */ public Builder setPermission( int index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission value) { if (permissionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePermissionIsMutable(); permission_.set(index, value); onChanged(); } else { permissionBuilder_.setMessage(index, value); } return this; } /** * repeated .hbase.pb.Permission permission = 2; */ public Builder setPermission( int index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder builderForValue) { if (permissionBuilder_ == null) { ensurePermissionIsMutable(); permission_.set(index, builderForValue.build()); onChanged(); } else { permissionBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.Permission permission = 2; */ public Builder addPermission(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission value) { if (permissionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePermissionIsMutable(); permission_.add(value); onChanged(); } else { permissionBuilder_.addMessage(value); } return this; } /** * repeated .hbase.pb.Permission permission = 2; */ public Builder addPermission( int index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission value) { if (permissionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePermissionIsMutable(); permission_.add(index, value); onChanged(); } else { permissionBuilder_.addMessage(index, value); } return this; } /** * repeated .hbase.pb.Permission permission = 2; */ public Builder addPermission( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder builderForValue) { if (permissionBuilder_ == null) { ensurePermissionIsMutable(); permission_.add(builderForValue.build()); onChanged(); } else { permissionBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .hbase.pb.Permission permission = 2; */ public Builder addPermission( int index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder builderForValue) { if (permissionBuilder_ == null) { ensurePermissionIsMutable(); permission_.add(index, builderForValue.build()); onChanged(); } else { permissionBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .hbase.pb.Permission permission = 2; */ public Builder addAllPermission( java.lang.Iterable values) { if (permissionBuilder_ == null) { ensurePermissionIsMutable(); org.apache.hbase.thirdparty.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, permission_); onChanged(); } else { permissionBuilder_.addAllMessages(values); } return this; } /** * repeated .hbase.pb.Permission permission = 2; */ public Builder clearPermission() { if (permissionBuilder_ == null) { permission_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { permissionBuilder_.clear(); } return this; } /** * repeated .hbase.pb.Permission permission = 2; */ public Builder removePermission(int index) { if (permissionBuilder_ == null) { ensurePermissionIsMutable(); permission_.remove(index); onChanged(); } else { permissionBuilder_.remove(index); } return this; } /** * repeated .hbase.pb.Permission permission = 2; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder getPermissionBuilder( int index) { return getPermissionFieldBuilder().getBuilder(index); } /** * repeated .hbase.pb.Permission permission = 2; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder getPermissionOrBuilder( int index) { if (permissionBuilder_ == null) { return permission_.get(index); } else { return permissionBuilder_.getMessageOrBuilder(index); } } /** * repeated .hbase.pb.Permission permission = 2; */ public java.util.List getPermissionOrBuilderList() { if (permissionBuilder_ != null) { return permissionBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(permission_); } } /** * repeated .hbase.pb.Permission permission = 2; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder addPermissionBuilder() { return getPermissionFieldBuilder().addBuilder( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.getDefaultInstance()); } /** * repeated .hbase.pb.Permission permission = 2; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder addPermissionBuilder( int index) { return getPermissionFieldBuilder().addBuilder( index, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.getDefaultInstance()); } /** * repeated .hbase.pb.Permission permission = 2; */ public java.util.List getPermissionBuilderList() { return getPermissionFieldBuilder().getBuilderList(); } private org.apache.hbase.thirdparty.com.google.protobuf.RepeatedFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder> getPermissionFieldBuilder() { if (permissionBuilder_ == null) { permissionBuilder_ = new org.apache.hbase.thirdparty.com.google.protobuf.RepeatedFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.Permission.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.PermissionOrBuilder>( permission_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); permission_ = null; } return permissionBuilder_; } @java.lang.Override public final Builder setUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:hbase.pb.HasUserPermissionsRequest) } // @@protoc_insertion_point(class_scope:hbase.pb.HasUserPermissionsRequest) private static final org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest(); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final org.apache.hbase.thirdparty.com.google.protobuf.Parser PARSER = new org.apache.hbase.thirdparty.com.google.protobuf.AbstractParser() { @java.lang.Override public HasUserPermissionsRequest parsePartialFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return new HasUserPermissionsRequest(input, extensionRegistry); } }; public static org.apache.hbase.thirdparty.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface HasUserPermissionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:hbase.pb.HasUserPermissionsResponse) org.apache.hbase.thirdparty.com.google.protobuf.MessageOrBuilder { /** * repeated bool has_user_permission = 1; * @return A list containing the hasUserPermission. */ java.util.List getHasUserPermissionList(); /** * repeated bool has_user_permission = 1; * @return The count of hasUserPermission. */ int getHasUserPermissionCount(); /** * repeated bool has_user_permission = 1; * @param index The index of the element to return. * @return The hasUserPermission at the given index. */ boolean getHasUserPermission(int index); } /** * Protobuf type {@code hbase.pb.HasUserPermissionsResponse} */ @javax.annotation.Generated("proto") public static final class HasUserPermissionsResponse extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:hbase.pb.HasUserPermissionsResponse) HasUserPermissionsResponseOrBuilder { private static final long serialVersionUID = 0L; // Use HasUserPermissionsResponse.newBuilder() to construct. private HasUserPermissionsResponse(org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HasUserPermissionsResponse() { hasUserPermission_ = emptyBooleanList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new HasUserPermissionsResponse(); } @java.lang.Override public final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private HasUserPermissionsResponse( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.Builder unknownFields = org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { hasUserPermission_ = newBooleanList(); mutable_bitField0_ |= 0x00000001; } hasUserPermission_.addBoolean(input.readBool()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { hasUserPermission_ = newBooleanList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { hasUserPermission_.addBoolean(input.readBool()); } input.popLimit(limit); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { hasUserPermission_.makeImmutable(); // C } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_HasUserPermissionsResponse_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_HasUserPermissionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse.Builder.class); } public static final int HAS_USER_PERMISSION_FIELD_NUMBER = 1; private org.apache.hbase.thirdparty.com.google.protobuf.Internal.BooleanList hasUserPermission_; /** * repeated bool has_user_permission = 1; * @return A list containing the hasUserPermission. */ @java.lang.Override public java.util.List getHasUserPermissionList() { return hasUserPermission_; } /** * repeated bool has_user_permission = 1; * @return The count of hasUserPermission. */ public int getHasUserPermissionCount() { return hasUserPermission_.size(); } /** * repeated bool has_user_permission = 1; * @param index The index of the element to return. * @return The hasUserPermission at the given index. */ public boolean getHasUserPermission(int index) { return hasUserPermission_.getBoolean(index); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(org.apache.hbase.thirdparty.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < hasUserPermission_.size(); i++) { output.writeBool(1, hasUserPermission_.getBoolean(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; dataSize = 1 * getHasUserPermissionList().size(); size += dataSize; size += 1 * getHasUserPermissionList().size(); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse)) { return super.equals(obj); } org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse other = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse) obj; if (!getHasUserPermissionList() .equals(other.getHasUserPermissionList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getHasUserPermissionCount() > 0) { hash = (37 * hash) + HAS_USER_PERMISSION_FIELD_NUMBER; hash = (53 * hash) + getHasUserPermissionList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse parseFrom( java.nio.ByteBuffer data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse parseFrom( java.nio.ByteBuffer data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.ByteString data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse parseFrom(byte[] data) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse parseFrom( byte[] data, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse parseFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse parseDelimitedFrom( java.io.InputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse parseFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code hbase.pb.HasUserPermissionsResponse} */ @javax.annotation.Generated("proto") public static final class Builder extends org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:hbase.pb.HasUserPermissionsResponse) org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponseOrBuilder { public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_HasUserPermissionsResponse_descriptor; } @java.lang.Override protected org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_HasUserPermissionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse.Builder.class); } // Construct using org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); hasUserPermission_ = emptyBooleanList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_HasUserPermissionsResponse_descriptor; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse getDefaultInstanceForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse.getDefaultInstance(); } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse build() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse buildPartial() { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse result = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { hasUserPermission_.makeImmutable(); bitField0_ = (bitField0_ & ~0x00000001); } result.hasUserPermission_ = hasUserPermission_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse) { return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse.getDefaultInstance()) return this; if (!other.hasUserPermission_.isEmpty()) { if (hasUserPermission_.isEmpty()) { hasUserPermission_ = other.hasUserPermission_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureHasUserPermissionIsMutable(); hasUserPermission_.addAll(other.hasUserPermission_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private org.apache.hbase.thirdparty.com.google.protobuf.Internal.BooleanList hasUserPermission_ = emptyBooleanList(); private void ensureHasUserPermissionIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { hasUserPermission_ = mutableCopy(hasUserPermission_); bitField0_ |= 0x00000001; } } /** * repeated bool has_user_permission = 1; * @return A list containing the hasUserPermission. */ public java.util.List getHasUserPermissionList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(hasUserPermission_) : hasUserPermission_; } /** * repeated bool has_user_permission = 1; * @return The count of hasUserPermission. */ public int getHasUserPermissionCount() { return hasUserPermission_.size(); } /** * repeated bool has_user_permission = 1; * @param index The index of the element to return. * @return The hasUserPermission at the given index. */ public boolean getHasUserPermission(int index) { return hasUserPermission_.getBoolean(index); } /** * repeated bool has_user_permission = 1; * @param index The index to set the value at. * @param value The hasUserPermission to set. * @return This builder for chaining. */ public Builder setHasUserPermission( int index, boolean value) { ensureHasUserPermissionIsMutable(); hasUserPermission_.setBoolean(index, value); onChanged(); return this; } /** * repeated bool has_user_permission = 1; * @param value The hasUserPermission to add. * @return This builder for chaining. */ public Builder addHasUserPermission(boolean value) { ensureHasUserPermissionIsMutable(); hasUserPermission_.addBoolean(value); onChanged(); return this; } /** * repeated bool has_user_permission = 1; * @param values The hasUserPermission to add. * @return This builder for chaining. */ public Builder addAllHasUserPermission( java.lang.Iterable values) { ensureHasUserPermissionIsMutable(); org.apache.hbase.thirdparty.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, hasUserPermission_); onChanged(); return this; } /** * repeated bool has_user_permission = 1; * @return This builder for chaining. */ public Builder clearHasUserPermission() { hasUserPermission_ = emptyBooleanList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final org.apache.hbase.thirdparty.com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:hbase.pb.HasUserPermissionsResponse) } // @@protoc_insertion_point(class_scope:hbase.pb.HasUserPermissionsResponse) private static final org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse(); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final org.apache.hbase.thirdparty.com.google.protobuf.Parser PARSER = new org.apache.hbase.thirdparty.com.google.protobuf.AbstractParser() { @java.lang.Override public HasUserPermissionsResponse parsePartialFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException { return new HasUserPermissionsResponse(input, extensionRegistry); } }; public static org.apache.hbase.thirdparty.com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public org.apache.hbase.thirdparty.com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.HasUserPermissionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } /** * Protobuf service {@code hbase.pb.AccessControlService} */ public static abstract class AccessControlService implements org.apache.hbase.thirdparty.com.google.protobuf.Service { protected AccessControlService() {} public interface Interface { /** * rpc Grant(.hbase.pb.GrantRequest) returns (.hbase.pb.GrantResponse); */ public abstract void grant( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest request, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback done); /** * rpc Revoke(.hbase.pb.RevokeRequest) returns (.hbase.pb.RevokeResponse); */ public abstract void revoke( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest request, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback done); /** * rpc GetUserPermissions(.hbase.pb.GetUserPermissionsRequest) returns (.hbase.pb.GetUserPermissionsResponse); */ public abstract void getUserPermissions( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest request, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback done); /** * rpc CheckPermissions(.hbase.pb.CheckPermissionsRequest) returns (.hbase.pb.CheckPermissionsResponse); */ public abstract void checkPermissions( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest request, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback done); } public static org.apache.hbase.thirdparty.com.google.protobuf.Service newReflectiveService( final Interface impl) { return new AccessControlService() { @java.lang.Override public void grant( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest request, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback done) { impl.grant(controller, request, done); } @java.lang.Override public void revoke( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest request, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback done) { impl.revoke(controller, request, done); } @java.lang.Override public void getUserPermissions( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest request, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback done) { impl.getUserPermissions(controller, request, done); } @java.lang.Override public void checkPermissions( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest request, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback done) { impl.checkPermissions(controller, request, done); } }; } public static org.apache.hbase.thirdparty.com.google.protobuf.BlockingService newReflectiveBlockingService(final BlockingInterface impl) { return new org.apache.hbase.thirdparty.com.google.protobuf.BlockingService() { public final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType() { return getDescriptor(); } public final org.apache.hbase.thirdparty.com.google.protobuf.Message callBlockingMethod( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method, org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hbase.thirdparty.com.google.protobuf.Message request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.callBlockingMethod() given method descriptor for " + "wrong service type."); } switch(method.getIndex()) { case 0: return impl.grant(controller, (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest)request); case 1: return impl.revoke(controller, (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest)request); case 2: return impl.getUserPermissions(controller, (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest)request); case 3: return impl.checkPermissions(controller, (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest)request); default: throw new java.lang.AssertionError("Can't get here."); } } public final org.apache.hbase.thirdparty.com.google.protobuf.Message getRequestPrototype( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getRequestPrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest.getDefaultInstance(); case 1: return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest.getDefaultInstance(); case 2: return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest.getDefaultInstance(); case 3: return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } } public final org.apache.hbase.thirdparty.com.google.protobuf.Message getResponsePrototype( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getResponsePrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse.getDefaultInstance(); case 1: return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse.getDefaultInstance(); case 2: return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse.getDefaultInstance(); case 3: return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } } }; } /** * rpc Grant(.hbase.pb.GrantRequest) returns (.hbase.pb.GrantResponse); */ public abstract void grant( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest request, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback done); /** * rpc Revoke(.hbase.pb.RevokeRequest) returns (.hbase.pb.RevokeResponse); */ public abstract void revoke( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest request, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback done); /** * rpc GetUserPermissions(.hbase.pb.GetUserPermissionsRequest) returns (.hbase.pb.GetUserPermissionsResponse); */ public abstract void getUserPermissions( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest request, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback done); /** * rpc CheckPermissions(.hbase.pb.CheckPermissionsRequest) returns (.hbase.pb.CheckPermissionsResponse); */ public abstract void checkPermissions( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest request, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback done); public static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.getDescriptor().getServices().get(0); } public final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType() { return getDescriptor(); } public final void callMethod( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method, org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hbase.thirdparty.com.google.protobuf.Message request, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback< org.apache.hbase.thirdparty.com.google.protobuf.Message> done) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.callMethod() given method descriptor for wrong " + "service type."); } switch(method.getIndex()) { case 0: this.grant(controller, (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest)request, org.apache.hbase.thirdparty.com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 1: this.revoke(controller, (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest)request, org.apache.hbase.thirdparty.com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 2: this.getUserPermissions(controller, (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest)request, org.apache.hbase.thirdparty.com.google.protobuf.RpcUtil.specializeCallback( done)); return; case 3: this.checkPermissions(controller, (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest)request, org.apache.hbase.thirdparty.com.google.protobuf.RpcUtil.specializeCallback( done)); return; default: throw new java.lang.AssertionError("Can't get here."); } } public final org.apache.hbase.thirdparty.com.google.protobuf.Message getRequestPrototype( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getRequestPrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest.getDefaultInstance(); case 1: return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest.getDefaultInstance(); case 2: return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest.getDefaultInstance(); case 3: return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } } public final org.apache.hbase.thirdparty.com.google.protobuf.Message getResponsePrototype( org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getResponsePrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse.getDefaultInstance(); case 1: return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse.getDefaultInstance(); case 2: return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse.getDefaultInstance(); case 3: return org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } } public static Stub newStub( org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel channel) { return new Stub(channel); } @javax.annotation.Generated("proto") public static final class Stub extends org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.AccessControlService implements Interface { private Stub(org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel channel) { this.channel = channel; } private final org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel channel; public org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel getChannel() { return channel; } public void grant( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest request, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(0), controller, request, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse.getDefaultInstance(), org.apache.hbase.thirdparty.com.google.protobuf.RpcUtil.generalizeCallback( done, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse.getDefaultInstance())); } public void revoke( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest request, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(1), controller, request, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse.getDefaultInstance(), org.apache.hbase.thirdparty.com.google.protobuf.RpcUtil.generalizeCallback( done, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse.getDefaultInstance())); } public void getUserPermissions( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest request, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(2), controller, request, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse.getDefaultInstance(), org.apache.hbase.thirdparty.com.google.protobuf.RpcUtil.generalizeCallback( done, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse.getDefaultInstance())); } public void checkPermissions( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest request, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback done) { channel.callMethod( getDescriptor().getMethods().get(3), controller, request, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse.getDefaultInstance(), org.apache.hbase.thirdparty.com.google.protobuf.RpcUtil.generalizeCallback( done, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse.class, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse.getDefaultInstance())); } } public static BlockingInterface newBlockingStub( org.apache.hbase.thirdparty.com.google.protobuf.BlockingRpcChannel channel) { return new BlockingStub(channel); } public interface BlockingInterface { public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse grant( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException; public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse revoke( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException; public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse getUserPermissions( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException; public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse checkPermissions( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException; } private static final class BlockingStub implements BlockingInterface { private BlockingStub(org.apache.hbase.thirdparty.com.google.protobuf.BlockingRpcChannel channel) { this.channel = channel; } private final org.apache.hbase.thirdparty.com.google.protobuf.BlockingRpcChannel channel; public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse grant( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException { return (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(0), controller, request, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GrantResponse.getDefaultInstance()); } public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse revoke( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException { return (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(1), controller, request, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.RevokeResponse.getDefaultInstance()); } public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse getUserPermissions( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException { return (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(2), controller, request, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.GetUserPermissionsResponse.getDefaultInstance()); } public org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse checkPermissions( org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsRequest request) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException { return (org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse) channel.callBlockingMethod( getDescriptor().getMethods().get(3), controller, request, org.apache.hadoop.hbase.shaded.protobuf.generated.AccessControlProtos.CheckPermissionsResponse.getDefaultInstance()); } } // @@protoc_insertion_point(class_scope:hbase.pb.AccessControlService) } private static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Permission_descriptor; private static final org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_hbase_pb_Permission_fieldAccessorTable; private static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_TablePermission_descriptor; private static final org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_hbase_pb_TablePermission_fieldAccessorTable; private static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_NamespacePermission_descriptor; private static final org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_hbase_pb_NamespacePermission_fieldAccessorTable; private static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GlobalPermission_descriptor; private static final org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_hbase_pb_GlobalPermission_fieldAccessorTable; private static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_UserPermission_descriptor; private static final org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_hbase_pb_UserPermission_fieldAccessorTable; private static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_UsersAndPermissions_descriptor; private static final org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_hbase_pb_UsersAndPermissions_fieldAccessorTable; private static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_UsersAndPermissions_UserPermissions_descriptor; private static final org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_hbase_pb_UsersAndPermissions_UserPermissions_fieldAccessorTable; private static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GrantRequest_descriptor; private static final org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_hbase_pb_GrantRequest_fieldAccessorTable; private static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GrantResponse_descriptor; private static final org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_hbase_pb_GrantResponse_fieldAccessorTable; private static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RevokeRequest_descriptor; private static final org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_hbase_pb_RevokeRequest_fieldAccessorTable; private static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RevokeResponse_descriptor; private static final org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_hbase_pb_RevokeResponse_fieldAccessorTable; private static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GetUserPermissionsRequest_descriptor; private static final org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_hbase_pb_GetUserPermissionsRequest_fieldAccessorTable; private static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GetUserPermissionsResponse_descriptor; private static final org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_hbase_pb_GetUserPermissionsResponse_fieldAccessorTable; private static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CheckPermissionsRequest_descriptor; private static final org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_hbase_pb_CheckPermissionsRequest_fieldAccessorTable; private static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CheckPermissionsResponse_descriptor; private static final org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_hbase_pb_CheckPermissionsResponse_fieldAccessorTable; private static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_HasUserPermissionsRequest_descriptor; private static final org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_hbase_pb_HasUserPermissionsRequest_fieldAccessorTable; private static final org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_HasUserPermissionsResponse_descriptor; private static final org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_hbase_pb_HasUserPermissionsResponse_fieldAccessorTable; public static org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\023AccessControl.proto\022\010hbase.pb\032\013HBase.p" + "roto\"\314\002\n\nPermission\022\'\n\004type\030\001 \002(\0162\031.hbas" + "e.pb.Permission.Type\0225\n\021global_permissio" + "n\030\002 \001(\0132\032.hbase.pb.GlobalPermission\022;\n\024n" + "amespace_permission\030\003 \001(\0132\035.hbase.pb.Nam" + "espacePermission\0223\n\020table_permission\030\004 \001" + "(\0132\031.hbase.pb.TablePermission\">\n\006Action\022" + "\010\n\004READ\020\000\022\t\n\005WRITE\020\001\022\010\n\004EXEC\020\002\022\n\n\006CREATE" + "\020\003\022\t\n\005ADMIN\020\004\",\n\004Type\022\n\n\006Global\020\001\022\r\n\tNam" + "espace\020\002\022\t\n\005Table\020\003\"\212\001\n\017TablePermission\022" + "\'\n\ntable_name\030\001 \001(\0132\023.hbase.pb.TableName" + "\022\016\n\006family\030\002 \001(\014\022\021\n\tqualifier\030\003 \001(\014\022+\n\006a" + "ction\030\004 \003(\0162\033.hbase.pb.Permission.Action" + "\"Z\n\023NamespacePermission\022\026\n\016namespace_nam" + "e\030\001 \001(\014\022+\n\006action\030\002 \003(\0162\033.hbase.pb.Permi" + "ssion.Action\"?\n\020GlobalPermission\022+\n\006acti" + "on\030\001 \003(\0162\033.hbase.pb.Permission.Action\"H\n" + "\016UserPermission\022\014\n\004user\030\001 \002(\014\022(\n\npermiss" + "ion\030\003 \002(\0132\024.hbase.pb.Permission\"\252\001\n\023User" + "sAndPermissions\022G\n\020user_permissions\030\001 \003(" + "\0132-.hbase.pb.UsersAndPermissions.UserPer" + "missions\032J\n\017UserPermissions\022\014\n\004user\030\001 \002(" + "\014\022)\n\013permissions\030\002 \003(\0132\024.hbase.pb.Permis" + "sion\"l\n\014GrantRequest\0221\n\017user_permission\030" + "\001 \002(\0132\030.hbase.pb.UserPermission\022)\n\032merge" + "_existing_permissions\030\002 \001(\010:\005false\"\017\n\rGr" + "antResponse\"B\n\rRevokeRequest\0221\n\017user_per" + "mission\030\001 \002(\0132\030.hbase.pb.UserPermission\"" + "\020\n\016RevokeResponse\"\311\001\n\031GetUserPermissions" + "Request\022\'\n\004type\030\001 \001(\0162\031.hbase.pb.Permiss" + "ion.Type\022\'\n\ntable_name\030\002 \001(\0132\023.hbase.pb." + "TableName\022\026\n\016namespace_name\030\003 \001(\014\022\025\n\rcol" + "umn_family\030\004 \001(\014\022\030\n\020column_qualifier\030\005 \001" + "(\014\022\021\n\tuser_name\030\006 \001(\014\"O\n\032GetUserPermissi" + "onsResponse\0221\n\017user_permission\030\001 \003(\0132\030.h" + "base.pb.UserPermission\"C\n\027CheckPermissio" + "nsRequest\022(\n\npermission\030\001 \003(\0132\024.hbase.pb" + ".Permission\"\032\n\030CheckPermissionsResponse\"" + "X\n\031HasUserPermissionsRequest\022\021\n\tuser_nam" + "e\030\001 \001(\014\022(\n\npermission\030\002 \003(\0132\024.hbase.pb.P" + "ermission\"9\n\032HasUserPermissionsResponse\022" + "\033\n\023has_user_permission\030\001 \003(\0102\311\002\n\024AccessC" + "ontrolService\0228\n\005Grant\022\026.hbase.pb.GrantR" + "equest\032\027.hbase.pb.GrantResponse\022;\n\006Revok" + "e\022\027.hbase.pb.RevokeRequest\032\030.hbase.pb.Re" + "vokeResponse\022_\n\022GetUserPermissions\022#.hba" + "se.pb.GetUserPermissionsRequest\032$.hbase." + "pb.GetUserPermissionsResponse\022Y\n\020CheckPe" + "rmissions\022!.hbase.pb.CheckPermissionsReq" + "uest\032\".hbase.pb.CheckPermissionsResponse" + "BP\n1org.apache.hadoop.hbase.shaded.proto" + "buf.generatedB\023AccessControlProtosH\001\210\001\001\240" + "\001\001" }; descriptor = org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.FileDescriptor[] { org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.getDescriptor(), }); internal_static_hbase_pb_Permission_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_hbase_pb_Permission_fieldAccessorTable = new org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_hbase_pb_Permission_descriptor, new java.lang.String[] { "Type", "GlobalPermission", "NamespacePermission", "TablePermission", }); internal_static_hbase_pb_TablePermission_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_hbase_pb_TablePermission_fieldAccessorTable = new org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_hbase_pb_TablePermission_descriptor, new java.lang.String[] { "TableName", "Family", "Qualifier", "Action", }); internal_static_hbase_pb_NamespacePermission_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_hbase_pb_NamespacePermission_fieldAccessorTable = new org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_hbase_pb_NamespacePermission_descriptor, new java.lang.String[] { "NamespaceName", "Action", }); internal_static_hbase_pb_GlobalPermission_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_hbase_pb_GlobalPermission_fieldAccessorTable = new org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_hbase_pb_GlobalPermission_descriptor, new java.lang.String[] { "Action", }); internal_static_hbase_pb_UserPermission_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_hbase_pb_UserPermission_fieldAccessorTable = new org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_hbase_pb_UserPermission_descriptor, new java.lang.String[] { "User", "Permission", }); internal_static_hbase_pb_UsersAndPermissions_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_hbase_pb_UsersAndPermissions_fieldAccessorTable = new org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_hbase_pb_UsersAndPermissions_descriptor, new java.lang.String[] { "UserPermissions", }); internal_static_hbase_pb_UsersAndPermissions_UserPermissions_descriptor = internal_static_hbase_pb_UsersAndPermissions_descriptor.getNestedTypes().get(0); internal_static_hbase_pb_UsersAndPermissions_UserPermissions_fieldAccessorTable = new org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_hbase_pb_UsersAndPermissions_UserPermissions_descriptor, new java.lang.String[] { "User", "Permissions", }); internal_static_hbase_pb_GrantRequest_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_hbase_pb_GrantRequest_fieldAccessorTable = new org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_hbase_pb_GrantRequest_descriptor, new java.lang.String[] { "UserPermission", "MergeExistingPermissions", }); internal_static_hbase_pb_GrantResponse_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_hbase_pb_GrantResponse_fieldAccessorTable = new org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_hbase_pb_GrantResponse_descriptor, new java.lang.String[] { }); internal_static_hbase_pb_RevokeRequest_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_hbase_pb_RevokeRequest_fieldAccessorTable = new org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_hbase_pb_RevokeRequest_descriptor, new java.lang.String[] { "UserPermission", }); internal_static_hbase_pb_RevokeResponse_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_hbase_pb_RevokeResponse_fieldAccessorTable = new org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_hbase_pb_RevokeResponse_descriptor, new java.lang.String[] { }); internal_static_hbase_pb_GetUserPermissionsRequest_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_hbase_pb_GetUserPermissionsRequest_fieldAccessorTable = new org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_hbase_pb_GetUserPermissionsRequest_descriptor, new java.lang.String[] { "Type", "TableName", "NamespaceName", "ColumnFamily", "ColumnQualifier", "UserName", }); internal_static_hbase_pb_GetUserPermissionsResponse_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_hbase_pb_GetUserPermissionsResponse_fieldAccessorTable = new org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_hbase_pb_GetUserPermissionsResponse_descriptor, new java.lang.String[] { "UserPermission", }); internal_static_hbase_pb_CheckPermissionsRequest_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_hbase_pb_CheckPermissionsRequest_fieldAccessorTable = new org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_hbase_pb_CheckPermissionsRequest_descriptor, new java.lang.String[] { "Permission", }); internal_static_hbase_pb_CheckPermissionsResponse_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_hbase_pb_CheckPermissionsResponse_fieldAccessorTable = new org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_hbase_pb_CheckPermissionsResponse_descriptor, new java.lang.String[] { }); internal_static_hbase_pb_HasUserPermissionsRequest_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_hbase_pb_HasUserPermissionsRequest_fieldAccessorTable = new org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_hbase_pb_HasUserPermissionsRequest_descriptor, new java.lang.String[] { "UserName", "Permission", }); internal_static_hbase_pb_HasUserPermissionsResponse_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_hbase_pb_HasUserPermissionsResponse_fieldAccessorTable = new org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_hbase_pb_HasUserPermissionsResponse_descriptor, new java.lang.String[] { "HasUserPermission", }); org.apache.hadoop.hbase.shaded.protobuf.generated.HBaseProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy