View Javadoc

1   // Generated by the protocol buffer compiler.  DO NOT EDIT!
2   // source: Authentication.proto
3   
4   package org.apache.hadoop.hbase.protobuf.generated;
5   
6   public final class AuthenticationProtos {
7     private AuthenticationProtos() {}
8     public static void registerAllExtensions(
9         com.google.protobuf.ExtensionRegistry registry) {
10    }
11    public interface AuthenticationKeyOrBuilder
12        extends com.google.protobuf.MessageOrBuilder {
13  
14      // required int32 id = 1;
15      /**
16       * <code>required int32 id = 1;</code>
17       */
18      boolean hasId();
19      /**
20       * <code>required int32 id = 1;</code>
21       */
22      int getId();
23  
24      // required int64 expiration_date = 2;
25      /**
26       * <code>required int64 expiration_date = 2;</code>
27       */
28      boolean hasExpirationDate();
29      /**
30       * <code>required int64 expiration_date = 2;</code>
31       */
32      long getExpirationDate();
33  
34      // required bytes key = 3;
35      /**
36       * <code>required bytes key = 3;</code>
37       */
38      boolean hasKey();
39      /**
40       * <code>required bytes key = 3;</code>
41       */
42      com.google.protobuf.ByteString getKey();
43    }
44    /**
45     * Protobuf type {@code hbase.pb.AuthenticationKey}
46     */
47    public static final class AuthenticationKey extends
48        com.google.protobuf.GeneratedMessage
49        implements AuthenticationKeyOrBuilder {
50      // Use AuthenticationKey.newBuilder() to construct.
51      private AuthenticationKey(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
52        super(builder);
53        this.unknownFields = builder.getUnknownFields();
54      }
55      private AuthenticationKey(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
56  
57      private static final AuthenticationKey defaultInstance;
58      public static AuthenticationKey getDefaultInstance() {
59        return defaultInstance;
60      }
61  
62      public AuthenticationKey getDefaultInstanceForType() {
63        return defaultInstance;
64      }
65  
66      private final com.google.protobuf.UnknownFieldSet unknownFields;
67      @java.lang.Override
68      public final com.google.protobuf.UnknownFieldSet
69          getUnknownFields() {
70        return this.unknownFields;
71      }
72      private AuthenticationKey(
73          com.google.protobuf.CodedInputStream input,
74          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
75          throws com.google.protobuf.InvalidProtocolBufferException {
76        initFields();
77        int mutable_bitField0_ = 0;
78        com.google.protobuf.UnknownFieldSet.Builder unknownFields =
79            com.google.protobuf.UnknownFieldSet.newBuilder();
80        try {
81          boolean done = false;
82          while (!done) {
83            int tag = input.readTag();
84            switch (tag) {
85              case 0:
86                done = true;
87                break;
88              default: {
89                if (!parseUnknownField(input, unknownFields,
90                                       extensionRegistry, tag)) {
91                  done = true;
92                }
93                break;
94              }
95              case 8: {
96                bitField0_ |= 0x00000001;
97                id_ = input.readInt32();
98                break;
99              }
100             case 16: {
101               bitField0_ |= 0x00000002;
102               expirationDate_ = input.readInt64();
103               break;
104             }
105             case 26: {
106               bitField0_ |= 0x00000004;
107               key_ = input.readBytes();
108               break;
109             }
110           }
111         }
112       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
113         throw e.setUnfinishedMessage(this);
114       } catch (java.io.IOException e) {
115         throw new com.google.protobuf.InvalidProtocolBufferException(
116             e.getMessage()).setUnfinishedMessage(this);
117       } finally {
118         this.unknownFields = unknownFields.build();
119         makeExtensionsImmutable();
120       }
121     }
122     public static final com.google.protobuf.Descriptors.Descriptor
123         getDescriptor() {
124       return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_AuthenticationKey_descriptor;
125     }
126 
127     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
128         internalGetFieldAccessorTable() {
129       return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_AuthenticationKey_fieldAccessorTable
130           .ensureFieldAccessorsInitialized(
131               org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey.class, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey.Builder.class);
132     }
133 
134     public static com.google.protobuf.Parser<AuthenticationKey> PARSER =
135         new com.google.protobuf.AbstractParser<AuthenticationKey>() {
136       public AuthenticationKey parsePartialFrom(
137           com.google.protobuf.CodedInputStream input,
138           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
139           throws com.google.protobuf.InvalidProtocolBufferException {
140         return new AuthenticationKey(input, extensionRegistry);
141       }
142     };
143 
144     @java.lang.Override
145     public com.google.protobuf.Parser<AuthenticationKey> getParserForType() {
146       return PARSER;
147     }
148 
149     private int bitField0_;
150     // required int32 id = 1;
151     public static final int ID_FIELD_NUMBER = 1;
152     private int id_;
153     /**
154      * <code>required int32 id = 1;</code>
155      */
156     public boolean hasId() {
157       return ((bitField0_ & 0x00000001) == 0x00000001);
158     }
159     /**
160      * <code>required int32 id = 1;</code>
161      */
162     public int getId() {
163       return id_;
164     }
165 
166     // required int64 expiration_date = 2;
167     public static final int EXPIRATION_DATE_FIELD_NUMBER = 2;
168     private long expirationDate_;
169     /**
170      * <code>required int64 expiration_date = 2;</code>
171      */
172     public boolean hasExpirationDate() {
173       return ((bitField0_ & 0x00000002) == 0x00000002);
174     }
175     /**
176      * <code>required int64 expiration_date = 2;</code>
177      */
178     public long getExpirationDate() {
179       return expirationDate_;
180     }
181 
182     // required bytes key = 3;
183     public static final int KEY_FIELD_NUMBER = 3;
184     private com.google.protobuf.ByteString key_;
185     /**
186      * <code>required bytes key = 3;</code>
187      */
188     public boolean hasKey() {
189       return ((bitField0_ & 0x00000004) == 0x00000004);
190     }
191     /**
192      * <code>required bytes key = 3;</code>
193      */
194     public com.google.protobuf.ByteString getKey() {
195       return key_;
196     }
197 
198     private void initFields() {
199       id_ = 0;
200       expirationDate_ = 0L;
201       key_ = com.google.protobuf.ByteString.EMPTY;
202     }
203     private byte memoizedIsInitialized = -1;
204     public final boolean isInitialized() {
205       byte isInitialized = memoizedIsInitialized;
206       if (isInitialized != -1) return isInitialized == 1;
207 
208       if (!hasId()) {
209         memoizedIsInitialized = 0;
210         return false;
211       }
212       if (!hasExpirationDate()) {
213         memoizedIsInitialized = 0;
214         return false;
215       }
216       if (!hasKey()) {
217         memoizedIsInitialized = 0;
218         return false;
219       }
220       memoizedIsInitialized = 1;
221       return true;
222     }
223 
224     public void writeTo(com.google.protobuf.CodedOutputStream output)
225                         throws java.io.IOException {
226       getSerializedSize();
227       if (((bitField0_ & 0x00000001) == 0x00000001)) {
228         output.writeInt32(1, id_);
229       }
230       if (((bitField0_ & 0x00000002) == 0x00000002)) {
231         output.writeInt64(2, expirationDate_);
232       }
233       if (((bitField0_ & 0x00000004) == 0x00000004)) {
234         output.writeBytes(3, key_);
235       }
236       getUnknownFields().writeTo(output);
237     }
238 
239     private int memoizedSerializedSize = -1;
240     public int getSerializedSize() {
241       int size = memoizedSerializedSize;
242       if (size != -1) return size;
243 
244       size = 0;
245       if (((bitField0_ & 0x00000001) == 0x00000001)) {
246         size += com.google.protobuf.CodedOutputStream
247           .computeInt32Size(1, id_);
248       }
249       if (((bitField0_ & 0x00000002) == 0x00000002)) {
250         size += com.google.protobuf.CodedOutputStream
251           .computeInt64Size(2, expirationDate_);
252       }
253       if (((bitField0_ & 0x00000004) == 0x00000004)) {
254         size += com.google.protobuf.CodedOutputStream
255           .computeBytesSize(3, key_);
256       }
257       size += getUnknownFields().getSerializedSize();
258       memoizedSerializedSize = size;
259       return size;
260     }
261 
262     private static final long serialVersionUID = 0L;
263     @java.lang.Override
264     protected java.lang.Object writeReplace()
265         throws java.io.ObjectStreamException {
266       return super.writeReplace();
267     }
268 
269     @java.lang.Override
270     public boolean equals(final java.lang.Object obj) {
271       if (obj == this) {
272        return true;
273       }
274       if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey)) {
275         return super.equals(obj);
276       }
277       org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey other = (org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey) obj;
278 
279       boolean result = true;
280       result = result && (hasId() == other.hasId());
281       if (hasId()) {
282         result = result && (getId()
283             == other.getId());
284       }
285       result = result && (hasExpirationDate() == other.hasExpirationDate());
286       if (hasExpirationDate()) {
287         result = result && (getExpirationDate()
288             == other.getExpirationDate());
289       }
290       result = result && (hasKey() == other.hasKey());
291       if (hasKey()) {
292         result = result && getKey()
293             .equals(other.getKey());
294       }
295       result = result &&
296           getUnknownFields().equals(other.getUnknownFields());
297       return result;
298     }
299 
300     private int memoizedHashCode = 0;
301     @java.lang.Override
302     public int hashCode() {
303       if (memoizedHashCode != 0) {
304         return memoizedHashCode;
305       }
306       int hash = 41;
307       hash = (19 * hash) + getDescriptorForType().hashCode();
308       if (hasId()) {
309         hash = (37 * hash) + ID_FIELD_NUMBER;
310         hash = (53 * hash) + getId();
311       }
312       if (hasExpirationDate()) {
313         hash = (37 * hash) + EXPIRATION_DATE_FIELD_NUMBER;
314         hash = (53 * hash) + hashLong(getExpirationDate());
315       }
316       if (hasKey()) {
317         hash = (37 * hash) + KEY_FIELD_NUMBER;
318         hash = (53 * hash) + getKey().hashCode();
319       }
320       hash = (29 * hash) + getUnknownFields().hashCode();
321       memoizedHashCode = hash;
322       return hash;
323     }
324 
325     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey parseFrom(
326         com.google.protobuf.ByteString data)
327         throws com.google.protobuf.InvalidProtocolBufferException {
328       return PARSER.parseFrom(data);
329     }
330     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey parseFrom(
331         com.google.protobuf.ByteString data,
332         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
333         throws com.google.protobuf.InvalidProtocolBufferException {
334       return PARSER.parseFrom(data, extensionRegistry);
335     }
336     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey parseFrom(byte[] data)
337         throws com.google.protobuf.InvalidProtocolBufferException {
338       return PARSER.parseFrom(data);
339     }
340     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey parseFrom(
341         byte[] data,
342         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
343         throws com.google.protobuf.InvalidProtocolBufferException {
344       return PARSER.parseFrom(data, extensionRegistry);
345     }
346     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey parseFrom(java.io.InputStream input)
347         throws java.io.IOException {
348       return PARSER.parseFrom(input);
349     }
350     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey parseFrom(
351         java.io.InputStream input,
352         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
353         throws java.io.IOException {
354       return PARSER.parseFrom(input, extensionRegistry);
355     }
356     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey parseDelimitedFrom(java.io.InputStream input)
357         throws java.io.IOException {
358       return PARSER.parseDelimitedFrom(input);
359     }
360     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey parseDelimitedFrom(
361         java.io.InputStream input,
362         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
363         throws java.io.IOException {
364       return PARSER.parseDelimitedFrom(input, extensionRegistry);
365     }
366     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey parseFrom(
367         com.google.protobuf.CodedInputStream input)
368         throws java.io.IOException {
369       return PARSER.parseFrom(input);
370     }
371     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey parseFrom(
372         com.google.protobuf.CodedInputStream input,
373         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
374         throws java.io.IOException {
375       return PARSER.parseFrom(input, extensionRegistry);
376     }
377 
378     public static Builder newBuilder() { return Builder.create(); }
379     public Builder newBuilderForType() { return newBuilder(); }
380     public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey prototype) {
381       return newBuilder().mergeFrom(prototype);
382     }
383     public Builder toBuilder() { return newBuilder(this); }
384 
385     @java.lang.Override
386     protected Builder newBuilderForType(
387         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
388       Builder builder = new Builder(parent);
389       return builder;
390     }
391     /**
392      * Protobuf type {@code hbase.pb.AuthenticationKey}
393      */
394     public static final class Builder extends
395         com.google.protobuf.GeneratedMessage.Builder<Builder>
396        implements org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKeyOrBuilder {
397       public static final com.google.protobuf.Descriptors.Descriptor
398           getDescriptor() {
399         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_AuthenticationKey_descriptor;
400       }
401 
402       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
403           internalGetFieldAccessorTable() {
404         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_AuthenticationKey_fieldAccessorTable
405             .ensureFieldAccessorsInitialized(
406                 org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey.class, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey.Builder.class);
407       }
408 
409       // Construct using org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey.newBuilder()
410       private Builder() {
411         maybeForceBuilderInitialization();
412       }
413 
414       private Builder(
415           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
416         super(parent);
417         maybeForceBuilderInitialization();
418       }
419       private void maybeForceBuilderInitialization() {
420         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
421         }
422       }
423       private static Builder create() {
424         return new Builder();
425       }
426 
427       public Builder clear() {
428         super.clear();
429         id_ = 0;
430         bitField0_ = (bitField0_ & ~0x00000001);
431         expirationDate_ = 0L;
432         bitField0_ = (bitField0_ & ~0x00000002);
433         key_ = com.google.protobuf.ByteString.EMPTY;
434         bitField0_ = (bitField0_ & ~0x00000004);
435         return this;
436       }
437 
438       public Builder clone() {
439         return create().mergeFrom(buildPartial());
440       }
441 
442       public com.google.protobuf.Descriptors.Descriptor
443           getDescriptorForType() {
444         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_AuthenticationKey_descriptor;
445       }
446 
447       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey getDefaultInstanceForType() {
448         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey.getDefaultInstance();
449       }
450 
451       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey build() {
452         org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey result = buildPartial();
453         if (!result.isInitialized()) {
454           throw newUninitializedMessageException(result);
455         }
456         return result;
457       }
458 
459       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey buildPartial() {
460         org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey result = new org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey(this);
461         int from_bitField0_ = bitField0_;
462         int to_bitField0_ = 0;
463         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
464           to_bitField0_ |= 0x00000001;
465         }
466         result.id_ = id_;
467         if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
468           to_bitField0_ |= 0x00000002;
469         }
470         result.expirationDate_ = expirationDate_;
471         if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
472           to_bitField0_ |= 0x00000004;
473         }
474         result.key_ = key_;
475         result.bitField0_ = to_bitField0_;
476         onBuilt();
477         return result;
478       }
479 
480       public Builder mergeFrom(com.google.protobuf.Message other) {
481         if (other instanceof org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey) {
482           return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey)other);
483         } else {
484           super.mergeFrom(other);
485           return this;
486         }
487       }
488 
489       public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey other) {
490         if (other == org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey.getDefaultInstance()) return this;
491         if (other.hasId()) {
492           setId(other.getId());
493         }
494         if (other.hasExpirationDate()) {
495           setExpirationDate(other.getExpirationDate());
496         }
497         if (other.hasKey()) {
498           setKey(other.getKey());
499         }
500         this.mergeUnknownFields(other.getUnknownFields());
501         return this;
502       }
503 
504       public final boolean isInitialized() {
505         if (!hasId()) {
506           
507           return false;
508         }
509         if (!hasExpirationDate()) {
510           
511           return false;
512         }
513         if (!hasKey()) {
514           
515           return false;
516         }
517         return true;
518       }
519 
520       public Builder mergeFrom(
521           com.google.protobuf.CodedInputStream input,
522           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
523           throws java.io.IOException {
524         org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey parsedMessage = null;
525         try {
526           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
527         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
528           parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKey) e.getUnfinishedMessage();
529           throw e;
530         } finally {
531           if (parsedMessage != null) {
532             mergeFrom(parsedMessage);
533           }
534         }
535         return this;
536       }
537       private int bitField0_;
538 
539       // required int32 id = 1;
540       private int id_ ;
541       /**
542        * <code>required int32 id = 1;</code>
543        */
544       public boolean hasId() {
545         return ((bitField0_ & 0x00000001) == 0x00000001);
546       }
547       /**
548        * <code>required int32 id = 1;</code>
549        */
550       public int getId() {
551         return id_;
552       }
553       /**
554        * <code>required int32 id = 1;</code>
555        */
556       public Builder setId(int value) {
557         bitField0_ |= 0x00000001;
558         id_ = value;
559         onChanged();
560         return this;
561       }
562       /**
563        * <code>required int32 id = 1;</code>
564        */
565       public Builder clearId() {
566         bitField0_ = (bitField0_ & ~0x00000001);
567         id_ = 0;
568         onChanged();
569         return this;
570       }
571 
572       // required int64 expiration_date = 2;
573       private long expirationDate_ ;
574       /**
575        * <code>required int64 expiration_date = 2;</code>
576        */
577       public boolean hasExpirationDate() {
578         return ((bitField0_ & 0x00000002) == 0x00000002);
579       }
580       /**
581        * <code>required int64 expiration_date = 2;</code>
582        */
583       public long getExpirationDate() {
584         return expirationDate_;
585       }
586       /**
587        * <code>required int64 expiration_date = 2;</code>
588        */
589       public Builder setExpirationDate(long value) {
590         bitField0_ |= 0x00000002;
591         expirationDate_ = value;
592         onChanged();
593         return this;
594       }
595       /**
596        * <code>required int64 expiration_date = 2;</code>
597        */
598       public Builder clearExpirationDate() {
599         bitField0_ = (bitField0_ & ~0x00000002);
600         expirationDate_ = 0L;
601         onChanged();
602         return this;
603       }
604 
605       // required bytes key = 3;
606       private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY;
607       /**
608        * <code>required bytes key = 3;</code>
609        */
610       public boolean hasKey() {
611         return ((bitField0_ & 0x00000004) == 0x00000004);
612       }
613       /**
614        * <code>required bytes key = 3;</code>
615        */
616       public com.google.protobuf.ByteString getKey() {
617         return key_;
618       }
619       /**
620        * <code>required bytes key = 3;</code>
621        */
622       public Builder setKey(com.google.protobuf.ByteString value) {
623         if (value == null) {
624     throw new NullPointerException();
625   }
626   bitField0_ |= 0x00000004;
627         key_ = value;
628         onChanged();
629         return this;
630       }
631       /**
632        * <code>required bytes key = 3;</code>
633        */
634       public Builder clearKey() {
635         bitField0_ = (bitField0_ & ~0x00000004);
636         key_ = getDefaultInstance().getKey();
637         onChanged();
638         return this;
639       }
640 
641       // @@protoc_insertion_point(builder_scope:hbase.pb.AuthenticationKey)
642     }
643 
644     static {
645       defaultInstance = new AuthenticationKey(true);
646       defaultInstance.initFields();
647     }
648 
649     // @@protoc_insertion_point(class_scope:hbase.pb.AuthenticationKey)
650   }
651 
652   public interface TokenIdentifierOrBuilder
653       extends com.google.protobuf.MessageOrBuilder {
654 
655     // required .hbase.pb.TokenIdentifier.Kind kind = 1;
656     /**
657      * <code>required .hbase.pb.TokenIdentifier.Kind kind = 1;</code>
658      */
659     boolean hasKind();
660     /**
661      * <code>required .hbase.pb.TokenIdentifier.Kind kind = 1;</code>
662      */
663     org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.Kind getKind();
664 
665     // required bytes username = 2;
666     /**
667      * <code>required bytes username = 2;</code>
668      */
669     boolean hasUsername();
670     /**
671      * <code>required bytes username = 2;</code>
672      */
673     com.google.protobuf.ByteString getUsername();
674 
675     // required int32 key_id = 3;
676     /**
677      * <code>required int32 key_id = 3;</code>
678      */
679     boolean hasKeyId();
680     /**
681      * <code>required int32 key_id = 3;</code>
682      */
683     int getKeyId();
684 
685     // optional int64 issue_date = 4;
686     /**
687      * <code>optional int64 issue_date = 4;</code>
688      */
689     boolean hasIssueDate();
690     /**
691      * <code>optional int64 issue_date = 4;</code>
692      */
693     long getIssueDate();
694 
695     // optional int64 expiration_date = 5;
696     /**
697      * <code>optional int64 expiration_date = 5;</code>
698      */
699     boolean hasExpirationDate();
700     /**
701      * <code>optional int64 expiration_date = 5;</code>
702      */
703     long getExpirationDate();
704 
705     // optional int64 sequence_number = 6;
706     /**
707      * <code>optional int64 sequence_number = 6;</code>
708      */
709     boolean hasSequenceNumber();
710     /**
711      * <code>optional int64 sequence_number = 6;</code>
712      */
713     long getSequenceNumber();
714   }
715   /**
716    * Protobuf type {@code hbase.pb.TokenIdentifier}
717    */
718   public static final class TokenIdentifier extends
719       com.google.protobuf.GeneratedMessage
720       implements TokenIdentifierOrBuilder {
721     // Use TokenIdentifier.newBuilder() to construct.
722     private TokenIdentifier(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
723       super(builder);
724       this.unknownFields = builder.getUnknownFields();
725     }
726     private TokenIdentifier(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
727 
728     private static final TokenIdentifier defaultInstance;
729     public static TokenIdentifier getDefaultInstance() {
730       return defaultInstance;
731     }
732 
733     public TokenIdentifier getDefaultInstanceForType() {
734       return defaultInstance;
735     }
736 
737     private final com.google.protobuf.UnknownFieldSet unknownFields;
738     @java.lang.Override
739     public final com.google.protobuf.UnknownFieldSet
740         getUnknownFields() {
741       return this.unknownFields;
742     }
743     private TokenIdentifier(
744         com.google.protobuf.CodedInputStream input,
745         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
746         throws com.google.protobuf.InvalidProtocolBufferException {
747       initFields();
748       int mutable_bitField0_ = 0;
749       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
750           com.google.protobuf.UnknownFieldSet.newBuilder();
751       try {
752         boolean done = false;
753         while (!done) {
754           int tag = input.readTag();
755           switch (tag) {
756             case 0:
757               done = true;
758               break;
759             default: {
760               if (!parseUnknownField(input, unknownFields,
761                                      extensionRegistry, tag)) {
762                 done = true;
763               }
764               break;
765             }
766             case 8: {
767               int rawValue = input.readEnum();
768               org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.Kind value = org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.Kind.valueOf(rawValue);
769               if (value == null) {
770                 unknownFields.mergeVarintField(1, rawValue);
771               } else {
772                 bitField0_ |= 0x00000001;
773                 kind_ = value;
774               }
775               break;
776             }
777             case 18: {
778               bitField0_ |= 0x00000002;
779               username_ = input.readBytes();
780               break;
781             }
782             case 24: {
783               bitField0_ |= 0x00000004;
784               keyId_ = input.readInt32();
785               break;
786             }
787             case 32: {
788               bitField0_ |= 0x00000008;
789               issueDate_ = input.readInt64();
790               break;
791             }
792             case 40: {
793               bitField0_ |= 0x00000010;
794               expirationDate_ = input.readInt64();
795               break;
796             }
797             case 48: {
798               bitField0_ |= 0x00000020;
799               sequenceNumber_ = input.readInt64();
800               break;
801             }
802           }
803         }
804       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
805         throw e.setUnfinishedMessage(this);
806       } catch (java.io.IOException e) {
807         throw new com.google.protobuf.InvalidProtocolBufferException(
808             e.getMessage()).setUnfinishedMessage(this);
809       } finally {
810         this.unknownFields = unknownFields.build();
811         makeExtensionsImmutable();
812       }
813     }
814     public static final com.google.protobuf.Descriptors.Descriptor
815         getDescriptor() {
816       return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_TokenIdentifier_descriptor;
817     }
818 
819     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
820         internalGetFieldAccessorTable() {
821       return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_TokenIdentifier_fieldAccessorTable
822           .ensureFieldAccessorsInitialized(
823               org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.class, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.Builder.class);
824     }
825 
826     public static com.google.protobuf.Parser<TokenIdentifier> PARSER =
827         new com.google.protobuf.AbstractParser<TokenIdentifier>() {
828       public TokenIdentifier parsePartialFrom(
829           com.google.protobuf.CodedInputStream input,
830           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
831           throws com.google.protobuf.InvalidProtocolBufferException {
832         return new TokenIdentifier(input, extensionRegistry);
833       }
834     };
835 
836     @java.lang.Override
837     public com.google.protobuf.Parser<TokenIdentifier> getParserForType() {
838       return PARSER;
839     }
840 
841     /**
842      * Protobuf enum {@code hbase.pb.TokenIdentifier.Kind}
843      */
844     public enum Kind
845         implements com.google.protobuf.ProtocolMessageEnum {
846       /**
847        * <code>HBASE_AUTH_TOKEN = 0;</code>
848        */
849       HBASE_AUTH_TOKEN(0, 0),
850       ;
851 
852       /**
853        * <code>HBASE_AUTH_TOKEN = 0;</code>
854        */
855       public static final int HBASE_AUTH_TOKEN_VALUE = 0;
856 
857 
858       public final int getNumber() { return value; }
859 
860       public static Kind valueOf(int value) {
861         switch (value) {
862           case 0: return HBASE_AUTH_TOKEN;
863           default: return null;
864         }
865       }
866 
867       public static com.google.protobuf.Internal.EnumLiteMap<Kind>
868           internalGetValueMap() {
869         return internalValueMap;
870       }
871       private static com.google.protobuf.Internal.EnumLiteMap<Kind>
872           internalValueMap =
873             new com.google.protobuf.Internal.EnumLiteMap<Kind>() {
874               public Kind findValueByNumber(int number) {
875                 return Kind.valueOf(number);
876               }
877             };
878 
879       public final com.google.protobuf.Descriptors.EnumValueDescriptor
880           getValueDescriptor() {
881         return getDescriptor().getValues().get(index);
882       }
883       public final com.google.protobuf.Descriptors.EnumDescriptor
884           getDescriptorForType() {
885         return getDescriptor();
886       }
887       public static final com.google.protobuf.Descriptors.EnumDescriptor
888           getDescriptor() {
889         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.getDescriptor().getEnumTypes().get(0);
890       }
891 
892       private static final Kind[] VALUES = values();
893 
894       public static Kind valueOf(
895           com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
896         if (desc.getType() != getDescriptor()) {
897           throw new java.lang.IllegalArgumentException(
898             "EnumValueDescriptor is not for this type.");
899         }
900         return VALUES[desc.getIndex()];
901       }
902 
903       private final int index;
904       private final int value;
905 
906       private Kind(int index, int value) {
907         this.index = index;
908         this.value = value;
909       }
910 
911       // @@protoc_insertion_point(enum_scope:hbase.pb.TokenIdentifier.Kind)
912     }
913 
914     private int bitField0_;
915     // required .hbase.pb.TokenIdentifier.Kind kind = 1;
916     public static final int KIND_FIELD_NUMBER = 1;
917     private org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.Kind kind_;
918     /**
919      * <code>required .hbase.pb.TokenIdentifier.Kind kind = 1;</code>
920      */
921     public boolean hasKind() {
922       return ((bitField0_ & 0x00000001) == 0x00000001);
923     }
924     /**
925      * <code>required .hbase.pb.TokenIdentifier.Kind kind = 1;</code>
926      */
927     public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.Kind getKind() {
928       return kind_;
929     }
930 
931     // required bytes username = 2;
932     public static final int USERNAME_FIELD_NUMBER = 2;
933     private com.google.protobuf.ByteString username_;
934     /**
935      * <code>required bytes username = 2;</code>
936      */
937     public boolean hasUsername() {
938       return ((bitField0_ & 0x00000002) == 0x00000002);
939     }
940     /**
941      * <code>required bytes username = 2;</code>
942      */
943     public com.google.protobuf.ByteString getUsername() {
944       return username_;
945     }
946 
947     // required int32 key_id = 3;
948     public static final int KEY_ID_FIELD_NUMBER = 3;
949     private int keyId_;
950     /**
951      * <code>required int32 key_id = 3;</code>
952      */
953     public boolean hasKeyId() {
954       return ((bitField0_ & 0x00000004) == 0x00000004);
955     }
956     /**
957      * <code>required int32 key_id = 3;</code>
958      */
959     public int getKeyId() {
960       return keyId_;
961     }
962 
963     // optional int64 issue_date = 4;
964     public static final int ISSUE_DATE_FIELD_NUMBER = 4;
965     private long issueDate_;
966     /**
967      * <code>optional int64 issue_date = 4;</code>
968      */
969     public boolean hasIssueDate() {
970       return ((bitField0_ & 0x00000008) == 0x00000008);
971     }
972     /**
973      * <code>optional int64 issue_date = 4;</code>
974      */
975     public long getIssueDate() {
976       return issueDate_;
977     }
978 
979     // optional int64 expiration_date = 5;
980     public static final int EXPIRATION_DATE_FIELD_NUMBER = 5;
981     private long expirationDate_;
982     /**
983      * <code>optional int64 expiration_date = 5;</code>
984      */
985     public boolean hasExpirationDate() {
986       return ((bitField0_ & 0x00000010) == 0x00000010);
987     }
988     /**
989      * <code>optional int64 expiration_date = 5;</code>
990      */
991     public long getExpirationDate() {
992       return expirationDate_;
993     }
994 
995     // optional int64 sequence_number = 6;
996     public static final int SEQUENCE_NUMBER_FIELD_NUMBER = 6;
997     private long sequenceNumber_;
998     /**
999      * <code>optional int64 sequence_number = 6;</code>
1000      */
1001     public boolean hasSequenceNumber() {
1002       return ((bitField0_ & 0x00000020) == 0x00000020);
1003     }
1004     /**
1005      * <code>optional int64 sequence_number = 6;</code>
1006      */
1007     public long getSequenceNumber() {
1008       return sequenceNumber_;
1009     }
1010 
1011     private void initFields() {
1012       kind_ = org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.Kind.HBASE_AUTH_TOKEN;
1013       username_ = com.google.protobuf.ByteString.EMPTY;
1014       keyId_ = 0;
1015       issueDate_ = 0L;
1016       expirationDate_ = 0L;
1017       sequenceNumber_ = 0L;
1018     }
1019     private byte memoizedIsInitialized = -1;
1020     public final boolean isInitialized() {
1021       byte isInitialized = memoizedIsInitialized;
1022       if (isInitialized != -1) return isInitialized == 1;
1023 
1024       if (!hasKind()) {
1025         memoizedIsInitialized = 0;
1026         return false;
1027       }
1028       if (!hasUsername()) {
1029         memoizedIsInitialized = 0;
1030         return false;
1031       }
1032       if (!hasKeyId()) {
1033         memoizedIsInitialized = 0;
1034         return false;
1035       }
1036       memoizedIsInitialized = 1;
1037       return true;
1038     }
1039 
1040     public void writeTo(com.google.protobuf.CodedOutputStream output)
1041                         throws java.io.IOException {
1042       getSerializedSize();
1043       if (((bitField0_ & 0x00000001) == 0x00000001)) {
1044         output.writeEnum(1, kind_.getNumber());
1045       }
1046       if (((bitField0_ & 0x00000002) == 0x00000002)) {
1047         output.writeBytes(2, username_);
1048       }
1049       if (((bitField0_ & 0x00000004) == 0x00000004)) {
1050         output.writeInt32(3, keyId_);
1051       }
1052       if (((bitField0_ & 0x00000008) == 0x00000008)) {
1053         output.writeInt64(4, issueDate_);
1054       }
1055       if (((bitField0_ & 0x00000010) == 0x00000010)) {
1056         output.writeInt64(5, expirationDate_);
1057       }
1058       if (((bitField0_ & 0x00000020) == 0x00000020)) {
1059         output.writeInt64(6, sequenceNumber_);
1060       }
1061       getUnknownFields().writeTo(output);
1062     }
1063 
1064     private int memoizedSerializedSize = -1;
1065     public int getSerializedSize() {
1066       int size = memoizedSerializedSize;
1067       if (size != -1) return size;
1068 
1069       size = 0;
1070       if (((bitField0_ & 0x00000001) == 0x00000001)) {
1071         size += com.google.protobuf.CodedOutputStream
1072           .computeEnumSize(1, kind_.getNumber());
1073       }
1074       if (((bitField0_ & 0x00000002) == 0x00000002)) {
1075         size += com.google.protobuf.CodedOutputStream
1076           .computeBytesSize(2, username_);
1077       }
1078       if (((bitField0_ & 0x00000004) == 0x00000004)) {
1079         size += com.google.protobuf.CodedOutputStream
1080           .computeInt32Size(3, keyId_);
1081       }
1082       if (((bitField0_ & 0x00000008) == 0x00000008)) {
1083         size += com.google.protobuf.CodedOutputStream
1084           .computeInt64Size(4, issueDate_);
1085       }
1086       if (((bitField0_ & 0x00000010) == 0x00000010)) {
1087         size += com.google.protobuf.CodedOutputStream
1088           .computeInt64Size(5, expirationDate_);
1089       }
1090       if (((bitField0_ & 0x00000020) == 0x00000020)) {
1091         size += com.google.protobuf.CodedOutputStream
1092           .computeInt64Size(6, sequenceNumber_);
1093       }
1094       size += getUnknownFields().getSerializedSize();
1095       memoizedSerializedSize = size;
1096       return size;
1097     }
1098 
1099     private static final long serialVersionUID = 0L;
1100     @java.lang.Override
1101     protected java.lang.Object writeReplace()
1102         throws java.io.ObjectStreamException {
1103       return super.writeReplace();
1104     }
1105 
1106     @java.lang.Override
1107     public boolean equals(final java.lang.Object obj) {
1108       if (obj == this) {
1109        return true;
1110       }
1111       if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier)) {
1112         return super.equals(obj);
1113       }
1114       org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier other = (org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier) obj;
1115 
1116       boolean result = true;
1117       result = result && (hasKind() == other.hasKind());
1118       if (hasKind()) {
1119         result = result &&
1120             (getKind() == other.getKind());
1121       }
1122       result = result && (hasUsername() == other.hasUsername());
1123       if (hasUsername()) {
1124         result = result && getUsername()
1125             .equals(other.getUsername());
1126       }
1127       result = result && (hasKeyId() == other.hasKeyId());
1128       if (hasKeyId()) {
1129         result = result && (getKeyId()
1130             == other.getKeyId());
1131       }
1132       result = result && (hasIssueDate() == other.hasIssueDate());
1133       if (hasIssueDate()) {
1134         result = result && (getIssueDate()
1135             == other.getIssueDate());
1136       }
1137       result = result && (hasExpirationDate() == other.hasExpirationDate());
1138       if (hasExpirationDate()) {
1139         result = result && (getExpirationDate()
1140             == other.getExpirationDate());
1141       }
1142       result = result && (hasSequenceNumber() == other.hasSequenceNumber());
1143       if (hasSequenceNumber()) {
1144         result = result && (getSequenceNumber()
1145             == other.getSequenceNumber());
1146       }
1147       result = result &&
1148           getUnknownFields().equals(other.getUnknownFields());
1149       return result;
1150     }
1151 
1152     private int memoizedHashCode = 0;
1153     @java.lang.Override
1154     public int hashCode() {
1155       if (memoizedHashCode != 0) {
1156         return memoizedHashCode;
1157       }
1158       int hash = 41;
1159       hash = (19 * hash) + getDescriptorForType().hashCode();
1160       if (hasKind()) {
1161         hash = (37 * hash) + KIND_FIELD_NUMBER;
1162         hash = (53 * hash) + hashEnum(getKind());
1163       }
1164       if (hasUsername()) {
1165         hash = (37 * hash) + USERNAME_FIELD_NUMBER;
1166         hash = (53 * hash) + getUsername().hashCode();
1167       }
1168       if (hasKeyId()) {
1169         hash = (37 * hash) + KEY_ID_FIELD_NUMBER;
1170         hash = (53 * hash) + getKeyId();
1171       }
1172       if (hasIssueDate()) {
1173         hash = (37 * hash) + ISSUE_DATE_FIELD_NUMBER;
1174         hash = (53 * hash) + hashLong(getIssueDate());
1175       }
1176       if (hasExpirationDate()) {
1177         hash = (37 * hash) + EXPIRATION_DATE_FIELD_NUMBER;
1178         hash = (53 * hash) + hashLong(getExpirationDate());
1179       }
1180       if (hasSequenceNumber()) {
1181         hash = (37 * hash) + SEQUENCE_NUMBER_FIELD_NUMBER;
1182         hash = (53 * hash) + hashLong(getSequenceNumber());
1183       }
1184       hash = (29 * hash) + getUnknownFields().hashCode();
1185       memoizedHashCode = hash;
1186       return hash;
1187     }
1188 
1189     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier parseFrom(
1190         com.google.protobuf.ByteString data)
1191         throws com.google.protobuf.InvalidProtocolBufferException {
1192       return PARSER.parseFrom(data);
1193     }
1194     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier parseFrom(
1195         com.google.protobuf.ByteString data,
1196         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1197         throws com.google.protobuf.InvalidProtocolBufferException {
1198       return PARSER.parseFrom(data, extensionRegistry);
1199     }
1200     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier parseFrom(byte[] data)
1201         throws com.google.protobuf.InvalidProtocolBufferException {
1202       return PARSER.parseFrom(data);
1203     }
1204     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier parseFrom(
1205         byte[] data,
1206         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1207         throws com.google.protobuf.InvalidProtocolBufferException {
1208       return PARSER.parseFrom(data, extensionRegistry);
1209     }
1210     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier parseFrom(java.io.InputStream input)
1211         throws java.io.IOException {
1212       return PARSER.parseFrom(input);
1213     }
1214     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier parseFrom(
1215         java.io.InputStream input,
1216         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1217         throws java.io.IOException {
1218       return PARSER.parseFrom(input, extensionRegistry);
1219     }
1220     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier parseDelimitedFrom(java.io.InputStream input)
1221         throws java.io.IOException {
1222       return PARSER.parseDelimitedFrom(input);
1223     }
1224     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier parseDelimitedFrom(
1225         java.io.InputStream input,
1226         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1227         throws java.io.IOException {
1228       return PARSER.parseDelimitedFrom(input, extensionRegistry);
1229     }
1230     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier parseFrom(
1231         com.google.protobuf.CodedInputStream input)
1232         throws java.io.IOException {
1233       return PARSER.parseFrom(input);
1234     }
1235     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier parseFrom(
1236         com.google.protobuf.CodedInputStream input,
1237         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1238         throws java.io.IOException {
1239       return PARSER.parseFrom(input, extensionRegistry);
1240     }
1241 
1242     public static Builder newBuilder() { return Builder.create(); }
1243     public Builder newBuilderForType() { return newBuilder(); }
1244     public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier prototype) {
1245       return newBuilder().mergeFrom(prototype);
1246     }
1247     public Builder toBuilder() { return newBuilder(this); }
1248 
1249     @java.lang.Override
1250     protected Builder newBuilderForType(
1251         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1252       Builder builder = new Builder(parent);
1253       return builder;
1254     }
1255     /**
1256      * Protobuf type {@code hbase.pb.TokenIdentifier}
1257      */
1258     public static final class Builder extends
1259         com.google.protobuf.GeneratedMessage.Builder<Builder>
1260        implements org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifierOrBuilder {
1261       public static final com.google.protobuf.Descriptors.Descriptor
1262           getDescriptor() {
1263         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_TokenIdentifier_descriptor;
1264       }
1265 
1266       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1267           internalGetFieldAccessorTable() {
1268         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_TokenIdentifier_fieldAccessorTable
1269             .ensureFieldAccessorsInitialized(
1270                 org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.class, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.Builder.class);
1271       }
1272 
1273       // Construct using org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.newBuilder()
1274       private Builder() {
1275         maybeForceBuilderInitialization();
1276       }
1277 
1278       private Builder(
1279           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1280         super(parent);
1281         maybeForceBuilderInitialization();
1282       }
1283       private void maybeForceBuilderInitialization() {
1284         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1285         }
1286       }
1287       private static Builder create() {
1288         return new Builder();
1289       }
1290 
1291       public Builder clear() {
1292         super.clear();
1293         kind_ = org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.Kind.HBASE_AUTH_TOKEN;
1294         bitField0_ = (bitField0_ & ~0x00000001);
1295         username_ = com.google.protobuf.ByteString.EMPTY;
1296         bitField0_ = (bitField0_ & ~0x00000002);
1297         keyId_ = 0;
1298         bitField0_ = (bitField0_ & ~0x00000004);
1299         issueDate_ = 0L;
1300         bitField0_ = (bitField0_ & ~0x00000008);
1301         expirationDate_ = 0L;
1302         bitField0_ = (bitField0_ & ~0x00000010);
1303         sequenceNumber_ = 0L;
1304         bitField0_ = (bitField0_ & ~0x00000020);
1305         return this;
1306       }
1307 
1308       public Builder clone() {
1309         return create().mergeFrom(buildPartial());
1310       }
1311 
1312       public com.google.protobuf.Descriptors.Descriptor
1313           getDescriptorForType() {
1314         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_TokenIdentifier_descriptor;
1315       }
1316 
1317       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier getDefaultInstanceForType() {
1318         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.getDefaultInstance();
1319       }
1320 
1321       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier build() {
1322         org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier result = buildPartial();
1323         if (!result.isInitialized()) {
1324           throw newUninitializedMessageException(result);
1325         }
1326         return result;
1327       }
1328 
1329       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier buildPartial() {
1330         org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier result = new org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier(this);
1331         int from_bitField0_ = bitField0_;
1332         int to_bitField0_ = 0;
1333         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1334           to_bitField0_ |= 0x00000001;
1335         }
1336         result.kind_ = kind_;
1337         if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
1338           to_bitField0_ |= 0x00000002;
1339         }
1340         result.username_ = username_;
1341         if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
1342           to_bitField0_ |= 0x00000004;
1343         }
1344         result.keyId_ = keyId_;
1345         if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
1346           to_bitField0_ |= 0x00000008;
1347         }
1348         result.issueDate_ = issueDate_;
1349         if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
1350           to_bitField0_ |= 0x00000010;
1351         }
1352         result.expirationDate_ = expirationDate_;
1353         if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
1354           to_bitField0_ |= 0x00000020;
1355         }
1356         result.sequenceNumber_ = sequenceNumber_;
1357         result.bitField0_ = to_bitField0_;
1358         onBuilt();
1359         return result;
1360       }
1361 
1362       public Builder mergeFrom(com.google.protobuf.Message other) {
1363         if (other instanceof org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier) {
1364           return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier)other);
1365         } else {
1366           super.mergeFrom(other);
1367           return this;
1368         }
1369       }
1370 
1371       public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier other) {
1372         if (other == org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.getDefaultInstance()) return this;
1373         if (other.hasKind()) {
1374           setKind(other.getKind());
1375         }
1376         if (other.hasUsername()) {
1377           setUsername(other.getUsername());
1378         }
1379         if (other.hasKeyId()) {
1380           setKeyId(other.getKeyId());
1381         }
1382         if (other.hasIssueDate()) {
1383           setIssueDate(other.getIssueDate());
1384         }
1385         if (other.hasExpirationDate()) {
1386           setExpirationDate(other.getExpirationDate());
1387         }
1388         if (other.hasSequenceNumber()) {
1389           setSequenceNumber(other.getSequenceNumber());
1390         }
1391         this.mergeUnknownFields(other.getUnknownFields());
1392         return this;
1393       }
1394 
1395       public final boolean isInitialized() {
1396         if (!hasKind()) {
1397           
1398           return false;
1399         }
1400         if (!hasUsername()) {
1401           
1402           return false;
1403         }
1404         if (!hasKeyId()) {
1405           
1406           return false;
1407         }
1408         return true;
1409       }
1410 
1411       public Builder mergeFrom(
1412           com.google.protobuf.CodedInputStream input,
1413           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1414           throws java.io.IOException {
1415         org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier parsedMessage = null;
1416         try {
1417           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1418         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1419           parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier) e.getUnfinishedMessage();
1420           throw e;
1421         } finally {
1422           if (parsedMessage != null) {
1423             mergeFrom(parsedMessage);
1424           }
1425         }
1426         return this;
1427       }
1428       private int bitField0_;
1429 
1430       // required .hbase.pb.TokenIdentifier.Kind kind = 1;
1431       private org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.Kind kind_ = org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.Kind.HBASE_AUTH_TOKEN;
1432       /**
1433        * <code>required .hbase.pb.TokenIdentifier.Kind kind = 1;</code>
1434        */
1435       public boolean hasKind() {
1436         return ((bitField0_ & 0x00000001) == 0x00000001);
1437       }
1438       /**
1439        * <code>required .hbase.pb.TokenIdentifier.Kind kind = 1;</code>
1440        */
1441       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.Kind getKind() {
1442         return kind_;
1443       }
1444       /**
1445        * <code>required .hbase.pb.TokenIdentifier.Kind kind = 1;</code>
1446        */
1447       public Builder setKind(org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.Kind value) {
1448         if (value == null) {
1449           throw new NullPointerException();
1450         }
1451         bitField0_ |= 0x00000001;
1452         kind_ = value;
1453         onChanged();
1454         return this;
1455       }
1456       /**
1457        * <code>required .hbase.pb.TokenIdentifier.Kind kind = 1;</code>
1458        */
1459       public Builder clearKind() {
1460         bitField0_ = (bitField0_ & ~0x00000001);
1461         kind_ = org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.Kind.HBASE_AUTH_TOKEN;
1462         onChanged();
1463         return this;
1464       }
1465 
1466       // required bytes username = 2;
1467       private com.google.protobuf.ByteString username_ = com.google.protobuf.ByteString.EMPTY;
1468       /**
1469        * <code>required bytes username = 2;</code>
1470        */
1471       public boolean hasUsername() {
1472         return ((bitField0_ & 0x00000002) == 0x00000002);
1473       }
1474       /**
1475        * <code>required bytes username = 2;</code>
1476        */
1477       public com.google.protobuf.ByteString getUsername() {
1478         return username_;
1479       }
1480       /**
1481        * <code>required bytes username = 2;</code>
1482        */
1483       public Builder setUsername(com.google.protobuf.ByteString value) {
1484         if (value == null) {
1485     throw new NullPointerException();
1486   }
1487   bitField0_ |= 0x00000002;
1488         username_ = value;
1489         onChanged();
1490         return this;
1491       }
1492       /**
1493        * <code>required bytes username = 2;</code>
1494        */
1495       public Builder clearUsername() {
1496         bitField0_ = (bitField0_ & ~0x00000002);
1497         username_ = getDefaultInstance().getUsername();
1498         onChanged();
1499         return this;
1500       }
1501 
1502       // required int32 key_id = 3;
1503       private int keyId_ ;
1504       /**
1505        * <code>required int32 key_id = 3;</code>
1506        */
1507       public boolean hasKeyId() {
1508         return ((bitField0_ & 0x00000004) == 0x00000004);
1509       }
1510       /**
1511        * <code>required int32 key_id = 3;</code>
1512        */
1513       public int getKeyId() {
1514         return keyId_;
1515       }
1516       /**
1517        * <code>required int32 key_id = 3;</code>
1518        */
1519       public Builder setKeyId(int value) {
1520         bitField0_ |= 0x00000004;
1521         keyId_ = value;
1522         onChanged();
1523         return this;
1524       }
1525       /**
1526        * <code>required int32 key_id = 3;</code>
1527        */
1528       public Builder clearKeyId() {
1529         bitField0_ = (bitField0_ & ~0x00000004);
1530         keyId_ = 0;
1531         onChanged();
1532         return this;
1533       }
1534 
1535       // optional int64 issue_date = 4;
1536       private long issueDate_ ;
1537       /**
1538        * <code>optional int64 issue_date = 4;</code>
1539        */
1540       public boolean hasIssueDate() {
1541         return ((bitField0_ & 0x00000008) == 0x00000008);
1542       }
1543       /**
1544        * <code>optional int64 issue_date = 4;</code>
1545        */
1546       public long getIssueDate() {
1547         return issueDate_;
1548       }
1549       /**
1550        * <code>optional int64 issue_date = 4;</code>
1551        */
1552       public Builder setIssueDate(long value) {
1553         bitField0_ |= 0x00000008;
1554         issueDate_ = value;
1555         onChanged();
1556         return this;
1557       }
1558       /**
1559        * <code>optional int64 issue_date = 4;</code>
1560        */
1561       public Builder clearIssueDate() {
1562         bitField0_ = (bitField0_ & ~0x00000008);
1563         issueDate_ = 0L;
1564         onChanged();
1565         return this;
1566       }
1567 
1568       // optional int64 expiration_date = 5;
1569       private long expirationDate_ ;
1570       /**
1571        * <code>optional int64 expiration_date = 5;</code>
1572        */
1573       public boolean hasExpirationDate() {
1574         return ((bitField0_ & 0x00000010) == 0x00000010);
1575       }
1576       /**
1577        * <code>optional int64 expiration_date = 5;</code>
1578        */
1579       public long getExpirationDate() {
1580         return expirationDate_;
1581       }
1582       /**
1583        * <code>optional int64 expiration_date = 5;</code>
1584        */
1585       public Builder setExpirationDate(long value) {
1586         bitField0_ |= 0x00000010;
1587         expirationDate_ = value;
1588         onChanged();
1589         return this;
1590       }
1591       /**
1592        * <code>optional int64 expiration_date = 5;</code>
1593        */
1594       public Builder clearExpirationDate() {
1595         bitField0_ = (bitField0_ & ~0x00000010);
1596         expirationDate_ = 0L;
1597         onChanged();
1598         return this;
1599       }
1600 
1601       // optional int64 sequence_number = 6;
1602       private long sequenceNumber_ ;
1603       /**
1604        * <code>optional int64 sequence_number = 6;</code>
1605        */
1606       public boolean hasSequenceNumber() {
1607         return ((bitField0_ & 0x00000020) == 0x00000020);
1608       }
1609       /**
1610        * <code>optional int64 sequence_number = 6;</code>
1611        */
1612       public long getSequenceNumber() {
1613         return sequenceNumber_;
1614       }
1615       /**
1616        * <code>optional int64 sequence_number = 6;</code>
1617        */
1618       public Builder setSequenceNumber(long value) {
1619         bitField0_ |= 0x00000020;
1620         sequenceNumber_ = value;
1621         onChanged();
1622         return this;
1623       }
1624       /**
1625        * <code>optional int64 sequence_number = 6;</code>
1626        */
1627       public Builder clearSequenceNumber() {
1628         bitField0_ = (bitField0_ & ~0x00000020);
1629         sequenceNumber_ = 0L;
1630         onChanged();
1631         return this;
1632       }
1633 
1634       // @@protoc_insertion_point(builder_scope:hbase.pb.TokenIdentifier)
1635     }
1636 
1637     static {
1638       defaultInstance = new TokenIdentifier(true);
1639       defaultInstance.initFields();
1640     }
1641 
1642     // @@protoc_insertion_point(class_scope:hbase.pb.TokenIdentifier)
1643   }
1644 
1645   public interface TokenOrBuilder
1646       extends com.google.protobuf.MessageOrBuilder {
1647 
1648     // optional bytes identifier = 1;
1649     /**
1650      * <code>optional bytes identifier = 1;</code>
1651      *
1652      * <pre>
1653      * the TokenIdentifier in serialized form
1654      * Note: we can't use the protobuf directly because the Hadoop Token class
1655      * only stores the serialized bytes
1656      * </pre>
1657      */
1658     boolean hasIdentifier();
1659     /**
1660      * <code>optional bytes identifier = 1;</code>
1661      *
1662      * <pre>
1663      * the TokenIdentifier in serialized form
1664      * Note: we can't use the protobuf directly because the Hadoop Token class
1665      * only stores the serialized bytes
1666      * </pre>
1667      */
1668     com.google.protobuf.ByteString getIdentifier();
1669 
1670     // optional bytes password = 2;
1671     /**
1672      * <code>optional bytes password = 2;</code>
1673      */
1674     boolean hasPassword();
1675     /**
1676      * <code>optional bytes password = 2;</code>
1677      */
1678     com.google.protobuf.ByteString getPassword();
1679 
1680     // optional bytes service = 3;
1681     /**
1682      * <code>optional bytes service = 3;</code>
1683      */
1684     boolean hasService();
1685     /**
1686      * <code>optional bytes service = 3;</code>
1687      */
1688     com.google.protobuf.ByteString getService();
1689   }
1690   /**
1691    * Protobuf type {@code hbase.pb.Token}
1692    *
1693    * <pre>
1694    * Serialization of the org.apache.hadoop.security.token.Token class
1695    * Note that this is a Hadoop class, so fields may change!
1696    * </pre>
1697    */
1698   public static final class Token extends
1699       com.google.protobuf.GeneratedMessage
1700       implements TokenOrBuilder {
1701     // Use Token.newBuilder() to construct.
1702     private Token(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1703       super(builder);
1704       this.unknownFields = builder.getUnknownFields();
1705     }
1706     private Token(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1707 
1708     private static final Token defaultInstance;
1709     public static Token getDefaultInstance() {
1710       return defaultInstance;
1711     }
1712 
1713     public Token getDefaultInstanceForType() {
1714       return defaultInstance;
1715     }
1716 
1717     private final com.google.protobuf.UnknownFieldSet unknownFields;
1718     @java.lang.Override
1719     public final com.google.protobuf.UnknownFieldSet
1720         getUnknownFields() {
1721       return this.unknownFields;
1722     }
1723     private Token(
1724         com.google.protobuf.CodedInputStream input,
1725         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1726         throws com.google.protobuf.InvalidProtocolBufferException {
1727       initFields();
1728       int mutable_bitField0_ = 0;
1729       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1730           com.google.protobuf.UnknownFieldSet.newBuilder();
1731       try {
1732         boolean done = false;
1733         while (!done) {
1734           int tag = input.readTag();
1735           switch (tag) {
1736             case 0:
1737               done = true;
1738               break;
1739             default: {
1740               if (!parseUnknownField(input, unknownFields,
1741                                      extensionRegistry, tag)) {
1742                 done = true;
1743               }
1744               break;
1745             }
1746             case 10: {
1747               bitField0_ |= 0x00000001;
1748               identifier_ = input.readBytes();
1749               break;
1750             }
1751             case 18: {
1752               bitField0_ |= 0x00000002;
1753               password_ = input.readBytes();
1754               break;
1755             }
1756             case 26: {
1757               bitField0_ |= 0x00000004;
1758               service_ = input.readBytes();
1759               break;
1760             }
1761           }
1762         }
1763       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1764         throw e.setUnfinishedMessage(this);
1765       } catch (java.io.IOException e) {
1766         throw new com.google.protobuf.InvalidProtocolBufferException(
1767             e.getMessage()).setUnfinishedMessage(this);
1768       } finally {
1769         this.unknownFields = unknownFields.build();
1770         makeExtensionsImmutable();
1771       }
1772     }
1773     public static final com.google.protobuf.Descriptors.Descriptor
1774         getDescriptor() {
1775       return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_Token_descriptor;
1776     }
1777 
1778     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1779         internalGetFieldAccessorTable() {
1780       return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_Token_fieldAccessorTable
1781           .ensureFieldAccessorsInitialized(
1782               org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.class, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.Builder.class);
1783     }
1784 
1785     public static com.google.protobuf.Parser<Token> PARSER =
1786         new com.google.protobuf.AbstractParser<Token>() {
1787       public Token parsePartialFrom(
1788           com.google.protobuf.CodedInputStream input,
1789           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1790           throws com.google.protobuf.InvalidProtocolBufferException {
1791         return new Token(input, extensionRegistry);
1792       }
1793     };
1794 
1795     @java.lang.Override
1796     public com.google.protobuf.Parser<Token> getParserForType() {
1797       return PARSER;
1798     }
1799 
1800     private int bitField0_;
1801     // optional bytes identifier = 1;
1802     public static final int IDENTIFIER_FIELD_NUMBER = 1;
1803     private com.google.protobuf.ByteString identifier_;
1804     /**
1805      * <code>optional bytes identifier = 1;</code>
1806      *
1807      * <pre>
1808      * the TokenIdentifier in serialized form
1809      * Note: we can't use the protobuf directly because the Hadoop Token class
1810      * only stores the serialized bytes
1811      * </pre>
1812      */
1813     public boolean hasIdentifier() {
1814       return ((bitField0_ & 0x00000001) == 0x00000001);
1815     }
1816     /**
1817      * <code>optional bytes identifier = 1;</code>
1818      *
1819      * <pre>
1820      * the TokenIdentifier in serialized form
1821      * Note: we can't use the protobuf directly because the Hadoop Token class
1822      * only stores the serialized bytes
1823      * </pre>
1824      */
1825     public com.google.protobuf.ByteString getIdentifier() {
1826       return identifier_;
1827     }
1828 
1829     // optional bytes password = 2;
1830     public static final int PASSWORD_FIELD_NUMBER = 2;
1831     private com.google.protobuf.ByteString password_;
1832     /**
1833      * <code>optional bytes password = 2;</code>
1834      */
1835     public boolean hasPassword() {
1836       return ((bitField0_ & 0x00000002) == 0x00000002);
1837     }
1838     /**
1839      * <code>optional bytes password = 2;</code>
1840      */
1841     public com.google.protobuf.ByteString getPassword() {
1842       return password_;
1843     }
1844 
1845     // optional bytes service = 3;
1846     public static final int SERVICE_FIELD_NUMBER = 3;
1847     private com.google.protobuf.ByteString service_;
1848     /**
1849      * <code>optional bytes service = 3;</code>
1850      */
1851     public boolean hasService() {
1852       return ((bitField0_ & 0x00000004) == 0x00000004);
1853     }
1854     /**
1855      * <code>optional bytes service = 3;</code>
1856      */
1857     public com.google.protobuf.ByteString getService() {
1858       return service_;
1859     }
1860 
1861     private void initFields() {
1862       identifier_ = com.google.protobuf.ByteString.EMPTY;
1863       password_ = com.google.protobuf.ByteString.EMPTY;
1864       service_ = com.google.protobuf.ByteString.EMPTY;
1865     }
1866     private byte memoizedIsInitialized = -1;
1867     public final boolean isInitialized() {
1868       byte isInitialized = memoizedIsInitialized;
1869       if (isInitialized != -1) return isInitialized == 1;
1870 
1871       memoizedIsInitialized = 1;
1872       return true;
1873     }
1874 
1875     public void writeTo(com.google.protobuf.CodedOutputStream output)
1876                         throws java.io.IOException {
1877       getSerializedSize();
1878       if (((bitField0_ & 0x00000001) == 0x00000001)) {
1879         output.writeBytes(1, identifier_);
1880       }
1881       if (((bitField0_ & 0x00000002) == 0x00000002)) {
1882         output.writeBytes(2, password_);
1883       }
1884       if (((bitField0_ & 0x00000004) == 0x00000004)) {
1885         output.writeBytes(3, service_);
1886       }
1887       getUnknownFields().writeTo(output);
1888     }
1889 
1890     private int memoizedSerializedSize = -1;
1891     public int getSerializedSize() {
1892       int size = memoizedSerializedSize;
1893       if (size != -1) return size;
1894 
1895       size = 0;
1896       if (((bitField0_ & 0x00000001) == 0x00000001)) {
1897         size += com.google.protobuf.CodedOutputStream
1898           .computeBytesSize(1, identifier_);
1899       }
1900       if (((bitField0_ & 0x00000002) == 0x00000002)) {
1901         size += com.google.protobuf.CodedOutputStream
1902           .computeBytesSize(2, password_);
1903       }
1904       if (((bitField0_ & 0x00000004) == 0x00000004)) {
1905         size += com.google.protobuf.CodedOutputStream
1906           .computeBytesSize(3, service_);
1907       }
1908       size += getUnknownFields().getSerializedSize();
1909       memoizedSerializedSize = size;
1910       return size;
1911     }
1912 
1913     private static final long serialVersionUID = 0L;
1914     @java.lang.Override
1915     protected java.lang.Object writeReplace()
1916         throws java.io.ObjectStreamException {
1917       return super.writeReplace();
1918     }
1919 
1920     @java.lang.Override
1921     public boolean equals(final java.lang.Object obj) {
1922       if (obj == this) {
1923        return true;
1924       }
1925       if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token)) {
1926         return super.equals(obj);
1927       }
1928       org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token other = (org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token) obj;
1929 
1930       boolean result = true;
1931       result = result && (hasIdentifier() == other.hasIdentifier());
1932       if (hasIdentifier()) {
1933         result = result && getIdentifier()
1934             .equals(other.getIdentifier());
1935       }
1936       result = result && (hasPassword() == other.hasPassword());
1937       if (hasPassword()) {
1938         result = result && getPassword()
1939             .equals(other.getPassword());
1940       }
1941       result = result && (hasService() == other.hasService());
1942       if (hasService()) {
1943         result = result && getService()
1944             .equals(other.getService());
1945       }
1946       result = result &&
1947           getUnknownFields().equals(other.getUnknownFields());
1948       return result;
1949     }
1950 
1951     private int memoizedHashCode = 0;
1952     @java.lang.Override
1953     public int hashCode() {
1954       if (memoizedHashCode != 0) {
1955         return memoizedHashCode;
1956       }
1957       int hash = 41;
1958       hash = (19 * hash) + getDescriptorForType().hashCode();
1959       if (hasIdentifier()) {
1960         hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER;
1961         hash = (53 * hash) + getIdentifier().hashCode();
1962       }
1963       if (hasPassword()) {
1964         hash = (37 * hash) + PASSWORD_FIELD_NUMBER;
1965         hash = (53 * hash) + getPassword().hashCode();
1966       }
1967       if (hasService()) {
1968         hash = (37 * hash) + SERVICE_FIELD_NUMBER;
1969         hash = (53 * hash) + getService().hashCode();
1970       }
1971       hash = (29 * hash) + getUnknownFields().hashCode();
1972       memoizedHashCode = hash;
1973       return hash;
1974     }
1975 
1976     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token parseFrom(
1977         com.google.protobuf.ByteString data)
1978         throws com.google.protobuf.InvalidProtocolBufferException {
1979       return PARSER.parseFrom(data);
1980     }
1981     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token parseFrom(
1982         com.google.protobuf.ByteString data,
1983         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1984         throws com.google.protobuf.InvalidProtocolBufferException {
1985       return PARSER.parseFrom(data, extensionRegistry);
1986     }
1987     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token parseFrom(byte[] data)
1988         throws com.google.protobuf.InvalidProtocolBufferException {
1989       return PARSER.parseFrom(data);
1990     }
1991     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token parseFrom(
1992         byte[] data,
1993         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1994         throws com.google.protobuf.InvalidProtocolBufferException {
1995       return PARSER.parseFrom(data, extensionRegistry);
1996     }
1997     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token parseFrom(java.io.InputStream input)
1998         throws java.io.IOException {
1999       return PARSER.parseFrom(input);
2000     }
2001     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token parseFrom(
2002         java.io.InputStream input,
2003         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2004         throws java.io.IOException {
2005       return PARSER.parseFrom(input, extensionRegistry);
2006     }
2007     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token parseDelimitedFrom(java.io.InputStream input)
2008         throws java.io.IOException {
2009       return PARSER.parseDelimitedFrom(input);
2010     }
2011     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token parseDelimitedFrom(
2012         java.io.InputStream input,
2013         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2014         throws java.io.IOException {
2015       return PARSER.parseDelimitedFrom(input, extensionRegistry);
2016     }
2017     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token parseFrom(
2018         com.google.protobuf.CodedInputStream input)
2019         throws java.io.IOException {
2020       return PARSER.parseFrom(input);
2021     }
2022     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token parseFrom(
2023         com.google.protobuf.CodedInputStream input,
2024         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2025         throws java.io.IOException {
2026       return PARSER.parseFrom(input, extensionRegistry);
2027     }
2028 
2029     public static Builder newBuilder() { return Builder.create(); }
2030     public Builder newBuilderForType() { return newBuilder(); }
2031     public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token prototype) {
2032       return newBuilder().mergeFrom(prototype);
2033     }
2034     public Builder toBuilder() { return newBuilder(this); }
2035 
2036     @java.lang.Override
2037     protected Builder newBuilderForType(
2038         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2039       Builder builder = new Builder(parent);
2040       return builder;
2041     }
2042     /**
2043      * Protobuf type {@code hbase.pb.Token}
2044      *
2045      * <pre>
2046      * Serialization of the org.apache.hadoop.security.token.Token class
2047      * Note that this is a Hadoop class, so fields may change!
2048      * </pre>
2049      */
2050     public static final class Builder extends
2051         com.google.protobuf.GeneratedMessage.Builder<Builder>
2052        implements org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenOrBuilder {
2053       public static final com.google.protobuf.Descriptors.Descriptor
2054           getDescriptor() {
2055         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_Token_descriptor;
2056       }
2057 
2058       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2059           internalGetFieldAccessorTable() {
2060         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_Token_fieldAccessorTable
2061             .ensureFieldAccessorsInitialized(
2062                 org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.class, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.Builder.class);
2063       }
2064 
2065       // Construct using org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.newBuilder()
2066       private Builder() {
2067         maybeForceBuilderInitialization();
2068       }
2069 
2070       private Builder(
2071           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2072         super(parent);
2073         maybeForceBuilderInitialization();
2074       }
2075       private void maybeForceBuilderInitialization() {
2076         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2077         }
2078       }
2079       private static Builder create() {
2080         return new Builder();
2081       }
2082 
2083       public Builder clear() {
2084         super.clear();
2085         identifier_ = com.google.protobuf.ByteString.EMPTY;
2086         bitField0_ = (bitField0_ & ~0x00000001);
2087         password_ = com.google.protobuf.ByteString.EMPTY;
2088         bitField0_ = (bitField0_ & ~0x00000002);
2089         service_ = com.google.protobuf.ByteString.EMPTY;
2090         bitField0_ = (bitField0_ & ~0x00000004);
2091         return this;
2092       }
2093 
2094       public Builder clone() {
2095         return create().mergeFrom(buildPartial());
2096       }
2097 
2098       public com.google.protobuf.Descriptors.Descriptor
2099           getDescriptorForType() {
2100         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_Token_descriptor;
2101       }
2102 
2103       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token getDefaultInstanceForType() {
2104         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.getDefaultInstance();
2105       }
2106 
2107       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token build() {
2108         org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token result = buildPartial();
2109         if (!result.isInitialized()) {
2110           throw newUninitializedMessageException(result);
2111         }
2112         return result;
2113       }
2114 
2115       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token buildPartial() {
2116         org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token result = new org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token(this);
2117         int from_bitField0_ = bitField0_;
2118         int to_bitField0_ = 0;
2119         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
2120           to_bitField0_ |= 0x00000001;
2121         }
2122         result.identifier_ = identifier_;
2123         if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
2124           to_bitField0_ |= 0x00000002;
2125         }
2126         result.password_ = password_;
2127         if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
2128           to_bitField0_ |= 0x00000004;
2129         }
2130         result.service_ = service_;
2131         result.bitField0_ = to_bitField0_;
2132         onBuilt();
2133         return result;
2134       }
2135 
2136       public Builder mergeFrom(com.google.protobuf.Message other) {
2137         if (other instanceof org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token) {
2138           return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token)other);
2139         } else {
2140           super.mergeFrom(other);
2141           return this;
2142         }
2143       }
2144 
2145       public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token other) {
2146         if (other == org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.getDefaultInstance()) return this;
2147         if (other.hasIdentifier()) {
2148           setIdentifier(other.getIdentifier());
2149         }
2150         if (other.hasPassword()) {
2151           setPassword(other.getPassword());
2152         }
2153         if (other.hasService()) {
2154           setService(other.getService());
2155         }
2156         this.mergeUnknownFields(other.getUnknownFields());
2157         return this;
2158       }
2159 
2160       public final boolean isInitialized() {
2161         return true;
2162       }
2163 
2164       public Builder mergeFrom(
2165           com.google.protobuf.CodedInputStream input,
2166           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2167           throws java.io.IOException {
2168         org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token parsedMessage = null;
2169         try {
2170           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2171         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2172           parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token) e.getUnfinishedMessage();
2173           throw e;
2174         } finally {
2175           if (parsedMessage != null) {
2176             mergeFrom(parsedMessage);
2177           }
2178         }
2179         return this;
2180       }
2181       private int bitField0_;
2182 
2183       // optional bytes identifier = 1;
2184       private com.google.protobuf.ByteString identifier_ = com.google.protobuf.ByteString.EMPTY;
2185       /**
2186        * <code>optional bytes identifier = 1;</code>
2187        *
2188        * <pre>
2189        * the TokenIdentifier in serialized form
2190        * Note: we can't use the protobuf directly because the Hadoop Token class
2191        * only stores the serialized bytes
2192        * </pre>
2193        */
2194       public boolean hasIdentifier() {
2195         return ((bitField0_ & 0x00000001) == 0x00000001);
2196       }
2197       /**
2198        * <code>optional bytes identifier = 1;</code>
2199        *
2200        * <pre>
2201        * the TokenIdentifier in serialized form
2202        * Note: we can't use the protobuf directly because the Hadoop Token class
2203        * only stores the serialized bytes
2204        * </pre>
2205        */
2206       public com.google.protobuf.ByteString getIdentifier() {
2207         return identifier_;
2208       }
2209       /**
2210        * <code>optional bytes identifier = 1;</code>
2211        *
2212        * <pre>
2213        * the TokenIdentifier in serialized form
2214        * Note: we can't use the protobuf directly because the Hadoop Token class
2215        * only stores the serialized bytes
2216        * </pre>
2217        */
2218       public Builder setIdentifier(com.google.protobuf.ByteString value) {
2219         if (value == null) {
2220     throw new NullPointerException();
2221   }
2222   bitField0_ |= 0x00000001;
2223         identifier_ = value;
2224         onChanged();
2225         return this;
2226       }
2227       /**
2228        * <code>optional bytes identifier = 1;</code>
2229        *
2230        * <pre>
2231        * the TokenIdentifier in serialized form
2232        * Note: we can't use the protobuf directly because the Hadoop Token class
2233        * only stores the serialized bytes
2234        * </pre>
2235        */
2236       public Builder clearIdentifier() {
2237         bitField0_ = (bitField0_ & ~0x00000001);
2238         identifier_ = getDefaultInstance().getIdentifier();
2239         onChanged();
2240         return this;
2241       }
2242 
2243       // optional bytes password = 2;
2244       private com.google.protobuf.ByteString password_ = com.google.protobuf.ByteString.EMPTY;
2245       /**
2246        * <code>optional bytes password = 2;</code>
2247        */
2248       public boolean hasPassword() {
2249         return ((bitField0_ & 0x00000002) == 0x00000002);
2250       }
2251       /**
2252        * <code>optional bytes password = 2;</code>
2253        */
2254       public com.google.protobuf.ByteString getPassword() {
2255         return password_;
2256       }
2257       /**
2258        * <code>optional bytes password = 2;</code>
2259        */
2260       public Builder setPassword(com.google.protobuf.ByteString value) {
2261         if (value == null) {
2262     throw new NullPointerException();
2263   }
2264   bitField0_ |= 0x00000002;
2265         password_ = value;
2266         onChanged();
2267         return this;
2268       }
2269       /**
2270        * <code>optional bytes password = 2;</code>
2271        */
2272       public Builder clearPassword() {
2273         bitField0_ = (bitField0_ & ~0x00000002);
2274         password_ = getDefaultInstance().getPassword();
2275         onChanged();
2276         return this;
2277       }
2278 
2279       // optional bytes service = 3;
2280       private com.google.protobuf.ByteString service_ = com.google.protobuf.ByteString.EMPTY;
2281       /**
2282        * <code>optional bytes service = 3;</code>
2283        */
2284       public boolean hasService() {
2285         return ((bitField0_ & 0x00000004) == 0x00000004);
2286       }
2287       /**
2288        * <code>optional bytes service = 3;</code>
2289        */
2290       public com.google.protobuf.ByteString getService() {
2291         return service_;
2292       }
2293       /**
2294        * <code>optional bytes service = 3;</code>
2295        */
2296       public Builder setService(com.google.protobuf.ByteString value) {
2297         if (value == null) {
2298     throw new NullPointerException();
2299   }
2300   bitField0_ |= 0x00000004;
2301         service_ = value;
2302         onChanged();
2303         return this;
2304       }
2305       /**
2306        * <code>optional bytes service = 3;</code>
2307        */
2308       public Builder clearService() {
2309         bitField0_ = (bitField0_ & ~0x00000004);
2310         service_ = getDefaultInstance().getService();
2311         onChanged();
2312         return this;
2313       }
2314 
2315       // @@protoc_insertion_point(builder_scope:hbase.pb.Token)
2316     }
2317 
2318     static {
2319       defaultInstance = new Token(true);
2320       defaultInstance.initFields();
2321     }
2322 
2323     // @@protoc_insertion_point(class_scope:hbase.pb.Token)
2324   }
2325 
2326   public interface GetAuthenticationTokenRequestOrBuilder
2327       extends com.google.protobuf.MessageOrBuilder {
2328   }
2329   /**
2330    * Protobuf type {@code hbase.pb.GetAuthenticationTokenRequest}
2331    *
2332    * <pre>
2333    * RPC request &amp; response messages
2334    * </pre>
2335    */
2336   public static final class GetAuthenticationTokenRequest extends
2337       com.google.protobuf.GeneratedMessage
2338       implements GetAuthenticationTokenRequestOrBuilder {
2339     // Use GetAuthenticationTokenRequest.newBuilder() to construct.
2340     private GetAuthenticationTokenRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2341       super(builder);
2342       this.unknownFields = builder.getUnknownFields();
2343     }
2344     private GetAuthenticationTokenRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2345 
2346     private static final GetAuthenticationTokenRequest defaultInstance;
2347     public static GetAuthenticationTokenRequest getDefaultInstance() {
2348       return defaultInstance;
2349     }
2350 
2351     public GetAuthenticationTokenRequest getDefaultInstanceForType() {
2352       return defaultInstance;
2353     }
2354 
2355     private final com.google.protobuf.UnknownFieldSet unknownFields;
2356     @java.lang.Override
2357     public final com.google.protobuf.UnknownFieldSet
2358         getUnknownFields() {
2359       return this.unknownFields;
2360     }
2361     private GetAuthenticationTokenRequest(
2362         com.google.protobuf.CodedInputStream input,
2363         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2364         throws com.google.protobuf.InvalidProtocolBufferException {
2365       initFields();
2366       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2367           com.google.protobuf.UnknownFieldSet.newBuilder();
2368       try {
2369         boolean done = false;
2370         while (!done) {
2371           int tag = input.readTag();
2372           switch (tag) {
2373             case 0:
2374               done = true;
2375               break;
2376             default: {
2377               if (!parseUnknownField(input, unknownFields,
2378                                      extensionRegistry, tag)) {
2379                 done = true;
2380               }
2381               break;
2382             }
2383           }
2384         }
2385       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2386         throw e.setUnfinishedMessage(this);
2387       } catch (java.io.IOException e) {
2388         throw new com.google.protobuf.InvalidProtocolBufferException(
2389             e.getMessage()).setUnfinishedMessage(this);
2390       } finally {
2391         this.unknownFields = unknownFields.build();
2392         makeExtensionsImmutable();
2393       }
2394     }
2395     public static final com.google.protobuf.Descriptors.Descriptor
2396         getDescriptor() {
2397       return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_GetAuthenticationTokenRequest_descriptor;
2398     }
2399 
2400     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2401         internalGetFieldAccessorTable() {
2402       return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_GetAuthenticationTokenRequest_fieldAccessorTable
2403           .ensureFieldAccessorsInitialized(
2404               org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest.class, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest.Builder.class);
2405     }
2406 
2407     public static com.google.protobuf.Parser<GetAuthenticationTokenRequest> PARSER =
2408         new com.google.protobuf.AbstractParser<GetAuthenticationTokenRequest>() {
2409       public GetAuthenticationTokenRequest parsePartialFrom(
2410           com.google.protobuf.CodedInputStream input,
2411           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2412           throws com.google.protobuf.InvalidProtocolBufferException {
2413         return new GetAuthenticationTokenRequest(input, extensionRegistry);
2414       }
2415     };
2416 
2417     @java.lang.Override
2418     public com.google.protobuf.Parser<GetAuthenticationTokenRequest> getParserForType() {
2419       return PARSER;
2420     }
2421 
2422     private void initFields() {
2423     }
2424     private byte memoizedIsInitialized = -1;
2425     public final boolean isInitialized() {
2426       byte isInitialized = memoizedIsInitialized;
2427       if (isInitialized != -1) return isInitialized == 1;
2428 
2429       memoizedIsInitialized = 1;
2430       return true;
2431     }
2432 
2433     public void writeTo(com.google.protobuf.CodedOutputStream output)
2434                         throws java.io.IOException {
2435       getSerializedSize();
2436       getUnknownFields().writeTo(output);
2437     }
2438 
2439     private int memoizedSerializedSize = -1;
2440     public int getSerializedSize() {
2441       int size = memoizedSerializedSize;
2442       if (size != -1) return size;
2443 
2444       size = 0;
2445       size += getUnknownFields().getSerializedSize();
2446       memoizedSerializedSize = size;
2447       return size;
2448     }
2449 
2450     private static final long serialVersionUID = 0L;
2451     @java.lang.Override
2452     protected java.lang.Object writeReplace()
2453         throws java.io.ObjectStreamException {
2454       return super.writeReplace();
2455     }
2456 
2457     @java.lang.Override
2458     public boolean equals(final java.lang.Object obj) {
2459       if (obj == this) {
2460        return true;
2461       }
2462       if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest)) {
2463         return super.equals(obj);
2464       }
2465       org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest other = (org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest) obj;
2466 
2467       boolean result = true;
2468       result = result &&
2469           getUnknownFields().equals(other.getUnknownFields());
2470       return result;
2471     }
2472 
2473     private int memoizedHashCode = 0;
2474     @java.lang.Override
2475     public int hashCode() {
2476       if (memoizedHashCode != 0) {
2477         return memoizedHashCode;
2478       }
2479       int hash = 41;
2480       hash = (19 * hash) + getDescriptorForType().hashCode();
2481       hash = (29 * hash) + getUnknownFields().hashCode();
2482       memoizedHashCode = hash;
2483       return hash;
2484     }
2485 
2486     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest parseFrom(
2487         com.google.protobuf.ByteString data)
2488         throws com.google.protobuf.InvalidProtocolBufferException {
2489       return PARSER.parseFrom(data);
2490     }
2491     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest parseFrom(
2492         com.google.protobuf.ByteString data,
2493         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2494         throws com.google.protobuf.InvalidProtocolBufferException {
2495       return PARSER.parseFrom(data, extensionRegistry);
2496     }
2497     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest parseFrom(byte[] data)
2498         throws com.google.protobuf.InvalidProtocolBufferException {
2499       return PARSER.parseFrom(data);
2500     }
2501     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest parseFrom(
2502         byte[] data,
2503         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2504         throws com.google.protobuf.InvalidProtocolBufferException {
2505       return PARSER.parseFrom(data, extensionRegistry);
2506     }
2507     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest parseFrom(java.io.InputStream input)
2508         throws java.io.IOException {
2509       return PARSER.parseFrom(input);
2510     }
2511     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest parseFrom(
2512         java.io.InputStream input,
2513         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2514         throws java.io.IOException {
2515       return PARSER.parseFrom(input, extensionRegistry);
2516     }
2517     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest parseDelimitedFrom(java.io.InputStream input)
2518         throws java.io.IOException {
2519       return PARSER.parseDelimitedFrom(input);
2520     }
2521     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest parseDelimitedFrom(
2522         java.io.InputStream input,
2523         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2524         throws java.io.IOException {
2525       return PARSER.parseDelimitedFrom(input, extensionRegistry);
2526     }
2527     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest parseFrom(
2528         com.google.protobuf.CodedInputStream input)
2529         throws java.io.IOException {
2530       return PARSER.parseFrom(input);
2531     }
2532     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest parseFrom(
2533         com.google.protobuf.CodedInputStream input,
2534         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2535         throws java.io.IOException {
2536       return PARSER.parseFrom(input, extensionRegistry);
2537     }
2538 
2539     public static Builder newBuilder() { return Builder.create(); }
2540     public Builder newBuilderForType() { return newBuilder(); }
2541     public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest prototype) {
2542       return newBuilder().mergeFrom(prototype);
2543     }
2544     public Builder toBuilder() { return newBuilder(this); }
2545 
2546     @java.lang.Override
2547     protected Builder newBuilderForType(
2548         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2549       Builder builder = new Builder(parent);
2550       return builder;
2551     }
2552     /**
2553      * Protobuf type {@code hbase.pb.GetAuthenticationTokenRequest}
2554      *
2555      * <pre>
2556      * RPC request &amp; response messages
2557      * </pre>
2558      */
2559     public static final class Builder extends
2560         com.google.protobuf.GeneratedMessage.Builder<Builder>
2561        implements org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequestOrBuilder {
2562       public static final com.google.protobuf.Descriptors.Descriptor
2563           getDescriptor() {
2564         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_GetAuthenticationTokenRequest_descriptor;
2565       }
2566 
2567       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2568           internalGetFieldAccessorTable() {
2569         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_GetAuthenticationTokenRequest_fieldAccessorTable
2570             .ensureFieldAccessorsInitialized(
2571                 org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest.class, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest.Builder.class);
2572       }
2573 
2574       // Construct using org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest.newBuilder()
2575       private Builder() {
2576         maybeForceBuilderInitialization();
2577       }
2578 
2579       private Builder(
2580           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2581         super(parent);
2582         maybeForceBuilderInitialization();
2583       }
2584       private void maybeForceBuilderInitialization() {
2585         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2586         }
2587       }
2588       private static Builder create() {
2589         return new Builder();
2590       }
2591 
2592       public Builder clear() {
2593         super.clear();
2594         return this;
2595       }
2596 
2597       public Builder clone() {
2598         return create().mergeFrom(buildPartial());
2599       }
2600 
2601       public com.google.protobuf.Descriptors.Descriptor
2602           getDescriptorForType() {
2603         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_GetAuthenticationTokenRequest_descriptor;
2604       }
2605 
2606       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest getDefaultInstanceForType() {
2607         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest.getDefaultInstance();
2608       }
2609 
2610       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest build() {
2611         org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest result = buildPartial();
2612         if (!result.isInitialized()) {
2613           throw newUninitializedMessageException(result);
2614         }
2615         return result;
2616       }
2617 
2618       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest buildPartial() {
2619         org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest result = new org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest(this);
2620         onBuilt();
2621         return result;
2622       }
2623 
2624       public Builder mergeFrom(com.google.protobuf.Message other) {
2625         if (other instanceof org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest) {
2626           return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest)other);
2627         } else {
2628           super.mergeFrom(other);
2629           return this;
2630         }
2631       }
2632 
2633       public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest other) {
2634         if (other == org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest.getDefaultInstance()) return this;
2635         this.mergeUnknownFields(other.getUnknownFields());
2636         return this;
2637       }
2638 
2639       public final boolean isInitialized() {
2640         return true;
2641       }
2642 
2643       public Builder mergeFrom(
2644           com.google.protobuf.CodedInputStream input,
2645           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2646           throws java.io.IOException {
2647         org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest parsedMessage = null;
2648         try {
2649           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2650         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2651           parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest) e.getUnfinishedMessage();
2652           throw e;
2653         } finally {
2654           if (parsedMessage != null) {
2655             mergeFrom(parsedMessage);
2656           }
2657         }
2658         return this;
2659       }
2660 
2661       // @@protoc_insertion_point(builder_scope:hbase.pb.GetAuthenticationTokenRequest)
2662     }
2663 
2664     static {
2665       defaultInstance = new GetAuthenticationTokenRequest(true);
2666       defaultInstance.initFields();
2667     }
2668 
2669     // @@protoc_insertion_point(class_scope:hbase.pb.GetAuthenticationTokenRequest)
2670   }
2671 
2672   public interface GetAuthenticationTokenResponseOrBuilder
2673       extends com.google.protobuf.MessageOrBuilder {
2674 
2675     // optional .hbase.pb.Token token = 1;
2676     /**
2677      * <code>optional .hbase.pb.Token token = 1;</code>
2678      */
2679     boolean hasToken();
2680     /**
2681      * <code>optional .hbase.pb.Token token = 1;</code>
2682      */
2683     org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token getToken();
2684     /**
2685      * <code>optional .hbase.pb.Token token = 1;</code>
2686      */
2687     org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenOrBuilder getTokenOrBuilder();
2688   }
2689   /**
2690    * Protobuf type {@code hbase.pb.GetAuthenticationTokenResponse}
2691    */
2692   public static final class GetAuthenticationTokenResponse extends
2693       com.google.protobuf.GeneratedMessage
2694       implements GetAuthenticationTokenResponseOrBuilder {
2695     // Use GetAuthenticationTokenResponse.newBuilder() to construct.
2696     private GetAuthenticationTokenResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2697       super(builder);
2698       this.unknownFields = builder.getUnknownFields();
2699     }
2700     private GetAuthenticationTokenResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2701 
2702     private static final GetAuthenticationTokenResponse defaultInstance;
2703     public static GetAuthenticationTokenResponse getDefaultInstance() {
2704       return defaultInstance;
2705     }
2706 
2707     public GetAuthenticationTokenResponse getDefaultInstanceForType() {
2708       return defaultInstance;
2709     }
2710 
2711     private final com.google.protobuf.UnknownFieldSet unknownFields;
2712     @java.lang.Override
2713     public final com.google.protobuf.UnknownFieldSet
2714         getUnknownFields() {
2715       return this.unknownFields;
2716     }
2717     private GetAuthenticationTokenResponse(
2718         com.google.protobuf.CodedInputStream input,
2719         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2720         throws com.google.protobuf.InvalidProtocolBufferException {
2721       initFields();
2722       int mutable_bitField0_ = 0;
2723       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2724           com.google.protobuf.UnknownFieldSet.newBuilder();
2725       try {
2726         boolean done = false;
2727         while (!done) {
2728           int tag = input.readTag();
2729           switch (tag) {
2730             case 0:
2731               done = true;
2732               break;
2733             default: {
2734               if (!parseUnknownField(input, unknownFields,
2735                                      extensionRegistry, tag)) {
2736                 done = true;
2737               }
2738               break;
2739             }
2740             case 10: {
2741               org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.Builder subBuilder = null;
2742               if (((bitField0_ & 0x00000001) == 0x00000001)) {
2743                 subBuilder = token_.toBuilder();
2744               }
2745               token_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.PARSER, extensionRegistry);
2746               if (subBuilder != null) {
2747                 subBuilder.mergeFrom(token_);
2748                 token_ = subBuilder.buildPartial();
2749               }
2750               bitField0_ |= 0x00000001;
2751               break;
2752             }
2753           }
2754         }
2755       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2756         throw e.setUnfinishedMessage(this);
2757       } catch (java.io.IOException e) {
2758         throw new com.google.protobuf.InvalidProtocolBufferException(
2759             e.getMessage()).setUnfinishedMessage(this);
2760       } finally {
2761         this.unknownFields = unknownFields.build();
2762         makeExtensionsImmutable();
2763       }
2764     }
2765     public static final com.google.protobuf.Descriptors.Descriptor
2766         getDescriptor() {
2767       return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_GetAuthenticationTokenResponse_descriptor;
2768     }
2769 
2770     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2771         internalGetFieldAccessorTable() {
2772       return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_GetAuthenticationTokenResponse_fieldAccessorTable
2773           .ensureFieldAccessorsInitialized(
2774               org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse.class, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse.Builder.class);
2775     }
2776 
2777     public static com.google.protobuf.Parser<GetAuthenticationTokenResponse> PARSER =
2778         new com.google.protobuf.AbstractParser<GetAuthenticationTokenResponse>() {
2779       public GetAuthenticationTokenResponse parsePartialFrom(
2780           com.google.protobuf.CodedInputStream input,
2781           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2782           throws com.google.protobuf.InvalidProtocolBufferException {
2783         return new GetAuthenticationTokenResponse(input, extensionRegistry);
2784       }
2785     };
2786 
2787     @java.lang.Override
2788     public com.google.protobuf.Parser<GetAuthenticationTokenResponse> getParserForType() {
2789       return PARSER;
2790     }
2791 
2792     private int bitField0_;
2793     // optional .hbase.pb.Token token = 1;
2794     public static final int TOKEN_FIELD_NUMBER = 1;
2795     private org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token token_;
2796     /**
2797      * <code>optional .hbase.pb.Token token = 1;</code>
2798      */
2799     public boolean hasToken() {
2800       return ((bitField0_ & 0x00000001) == 0x00000001);
2801     }
2802     /**
2803      * <code>optional .hbase.pb.Token token = 1;</code>
2804      */
2805     public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token getToken() {
2806       return token_;
2807     }
2808     /**
2809      * <code>optional .hbase.pb.Token token = 1;</code>
2810      */
2811     public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenOrBuilder getTokenOrBuilder() {
2812       return token_;
2813     }
2814 
2815     private void initFields() {
2816       token_ = org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.getDefaultInstance();
2817     }
2818     private byte memoizedIsInitialized = -1;
2819     public final boolean isInitialized() {
2820       byte isInitialized = memoizedIsInitialized;
2821       if (isInitialized != -1) return isInitialized == 1;
2822 
2823       memoizedIsInitialized = 1;
2824       return true;
2825     }
2826 
2827     public void writeTo(com.google.protobuf.CodedOutputStream output)
2828                         throws java.io.IOException {
2829       getSerializedSize();
2830       if (((bitField0_ & 0x00000001) == 0x00000001)) {
2831         output.writeMessage(1, token_);
2832       }
2833       getUnknownFields().writeTo(output);
2834     }
2835 
2836     private int memoizedSerializedSize = -1;
2837     public int getSerializedSize() {
2838       int size = memoizedSerializedSize;
2839       if (size != -1) return size;
2840 
2841       size = 0;
2842       if (((bitField0_ & 0x00000001) == 0x00000001)) {
2843         size += com.google.protobuf.CodedOutputStream
2844           .computeMessageSize(1, token_);
2845       }
2846       size += getUnknownFields().getSerializedSize();
2847       memoizedSerializedSize = size;
2848       return size;
2849     }
2850 
2851     private static final long serialVersionUID = 0L;
2852     @java.lang.Override
2853     protected java.lang.Object writeReplace()
2854         throws java.io.ObjectStreamException {
2855       return super.writeReplace();
2856     }
2857 
2858     @java.lang.Override
2859     public boolean equals(final java.lang.Object obj) {
2860       if (obj == this) {
2861        return true;
2862       }
2863       if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse)) {
2864         return super.equals(obj);
2865       }
2866       org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse other = (org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse) obj;
2867 
2868       boolean result = true;
2869       result = result && (hasToken() == other.hasToken());
2870       if (hasToken()) {
2871         result = result && getToken()
2872             .equals(other.getToken());
2873       }
2874       result = result &&
2875           getUnknownFields().equals(other.getUnknownFields());
2876       return result;
2877     }
2878 
2879     private int memoizedHashCode = 0;
2880     @java.lang.Override
2881     public int hashCode() {
2882       if (memoizedHashCode != 0) {
2883         return memoizedHashCode;
2884       }
2885       int hash = 41;
2886       hash = (19 * hash) + getDescriptorForType().hashCode();
2887       if (hasToken()) {
2888         hash = (37 * hash) + TOKEN_FIELD_NUMBER;
2889         hash = (53 * hash) + getToken().hashCode();
2890       }
2891       hash = (29 * hash) + getUnknownFields().hashCode();
2892       memoizedHashCode = hash;
2893       return hash;
2894     }
2895 
2896     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse parseFrom(
2897         com.google.protobuf.ByteString data)
2898         throws com.google.protobuf.InvalidProtocolBufferException {
2899       return PARSER.parseFrom(data);
2900     }
2901     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse parseFrom(
2902         com.google.protobuf.ByteString data,
2903         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2904         throws com.google.protobuf.InvalidProtocolBufferException {
2905       return PARSER.parseFrom(data, extensionRegistry);
2906     }
2907     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse parseFrom(byte[] data)
2908         throws com.google.protobuf.InvalidProtocolBufferException {
2909       return PARSER.parseFrom(data);
2910     }
2911     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse parseFrom(
2912         byte[] data,
2913         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2914         throws com.google.protobuf.InvalidProtocolBufferException {
2915       return PARSER.parseFrom(data, extensionRegistry);
2916     }
2917     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse parseFrom(java.io.InputStream input)
2918         throws java.io.IOException {
2919       return PARSER.parseFrom(input);
2920     }
2921     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse parseFrom(
2922         java.io.InputStream input,
2923         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2924         throws java.io.IOException {
2925       return PARSER.parseFrom(input, extensionRegistry);
2926     }
2927     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse parseDelimitedFrom(java.io.InputStream input)
2928         throws java.io.IOException {
2929       return PARSER.parseDelimitedFrom(input);
2930     }
2931     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse parseDelimitedFrom(
2932         java.io.InputStream input,
2933         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2934         throws java.io.IOException {
2935       return PARSER.parseDelimitedFrom(input, extensionRegistry);
2936     }
2937     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse parseFrom(
2938         com.google.protobuf.CodedInputStream input)
2939         throws java.io.IOException {
2940       return PARSER.parseFrom(input);
2941     }
2942     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse parseFrom(
2943         com.google.protobuf.CodedInputStream input,
2944         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2945         throws java.io.IOException {
2946       return PARSER.parseFrom(input, extensionRegistry);
2947     }
2948 
2949     public static Builder newBuilder() { return Builder.create(); }
2950     public Builder newBuilderForType() { return newBuilder(); }
2951     public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse prototype) {
2952       return newBuilder().mergeFrom(prototype);
2953     }
2954     public Builder toBuilder() { return newBuilder(this); }
2955 
2956     @java.lang.Override
2957     protected Builder newBuilderForType(
2958         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2959       Builder builder = new Builder(parent);
2960       return builder;
2961     }
2962     /**
2963      * Protobuf type {@code hbase.pb.GetAuthenticationTokenResponse}
2964      */
2965     public static final class Builder extends
2966         com.google.protobuf.GeneratedMessage.Builder<Builder>
2967        implements org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponseOrBuilder {
2968       public static final com.google.protobuf.Descriptors.Descriptor
2969           getDescriptor() {
2970         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_GetAuthenticationTokenResponse_descriptor;
2971       }
2972 
2973       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2974           internalGetFieldAccessorTable() {
2975         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_GetAuthenticationTokenResponse_fieldAccessorTable
2976             .ensureFieldAccessorsInitialized(
2977                 org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse.class, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse.Builder.class);
2978       }
2979 
2980       // Construct using org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse.newBuilder()
2981       private Builder() {
2982         maybeForceBuilderInitialization();
2983       }
2984 
2985       private Builder(
2986           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2987         super(parent);
2988         maybeForceBuilderInitialization();
2989       }
2990       private void maybeForceBuilderInitialization() {
2991         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2992           getTokenFieldBuilder();
2993         }
2994       }
2995       private static Builder create() {
2996         return new Builder();
2997       }
2998 
2999       public Builder clear() {
3000         super.clear();
3001         if (tokenBuilder_ == null) {
3002           token_ = org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.getDefaultInstance();
3003         } else {
3004           tokenBuilder_.clear();
3005         }
3006         bitField0_ = (bitField0_ & ~0x00000001);
3007         return this;
3008       }
3009 
3010       public Builder clone() {
3011         return create().mergeFrom(buildPartial());
3012       }
3013 
3014       public com.google.protobuf.Descriptors.Descriptor
3015           getDescriptorForType() {
3016         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_GetAuthenticationTokenResponse_descriptor;
3017       }
3018 
3019       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse getDefaultInstanceForType() {
3020         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse.getDefaultInstance();
3021       }
3022 
3023       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse build() {
3024         org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse result = buildPartial();
3025         if (!result.isInitialized()) {
3026           throw newUninitializedMessageException(result);
3027         }
3028         return result;
3029       }
3030 
3031       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse buildPartial() {
3032         org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse result = new org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse(this);
3033         int from_bitField0_ = bitField0_;
3034         int to_bitField0_ = 0;
3035         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
3036           to_bitField0_ |= 0x00000001;
3037         }
3038         if (tokenBuilder_ == null) {
3039           result.token_ = token_;
3040         } else {
3041           result.token_ = tokenBuilder_.build();
3042         }
3043         result.bitField0_ = to_bitField0_;
3044         onBuilt();
3045         return result;
3046       }
3047 
3048       public Builder mergeFrom(com.google.protobuf.Message other) {
3049         if (other instanceof org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse) {
3050           return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse)other);
3051         } else {
3052           super.mergeFrom(other);
3053           return this;
3054         }
3055       }
3056 
3057       public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse other) {
3058         if (other == org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse.getDefaultInstance()) return this;
3059         if (other.hasToken()) {
3060           mergeToken(other.getToken());
3061         }
3062         this.mergeUnknownFields(other.getUnknownFields());
3063         return this;
3064       }
3065 
3066       public final boolean isInitialized() {
3067         return true;
3068       }
3069 
3070       public Builder mergeFrom(
3071           com.google.protobuf.CodedInputStream input,
3072           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3073           throws java.io.IOException {
3074         org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse parsedMessage = null;
3075         try {
3076           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
3077         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3078           parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse) e.getUnfinishedMessage();
3079           throw e;
3080         } finally {
3081           if (parsedMessage != null) {
3082             mergeFrom(parsedMessage);
3083           }
3084         }
3085         return this;
3086       }
3087       private int bitField0_;
3088 
3089       // optional .hbase.pb.Token token = 1;
3090       private org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token token_ = org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.getDefaultInstance();
3091       private com.google.protobuf.SingleFieldBuilder<
3092           org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.Builder, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenOrBuilder> tokenBuilder_;
3093       /**
3094        * <code>optional .hbase.pb.Token token = 1;</code>
3095        */
3096       public boolean hasToken() {
3097         return ((bitField0_ & 0x00000001) == 0x00000001);
3098       }
3099       /**
3100        * <code>optional .hbase.pb.Token token = 1;</code>
3101        */
3102       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token getToken() {
3103         if (tokenBuilder_ == null) {
3104           return token_;
3105         } else {
3106           return tokenBuilder_.getMessage();
3107         }
3108       }
3109       /**
3110        * <code>optional .hbase.pb.Token token = 1;</code>
3111        */
3112       public Builder setToken(org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token value) {
3113         if (tokenBuilder_ == null) {
3114           if (value == null) {
3115             throw new NullPointerException();
3116           }
3117           token_ = value;
3118           onChanged();
3119         } else {
3120           tokenBuilder_.setMessage(value);
3121         }
3122         bitField0_ |= 0x00000001;
3123         return this;
3124       }
3125       /**
3126        * <code>optional .hbase.pb.Token token = 1;</code>
3127        */
3128       public Builder setToken(
3129           org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.Builder builderForValue) {
3130         if (tokenBuilder_ == null) {
3131           token_ = builderForValue.build();
3132           onChanged();
3133         } else {
3134           tokenBuilder_.setMessage(builderForValue.build());
3135         }
3136         bitField0_ |= 0x00000001;
3137         return this;
3138       }
3139       /**
3140        * <code>optional .hbase.pb.Token token = 1;</code>
3141        */
3142       public Builder mergeToken(org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token value) {
3143         if (tokenBuilder_ == null) {
3144           if (((bitField0_ & 0x00000001) == 0x00000001) &&
3145               token_ != org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.getDefaultInstance()) {
3146             token_ =
3147               org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.newBuilder(token_).mergeFrom(value).buildPartial();
3148           } else {
3149             token_ = value;
3150           }
3151           onChanged();
3152         } else {
3153           tokenBuilder_.mergeFrom(value);
3154         }
3155         bitField0_ |= 0x00000001;
3156         return this;
3157       }
3158       /**
3159        * <code>optional .hbase.pb.Token token = 1;</code>
3160        */
3161       public Builder clearToken() {
3162         if (tokenBuilder_ == null) {
3163           token_ = org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.getDefaultInstance();
3164           onChanged();
3165         } else {
3166           tokenBuilder_.clear();
3167         }
3168         bitField0_ = (bitField0_ & ~0x00000001);
3169         return this;
3170       }
3171       /**
3172        * <code>optional .hbase.pb.Token token = 1;</code>
3173        */
3174       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.Builder getTokenBuilder() {
3175         bitField0_ |= 0x00000001;
3176         onChanged();
3177         return getTokenFieldBuilder().getBuilder();
3178       }
3179       /**
3180        * <code>optional .hbase.pb.Token token = 1;</code>
3181        */
3182       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenOrBuilder getTokenOrBuilder() {
3183         if (tokenBuilder_ != null) {
3184           return tokenBuilder_.getMessageOrBuilder();
3185         } else {
3186           return token_;
3187         }
3188       }
3189       /**
3190        * <code>optional .hbase.pb.Token token = 1;</code>
3191        */
3192       private com.google.protobuf.SingleFieldBuilder<
3193           org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.Builder, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenOrBuilder> 
3194           getTokenFieldBuilder() {
3195         if (tokenBuilder_ == null) {
3196           tokenBuilder_ = new com.google.protobuf.SingleFieldBuilder<
3197               org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.Builder, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenOrBuilder>(
3198                   token_,
3199                   getParentForChildren(),
3200                   isClean());
3201           token_ = null;
3202         }
3203         return tokenBuilder_;
3204       }
3205 
3206       // @@protoc_insertion_point(builder_scope:hbase.pb.GetAuthenticationTokenResponse)
3207     }
3208 
3209     static {
3210       defaultInstance = new GetAuthenticationTokenResponse(true);
3211       defaultInstance.initFields();
3212     }
3213 
3214     // @@protoc_insertion_point(class_scope:hbase.pb.GetAuthenticationTokenResponse)
3215   }
3216 
3217   public interface WhoAmIRequestOrBuilder
3218       extends com.google.protobuf.MessageOrBuilder {
3219   }
3220   /**
3221    * Protobuf type {@code hbase.pb.WhoAmIRequest}
3222    */
3223   public static final class WhoAmIRequest extends
3224       com.google.protobuf.GeneratedMessage
3225       implements WhoAmIRequestOrBuilder {
3226     // Use WhoAmIRequest.newBuilder() to construct.
3227     private WhoAmIRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
3228       super(builder);
3229       this.unknownFields = builder.getUnknownFields();
3230     }
3231     private WhoAmIRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
3232 
3233     private static final WhoAmIRequest defaultInstance;
3234     public static WhoAmIRequest getDefaultInstance() {
3235       return defaultInstance;
3236     }
3237 
3238     public WhoAmIRequest getDefaultInstanceForType() {
3239       return defaultInstance;
3240     }
3241 
3242     private final com.google.protobuf.UnknownFieldSet unknownFields;
3243     @java.lang.Override
3244     public final com.google.protobuf.UnknownFieldSet
3245         getUnknownFields() {
3246       return this.unknownFields;
3247     }
3248     private WhoAmIRequest(
3249         com.google.protobuf.CodedInputStream input,
3250         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3251         throws com.google.protobuf.InvalidProtocolBufferException {
3252       initFields();
3253       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
3254           com.google.protobuf.UnknownFieldSet.newBuilder();
3255       try {
3256         boolean done = false;
3257         while (!done) {
3258           int tag = input.readTag();
3259           switch (tag) {
3260             case 0:
3261               done = true;
3262               break;
3263             default: {
3264               if (!parseUnknownField(input, unknownFields,
3265                                      extensionRegistry, tag)) {
3266                 done = true;
3267               }
3268               break;
3269             }
3270           }
3271         }
3272       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3273         throw e.setUnfinishedMessage(this);
3274       } catch (java.io.IOException e) {
3275         throw new com.google.protobuf.InvalidProtocolBufferException(
3276             e.getMessage()).setUnfinishedMessage(this);
3277       } finally {
3278         this.unknownFields = unknownFields.build();
3279         makeExtensionsImmutable();
3280       }
3281     }
3282     public static final com.google.protobuf.Descriptors.Descriptor
3283         getDescriptor() {
3284       return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_WhoAmIRequest_descriptor;
3285     }
3286 
3287     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3288         internalGetFieldAccessorTable() {
3289       return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_WhoAmIRequest_fieldAccessorTable
3290           .ensureFieldAccessorsInitialized(
3291               org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest.class, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest.Builder.class);
3292     }
3293 
3294     public static com.google.protobuf.Parser<WhoAmIRequest> PARSER =
3295         new com.google.protobuf.AbstractParser<WhoAmIRequest>() {
3296       public WhoAmIRequest parsePartialFrom(
3297           com.google.protobuf.CodedInputStream input,
3298           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3299           throws com.google.protobuf.InvalidProtocolBufferException {
3300         return new WhoAmIRequest(input, extensionRegistry);
3301       }
3302     };
3303 
3304     @java.lang.Override
3305     public com.google.protobuf.Parser<WhoAmIRequest> getParserForType() {
3306       return PARSER;
3307     }
3308 
3309     private void initFields() {
3310     }
3311     private byte memoizedIsInitialized = -1;
3312     public final boolean isInitialized() {
3313       byte isInitialized = memoizedIsInitialized;
3314       if (isInitialized != -1) return isInitialized == 1;
3315 
3316       memoizedIsInitialized = 1;
3317       return true;
3318     }
3319 
3320     public void writeTo(com.google.protobuf.CodedOutputStream output)
3321                         throws java.io.IOException {
3322       getSerializedSize();
3323       getUnknownFields().writeTo(output);
3324     }
3325 
3326     private int memoizedSerializedSize = -1;
3327     public int getSerializedSize() {
3328       int size = memoizedSerializedSize;
3329       if (size != -1) return size;
3330 
3331       size = 0;
3332       size += getUnknownFields().getSerializedSize();
3333       memoizedSerializedSize = size;
3334       return size;
3335     }
3336 
3337     private static final long serialVersionUID = 0L;
3338     @java.lang.Override
3339     protected java.lang.Object writeReplace()
3340         throws java.io.ObjectStreamException {
3341       return super.writeReplace();
3342     }
3343 
3344     @java.lang.Override
3345     public boolean equals(final java.lang.Object obj) {
3346       if (obj == this) {
3347        return true;
3348       }
3349       if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest)) {
3350         return super.equals(obj);
3351       }
3352       org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest other = (org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest) obj;
3353 
3354       boolean result = true;
3355       result = result &&
3356           getUnknownFields().equals(other.getUnknownFields());
3357       return result;
3358     }
3359 
3360     private int memoizedHashCode = 0;
3361     @java.lang.Override
3362     public int hashCode() {
3363       if (memoizedHashCode != 0) {
3364         return memoizedHashCode;
3365       }
3366       int hash = 41;
3367       hash = (19 * hash) + getDescriptorForType().hashCode();
3368       hash = (29 * hash) + getUnknownFields().hashCode();
3369       memoizedHashCode = hash;
3370       return hash;
3371     }
3372 
3373     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest parseFrom(
3374         com.google.protobuf.ByteString data)
3375         throws com.google.protobuf.InvalidProtocolBufferException {
3376       return PARSER.parseFrom(data);
3377     }
3378     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest parseFrom(
3379         com.google.protobuf.ByteString data,
3380         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3381         throws com.google.protobuf.InvalidProtocolBufferException {
3382       return PARSER.parseFrom(data, extensionRegistry);
3383     }
3384     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest parseFrom(byte[] data)
3385         throws com.google.protobuf.InvalidProtocolBufferException {
3386       return PARSER.parseFrom(data);
3387     }
3388     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest parseFrom(
3389         byte[] data,
3390         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3391         throws com.google.protobuf.InvalidProtocolBufferException {
3392       return PARSER.parseFrom(data, extensionRegistry);
3393     }
3394     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest parseFrom(java.io.InputStream input)
3395         throws java.io.IOException {
3396       return PARSER.parseFrom(input);
3397     }
3398     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest parseFrom(
3399         java.io.InputStream input,
3400         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3401         throws java.io.IOException {
3402       return PARSER.parseFrom(input, extensionRegistry);
3403     }
3404     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest parseDelimitedFrom(java.io.InputStream input)
3405         throws java.io.IOException {
3406       return PARSER.parseDelimitedFrom(input);
3407     }
3408     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest parseDelimitedFrom(
3409         java.io.InputStream input,
3410         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3411         throws java.io.IOException {
3412       return PARSER.parseDelimitedFrom(input, extensionRegistry);
3413     }
3414     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest parseFrom(
3415         com.google.protobuf.CodedInputStream input)
3416         throws java.io.IOException {
3417       return PARSER.parseFrom(input);
3418     }
3419     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest parseFrom(
3420         com.google.protobuf.CodedInputStream input,
3421         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3422         throws java.io.IOException {
3423       return PARSER.parseFrom(input, extensionRegistry);
3424     }
3425 
3426     public static Builder newBuilder() { return Builder.create(); }
3427     public Builder newBuilderForType() { return newBuilder(); }
3428     public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest prototype) {
3429       return newBuilder().mergeFrom(prototype);
3430     }
3431     public Builder toBuilder() { return newBuilder(this); }
3432 
3433     @java.lang.Override
3434     protected Builder newBuilderForType(
3435         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3436       Builder builder = new Builder(parent);
3437       return builder;
3438     }
3439     /**
3440      * Protobuf type {@code hbase.pb.WhoAmIRequest}
3441      */
3442     public static final class Builder extends
3443         com.google.protobuf.GeneratedMessage.Builder<Builder>
3444        implements org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequestOrBuilder {
3445       public static final com.google.protobuf.Descriptors.Descriptor
3446           getDescriptor() {
3447         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_WhoAmIRequest_descriptor;
3448       }
3449 
3450       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3451           internalGetFieldAccessorTable() {
3452         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_WhoAmIRequest_fieldAccessorTable
3453             .ensureFieldAccessorsInitialized(
3454                 org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest.class, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest.Builder.class);
3455       }
3456 
3457       // Construct using org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest.newBuilder()
3458       private Builder() {
3459         maybeForceBuilderInitialization();
3460       }
3461 
3462       private Builder(
3463           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3464         super(parent);
3465         maybeForceBuilderInitialization();
3466       }
3467       private void maybeForceBuilderInitialization() {
3468         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
3469         }
3470       }
3471       private static Builder create() {
3472         return new Builder();
3473       }
3474 
3475       public Builder clear() {
3476         super.clear();
3477         return this;
3478       }
3479 
3480       public Builder clone() {
3481         return create().mergeFrom(buildPartial());
3482       }
3483 
3484       public com.google.protobuf.Descriptors.Descriptor
3485           getDescriptorForType() {
3486         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_WhoAmIRequest_descriptor;
3487       }
3488 
3489       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest getDefaultInstanceForType() {
3490         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest.getDefaultInstance();
3491       }
3492 
3493       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest build() {
3494         org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest result = buildPartial();
3495         if (!result.isInitialized()) {
3496           throw newUninitializedMessageException(result);
3497         }
3498         return result;
3499       }
3500 
3501       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest buildPartial() {
3502         org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest result = new org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest(this);
3503         onBuilt();
3504         return result;
3505       }
3506 
3507       public Builder mergeFrom(com.google.protobuf.Message other) {
3508         if (other instanceof org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest) {
3509           return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest)other);
3510         } else {
3511           super.mergeFrom(other);
3512           return this;
3513         }
3514       }
3515 
3516       public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest other) {
3517         if (other == org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest.getDefaultInstance()) return this;
3518         this.mergeUnknownFields(other.getUnknownFields());
3519         return this;
3520       }
3521 
3522       public final boolean isInitialized() {
3523         return true;
3524       }
3525 
3526       public Builder mergeFrom(
3527           com.google.protobuf.CodedInputStream input,
3528           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3529           throws java.io.IOException {
3530         org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest parsedMessage = null;
3531         try {
3532           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
3533         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3534           parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest) e.getUnfinishedMessage();
3535           throw e;
3536         } finally {
3537           if (parsedMessage != null) {
3538             mergeFrom(parsedMessage);
3539           }
3540         }
3541         return this;
3542       }
3543 
3544       // @@protoc_insertion_point(builder_scope:hbase.pb.WhoAmIRequest)
3545     }
3546 
3547     static {
3548       defaultInstance = new WhoAmIRequest(true);
3549       defaultInstance.initFields();
3550     }
3551 
3552     // @@protoc_insertion_point(class_scope:hbase.pb.WhoAmIRequest)
3553   }
3554 
3555   public interface WhoAmIResponseOrBuilder
3556       extends com.google.protobuf.MessageOrBuilder {
3557 
3558     // optional string username = 1;
3559     /**
3560      * <code>optional string username = 1;</code>
3561      */
3562     boolean hasUsername();
3563     /**
3564      * <code>optional string username = 1;</code>
3565      */
3566     java.lang.String getUsername();
3567     /**
3568      * <code>optional string username = 1;</code>
3569      */
3570     com.google.protobuf.ByteString
3571         getUsernameBytes();
3572 
3573     // optional string auth_method = 2;
3574     /**
3575      * <code>optional string auth_method = 2;</code>
3576      */
3577     boolean hasAuthMethod();
3578     /**
3579      * <code>optional string auth_method = 2;</code>
3580      */
3581     java.lang.String getAuthMethod();
3582     /**
3583      * <code>optional string auth_method = 2;</code>
3584      */
3585     com.google.protobuf.ByteString
3586         getAuthMethodBytes();
3587   }
3588   /**
3589    * Protobuf type {@code hbase.pb.WhoAmIResponse}
3590    */
3591   public static final class WhoAmIResponse extends
3592       com.google.protobuf.GeneratedMessage
3593       implements WhoAmIResponseOrBuilder {
3594     // Use WhoAmIResponse.newBuilder() to construct.
3595     private WhoAmIResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
3596       super(builder);
3597       this.unknownFields = builder.getUnknownFields();
3598     }
3599     private WhoAmIResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
3600 
3601     private static final WhoAmIResponse defaultInstance;
3602     public static WhoAmIResponse getDefaultInstance() {
3603       return defaultInstance;
3604     }
3605 
3606     public WhoAmIResponse getDefaultInstanceForType() {
3607       return defaultInstance;
3608     }
3609 
3610     private final com.google.protobuf.UnknownFieldSet unknownFields;
3611     @java.lang.Override
3612     public final com.google.protobuf.UnknownFieldSet
3613         getUnknownFields() {
3614       return this.unknownFields;
3615     }
3616     private WhoAmIResponse(
3617         com.google.protobuf.CodedInputStream input,
3618         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3619         throws com.google.protobuf.InvalidProtocolBufferException {
3620       initFields();
3621       int mutable_bitField0_ = 0;
3622       com.google.protobuf.UnknownFieldSet.Builder unknownFields =
3623           com.google.protobuf.UnknownFieldSet.newBuilder();
3624       try {
3625         boolean done = false;
3626         while (!done) {
3627           int tag = input.readTag();
3628           switch (tag) {
3629             case 0:
3630               done = true;
3631               break;
3632             default: {
3633               if (!parseUnknownField(input, unknownFields,
3634                                      extensionRegistry, tag)) {
3635                 done = true;
3636               }
3637               break;
3638             }
3639             case 10: {
3640               bitField0_ |= 0x00000001;
3641               username_ = input.readBytes();
3642               break;
3643             }
3644             case 18: {
3645               bitField0_ |= 0x00000002;
3646               authMethod_ = input.readBytes();
3647               break;
3648             }
3649           }
3650         }
3651       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3652         throw e.setUnfinishedMessage(this);
3653       } catch (java.io.IOException e) {
3654         throw new com.google.protobuf.InvalidProtocolBufferException(
3655             e.getMessage()).setUnfinishedMessage(this);
3656       } finally {
3657         this.unknownFields = unknownFields.build();
3658         makeExtensionsImmutable();
3659       }
3660     }
3661     public static final com.google.protobuf.Descriptors.Descriptor
3662         getDescriptor() {
3663       return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_WhoAmIResponse_descriptor;
3664     }
3665 
3666     protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3667         internalGetFieldAccessorTable() {
3668       return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_WhoAmIResponse_fieldAccessorTable
3669           .ensureFieldAccessorsInitialized(
3670               org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse.class, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse.Builder.class);
3671     }
3672 
3673     public static com.google.protobuf.Parser<WhoAmIResponse> PARSER =
3674         new com.google.protobuf.AbstractParser<WhoAmIResponse>() {
3675       public WhoAmIResponse parsePartialFrom(
3676           com.google.protobuf.CodedInputStream input,
3677           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3678           throws com.google.protobuf.InvalidProtocolBufferException {
3679         return new WhoAmIResponse(input, extensionRegistry);
3680       }
3681     };
3682 
3683     @java.lang.Override
3684     public com.google.protobuf.Parser<WhoAmIResponse> getParserForType() {
3685       return PARSER;
3686     }
3687 
3688     private int bitField0_;
3689     // optional string username = 1;
3690     public static final int USERNAME_FIELD_NUMBER = 1;
3691     private java.lang.Object username_;
3692     /**
3693      * <code>optional string username = 1;</code>
3694      */
3695     public boolean hasUsername() {
3696       return ((bitField0_ & 0x00000001) == 0x00000001);
3697     }
3698     /**
3699      * <code>optional string username = 1;</code>
3700      */
3701     public java.lang.String getUsername() {
3702       java.lang.Object ref = username_;
3703       if (ref instanceof java.lang.String) {
3704         return (java.lang.String) ref;
3705       } else {
3706         com.google.protobuf.ByteString bs = 
3707             (com.google.protobuf.ByteString) ref;
3708         java.lang.String s = bs.toStringUtf8();
3709         if (bs.isValidUtf8()) {
3710           username_ = s;
3711         }
3712         return s;
3713       }
3714     }
3715     /**
3716      * <code>optional string username = 1;</code>
3717      */
3718     public com.google.protobuf.ByteString
3719         getUsernameBytes() {
3720       java.lang.Object ref = username_;
3721       if (ref instanceof java.lang.String) {
3722         com.google.protobuf.ByteString b = 
3723             com.google.protobuf.ByteString.copyFromUtf8(
3724                 (java.lang.String) ref);
3725         username_ = b;
3726         return b;
3727       } else {
3728         return (com.google.protobuf.ByteString) ref;
3729       }
3730     }
3731 
3732     // optional string auth_method = 2;
3733     public static final int AUTH_METHOD_FIELD_NUMBER = 2;
3734     private java.lang.Object authMethod_;
3735     /**
3736      * <code>optional string auth_method = 2;</code>
3737      */
3738     public boolean hasAuthMethod() {
3739       return ((bitField0_ & 0x00000002) == 0x00000002);
3740     }
3741     /**
3742      * <code>optional string auth_method = 2;</code>
3743      */
3744     public java.lang.String getAuthMethod() {
3745       java.lang.Object ref = authMethod_;
3746       if (ref instanceof java.lang.String) {
3747         return (java.lang.String) ref;
3748       } else {
3749         com.google.protobuf.ByteString bs = 
3750             (com.google.protobuf.ByteString) ref;
3751         java.lang.String s = bs.toStringUtf8();
3752         if (bs.isValidUtf8()) {
3753           authMethod_ = s;
3754         }
3755         return s;
3756       }
3757     }
3758     /**
3759      * <code>optional string auth_method = 2;</code>
3760      */
3761     public com.google.protobuf.ByteString
3762         getAuthMethodBytes() {
3763       java.lang.Object ref = authMethod_;
3764       if (ref instanceof java.lang.String) {
3765         com.google.protobuf.ByteString b = 
3766             com.google.protobuf.ByteString.copyFromUtf8(
3767                 (java.lang.String) ref);
3768         authMethod_ = b;
3769         return b;
3770       } else {
3771         return (com.google.protobuf.ByteString) ref;
3772       }
3773     }
3774 
3775     private void initFields() {
3776       username_ = "";
3777       authMethod_ = "";
3778     }
3779     private byte memoizedIsInitialized = -1;
3780     public final boolean isInitialized() {
3781       byte isInitialized = memoizedIsInitialized;
3782       if (isInitialized != -1) return isInitialized == 1;
3783 
3784       memoizedIsInitialized = 1;
3785       return true;
3786     }
3787 
3788     public void writeTo(com.google.protobuf.CodedOutputStream output)
3789                         throws java.io.IOException {
3790       getSerializedSize();
3791       if (((bitField0_ & 0x00000001) == 0x00000001)) {
3792         output.writeBytes(1, getUsernameBytes());
3793       }
3794       if (((bitField0_ & 0x00000002) == 0x00000002)) {
3795         output.writeBytes(2, getAuthMethodBytes());
3796       }
3797       getUnknownFields().writeTo(output);
3798     }
3799 
3800     private int memoizedSerializedSize = -1;
3801     public int getSerializedSize() {
3802       int size = memoizedSerializedSize;
3803       if (size != -1) return size;
3804 
3805       size = 0;
3806       if (((bitField0_ & 0x00000001) == 0x00000001)) {
3807         size += com.google.protobuf.CodedOutputStream
3808           .computeBytesSize(1, getUsernameBytes());
3809       }
3810       if (((bitField0_ & 0x00000002) == 0x00000002)) {
3811         size += com.google.protobuf.CodedOutputStream
3812           .computeBytesSize(2, getAuthMethodBytes());
3813       }
3814       size += getUnknownFields().getSerializedSize();
3815       memoizedSerializedSize = size;
3816       return size;
3817     }
3818 
3819     private static final long serialVersionUID = 0L;
3820     @java.lang.Override
3821     protected java.lang.Object writeReplace()
3822         throws java.io.ObjectStreamException {
3823       return super.writeReplace();
3824     }
3825 
3826     @java.lang.Override
3827     public boolean equals(final java.lang.Object obj) {
3828       if (obj == this) {
3829        return true;
3830       }
3831       if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse)) {
3832         return super.equals(obj);
3833       }
3834       org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse other = (org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse) obj;
3835 
3836       boolean result = true;
3837       result = result && (hasUsername() == other.hasUsername());
3838       if (hasUsername()) {
3839         result = result && getUsername()
3840             .equals(other.getUsername());
3841       }
3842       result = result && (hasAuthMethod() == other.hasAuthMethod());
3843       if (hasAuthMethod()) {
3844         result = result && getAuthMethod()
3845             .equals(other.getAuthMethod());
3846       }
3847       result = result &&
3848           getUnknownFields().equals(other.getUnknownFields());
3849       return result;
3850     }
3851 
3852     private int memoizedHashCode = 0;
3853     @java.lang.Override
3854     public int hashCode() {
3855       if (memoizedHashCode != 0) {
3856         return memoizedHashCode;
3857       }
3858       int hash = 41;
3859       hash = (19 * hash) + getDescriptorForType().hashCode();
3860       if (hasUsername()) {
3861         hash = (37 * hash) + USERNAME_FIELD_NUMBER;
3862         hash = (53 * hash) + getUsername().hashCode();
3863       }
3864       if (hasAuthMethod()) {
3865         hash = (37 * hash) + AUTH_METHOD_FIELD_NUMBER;
3866         hash = (53 * hash) + getAuthMethod().hashCode();
3867       }
3868       hash = (29 * hash) + getUnknownFields().hashCode();
3869       memoizedHashCode = hash;
3870       return hash;
3871     }
3872 
3873     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse parseFrom(
3874         com.google.protobuf.ByteString data)
3875         throws com.google.protobuf.InvalidProtocolBufferException {
3876       return PARSER.parseFrom(data);
3877     }
3878     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse parseFrom(
3879         com.google.protobuf.ByteString data,
3880         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3881         throws com.google.protobuf.InvalidProtocolBufferException {
3882       return PARSER.parseFrom(data, extensionRegistry);
3883     }
3884     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse parseFrom(byte[] data)
3885         throws com.google.protobuf.InvalidProtocolBufferException {
3886       return PARSER.parseFrom(data);
3887     }
3888     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse parseFrom(
3889         byte[] data,
3890         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3891         throws com.google.protobuf.InvalidProtocolBufferException {
3892       return PARSER.parseFrom(data, extensionRegistry);
3893     }
3894     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse parseFrom(java.io.InputStream input)
3895         throws java.io.IOException {
3896       return PARSER.parseFrom(input);
3897     }
3898     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse parseFrom(
3899         java.io.InputStream input,
3900         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3901         throws java.io.IOException {
3902       return PARSER.parseFrom(input, extensionRegistry);
3903     }
3904     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse parseDelimitedFrom(java.io.InputStream input)
3905         throws java.io.IOException {
3906       return PARSER.parseDelimitedFrom(input);
3907     }
3908     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse parseDelimitedFrom(
3909         java.io.InputStream input,
3910         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3911         throws java.io.IOException {
3912       return PARSER.parseDelimitedFrom(input, extensionRegistry);
3913     }
3914     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse parseFrom(
3915         com.google.protobuf.CodedInputStream input)
3916         throws java.io.IOException {
3917       return PARSER.parseFrom(input);
3918     }
3919     public static org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse parseFrom(
3920         com.google.protobuf.CodedInputStream input,
3921         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3922         throws java.io.IOException {
3923       return PARSER.parseFrom(input, extensionRegistry);
3924     }
3925 
3926     public static Builder newBuilder() { return Builder.create(); }
3927     public Builder newBuilderForType() { return newBuilder(); }
3928     public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse prototype) {
3929       return newBuilder().mergeFrom(prototype);
3930     }
3931     public Builder toBuilder() { return newBuilder(this); }
3932 
3933     @java.lang.Override
3934     protected Builder newBuilderForType(
3935         com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3936       Builder builder = new Builder(parent);
3937       return builder;
3938     }
3939     /**
3940      * Protobuf type {@code hbase.pb.WhoAmIResponse}
3941      */
3942     public static final class Builder extends
3943         com.google.protobuf.GeneratedMessage.Builder<Builder>
3944        implements org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponseOrBuilder {
3945       public static final com.google.protobuf.Descriptors.Descriptor
3946           getDescriptor() {
3947         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_WhoAmIResponse_descriptor;
3948       }
3949 
3950       protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3951           internalGetFieldAccessorTable() {
3952         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_WhoAmIResponse_fieldAccessorTable
3953             .ensureFieldAccessorsInitialized(
3954                 org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse.class, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse.Builder.class);
3955       }
3956 
3957       // Construct using org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse.newBuilder()
3958       private Builder() {
3959         maybeForceBuilderInitialization();
3960       }
3961 
3962       private Builder(
3963           com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3964         super(parent);
3965         maybeForceBuilderInitialization();
3966       }
3967       private void maybeForceBuilderInitialization() {
3968         if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
3969         }
3970       }
3971       private static Builder create() {
3972         return new Builder();
3973       }
3974 
3975       public Builder clear() {
3976         super.clear();
3977         username_ = "";
3978         bitField0_ = (bitField0_ & ~0x00000001);
3979         authMethod_ = "";
3980         bitField0_ = (bitField0_ & ~0x00000002);
3981         return this;
3982       }
3983 
3984       public Builder clone() {
3985         return create().mergeFrom(buildPartial());
3986       }
3987 
3988       public com.google.protobuf.Descriptors.Descriptor
3989           getDescriptorForType() {
3990         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_WhoAmIResponse_descriptor;
3991       }
3992 
3993       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse getDefaultInstanceForType() {
3994         return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse.getDefaultInstance();
3995       }
3996 
3997       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse build() {
3998         org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse result = buildPartial();
3999         if (!result.isInitialized()) {
4000           throw newUninitializedMessageException(result);
4001         }
4002         return result;
4003       }
4004 
4005       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse buildPartial() {
4006         org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse result = new org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse(this);
4007         int from_bitField0_ = bitField0_;
4008         int to_bitField0_ = 0;
4009         if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
4010           to_bitField0_ |= 0x00000001;
4011         }
4012         result.username_ = username_;
4013         if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
4014           to_bitField0_ |= 0x00000002;
4015         }
4016         result.authMethod_ = authMethod_;
4017         result.bitField0_ = to_bitField0_;
4018         onBuilt();
4019         return result;
4020       }
4021 
4022       public Builder mergeFrom(com.google.protobuf.Message other) {
4023         if (other instanceof org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse) {
4024           return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse)other);
4025         } else {
4026           super.mergeFrom(other);
4027           return this;
4028         }
4029       }
4030 
4031       public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse other) {
4032         if (other == org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse.getDefaultInstance()) return this;
4033         if (other.hasUsername()) {
4034           bitField0_ |= 0x00000001;
4035           username_ = other.username_;
4036           onChanged();
4037         }
4038         if (other.hasAuthMethod()) {
4039           bitField0_ |= 0x00000002;
4040           authMethod_ = other.authMethod_;
4041           onChanged();
4042         }
4043         this.mergeUnknownFields(other.getUnknownFields());
4044         return this;
4045       }
4046 
4047       public final boolean isInitialized() {
4048         return true;
4049       }
4050 
4051       public Builder mergeFrom(
4052           com.google.protobuf.CodedInputStream input,
4053           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4054           throws java.io.IOException {
4055         org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse parsedMessage = null;
4056         try {
4057           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
4058         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
4059           parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse) e.getUnfinishedMessage();
4060           throw e;
4061         } finally {
4062           if (parsedMessage != null) {
4063             mergeFrom(parsedMessage);
4064           }
4065         }
4066         return this;
4067       }
4068       private int bitField0_;
4069 
4070       // optional string username = 1;
4071       private java.lang.Object username_ = "";
4072       /**
4073        * <code>optional string username = 1;</code>
4074        */
4075       public boolean hasUsername() {
4076         return ((bitField0_ & 0x00000001) == 0x00000001);
4077       }
4078       /**
4079        * <code>optional string username = 1;</code>
4080        */
4081       public java.lang.String getUsername() {
4082         java.lang.Object ref = username_;
4083         if (!(ref instanceof java.lang.String)) {
4084           java.lang.String s = ((com.google.protobuf.ByteString) ref)
4085               .toStringUtf8();
4086           username_ = s;
4087           return s;
4088         } else {
4089           return (java.lang.String) ref;
4090         }
4091       }
4092       /**
4093        * <code>optional string username = 1;</code>
4094        */
4095       public com.google.protobuf.ByteString
4096           getUsernameBytes() {
4097         java.lang.Object ref = username_;
4098         if (ref instanceof String) {
4099           com.google.protobuf.ByteString b = 
4100               com.google.protobuf.ByteString.copyFromUtf8(
4101                   (java.lang.String) ref);
4102           username_ = b;
4103           return b;
4104         } else {
4105           return (com.google.protobuf.ByteString) ref;
4106         }
4107       }
4108       /**
4109        * <code>optional string username = 1;</code>
4110        */
4111       public Builder setUsername(
4112           java.lang.String value) {
4113         if (value == null) {
4114     throw new NullPointerException();
4115   }
4116   bitField0_ |= 0x00000001;
4117         username_ = value;
4118         onChanged();
4119         return this;
4120       }
4121       /**
4122        * <code>optional string username = 1;</code>
4123        */
4124       public Builder clearUsername() {
4125         bitField0_ = (bitField0_ & ~0x00000001);
4126         username_ = getDefaultInstance().getUsername();
4127         onChanged();
4128         return this;
4129       }
4130       /**
4131        * <code>optional string username = 1;</code>
4132        */
4133       public Builder setUsernameBytes(
4134           com.google.protobuf.ByteString value) {
4135         if (value == null) {
4136     throw new NullPointerException();
4137   }
4138   bitField0_ |= 0x00000001;
4139         username_ = value;
4140         onChanged();
4141         return this;
4142       }
4143 
4144       // optional string auth_method = 2;
4145       private java.lang.Object authMethod_ = "";
4146       /**
4147        * <code>optional string auth_method = 2;</code>
4148        */
4149       public boolean hasAuthMethod() {
4150         return ((bitField0_ & 0x00000002) == 0x00000002);
4151       }
4152       /**
4153        * <code>optional string auth_method = 2;</code>
4154        */
4155       public java.lang.String getAuthMethod() {
4156         java.lang.Object ref = authMethod_;
4157         if (!(ref instanceof java.lang.String)) {
4158           java.lang.String s = ((com.google.protobuf.ByteString) ref)
4159               .toStringUtf8();
4160           authMethod_ = s;
4161           return s;
4162         } else {
4163           return (java.lang.String) ref;
4164         }
4165       }
4166       /**
4167        * <code>optional string auth_method = 2;</code>
4168        */
4169       public com.google.protobuf.ByteString
4170           getAuthMethodBytes() {
4171         java.lang.Object ref = authMethod_;
4172         if (ref instanceof String) {
4173           com.google.protobuf.ByteString b = 
4174               com.google.protobuf.ByteString.copyFromUtf8(
4175                   (java.lang.String) ref);
4176           authMethod_ = b;
4177           return b;
4178         } else {
4179           return (com.google.protobuf.ByteString) ref;
4180         }
4181       }
4182       /**
4183        * <code>optional string auth_method = 2;</code>
4184        */
4185       public Builder setAuthMethod(
4186           java.lang.String value) {
4187         if (value == null) {
4188     throw new NullPointerException();
4189   }
4190   bitField0_ |= 0x00000002;
4191         authMethod_ = value;
4192         onChanged();
4193         return this;
4194       }
4195       /**
4196        * <code>optional string auth_method = 2;</code>
4197        */
4198       public Builder clearAuthMethod() {
4199         bitField0_ = (bitField0_ & ~0x00000002);
4200         authMethod_ = getDefaultInstance().getAuthMethod();
4201         onChanged();
4202         return this;
4203       }
4204       /**
4205        * <code>optional string auth_method = 2;</code>
4206        */
4207       public Builder setAuthMethodBytes(
4208           com.google.protobuf.ByteString value) {
4209         if (value == null) {
4210     throw new NullPointerException();
4211   }
4212   bitField0_ |= 0x00000002;
4213         authMethod_ = value;
4214         onChanged();
4215         return this;
4216       }
4217 
4218       // @@protoc_insertion_point(builder_scope:hbase.pb.WhoAmIResponse)
4219     }
4220 
4221     static {
4222       defaultInstance = new WhoAmIResponse(true);
4223       defaultInstance.initFields();
4224     }
4225 
4226     // @@protoc_insertion_point(class_scope:hbase.pb.WhoAmIResponse)
4227   }
4228 
4229   /**
4230    * Protobuf service {@code hbase.pb.AuthenticationService}
4231    *
4232    * <pre>
4233    * RPC service
4234    * </pre>
4235    */
4236   public static abstract class AuthenticationService
4237       implements com.google.protobuf.Service {
4238     protected AuthenticationService() {}
4239 
4240     public interface Interface {
4241       /**
4242        * <code>rpc GetAuthenticationToken(.hbase.pb.GetAuthenticationTokenRequest) returns (.hbase.pb.GetAuthenticationTokenResponse);</code>
4243        */
4244       public abstract void getAuthenticationToken(
4245           com.google.protobuf.RpcController controller,
4246           org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest request,
4247           com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse> done);
4248 
4249       /**
4250        * <code>rpc WhoAmI(.hbase.pb.WhoAmIRequest) returns (.hbase.pb.WhoAmIResponse);</code>
4251        */
4252       public abstract void whoAmI(
4253           com.google.protobuf.RpcController controller,
4254           org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest request,
4255           com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse> done);
4256 
4257     }
4258 
4259     public static com.google.protobuf.Service newReflectiveService(
4260         final Interface impl) {
4261       return new AuthenticationService() {
4262         @java.lang.Override
4263         public  void getAuthenticationToken(
4264             com.google.protobuf.RpcController controller,
4265             org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest request,
4266             com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse> done) {
4267           impl.getAuthenticationToken(controller, request, done);
4268         }
4269 
4270         @java.lang.Override
4271         public  void whoAmI(
4272             com.google.protobuf.RpcController controller,
4273             org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest request,
4274             com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse> done) {
4275           impl.whoAmI(controller, request, done);
4276         }
4277 
4278       };
4279     }
4280 
4281     public static com.google.protobuf.BlockingService
4282         newReflectiveBlockingService(final BlockingInterface impl) {
4283       return new com.google.protobuf.BlockingService() {
4284         public final com.google.protobuf.Descriptors.ServiceDescriptor
4285             getDescriptorForType() {
4286           return getDescriptor();
4287         }
4288 
4289         public final com.google.protobuf.Message callBlockingMethod(
4290             com.google.protobuf.Descriptors.MethodDescriptor method,
4291             com.google.protobuf.RpcController controller,
4292             com.google.protobuf.Message request)
4293             throws com.google.protobuf.ServiceException {
4294           if (method.getService() != getDescriptor()) {
4295             throw new java.lang.IllegalArgumentException(
4296               "Service.callBlockingMethod() given method descriptor for " +
4297               "wrong service type.");
4298           }
4299           switch(method.getIndex()) {
4300             case 0:
4301               return impl.getAuthenticationToken(controller, (org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest)request);
4302             case 1:
4303               return impl.whoAmI(controller, (org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest)request);
4304             default:
4305               throw new java.lang.AssertionError("Can't get here.");
4306           }
4307         }
4308 
4309         public final com.google.protobuf.Message
4310             getRequestPrototype(
4311             com.google.protobuf.Descriptors.MethodDescriptor method) {
4312           if (method.getService() != getDescriptor()) {
4313             throw new java.lang.IllegalArgumentException(
4314               "Service.getRequestPrototype() given method " +
4315               "descriptor for wrong service type.");
4316           }
4317           switch(method.getIndex()) {
4318             case 0:
4319               return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest.getDefaultInstance();
4320             case 1:
4321               return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest.getDefaultInstance();
4322             default:
4323               throw new java.lang.AssertionError("Can't get here.");
4324           }
4325         }
4326 
4327         public final com.google.protobuf.Message
4328             getResponsePrototype(
4329             com.google.protobuf.Descriptors.MethodDescriptor method) {
4330           if (method.getService() != getDescriptor()) {
4331             throw new java.lang.IllegalArgumentException(
4332               "Service.getResponsePrototype() given method " +
4333               "descriptor for wrong service type.");
4334           }
4335           switch(method.getIndex()) {
4336             case 0:
4337               return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse.getDefaultInstance();
4338             case 1:
4339               return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse.getDefaultInstance();
4340             default:
4341               throw new java.lang.AssertionError("Can't get here.");
4342           }
4343         }
4344 
4345       };
4346     }
4347 
4348     /**
4349      * <code>rpc GetAuthenticationToken(.hbase.pb.GetAuthenticationTokenRequest) returns (.hbase.pb.GetAuthenticationTokenResponse);</code>
4350      */
4351     public abstract void getAuthenticationToken(
4352         com.google.protobuf.RpcController controller,
4353         org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest request,
4354         com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse> done);
4355 
4356     /**
4357      * <code>rpc WhoAmI(.hbase.pb.WhoAmIRequest) returns (.hbase.pb.WhoAmIResponse);</code>
4358      */
4359     public abstract void whoAmI(
4360         com.google.protobuf.RpcController controller,
4361         org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest request,
4362         com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse> done);
4363 
4364     public static final
4365         com.google.protobuf.Descriptors.ServiceDescriptor
4366         getDescriptor() {
4367       return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.getDescriptor().getServices().get(0);
4368     }
4369     public final com.google.protobuf.Descriptors.ServiceDescriptor
4370         getDescriptorForType() {
4371       return getDescriptor();
4372     }
4373 
4374     public final void callMethod(
4375         com.google.protobuf.Descriptors.MethodDescriptor method,
4376         com.google.protobuf.RpcController controller,
4377         com.google.protobuf.Message request,
4378         com.google.protobuf.RpcCallback<
4379           com.google.protobuf.Message> done) {
4380       if (method.getService() != getDescriptor()) {
4381         throw new java.lang.IllegalArgumentException(
4382           "Service.callMethod() given method descriptor for wrong " +
4383           "service type.");
4384       }
4385       switch(method.getIndex()) {
4386         case 0:
4387           this.getAuthenticationToken(controller, (org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest)request,
4388             com.google.protobuf.RpcUtil.<org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse>specializeCallback(
4389               done));
4390           return;
4391         case 1:
4392           this.whoAmI(controller, (org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest)request,
4393             com.google.protobuf.RpcUtil.<org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse>specializeCallback(
4394               done));
4395           return;
4396         default:
4397           throw new java.lang.AssertionError("Can't get here.");
4398       }
4399     }
4400 
4401     public final com.google.protobuf.Message
4402         getRequestPrototype(
4403         com.google.protobuf.Descriptors.MethodDescriptor method) {
4404       if (method.getService() != getDescriptor()) {
4405         throw new java.lang.IllegalArgumentException(
4406           "Service.getRequestPrototype() given method " +
4407           "descriptor for wrong service type.");
4408       }
4409       switch(method.getIndex()) {
4410         case 0:
4411           return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest.getDefaultInstance();
4412         case 1:
4413           return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest.getDefaultInstance();
4414         default:
4415           throw new java.lang.AssertionError("Can't get here.");
4416       }
4417     }
4418 
4419     public final com.google.protobuf.Message
4420         getResponsePrototype(
4421         com.google.protobuf.Descriptors.MethodDescriptor method) {
4422       if (method.getService() != getDescriptor()) {
4423         throw new java.lang.IllegalArgumentException(
4424           "Service.getResponsePrototype() given method " +
4425           "descriptor for wrong service type.");
4426       }
4427       switch(method.getIndex()) {
4428         case 0:
4429           return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse.getDefaultInstance();
4430         case 1:
4431           return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse.getDefaultInstance();
4432         default:
4433           throw new java.lang.AssertionError("Can't get here.");
4434       }
4435     }
4436 
4437     public static Stub newStub(
4438         com.google.protobuf.RpcChannel channel) {
4439       return new Stub(channel);
4440     }
4441 
4442     public static final class Stub extends org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationService implements Interface {
4443       private Stub(com.google.protobuf.RpcChannel channel) {
4444         this.channel = channel;
4445       }
4446 
4447       private final com.google.protobuf.RpcChannel channel;
4448 
4449       public com.google.protobuf.RpcChannel getChannel() {
4450         return channel;
4451       }
4452 
4453       public  void getAuthenticationToken(
4454           com.google.protobuf.RpcController controller,
4455           org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest request,
4456           com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse> done) {
4457         channel.callMethod(
4458           getDescriptor().getMethods().get(0),
4459           controller,
4460           request,
4461           org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse.getDefaultInstance(),
4462           com.google.protobuf.RpcUtil.generalizeCallback(
4463             done,
4464             org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse.class,
4465             org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse.getDefaultInstance()));
4466       }
4467 
4468       public  void whoAmI(
4469           com.google.protobuf.RpcController controller,
4470           org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest request,
4471           com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse> done) {
4472         channel.callMethod(
4473           getDescriptor().getMethods().get(1),
4474           controller,
4475           request,
4476           org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse.getDefaultInstance(),
4477           com.google.protobuf.RpcUtil.generalizeCallback(
4478             done,
4479             org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse.class,
4480             org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse.getDefaultInstance()));
4481       }
4482     }
4483 
4484     public static BlockingInterface newBlockingStub(
4485         com.google.protobuf.BlockingRpcChannel channel) {
4486       return new BlockingStub(channel);
4487     }
4488 
4489     public interface BlockingInterface {
4490       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse getAuthenticationToken(
4491           com.google.protobuf.RpcController controller,
4492           org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest request)
4493           throws com.google.protobuf.ServiceException;
4494 
4495       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse whoAmI(
4496           com.google.protobuf.RpcController controller,
4497           org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest request)
4498           throws com.google.protobuf.ServiceException;
4499     }
4500 
4501     private static final class BlockingStub implements BlockingInterface {
4502       private BlockingStub(com.google.protobuf.BlockingRpcChannel channel) {
4503         this.channel = channel;
4504       }
4505 
4506       private final com.google.protobuf.BlockingRpcChannel channel;
4507 
4508       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse getAuthenticationToken(
4509           com.google.protobuf.RpcController controller,
4510           org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequest request)
4511           throws com.google.protobuf.ServiceException {
4512         return (org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse) channel.callBlockingMethod(
4513           getDescriptor().getMethods().get(0),
4514           controller,
4515           request,
4516           org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponse.getDefaultInstance());
4517       }
4518 
4519 
4520       public org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse whoAmI(
4521           com.google.protobuf.RpcController controller,
4522           org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequest request)
4523           throws com.google.protobuf.ServiceException {
4524         return (org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse) channel.callBlockingMethod(
4525           getDescriptor().getMethods().get(1),
4526           controller,
4527           request,
4528           org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponse.getDefaultInstance());
4529       }
4530 
4531     }
4532 
4533     // @@protoc_insertion_point(class_scope:hbase.pb.AuthenticationService)
4534   }
4535 
4536   private static com.google.protobuf.Descriptors.Descriptor
4537     internal_static_hbase_pb_AuthenticationKey_descriptor;
4538   private static
4539     com.google.protobuf.GeneratedMessage.FieldAccessorTable
4540       internal_static_hbase_pb_AuthenticationKey_fieldAccessorTable;
4541   private static com.google.protobuf.Descriptors.Descriptor
4542     internal_static_hbase_pb_TokenIdentifier_descriptor;
4543   private static
4544     com.google.protobuf.GeneratedMessage.FieldAccessorTable
4545       internal_static_hbase_pb_TokenIdentifier_fieldAccessorTable;
4546   private static com.google.protobuf.Descriptors.Descriptor
4547     internal_static_hbase_pb_Token_descriptor;
4548   private static
4549     com.google.protobuf.GeneratedMessage.FieldAccessorTable
4550       internal_static_hbase_pb_Token_fieldAccessorTable;
4551   private static com.google.protobuf.Descriptors.Descriptor
4552     internal_static_hbase_pb_GetAuthenticationTokenRequest_descriptor;
4553   private static
4554     com.google.protobuf.GeneratedMessage.FieldAccessorTable
4555       internal_static_hbase_pb_GetAuthenticationTokenRequest_fieldAccessorTable;
4556   private static com.google.protobuf.Descriptors.Descriptor
4557     internal_static_hbase_pb_GetAuthenticationTokenResponse_descriptor;
4558   private static
4559     com.google.protobuf.GeneratedMessage.FieldAccessorTable
4560       internal_static_hbase_pb_GetAuthenticationTokenResponse_fieldAccessorTable;
4561   private static com.google.protobuf.Descriptors.Descriptor
4562     internal_static_hbase_pb_WhoAmIRequest_descriptor;
4563   private static
4564     com.google.protobuf.GeneratedMessage.FieldAccessorTable
4565       internal_static_hbase_pb_WhoAmIRequest_fieldAccessorTable;
4566   private static com.google.protobuf.Descriptors.Descriptor
4567     internal_static_hbase_pb_WhoAmIResponse_descriptor;
4568   private static
4569     com.google.protobuf.GeneratedMessage.FieldAccessorTable
4570       internal_static_hbase_pb_WhoAmIResponse_fieldAccessorTable;
4571 
4572   public static com.google.protobuf.Descriptors.FileDescriptor
4573       getDescriptor() {
4574     return descriptor;
4575   }
4576   private static com.google.protobuf.Descriptors.FileDescriptor
4577       descriptor;
4578   static {
4579     java.lang.String[] descriptorData = {
4580       "\n\024Authentication.proto\022\010hbase.pb\"E\n\021Auth" +
4581       "enticationKey\022\n\n\002id\030\001 \002(\005\022\027\n\017expiration_" +
4582       "date\030\002 \002(\003\022\013\n\003key\030\003 \002(\014\"\305\001\n\017TokenIdentif" +
4583       "ier\022,\n\004kind\030\001 \002(\0162\036.hbase.pb.TokenIdenti" +
4584       "fier.Kind\022\020\n\010username\030\002 \002(\014\022\016\n\006key_id\030\003 " +
4585       "\002(\005\022\022\n\nissue_date\030\004 \001(\003\022\027\n\017expiration_da" +
4586       "te\030\005 \001(\003\022\027\n\017sequence_number\030\006 \001(\003\"\034\n\004Kin" +
4587       "d\022\024\n\020HBASE_AUTH_TOKEN\020\000\">\n\005Token\022\022\n\niden" +
4588       "tifier\030\001 \001(\014\022\020\n\010password\030\002 \001(\014\022\017\n\007servic" +
4589       "e\030\003 \001(\014\"\037\n\035GetAuthenticationTokenRequest",
4590       "\"@\n\036GetAuthenticationTokenResponse\022\036\n\005to" +
4591       "ken\030\001 \001(\0132\017.hbase.pb.Token\"\017\n\rWhoAmIRequ" +
4592       "est\"7\n\016WhoAmIResponse\022\020\n\010username\030\001 \001(\t\022" +
4593       "\023\n\013auth_method\030\002 \001(\t2\301\001\n\025AuthenticationS" +
4594       "ervice\022k\n\026GetAuthenticationToken\022\'.hbase" +
4595       ".pb.GetAuthenticationTokenRequest\032(.hbas" +
4596       "e.pb.GetAuthenticationTokenResponse\022;\n\006W" +
4597       "hoAmI\022\027.hbase.pb.WhoAmIRequest\032\030.hbase.p" +
4598       "b.WhoAmIResponseBJ\n*org.apache.hadoop.hb" +
4599       "ase.protobuf.generatedB\024AuthenticationPr",
4600       "otosH\001\210\001\001\240\001\001"
4601     };
4602     com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
4603       new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
4604         public com.google.protobuf.ExtensionRegistry assignDescriptors(
4605             com.google.protobuf.Descriptors.FileDescriptor root) {
4606           descriptor = root;
4607           internal_static_hbase_pb_AuthenticationKey_descriptor =
4608             getDescriptor().getMessageTypes().get(0);
4609           internal_static_hbase_pb_AuthenticationKey_fieldAccessorTable = new
4610             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
4611               internal_static_hbase_pb_AuthenticationKey_descriptor,
4612               new java.lang.String[] { "Id", "ExpirationDate", "Key", });
4613           internal_static_hbase_pb_TokenIdentifier_descriptor =
4614             getDescriptor().getMessageTypes().get(1);
4615           internal_static_hbase_pb_TokenIdentifier_fieldAccessorTable = new
4616             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
4617               internal_static_hbase_pb_TokenIdentifier_descriptor,
4618               new java.lang.String[] { "Kind", "Username", "KeyId", "IssueDate", "ExpirationDate", "SequenceNumber", });
4619           internal_static_hbase_pb_Token_descriptor =
4620             getDescriptor().getMessageTypes().get(2);
4621           internal_static_hbase_pb_Token_fieldAccessorTable = new
4622             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
4623               internal_static_hbase_pb_Token_descriptor,
4624               new java.lang.String[] { "Identifier", "Password", "Service", });
4625           internal_static_hbase_pb_GetAuthenticationTokenRequest_descriptor =
4626             getDescriptor().getMessageTypes().get(3);
4627           internal_static_hbase_pb_GetAuthenticationTokenRequest_fieldAccessorTable = new
4628             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
4629               internal_static_hbase_pb_GetAuthenticationTokenRequest_descriptor,
4630               new java.lang.String[] { });
4631           internal_static_hbase_pb_GetAuthenticationTokenResponse_descriptor =
4632             getDescriptor().getMessageTypes().get(4);
4633           internal_static_hbase_pb_GetAuthenticationTokenResponse_fieldAccessorTable = new
4634             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
4635               internal_static_hbase_pb_GetAuthenticationTokenResponse_descriptor,
4636               new java.lang.String[] { "Token", });
4637           internal_static_hbase_pb_WhoAmIRequest_descriptor =
4638             getDescriptor().getMessageTypes().get(5);
4639           internal_static_hbase_pb_WhoAmIRequest_fieldAccessorTable = new
4640             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
4641               internal_static_hbase_pb_WhoAmIRequest_descriptor,
4642               new java.lang.String[] { });
4643           internal_static_hbase_pb_WhoAmIResponse_descriptor =
4644             getDescriptor().getMessageTypes().get(6);
4645           internal_static_hbase_pb_WhoAmIResponse_fieldAccessorTable = new
4646             com.google.protobuf.GeneratedMessage.FieldAccessorTable(
4647               internal_static_hbase_pb_WhoAmIResponse_descriptor,
4648               new java.lang.String[] { "Username", "AuthMethod", });
4649           return null;
4650         }
4651       };
4652     com.google.protobuf.Descriptors.FileDescriptor
4653       .internalBuildGeneratedFileFrom(descriptorData,
4654         new com.google.protobuf.Descriptors.FileDescriptor[] {
4655         }, assigner);
4656   }
4657 
4658   // @@protoc_insertion_point(outer_class_scope)
4659 }