1
2
3
4 package org.apache.hadoop.hbase.protobuf.generated;
5
6 public final class VisibilityLabelsProtos {
7 private VisibilityLabelsProtos() {}
8 public static void registerAllExtensions(
9 com.google.protobuf.ExtensionRegistry registry) {
10 }
11 public interface VisibilityLabelsRequestOrBuilder
12 extends com.google.protobuf.MessageOrBuilder {
13
14
15
16
17
18 java.util.List<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel>
19 getVisLabelList();
20
21
22
23 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel getVisLabel(int index);
24
25
26
27 int getVisLabelCount();
28
29
30
31 java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelOrBuilder>
32 getVisLabelOrBuilderList();
33
34
35
36 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelOrBuilder getVisLabelOrBuilder(
37 int index);
38 }
39
40
41
42 public static final class VisibilityLabelsRequest extends
43 com.google.protobuf.GeneratedMessage
44 implements VisibilityLabelsRequestOrBuilder {
45
46 private VisibilityLabelsRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
47 super(builder);
48 this.unknownFields = builder.getUnknownFields();
49 }
50 private VisibilityLabelsRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
51
52 private static final VisibilityLabelsRequest defaultInstance;
53 public static VisibilityLabelsRequest getDefaultInstance() {
54 return defaultInstance;
55 }
56
57 public VisibilityLabelsRequest getDefaultInstanceForType() {
58 return defaultInstance;
59 }
60
61 private final com.google.protobuf.UnknownFieldSet unknownFields;
62 @java.lang.Override
63 public final com.google.protobuf.UnknownFieldSet
64 getUnknownFields() {
65 return this.unknownFields;
66 }
67 private VisibilityLabelsRequest(
68 com.google.protobuf.CodedInputStream input,
69 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
70 throws com.google.protobuf.InvalidProtocolBufferException {
71 initFields();
72 int mutable_bitField0_ = 0;
73 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
74 com.google.protobuf.UnknownFieldSet.newBuilder();
75 try {
76 boolean done = false;
77 while (!done) {
78 int tag = input.readTag();
79 switch (tag) {
80 case 0:
81 done = true;
82 break;
83 default: {
84 if (!parseUnknownField(input, unknownFields,
85 extensionRegistry, tag)) {
86 done = true;
87 }
88 break;
89 }
90 case 10: {
91 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
92 visLabel_ = new java.util.ArrayList<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel>();
93 mutable_bitField0_ |= 0x00000001;
94 }
95 visLabel_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel.PARSER, extensionRegistry));
96 break;
97 }
98 }
99 }
100 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
101 throw e.setUnfinishedMessage(this);
102 } catch (java.io.IOException e) {
103 throw new com.google.protobuf.InvalidProtocolBufferException(
104 e.getMessage()).setUnfinishedMessage(this);
105 } finally {
106 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
107 visLabel_ = java.util.Collections.unmodifiableList(visLabel_);
108 }
109 this.unknownFields = unknownFields.build();
110 makeExtensionsImmutable();
111 }
112 }
113 public static final com.google.protobuf.Descriptors.Descriptor
114 getDescriptor() {
115 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_VisibilityLabelsRequest_descriptor;
116 }
117
118 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
119 internalGetFieldAccessorTable() {
120 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_VisibilityLabelsRequest_fieldAccessorTable
121 .ensureFieldAccessorsInitialized(
122 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest.class, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest.Builder.class);
123 }
124
125 public static com.google.protobuf.Parser<VisibilityLabelsRequest> PARSER =
126 new com.google.protobuf.AbstractParser<VisibilityLabelsRequest>() {
127 public VisibilityLabelsRequest parsePartialFrom(
128 com.google.protobuf.CodedInputStream input,
129 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
130 throws com.google.protobuf.InvalidProtocolBufferException {
131 return new VisibilityLabelsRequest(input, extensionRegistry);
132 }
133 };
134
135 @java.lang.Override
136 public com.google.protobuf.Parser<VisibilityLabelsRequest> getParserForType() {
137 return PARSER;
138 }
139
140
141 public static final int VISLABEL_FIELD_NUMBER = 1;
142 private java.util.List<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel> visLabel_;
143
144
145
146 public java.util.List<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel> getVisLabelList() {
147 return visLabel_;
148 }
149
150
151
152 public java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelOrBuilder>
153 getVisLabelOrBuilderList() {
154 return visLabel_;
155 }
156
157
158
159 public int getVisLabelCount() {
160 return visLabel_.size();
161 }
162
163
164
165 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel getVisLabel(int index) {
166 return visLabel_.get(index);
167 }
168
169
170
171 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelOrBuilder getVisLabelOrBuilder(
172 int index) {
173 return visLabel_.get(index);
174 }
175
176 private void initFields() {
177 visLabel_ = java.util.Collections.emptyList();
178 }
179 private byte memoizedIsInitialized = -1;
180 public final boolean isInitialized() {
181 byte isInitialized = memoizedIsInitialized;
182 if (isInitialized != -1) return isInitialized == 1;
183
184 for (int i = 0; i < getVisLabelCount(); i++) {
185 if (!getVisLabel(i).isInitialized()) {
186 memoizedIsInitialized = 0;
187 return false;
188 }
189 }
190 memoizedIsInitialized = 1;
191 return true;
192 }
193
194 public void writeTo(com.google.protobuf.CodedOutputStream output)
195 throws java.io.IOException {
196 getSerializedSize();
197 for (int i = 0; i < visLabel_.size(); i++) {
198 output.writeMessage(1, visLabel_.get(i));
199 }
200 getUnknownFields().writeTo(output);
201 }
202
203 private int memoizedSerializedSize = -1;
204 public int getSerializedSize() {
205 int size = memoizedSerializedSize;
206 if (size != -1) return size;
207
208 size = 0;
209 for (int i = 0; i < visLabel_.size(); i++) {
210 size += com.google.protobuf.CodedOutputStream
211 .computeMessageSize(1, visLabel_.get(i));
212 }
213 size += getUnknownFields().getSerializedSize();
214 memoizedSerializedSize = size;
215 return size;
216 }
217
218 private static final long serialVersionUID = 0L;
219 @java.lang.Override
220 protected java.lang.Object writeReplace()
221 throws java.io.ObjectStreamException {
222 return super.writeReplace();
223 }
224
225 @java.lang.Override
226 public boolean equals(final java.lang.Object obj) {
227 if (obj == this) {
228 return true;
229 }
230 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest)) {
231 return super.equals(obj);
232 }
233 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest other = (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest) obj;
234
235 boolean result = true;
236 result = result && getVisLabelList()
237 .equals(other.getVisLabelList());
238 result = result &&
239 getUnknownFields().equals(other.getUnknownFields());
240 return result;
241 }
242
243 private int memoizedHashCode = 0;
244 @java.lang.Override
245 public int hashCode() {
246 if (memoizedHashCode != 0) {
247 return memoizedHashCode;
248 }
249 int hash = 41;
250 hash = (19 * hash) + getDescriptorForType().hashCode();
251 if (getVisLabelCount() > 0) {
252 hash = (37 * hash) + VISLABEL_FIELD_NUMBER;
253 hash = (53 * hash) + getVisLabelList().hashCode();
254 }
255 hash = (29 * hash) + getUnknownFields().hashCode();
256 memoizedHashCode = hash;
257 return hash;
258 }
259
260 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest parseFrom(
261 com.google.protobuf.ByteString data)
262 throws com.google.protobuf.InvalidProtocolBufferException {
263 return PARSER.parseFrom(data);
264 }
265 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest parseFrom(
266 com.google.protobuf.ByteString data,
267 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
268 throws com.google.protobuf.InvalidProtocolBufferException {
269 return PARSER.parseFrom(data, extensionRegistry);
270 }
271 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest parseFrom(byte[] data)
272 throws com.google.protobuf.InvalidProtocolBufferException {
273 return PARSER.parseFrom(data);
274 }
275 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest parseFrom(
276 byte[] data,
277 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
278 throws com.google.protobuf.InvalidProtocolBufferException {
279 return PARSER.parseFrom(data, extensionRegistry);
280 }
281 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest parseFrom(java.io.InputStream input)
282 throws java.io.IOException {
283 return PARSER.parseFrom(input);
284 }
285 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest parseFrom(
286 java.io.InputStream input,
287 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
288 throws java.io.IOException {
289 return PARSER.parseFrom(input, extensionRegistry);
290 }
291 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest parseDelimitedFrom(java.io.InputStream input)
292 throws java.io.IOException {
293 return PARSER.parseDelimitedFrom(input);
294 }
295 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest parseDelimitedFrom(
296 java.io.InputStream input,
297 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
298 throws java.io.IOException {
299 return PARSER.parseDelimitedFrom(input, extensionRegistry);
300 }
301 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest parseFrom(
302 com.google.protobuf.CodedInputStream input)
303 throws java.io.IOException {
304 return PARSER.parseFrom(input);
305 }
306 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest parseFrom(
307 com.google.protobuf.CodedInputStream input,
308 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
309 throws java.io.IOException {
310 return PARSER.parseFrom(input, extensionRegistry);
311 }
312
313 public static Builder newBuilder() { return Builder.create(); }
314 public Builder newBuilderForType() { return newBuilder(); }
315 public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest prototype) {
316 return newBuilder().mergeFrom(prototype);
317 }
318 public Builder toBuilder() { return newBuilder(this); }
319
320 @java.lang.Override
321 protected Builder newBuilderForType(
322 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
323 Builder builder = new Builder(parent);
324 return builder;
325 }
326
327
328
329 public static final class Builder extends
330 com.google.protobuf.GeneratedMessage.Builder<Builder>
331 implements org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequestOrBuilder {
332 public static final com.google.protobuf.Descriptors.Descriptor
333 getDescriptor() {
334 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_VisibilityLabelsRequest_descriptor;
335 }
336
337 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
338 internalGetFieldAccessorTable() {
339 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_VisibilityLabelsRequest_fieldAccessorTable
340 .ensureFieldAccessorsInitialized(
341 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest.class, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest.Builder.class);
342 }
343
344
345 private Builder() {
346 maybeForceBuilderInitialization();
347 }
348
349 private Builder(
350 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
351 super(parent);
352 maybeForceBuilderInitialization();
353 }
354 private void maybeForceBuilderInitialization() {
355 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
356 getVisLabelFieldBuilder();
357 }
358 }
359 private static Builder create() {
360 return new Builder();
361 }
362
363 public Builder clear() {
364 super.clear();
365 if (visLabelBuilder_ == null) {
366 visLabel_ = java.util.Collections.emptyList();
367 bitField0_ = (bitField0_ & ~0x00000001);
368 } else {
369 visLabelBuilder_.clear();
370 }
371 return this;
372 }
373
374 public Builder clone() {
375 return create().mergeFrom(buildPartial());
376 }
377
378 public com.google.protobuf.Descriptors.Descriptor
379 getDescriptorForType() {
380 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_VisibilityLabelsRequest_descriptor;
381 }
382
383 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest getDefaultInstanceForType() {
384 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest.getDefaultInstance();
385 }
386
387 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest build() {
388 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest result = buildPartial();
389 if (!result.isInitialized()) {
390 throw newUninitializedMessageException(result);
391 }
392 return result;
393 }
394
395 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest buildPartial() {
396 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest result = new org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest(this);
397 int from_bitField0_ = bitField0_;
398 if (visLabelBuilder_ == null) {
399 if (((bitField0_ & 0x00000001) == 0x00000001)) {
400 visLabel_ = java.util.Collections.unmodifiableList(visLabel_);
401 bitField0_ = (bitField0_ & ~0x00000001);
402 }
403 result.visLabel_ = visLabel_;
404 } else {
405 result.visLabel_ = visLabelBuilder_.build();
406 }
407 onBuilt();
408 return result;
409 }
410
411 public Builder mergeFrom(com.google.protobuf.Message other) {
412 if (other instanceof org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest) {
413 return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest)other);
414 } else {
415 super.mergeFrom(other);
416 return this;
417 }
418 }
419
420 public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest other) {
421 if (other == org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest.getDefaultInstance()) return this;
422 if (visLabelBuilder_ == null) {
423 if (!other.visLabel_.isEmpty()) {
424 if (visLabel_.isEmpty()) {
425 visLabel_ = other.visLabel_;
426 bitField0_ = (bitField0_ & ~0x00000001);
427 } else {
428 ensureVisLabelIsMutable();
429 visLabel_.addAll(other.visLabel_);
430 }
431 onChanged();
432 }
433 } else {
434 if (!other.visLabel_.isEmpty()) {
435 if (visLabelBuilder_.isEmpty()) {
436 visLabelBuilder_.dispose();
437 visLabelBuilder_ = null;
438 visLabel_ = other.visLabel_;
439 bitField0_ = (bitField0_ & ~0x00000001);
440 visLabelBuilder_ =
441 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
442 getVisLabelFieldBuilder() : null;
443 } else {
444 visLabelBuilder_.addAllMessages(other.visLabel_);
445 }
446 }
447 }
448 this.mergeUnknownFields(other.getUnknownFields());
449 return this;
450 }
451
452 public final boolean isInitialized() {
453 for (int i = 0; i < getVisLabelCount(); i++) {
454 if (!getVisLabel(i).isInitialized()) {
455
456 return false;
457 }
458 }
459 return true;
460 }
461
462 public Builder mergeFrom(
463 com.google.protobuf.CodedInputStream input,
464 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
465 throws java.io.IOException {
466 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest parsedMessage = null;
467 try {
468 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
469 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
470 parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest) e.getUnfinishedMessage();
471 throw e;
472 } finally {
473 if (parsedMessage != null) {
474 mergeFrom(parsedMessage);
475 }
476 }
477 return this;
478 }
479 private int bitField0_;
480
481
482 private java.util.List<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel> visLabel_ =
483 java.util.Collections.emptyList();
484 private void ensureVisLabelIsMutable() {
485 if (!((bitField0_ & 0x00000001) == 0x00000001)) {
486 visLabel_ = new java.util.ArrayList<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel>(visLabel_);
487 bitField0_ |= 0x00000001;
488 }
489 }
490
491 private com.google.protobuf.RepeatedFieldBuilder<
492 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel.Builder, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelOrBuilder> visLabelBuilder_;
493
494
495
496
497 public java.util.List<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel> getVisLabelList() {
498 if (visLabelBuilder_ == null) {
499 return java.util.Collections.unmodifiableList(visLabel_);
500 } else {
501 return visLabelBuilder_.getMessageList();
502 }
503 }
504
505
506
507 public int getVisLabelCount() {
508 if (visLabelBuilder_ == null) {
509 return visLabel_.size();
510 } else {
511 return visLabelBuilder_.getCount();
512 }
513 }
514
515
516
517 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel getVisLabel(int index) {
518 if (visLabelBuilder_ == null) {
519 return visLabel_.get(index);
520 } else {
521 return visLabelBuilder_.getMessage(index);
522 }
523 }
524
525
526
527 public Builder setVisLabel(
528 int index, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel value) {
529 if (visLabelBuilder_ == null) {
530 if (value == null) {
531 throw new NullPointerException();
532 }
533 ensureVisLabelIsMutable();
534 visLabel_.set(index, value);
535 onChanged();
536 } else {
537 visLabelBuilder_.setMessage(index, value);
538 }
539 return this;
540 }
541
542
543
544 public Builder setVisLabel(
545 int index, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel.Builder builderForValue) {
546 if (visLabelBuilder_ == null) {
547 ensureVisLabelIsMutable();
548 visLabel_.set(index, builderForValue.build());
549 onChanged();
550 } else {
551 visLabelBuilder_.setMessage(index, builderForValue.build());
552 }
553 return this;
554 }
555
556
557
558 public Builder addVisLabel(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel value) {
559 if (visLabelBuilder_ == null) {
560 if (value == null) {
561 throw new NullPointerException();
562 }
563 ensureVisLabelIsMutable();
564 visLabel_.add(value);
565 onChanged();
566 } else {
567 visLabelBuilder_.addMessage(value);
568 }
569 return this;
570 }
571
572
573
574 public Builder addVisLabel(
575 int index, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel value) {
576 if (visLabelBuilder_ == null) {
577 if (value == null) {
578 throw new NullPointerException();
579 }
580 ensureVisLabelIsMutable();
581 visLabel_.add(index, value);
582 onChanged();
583 } else {
584 visLabelBuilder_.addMessage(index, value);
585 }
586 return this;
587 }
588
589
590
591 public Builder addVisLabel(
592 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel.Builder builderForValue) {
593 if (visLabelBuilder_ == null) {
594 ensureVisLabelIsMutable();
595 visLabel_.add(builderForValue.build());
596 onChanged();
597 } else {
598 visLabelBuilder_.addMessage(builderForValue.build());
599 }
600 return this;
601 }
602
603
604
605 public Builder addVisLabel(
606 int index, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel.Builder builderForValue) {
607 if (visLabelBuilder_ == null) {
608 ensureVisLabelIsMutable();
609 visLabel_.add(index, builderForValue.build());
610 onChanged();
611 } else {
612 visLabelBuilder_.addMessage(index, builderForValue.build());
613 }
614 return this;
615 }
616
617
618
619 public Builder addAllVisLabel(
620 java.lang.Iterable<? extends org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel> values) {
621 if (visLabelBuilder_ == null) {
622 ensureVisLabelIsMutable();
623 super.addAll(values, visLabel_);
624 onChanged();
625 } else {
626 visLabelBuilder_.addAllMessages(values);
627 }
628 return this;
629 }
630
631
632
633 public Builder clearVisLabel() {
634 if (visLabelBuilder_ == null) {
635 visLabel_ = java.util.Collections.emptyList();
636 bitField0_ = (bitField0_ & ~0x00000001);
637 onChanged();
638 } else {
639 visLabelBuilder_.clear();
640 }
641 return this;
642 }
643
644
645
646 public Builder removeVisLabel(int index) {
647 if (visLabelBuilder_ == null) {
648 ensureVisLabelIsMutable();
649 visLabel_.remove(index);
650 onChanged();
651 } else {
652 visLabelBuilder_.remove(index);
653 }
654 return this;
655 }
656
657
658
659 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel.Builder getVisLabelBuilder(
660 int index) {
661 return getVisLabelFieldBuilder().getBuilder(index);
662 }
663
664
665
666 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelOrBuilder getVisLabelOrBuilder(
667 int index) {
668 if (visLabelBuilder_ == null) {
669 return visLabel_.get(index); } else {
670 return visLabelBuilder_.getMessageOrBuilder(index);
671 }
672 }
673
674
675
676 public java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelOrBuilder>
677 getVisLabelOrBuilderList() {
678 if (visLabelBuilder_ != null) {
679 return visLabelBuilder_.getMessageOrBuilderList();
680 } else {
681 return java.util.Collections.unmodifiableList(visLabel_);
682 }
683 }
684
685
686
687 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel.Builder addVisLabelBuilder() {
688 return getVisLabelFieldBuilder().addBuilder(
689 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel.getDefaultInstance());
690 }
691
692
693
694 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel.Builder addVisLabelBuilder(
695 int index) {
696 return getVisLabelFieldBuilder().addBuilder(
697 index, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel.getDefaultInstance());
698 }
699
700
701
702 public java.util.List<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel.Builder>
703 getVisLabelBuilderList() {
704 return getVisLabelFieldBuilder().getBuilderList();
705 }
706 private com.google.protobuf.RepeatedFieldBuilder<
707 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel.Builder, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelOrBuilder>
708 getVisLabelFieldBuilder() {
709 if (visLabelBuilder_ == null) {
710 visLabelBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
711 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel.Builder, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelOrBuilder>(
712 visLabel_,
713 ((bitField0_ & 0x00000001) == 0x00000001),
714 getParentForChildren(),
715 isClean());
716 visLabel_ = null;
717 }
718 return visLabelBuilder_;
719 }
720
721
722 }
723
724 static {
725 defaultInstance = new VisibilityLabelsRequest(true);
726 defaultInstance.initFields();
727 }
728
729
730 }
731
732 public interface VisibilityLabelOrBuilder
733 extends com.google.protobuf.MessageOrBuilder {
734
735
736
737
738
739 boolean hasLabel();
740
741
742
743 com.google.protobuf.ByteString getLabel();
744
745
746
747
748
749 boolean hasOrdinal();
750
751
752
753 int getOrdinal();
754 }
755
756
757
758 public static final class VisibilityLabel extends
759 com.google.protobuf.GeneratedMessage
760 implements VisibilityLabelOrBuilder {
761
762 private VisibilityLabel(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
763 super(builder);
764 this.unknownFields = builder.getUnknownFields();
765 }
766 private VisibilityLabel(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
767
768 private static final VisibilityLabel defaultInstance;
769 public static VisibilityLabel getDefaultInstance() {
770 return defaultInstance;
771 }
772
773 public VisibilityLabel getDefaultInstanceForType() {
774 return defaultInstance;
775 }
776
777 private final com.google.protobuf.UnknownFieldSet unknownFields;
778 @java.lang.Override
779 public final com.google.protobuf.UnknownFieldSet
780 getUnknownFields() {
781 return this.unknownFields;
782 }
783 private VisibilityLabel(
784 com.google.protobuf.CodedInputStream input,
785 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
786 throws com.google.protobuf.InvalidProtocolBufferException {
787 initFields();
788 int mutable_bitField0_ = 0;
789 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
790 com.google.protobuf.UnknownFieldSet.newBuilder();
791 try {
792 boolean done = false;
793 while (!done) {
794 int tag = input.readTag();
795 switch (tag) {
796 case 0:
797 done = true;
798 break;
799 default: {
800 if (!parseUnknownField(input, unknownFields,
801 extensionRegistry, tag)) {
802 done = true;
803 }
804 break;
805 }
806 case 10: {
807 bitField0_ |= 0x00000001;
808 label_ = input.readBytes();
809 break;
810 }
811 case 16: {
812 bitField0_ |= 0x00000002;
813 ordinal_ = input.readUInt32();
814 break;
815 }
816 }
817 }
818 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
819 throw e.setUnfinishedMessage(this);
820 } catch (java.io.IOException e) {
821 throw new com.google.protobuf.InvalidProtocolBufferException(
822 e.getMessage()).setUnfinishedMessage(this);
823 } finally {
824 this.unknownFields = unknownFields.build();
825 makeExtensionsImmutable();
826 }
827 }
828 public static final com.google.protobuf.Descriptors.Descriptor
829 getDescriptor() {
830 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_VisibilityLabel_descriptor;
831 }
832
833 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
834 internalGetFieldAccessorTable() {
835 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_VisibilityLabel_fieldAccessorTable
836 .ensureFieldAccessorsInitialized(
837 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel.class, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel.Builder.class);
838 }
839
840 public static com.google.protobuf.Parser<VisibilityLabel> PARSER =
841 new com.google.protobuf.AbstractParser<VisibilityLabel>() {
842 public VisibilityLabel parsePartialFrom(
843 com.google.protobuf.CodedInputStream input,
844 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
845 throws com.google.protobuf.InvalidProtocolBufferException {
846 return new VisibilityLabel(input, extensionRegistry);
847 }
848 };
849
850 @java.lang.Override
851 public com.google.protobuf.Parser<VisibilityLabel> getParserForType() {
852 return PARSER;
853 }
854
855 private int bitField0_;
856
857 public static final int LABEL_FIELD_NUMBER = 1;
858 private com.google.protobuf.ByteString label_;
859
860
861
862 public boolean hasLabel() {
863 return ((bitField0_ & 0x00000001) == 0x00000001);
864 }
865
866
867
868 public com.google.protobuf.ByteString getLabel() {
869 return label_;
870 }
871
872
873 public static final int ORDINAL_FIELD_NUMBER = 2;
874 private int ordinal_;
875
876
877
878 public boolean hasOrdinal() {
879 return ((bitField0_ & 0x00000002) == 0x00000002);
880 }
881
882
883
884 public int getOrdinal() {
885 return ordinal_;
886 }
887
888 private void initFields() {
889 label_ = com.google.protobuf.ByteString.EMPTY;
890 ordinal_ = 0;
891 }
892 private byte memoizedIsInitialized = -1;
893 public final boolean isInitialized() {
894 byte isInitialized = memoizedIsInitialized;
895 if (isInitialized != -1) return isInitialized == 1;
896
897 if (!hasLabel()) {
898 memoizedIsInitialized = 0;
899 return false;
900 }
901 memoizedIsInitialized = 1;
902 return true;
903 }
904
905 public void writeTo(com.google.protobuf.CodedOutputStream output)
906 throws java.io.IOException {
907 getSerializedSize();
908 if (((bitField0_ & 0x00000001) == 0x00000001)) {
909 output.writeBytes(1, label_);
910 }
911 if (((bitField0_ & 0x00000002) == 0x00000002)) {
912 output.writeUInt32(2, ordinal_);
913 }
914 getUnknownFields().writeTo(output);
915 }
916
917 private int memoizedSerializedSize = -1;
918 public int getSerializedSize() {
919 int size = memoizedSerializedSize;
920 if (size != -1) return size;
921
922 size = 0;
923 if (((bitField0_ & 0x00000001) == 0x00000001)) {
924 size += com.google.protobuf.CodedOutputStream
925 .computeBytesSize(1, label_);
926 }
927 if (((bitField0_ & 0x00000002) == 0x00000002)) {
928 size += com.google.protobuf.CodedOutputStream
929 .computeUInt32Size(2, ordinal_);
930 }
931 size += getUnknownFields().getSerializedSize();
932 memoizedSerializedSize = size;
933 return size;
934 }
935
936 private static final long serialVersionUID = 0L;
937 @java.lang.Override
938 protected java.lang.Object writeReplace()
939 throws java.io.ObjectStreamException {
940 return super.writeReplace();
941 }
942
943 @java.lang.Override
944 public boolean equals(final java.lang.Object obj) {
945 if (obj == this) {
946 return true;
947 }
948 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel)) {
949 return super.equals(obj);
950 }
951 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel other = (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel) obj;
952
953 boolean result = true;
954 result = result && (hasLabel() == other.hasLabel());
955 if (hasLabel()) {
956 result = result && getLabel()
957 .equals(other.getLabel());
958 }
959 result = result && (hasOrdinal() == other.hasOrdinal());
960 if (hasOrdinal()) {
961 result = result && (getOrdinal()
962 == other.getOrdinal());
963 }
964 result = result &&
965 getUnknownFields().equals(other.getUnknownFields());
966 return result;
967 }
968
969 private int memoizedHashCode = 0;
970 @java.lang.Override
971 public int hashCode() {
972 if (memoizedHashCode != 0) {
973 return memoizedHashCode;
974 }
975 int hash = 41;
976 hash = (19 * hash) + getDescriptorForType().hashCode();
977 if (hasLabel()) {
978 hash = (37 * hash) + LABEL_FIELD_NUMBER;
979 hash = (53 * hash) + getLabel().hashCode();
980 }
981 if (hasOrdinal()) {
982 hash = (37 * hash) + ORDINAL_FIELD_NUMBER;
983 hash = (53 * hash) + getOrdinal();
984 }
985 hash = (29 * hash) + getUnknownFields().hashCode();
986 memoizedHashCode = hash;
987 return hash;
988 }
989
990 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel parseFrom(
991 com.google.protobuf.ByteString data)
992 throws com.google.protobuf.InvalidProtocolBufferException {
993 return PARSER.parseFrom(data);
994 }
995 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel parseFrom(
996 com.google.protobuf.ByteString data,
997 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
998 throws com.google.protobuf.InvalidProtocolBufferException {
999 return PARSER.parseFrom(data, extensionRegistry);
1000 }
1001 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel parseFrom(byte[] data)
1002 throws com.google.protobuf.InvalidProtocolBufferException {
1003 return PARSER.parseFrom(data);
1004 }
1005 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel parseFrom(
1006 byte[] data,
1007 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1008 throws com.google.protobuf.InvalidProtocolBufferException {
1009 return PARSER.parseFrom(data, extensionRegistry);
1010 }
1011 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel parseFrom(java.io.InputStream input)
1012 throws java.io.IOException {
1013 return PARSER.parseFrom(input);
1014 }
1015 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel parseFrom(
1016 java.io.InputStream input,
1017 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1018 throws java.io.IOException {
1019 return PARSER.parseFrom(input, extensionRegistry);
1020 }
1021 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel parseDelimitedFrom(java.io.InputStream input)
1022 throws java.io.IOException {
1023 return PARSER.parseDelimitedFrom(input);
1024 }
1025 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel parseDelimitedFrom(
1026 java.io.InputStream input,
1027 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1028 throws java.io.IOException {
1029 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1030 }
1031 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel parseFrom(
1032 com.google.protobuf.CodedInputStream input)
1033 throws java.io.IOException {
1034 return PARSER.parseFrom(input);
1035 }
1036 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel parseFrom(
1037 com.google.protobuf.CodedInputStream input,
1038 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1039 throws java.io.IOException {
1040 return PARSER.parseFrom(input, extensionRegistry);
1041 }
1042
1043 public static Builder newBuilder() { return Builder.create(); }
1044 public Builder newBuilderForType() { return newBuilder(); }
1045 public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel prototype) {
1046 return newBuilder().mergeFrom(prototype);
1047 }
1048 public Builder toBuilder() { return newBuilder(this); }
1049
1050 @java.lang.Override
1051 protected Builder newBuilderForType(
1052 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1053 Builder builder = new Builder(parent);
1054 return builder;
1055 }
1056
1057
1058
1059 public static final class Builder extends
1060 com.google.protobuf.GeneratedMessage.Builder<Builder>
1061 implements org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelOrBuilder {
1062 public static final com.google.protobuf.Descriptors.Descriptor
1063 getDescriptor() {
1064 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_VisibilityLabel_descriptor;
1065 }
1066
1067 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1068 internalGetFieldAccessorTable() {
1069 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_VisibilityLabel_fieldAccessorTable
1070 .ensureFieldAccessorsInitialized(
1071 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel.class, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel.Builder.class);
1072 }
1073
1074
1075 private Builder() {
1076 maybeForceBuilderInitialization();
1077 }
1078
1079 private Builder(
1080 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1081 super(parent);
1082 maybeForceBuilderInitialization();
1083 }
1084 private void maybeForceBuilderInitialization() {
1085 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1086 }
1087 }
1088 private static Builder create() {
1089 return new Builder();
1090 }
1091
1092 public Builder clear() {
1093 super.clear();
1094 label_ = com.google.protobuf.ByteString.EMPTY;
1095 bitField0_ = (bitField0_ & ~0x00000001);
1096 ordinal_ = 0;
1097 bitField0_ = (bitField0_ & ~0x00000002);
1098 return this;
1099 }
1100
1101 public Builder clone() {
1102 return create().mergeFrom(buildPartial());
1103 }
1104
1105 public com.google.protobuf.Descriptors.Descriptor
1106 getDescriptorForType() {
1107 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_VisibilityLabel_descriptor;
1108 }
1109
1110 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel getDefaultInstanceForType() {
1111 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel.getDefaultInstance();
1112 }
1113
1114 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel build() {
1115 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel result = buildPartial();
1116 if (!result.isInitialized()) {
1117 throw newUninitializedMessageException(result);
1118 }
1119 return result;
1120 }
1121
1122 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel buildPartial() {
1123 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel result = new org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel(this);
1124 int from_bitField0_ = bitField0_;
1125 int to_bitField0_ = 0;
1126 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1127 to_bitField0_ |= 0x00000001;
1128 }
1129 result.label_ = label_;
1130 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
1131 to_bitField0_ |= 0x00000002;
1132 }
1133 result.ordinal_ = ordinal_;
1134 result.bitField0_ = to_bitField0_;
1135 onBuilt();
1136 return result;
1137 }
1138
1139 public Builder mergeFrom(com.google.protobuf.Message other) {
1140 if (other instanceof org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel) {
1141 return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel)other);
1142 } else {
1143 super.mergeFrom(other);
1144 return this;
1145 }
1146 }
1147
1148 public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel other) {
1149 if (other == org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel.getDefaultInstance()) return this;
1150 if (other.hasLabel()) {
1151 setLabel(other.getLabel());
1152 }
1153 if (other.hasOrdinal()) {
1154 setOrdinal(other.getOrdinal());
1155 }
1156 this.mergeUnknownFields(other.getUnknownFields());
1157 return this;
1158 }
1159
1160 public final boolean isInitialized() {
1161 if (!hasLabel()) {
1162
1163 return false;
1164 }
1165 return true;
1166 }
1167
1168 public Builder mergeFrom(
1169 com.google.protobuf.CodedInputStream input,
1170 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1171 throws java.io.IOException {
1172 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel parsedMessage = null;
1173 try {
1174 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1175 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1176 parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabel) e.getUnfinishedMessage();
1177 throw e;
1178 } finally {
1179 if (parsedMessage != null) {
1180 mergeFrom(parsedMessage);
1181 }
1182 }
1183 return this;
1184 }
1185 private int bitField0_;
1186
1187
1188 private com.google.protobuf.ByteString label_ = com.google.protobuf.ByteString.EMPTY;
1189
1190
1191
1192 public boolean hasLabel() {
1193 return ((bitField0_ & 0x00000001) == 0x00000001);
1194 }
1195
1196
1197
1198 public com.google.protobuf.ByteString getLabel() {
1199 return label_;
1200 }
1201
1202
1203
1204 public Builder setLabel(com.google.protobuf.ByteString value) {
1205 if (value == null) {
1206 throw new NullPointerException();
1207 }
1208 bitField0_ |= 0x00000001;
1209 label_ = value;
1210 onChanged();
1211 return this;
1212 }
1213
1214
1215
1216 public Builder clearLabel() {
1217 bitField0_ = (bitField0_ & ~0x00000001);
1218 label_ = getDefaultInstance().getLabel();
1219 onChanged();
1220 return this;
1221 }
1222
1223
1224 private int ordinal_ ;
1225
1226
1227
1228 public boolean hasOrdinal() {
1229 return ((bitField0_ & 0x00000002) == 0x00000002);
1230 }
1231
1232
1233
1234 public int getOrdinal() {
1235 return ordinal_;
1236 }
1237
1238
1239
1240 public Builder setOrdinal(int value) {
1241 bitField0_ |= 0x00000002;
1242 ordinal_ = value;
1243 onChanged();
1244 return this;
1245 }
1246
1247
1248
1249 public Builder clearOrdinal() {
1250 bitField0_ = (bitField0_ & ~0x00000002);
1251 ordinal_ = 0;
1252 onChanged();
1253 return this;
1254 }
1255
1256
1257 }
1258
1259 static {
1260 defaultInstance = new VisibilityLabel(true);
1261 defaultInstance.initFields();
1262 }
1263
1264
1265 }
1266
1267 public interface VisibilityLabelsResponseOrBuilder
1268 extends com.google.protobuf.MessageOrBuilder {
1269
1270
1271
1272
1273
1274 java.util.List<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult>
1275 getResultList();
1276
1277
1278
1279 org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult getResult(int index);
1280
1281
1282
1283 int getResultCount();
1284
1285
1286
1287 java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResultOrBuilder>
1288 getResultOrBuilderList();
1289
1290
1291
1292 org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResultOrBuilder getResultOrBuilder(
1293 int index);
1294 }
1295
1296
1297
1298 public static final class VisibilityLabelsResponse extends
1299 com.google.protobuf.GeneratedMessage
1300 implements VisibilityLabelsResponseOrBuilder {
1301
1302 private VisibilityLabelsResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
1303 super(builder);
1304 this.unknownFields = builder.getUnknownFields();
1305 }
1306 private VisibilityLabelsResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
1307
1308 private static final VisibilityLabelsResponse defaultInstance;
1309 public static VisibilityLabelsResponse getDefaultInstance() {
1310 return defaultInstance;
1311 }
1312
1313 public VisibilityLabelsResponse getDefaultInstanceForType() {
1314 return defaultInstance;
1315 }
1316
1317 private final com.google.protobuf.UnknownFieldSet unknownFields;
1318 @java.lang.Override
1319 public final com.google.protobuf.UnknownFieldSet
1320 getUnknownFields() {
1321 return this.unknownFields;
1322 }
1323 private VisibilityLabelsResponse(
1324 com.google.protobuf.CodedInputStream input,
1325 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1326 throws com.google.protobuf.InvalidProtocolBufferException {
1327 initFields();
1328 int mutable_bitField0_ = 0;
1329 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1330 com.google.protobuf.UnknownFieldSet.newBuilder();
1331 try {
1332 boolean done = false;
1333 while (!done) {
1334 int tag = input.readTag();
1335 switch (tag) {
1336 case 0:
1337 done = true;
1338 break;
1339 default: {
1340 if (!parseUnknownField(input, unknownFields,
1341 extensionRegistry, tag)) {
1342 done = true;
1343 }
1344 break;
1345 }
1346 case 10: {
1347 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
1348 result_ = new java.util.ArrayList<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult>();
1349 mutable_bitField0_ |= 0x00000001;
1350 }
1351 result_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.PARSER, extensionRegistry));
1352 break;
1353 }
1354 }
1355 }
1356 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1357 throw e.setUnfinishedMessage(this);
1358 } catch (java.io.IOException e) {
1359 throw new com.google.protobuf.InvalidProtocolBufferException(
1360 e.getMessage()).setUnfinishedMessage(this);
1361 } finally {
1362 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
1363 result_ = java.util.Collections.unmodifiableList(result_);
1364 }
1365 this.unknownFields = unknownFields.build();
1366 makeExtensionsImmutable();
1367 }
1368 }
1369 public static final com.google.protobuf.Descriptors.Descriptor
1370 getDescriptor() {
1371 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_VisibilityLabelsResponse_descriptor;
1372 }
1373
1374 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1375 internalGetFieldAccessorTable() {
1376 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_VisibilityLabelsResponse_fieldAccessorTable
1377 .ensureFieldAccessorsInitialized(
1378 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.class, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.Builder.class);
1379 }
1380
1381 public static com.google.protobuf.Parser<VisibilityLabelsResponse> PARSER =
1382 new com.google.protobuf.AbstractParser<VisibilityLabelsResponse>() {
1383 public VisibilityLabelsResponse parsePartialFrom(
1384 com.google.protobuf.CodedInputStream input,
1385 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1386 throws com.google.protobuf.InvalidProtocolBufferException {
1387 return new VisibilityLabelsResponse(input, extensionRegistry);
1388 }
1389 };
1390
1391 @java.lang.Override
1392 public com.google.protobuf.Parser<VisibilityLabelsResponse> getParserForType() {
1393 return PARSER;
1394 }
1395
1396
1397 public static final int RESULT_FIELD_NUMBER = 1;
1398 private java.util.List<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult> result_;
1399
1400
1401
1402 public java.util.List<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult> getResultList() {
1403 return result_;
1404 }
1405
1406
1407
1408 public java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResultOrBuilder>
1409 getResultOrBuilderList() {
1410 return result_;
1411 }
1412
1413
1414
1415 public int getResultCount() {
1416 return result_.size();
1417 }
1418
1419
1420
1421 public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult getResult(int index) {
1422 return result_.get(index);
1423 }
1424
1425
1426
1427 public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResultOrBuilder getResultOrBuilder(
1428 int index) {
1429 return result_.get(index);
1430 }
1431
1432 private void initFields() {
1433 result_ = java.util.Collections.emptyList();
1434 }
1435 private byte memoizedIsInitialized = -1;
1436 public final boolean isInitialized() {
1437 byte isInitialized = memoizedIsInitialized;
1438 if (isInitialized != -1) return isInitialized == 1;
1439
1440 for (int i = 0; i < getResultCount(); i++) {
1441 if (!getResult(i).isInitialized()) {
1442 memoizedIsInitialized = 0;
1443 return false;
1444 }
1445 }
1446 memoizedIsInitialized = 1;
1447 return true;
1448 }
1449
1450 public void writeTo(com.google.protobuf.CodedOutputStream output)
1451 throws java.io.IOException {
1452 getSerializedSize();
1453 for (int i = 0; i < result_.size(); i++) {
1454 output.writeMessage(1, result_.get(i));
1455 }
1456 getUnknownFields().writeTo(output);
1457 }
1458
1459 private int memoizedSerializedSize = -1;
1460 public int getSerializedSize() {
1461 int size = memoizedSerializedSize;
1462 if (size != -1) return size;
1463
1464 size = 0;
1465 for (int i = 0; i < result_.size(); i++) {
1466 size += com.google.protobuf.CodedOutputStream
1467 .computeMessageSize(1, result_.get(i));
1468 }
1469 size += getUnknownFields().getSerializedSize();
1470 memoizedSerializedSize = size;
1471 return size;
1472 }
1473
1474 private static final long serialVersionUID = 0L;
1475 @java.lang.Override
1476 protected java.lang.Object writeReplace()
1477 throws java.io.ObjectStreamException {
1478 return super.writeReplace();
1479 }
1480
1481 @java.lang.Override
1482 public boolean equals(final java.lang.Object obj) {
1483 if (obj == this) {
1484 return true;
1485 }
1486 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse)) {
1487 return super.equals(obj);
1488 }
1489 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse other = (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse) obj;
1490
1491 boolean result = true;
1492 result = result && getResultList()
1493 .equals(other.getResultList());
1494 result = result &&
1495 getUnknownFields().equals(other.getUnknownFields());
1496 return result;
1497 }
1498
1499 private int memoizedHashCode = 0;
1500 @java.lang.Override
1501 public int hashCode() {
1502 if (memoizedHashCode != 0) {
1503 return memoizedHashCode;
1504 }
1505 int hash = 41;
1506 hash = (19 * hash) + getDescriptorForType().hashCode();
1507 if (getResultCount() > 0) {
1508 hash = (37 * hash) + RESULT_FIELD_NUMBER;
1509 hash = (53 * hash) + getResultList().hashCode();
1510 }
1511 hash = (29 * hash) + getUnknownFields().hashCode();
1512 memoizedHashCode = hash;
1513 return hash;
1514 }
1515
1516 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse parseFrom(
1517 com.google.protobuf.ByteString data)
1518 throws com.google.protobuf.InvalidProtocolBufferException {
1519 return PARSER.parseFrom(data);
1520 }
1521 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse parseFrom(
1522 com.google.protobuf.ByteString data,
1523 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1524 throws com.google.protobuf.InvalidProtocolBufferException {
1525 return PARSER.parseFrom(data, extensionRegistry);
1526 }
1527 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse parseFrom(byte[] data)
1528 throws com.google.protobuf.InvalidProtocolBufferException {
1529 return PARSER.parseFrom(data);
1530 }
1531 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse parseFrom(
1532 byte[] data,
1533 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1534 throws com.google.protobuf.InvalidProtocolBufferException {
1535 return PARSER.parseFrom(data, extensionRegistry);
1536 }
1537 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse parseFrom(java.io.InputStream input)
1538 throws java.io.IOException {
1539 return PARSER.parseFrom(input);
1540 }
1541 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse parseFrom(
1542 java.io.InputStream input,
1543 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1544 throws java.io.IOException {
1545 return PARSER.parseFrom(input, extensionRegistry);
1546 }
1547 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse parseDelimitedFrom(java.io.InputStream input)
1548 throws java.io.IOException {
1549 return PARSER.parseDelimitedFrom(input);
1550 }
1551 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse parseDelimitedFrom(
1552 java.io.InputStream input,
1553 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1554 throws java.io.IOException {
1555 return PARSER.parseDelimitedFrom(input, extensionRegistry);
1556 }
1557 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse parseFrom(
1558 com.google.protobuf.CodedInputStream input)
1559 throws java.io.IOException {
1560 return PARSER.parseFrom(input);
1561 }
1562 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse parseFrom(
1563 com.google.protobuf.CodedInputStream input,
1564 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1565 throws java.io.IOException {
1566 return PARSER.parseFrom(input, extensionRegistry);
1567 }
1568
1569 public static Builder newBuilder() { return Builder.create(); }
1570 public Builder newBuilderForType() { return newBuilder(); }
1571 public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse prototype) {
1572 return newBuilder().mergeFrom(prototype);
1573 }
1574 public Builder toBuilder() { return newBuilder(this); }
1575
1576 @java.lang.Override
1577 protected Builder newBuilderForType(
1578 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1579 Builder builder = new Builder(parent);
1580 return builder;
1581 }
1582
1583
1584
1585 public static final class Builder extends
1586 com.google.protobuf.GeneratedMessage.Builder<Builder>
1587 implements org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponseOrBuilder {
1588 public static final com.google.protobuf.Descriptors.Descriptor
1589 getDescriptor() {
1590 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_VisibilityLabelsResponse_descriptor;
1591 }
1592
1593 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1594 internalGetFieldAccessorTable() {
1595 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_VisibilityLabelsResponse_fieldAccessorTable
1596 .ensureFieldAccessorsInitialized(
1597 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.class, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.Builder.class);
1598 }
1599
1600
1601 private Builder() {
1602 maybeForceBuilderInitialization();
1603 }
1604
1605 private Builder(
1606 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1607 super(parent);
1608 maybeForceBuilderInitialization();
1609 }
1610 private void maybeForceBuilderInitialization() {
1611 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1612 getResultFieldBuilder();
1613 }
1614 }
1615 private static Builder create() {
1616 return new Builder();
1617 }
1618
1619 public Builder clear() {
1620 super.clear();
1621 if (resultBuilder_ == null) {
1622 result_ = java.util.Collections.emptyList();
1623 bitField0_ = (bitField0_ & ~0x00000001);
1624 } else {
1625 resultBuilder_.clear();
1626 }
1627 return this;
1628 }
1629
1630 public Builder clone() {
1631 return create().mergeFrom(buildPartial());
1632 }
1633
1634 public com.google.protobuf.Descriptors.Descriptor
1635 getDescriptorForType() {
1636 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_VisibilityLabelsResponse_descriptor;
1637 }
1638
1639 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse getDefaultInstanceForType() {
1640 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.getDefaultInstance();
1641 }
1642
1643 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse build() {
1644 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse result = buildPartial();
1645 if (!result.isInitialized()) {
1646 throw newUninitializedMessageException(result);
1647 }
1648 return result;
1649 }
1650
1651 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse buildPartial() {
1652 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse result = new org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse(this);
1653 int from_bitField0_ = bitField0_;
1654 if (resultBuilder_ == null) {
1655 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1656 result_ = java.util.Collections.unmodifiableList(result_);
1657 bitField0_ = (bitField0_ & ~0x00000001);
1658 }
1659 result.result_ = result_;
1660 } else {
1661 result.result_ = resultBuilder_.build();
1662 }
1663 onBuilt();
1664 return result;
1665 }
1666
1667 public Builder mergeFrom(com.google.protobuf.Message other) {
1668 if (other instanceof org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse) {
1669 return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse)other);
1670 } else {
1671 super.mergeFrom(other);
1672 return this;
1673 }
1674 }
1675
1676 public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse other) {
1677 if (other == org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.getDefaultInstance()) return this;
1678 if (resultBuilder_ == null) {
1679 if (!other.result_.isEmpty()) {
1680 if (result_.isEmpty()) {
1681 result_ = other.result_;
1682 bitField0_ = (bitField0_ & ~0x00000001);
1683 } else {
1684 ensureResultIsMutable();
1685 result_.addAll(other.result_);
1686 }
1687 onChanged();
1688 }
1689 } else {
1690 if (!other.result_.isEmpty()) {
1691 if (resultBuilder_.isEmpty()) {
1692 resultBuilder_.dispose();
1693 resultBuilder_ = null;
1694 result_ = other.result_;
1695 bitField0_ = (bitField0_ & ~0x00000001);
1696 resultBuilder_ =
1697 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
1698 getResultFieldBuilder() : null;
1699 } else {
1700 resultBuilder_.addAllMessages(other.result_);
1701 }
1702 }
1703 }
1704 this.mergeUnknownFields(other.getUnknownFields());
1705 return this;
1706 }
1707
1708 public final boolean isInitialized() {
1709 for (int i = 0; i < getResultCount(); i++) {
1710 if (!getResult(i).isInitialized()) {
1711
1712 return false;
1713 }
1714 }
1715 return true;
1716 }
1717
1718 public Builder mergeFrom(
1719 com.google.protobuf.CodedInputStream input,
1720 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1721 throws java.io.IOException {
1722 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse parsedMessage = null;
1723 try {
1724 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
1725 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
1726 parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse) e.getUnfinishedMessage();
1727 throw e;
1728 } finally {
1729 if (parsedMessage != null) {
1730 mergeFrom(parsedMessage);
1731 }
1732 }
1733 return this;
1734 }
1735 private int bitField0_;
1736
1737
1738 private java.util.List<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult> result_ =
1739 java.util.Collections.emptyList();
1740 private void ensureResultIsMutable() {
1741 if (!((bitField0_ & 0x00000001) == 0x00000001)) {
1742 result_ = new java.util.ArrayList<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult>(result_);
1743 bitField0_ |= 0x00000001;
1744 }
1745 }
1746
1747 private com.google.protobuf.RepeatedFieldBuilder<
1748 org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResultOrBuilder> resultBuilder_;
1749
1750
1751
1752
1753 public java.util.List<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult> getResultList() {
1754 if (resultBuilder_ == null) {
1755 return java.util.Collections.unmodifiableList(result_);
1756 } else {
1757 return resultBuilder_.getMessageList();
1758 }
1759 }
1760
1761
1762
1763 public int getResultCount() {
1764 if (resultBuilder_ == null) {
1765 return result_.size();
1766 } else {
1767 return resultBuilder_.getCount();
1768 }
1769 }
1770
1771
1772
1773 public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult getResult(int index) {
1774 if (resultBuilder_ == null) {
1775 return result_.get(index);
1776 } else {
1777 return resultBuilder_.getMessage(index);
1778 }
1779 }
1780
1781
1782
1783 public Builder setResult(
1784 int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult value) {
1785 if (resultBuilder_ == null) {
1786 if (value == null) {
1787 throw new NullPointerException();
1788 }
1789 ensureResultIsMutable();
1790 result_.set(index, value);
1791 onChanged();
1792 } else {
1793 resultBuilder_.setMessage(index, value);
1794 }
1795 return this;
1796 }
1797
1798
1799
1800 public Builder setResult(
1801 int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.Builder builderForValue) {
1802 if (resultBuilder_ == null) {
1803 ensureResultIsMutable();
1804 result_.set(index, builderForValue.build());
1805 onChanged();
1806 } else {
1807 resultBuilder_.setMessage(index, builderForValue.build());
1808 }
1809 return this;
1810 }
1811
1812
1813
1814 public Builder addResult(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult value) {
1815 if (resultBuilder_ == null) {
1816 if (value == null) {
1817 throw new NullPointerException();
1818 }
1819 ensureResultIsMutable();
1820 result_.add(value);
1821 onChanged();
1822 } else {
1823 resultBuilder_.addMessage(value);
1824 }
1825 return this;
1826 }
1827
1828
1829
1830 public Builder addResult(
1831 int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult value) {
1832 if (resultBuilder_ == null) {
1833 if (value == null) {
1834 throw new NullPointerException();
1835 }
1836 ensureResultIsMutable();
1837 result_.add(index, value);
1838 onChanged();
1839 } else {
1840 resultBuilder_.addMessage(index, value);
1841 }
1842 return this;
1843 }
1844
1845
1846
1847 public Builder addResult(
1848 org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.Builder builderForValue) {
1849 if (resultBuilder_ == null) {
1850 ensureResultIsMutable();
1851 result_.add(builderForValue.build());
1852 onChanged();
1853 } else {
1854 resultBuilder_.addMessage(builderForValue.build());
1855 }
1856 return this;
1857 }
1858
1859
1860
1861 public Builder addResult(
1862 int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.Builder builderForValue) {
1863 if (resultBuilder_ == null) {
1864 ensureResultIsMutable();
1865 result_.add(index, builderForValue.build());
1866 onChanged();
1867 } else {
1868 resultBuilder_.addMessage(index, builderForValue.build());
1869 }
1870 return this;
1871 }
1872
1873
1874
1875 public Builder addAllResult(
1876 java.lang.Iterable<? extends org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult> values) {
1877 if (resultBuilder_ == null) {
1878 ensureResultIsMutable();
1879 super.addAll(values, result_);
1880 onChanged();
1881 } else {
1882 resultBuilder_.addAllMessages(values);
1883 }
1884 return this;
1885 }
1886
1887
1888
1889 public Builder clearResult() {
1890 if (resultBuilder_ == null) {
1891 result_ = java.util.Collections.emptyList();
1892 bitField0_ = (bitField0_ & ~0x00000001);
1893 onChanged();
1894 } else {
1895 resultBuilder_.clear();
1896 }
1897 return this;
1898 }
1899
1900
1901
1902 public Builder removeResult(int index) {
1903 if (resultBuilder_ == null) {
1904 ensureResultIsMutable();
1905 result_.remove(index);
1906 onChanged();
1907 } else {
1908 resultBuilder_.remove(index);
1909 }
1910 return this;
1911 }
1912
1913
1914
1915 public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.Builder getResultBuilder(
1916 int index) {
1917 return getResultFieldBuilder().getBuilder(index);
1918 }
1919
1920
1921
1922 public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResultOrBuilder getResultOrBuilder(
1923 int index) {
1924 if (resultBuilder_ == null) {
1925 return result_.get(index); } else {
1926 return resultBuilder_.getMessageOrBuilder(index);
1927 }
1928 }
1929
1930
1931
1932 public java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResultOrBuilder>
1933 getResultOrBuilderList() {
1934 if (resultBuilder_ != null) {
1935 return resultBuilder_.getMessageOrBuilderList();
1936 } else {
1937 return java.util.Collections.unmodifiableList(result_);
1938 }
1939 }
1940
1941
1942
1943 public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.Builder addResultBuilder() {
1944 return getResultFieldBuilder().addBuilder(
1945 org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.getDefaultInstance());
1946 }
1947
1948
1949
1950 public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.Builder addResultBuilder(
1951 int index) {
1952 return getResultFieldBuilder().addBuilder(
1953 index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.getDefaultInstance());
1954 }
1955
1956
1957
1958 public java.util.List<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.Builder>
1959 getResultBuilderList() {
1960 return getResultFieldBuilder().getBuilderList();
1961 }
1962 private com.google.protobuf.RepeatedFieldBuilder<
1963 org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResultOrBuilder>
1964 getResultFieldBuilder() {
1965 if (resultBuilder_ == null) {
1966 resultBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
1967 org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResult.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResultOrBuilder>(
1968 result_,
1969 ((bitField0_ & 0x00000001) == 0x00000001),
1970 getParentForChildren(),
1971 isClean());
1972 result_ = null;
1973 }
1974 return resultBuilder_;
1975 }
1976
1977
1978 }
1979
1980 static {
1981 defaultInstance = new VisibilityLabelsResponse(true);
1982 defaultInstance.initFields();
1983 }
1984
1985
1986 }
1987
1988 public interface SetAuthsRequestOrBuilder
1989 extends com.google.protobuf.MessageOrBuilder {
1990
1991
1992
1993
1994
1995 boolean hasUser();
1996
1997
1998
1999 com.google.protobuf.ByteString getUser();
2000
2001
2002
2003
2004
2005 java.util.List<com.google.protobuf.ByteString> getAuthList();
2006
2007
2008
2009 int getAuthCount();
2010
2011
2012
2013 com.google.protobuf.ByteString getAuth(int index);
2014 }
2015
2016
2017
2018 public static final class SetAuthsRequest extends
2019 com.google.protobuf.GeneratedMessage
2020 implements SetAuthsRequestOrBuilder {
2021
2022 private SetAuthsRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2023 super(builder);
2024 this.unknownFields = builder.getUnknownFields();
2025 }
2026 private SetAuthsRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2027
2028 private static final SetAuthsRequest defaultInstance;
2029 public static SetAuthsRequest getDefaultInstance() {
2030 return defaultInstance;
2031 }
2032
2033 public SetAuthsRequest getDefaultInstanceForType() {
2034 return defaultInstance;
2035 }
2036
2037 private final com.google.protobuf.UnknownFieldSet unknownFields;
2038 @java.lang.Override
2039 public final com.google.protobuf.UnknownFieldSet
2040 getUnknownFields() {
2041 return this.unknownFields;
2042 }
2043 private SetAuthsRequest(
2044 com.google.protobuf.CodedInputStream input,
2045 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2046 throws com.google.protobuf.InvalidProtocolBufferException {
2047 initFields();
2048 int mutable_bitField0_ = 0;
2049 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2050 com.google.protobuf.UnknownFieldSet.newBuilder();
2051 try {
2052 boolean done = false;
2053 while (!done) {
2054 int tag = input.readTag();
2055 switch (tag) {
2056 case 0:
2057 done = true;
2058 break;
2059 default: {
2060 if (!parseUnknownField(input, unknownFields,
2061 extensionRegistry, tag)) {
2062 done = true;
2063 }
2064 break;
2065 }
2066 case 10: {
2067 bitField0_ |= 0x00000001;
2068 user_ = input.readBytes();
2069 break;
2070 }
2071 case 18: {
2072 if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
2073 auth_ = new java.util.ArrayList<com.google.protobuf.ByteString>();
2074 mutable_bitField0_ |= 0x00000002;
2075 }
2076 auth_.add(input.readBytes());
2077 break;
2078 }
2079 }
2080 }
2081 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2082 throw e.setUnfinishedMessage(this);
2083 } catch (java.io.IOException e) {
2084 throw new com.google.protobuf.InvalidProtocolBufferException(
2085 e.getMessage()).setUnfinishedMessage(this);
2086 } finally {
2087 if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
2088 auth_ = java.util.Collections.unmodifiableList(auth_);
2089 }
2090 this.unknownFields = unknownFields.build();
2091 makeExtensionsImmutable();
2092 }
2093 }
2094 public static final com.google.protobuf.Descriptors.Descriptor
2095 getDescriptor() {
2096 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_SetAuthsRequest_descriptor;
2097 }
2098
2099 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2100 internalGetFieldAccessorTable() {
2101 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_SetAuthsRequest_fieldAccessorTable
2102 .ensureFieldAccessorsInitialized(
2103 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest.class, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest.Builder.class);
2104 }
2105
2106 public static com.google.protobuf.Parser<SetAuthsRequest> PARSER =
2107 new com.google.protobuf.AbstractParser<SetAuthsRequest>() {
2108 public SetAuthsRequest parsePartialFrom(
2109 com.google.protobuf.CodedInputStream input,
2110 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2111 throws com.google.protobuf.InvalidProtocolBufferException {
2112 return new SetAuthsRequest(input, extensionRegistry);
2113 }
2114 };
2115
2116 @java.lang.Override
2117 public com.google.protobuf.Parser<SetAuthsRequest> getParserForType() {
2118 return PARSER;
2119 }
2120
2121 private int bitField0_;
2122
2123 public static final int USER_FIELD_NUMBER = 1;
2124 private com.google.protobuf.ByteString user_;
2125
2126
2127
2128 public boolean hasUser() {
2129 return ((bitField0_ & 0x00000001) == 0x00000001);
2130 }
2131
2132
2133
2134 public com.google.protobuf.ByteString getUser() {
2135 return user_;
2136 }
2137
2138
2139 public static final int AUTH_FIELD_NUMBER = 2;
2140 private java.util.List<com.google.protobuf.ByteString> auth_;
2141
2142
2143
2144 public java.util.List<com.google.protobuf.ByteString>
2145 getAuthList() {
2146 return auth_;
2147 }
2148
2149
2150
2151 public int getAuthCount() {
2152 return auth_.size();
2153 }
2154
2155
2156
2157 public com.google.protobuf.ByteString getAuth(int index) {
2158 return auth_.get(index);
2159 }
2160
2161 private void initFields() {
2162 user_ = com.google.protobuf.ByteString.EMPTY;
2163 auth_ = java.util.Collections.emptyList();
2164 }
2165 private byte memoizedIsInitialized = -1;
2166 public final boolean isInitialized() {
2167 byte isInitialized = memoizedIsInitialized;
2168 if (isInitialized != -1) return isInitialized == 1;
2169
2170 if (!hasUser()) {
2171 memoizedIsInitialized = 0;
2172 return false;
2173 }
2174 memoizedIsInitialized = 1;
2175 return true;
2176 }
2177
2178 public void writeTo(com.google.protobuf.CodedOutputStream output)
2179 throws java.io.IOException {
2180 getSerializedSize();
2181 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2182 output.writeBytes(1, user_);
2183 }
2184 for (int i = 0; i < auth_.size(); i++) {
2185 output.writeBytes(2, auth_.get(i));
2186 }
2187 getUnknownFields().writeTo(output);
2188 }
2189
2190 private int memoizedSerializedSize = -1;
2191 public int getSerializedSize() {
2192 int size = memoizedSerializedSize;
2193 if (size != -1) return size;
2194
2195 size = 0;
2196 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2197 size += com.google.protobuf.CodedOutputStream
2198 .computeBytesSize(1, user_);
2199 }
2200 {
2201 int dataSize = 0;
2202 for (int i = 0; i < auth_.size(); i++) {
2203 dataSize += com.google.protobuf.CodedOutputStream
2204 .computeBytesSizeNoTag(auth_.get(i));
2205 }
2206 size += dataSize;
2207 size += 1 * getAuthList().size();
2208 }
2209 size += getUnknownFields().getSerializedSize();
2210 memoizedSerializedSize = size;
2211 return size;
2212 }
2213
2214 private static final long serialVersionUID = 0L;
2215 @java.lang.Override
2216 protected java.lang.Object writeReplace()
2217 throws java.io.ObjectStreamException {
2218 return super.writeReplace();
2219 }
2220
2221 @java.lang.Override
2222 public boolean equals(final java.lang.Object obj) {
2223 if (obj == this) {
2224 return true;
2225 }
2226 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest)) {
2227 return super.equals(obj);
2228 }
2229 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest other = (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest) obj;
2230
2231 boolean result = true;
2232 result = result && (hasUser() == other.hasUser());
2233 if (hasUser()) {
2234 result = result && getUser()
2235 .equals(other.getUser());
2236 }
2237 result = result && getAuthList()
2238 .equals(other.getAuthList());
2239 result = result &&
2240 getUnknownFields().equals(other.getUnknownFields());
2241 return result;
2242 }
2243
2244 private int memoizedHashCode = 0;
2245 @java.lang.Override
2246 public int hashCode() {
2247 if (memoizedHashCode != 0) {
2248 return memoizedHashCode;
2249 }
2250 int hash = 41;
2251 hash = (19 * hash) + getDescriptorForType().hashCode();
2252 if (hasUser()) {
2253 hash = (37 * hash) + USER_FIELD_NUMBER;
2254 hash = (53 * hash) + getUser().hashCode();
2255 }
2256 if (getAuthCount() > 0) {
2257 hash = (37 * hash) + AUTH_FIELD_NUMBER;
2258 hash = (53 * hash) + getAuthList().hashCode();
2259 }
2260 hash = (29 * hash) + getUnknownFields().hashCode();
2261 memoizedHashCode = hash;
2262 return hash;
2263 }
2264
2265 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest parseFrom(
2266 com.google.protobuf.ByteString data)
2267 throws com.google.protobuf.InvalidProtocolBufferException {
2268 return PARSER.parseFrom(data);
2269 }
2270 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest parseFrom(
2271 com.google.protobuf.ByteString data,
2272 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2273 throws com.google.protobuf.InvalidProtocolBufferException {
2274 return PARSER.parseFrom(data, extensionRegistry);
2275 }
2276 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest parseFrom(byte[] data)
2277 throws com.google.protobuf.InvalidProtocolBufferException {
2278 return PARSER.parseFrom(data);
2279 }
2280 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest parseFrom(
2281 byte[] data,
2282 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2283 throws com.google.protobuf.InvalidProtocolBufferException {
2284 return PARSER.parseFrom(data, extensionRegistry);
2285 }
2286 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest parseFrom(java.io.InputStream input)
2287 throws java.io.IOException {
2288 return PARSER.parseFrom(input);
2289 }
2290 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest parseFrom(
2291 java.io.InputStream input,
2292 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2293 throws java.io.IOException {
2294 return PARSER.parseFrom(input, extensionRegistry);
2295 }
2296 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest parseDelimitedFrom(java.io.InputStream input)
2297 throws java.io.IOException {
2298 return PARSER.parseDelimitedFrom(input);
2299 }
2300 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest parseDelimitedFrom(
2301 java.io.InputStream input,
2302 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2303 throws java.io.IOException {
2304 return PARSER.parseDelimitedFrom(input, extensionRegistry);
2305 }
2306 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest parseFrom(
2307 com.google.protobuf.CodedInputStream input)
2308 throws java.io.IOException {
2309 return PARSER.parseFrom(input);
2310 }
2311 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest parseFrom(
2312 com.google.protobuf.CodedInputStream input,
2313 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2314 throws java.io.IOException {
2315 return PARSER.parseFrom(input, extensionRegistry);
2316 }
2317
2318 public static Builder newBuilder() { return Builder.create(); }
2319 public Builder newBuilderForType() { return newBuilder(); }
2320 public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest prototype) {
2321 return newBuilder().mergeFrom(prototype);
2322 }
2323 public Builder toBuilder() { return newBuilder(this); }
2324
2325 @java.lang.Override
2326 protected Builder newBuilderForType(
2327 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2328 Builder builder = new Builder(parent);
2329 return builder;
2330 }
2331
2332
2333
2334 public static final class Builder extends
2335 com.google.protobuf.GeneratedMessage.Builder<Builder>
2336 implements org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequestOrBuilder {
2337 public static final com.google.protobuf.Descriptors.Descriptor
2338 getDescriptor() {
2339 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_SetAuthsRequest_descriptor;
2340 }
2341
2342 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2343 internalGetFieldAccessorTable() {
2344 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_SetAuthsRequest_fieldAccessorTable
2345 .ensureFieldAccessorsInitialized(
2346 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest.class, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest.Builder.class);
2347 }
2348
2349
2350 private Builder() {
2351 maybeForceBuilderInitialization();
2352 }
2353
2354 private Builder(
2355 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2356 super(parent);
2357 maybeForceBuilderInitialization();
2358 }
2359 private void maybeForceBuilderInitialization() {
2360 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2361 }
2362 }
2363 private static Builder create() {
2364 return new Builder();
2365 }
2366
2367 public Builder clear() {
2368 super.clear();
2369 user_ = com.google.protobuf.ByteString.EMPTY;
2370 bitField0_ = (bitField0_ & ~0x00000001);
2371 auth_ = java.util.Collections.emptyList();
2372 bitField0_ = (bitField0_ & ~0x00000002);
2373 return this;
2374 }
2375
2376 public Builder clone() {
2377 return create().mergeFrom(buildPartial());
2378 }
2379
2380 public com.google.protobuf.Descriptors.Descriptor
2381 getDescriptorForType() {
2382 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_SetAuthsRequest_descriptor;
2383 }
2384
2385 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest getDefaultInstanceForType() {
2386 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest.getDefaultInstance();
2387 }
2388
2389 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest build() {
2390 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest result = buildPartial();
2391 if (!result.isInitialized()) {
2392 throw newUninitializedMessageException(result);
2393 }
2394 return result;
2395 }
2396
2397 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest buildPartial() {
2398 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest result = new org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest(this);
2399 int from_bitField0_ = bitField0_;
2400 int to_bitField0_ = 0;
2401 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
2402 to_bitField0_ |= 0x00000001;
2403 }
2404 result.user_ = user_;
2405 if (((bitField0_ & 0x00000002) == 0x00000002)) {
2406 auth_ = java.util.Collections.unmodifiableList(auth_);
2407 bitField0_ = (bitField0_ & ~0x00000002);
2408 }
2409 result.auth_ = auth_;
2410 result.bitField0_ = to_bitField0_;
2411 onBuilt();
2412 return result;
2413 }
2414
2415 public Builder mergeFrom(com.google.protobuf.Message other) {
2416 if (other instanceof org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest) {
2417 return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest)other);
2418 } else {
2419 super.mergeFrom(other);
2420 return this;
2421 }
2422 }
2423
2424 public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest other) {
2425 if (other == org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest.getDefaultInstance()) return this;
2426 if (other.hasUser()) {
2427 setUser(other.getUser());
2428 }
2429 if (!other.auth_.isEmpty()) {
2430 if (auth_.isEmpty()) {
2431 auth_ = other.auth_;
2432 bitField0_ = (bitField0_ & ~0x00000002);
2433 } else {
2434 ensureAuthIsMutable();
2435 auth_.addAll(other.auth_);
2436 }
2437 onChanged();
2438 }
2439 this.mergeUnknownFields(other.getUnknownFields());
2440 return this;
2441 }
2442
2443 public final boolean isInitialized() {
2444 if (!hasUser()) {
2445
2446 return false;
2447 }
2448 return true;
2449 }
2450
2451 public Builder mergeFrom(
2452 com.google.protobuf.CodedInputStream input,
2453 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2454 throws java.io.IOException {
2455 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest parsedMessage = null;
2456 try {
2457 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
2458 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2459 parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest) e.getUnfinishedMessage();
2460 throw e;
2461 } finally {
2462 if (parsedMessage != null) {
2463 mergeFrom(parsedMessage);
2464 }
2465 }
2466 return this;
2467 }
2468 private int bitField0_;
2469
2470
2471 private com.google.protobuf.ByteString user_ = com.google.protobuf.ByteString.EMPTY;
2472
2473
2474
2475 public boolean hasUser() {
2476 return ((bitField0_ & 0x00000001) == 0x00000001);
2477 }
2478
2479
2480
2481 public com.google.protobuf.ByteString getUser() {
2482 return user_;
2483 }
2484
2485
2486
2487 public Builder setUser(com.google.protobuf.ByteString value) {
2488 if (value == null) {
2489 throw new NullPointerException();
2490 }
2491 bitField0_ |= 0x00000001;
2492 user_ = value;
2493 onChanged();
2494 return this;
2495 }
2496
2497
2498
2499 public Builder clearUser() {
2500 bitField0_ = (bitField0_ & ~0x00000001);
2501 user_ = getDefaultInstance().getUser();
2502 onChanged();
2503 return this;
2504 }
2505
2506
2507 private java.util.List<com.google.protobuf.ByteString> auth_ = java.util.Collections.emptyList();
2508 private void ensureAuthIsMutable() {
2509 if (!((bitField0_ & 0x00000002) == 0x00000002)) {
2510 auth_ = new java.util.ArrayList<com.google.protobuf.ByteString>(auth_);
2511 bitField0_ |= 0x00000002;
2512 }
2513 }
2514
2515
2516
2517 public java.util.List<com.google.protobuf.ByteString>
2518 getAuthList() {
2519 return java.util.Collections.unmodifiableList(auth_);
2520 }
2521
2522
2523
2524 public int getAuthCount() {
2525 return auth_.size();
2526 }
2527
2528
2529
2530 public com.google.protobuf.ByteString getAuth(int index) {
2531 return auth_.get(index);
2532 }
2533
2534
2535
2536 public Builder setAuth(
2537 int index, com.google.protobuf.ByteString value) {
2538 if (value == null) {
2539 throw new NullPointerException();
2540 }
2541 ensureAuthIsMutable();
2542 auth_.set(index, value);
2543 onChanged();
2544 return this;
2545 }
2546
2547
2548
2549 public Builder addAuth(com.google.protobuf.ByteString value) {
2550 if (value == null) {
2551 throw new NullPointerException();
2552 }
2553 ensureAuthIsMutable();
2554 auth_.add(value);
2555 onChanged();
2556 return this;
2557 }
2558
2559
2560
2561 public Builder addAllAuth(
2562 java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
2563 ensureAuthIsMutable();
2564 super.addAll(values, auth_);
2565 onChanged();
2566 return this;
2567 }
2568
2569
2570
2571 public Builder clearAuth() {
2572 auth_ = java.util.Collections.emptyList();
2573 bitField0_ = (bitField0_ & ~0x00000002);
2574 onChanged();
2575 return this;
2576 }
2577
2578
2579 }
2580
2581 static {
2582 defaultInstance = new SetAuthsRequest(true);
2583 defaultInstance.initFields();
2584 }
2585
2586
2587 }
2588
2589 public interface UserAuthorizationsOrBuilder
2590 extends com.google.protobuf.MessageOrBuilder {
2591
2592
2593
2594
2595
2596 boolean hasUser();
2597
2598
2599
2600 com.google.protobuf.ByteString getUser();
2601
2602
2603
2604
2605
2606 java.util.List<java.lang.Integer> getAuthList();
2607
2608
2609
2610 int getAuthCount();
2611
2612
2613
2614 int getAuth(int index);
2615 }
2616
2617
2618
2619 public static final class UserAuthorizations extends
2620 com.google.protobuf.GeneratedMessage
2621 implements UserAuthorizationsOrBuilder {
2622
2623 private UserAuthorizations(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
2624 super(builder);
2625 this.unknownFields = builder.getUnknownFields();
2626 }
2627 private UserAuthorizations(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
2628
2629 private static final UserAuthorizations defaultInstance;
2630 public static UserAuthorizations getDefaultInstance() {
2631 return defaultInstance;
2632 }
2633
2634 public UserAuthorizations getDefaultInstanceForType() {
2635 return defaultInstance;
2636 }
2637
2638 private final com.google.protobuf.UnknownFieldSet unknownFields;
2639 @java.lang.Override
2640 public final com.google.protobuf.UnknownFieldSet
2641 getUnknownFields() {
2642 return this.unknownFields;
2643 }
2644 private UserAuthorizations(
2645 com.google.protobuf.CodedInputStream input,
2646 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2647 throws com.google.protobuf.InvalidProtocolBufferException {
2648 initFields();
2649 int mutable_bitField0_ = 0;
2650 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2651 com.google.protobuf.UnknownFieldSet.newBuilder();
2652 try {
2653 boolean done = false;
2654 while (!done) {
2655 int tag = input.readTag();
2656 switch (tag) {
2657 case 0:
2658 done = true;
2659 break;
2660 default: {
2661 if (!parseUnknownField(input, unknownFields,
2662 extensionRegistry, tag)) {
2663 done = true;
2664 }
2665 break;
2666 }
2667 case 10: {
2668 bitField0_ |= 0x00000001;
2669 user_ = input.readBytes();
2670 break;
2671 }
2672 case 16: {
2673 if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
2674 auth_ = new java.util.ArrayList<java.lang.Integer>();
2675 mutable_bitField0_ |= 0x00000002;
2676 }
2677 auth_.add(input.readUInt32());
2678 break;
2679 }
2680 case 18: {
2681 int length = input.readRawVarint32();
2682 int limit = input.pushLimit(length);
2683 if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) {
2684 auth_ = new java.util.ArrayList<java.lang.Integer>();
2685 mutable_bitField0_ |= 0x00000002;
2686 }
2687 while (input.getBytesUntilLimit() > 0) {
2688 auth_.add(input.readUInt32());
2689 }
2690 input.popLimit(limit);
2691 break;
2692 }
2693 }
2694 }
2695 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
2696 throw e.setUnfinishedMessage(this);
2697 } catch (java.io.IOException e) {
2698 throw new com.google.protobuf.InvalidProtocolBufferException(
2699 e.getMessage()).setUnfinishedMessage(this);
2700 } finally {
2701 if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
2702 auth_ = java.util.Collections.unmodifiableList(auth_);
2703 }
2704 this.unknownFields = unknownFields.build();
2705 makeExtensionsImmutable();
2706 }
2707 }
2708 public static final com.google.protobuf.Descriptors.Descriptor
2709 getDescriptor() {
2710 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_UserAuthorizations_descriptor;
2711 }
2712
2713 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2714 internalGetFieldAccessorTable() {
2715 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_UserAuthorizations_fieldAccessorTable
2716 .ensureFieldAccessorsInitialized(
2717 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations.class, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations.Builder.class);
2718 }
2719
2720 public static com.google.protobuf.Parser<UserAuthorizations> PARSER =
2721 new com.google.protobuf.AbstractParser<UserAuthorizations>() {
2722 public UserAuthorizations parsePartialFrom(
2723 com.google.protobuf.CodedInputStream input,
2724 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2725 throws com.google.protobuf.InvalidProtocolBufferException {
2726 return new UserAuthorizations(input, extensionRegistry);
2727 }
2728 };
2729
2730 @java.lang.Override
2731 public com.google.protobuf.Parser<UserAuthorizations> getParserForType() {
2732 return PARSER;
2733 }
2734
2735 private int bitField0_;
2736
2737 public static final int USER_FIELD_NUMBER = 1;
2738 private com.google.protobuf.ByteString user_;
2739
2740
2741
2742 public boolean hasUser() {
2743 return ((bitField0_ & 0x00000001) == 0x00000001);
2744 }
2745
2746
2747
2748 public com.google.protobuf.ByteString getUser() {
2749 return user_;
2750 }
2751
2752
2753 public static final int AUTH_FIELD_NUMBER = 2;
2754 private java.util.List<java.lang.Integer> auth_;
2755
2756
2757
2758 public java.util.List<java.lang.Integer>
2759 getAuthList() {
2760 return auth_;
2761 }
2762
2763
2764
2765 public int getAuthCount() {
2766 return auth_.size();
2767 }
2768
2769
2770
2771 public int getAuth(int index) {
2772 return auth_.get(index);
2773 }
2774
2775 private void initFields() {
2776 user_ = com.google.protobuf.ByteString.EMPTY;
2777 auth_ = java.util.Collections.emptyList();
2778 }
2779 private byte memoizedIsInitialized = -1;
2780 public final boolean isInitialized() {
2781 byte isInitialized = memoizedIsInitialized;
2782 if (isInitialized != -1) return isInitialized == 1;
2783
2784 if (!hasUser()) {
2785 memoizedIsInitialized = 0;
2786 return false;
2787 }
2788 memoizedIsInitialized = 1;
2789 return true;
2790 }
2791
2792 public void writeTo(com.google.protobuf.CodedOutputStream output)
2793 throws java.io.IOException {
2794 getSerializedSize();
2795 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2796 output.writeBytes(1, user_);
2797 }
2798 for (int i = 0; i < auth_.size(); i++) {
2799 output.writeUInt32(2, auth_.get(i));
2800 }
2801 getUnknownFields().writeTo(output);
2802 }
2803
2804 private int memoizedSerializedSize = -1;
2805 public int getSerializedSize() {
2806 int size = memoizedSerializedSize;
2807 if (size != -1) return size;
2808
2809 size = 0;
2810 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2811 size += com.google.protobuf.CodedOutputStream
2812 .computeBytesSize(1, user_);
2813 }
2814 {
2815 int dataSize = 0;
2816 for (int i = 0; i < auth_.size(); i++) {
2817 dataSize += com.google.protobuf.CodedOutputStream
2818 .computeUInt32SizeNoTag(auth_.get(i));
2819 }
2820 size += dataSize;
2821 size += 1 * getAuthList().size();
2822 }
2823 size += getUnknownFields().getSerializedSize();
2824 memoizedSerializedSize = size;
2825 return size;
2826 }
2827
2828 private static final long serialVersionUID = 0L;
2829 @java.lang.Override
2830 protected java.lang.Object writeReplace()
2831 throws java.io.ObjectStreamException {
2832 return super.writeReplace();
2833 }
2834
2835 @java.lang.Override
2836 public boolean equals(final java.lang.Object obj) {
2837 if (obj == this) {
2838 return true;
2839 }
2840 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations)) {
2841 return super.equals(obj);
2842 }
2843 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations other = (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations) obj;
2844
2845 boolean result = true;
2846 result = result && (hasUser() == other.hasUser());
2847 if (hasUser()) {
2848 result = result && getUser()
2849 .equals(other.getUser());
2850 }
2851 result = result && getAuthList()
2852 .equals(other.getAuthList());
2853 result = result &&
2854 getUnknownFields().equals(other.getUnknownFields());
2855 return result;
2856 }
2857
2858 private int memoizedHashCode = 0;
2859 @java.lang.Override
2860 public int hashCode() {
2861 if (memoizedHashCode != 0) {
2862 return memoizedHashCode;
2863 }
2864 int hash = 41;
2865 hash = (19 * hash) + getDescriptorForType().hashCode();
2866 if (hasUser()) {
2867 hash = (37 * hash) + USER_FIELD_NUMBER;
2868 hash = (53 * hash) + getUser().hashCode();
2869 }
2870 if (getAuthCount() > 0) {
2871 hash = (37 * hash) + AUTH_FIELD_NUMBER;
2872 hash = (53 * hash) + getAuthList().hashCode();
2873 }
2874 hash = (29 * hash) + getUnknownFields().hashCode();
2875 memoizedHashCode = hash;
2876 return hash;
2877 }
2878
2879 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations parseFrom(
2880 com.google.protobuf.ByteString data)
2881 throws com.google.protobuf.InvalidProtocolBufferException {
2882 return PARSER.parseFrom(data);
2883 }
2884 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations parseFrom(
2885 com.google.protobuf.ByteString data,
2886 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2887 throws com.google.protobuf.InvalidProtocolBufferException {
2888 return PARSER.parseFrom(data, extensionRegistry);
2889 }
2890 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations parseFrom(byte[] data)
2891 throws com.google.protobuf.InvalidProtocolBufferException {
2892 return PARSER.parseFrom(data);
2893 }
2894 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations parseFrom(
2895 byte[] data,
2896 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2897 throws com.google.protobuf.InvalidProtocolBufferException {
2898 return PARSER.parseFrom(data, extensionRegistry);
2899 }
2900 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations parseFrom(java.io.InputStream input)
2901 throws java.io.IOException {
2902 return PARSER.parseFrom(input);
2903 }
2904 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations parseFrom(
2905 java.io.InputStream input,
2906 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2907 throws java.io.IOException {
2908 return PARSER.parseFrom(input, extensionRegistry);
2909 }
2910 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations parseDelimitedFrom(java.io.InputStream input)
2911 throws java.io.IOException {
2912 return PARSER.parseDelimitedFrom(input);
2913 }
2914 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations parseDelimitedFrom(
2915 java.io.InputStream input,
2916 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2917 throws java.io.IOException {
2918 return PARSER.parseDelimitedFrom(input, extensionRegistry);
2919 }
2920 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations parseFrom(
2921 com.google.protobuf.CodedInputStream input)
2922 throws java.io.IOException {
2923 return PARSER.parseFrom(input);
2924 }
2925 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations parseFrom(
2926 com.google.protobuf.CodedInputStream input,
2927 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2928 throws java.io.IOException {
2929 return PARSER.parseFrom(input, extensionRegistry);
2930 }
2931
2932 public static Builder newBuilder() { return Builder.create(); }
2933 public Builder newBuilderForType() { return newBuilder(); }
2934 public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations prototype) {
2935 return newBuilder().mergeFrom(prototype);
2936 }
2937 public Builder toBuilder() { return newBuilder(this); }
2938
2939 @java.lang.Override
2940 protected Builder newBuilderForType(
2941 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2942 Builder builder = new Builder(parent);
2943 return builder;
2944 }
2945
2946
2947
2948 public static final class Builder extends
2949 com.google.protobuf.GeneratedMessage.Builder<Builder>
2950 implements org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizationsOrBuilder {
2951 public static final com.google.protobuf.Descriptors.Descriptor
2952 getDescriptor() {
2953 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_UserAuthorizations_descriptor;
2954 }
2955
2956 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2957 internalGetFieldAccessorTable() {
2958 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_UserAuthorizations_fieldAccessorTable
2959 .ensureFieldAccessorsInitialized(
2960 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations.class, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations.Builder.class);
2961 }
2962
2963
2964 private Builder() {
2965 maybeForceBuilderInitialization();
2966 }
2967
2968 private Builder(
2969 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2970 super(parent);
2971 maybeForceBuilderInitialization();
2972 }
2973 private void maybeForceBuilderInitialization() {
2974 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2975 }
2976 }
2977 private static Builder create() {
2978 return new Builder();
2979 }
2980
2981 public Builder clear() {
2982 super.clear();
2983 user_ = com.google.protobuf.ByteString.EMPTY;
2984 bitField0_ = (bitField0_ & ~0x00000001);
2985 auth_ = java.util.Collections.emptyList();
2986 bitField0_ = (bitField0_ & ~0x00000002);
2987 return this;
2988 }
2989
2990 public Builder clone() {
2991 return create().mergeFrom(buildPartial());
2992 }
2993
2994 public com.google.protobuf.Descriptors.Descriptor
2995 getDescriptorForType() {
2996 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_UserAuthorizations_descriptor;
2997 }
2998
2999 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations getDefaultInstanceForType() {
3000 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations.getDefaultInstance();
3001 }
3002
3003 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations build() {
3004 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations result = buildPartial();
3005 if (!result.isInitialized()) {
3006 throw newUninitializedMessageException(result);
3007 }
3008 return result;
3009 }
3010
3011 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations buildPartial() {
3012 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations result = new org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations(this);
3013 int from_bitField0_ = bitField0_;
3014 int to_bitField0_ = 0;
3015 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
3016 to_bitField0_ |= 0x00000001;
3017 }
3018 result.user_ = user_;
3019 if (((bitField0_ & 0x00000002) == 0x00000002)) {
3020 auth_ = java.util.Collections.unmodifiableList(auth_);
3021 bitField0_ = (bitField0_ & ~0x00000002);
3022 }
3023 result.auth_ = auth_;
3024 result.bitField0_ = to_bitField0_;
3025 onBuilt();
3026 return result;
3027 }
3028
3029 public Builder mergeFrom(com.google.protobuf.Message other) {
3030 if (other instanceof org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations) {
3031 return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations)other);
3032 } else {
3033 super.mergeFrom(other);
3034 return this;
3035 }
3036 }
3037
3038 public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations other) {
3039 if (other == org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations.getDefaultInstance()) return this;
3040 if (other.hasUser()) {
3041 setUser(other.getUser());
3042 }
3043 if (!other.auth_.isEmpty()) {
3044 if (auth_.isEmpty()) {
3045 auth_ = other.auth_;
3046 bitField0_ = (bitField0_ & ~0x00000002);
3047 } else {
3048 ensureAuthIsMutable();
3049 auth_.addAll(other.auth_);
3050 }
3051 onChanged();
3052 }
3053 this.mergeUnknownFields(other.getUnknownFields());
3054 return this;
3055 }
3056
3057 public final boolean isInitialized() {
3058 if (!hasUser()) {
3059
3060 return false;
3061 }
3062 return true;
3063 }
3064
3065 public Builder mergeFrom(
3066 com.google.protobuf.CodedInputStream input,
3067 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3068 throws java.io.IOException {
3069 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations parsedMessage = null;
3070 try {
3071 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
3072 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3073 parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations) e.getUnfinishedMessage();
3074 throw e;
3075 } finally {
3076 if (parsedMessage != null) {
3077 mergeFrom(parsedMessage);
3078 }
3079 }
3080 return this;
3081 }
3082 private int bitField0_;
3083
3084
3085 private com.google.protobuf.ByteString user_ = com.google.protobuf.ByteString.EMPTY;
3086
3087
3088
3089 public boolean hasUser() {
3090 return ((bitField0_ & 0x00000001) == 0x00000001);
3091 }
3092
3093
3094
3095 public com.google.protobuf.ByteString getUser() {
3096 return user_;
3097 }
3098
3099
3100
3101 public Builder setUser(com.google.protobuf.ByteString value) {
3102 if (value == null) {
3103 throw new NullPointerException();
3104 }
3105 bitField0_ |= 0x00000001;
3106 user_ = value;
3107 onChanged();
3108 return this;
3109 }
3110
3111
3112
3113 public Builder clearUser() {
3114 bitField0_ = (bitField0_ & ~0x00000001);
3115 user_ = getDefaultInstance().getUser();
3116 onChanged();
3117 return this;
3118 }
3119
3120
3121 private java.util.List<java.lang.Integer> auth_ = java.util.Collections.emptyList();
3122 private void ensureAuthIsMutable() {
3123 if (!((bitField0_ & 0x00000002) == 0x00000002)) {
3124 auth_ = new java.util.ArrayList<java.lang.Integer>(auth_);
3125 bitField0_ |= 0x00000002;
3126 }
3127 }
3128
3129
3130
3131 public java.util.List<java.lang.Integer>
3132 getAuthList() {
3133 return java.util.Collections.unmodifiableList(auth_);
3134 }
3135
3136
3137
3138 public int getAuthCount() {
3139 return auth_.size();
3140 }
3141
3142
3143
3144 public int getAuth(int index) {
3145 return auth_.get(index);
3146 }
3147
3148
3149
3150 public Builder setAuth(
3151 int index, int value) {
3152 ensureAuthIsMutable();
3153 auth_.set(index, value);
3154 onChanged();
3155 return this;
3156 }
3157
3158
3159
3160 public Builder addAuth(int value) {
3161 ensureAuthIsMutable();
3162 auth_.add(value);
3163 onChanged();
3164 return this;
3165 }
3166
3167
3168
3169 public Builder addAllAuth(
3170 java.lang.Iterable<? extends java.lang.Integer> values) {
3171 ensureAuthIsMutable();
3172 super.addAll(values, auth_);
3173 onChanged();
3174 return this;
3175 }
3176
3177
3178
3179 public Builder clearAuth() {
3180 auth_ = java.util.Collections.emptyList();
3181 bitField0_ = (bitField0_ & ~0x00000002);
3182 onChanged();
3183 return this;
3184 }
3185
3186
3187 }
3188
3189 static {
3190 defaultInstance = new UserAuthorizations(true);
3191 defaultInstance.initFields();
3192 }
3193
3194
3195 }
3196
3197 public interface MultiUserAuthorizationsOrBuilder
3198 extends com.google.protobuf.MessageOrBuilder {
3199
3200
3201
3202
3203
3204 java.util.List<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations>
3205 getUserAuthsList();
3206
3207
3208
3209 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations getUserAuths(int index);
3210
3211
3212
3213 int getUserAuthsCount();
3214
3215
3216
3217 java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizationsOrBuilder>
3218 getUserAuthsOrBuilderList();
3219
3220
3221
3222 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizationsOrBuilder getUserAuthsOrBuilder(
3223 int index);
3224 }
3225
3226
3227
3228 public static final class MultiUserAuthorizations extends
3229 com.google.protobuf.GeneratedMessage
3230 implements MultiUserAuthorizationsOrBuilder {
3231
3232 private MultiUserAuthorizations(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
3233 super(builder);
3234 this.unknownFields = builder.getUnknownFields();
3235 }
3236 private MultiUserAuthorizations(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
3237
3238 private static final MultiUserAuthorizations defaultInstance;
3239 public static MultiUserAuthorizations getDefaultInstance() {
3240 return defaultInstance;
3241 }
3242
3243 public MultiUserAuthorizations getDefaultInstanceForType() {
3244 return defaultInstance;
3245 }
3246
3247 private final com.google.protobuf.UnknownFieldSet unknownFields;
3248 @java.lang.Override
3249 public final com.google.protobuf.UnknownFieldSet
3250 getUnknownFields() {
3251 return this.unknownFields;
3252 }
3253 private MultiUserAuthorizations(
3254 com.google.protobuf.CodedInputStream input,
3255 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3256 throws com.google.protobuf.InvalidProtocolBufferException {
3257 initFields();
3258 int mutable_bitField0_ = 0;
3259 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
3260 com.google.protobuf.UnknownFieldSet.newBuilder();
3261 try {
3262 boolean done = false;
3263 while (!done) {
3264 int tag = input.readTag();
3265 switch (tag) {
3266 case 0:
3267 done = true;
3268 break;
3269 default: {
3270 if (!parseUnknownField(input, unknownFields,
3271 extensionRegistry, tag)) {
3272 done = true;
3273 }
3274 break;
3275 }
3276 case 10: {
3277 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
3278 userAuths_ = new java.util.ArrayList<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations>();
3279 mutable_bitField0_ |= 0x00000001;
3280 }
3281 userAuths_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations.PARSER, extensionRegistry));
3282 break;
3283 }
3284 }
3285 }
3286 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3287 throw e.setUnfinishedMessage(this);
3288 } catch (java.io.IOException e) {
3289 throw new com.google.protobuf.InvalidProtocolBufferException(
3290 e.getMessage()).setUnfinishedMessage(this);
3291 } finally {
3292 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
3293 userAuths_ = java.util.Collections.unmodifiableList(userAuths_);
3294 }
3295 this.unknownFields = unknownFields.build();
3296 makeExtensionsImmutable();
3297 }
3298 }
3299 public static final com.google.protobuf.Descriptors.Descriptor
3300 getDescriptor() {
3301 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_MultiUserAuthorizations_descriptor;
3302 }
3303
3304 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3305 internalGetFieldAccessorTable() {
3306 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_MultiUserAuthorizations_fieldAccessorTable
3307 .ensureFieldAccessorsInitialized(
3308 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations.class, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations.Builder.class);
3309 }
3310
3311 public static com.google.protobuf.Parser<MultiUserAuthorizations> PARSER =
3312 new com.google.protobuf.AbstractParser<MultiUserAuthorizations>() {
3313 public MultiUserAuthorizations parsePartialFrom(
3314 com.google.protobuf.CodedInputStream input,
3315 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3316 throws com.google.protobuf.InvalidProtocolBufferException {
3317 return new MultiUserAuthorizations(input, extensionRegistry);
3318 }
3319 };
3320
3321 @java.lang.Override
3322 public com.google.protobuf.Parser<MultiUserAuthorizations> getParserForType() {
3323 return PARSER;
3324 }
3325
3326
3327 public static final int USERAUTHS_FIELD_NUMBER = 1;
3328 private java.util.List<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations> userAuths_;
3329
3330
3331
3332 public java.util.List<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations> getUserAuthsList() {
3333 return userAuths_;
3334 }
3335
3336
3337
3338 public java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizationsOrBuilder>
3339 getUserAuthsOrBuilderList() {
3340 return userAuths_;
3341 }
3342
3343
3344
3345 public int getUserAuthsCount() {
3346 return userAuths_.size();
3347 }
3348
3349
3350
3351 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations getUserAuths(int index) {
3352 return userAuths_.get(index);
3353 }
3354
3355
3356
3357 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizationsOrBuilder getUserAuthsOrBuilder(
3358 int index) {
3359 return userAuths_.get(index);
3360 }
3361
3362 private void initFields() {
3363 userAuths_ = java.util.Collections.emptyList();
3364 }
3365 private byte memoizedIsInitialized = -1;
3366 public final boolean isInitialized() {
3367 byte isInitialized = memoizedIsInitialized;
3368 if (isInitialized != -1) return isInitialized == 1;
3369
3370 for (int i = 0; i < getUserAuthsCount(); i++) {
3371 if (!getUserAuths(i).isInitialized()) {
3372 memoizedIsInitialized = 0;
3373 return false;
3374 }
3375 }
3376 memoizedIsInitialized = 1;
3377 return true;
3378 }
3379
3380 public void writeTo(com.google.protobuf.CodedOutputStream output)
3381 throws java.io.IOException {
3382 getSerializedSize();
3383 for (int i = 0; i < userAuths_.size(); i++) {
3384 output.writeMessage(1, userAuths_.get(i));
3385 }
3386 getUnknownFields().writeTo(output);
3387 }
3388
3389 private int memoizedSerializedSize = -1;
3390 public int getSerializedSize() {
3391 int size = memoizedSerializedSize;
3392 if (size != -1) return size;
3393
3394 size = 0;
3395 for (int i = 0; i < userAuths_.size(); i++) {
3396 size += com.google.protobuf.CodedOutputStream
3397 .computeMessageSize(1, userAuths_.get(i));
3398 }
3399 size += getUnknownFields().getSerializedSize();
3400 memoizedSerializedSize = size;
3401 return size;
3402 }
3403
3404 private static final long serialVersionUID = 0L;
3405 @java.lang.Override
3406 protected java.lang.Object writeReplace()
3407 throws java.io.ObjectStreamException {
3408 return super.writeReplace();
3409 }
3410
3411 @java.lang.Override
3412 public boolean equals(final java.lang.Object obj) {
3413 if (obj == this) {
3414 return true;
3415 }
3416 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations)) {
3417 return super.equals(obj);
3418 }
3419 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations other = (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations) obj;
3420
3421 boolean result = true;
3422 result = result && getUserAuthsList()
3423 .equals(other.getUserAuthsList());
3424 result = result &&
3425 getUnknownFields().equals(other.getUnknownFields());
3426 return result;
3427 }
3428
3429 private int memoizedHashCode = 0;
3430 @java.lang.Override
3431 public int hashCode() {
3432 if (memoizedHashCode != 0) {
3433 return memoizedHashCode;
3434 }
3435 int hash = 41;
3436 hash = (19 * hash) + getDescriptorForType().hashCode();
3437 if (getUserAuthsCount() > 0) {
3438 hash = (37 * hash) + USERAUTHS_FIELD_NUMBER;
3439 hash = (53 * hash) + getUserAuthsList().hashCode();
3440 }
3441 hash = (29 * hash) + getUnknownFields().hashCode();
3442 memoizedHashCode = hash;
3443 return hash;
3444 }
3445
3446 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations parseFrom(
3447 com.google.protobuf.ByteString data)
3448 throws com.google.protobuf.InvalidProtocolBufferException {
3449 return PARSER.parseFrom(data);
3450 }
3451 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations parseFrom(
3452 com.google.protobuf.ByteString data,
3453 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3454 throws com.google.protobuf.InvalidProtocolBufferException {
3455 return PARSER.parseFrom(data, extensionRegistry);
3456 }
3457 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations parseFrom(byte[] data)
3458 throws com.google.protobuf.InvalidProtocolBufferException {
3459 return PARSER.parseFrom(data);
3460 }
3461 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations parseFrom(
3462 byte[] data,
3463 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3464 throws com.google.protobuf.InvalidProtocolBufferException {
3465 return PARSER.parseFrom(data, extensionRegistry);
3466 }
3467 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations parseFrom(java.io.InputStream input)
3468 throws java.io.IOException {
3469 return PARSER.parseFrom(input);
3470 }
3471 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations parseFrom(
3472 java.io.InputStream input,
3473 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3474 throws java.io.IOException {
3475 return PARSER.parseFrom(input, extensionRegistry);
3476 }
3477 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations parseDelimitedFrom(java.io.InputStream input)
3478 throws java.io.IOException {
3479 return PARSER.parseDelimitedFrom(input);
3480 }
3481 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations parseDelimitedFrom(
3482 java.io.InputStream input,
3483 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3484 throws java.io.IOException {
3485 return PARSER.parseDelimitedFrom(input, extensionRegistry);
3486 }
3487 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations parseFrom(
3488 com.google.protobuf.CodedInputStream input)
3489 throws java.io.IOException {
3490 return PARSER.parseFrom(input);
3491 }
3492 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations parseFrom(
3493 com.google.protobuf.CodedInputStream input,
3494 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3495 throws java.io.IOException {
3496 return PARSER.parseFrom(input, extensionRegistry);
3497 }
3498
3499 public static Builder newBuilder() { return Builder.create(); }
3500 public Builder newBuilderForType() { return newBuilder(); }
3501 public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations prototype) {
3502 return newBuilder().mergeFrom(prototype);
3503 }
3504 public Builder toBuilder() { return newBuilder(this); }
3505
3506 @java.lang.Override
3507 protected Builder newBuilderForType(
3508 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3509 Builder builder = new Builder(parent);
3510 return builder;
3511 }
3512
3513
3514
3515 public static final class Builder extends
3516 com.google.protobuf.GeneratedMessage.Builder<Builder>
3517 implements org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizationsOrBuilder {
3518 public static final com.google.protobuf.Descriptors.Descriptor
3519 getDescriptor() {
3520 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_MultiUserAuthorizations_descriptor;
3521 }
3522
3523 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3524 internalGetFieldAccessorTable() {
3525 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_MultiUserAuthorizations_fieldAccessorTable
3526 .ensureFieldAccessorsInitialized(
3527 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations.class, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations.Builder.class);
3528 }
3529
3530
3531 private Builder() {
3532 maybeForceBuilderInitialization();
3533 }
3534
3535 private Builder(
3536 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3537 super(parent);
3538 maybeForceBuilderInitialization();
3539 }
3540 private void maybeForceBuilderInitialization() {
3541 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
3542 getUserAuthsFieldBuilder();
3543 }
3544 }
3545 private static Builder create() {
3546 return new Builder();
3547 }
3548
3549 public Builder clear() {
3550 super.clear();
3551 if (userAuthsBuilder_ == null) {
3552 userAuths_ = java.util.Collections.emptyList();
3553 bitField0_ = (bitField0_ & ~0x00000001);
3554 } else {
3555 userAuthsBuilder_.clear();
3556 }
3557 return this;
3558 }
3559
3560 public Builder clone() {
3561 return create().mergeFrom(buildPartial());
3562 }
3563
3564 public com.google.protobuf.Descriptors.Descriptor
3565 getDescriptorForType() {
3566 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_MultiUserAuthorizations_descriptor;
3567 }
3568
3569 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations getDefaultInstanceForType() {
3570 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations.getDefaultInstance();
3571 }
3572
3573 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations build() {
3574 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations result = buildPartial();
3575 if (!result.isInitialized()) {
3576 throw newUninitializedMessageException(result);
3577 }
3578 return result;
3579 }
3580
3581 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations buildPartial() {
3582 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations result = new org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations(this);
3583 int from_bitField0_ = bitField0_;
3584 if (userAuthsBuilder_ == null) {
3585 if (((bitField0_ & 0x00000001) == 0x00000001)) {
3586 userAuths_ = java.util.Collections.unmodifiableList(userAuths_);
3587 bitField0_ = (bitField0_ & ~0x00000001);
3588 }
3589 result.userAuths_ = userAuths_;
3590 } else {
3591 result.userAuths_ = userAuthsBuilder_.build();
3592 }
3593 onBuilt();
3594 return result;
3595 }
3596
3597 public Builder mergeFrom(com.google.protobuf.Message other) {
3598 if (other instanceof org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations) {
3599 return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations)other);
3600 } else {
3601 super.mergeFrom(other);
3602 return this;
3603 }
3604 }
3605
3606 public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations other) {
3607 if (other == org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations.getDefaultInstance()) return this;
3608 if (userAuthsBuilder_ == null) {
3609 if (!other.userAuths_.isEmpty()) {
3610 if (userAuths_.isEmpty()) {
3611 userAuths_ = other.userAuths_;
3612 bitField0_ = (bitField0_ & ~0x00000001);
3613 } else {
3614 ensureUserAuthsIsMutable();
3615 userAuths_.addAll(other.userAuths_);
3616 }
3617 onChanged();
3618 }
3619 } else {
3620 if (!other.userAuths_.isEmpty()) {
3621 if (userAuthsBuilder_.isEmpty()) {
3622 userAuthsBuilder_.dispose();
3623 userAuthsBuilder_ = null;
3624 userAuths_ = other.userAuths_;
3625 bitField0_ = (bitField0_ & ~0x00000001);
3626 userAuthsBuilder_ =
3627 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
3628 getUserAuthsFieldBuilder() : null;
3629 } else {
3630 userAuthsBuilder_.addAllMessages(other.userAuths_);
3631 }
3632 }
3633 }
3634 this.mergeUnknownFields(other.getUnknownFields());
3635 return this;
3636 }
3637
3638 public final boolean isInitialized() {
3639 for (int i = 0; i < getUserAuthsCount(); i++) {
3640 if (!getUserAuths(i).isInitialized()) {
3641
3642 return false;
3643 }
3644 }
3645 return true;
3646 }
3647
3648 public Builder mergeFrom(
3649 com.google.protobuf.CodedInputStream input,
3650 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3651 throws java.io.IOException {
3652 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations parsedMessage = null;
3653 try {
3654 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
3655 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3656 parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizations) e.getUnfinishedMessage();
3657 throw e;
3658 } finally {
3659 if (parsedMessage != null) {
3660 mergeFrom(parsedMessage);
3661 }
3662 }
3663 return this;
3664 }
3665 private int bitField0_;
3666
3667
3668 private java.util.List<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations> userAuths_ =
3669 java.util.Collections.emptyList();
3670 private void ensureUserAuthsIsMutable() {
3671 if (!((bitField0_ & 0x00000001) == 0x00000001)) {
3672 userAuths_ = new java.util.ArrayList<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations>(userAuths_);
3673 bitField0_ |= 0x00000001;
3674 }
3675 }
3676
3677 private com.google.protobuf.RepeatedFieldBuilder<
3678 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations.Builder, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizationsOrBuilder> userAuthsBuilder_;
3679
3680
3681
3682
3683 public java.util.List<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations> getUserAuthsList() {
3684 if (userAuthsBuilder_ == null) {
3685 return java.util.Collections.unmodifiableList(userAuths_);
3686 } else {
3687 return userAuthsBuilder_.getMessageList();
3688 }
3689 }
3690
3691
3692
3693 public int getUserAuthsCount() {
3694 if (userAuthsBuilder_ == null) {
3695 return userAuths_.size();
3696 } else {
3697 return userAuthsBuilder_.getCount();
3698 }
3699 }
3700
3701
3702
3703 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations getUserAuths(int index) {
3704 if (userAuthsBuilder_ == null) {
3705 return userAuths_.get(index);
3706 } else {
3707 return userAuthsBuilder_.getMessage(index);
3708 }
3709 }
3710
3711
3712
3713 public Builder setUserAuths(
3714 int index, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations value) {
3715 if (userAuthsBuilder_ == null) {
3716 if (value == null) {
3717 throw new NullPointerException();
3718 }
3719 ensureUserAuthsIsMutable();
3720 userAuths_.set(index, value);
3721 onChanged();
3722 } else {
3723 userAuthsBuilder_.setMessage(index, value);
3724 }
3725 return this;
3726 }
3727
3728
3729
3730 public Builder setUserAuths(
3731 int index, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations.Builder builderForValue) {
3732 if (userAuthsBuilder_ == null) {
3733 ensureUserAuthsIsMutable();
3734 userAuths_.set(index, builderForValue.build());
3735 onChanged();
3736 } else {
3737 userAuthsBuilder_.setMessage(index, builderForValue.build());
3738 }
3739 return this;
3740 }
3741
3742
3743
3744 public Builder addUserAuths(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations value) {
3745 if (userAuthsBuilder_ == null) {
3746 if (value == null) {
3747 throw new NullPointerException();
3748 }
3749 ensureUserAuthsIsMutable();
3750 userAuths_.add(value);
3751 onChanged();
3752 } else {
3753 userAuthsBuilder_.addMessage(value);
3754 }
3755 return this;
3756 }
3757
3758
3759
3760 public Builder addUserAuths(
3761 int index, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations value) {
3762 if (userAuthsBuilder_ == null) {
3763 if (value == null) {
3764 throw new NullPointerException();
3765 }
3766 ensureUserAuthsIsMutable();
3767 userAuths_.add(index, value);
3768 onChanged();
3769 } else {
3770 userAuthsBuilder_.addMessage(index, value);
3771 }
3772 return this;
3773 }
3774
3775
3776
3777 public Builder addUserAuths(
3778 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations.Builder builderForValue) {
3779 if (userAuthsBuilder_ == null) {
3780 ensureUserAuthsIsMutable();
3781 userAuths_.add(builderForValue.build());
3782 onChanged();
3783 } else {
3784 userAuthsBuilder_.addMessage(builderForValue.build());
3785 }
3786 return this;
3787 }
3788
3789
3790
3791 public Builder addUserAuths(
3792 int index, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations.Builder builderForValue) {
3793 if (userAuthsBuilder_ == null) {
3794 ensureUserAuthsIsMutable();
3795 userAuths_.add(index, builderForValue.build());
3796 onChanged();
3797 } else {
3798 userAuthsBuilder_.addMessage(index, builderForValue.build());
3799 }
3800 return this;
3801 }
3802
3803
3804
3805 public Builder addAllUserAuths(
3806 java.lang.Iterable<? extends org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations> values) {
3807 if (userAuthsBuilder_ == null) {
3808 ensureUserAuthsIsMutable();
3809 super.addAll(values, userAuths_);
3810 onChanged();
3811 } else {
3812 userAuthsBuilder_.addAllMessages(values);
3813 }
3814 return this;
3815 }
3816
3817
3818
3819 public Builder clearUserAuths() {
3820 if (userAuthsBuilder_ == null) {
3821 userAuths_ = java.util.Collections.emptyList();
3822 bitField0_ = (bitField0_ & ~0x00000001);
3823 onChanged();
3824 } else {
3825 userAuthsBuilder_.clear();
3826 }
3827 return this;
3828 }
3829
3830
3831
3832 public Builder removeUserAuths(int index) {
3833 if (userAuthsBuilder_ == null) {
3834 ensureUserAuthsIsMutable();
3835 userAuths_.remove(index);
3836 onChanged();
3837 } else {
3838 userAuthsBuilder_.remove(index);
3839 }
3840 return this;
3841 }
3842
3843
3844
3845 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations.Builder getUserAuthsBuilder(
3846 int index) {
3847 return getUserAuthsFieldBuilder().getBuilder(index);
3848 }
3849
3850
3851
3852 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizationsOrBuilder getUserAuthsOrBuilder(
3853 int index) {
3854 if (userAuthsBuilder_ == null) {
3855 return userAuths_.get(index); } else {
3856 return userAuthsBuilder_.getMessageOrBuilder(index);
3857 }
3858 }
3859
3860
3861
3862 public java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizationsOrBuilder>
3863 getUserAuthsOrBuilderList() {
3864 if (userAuthsBuilder_ != null) {
3865 return userAuthsBuilder_.getMessageOrBuilderList();
3866 } else {
3867 return java.util.Collections.unmodifiableList(userAuths_);
3868 }
3869 }
3870
3871
3872
3873 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations.Builder addUserAuthsBuilder() {
3874 return getUserAuthsFieldBuilder().addBuilder(
3875 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations.getDefaultInstance());
3876 }
3877
3878
3879
3880 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations.Builder addUserAuthsBuilder(
3881 int index) {
3882 return getUserAuthsFieldBuilder().addBuilder(
3883 index, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations.getDefaultInstance());
3884 }
3885
3886
3887
3888 public java.util.List<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations.Builder>
3889 getUserAuthsBuilderList() {
3890 return getUserAuthsFieldBuilder().getBuilderList();
3891 }
3892 private com.google.protobuf.RepeatedFieldBuilder<
3893 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations.Builder, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizationsOrBuilder>
3894 getUserAuthsFieldBuilder() {
3895 if (userAuthsBuilder_ == null) {
3896 userAuthsBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
3897 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizations.Builder, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizationsOrBuilder>(
3898 userAuths_,
3899 ((bitField0_ & 0x00000001) == 0x00000001),
3900 getParentForChildren(),
3901 isClean());
3902 userAuths_ = null;
3903 }
3904 return userAuthsBuilder_;
3905 }
3906
3907
3908 }
3909
3910 static {
3911 defaultInstance = new MultiUserAuthorizations(true);
3912 defaultInstance.initFields();
3913 }
3914
3915
3916 }
3917
3918 public interface GetAuthsRequestOrBuilder
3919 extends com.google.protobuf.MessageOrBuilder {
3920
3921
3922
3923
3924
3925 boolean hasUser();
3926
3927
3928
3929 com.google.protobuf.ByteString getUser();
3930 }
3931
3932
3933
3934 public static final class GetAuthsRequest extends
3935 com.google.protobuf.GeneratedMessage
3936 implements GetAuthsRequestOrBuilder {
3937
3938 private GetAuthsRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
3939 super(builder);
3940 this.unknownFields = builder.getUnknownFields();
3941 }
3942 private GetAuthsRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
3943
3944 private static final GetAuthsRequest defaultInstance;
3945 public static GetAuthsRequest getDefaultInstance() {
3946 return defaultInstance;
3947 }
3948
3949 public GetAuthsRequest getDefaultInstanceForType() {
3950 return defaultInstance;
3951 }
3952
3953 private final com.google.protobuf.UnknownFieldSet unknownFields;
3954 @java.lang.Override
3955 public final com.google.protobuf.UnknownFieldSet
3956 getUnknownFields() {
3957 return this.unknownFields;
3958 }
3959 private GetAuthsRequest(
3960 com.google.protobuf.CodedInputStream input,
3961 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3962 throws com.google.protobuf.InvalidProtocolBufferException {
3963 initFields();
3964 int mutable_bitField0_ = 0;
3965 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
3966 com.google.protobuf.UnknownFieldSet.newBuilder();
3967 try {
3968 boolean done = false;
3969 while (!done) {
3970 int tag = input.readTag();
3971 switch (tag) {
3972 case 0:
3973 done = true;
3974 break;
3975 default: {
3976 if (!parseUnknownField(input, unknownFields,
3977 extensionRegistry, tag)) {
3978 done = true;
3979 }
3980 break;
3981 }
3982 case 10: {
3983 bitField0_ |= 0x00000001;
3984 user_ = input.readBytes();
3985 break;
3986 }
3987 }
3988 }
3989 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
3990 throw e.setUnfinishedMessage(this);
3991 } catch (java.io.IOException e) {
3992 throw new com.google.protobuf.InvalidProtocolBufferException(
3993 e.getMessage()).setUnfinishedMessage(this);
3994 } finally {
3995 this.unknownFields = unknownFields.build();
3996 makeExtensionsImmutable();
3997 }
3998 }
3999 public static final com.google.protobuf.Descriptors.Descriptor
4000 getDescriptor() {
4001 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_GetAuthsRequest_descriptor;
4002 }
4003
4004 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
4005 internalGetFieldAccessorTable() {
4006 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_GetAuthsRequest_fieldAccessorTable
4007 .ensureFieldAccessorsInitialized(
4008 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest.class, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest.Builder.class);
4009 }
4010
4011 public static com.google.protobuf.Parser<GetAuthsRequest> PARSER =
4012 new com.google.protobuf.AbstractParser<GetAuthsRequest>() {
4013 public GetAuthsRequest parsePartialFrom(
4014 com.google.protobuf.CodedInputStream input,
4015 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4016 throws com.google.protobuf.InvalidProtocolBufferException {
4017 return new GetAuthsRequest(input, extensionRegistry);
4018 }
4019 };
4020
4021 @java.lang.Override
4022 public com.google.protobuf.Parser<GetAuthsRequest> getParserForType() {
4023 return PARSER;
4024 }
4025
4026 private int bitField0_;
4027
4028 public static final int USER_FIELD_NUMBER = 1;
4029 private com.google.protobuf.ByteString user_;
4030
4031
4032
4033 public boolean hasUser() {
4034 return ((bitField0_ & 0x00000001) == 0x00000001);
4035 }
4036
4037
4038
4039 public com.google.protobuf.ByteString getUser() {
4040 return user_;
4041 }
4042
4043 private void initFields() {
4044 user_ = com.google.protobuf.ByteString.EMPTY;
4045 }
4046 private byte memoizedIsInitialized = -1;
4047 public final boolean isInitialized() {
4048 byte isInitialized = memoizedIsInitialized;
4049 if (isInitialized != -1) return isInitialized == 1;
4050
4051 if (!hasUser()) {
4052 memoizedIsInitialized = 0;
4053 return false;
4054 }
4055 memoizedIsInitialized = 1;
4056 return true;
4057 }
4058
4059 public void writeTo(com.google.protobuf.CodedOutputStream output)
4060 throws java.io.IOException {
4061 getSerializedSize();
4062 if (((bitField0_ & 0x00000001) == 0x00000001)) {
4063 output.writeBytes(1, user_);
4064 }
4065 getUnknownFields().writeTo(output);
4066 }
4067
4068 private int memoizedSerializedSize = -1;
4069 public int getSerializedSize() {
4070 int size = memoizedSerializedSize;
4071 if (size != -1) return size;
4072
4073 size = 0;
4074 if (((bitField0_ & 0x00000001) == 0x00000001)) {
4075 size += com.google.protobuf.CodedOutputStream
4076 .computeBytesSize(1, user_);
4077 }
4078 size += getUnknownFields().getSerializedSize();
4079 memoizedSerializedSize = size;
4080 return size;
4081 }
4082
4083 private static final long serialVersionUID = 0L;
4084 @java.lang.Override
4085 protected java.lang.Object writeReplace()
4086 throws java.io.ObjectStreamException {
4087 return super.writeReplace();
4088 }
4089
4090 @java.lang.Override
4091 public boolean equals(final java.lang.Object obj) {
4092 if (obj == this) {
4093 return true;
4094 }
4095 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest)) {
4096 return super.equals(obj);
4097 }
4098 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest other = (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest) obj;
4099
4100 boolean result = true;
4101 result = result && (hasUser() == other.hasUser());
4102 if (hasUser()) {
4103 result = result && getUser()
4104 .equals(other.getUser());
4105 }
4106 result = result &&
4107 getUnknownFields().equals(other.getUnknownFields());
4108 return result;
4109 }
4110
4111 private int memoizedHashCode = 0;
4112 @java.lang.Override
4113 public int hashCode() {
4114 if (memoizedHashCode != 0) {
4115 return memoizedHashCode;
4116 }
4117 int hash = 41;
4118 hash = (19 * hash) + getDescriptorForType().hashCode();
4119 if (hasUser()) {
4120 hash = (37 * hash) + USER_FIELD_NUMBER;
4121 hash = (53 * hash) + getUser().hashCode();
4122 }
4123 hash = (29 * hash) + getUnknownFields().hashCode();
4124 memoizedHashCode = hash;
4125 return hash;
4126 }
4127
4128 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest parseFrom(
4129 com.google.protobuf.ByteString data)
4130 throws com.google.protobuf.InvalidProtocolBufferException {
4131 return PARSER.parseFrom(data);
4132 }
4133 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest parseFrom(
4134 com.google.protobuf.ByteString data,
4135 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4136 throws com.google.protobuf.InvalidProtocolBufferException {
4137 return PARSER.parseFrom(data, extensionRegistry);
4138 }
4139 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest parseFrom(byte[] data)
4140 throws com.google.protobuf.InvalidProtocolBufferException {
4141 return PARSER.parseFrom(data);
4142 }
4143 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest parseFrom(
4144 byte[] data,
4145 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4146 throws com.google.protobuf.InvalidProtocolBufferException {
4147 return PARSER.parseFrom(data, extensionRegistry);
4148 }
4149 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest parseFrom(java.io.InputStream input)
4150 throws java.io.IOException {
4151 return PARSER.parseFrom(input);
4152 }
4153 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest parseFrom(
4154 java.io.InputStream input,
4155 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4156 throws java.io.IOException {
4157 return PARSER.parseFrom(input, extensionRegistry);
4158 }
4159 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest parseDelimitedFrom(java.io.InputStream input)
4160 throws java.io.IOException {
4161 return PARSER.parseDelimitedFrom(input);
4162 }
4163 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest parseDelimitedFrom(
4164 java.io.InputStream input,
4165 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4166 throws java.io.IOException {
4167 return PARSER.parseDelimitedFrom(input, extensionRegistry);
4168 }
4169 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest parseFrom(
4170 com.google.protobuf.CodedInputStream input)
4171 throws java.io.IOException {
4172 return PARSER.parseFrom(input);
4173 }
4174 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest parseFrom(
4175 com.google.protobuf.CodedInputStream input,
4176 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4177 throws java.io.IOException {
4178 return PARSER.parseFrom(input, extensionRegistry);
4179 }
4180
4181 public static Builder newBuilder() { return Builder.create(); }
4182 public Builder newBuilderForType() { return newBuilder(); }
4183 public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest prototype) {
4184 return newBuilder().mergeFrom(prototype);
4185 }
4186 public Builder toBuilder() { return newBuilder(this); }
4187
4188 @java.lang.Override
4189 protected Builder newBuilderForType(
4190 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
4191 Builder builder = new Builder(parent);
4192 return builder;
4193 }
4194
4195
4196
4197 public static final class Builder extends
4198 com.google.protobuf.GeneratedMessage.Builder<Builder>
4199 implements org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequestOrBuilder {
4200 public static final com.google.protobuf.Descriptors.Descriptor
4201 getDescriptor() {
4202 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_GetAuthsRequest_descriptor;
4203 }
4204
4205 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
4206 internalGetFieldAccessorTable() {
4207 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_GetAuthsRequest_fieldAccessorTable
4208 .ensureFieldAccessorsInitialized(
4209 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest.class, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest.Builder.class);
4210 }
4211
4212
4213 private Builder() {
4214 maybeForceBuilderInitialization();
4215 }
4216
4217 private Builder(
4218 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
4219 super(parent);
4220 maybeForceBuilderInitialization();
4221 }
4222 private void maybeForceBuilderInitialization() {
4223 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
4224 }
4225 }
4226 private static Builder create() {
4227 return new Builder();
4228 }
4229
4230 public Builder clear() {
4231 super.clear();
4232 user_ = com.google.protobuf.ByteString.EMPTY;
4233 bitField0_ = (bitField0_ & ~0x00000001);
4234 return this;
4235 }
4236
4237 public Builder clone() {
4238 return create().mergeFrom(buildPartial());
4239 }
4240
4241 public com.google.protobuf.Descriptors.Descriptor
4242 getDescriptorForType() {
4243 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_GetAuthsRequest_descriptor;
4244 }
4245
4246 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest getDefaultInstanceForType() {
4247 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest.getDefaultInstance();
4248 }
4249
4250 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest build() {
4251 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest result = buildPartial();
4252 if (!result.isInitialized()) {
4253 throw newUninitializedMessageException(result);
4254 }
4255 return result;
4256 }
4257
4258 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest buildPartial() {
4259 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest result = new org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest(this);
4260 int from_bitField0_ = bitField0_;
4261 int to_bitField0_ = 0;
4262 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
4263 to_bitField0_ |= 0x00000001;
4264 }
4265 result.user_ = user_;
4266 result.bitField0_ = to_bitField0_;
4267 onBuilt();
4268 return result;
4269 }
4270
4271 public Builder mergeFrom(com.google.protobuf.Message other) {
4272 if (other instanceof org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest) {
4273 return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest)other);
4274 } else {
4275 super.mergeFrom(other);
4276 return this;
4277 }
4278 }
4279
4280 public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest other) {
4281 if (other == org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest.getDefaultInstance()) return this;
4282 if (other.hasUser()) {
4283 setUser(other.getUser());
4284 }
4285 this.mergeUnknownFields(other.getUnknownFields());
4286 return this;
4287 }
4288
4289 public final boolean isInitialized() {
4290 if (!hasUser()) {
4291
4292 return false;
4293 }
4294 return true;
4295 }
4296
4297 public Builder mergeFrom(
4298 com.google.protobuf.CodedInputStream input,
4299 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4300 throws java.io.IOException {
4301 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest parsedMessage = null;
4302 try {
4303 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
4304 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
4305 parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest) e.getUnfinishedMessage();
4306 throw e;
4307 } finally {
4308 if (parsedMessage != null) {
4309 mergeFrom(parsedMessage);
4310 }
4311 }
4312 return this;
4313 }
4314 private int bitField0_;
4315
4316
4317 private com.google.protobuf.ByteString user_ = com.google.protobuf.ByteString.EMPTY;
4318
4319
4320
4321 public boolean hasUser() {
4322 return ((bitField0_ & 0x00000001) == 0x00000001);
4323 }
4324
4325
4326
4327 public com.google.protobuf.ByteString getUser() {
4328 return user_;
4329 }
4330
4331
4332
4333 public Builder setUser(com.google.protobuf.ByteString value) {
4334 if (value == null) {
4335 throw new NullPointerException();
4336 }
4337 bitField0_ |= 0x00000001;
4338 user_ = value;
4339 onChanged();
4340 return this;
4341 }
4342
4343
4344
4345 public Builder clearUser() {
4346 bitField0_ = (bitField0_ & ~0x00000001);
4347 user_ = getDefaultInstance().getUser();
4348 onChanged();
4349 return this;
4350 }
4351
4352
4353 }
4354
4355 static {
4356 defaultInstance = new GetAuthsRequest(true);
4357 defaultInstance.initFields();
4358 }
4359
4360
4361 }
4362
4363 public interface GetAuthsResponseOrBuilder
4364 extends com.google.protobuf.MessageOrBuilder {
4365
4366
4367
4368
4369
4370 boolean hasUser();
4371
4372
4373
4374 com.google.protobuf.ByteString getUser();
4375
4376
4377
4378
4379
4380 java.util.List<com.google.protobuf.ByteString> getAuthList();
4381
4382
4383
4384 int getAuthCount();
4385
4386
4387
4388 com.google.protobuf.ByteString getAuth(int index);
4389 }
4390
4391
4392
4393 public static final class GetAuthsResponse extends
4394 com.google.protobuf.GeneratedMessage
4395 implements GetAuthsResponseOrBuilder {
4396
4397 private GetAuthsResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
4398 super(builder);
4399 this.unknownFields = builder.getUnknownFields();
4400 }
4401 private GetAuthsResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
4402
4403 private static final GetAuthsResponse defaultInstance;
4404 public static GetAuthsResponse getDefaultInstance() {
4405 return defaultInstance;
4406 }
4407
4408 public GetAuthsResponse getDefaultInstanceForType() {
4409 return defaultInstance;
4410 }
4411
4412 private final com.google.protobuf.UnknownFieldSet unknownFields;
4413 @java.lang.Override
4414 public final com.google.protobuf.UnknownFieldSet
4415 getUnknownFields() {
4416 return this.unknownFields;
4417 }
4418 private GetAuthsResponse(
4419 com.google.protobuf.CodedInputStream input,
4420 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4421 throws com.google.protobuf.InvalidProtocolBufferException {
4422 initFields();
4423 int mutable_bitField0_ = 0;
4424 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
4425 com.google.protobuf.UnknownFieldSet.newBuilder();
4426 try {
4427 boolean done = false;
4428 while (!done) {
4429 int tag = input.readTag();
4430 switch (tag) {
4431 case 0:
4432 done = true;
4433 break;
4434 default: {
4435 if (!parseUnknownField(input, unknownFields,
4436 extensionRegistry, tag)) {
4437 done = true;
4438 }
4439 break;
4440 }
4441 case 10: {
4442 bitField0_ |= 0x00000001;
4443 user_ = input.readBytes();
4444 break;
4445 }
4446 case 18: {
4447 if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
4448 auth_ = new java.util.ArrayList<com.google.protobuf.ByteString>();
4449 mutable_bitField0_ |= 0x00000002;
4450 }
4451 auth_.add(input.readBytes());
4452 break;
4453 }
4454 }
4455 }
4456 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
4457 throw e.setUnfinishedMessage(this);
4458 } catch (java.io.IOException e) {
4459 throw new com.google.protobuf.InvalidProtocolBufferException(
4460 e.getMessage()).setUnfinishedMessage(this);
4461 } finally {
4462 if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
4463 auth_ = java.util.Collections.unmodifiableList(auth_);
4464 }
4465 this.unknownFields = unknownFields.build();
4466 makeExtensionsImmutable();
4467 }
4468 }
4469 public static final com.google.protobuf.Descriptors.Descriptor
4470 getDescriptor() {
4471 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_GetAuthsResponse_descriptor;
4472 }
4473
4474 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
4475 internalGetFieldAccessorTable() {
4476 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_GetAuthsResponse_fieldAccessorTable
4477 .ensureFieldAccessorsInitialized(
4478 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse.class, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse.Builder.class);
4479 }
4480
4481 public static com.google.protobuf.Parser<GetAuthsResponse> PARSER =
4482 new com.google.protobuf.AbstractParser<GetAuthsResponse>() {
4483 public GetAuthsResponse parsePartialFrom(
4484 com.google.protobuf.CodedInputStream input,
4485 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4486 throws com.google.protobuf.InvalidProtocolBufferException {
4487 return new GetAuthsResponse(input, extensionRegistry);
4488 }
4489 };
4490
4491 @java.lang.Override
4492 public com.google.protobuf.Parser<GetAuthsResponse> getParserForType() {
4493 return PARSER;
4494 }
4495
4496 private int bitField0_;
4497
4498 public static final int USER_FIELD_NUMBER = 1;
4499 private com.google.protobuf.ByteString user_;
4500
4501
4502
4503 public boolean hasUser() {
4504 return ((bitField0_ & 0x00000001) == 0x00000001);
4505 }
4506
4507
4508
4509 public com.google.protobuf.ByteString getUser() {
4510 return user_;
4511 }
4512
4513
4514 public static final int AUTH_FIELD_NUMBER = 2;
4515 private java.util.List<com.google.protobuf.ByteString> auth_;
4516
4517
4518
4519 public java.util.List<com.google.protobuf.ByteString>
4520 getAuthList() {
4521 return auth_;
4522 }
4523
4524
4525
4526 public int getAuthCount() {
4527 return auth_.size();
4528 }
4529
4530
4531
4532 public com.google.protobuf.ByteString getAuth(int index) {
4533 return auth_.get(index);
4534 }
4535
4536 private void initFields() {
4537 user_ = com.google.protobuf.ByteString.EMPTY;
4538 auth_ = java.util.Collections.emptyList();
4539 }
4540 private byte memoizedIsInitialized = -1;
4541 public final boolean isInitialized() {
4542 byte isInitialized = memoizedIsInitialized;
4543 if (isInitialized != -1) return isInitialized == 1;
4544
4545 if (!hasUser()) {
4546 memoizedIsInitialized = 0;
4547 return false;
4548 }
4549 memoizedIsInitialized = 1;
4550 return true;
4551 }
4552
4553 public void writeTo(com.google.protobuf.CodedOutputStream output)
4554 throws java.io.IOException {
4555 getSerializedSize();
4556 if (((bitField0_ & 0x00000001) == 0x00000001)) {
4557 output.writeBytes(1, user_);
4558 }
4559 for (int i = 0; i < auth_.size(); i++) {
4560 output.writeBytes(2, auth_.get(i));
4561 }
4562 getUnknownFields().writeTo(output);
4563 }
4564
4565 private int memoizedSerializedSize = -1;
4566 public int getSerializedSize() {
4567 int size = memoizedSerializedSize;
4568 if (size != -1) return size;
4569
4570 size = 0;
4571 if (((bitField0_ & 0x00000001) == 0x00000001)) {
4572 size += com.google.protobuf.CodedOutputStream
4573 .computeBytesSize(1, user_);
4574 }
4575 {
4576 int dataSize = 0;
4577 for (int i = 0; i < auth_.size(); i++) {
4578 dataSize += com.google.protobuf.CodedOutputStream
4579 .computeBytesSizeNoTag(auth_.get(i));
4580 }
4581 size += dataSize;
4582 size += 1 * getAuthList().size();
4583 }
4584 size += getUnknownFields().getSerializedSize();
4585 memoizedSerializedSize = size;
4586 return size;
4587 }
4588
4589 private static final long serialVersionUID = 0L;
4590 @java.lang.Override
4591 protected java.lang.Object writeReplace()
4592 throws java.io.ObjectStreamException {
4593 return super.writeReplace();
4594 }
4595
4596 @java.lang.Override
4597 public boolean equals(final java.lang.Object obj) {
4598 if (obj == this) {
4599 return true;
4600 }
4601 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse)) {
4602 return super.equals(obj);
4603 }
4604 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse other = (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse) obj;
4605
4606 boolean result = true;
4607 result = result && (hasUser() == other.hasUser());
4608 if (hasUser()) {
4609 result = result && getUser()
4610 .equals(other.getUser());
4611 }
4612 result = result && getAuthList()
4613 .equals(other.getAuthList());
4614 result = result &&
4615 getUnknownFields().equals(other.getUnknownFields());
4616 return result;
4617 }
4618
4619 private int memoizedHashCode = 0;
4620 @java.lang.Override
4621 public int hashCode() {
4622 if (memoizedHashCode != 0) {
4623 return memoizedHashCode;
4624 }
4625 int hash = 41;
4626 hash = (19 * hash) + getDescriptorForType().hashCode();
4627 if (hasUser()) {
4628 hash = (37 * hash) + USER_FIELD_NUMBER;
4629 hash = (53 * hash) + getUser().hashCode();
4630 }
4631 if (getAuthCount() > 0) {
4632 hash = (37 * hash) + AUTH_FIELD_NUMBER;
4633 hash = (53 * hash) + getAuthList().hashCode();
4634 }
4635 hash = (29 * hash) + getUnknownFields().hashCode();
4636 memoizedHashCode = hash;
4637 return hash;
4638 }
4639
4640 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse parseFrom(
4641 com.google.protobuf.ByteString data)
4642 throws com.google.protobuf.InvalidProtocolBufferException {
4643 return PARSER.parseFrom(data);
4644 }
4645 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse parseFrom(
4646 com.google.protobuf.ByteString data,
4647 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4648 throws com.google.protobuf.InvalidProtocolBufferException {
4649 return PARSER.parseFrom(data, extensionRegistry);
4650 }
4651 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse parseFrom(byte[] data)
4652 throws com.google.protobuf.InvalidProtocolBufferException {
4653 return PARSER.parseFrom(data);
4654 }
4655 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse parseFrom(
4656 byte[] data,
4657 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4658 throws com.google.protobuf.InvalidProtocolBufferException {
4659 return PARSER.parseFrom(data, extensionRegistry);
4660 }
4661 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse parseFrom(java.io.InputStream input)
4662 throws java.io.IOException {
4663 return PARSER.parseFrom(input);
4664 }
4665 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse parseFrom(
4666 java.io.InputStream input,
4667 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4668 throws java.io.IOException {
4669 return PARSER.parseFrom(input, extensionRegistry);
4670 }
4671 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse parseDelimitedFrom(java.io.InputStream input)
4672 throws java.io.IOException {
4673 return PARSER.parseDelimitedFrom(input);
4674 }
4675 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse parseDelimitedFrom(
4676 java.io.InputStream input,
4677 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4678 throws java.io.IOException {
4679 return PARSER.parseDelimitedFrom(input, extensionRegistry);
4680 }
4681 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse parseFrom(
4682 com.google.protobuf.CodedInputStream input)
4683 throws java.io.IOException {
4684 return PARSER.parseFrom(input);
4685 }
4686 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse parseFrom(
4687 com.google.protobuf.CodedInputStream input,
4688 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4689 throws java.io.IOException {
4690 return PARSER.parseFrom(input, extensionRegistry);
4691 }
4692
4693 public static Builder newBuilder() { return Builder.create(); }
4694 public Builder newBuilderForType() { return newBuilder(); }
4695 public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse prototype) {
4696 return newBuilder().mergeFrom(prototype);
4697 }
4698 public Builder toBuilder() { return newBuilder(this); }
4699
4700 @java.lang.Override
4701 protected Builder newBuilderForType(
4702 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
4703 Builder builder = new Builder(parent);
4704 return builder;
4705 }
4706
4707
4708
4709 public static final class Builder extends
4710 com.google.protobuf.GeneratedMessage.Builder<Builder>
4711 implements org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponseOrBuilder {
4712 public static final com.google.protobuf.Descriptors.Descriptor
4713 getDescriptor() {
4714 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_GetAuthsResponse_descriptor;
4715 }
4716
4717 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
4718 internalGetFieldAccessorTable() {
4719 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_GetAuthsResponse_fieldAccessorTable
4720 .ensureFieldAccessorsInitialized(
4721 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse.class, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse.Builder.class);
4722 }
4723
4724
4725 private Builder() {
4726 maybeForceBuilderInitialization();
4727 }
4728
4729 private Builder(
4730 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
4731 super(parent);
4732 maybeForceBuilderInitialization();
4733 }
4734 private void maybeForceBuilderInitialization() {
4735 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
4736 }
4737 }
4738 private static Builder create() {
4739 return new Builder();
4740 }
4741
4742 public Builder clear() {
4743 super.clear();
4744 user_ = com.google.protobuf.ByteString.EMPTY;
4745 bitField0_ = (bitField0_ & ~0x00000001);
4746 auth_ = java.util.Collections.emptyList();
4747 bitField0_ = (bitField0_ & ~0x00000002);
4748 return this;
4749 }
4750
4751 public Builder clone() {
4752 return create().mergeFrom(buildPartial());
4753 }
4754
4755 public com.google.protobuf.Descriptors.Descriptor
4756 getDescriptorForType() {
4757 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_GetAuthsResponse_descriptor;
4758 }
4759
4760 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse getDefaultInstanceForType() {
4761 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse.getDefaultInstance();
4762 }
4763
4764 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse build() {
4765 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse result = buildPartial();
4766 if (!result.isInitialized()) {
4767 throw newUninitializedMessageException(result);
4768 }
4769 return result;
4770 }
4771
4772 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse buildPartial() {
4773 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse result = new org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse(this);
4774 int from_bitField0_ = bitField0_;
4775 int to_bitField0_ = 0;
4776 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
4777 to_bitField0_ |= 0x00000001;
4778 }
4779 result.user_ = user_;
4780 if (((bitField0_ & 0x00000002) == 0x00000002)) {
4781 auth_ = java.util.Collections.unmodifiableList(auth_);
4782 bitField0_ = (bitField0_ & ~0x00000002);
4783 }
4784 result.auth_ = auth_;
4785 result.bitField0_ = to_bitField0_;
4786 onBuilt();
4787 return result;
4788 }
4789
4790 public Builder mergeFrom(com.google.protobuf.Message other) {
4791 if (other instanceof org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse) {
4792 return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse)other);
4793 } else {
4794 super.mergeFrom(other);
4795 return this;
4796 }
4797 }
4798
4799 public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse other) {
4800 if (other == org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse.getDefaultInstance()) return this;
4801 if (other.hasUser()) {
4802 setUser(other.getUser());
4803 }
4804 if (!other.auth_.isEmpty()) {
4805 if (auth_.isEmpty()) {
4806 auth_ = other.auth_;
4807 bitField0_ = (bitField0_ & ~0x00000002);
4808 } else {
4809 ensureAuthIsMutable();
4810 auth_.addAll(other.auth_);
4811 }
4812 onChanged();
4813 }
4814 this.mergeUnknownFields(other.getUnknownFields());
4815 return this;
4816 }
4817
4818 public final boolean isInitialized() {
4819 if (!hasUser()) {
4820
4821 return false;
4822 }
4823 return true;
4824 }
4825
4826 public Builder mergeFrom(
4827 com.google.protobuf.CodedInputStream input,
4828 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
4829 throws java.io.IOException {
4830 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse parsedMessage = null;
4831 try {
4832 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
4833 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
4834 parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse) e.getUnfinishedMessage();
4835 throw e;
4836 } finally {
4837 if (parsedMessage != null) {
4838 mergeFrom(parsedMessage);
4839 }
4840 }
4841 return this;
4842 }
4843 private int bitField0_;
4844
4845
4846 private com.google.protobuf.ByteString user_ = com.google.protobuf.ByteString.EMPTY;
4847
4848
4849
4850 public boolean hasUser() {
4851 return ((bitField0_ & 0x00000001) == 0x00000001);
4852 }
4853
4854
4855
4856 public com.google.protobuf.ByteString getUser() {
4857 return user_;
4858 }
4859
4860
4861
4862 public Builder setUser(com.google.protobuf.ByteString value) {
4863 if (value == null) {
4864 throw new NullPointerException();
4865 }
4866 bitField0_ |= 0x00000001;
4867 user_ = value;
4868 onChanged();
4869 return this;
4870 }
4871
4872
4873
4874 public Builder clearUser() {
4875 bitField0_ = (bitField0_ & ~0x00000001);
4876 user_ = getDefaultInstance().getUser();
4877 onChanged();
4878 return this;
4879 }
4880
4881
4882 private java.util.List<com.google.protobuf.ByteString> auth_ = java.util.Collections.emptyList();
4883 private void ensureAuthIsMutable() {
4884 if (!((bitField0_ & 0x00000002) == 0x00000002)) {
4885 auth_ = new java.util.ArrayList<com.google.protobuf.ByteString>(auth_);
4886 bitField0_ |= 0x00000002;
4887 }
4888 }
4889
4890
4891
4892 public java.util.List<com.google.protobuf.ByteString>
4893 getAuthList() {
4894 return java.util.Collections.unmodifiableList(auth_);
4895 }
4896
4897
4898
4899 public int getAuthCount() {
4900 return auth_.size();
4901 }
4902
4903
4904
4905 public com.google.protobuf.ByteString getAuth(int index) {
4906 return auth_.get(index);
4907 }
4908
4909
4910
4911 public Builder setAuth(
4912 int index, com.google.protobuf.ByteString value) {
4913 if (value == null) {
4914 throw new NullPointerException();
4915 }
4916 ensureAuthIsMutable();
4917 auth_.set(index, value);
4918 onChanged();
4919 return this;
4920 }
4921
4922
4923
4924 public Builder addAuth(com.google.protobuf.ByteString value) {
4925 if (value == null) {
4926 throw new NullPointerException();
4927 }
4928 ensureAuthIsMutable();
4929 auth_.add(value);
4930 onChanged();
4931 return this;
4932 }
4933
4934
4935
4936 public Builder addAllAuth(
4937 java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
4938 ensureAuthIsMutable();
4939 super.addAll(values, auth_);
4940 onChanged();
4941 return this;
4942 }
4943
4944
4945
4946 public Builder clearAuth() {
4947 auth_ = java.util.Collections.emptyList();
4948 bitField0_ = (bitField0_ & ~0x00000002);
4949 onChanged();
4950 return this;
4951 }
4952
4953
4954 }
4955
4956 static {
4957 defaultInstance = new GetAuthsResponse(true);
4958 defaultInstance.initFields();
4959 }
4960
4961
4962 }
4963
4964 public interface ListLabelsRequestOrBuilder
4965 extends com.google.protobuf.MessageOrBuilder {
4966
4967
4968
4969
4970
4971 boolean hasRegex();
4972
4973
4974
4975 java.lang.String getRegex();
4976
4977
4978
4979 com.google.protobuf.ByteString
4980 getRegexBytes();
4981 }
4982
4983
4984
4985 public static final class ListLabelsRequest extends
4986 com.google.protobuf.GeneratedMessage
4987 implements ListLabelsRequestOrBuilder {
4988
4989 private ListLabelsRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
4990 super(builder);
4991 this.unknownFields = builder.getUnknownFields();
4992 }
4993 private ListLabelsRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
4994
4995 private static final ListLabelsRequest defaultInstance;
4996 public static ListLabelsRequest getDefaultInstance() {
4997 return defaultInstance;
4998 }
4999
5000 public ListLabelsRequest getDefaultInstanceForType() {
5001 return defaultInstance;
5002 }
5003
5004 private final com.google.protobuf.UnknownFieldSet unknownFields;
5005 @java.lang.Override
5006 public final com.google.protobuf.UnknownFieldSet
5007 getUnknownFields() {
5008 return this.unknownFields;
5009 }
5010 private ListLabelsRequest(
5011 com.google.protobuf.CodedInputStream input,
5012 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5013 throws com.google.protobuf.InvalidProtocolBufferException {
5014 initFields();
5015 int mutable_bitField0_ = 0;
5016 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
5017 com.google.protobuf.UnknownFieldSet.newBuilder();
5018 try {
5019 boolean done = false;
5020 while (!done) {
5021 int tag = input.readTag();
5022 switch (tag) {
5023 case 0:
5024 done = true;
5025 break;
5026 default: {
5027 if (!parseUnknownField(input, unknownFields,
5028 extensionRegistry, tag)) {
5029 done = true;
5030 }
5031 break;
5032 }
5033 case 10: {
5034 bitField0_ |= 0x00000001;
5035 regex_ = input.readBytes();
5036 break;
5037 }
5038 }
5039 }
5040 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
5041 throw e.setUnfinishedMessage(this);
5042 } catch (java.io.IOException e) {
5043 throw new com.google.protobuf.InvalidProtocolBufferException(
5044 e.getMessage()).setUnfinishedMessage(this);
5045 } finally {
5046 this.unknownFields = unknownFields.build();
5047 makeExtensionsImmutable();
5048 }
5049 }
5050 public static final com.google.protobuf.Descriptors.Descriptor
5051 getDescriptor() {
5052 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_ListLabelsRequest_descriptor;
5053 }
5054
5055 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
5056 internalGetFieldAccessorTable() {
5057 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_ListLabelsRequest_fieldAccessorTable
5058 .ensureFieldAccessorsInitialized(
5059 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest.class, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest.Builder.class);
5060 }
5061
5062 public static com.google.protobuf.Parser<ListLabelsRequest> PARSER =
5063 new com.google.protobuf.AbstractParser<ListLabelsRequest>() {
5064 public ListLabelsRequest parsePartialFrom(
5065 com.google.protobuf.CodedInputStream input,
5066 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5067 throws com.google.protobuf.InvalidProtocolBufferException {
5068 return new ListLabelsRequest(input, extensionRegistry);
5069 }
5070 };
5071
5072 @java.lang.Override
5073 public com.google.protobuf.Parser<ListLabelsRequest> getParserForType() {
5074 return PARSER;
5075 }
5076
5077 private int bitField0_;
5078
5079 public static final int REGEX_FIELD_NUMBER = 1;
5080 private java.lang.Object regex_;
5081
5082
5083
5084 public boolean hasRegex() {
5085 return ((bitField0_ & 0x00000001) == 0x00000001);
5086 }
5087
5088
5089
5090 public java.lang.String getRegex() {
5091 java.lang.Object ref = regex_;
5092 if (ref instanceof java.lang.String) {
5093 return (java.lang.String) ref;
5094 } else {
5095 com.google.protobuf.ByteString bs =
5096 (com.google.protobuf.ByteString) ref;
5097 java.lang.String s = bs.toStringUtf8();
5098 if (bs.isValidUtf8()) {
5099 regex_ = s;
5100 }
5101 return s;
5102 }
5103 }
5104
5105
5106
5107 public com.google.protobuf.ByteString
5108 getRegexBytes() {
5109 java.lang.Object ref = regex_;
5110 if (ref instanceof java.lang.String) {
5111 com.google.protobuf.ByteString b =
5112 com.google.protobuf.ByteString.copyFromUtf8(
5113 (java.lang.String) ref);
5114 regex_ = b;
5115 return b;
5116 } else {
5117 return (com.google.protobuf.ByteString) ref;
5118 }
5119 }
5120
5121 private void initFields() {
5122 regex_ = "";
5123 }
5124 private byte memoizedIsInitialized = -1;
5125 public final boolean isInitialized() {
5126 byte isInitialized = memoizedIsInitialized;
5127 if (isInitialized != -1) return isInitialized == 1;
5128
5129 memoizedIsInitialized = 1;
5130 return true;
5131 }
5132
5133 public void writeTo(com.google.protobuf.CodedOutputStream output)
5134 throws java.io.IOException {
5135 getSerializedSize();
5136 if (((bitField0_ & 0x00000001) == 0x00000001)) {
5137 output.writeBytes(1, getRegexBytes());
5138 }
5139 getUnknownFields().writeTo(output);
5140 }
5141
5142 private int memoizedSerializedSize = -1;
5143 public int getSerializedSize() {
5144 int size = memoizedSerializedSize;
5145 if (size != -1) return size;
5146
5147 size = 0;
5148 if (((bitField0_ & 0x00000001) == 0x00000001)) {
5149 size += com.google.protobuf.CodedOutputStream
5150 .computeBytesSize(1, getRegexBytes());
5151 }
5152 size += getUnknownFields().getSerializedSize();
5153 memoizedSerializedSize = size;
5154 return size;
5155 }
5156
5157 private static final long serialVersionUID = 0L;
5158 @java.lang.Override
5159 protected java.lang.Object writeReplace()
5160 throws java.io.ObjectStreamException {
5161 return super.writeReplace();
5162 }
5163
5164 @java.lang.Override
5165 public boolean equals(final java.lang.Object obj) {
5166 if (obj == this) {
5167 return true;
5168 }
5169 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest)) {
5170 return super.equals(obj);
5171 }
5172 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest other = (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest) obj;
5173
5174 boolean result = true;
5175 result = result && (hasRegex() == other.hasRegex());
5176 if (hasRegex()) {
5177 result = result && getRegex()
5178 .equals(other.getRegex());
5179 }
5180 result = result &&
5181 getUnknownFields().equals(other.getUnknownFields());
5182 return result;
5183 }
5184
5185 private int memoizedHashCode = 0;
5186 @java.lang.Override
5187 public int hashCode() {
5188 if (memoizedHashCode != 0) {
5189 return memoizedHashCode;
5190 }
5191 int hash = 41;
5192 hash = (19 * hash) + getDescriptorForType().hashCode();
5193 if (hasRegex()) {
5194 hash = (37 * hash) + REGEX_FIELD_NUMBER;
5195 hash = (53 * hash) + getRegex().hashCode();
5196 }
5197 hash = (29 * hash) + getUnknownFields().hashCode();
5198 memoizedHashCode = hash;
5199 return hash;
5200 }
5201
5202 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest parseFrom(
5203 com.google.protobuf.ByteString data)
5204 throws com.google.protobuf.InvalidProtocolBufferException {
5205 return PARSER.parseFrom(data);
5206 }
5207 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest parseFrom(
5208 com.google.protobuf.ByteString data,
5209 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5210 throws com.google.protobuf.InvalidProtocolBufferException {
5211 return PARSER.parseFrom(data, extensionRegistry);
5212 }
5213 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest parseFrom(byte[] data)
5214 throws com.google.protobuf.InvalidProtocolBufferException {
5215 return PARSER.parseFrom(data);
5216 }
5217 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest parseFrom(
5218 byte[] data,
5219 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5220 throws com.google.protobuf.InvalidProtocolBufferException {
5221 return PARSER.parseFrom(data, extensionRegistry);
5222 }
5223 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest parseFrom(java.io.InputStream input)
5224 throws java.io.IOException {
5225 return PARSER.parseFrom(input);
5226 }
5227 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest parseFrom(
5228 java.io.InputStream input,
5229 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5230 throws java.io.IOException {
5231 return PARSER.parseFrom(input, extensionRegistry);
5232 }
5233 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest parseDelimitedFrom(java.io.InputStream input)
5234 throws java.io.IOException {
5235 return PARSER.parseDelimitedFrom(input);
5236 }
5237 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest parseDelimitedFrom(
5238 java.io.InputStream input,
5239 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5240 throws java.io.IOException {
5241 return PARSER.parseDelimitedFrom(input, extensionRegistry);
5242 }
5243 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest parseFrom(
5244 com.google.protobuf.CodedInputStream input)
5245 throws java.io.IOException {
5246 return PARSER.parseFrom(input);
5247 }
5248 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest parseFrom(
5249 com.google.protobuf.CodedInputStream input,
5250 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5251 throws java.io.IOException {
5252 return PARSER.parseFrom(input, extensionRegistry);
5253 }
5254
5255 public static Builder newBuilder() { return Builder.create(); }
5256 public Builder newBuilderForType() { return newBuilder(); }
5257 public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest prototype) {
5258 return newBuilder().mergeFrom(prototype);
5259 }
5260 public Builder toBuilder() { return newBuilder(this); }
5261
5262 @java.lang.Override
5263 protected Builder newBuilderForType(
5264 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
5265 Builder builder = new Builder(parent);
5266 return builder;
5267 }
5268
5269
5270
5271 public static final class Builder extends
5272 com.google.protobuf.GeneratedMessage.Builder<Builder>
5273 implements org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequestOrBuilder {
5274 public static final com.google.protobuf.Descriptors.Descriptor
5275 getDescriptor() {
5276 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_ListLabelsRequest_descriptor;
5277 }
5278
5279 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
5280 internalGetFieldAccessorTable() {
5281 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_ListLabelsRequest_fieldAccessorTable
5282 .ensureFieldAccessorsInitialized(
5283 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest.class, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest.Builder.class);
5284 }
5285
5286
5287 private Builder() {
5288 maybeForceBuilderInitialization();
5289 }
5290
5291 private Builder(
5292 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
5293 super(parent);
5294 maybeForceBuilderInitialization();
5295 }
5296 private void maybeForceBuilderInitialization() {
5297 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
5298 }
5299 }
5300 private static Builder create() {
5301 return new Builder();
5302 }
5303
5304 public Builder clear() {
5305 super.clear();
5306 regex_ = "";
5307 bitField0_ = (bitField0_ & ~0x00000001);
5308 return this;
5309 }
5310
5311 public Builder clone() {
5312 return create().mergeFrom(buildPartial());
5313 }
5314
5315 public com.google.protobuf.Descriptors.Descriptor
5316 getDescriptorForType() {
5317 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_ListLabelsRequest_descriptor;
5318 }
5319
5320 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest getDefaultInstanceForType() {
5321 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest.getDefaultInstance();
5322 }
5323
5324 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest build() {
5325 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest result = buildPartial();
5326 if (!result.isInitialized()) {
5327 throw newUninitializedMessageException(result);
5328 }
5329 return result;
5330 }
5331
5332 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest buildPartial() {
5333 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest result = new org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest(this);
5334 int from_bitField0_ = bitField0_;
5335 int to_bitField0_ = 0;
5336 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
5337 to_bitField0_ |= 0x00000001;
5338 }
5339 result.regex_ = regex_;
5340 result.bitField0_ = to_bitField0_;
5341 onBuilt();
5342 return result;
5343 }
5344
5345 public Builder mergeFrom(com.google.protobuf.Message other) {
5346 if (other instanceof org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest) {
5347 return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest)other);
5348 } else {
5349 super.mergeFrom(other);
5350 return this;
5351 }
5352 }
5353
5354 public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest other) {
5355 if (other == org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest.getDefaultInstance()) return this;
5356 if (other.hasRegex()) {
5357 bitField0_ |= 0x00000001;
5358 regex_ = other.regex_;
5359 onChanged();
5360 }
5361 this.mergeUnknownFields(other.getUnknownFields());
5362 return this;
5363 }
5364
5365 public final boolean isInitialized() {
5366 return true;
5367 }
5368
5369 public Builder mergeFrom(
5370 com.google.protobuf.CodedInputStream input,
5371 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5372 throws java.io.IOException {
5373 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest parsedMessage = null;
5374 try {
5375 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
5376 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
5377 parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest) e.getUnfinishedMessage();
5378 throw e;
5379 } finally {
5380 if (parsedMessage != null) {
5381 mergeFrom(parsedMessage);
5382 }
5383 }
5384 return this;
5385 }
5386 private int bitField0_;
5387
5388
5389 private java.lang.Object regex_ = "";
5390
5391
5392
5393 public boolean hasRegex() {
5394 return ((bitField0_ & 0x00000001) == 0x00000001);
5395 }
5396
5397
5398
5399 public java.lang.String getRegex() {
5400 java.lang.Object ref = regex_;
5401 if (!(ref instanceof java.lang.String)) {
5402 java.lang.String s = ((com.google.protobuf.ByteString) ref)
5403 .toStringUtf8();
5404 regex_ = s;
5405 return s;
5406 } else {
5407 return (java.lang.String) ref;
5408 }
5409 }
5410
5411
5412
5413 public com.google.protobuf.ByteString
5414 getRegexBytes() {
5415 java.lang.Object ref = regex_;
5416 if (ref instanceof String) {
5417 com.google.protobuf.ByteString b =
5418 com.google.protobuf.ByteString.copyFromUtf8(
5419 (java.lang.String) ref);
5420 regex_ = b;
5421 return b;
5422 } else {
5423 return (com.google.protobuf.ByteString) ref;
5424 }
5425 }
5426
5427
5428
5429 public Builder setRegex(
5430 java.lang.String value) {
5431 if (value == null) {
5432 throw new NullPointerException();
5433 }
5434 bitField0_ |= 0x00000001;
5435 regex_ = value;
5436 onChanged();
5437 return this;
5438 }
5439
5440
5441
5442 public Builder clearRegex() {
5443 bitField0_ = (bitField0_ & ~0x00000001);
5444 regex_ = getDefaultInstance().getRegex();
5445 onChanged();
5446 return this;
5447 }
5448
5449
5450
5451 public Builder setRegexBytes(
5452 com.google.protobuf.ByteString value) {
5453 if (value == null) {
5454 throw new NullPointerException();
5455 }
5456 bitField0_ |= 0x00000001;
5457 regex_ = value;
5458 onChanged();
5459 return this;
5460 }
5461
5462
5463 }
5464
5465 static {
5466 defaultInstance = new ListLabelsRequest(true);
5467 defaultInstance.initFields();
5468 }
5469
5470
5471 }
5472
5473 public interface ListLabelsResponseOrBuilder
5474 extends com.google.protobuf.MessageOrBuilder {
5475
5476
5477
5478
5479
5480 java.util.List<com.google.protobuf.ByteString> getLabelList();
5481
5482
5483
5484 int getLabelCount();
5485
5486
5487
5488 com.google.protobuf.ByteString getLabel(int index);
5489 }
5490
5491
5492
5493 public static final class ListLabelsResponse extends
5494 com.google.protobuf.GeneratedMessage
5495 implements ListLabelsResponseOrBuilder {
5496
5497 private ListLabelsResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
5498 super(builder);
5499 this.unknownFields = builder.getUnknownFields();
5500 }
5501 private ListLabelsResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
5502
5503 private static final ListLabelsResponse defaultInstance;
5504 public static ListLabelsResponse getDefaultInstance() {
5505 return defaultInstance;
5506 }
5507
5508 public ListLabelsResponse getDefaultInstanceForType() {
5509 return defaultInstance;
5510 }
5511
5512 private final com.google.protobuf.UnknownFieldSet unknownFields;
5513 @java.lang.Override
5514 public final com.google.protobuf.UnknownFieldSet
5515 getUnknownFields() {
5516 return this.unknownFields;
5517 }
5518 private ListLabelsResponse(
5519 com.google.protobuf.CodedInputStream input,
5520 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5521 throws com.google.protobuf.InvalidProtocolBufferException {
5522 initFields();
5523 int mutable_bitField0_ = 0;
5524 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
5525 com.google.protobuf.UnknownFieldSet.newBuilder();
5526 try {
5527 boolean done = false;
5528 while (!done) {
5529 int tag = input.readTag();
5530 switch (tag) {
5531 case 0:
5532 done = true;
5533 break;
5534 default: {
5535 if (!parseUnknownField(input, unknownFields,
5536 extensionRegistry, tag)) {
5537 done = true;
5538 }
5539 break;
5540 }
5541 case 10: {
5542 if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
5543 label_ = new java.util.ArrayList<com.google.protobuf.ByteString>();
5544 mutable_bitField0_ |= 0x00000001;
5545 }
5546 label_.add(input.readBytes());
5547 break;
5548 }
5549 }
5550 }
5551 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
5552 throw e.setUnfinishedMessage(this);
5553 } catch (java.io.IOException e) {
5554 throw new com.google.protobuf.InvalidProtocolBufferException(
5555 e.getMessage()).setUnfinishedMessage(this);
5556 } finally {
5557 if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
5558 label_ = java.util.Collections.unmodifiableList(label_);
5559 }
5560 this.unknownFields = unknownFields.build();
5561 makeExtensionsImmutable();
5562 }
5563 }
5564 public static final com.google.protobuf.Descriptors.Descriptor
5565 getDescriptor() {
5566 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_ListLabelsResponse_descriptor;
5567 }
5568
5569 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
5570 internalGetFieldAccessorTable() {
5571 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_ListLabelsResponse_fieldAccessorTable
5572 .ensureFieldAccessorsInitialized(
5573 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse.class, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse.Builder.class);
5574 }
5575
5576 public static com.google.protobuf.Parser<ListLabelsResponse> PARSER =
5577 new com.google.protobuf.AbstractParser<ListLabelsResponse>() {
5578 public ListLabelsResponse parsePartialFrom(
5579 com.google.protobuf.CodedInputStream input,
5580 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5581 throws com.google.protobuf.InvalidProtocolBufferException {
5582 return new ListLabelsResponse(input, extensionRegistry);
5583 }
5584 };
5585
5586 @java.lang.Override
5587 public com.google.protobuf.Parser<ListLabelsResponse> getParserForType() {
5588 return PARSER;
5589 }
5590
5591
5592 public static final int LABEL_FIELD_NUMBER = 1;
5593 private java.util.List<com.google.protobuf.ByteString> label_;
5594
5595
5596
5597 public java.util.List<com.google.protobuf.ByteString>
5598 getLabelList() {
5599 return label_;
5600 }
5601
5602
5603
5604 public int getLabelCount() {
5605 return label_.size();
5606 }
5607
5608
5609
5610 public com.google.protobuf.ByteString getLabel(int index) {
5611 return label_.get(index);
5612 }
5613
5614 private void initFields() {
5615 label_ = java.util.Collections.emptyList();
5616 }
5617 private byte memoizedIsInitialized = -1;
5618 public final boolean isInitialized() {
5619 byte isInitialized = memoizedIsInitialized;
5620 if (isInitialized != -1) return isInitialized == 1;
5621
5622 memoizedIsInitialized = 1;
5623 return true;
5624 }
5625
5626 public void writeTo(com.google.protobuf.CodedOutputStream output)
5627 throws java.io.IOException {
5628 getSerializedSize();
5629 for (int i = 0; i < label_.size(); i++) {
5630 output.writeBytes(1, label_.get(i));
5631 }
5632 getUnknownFields().writeTo(output);
5633 }
5634
5635 private int memoizedSerializedSize = -1;
5636 public int getSerializedSize() {
5637 int size = memoizedSerializedSize;
5638 if (size != -1) return size;
5639
5640 size = 0;
5641 {
5642 int dataSize = 0;
5643 for (int i = 0; i < label_.size(); i++) {
5644 dataSize += com.google.protobuf.CodedOutputStream
5645 .computeBytesSizeNoTag(label_.get(i));
5646 }
5647 size += dataSize;
5648 size += 1 * getLabelList().size();
5649 }
5650 size += getUnknownFields().getSerializedSize();
5651 memoizedSerializedSize = size;
5652 return size;
5653 }
5654
5655 private static final long serialVersionUID = 0L;
5656 @java.lang.Override
5657 protected java.lang.Object writeReplace()
5658 throws java.io.ObjectStreamException {
5659 return super.writeReplace();
5660 }
5661
5662 @java.lang.Override
5663 public boolean equals(final java.lang.Object obj) {
5664 if (obj == this) {
5665 return true;
5666 }
5667 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse)) {
5668 return super.equals(obj);
5669 }
5670 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse other = (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse) obj;
5671
5672 boolean result = true;
5673 result = result && getLabelList()
5674 .equals(other.getLabelList());
5675 result = result &&
5676 getUnknownFields().equals(other.getUnknownFields());
5677 return result;
5678 }
5679
5680 private int memoizedHashCode = 0;
5681 @java.lang.Override
5682 public int hashCode() {
5683 if (memoizedHashCode != 0) {
5684 return memoizedHashCode;
5685 }
5686 int hash = 41;
5687 hash = (19 * hash) + getDescriptorForType().hashCode();
5688 if (getLabelCount() > 0) {
5689 hash = (37 * hash) + LABEL_FIELD_NUMBER;
5690 hash = (53 * hash) + getLabelList().hashCode();
5691 }
5692 hash = (29 * hash) + getUnknownFields().hashCode();
5693 memoizedHashCode = hash;
5694 return hash;
5695 }
5696
5697 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse parseFrom(
5698 com.google.protobuf.ByteString data)
5699 throws com.google.protobuf.InvalidProtocolBufferException {
5700 return PARSER.parseFrom(data);
5701 }
5702 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse parseFrom(
5703 com.google.protobuf.ByteString data,
5704 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5705 throws com.google.protobuf.InvalidProtocolBufferException {
5706 return PARSER.parseFrom(data, extensionRegistry);
5707 }
5708 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse parseFrom(byte[] data)
5709 throws com.google.protobuf.InvalidProtocolBufferException {
5710 return PARSER.parseFrom(data);
5711 }
5712 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse parseFrom(
5713 byte[] data,
5714 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5715 throws com.google.protobuf.InvalidProtocolBufferException {
5716 return PARSER.parseFrom(data, extensionRegistry);
5717 }
5718 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse parseFrom(java.io.InputStream input)
5719 throws java.io.IOException {
5720 return PARSER.parseFrom(input);
5721 }
5722 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse parseFrom(
5723 java.io.InputStream input,
5724 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5725 throws java.io.IOException {
5726 return PARSER.parseFrom(input, extensionRegistry);
5727 }
5728 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse parseDelimitedFrom(java.io.InputStream input)
5729 throws java.io.IOException {
5730 return PARSER.parseDelimitedFrom(input);
5731 }
5732 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse parseDelimitedFrom(
5733 java.io.InputStream input,
5734 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5735 throws java.io.IOException {
5736 return PARSER.parseDelimitedFrom(input, extensionRegistry);
5737 }
5738 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse parseFrom(
5739 com.google.protobuf.CodedInputStream input)
5740 throws java.io.IOException {
5741 return PARSER.parseFrom(input);
5742 }
5743 public static org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse parseFrom(
5744 com.google.protobuf.CodedInputStream input,
5745 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5746 throws java.io.IOException {
5747 return PARSER.parseFrom(input, extensionRegistry);
5748 }
5749
5750 public static Builder newBuilder() { return Builder.create(); }
5751 public Builder newBuilderForType() { return newBuilder(); }
5752 public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse prototype) {
5753 return newBuilder().mergeFrom(prototype);
5754 }
5755 public Builder toBuilder() { return newBuilder(this); }
5756
5757 @java.lang.Override
5758 protected Builder newBuilderForType(
5759 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
5760 Builder builder = new Builder(parent);
5761 return builder;
5762 }
5763
5764
5765
5766 public static final class Builder extends
5767 com.google.protobuf.GeneratedMessage.Builder<Builder>
5768 implements org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponseOrBuilder {
5769 public static final com.google.protobuf.Descriptors.Descriptor
5770 getDescriptor() {
5771 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_ListLabelsResponse_descriptor;
5772 }
5773
5774 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
5775 internalGetFieldAccessorTable() {
5776 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_ListLabelsResponse_fieldAccessorTable
5777 .ensureFieldAccessorsInitialized(
5778 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse.class, org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse.Builder.class);
5779 }
5780
5781
5782 private Builder() {
5783 maybeForceBuilderInitialization();
5784 }
5785
5786 private Builder(
5787 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
5788 super(parent);
5789 maybeForceBuilderInitialization();
5790 }
5791 private void maybeForceBuilderInitialization() {
5792 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
5793 }
5794 }
5795 private static Builder create() {
5796 return new Builder();
5797 }
5798
5799 public Builder clear() {
5800 super.clear();
5801 label_ = java.util.Collections.emptyList();
5802 bitField0_ = (bitField0_ & ~0x00000001);
5803 return this;
5804 }
5805
5806 public Builder clone() {
5807 return create().mergeFrom(buildPartial());
5808 }
5809
5810 public com.google.protobuf.Descriptors.Descriptor
5811 getDescriptorForType() {
5812 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_ListLabelsResponse_descriptor;
5813 }
5814
5815 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse getDefaultInstanceForType() {
5816 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse.getDefaultInstance();
5817 }
5818
5819 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse build() {
5820 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse result = buildPartial();
5821 if (!result.isInitialized()) {
5822 throw newUninitializedMessageException(result);
5823 }
5824 return result;
5825 }
5826
5827 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse buildPartial() {
5828 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse result = new org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse(this);
5829 int from_bitField0_ = bitField0_;
5830 if (((bitField0_ & 0x00000001) == 0x00000001)) {
5831 label_ = java.util.Collections.unmodifiableList(label_);
5832 bitField0_ = (bitField0_ & ~0x00000001);
5833 }
5834 result.label_ = label_;
5835 onBuilt();
5836 return result;
5837 }
5838
5839 public Builder mergeFrom(com.google.protobuf.Message other) {
5840 if (other instanceof org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse) {
5841 return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse)other);
5842 } else {
5843 super.mergeFrom(other);
5844 return this;
5845 }
5846 }
5847
5848 public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse other) {
5849 if (other == org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse.getDefaultInstance()) return this;
5850 if (!other.label_.isEmpty()) {
5851 if (label_.isEmpty()) {
5852 label_ = other.label_;
5853 bitField0_ = (bitField0_ & ~0x00000001);
5854 } else {
5855 ensureLabelIsMutable();
5856 label_.addAll(other.label_);
5857 }
5858 onChanged();
5859 }
5860 this.mergeUnknownFields(other.getUnknownFields());
5861 return this;
5862 }
5863
5864 public final boolean isInitialized() {
5865 return true;
5866 }
5867
5868 public Builder mergeFrom(
5869 com.google.protobuf.CodedInputStream input,
5870 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
5871 throws java.io.IOException {
5872 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse parsedMessage = null;
5873 try {
5874 parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
5875 } catch (com.google.protobuf.InvalidProtocolBufferException e) {
5876 parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse) e.getUnfinishedMessage();
5877 throw e;
5878 } finally {
5879 if (parsedMessage != null) {
5880 mergeFrom(parsedMessage);
5881 }
5882 }
5883 return this;
5884 }
5885 private int bitField0_;
5886
5887
5888 private java.util.List<com.google.protobuf.ByteString> label_ = java.util.Collections.emptyList();
5889 private void ensureLabelIsMutable() {
5890 if (!((bitField0_ & 0x00000001) == 0x00000001)) {
5891 label_ = new java.util.ArrayList<com.google.protobuf.ByteString>(label_);
5892 bitField0_ |= 0x00000001;
5893 }
5894 }
5895
5896
5897
5898 public java.util.List<com.google.protobuf.ByteString>
5899 getLabelList() {
5900 return java.util.Collections.unmodifiableList(label_);
5901 }
5902
5903
5904
5905 public int getLabelCount() {
5906 return label_.size();
5907 }
5908
5909
5910
5911 public com.google.protobuf.ByteString getLabel(int index) {
5912 return label_.get(index);
5913 }
5914
5915
5916
5917 public Builder setLabel(
5918 int index, com.google.protobuf.ByteString value) {
5919 if (value == null) {
5920 throw new NullPointerException();
5921 }
5922 ensureLabelIsMutable();
5923 label_.set(index, value);
5924 onChanged();
5925 return this;
5926 }
5927
5928
5929
5930 public Builder addLabel(com.google.protobuf.ByteString value) {
5931 if (value == null) {
5932 throw new NullPointerException();
5933 }
5934 ensureLabelIsMutable();
5935 label_.add(value);
5936 onChanged();
5937 return this;
5938 }
5939
5940
5941
5942 public Builder addAllLabel(
5943 java.lang.Iterable<? extends com.google.protobuf.ByteString> values) {
5944 ensureLabelIsMutable();
5945 super.addAll(values, label_);
5946 onChanged();
5947 return this;
5948 }
5949
5950
5951
5952 public Builder clearLabel() {
5953 label_ = java.util.Collections.emptyList();
5954 bitField0_ = (bitField0_ & ~0x00000001);
5955 onChanged();
5956 return this;
5957 }
5958
5959
5960 }
5961
5962 static {
5963 defaultInstance = new ListLabelsResponse(true);
5964 defaultInstance.initFields();
5965 }
5966
5967
5968 }
5969
5970
5971
5972
5973 public static abstract class VisibilityLabelsService
5974 implements com.google.protobuf.Service {
5975 protected VisibilityLabelsService() {}
5976
5977 public interface Interface {
5978
5979
5980
5981 public abstract void addLabels(
5982 com.google.protobuf.RpcController controller,
5983 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest request,
5984 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse> done);
5985
5986
5987
5988
5989 public abstract void setAuths(
5990 com.google.protobuf.RpcController controller,
5991 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest request,
5992 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse> done);
5993
5994
5995
5996
5997 public abstract void clearAuths(
5998 com.google.protobuf.RpcController controller,
5999 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest request,
6000 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse> done);
6001
6002
6003
6004
6005 public abstract void getAuths(
6006 com.google.protobuf.RpcController controller,
6007 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest request,
6008 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse> done);
6009
6010
6011
6012
6013 public abstract void listLabels(
6014 com.google.protobuf.RpcController controller,
6015 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest request,
6016 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse> done);
6017
6018 }
6019
6020 public static com.google.protobuf.Service newReflectiveService(
6021 final Interface impl) {
6022 return new VisibilityLabelsService() {
6023 @java.lang.Override
6024 public void addLabels(
6025 com.google.protobuf.RpcController controller,
6026 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest request,
6027 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse> done) {
6028 impl.addLabels(controller, request, done);
6029 }
6030
6031 @java.lang.Override
6032 public void setAuths(
6033 com.google.protobuf.RpcController controller,
6034 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest request,
6035 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse> done) {
6036 impl.setAuths(controller, request, done);
6037 }
6038
6039 @java.lang.Override
6040 public void clearAuths(
6041 com.google.protobuf.RpcController controller,
6042 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest request,
6043 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse> done) {
6044 impl.clearAuths(controller, request, done);
6045 }
6046
6047 @java.lang.Override
6048 public void getAuths(
6049 com.google.protobuf.RpcController controller,
6050 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest request,
6051 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse> done) {
6052 impl.getAuths(controller, request, done);
6053 }
6054
6055 @java.lang.Override
6056 public void listLabels(
6057 com.google.protobuf.RpcController controller,
6058 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest request,
6059 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse> done) {
6060 impl.listLabels(controller, request, done);
6061 }
6062
6063 };
6064 }
6065
6066 public static com.google.protobuf.BlockingService
6067 newReflectiveBlockingService(final BlockingInterface impl) {
6068 return new com.google.protobuf.BlockingService() {
6069 public final com.google.protobuf.Descriptors.ServiceDescriptor
6070 getDescriptorForType() {
6071 return getDescriptor();
6072 }
6073
6074 public final com.google.protobuf.Message callBlockingMethod(
6075 com.google.protobuf.Descriptors.MethodDescriptor method,
6076 com.google.protobuf.RpcController controller,
6077 com.google.protobuf.Message request)
6078 throws com.google.protobuf.ServiceException {
6079 if (method.getService() != getDescriptor()) {
6080 throw new java.lang.IllegalArgumentException(
6081 "Service.callBlockingMethod() given method descriptor for " +
6082 "wrong service type.");
6083 }
6084 switch(method.getIndex()) {
6085 case 0:
6086 return impl.addLabels(controller, (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest)request);
6087 case 1:
6088 return impl.setAuths(controller, (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest)request);
6089 case 2:
6090 return impl.clearAuths(controller, (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest)request);
6091 case 3:
6092 return impl.getAuths(controller, (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest)request);
6093 case 4:
6094 return impl.listLabels(controller, (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest)request);
6095 default:
6096 throw new java.lang.AssertionError("Can't get here.");
6097 }
6098 }
6099
6100 public final com.google.protobuf.Message
6101 getRequestPrototype(
6102 com.google.protobuf.Descriptors.MethodDescriptor method) {
6103 if (method.getService() != getDescriptor()) {
6104 throw new java.lang.IllegalArgumentException(
6105 "Service.getRequestPrototype() given method " +
6106 "descriptor for wrong service type.");
6107 }
6108 switch(method.getIndex()) {
6109 case 0:
6110 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest.getDefaultInstance();
6111 case 1:
6112 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest.getDefaultInstance();
6113 case 2:
6114 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest.getDefaultInstance();
6115 case 3:
6116 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest.getDefaultInstance();
6117 case 4:
6118 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest.getDefaultInstance();
6119 default:
6120 throw new java.lang.AssertionError("Can't get here.");
6121 }
6122 }
6123
6124 public final com.google.protobuf.Message
6125 getResponsePrototype(
6126 com.google.protobuf.Descriptors.MethodDescriptor method) {
6127 if (method.getService() != getDescriptor()) {
6128 throw new java.lang.IllegalArgumentException(
6129 "Service.getResponsePrototype() given method " +
6130 "descriptor for wrong service type.");
6131 }
6132 switch(method.getIndex()) {
6133 case 0:
6134 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.getDefaultInstance();
6135 case 1:
6136 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.getDefaultInstance();
6137 case 2:
6138 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.getDefaultInstance();
6139 case 3:
6140 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse.getDefaultInstance();
6141 case 4:
6142 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse.getDefaultInstance();
6143 default:
6144 throw new java.lang.AssertionError("Can't get here.");
6145 }
6146 }
6147
6148 };
6149 }
6150
6151
6152
6153
6154 public abstract void addLabels(
6155 com.google.protobuf.RpcController controller,
6156 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest request,
6157 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse> done);
6158
6159
6160
6161
6162 public abstract void setAuths(
6163 com.google.protobuf.RpcController controller,
6164 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest request,
6165 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse> done);
6166
6167
6168
6169
6170 public abstract void clearAuths(
6171 com.google.protobuf.RpcController controller,
6172 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest request,
6173 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse> done);
6174
6175
6176
6177
6178 public abstract void getAuths(
6179 com.google.protobuf.RpcController controller,
6180 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest request,
6181 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse> done);
6182
6183
6184
6185
6186 public abstract void listLabels(
6187 com.google.protobuf.RpcController controller,
6188 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest request,
6189 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse> done);
6190
6191 public static final
6192 com.google.protobuf.Descriptors.ServiceDescriptor
6193 getDescriptor() {
6194 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.getDescriptor().getServices().get(0);
6195 }
6196 public final com.google.protobuf.Descriptors.ServiceDescriptor
6197 getDescriptorForType() {
6198 return getDescriptor();
6199 }
6200
6201 public final void callMethod(
6202 com.google.protobuf.Descriptors.MethodDescriptor method,
6203 com.google.protobuf.RpcController controller,
6204 com.google.protobuf.Message request,
6205 com.google.protobuf.RpcCallback<
6206 com.google.protobuf.Message> done) {
6207 if (method.getService() != getDescriptor()) {
6208 throw new java.lang.IllegalArgumentException(
6209 "Service.callMethod() given method descriptor for wrong " +
6210 "service type.");
6211 }
6212 switch(method.getIndex()) {
6213 case 0:
6214 this.addLabels(controller, (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest)request,
6215 com.google.protobuf.RpcUtil.<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse>specializeCallback(
6216 done));
6217 return;
6218 case 1:
6219 this.setAuths(controller, (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest)request,
6220 com.google.protobuf.RpcUtil.<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse>specializeCallback(
6221 done));
6222 return;
6223 case 2:
6224 this.clearAuths(controller, (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest)request,
6225 com.google.protobuf.RpcUtil.<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse>specializeCallback(
6226 done));
6227 return;
6228 case 3:
6229 this.getAuths(controller, (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest)request,
6230 com.google.protobuf.RpcUtil.<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse>specializeCallback(
6231 done));
6232 return;
6233 case 4:
6234 this.listLabels(controller, (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest)request,
6235 com.google.protobuf.RpcUtil.<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse>specializeCallback(
6236 done));
6237 return;
6238 default:
6239 throw new java.lang.AssertionError("Can't get here.");
6240 }
6241 }
6242
6243 public final com.google.protobuf.Message
6244 getRequestPrototype(
6245 com.google.protobuf.Descriptors.MethodDescriptor method) {
6246 if (method.getService() != getDescriptor()) {
6247 throw new java.lang.IllegalArgumentException(
6248 "Service.getRequestPrototype() given method " +
6249 "descriptor for wrong service type.");
6250 }
6251 switch(method.getIndex()) {
6252 case 0:
6253 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest.getDefaultInstance();
6254 case 1:
6255 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest.getDefaultInstance();
6256 case 2:
6257 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest.getDefaultInstance();
6258 case 3:
6259 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest.getDefaultInstance();
6260 case 4:
6261 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest.getDefaultInstance();
6262 default:
6263 throw new java.lang.AssertionError("Can't get here.");
6264 }
6265 }
6266
6267 public final com.google.protobuf.Message
6268 getResponsePrototype(
6269 com.google.protobuf.Descriptors.MethodDescriptor method) {
6270 if (method.getService() != getDescriptor()) {
6271 throw new java.lang.IllegalArgumentException(
6272 "Service.getResponsePrototype() given method " +
6273 "descriptor for wrong service type.");
6274 }
6275 switch(method.getIndex()) {
6276 case 0:
6277 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.getDefaultInstance();
6278 case 1:
6279 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.getDefaultInstance();
6280 case 2:
6281 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.getDefaultInstance();
6282 case 3:
6283 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse.getDefaultInstance();
6284 case 4:
6285 return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse.getDefaultInstance();
6286 default:
6287 throw new java.lang.AssertionError("Can't get here.");
6288 }
6289 }
6290
6291 public static Stub newStub(
6292 com.google.protobuf.RpcChannel channel) {
6293 return new Stub(channel);
6294 }
6295
6296 public static final class Stub extends org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsService implements Interface {
6297 private Stub(com.google.protobuf.RpcChannel channel) {
6298 this.channel = channel;
6299 }
6300
6301 private final com.google.protobuf.RpcChannel channel;
6302
6303 public com.google.protobuf.RpcChannel getChannel() {
6304 return channel;
6305 }
6306
6307 public void addLabels(
6308 com.google.protobuf.RpcController controller,
6309 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest request,
6310 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse> done) {
6311 channel.callMethod(
6312 getDescriptor().getMethods().get(0),
6313 controller,
6314 request,
6315 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.getDefaultInstance(),
6316 com.google.protobuf.RpcUtil.generalizeCallback(
6317 done,
6318 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.class,
6319 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.getDefaultInstance()));
6320 }
6321
6322 public void setAuths(
6323 com.google.protobuf.RpcController controller,
6324 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest request,
6325 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse> done) {
6326 channel.callMethod(
6327 getDescriptor().getMethods().get(1),
6328 controller,
6329 request,
6330 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.getDefaultInstance(),
6331 com.google.protobuf.RpcUtil.generalizeCallback(
6332 done,
6333 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.class,
6334 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.getDefaultInstance()));
6335 }
6336
6337 public void clearAuths(
6338 com.google.protobuf.RpcController controller,
6339 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest request,
6340 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse> done) {
6341 channel.callMethod(
6342 getDescriptor().getMethods().get(2),
6343 controller,
6344 request,
6345 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.getDefaultInstance(),
6346 com.google.protobuf.RpcUtil.generalizeCallback(
6347 done,
6348 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.class,
6349 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.getDefaultInstance()));
6350 }
6351
6352 public void getAuths(
6353 com.google.protobuf.RpcController controller,
6354 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest request,
6355 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse> done) {
6356 channel.callMethod(
6357 getDescriptor().getMethods().get(3),
6358 controller,
6359 request,
6360 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse.getDefaultInstance(),
6361 com.google.protobuf.RpcUtil.generalizeCallback(
6362 done,
6363 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse.class,
6364 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse.getDefaultInstance()));
6365 }
6366
6367 public void listLabels(
6368 com.google.protobuf.RpcController controller,
6369 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest request,
6370 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse> done) {
6371 channel.callMethod(
6372 getDescriptor().getMethods().get(4),
6373 controller,
6374 request,
6375 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse.getDefaultInstance(),
6376 com.google.protobuf.RpcUtil.generalizeCallback(
6377 done,
6378 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse.class,
6379 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse.getDefaultInstance()));
6380 }
6381 }
6382
6383 public static BlockingInterface newBlockingStub(
6384 com.google.protobuf.BlockingRpcChannel channel) {
6385 return new BlockingStub(channel);
6386 }
6387
6388 public interface BlockingInterface {
6389 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse addLabels(
6390 com.google.protobuf.RpcController controller,
6391 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest request)
6392 throws com.google.protobuf.ServiceException;
6393
6394 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse setAuths(
6395 com.google.protobuf.RpcController controller,
6396 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest request)
6397 throws com.google.protobuf.ServiceException;
6398
6399 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse clearAuths(
6400 com.google.protobuf.RpcController controller,
6401 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest request)
6402 throws com.google.protobuf.ServiceException;
6403
6404 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse getAuths(
6405 com.google.protobuf.RpcController controller,
6406 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest request)
6407 throws com.google.protobuf.ServiceException;
6408
6409 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse listLabels(
6410 com.google.protobuf.RpcController controller,
6411 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest request)
6412 throws com.google.protobuf.ServiceException;
6413 }
6414
6415 private static final class BlockingStub implements BlockingInterface {
6416 private BlockingStub(com.google.protobuf.BlockingRpcChannel channel) {
6417 this.channel = channel;
6418 }
6419
6420 private final com.google.protobuf.BlockingRpcChannel channel;
6421
6422 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse addLabels(
6423 com.google.protobuf.RpcController controller,
6424 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequest request)
6425 throws com.google.protobuf.ServiceException {
6426 return (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse) channel.callBlockingMethod(
6427 getDescriptor().getMethods().get(0),
6428 controller,
6429 request,
6430 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.getDefaultInstance());
6431 }
6432
6433
6434 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse setAuths(
6435 com.google.protobuf.RpcController controller,
6436 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest request)
6437 throws com.google.protobuf.ServiceException {
6438 return (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse) channel.callBlockingMethod(
6439 getDescriptor().getMethods().get(1),
6440 controller,
6441 request,
6442 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.getDefaultInstance());
6443 }
6444
6445
6446 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse clearAuths(
6447 com.google.protobuf.RpcController controller,
6448 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequest request)
6449 throws com.google.protobuf.ServiceException {
6450 return (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse) channel.callBlockingMethod(
6451 getDescriptor().getMethods().get(2),
6452 controller,
6453 request,
6454 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponse.getDefaultInstance());
6455 }
6456
6457
6458 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse getAuths(
6459 com.google.protobuf.RpcController controller,
6460 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequest request)
6461 throws com.google.protobuf.ServiceException {
6462 return (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse) channel.callBlockingMethod(
6463 getDescriptor().getMethods().get(3),
6464 controller,
6465 request,
6466 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponse.getDefaultInstance());
6467 }
6468
6469
6470 public org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse listLabels(
6471 com.google.protobuf.RpcController controller,
6472 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequest request)
6473 throws com.google.protobuf.ServiceException {
6474 return (org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse) channel.callBlockingMethod(
6475 getDescriptor().getMethods().get(4),
6476 controller,
6477 request,
6478 org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponse.getDefaultInstance());
6479 }
6480
6481 }
6482
6483
6484 }
6485
6486 private static com.google.protobuf.Descriptors.Descriptor
6487 internal_static_hbase_pb_VisibilityLabelsRequest_descriptor;
6488 private static
6489 com.google.protobuf.GeneratedMessage.FieldAccessorTable
6490 internal_static_hbase_pb_VisibilityLabelsRequest_fieldAccessorTable;
6491 private static com.google.protobuf.Descriptors.Descriptor
6492 internal_static_hbase_pb_VisibilityLabel_descriptor;
6493 private static
6494 com.google.protobuf.GeneratedMessage.FieldAccessorTable
6495 internal_static_hbase_pb_VisibilityLabel_fieldAccessorTable;
6496 private static com.google.protobuf.Descriptors.Descriptor
6497 internal_static_hbase_pb_VisibilityLabelsResponse_descriptor;
6498 private static
6499 com.google.protobuf.GeneratedMessage.FieldAccessorTable
6500 internal_static_hbase_pb_VisibilityLabelsResponse_fieldAccessorTable;
6501 private static com.google.protobuf.Descriptors.Descriptor
6502 internal_static_hbase_pb_SetAuthsRequest_descriptor;
6503 private static
6504 com.google.protobuf.GeneratedMessage.FieldAccessorTable
6505 internal_static_hbase_pb_SetAuthsRequest_fieldAccessorTable;
6506 private static com.google.protobuf.Descriptors.Descriptor
6507 internal_static_hbase_pb_UserAuthorizations_descriptor;
6508 private static
6509 com.google.protobuf.GeneratedMessage.FieldAccessorTable
6510 internal_static_hbase_pb_UserAuthorizations_fieldAccessorTable;
6511 private static com.google.protobuf.Descriptors.Descriptor
6512 internal_static_hbase_pb_MultiUserAuthorizations_descriptor;
6513 private static
6514 com.google.protobuf.GeneratedMessage.FieldAccessorTable
6515 internal_static_hbase_pb_MultiUserAuthorizations_fieldAccessorTable;
6516 private static com.google.protobuf.Descriptors.Descriptor
6517 internal_static_hbase_pb_GetAuthsRequest_descriptor;
6518 private static
6519 com.google.protobuf.GeneratedMessage.FieldAccessorTable
6520 internal_static_hbase_pb_GetAuthsRequest_fieldAccessorTable;
6521 private static com.google.protobuf.Descriptors.Descriptor
6522 internal_static_hbase_pb_GetAuthsResponse_descriptor;
6523 private static
6524 com.google.protobuf.GeneratedMessage.FieldAccessorTable
6525 internal_static_hbase_pb_GetAuthsResponse_fieldAccessorTable;
6526 private static com.google.protobuf.Descriptors.Descriptor
6527 internal_static_hbase_pb_ListLabelsRequest_descriptor;
6528 private static
6529 com.google.protobuf.GeneratedMessage.FieldAccessorTable
6530 internal_static_hbase_pb_ListLabelsRequest_fieldAccessorTable;
6531 private static com.google.protobuf.Descriptors.Descriptor
6532 internal_static_hbase_pb_ListLabelsResponse_descriptor;
6533 private static
6534 com.google.protobuf.GeneratedMessage.FieldAccessorTable
6535 internal_static_hbase_pb_ListLabelsResponse_fieldAccessorTable;
6536
6537 public static com.google.protobuf.Descriptors.FileDescriptor
6538 getDescriptor() {
6539 return descriptor;
6540 }
6541 private static com.google.protobuf.Descriptors.FileDescriptor
6542 descriptor;
6543 static {
6544 java.lang.String[] descriptorData = {
6545 "\n\026VisibilityLabels.proto\022\010hbase.pb\032\014Clie" +
6546 "nt.proto\"F\n\027VisibilityLabelsRequest\022+\n\010v" +
6547 "isLabel\030\001 \003(\0132\031.hbase.pb.VisibilityLabel" +
6548 "\"1\n\017VisibilityLabel\022\r\n\005label\030\001 \002(\014\022\017\n\007or" +
6549 "dinal\030\002 \001(\r\"H\n\030VisibilityLabelsResponse\022" +
6550 ",\n\006result\030\001 \003(\0132\034.hbase.pb.RegionActionR" +
6551 "esult\"-\n\017SetAuthsRequest\022\014\n\004user\030\001 \002(\014\022\014" +
6552 "\n\004auth\030\002 \003(\014\"0\n\022UserAuthorizations\022\014\n\004us" +
6553 "er\030\001 \002(\014\022\014\n\004auth\030\002 \003(\r\"J\n\027MultiUserAutho" +
6554 "rizations\022/\n\tuserAuths\030\001 \003(\0132\034.hbase.pb.",
6555 "UserAuthorizations\"\037\n\017GetAuthsRequest\022\014\n" +
6556 "\004user\030\001 \002(\014\".\n\020GetAuthsResponse\022\014\n\004user\030" +
6557 "\001 \002(\014\022\014\n\004auth\030\002 \003(\014\"\"\n\021ListLabelsRequest" +
6558 "\022\r\n\005regex\030\001 \001(\t\"#\n\022ListLabelsResponse\022\r\n" +
6559 "\005label\030\001 \003(\0142\221\003\n\027VisibilityLabelsService" +
6560 "\022R\n\taddLabels\022!.hbase.pb.VisibilityLabel" +
6561 "sRequest\032\".hbase.pb.VisibilityLabelsResp" +
6562 "onse\022I\n\010setAuths\022\031.hbase.pb.SetAuthsRequ" +
6563 "est\032\".hbase.pb.VisibilityLabelsResponse\022" +
6564 "K\n\nclearAuths\022\031.hbase.pb.SetAuthsRequest",
6565 "\032\".hbase.pb.VisibilityLabelsResponse\022A\n\010" +
6566 "getAuths\022\031.hbase.pb.GetAuthsRequest\032\032.hb" +
6567 "ase.pb.GetAuthsResponse\022G\n\nlistLabels\022\033." +
6568 "hbase.pb.ListLabelsRequest\032\034.hbase.pb.Li" +
6569 "stLabelsResponseBL\n*org.apache.hadoop.hb" +
6570 "ase.protobuf.generatedB\026VisibilityLabels" +
6571 "ProtosH\001\210\001\001\240\001\001"
6572 };
6573 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
6574 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
6575 public com.google.protobuf.ExtensionRegistry assignDescriptors(
6576 com.google.protobuf.Descriptors.FileDescriptor root) {
6577 descriptor = root;
6578 internal_static_hbase_pb_VisibilityLabelsRequest_descriptor =
6579 getDescriptor().getMessageTypes().get(0);
6580 internal_static_hbase_pb_VisibilityLabelsRequest_fieldAccessorTable = new
6581 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
6582 internal_static_hbase_pb_VisibilityLabelsRequest_descriptor,
6583 new java.lang.String[] { "VisLabel", });
6584 internal_static_hbase_pb_VisibilityLabel_descriptor =
6585 getDescriptor().getMessageTypes().get(1);
6586 internal_static_hbase_pb_VisibilityLabel_fieldAccessorTable = new
6587 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
6588 internal_static_hbase_pb_VisibilityLabel_descriptor,
6589 new java.lang.String[] { "Label", "Ordinal", });
6590 internal_static_hbase_pb_VisibilityLabelsResponse_descriptor =
6591 getDescriptor().getMessageTypes().get(2);
6592 internal_static_hbase_pb_VisibilityLabelsResponse_fieldAccessorTable = new
6593 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
6594 internal_static_hbase_pb_VisibilityLabelsResponse_descriptor,
6595 new java.lang.String[] { "Result", });
6596 internal_static_hbase_pb_SetAuthsRequest_descriptor =
6597 getDescriptor().getMessageTypes().get(3);
6598 internal_static_hbase_pb_SetAuthsRequest_fieldAccessorTable = new
6599 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
6600 internal_static_hbase_pb_SetAuthsRequest_descriptor,
6601 new java.lang.String[] { "User", "Auth", });
6602 internal_static_hbase_pb_UserAuthorizations_descriptor =
6603 getDescriptor().getMessageTypes().get(4);
6604 internal_static_hbase_pb_UserAuthorizations_fieldAccessorTable = new
6605 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
6606 internal_static_hbase_pb_UserAuthorizations_descriptor,
6607 new java.lang.String[] { "User", "Auth", });
6608 internal_static_hbase_pb_MultiUserAuthorizations_descriptor =
6609 getDescriptor().getMessageTypes().get(5);
6610 internal_static_hbase_pb_MultiUserAuthorizations_fieldAccessorTable = new
6611 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
6612 internal_static_hbase_pb_MultiUserAuthorizations_descriptor,
6613 new java.lang.String[] { "UserAuths", });
6614 internal_static_hbase_pb_GetAuthsRequest_descriptor =
6615 getDescriptor().getMessageTypes().get(6);
6616 internal_static_hbase_pb_GetAuthsRequest_fieldAccessorTable = new
6617 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
6618 internal_static_hbase_pb_GetAuthsRequest_descriptor,
6619 new java.lang.String[] { "User", });
6620 internal_static_hbase_pb_GetAuthsResponse_descriptor =
6621 getDescriptor().getMessageTypes().get(7);
6622 internal_static_hbase_pb_GetAuthsResponse_fieldAccessorTable = new
6623 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
6624 internal_static_hbase_pb_GetAuthsResponse_descriptor,
6625 new java.lang.String[] { "User", "Auth", });
6626 internal_static_hbase_pb_ListLabelsRequest_descriptor =
6627 getDescriptor().getMessageTypes().get(8);
6628 internal_static_hbase_pb_ListLabelsRequest_fieldAccessorTable = new
6629 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
6630 internal_static_hbase_pb_ListLabelsRequest_descriptor,
6631 new java.lang.String[] { "Regex", });
6632 internal_static_hbase_pb_ListLabelsResponse_descriptor =
6633 getDescriptor().getMessageTypes().get(9);
6634 internal_static_hbase_pb_ListLabelsResponse_fieldAccessorTable = new
6635 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
6636 internal_static_hbase_pb_ListLabelsResponse_descriptor,
6637 new java.lang.String[] { "Label", });
6638 return null;
6639 }
6640 };
6641 com.google.protobuf.Descriptors.FileDescriptor
6642 .internalBuildGeneratedFileFrom(descriptorData,
6643 new com.google.protobuf.Descriptors.FileDescriptor[] {
6644 org.apache.hadoop.hbase.protobuf.generated.ClientProtos.getDescriptor(),
6645 }, assigner);
6646 }
6647
6648
6649 }