1
2
3
4 package org.apache.hadoop.hbase.protobuf.generated;
5
6 public final class SecureBulkLoadProtos {
7 private SecureBulkLoadProtos() {}
8 public static void registerAllExtensions(
9 com.google.protobuf.ExtensionRegistry registry) {
10 }
11 public interface SecureBulkLoadHFilesRequestOrBuilder
12 extends com.google.protobuf.MessageOrBuilder {
13
14
15 java.util.List<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath>
16 getFamilyPathList();
17 org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath getFamilyPath(int index);
18 int getFamilyPathCount();
19 java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder>
20 getFamilyPathOrBuilderList();
21 org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder getFamilyPathOrBuilder(
22 int index);
23
24
25 boolean hasAssignSeqNum();
26 boolean getAssignSeqNum();
27
28
29 boolean hasFsToken();
30 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto getFsToken();
31 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProtoOrBuilder getFsTokenOrBuilder();
32
33
34 boolean hasBulkToken();
35 String getBulkToken();
36 }
37 public static final class SecureBulkLoadHFilesRequest extends
38 com.google.protobuf.GeneratedMessage
39 implements SecureBulkLoadHFilesRequestOrBuilder {
40
41 private SecureBulkLoadHFilesRequest(Builder builder) {
42 super(builder);
43 }
44 private SecureBulkLoadHFilesRequest(boolean noInit) {}
45
46 private static final SecureBulkLoadHFilesRequest defaultInstance;
47 public static SecureBulkLoadHFilesRequest getDefaultInstance() {
48 return defaultInstance;
49 }
50
51 public SecureBulkLoadHFilesRequest getDefaultInstanceForType() {
52 return defaultInstance;
53 }
54
55 public static final com.google.protobuf.Descriptors.Descriptor
56 getDescriptor() {
57 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_SecureBulkLoadHFilesRequest_descriptor;
58 }
59
60 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
61 internalGetFieldAccessorTable() {
62 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_SecureBulkLoadHFilesRequest_fieldAccessorTable;
63 }
64
65 private int bitField0_;
66
67 public static final int FAMILYPATH_FIELD_NUMBER = 1;
68 private java.util.List<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath> familyPath_;
69 public java.util.List<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath> getFamilyPathList() {
70 return familyPath_;
71 }
72 public java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder>
73 getFamilyPathOrBuilderList() {
74 return familyPath_;
75 }
76 public int getFamilyPathCount() {
77 return familyPath_.size();
78 }
79 public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath getFamilyPath(int index) {
80 return familyPath_.get(index);
81 }
82 public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder getFamilyPathOrBuilder(
83 int index) {
84 return familyPath_.get(index);
85 }
86
87
88 public static final int ASSIGNSEQNUM_FIELD_NUMBER = 2;
89 private boolean assignSeqNum_;
90 public boolean hasAssignSeqNum() {
91 return ((bitField0_ & 0x00000001) == 0x00000001);
92 }
93 public boolean getAssignSeqNum() {
94 return assignSeqNum_;
95 }
96
97
98 public static final int FSTOKEN_FIELD_NUMBER = 3;
99 private org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto fsToken_;
100 public boolean hasFsToken() {
101 return ((bitField0_ & 0x00000002) == 0x00000002);
102 }
103 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto getFsToken() {
104 return fsToken_;
105 }
106 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProtoOrBuilder getFsTokenOrBuilder() {
107 return fsToken_;
108 }
109
110
111 public static final int BULKTOKEN_FIELD_NUMBER = 4;
112 private java.lang.Object bulkToken_;
113 public boolean hasBulkToken() {
114 return ((bitField0_ & 0x00000004) == 0x00000004);
115 }
116 public String getBulkToken() {
117 java.lang.Object ref = bulkToken_;
118 if (ref instanceof String) {
119 return (String) ref;
120 } else {
121 com.google.protobuf.ByteString bs =
122 (com.google.protobuf.ByteString) ref;
123 String s = bs.toStringUtf8();
124 if (com.google.protobuf.Internal.isValidUtf8(bs)) {
125 bulkToken_ = s;
126 }
127 return s;
128 }
129 }
130 private com.google.protobuf.ByteString getBulkTokenBytes() {
131 java.lang.Object ref = bulkToken_;
132 if (ref instanceof String) {
133 com.google.protobuf.ByteString b =
134 com.google.protobuf.ByteString.copyFromUtf8((String) ref);
135 bulkToken_ = b;
136 return b;
137 } else {
138 return (com.google.protobuf.ByteString) ref;
139 }
140 }
141
142 private void initFields() {
143 familyPath_ = java.util.Collections.emptyList();
144 assignSeqNum_ = false;
145 fsToken_ = org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.getDefaultInstance();
146 bulkToken_ = "";
147 }
148 private byte memoizedIsInitialized = -1;
149 public final boolean isInitialized() {
150 byte isInitialized = memoizedIsInitialized;
151 if (isInitialized != -1) return isInitialized == 1;
152
153 if (!hasFsToken()) {
154 memoizedIsInitialized = 0;
155 return false;
156 }
157 if (!hasBulkToken()) {
158 memoizedIsInitialized = 0;
159 return false;
160 }
161 for (int i = 0; i < getFamilyPathCount(); i++) {
162 if (!getFamilyPath(i).isInitialized()) {
163 memoizedIsInitialized = 0;
164 return false;
165 }
166 }
167 memoizedIsInitialized = 1;
168 return true;
169 }
170
171 public void writeTo(com.google.protobuf.CodedOutputStream output)
172 throws java.io.IOException {
173 getSerializedSize();
174 for (int i = 0; i < familyPath_.size(); i++) {
175 output.writeMessage(1, familyPath_.get(i));
176 }
177 if (((bitField0_ & 0x00000001) == 0x00000001)) {
178 output.writeBool(2, assignSeqNum_);
179 }
180 if (((bitField0_ & 0x00000002) == 0x00000002)) {
181 output.writeMessage(3, fsToken_);
182 }
183 if (((bitField0_ & 0x00000004) == 0x00000004)) {
184 output.writeBytes(4, getBulkTokenBytes());
185 }
186 getUnknownFields().writeTo(output);
187 }
188
189 private int memoizedSerializedSize = -1;
190 public int getSerializedSize() {
191 int size = memoizedSerializedSize;
192 if (size != -1) return size;
193
194 size = 0;
195 for (int i = 0; i < familyPath_.size(); i++) {
196 size += com.google.protobuf.CodedOutputStream
197 .computeMessageSize(1, familyPath_.get(i));
198 }
199 if (((bitField0_ & 0x00000001) == 0x00000001)) {
200 size += com.google.protobuf.CodedOutputStream
201 .computeBoolSize(2, assignSeqNum_);
202 }
203 if (((bitField0_ & 0x00000002) == 0x00000002)) {
204 size += com.google.protobuf.CodedOutputStream
205 .computeMessageSize(3, fsToken_);
206 }
207 if (((bitField0_ & 0x00000004) == 0x00000004)) {
208 size += com.google.protobuf.CodedOutputStream
209 .computeBytesSize(4, getBulkTokenBytes());
210 }
211 size += getUnknownFields().getSerializedSize();
212 memoizedSerializedSize = size;
213 return size;
214 }
215
216 private static final long serialVersionUID = 0L;
217 @java.lang.Override
218 protected java.lang.Object writeReplace()
219 throws java.io.ObjectStreamException {
220 return super.writeReplace();
221 }
222
223 @java.lang.Override
224 public boolean equals(final java.lang.Object obj) {
225 if (obj == this) {
226 return true;
227 }
228 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest)) {
229 return super.equals(obj);
230 }
231 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest other = (org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest) obj;
232
233 boolean result = true;
234 result = result && getFamilyPathList()
235 .equals(other.getFamilyPathList());
236 result = result && (hasAssignSeqNum() == other.hasAssignSeqNum());
237 if (hasAssignSeqNum()) {
238 result = result && (getAssignSeqNum()
239 == other.getAssignSeqNum());
240 }
241 result = result && (hasFsToken() == other.hasFsToken());
242 if (hasFsToken()) {
243 result = result && getFsToken()
244 .equals(other.getFsToken());
245 }
246 result = result && (hasBulkToken() == other.hasBulkToken());
247 if (hasBulkToken()) {
248 result = result && getBulkToken()
249 .equals(other.getBulkToken());
250 }
251 result = result &&
252 getUnknownFields().equals(other.getUnknownFields());
253 return result;
254 }
255
256 @java.lang.Override
257 public int hashCode() {
258 int hash = 41;
259 hash = (19 * hash) + getDescriptorForType().hashCode();
260 if (getFamilyPathCount() > 0) {
261 hash = (37 * hash) + FAMILYPATH_FIELD_NUMBER;
262 hash = (53 * hash) + getFamilyPathList().hashCode();
263 }
264 if (hasAssignSeqNum()) {
265 hash = (37 * hash) + ASSIGNSEQNUM_FIELD_NUMBER;
266 hash = (53 * hash) + hashBoolean(getAssignSeqNum());
267 }
268 if (hasFsToken()) {
269 hash = (37 * hash) + FSTOKEN_FIELD_NUMBER;
270 hash = (53 * hash) + getFsToken().hashCode();
271 }
272 if (hasBulkToken()) {
273 hash = (37 * hash) + BULKTOKEN_FIELD_NUMBER;
274 hash = (53 * hash) + getBulkToken().hashCode();
275 }
276 hash = (29 * hash) + getUnknownFields().hashCode();
277 return hash;
278 }
279
280 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest parseFrom(
281 com.google.protobuf.ByteString data)
282 throws com.google.protobuf.InvalidProtocolBufferException {
283 return newBuilder().mergeFrom(data).buildParsed();
284 }
285 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest parseFrom(
286 com.google.protobuf.ByteString data,
287 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
288 throws com.google.protobuf.InvalidProtocolBufferException {
289 return newBuilder().mergeFrom(data, extensionRegistry)
290 .buildParsed();
291 }
292 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest parseFrom(byte[] data)
293 throws com.google.protobuf.InvalidProtocolBufferException {
294 return newBuilder().mergeFrom(data).buildParsed();
295 }
296 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest parseFrom(
297 byte[] data,
298 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
299 throws com.google.protobuf.InvalidProtocolBufferException {
300 return newBuilder().mergeFrom(data, extensionRegistry)
301 .buildParsed();
302 }
303 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest parseFrom(java.io.InputStream input)
304 throws java.io.IOException {
305 return newBuilder().mergeFrom(input).buildParsed();
306 }
307 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest parseFrom(
308 java.io.InputStream input,
309 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
310 throws java.io.IOException {
311 return newBuilder().mergeFrom(input, extensionRegistry)
312 .buildParsed();
313 }
314 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest parseDelimitedFrom(java.io.InputStream input)
315 throws java.io.IOException {
316 Builder builder = newBuilder();
317 if (builder.mergeDelimitedFrom(input)) {
318 return builder.buildParsed();
319 } else {
320 return null;
321 }
322 }
323 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest parseDelimitedFrom(
324 java.io.InputStream input,
325 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
326 throws java.io.IOException {
327 Builder builder = newBuilder();
328 if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
329 return builder.buildParsed();
330 } else {
331 return null;
332 }
333 }
334 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest parseFrom(
335 com.google.protobuf.CodedInputStream input)
336 throws java.io.IOException {
337 return newBuilder().mergeFrom(input).buildParsed();
338 }
339 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest parseFrom(
340 com.google.protobuf.CodedInputStream input,
341 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
342 throws java.io.IOException {
343 return newBuilder().mergeFrom(input, extensionRegistry)
344 .buildParsed();
345 }
346
347 public static Builder newBuilder() { return Builder.create(); }
348 public Builder newBuilderForType() { return newBuilder(); }
349 public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest prototype) {
350 return newBuilder().mergeFrom(prototype);
351 }
352 public Builder toBuilder() { return newBuilder(this); }
353
354 @java.lang.Override
355 protected Builder newBuilderForType(
356 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
357 Builder builder = new Builder(parent);
358 return builder;
359 }
360 public static final class Builder extends
361 com.google.protobuf.GeneratedMessage.Builder<Builder>
362 implements org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequestOrBuilder {
363 public static final com.google.protobuf.Descriptors.Descriptor
364 getDescriptor() {
365 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_SecureBulkLoadHFilesRequest_descriptor;
366 }
367
368 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
369 internalGetFieldAccessorTable() {
370 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_SecureBulkLoadHFilesRequest_fieldAccessorTable;
371 }
372
373
374 private Builder() {
375 maybeForceBuilderInitialization();
376 }
377
378 private Builder(BuilderParent parent) {
379 super(parent);
380 maybeForceBuilderInitialization();
381 }
382 private void maybeForceBuilderInitialization() {
383 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
384 getFamilyPathFieldBuilder();
385 getFsTokenFieldBuilder();
386 }
387 }
388 private static Builder create() {
389 return new Builder();
390 }
391
392 public Builder clear() {
393 super.clear();
394 if (familyPathBuilder_ == null) {
395 familyPath_ = java.util.Collections.emptyList();
396 bitField0_ = (bitField0_ & ~0x00000001);
397 } else {
398 familyPathBuilder_.clear();
399 }
400 assignSeqNum_ = false;
401 bitField0_ = (bitField0_ & ~0x00000002);
402 if (fsTokenBuilder_ == null) {
403 fsToken_ = org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.getDefaultInstance();
404 } else {
405 fsTokenBuilder_.clear();
406 }
407 bitField0_ = (bitField0_ & ~0x00000004);
408 bulkToken_ = "";
409 bitField0_ = (bitField0_ & ~0x00000008);
410 return this;
411 }
412
413 public Builder clone() {
414 return create().mergeFrom(buildPartial());
415 }
416
417 public com.google.protobuf.Descriptors.Descriptor
418 getDescriptorForType() {
419 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest.getDescriptor();
420 }
421
422 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest getDefaultInstanceForType() {
423 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest.getDefaultInstance();
424 }
425
426 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest build() {
427 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest result = buildPartial();
428 if (!result.isInitialized()) {
429 throw newUninitializedMessageException(result);
430 }
431 return result;
432 }
433
434 private org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest buildParsed()
435 throws com.google.protobuf.InvalidProtocolBufferException {
436 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest result = buildPartial();
437 if (!result.isInitialized()) {
438 throw newUninitializedMessageException(
439 result).asInvalidProtocolBufferException();
440 }
441 return result;
442 }
443
444 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest buildPartial() {
445 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest result = new org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest(this);
446 int from_bitField0_ = bitField0_;
447 int to_bitField0_ = 0;
448 if (familyPathBuilder_ == null) {
449 if (((bitField0_ & 0x00000001) == 0x00000001)) {
450 familyPath_ = java.util.Collections.unmodifiableList(familyPath_);
451 bitField0_ = (bitField0_ & ~0x00000001);
452 }
453 result.familyPath_ = familyPath_;
454 } else {
455 result.familyPath_ = familyPathBuilder_.build();
456 }
457 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
458 to_bitField0_ |= 0x00000001;
459 }
460 result.assignSeqNum_ = assignSeqNum_;
461 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
462 to_bitField0_ |= 0x00000002;
463 }
464 if (fsTokenBuilder_ == null) {
465 result.fsToken_ = fsToken_;
466 } else {
467 result.fsToken_ = fsTokenBuilder_.build();
468 }
469 if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
470 to_bitField0_ |= 0x00000004;
471 }
472 result.bulkToken_ = bulkToken_;
473 result.bitField0_ = to_bitField0_;
474 onBuilt();
475 return result;
476 }
477
478 public Builder mergeFrom(com.google.protobuf.Message other) {
479 if (other instanceof org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest) {
480 return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest)other);
481 } else {
482 super.mergeFrom(other);
483 return this;
484 }
485 }
486
487 public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest other) {
488 if (other == org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest.getDefaultInstance()) return this;
489 if (familyPathBuilder_ == null) {
490 if (!other.familyPath_.isEmpty()) {
491 if (familyPath_.isEmpty()) {
492 familyPath_ = other.familyPath_;
493 bitField0_ = (bitField0_ & ~0x00000001);
494 } else {
495 ensureFamilyPathIsMutable();
496 familyPath_.addAll(other.familyPath_);
497 }
498 onChanged();
499 }
500 } else {
501 if (!other.familyPath_.isEmpty()) {
502 if (familyPathBuilder_.isEmpty()) {
503 familyPathBuilder_.dispose();
504 familyPathBuilder_ = null;
505 familyPath_ = other.familyPath_;
506 bitField0_ = (bitField0_ & ~0x00000001);
507 familyPathBuilder_ =
508 com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
509 getFamilyPathFieldBuilder() : null;
510 } else {
511 familyPathBuilder_.addAllMessages(other.familyPath_);
512 }
513 }
514 }
515 if (other.hasAssignSeqNum()) {
516 setAssignSeqNum(other.getAssignSeqNum());
517 }
518 if (other.hasFsToken()) {
519 mergeFsToken(other.getFsToken());
520 }
521 if (other.hasBulkToken()) {
522 setBulkToken(other.getBulkToken());
523 }
524 this.mergeUnknownFields(other.getUnknownFields());
525 return this;
526 }
527
528 public final boolean isInitialized() {
529 if (!hasFsToken()) {
530
531 return false;
532 }
533 if (!hasBulkToken()) {
534
535 return false;
536 }
537 for (int i = 0; i < getFamilyPathCount(); i++) {
538 if (!getFamilyPath(i).isInitialized()) {
539
540 return false;
541 }
542 }
543 return true;
544 }
545
546 public Builder mergeFrom(
547 com.google.protobuf.CodedInputStream input,
548 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
549 throws java.io.IOException {
550 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
551 com.google.protobuf.UnknownFieldSet.newBuilder(
552 this.getUnknownFields());
553 while (true) {
554 int tag = input.readTag();
555 switch (tag) {
556 case 0:
557 this.setUnknownFields(unknownFields.build());
558 onChanged();
559 return this;
560 default: {
561 if (!parseUnknownField(input, unknownFields,
562 extensionRegistry, tag)) {
563 this.setUnknownFields(unknownFields.build());
564 onChanged();
565 return this;
566 }
567 break;
568 }
569 case 10: {
570 org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder subBuilder = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.newBuilder();
571 input.readMessage(subBuilder, extensionRegistry);
572 addFamilyPath(subBuilder.buildPartial());
573 break;
574 }
575 case 16: {
576 bitField0_ |= 0x00000002;
577 assignSeqNum_ = input.readBool();
578 break;
579 }
580 case 26: {
581 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.Builder subBuilder = org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.newBuilder();
582 if (hasFsToken()) {
583 subBuilder.mergeFrom(getFsToken());
584 }
585 input.readMessage(subBuilder, extensionRegistry);
586 setFsToken(subBuilder.buildPartial());
587 break;
588 }
589 case 34: {
590 bitField0_ |= 0x00000008;
591 bulkToken_ = input.readBytes();
592 break;
593 }
594 }
595 }
596 }
597
598 private int bitField0_;
599
600
601 private java.util.List<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath> familyPath_ =
602 java.util.Collections.emptyList();
603 private void ensureFamilyPathIsMutable() {
604 if (!((bitField0_ & 0x00000001) == 0x00000001)) {
605 familyPath_ = new java.util.ArrayList<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath>(familyPath_);
606 bitField0_ |= 0x00000001;
607 }
608 }
609
610 private com.google.protobuf.RepeatedFieldBuilder<
611 org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder> familyPathBuilder_;
612
613 public java.util.List<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath> getFamilyPathList() {
614 if (familyPathBuilder_ == null) {
615 return java.util.Collections.unmodifiableList(familyPath_);
616 } else {
617 return familyPathBuilder_.getMessageList();
618 }
619 }
620 public int getFamilyPathCount() {
621 if (familyPathBuilder_ == null) {
622 return familyPath_.size();
623 } else {
624 return familyPathBuilder_.getCount();
625 }
626 }
627 public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath getFamilyPath(int index) {
628 if (familyPathBuilder_ == null) {
629 return familyPath_.get(index);
630 } else {
631 return familyPathBuilder_.getMessage(index);
632 }
633 }
634 public Builder setFamilyPath(
635 int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath value) {
636 if (familyPathBuilder_ == null) {
637 if (value == null) {
638 throw new NullPointerException();
639 }
640 ensureFamilyPathIsMutable();
641 familyPath_.set(index, value);
642 onChanged();
643 } else {
644 familyPathBuilder_.setMessage(index, value);
645 }
646 return this;
647 }
648 public Builder setFamilyPath(
649 int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder builderForValue) {
650 if (familyPathBuilder_ == null) {
651 ensureFamilyPathIsMutable();
652 familyPath_.set(index, builderForValue.build());
653 onChanged();
654 } else {
655 familyPathBuilder_.setMessage(index, builderForValue.build());
656 }
657 return this;
658 }
659 public Builder addFamilyPath(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath value) {
660 if (familyPathBuilder_ == null) {
661 if (value == null) {
662 throw new NullPointerException();
663 }
664 ensureFamilyPathIsMutable();
665 familyPath_.add(value);
666 onChanged();
667 } else {
668 familyPathBuilder_.addMessage(value);
669 }
670 return this;
671 }
672 public Builder addFamilyPath(
673 int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath value) {
674 if (familyPathBuilder_ == null) {
675 if (value == null) {
676 throw new NullPointerException();
677 }
678 ensureFamilyPathIsMutable();
679 familyPath_.add(index, value);
680 onChanged();
681 } else {
682 familyPathBuilder_.addMessage(index, value);
683 }
684 return this;
685 }
686 public Builder addFamilyPath(
687 org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder builderForValue) {
688 if (familyPathBuilder_ == null) {
689 ensureFamilyPathIsMutable();
690 familyPath_.add(builderForValue.build());
691 onChanged();
692 } else {
693 familyPathBuilder_.addMessage(builderForValue.build());
694 }
695 return this;
696 }
697 public Builder addFamilyPath(
698 int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder builderForValue) {
699 if (familyPathBuilder_ == null) {
700 ensureFamilyPathIsMutable();
701 familyPath_.add(index, builderForValue.build());
702 onChanged();
703 } else {
704 familyPathBuilder_.addMessage(index, builderForValue.build());
705 }
706 return this;
707 }
708 public Builder addAllFamilyPath(
709 java.lang.Iterable<? extends org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath> values) {
710 if (familyPathBuilder_ == null) {
711 ensureFamilyPathIsMutable();
712 super.addAll(values, familyPath_);
713 onChanged();
714 } else {
715 familyPathBuilder_.addAllMessages(values);
716 }
717 return this;
718 }
719 public Builder clearFamilyPath() {
720 if (familyPathBuilder_ == null) {
721 familyPath_ = java.util.Collections.emptyList();
722 bitField0_ = (bitField0_ & ~0x00000001);
723 onChanged();
724 } else {
725 familyPathBuilder_.clear();
726 }
727 return this;
728 }
729 public Builder removeFamilyPath(int index) {
730 if (familyPathBuilder_ == null) {
731 ensureFamilyPathIsMutable();
732 familyPath_.remove(index);
733 onChanged();
734 } else {
735 familyPathBuilder_.remove(index);
736 }
737 return this;
738 }
739 public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder getFamilyPathBuilder(
740 int index) {
741 return getFamilyPathFieldBuilder().getBuilder(index);
742 }
743 public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder getFamilyPathOrBuilder(
744 int index) {
745 if (familyPathBuilder_ == null) {
746 return familyPath_.get(index); } else {
747 return familyPathBuilder_.getMessageOrBuilder(index);
748 }
749 }
750 public java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder>
751 getFamilyPathOrBuilderList() {
752 if (familyPathBuilder_ != null) {
753 return familyPathBuilder_.getMessageOrBuilderList();
754 } else {
755 return java.util.Collections.unmodifiableList(familyPath_);
756 }
757 }
758 public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder addFamilyPathBuilder() {
759 return getFamilyPathFieldBuilder().addBuilder(
760 org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.getDefaultInstance());
761 }
762 public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder addFamilyPathBuilder(
763 int index) {
764 return getFamilyPathFieldBuilder().addBuilder(
765 index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.getDefaultInstance());
766 }
767 public java.util.List<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder>
768 getFamilyPathBuilderList() {
769 return getFamilyPathFieldBuilder().getBuilderList();
770 }
771 private com.google.protobuf.RepeatedFieldBuilder<
772 org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder>
773 getFamilyPathFieldBuilder() {
774 if (familyPathBuilder_ == null) {
775 familyPathBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
776 org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder>(
777 familyPath_,
778 ((bitField0_ & 0x00000001) == 0x00000001),
779 getParentForChildren(),
780 isClean());
781 familyPath_ = null;
782 }
783 return familyPathBuilder_;
784 }
785
786
787 private boolean assignSeqNum_ ;
788 public boolean hasAssignSeqNum() {
789 return ((bitField0_ & 0x00000002) == 0x00000002);
790 }
791 public boolean getAssignSeqNum() {
792 return assignSeqNum_;
793 }
794 public Builder setAssignSeqNum(boolean value) {
795 bitField0_ |= 0x00000002;
796 assignSeqNum_ = value;
797 onChanged();
798 return this;
799 }
800 public Builder clearAssignSeqNum() {
801 bitField0_ = (bitField0_ & ~0x00000002);
802 assignSeqNum_ = false;
803 onChanged();
804 return this;
805 }
806
807
808 private org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto fsToken_ = org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.getDefaultInstance();
809 private com.google.protobuf.SingleFieldBuilder<
810 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto, org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.Builder, org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProtoOrBuilder> fsTokenBuilder_;
811 public boolean hasFsToken() {
812 return ((bitField0_ & 0x00000004) == 0x00000004);
813 }
814 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto getFsToken() {
815 if (fsTokenBuilder_ == null) {
816 return fsToken_;
817 } else {
818 return fsTokenBuilder_.getMessage();
819 }
820 }
821 public Builder setFsToken(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto value) {
822 if (fsTokenBuilder_ == null) {
823 if (value == null) {
824 throw new NullPointerException();
825 }
826 fsToken_ = value;
827 onChanged();
828 } else {
829 fsTokenBuilder_.setMessage(value);
830 }
831 bitField0_ |= 0x00000004;
832 return this;
833 }
834 public Builder setFsToken(
835 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.Builder builderForValue) {
836 if (fsTokenBuilder_ == null) {
837 fsToken_ = builderForValue.build();
838 onChanged();
839 } else {
840 fsTokenBuilder_.setMessage(builderForValue.build());
841 }
842 bitField0_ |= 0x00000004;
843 return this;
844 }
845 public Builder mergeFsToken(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto value) {
846 if (fsTokenBuilder_ == null) {
847 if (((bitField0_ & 0x00000004) == 0x00000004) &&
848 fsToken_ != org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.getDefaultInstance()) {
849 fsToken_ =
850 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.newBuilder(fsToken_).mergeFrom(value).buildPartial();
851 } else {
852 fsToken_ = value;
853 }
854 onChanged();
855 } else {
856 fsTokenBuilder_.mergeFrom(value);
857 }
858 bitField0_ |= 0x00000004;
859 return this;
860 }
861 public Builder clearFsToken() {
862 if (fsTokenBuilder_ == null) {
863 fsToken_ = org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.getDefaultInstance();
864 onChanged();
865 } else {
866 fsTokenBuilder_.clear();
867 }
868 bitField0_ = (bitField0_ & ~0x00000004);
869 return this;
870 }
871 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.Builder getFsTokenBuilder() {
872 bitField0_ |= 0x00000004;
873 onChanged();
874 return getFsTokenFieldBuilder().getBuilder();
875 }
876 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProtoOrBuilder getFsTokenOrBuilder() {
877 if (fsTokenBuilder_ != null) {
878 return fsTokenBuilder_.getMessageOrBuilder();
879 } else {
880 return fsToken_;
881 }
882 }
883 private com.google.protobuf.SingleFieldBuilder<
884 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto, org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.Builder, org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProtoOrBuilder>
885 getFsTokenFieldBuilder() {
886 if (fsTokenBuilder_ == null) {
887 fsTokenBuilder_ = new com.google.protobuf.SingleFieldBuilder<
888 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto, org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.Builder, org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProtoOrBuilder>(
889 fsToken_,
890 getParentForChildren(),
891 isClean());
892 fsToken_ = null;
893 }
894 return fsTokenBuilder_;
895 }
896
897
898 private java.lang.Object bulkToken_ = "";
899 public boolean hasBulkToken() {
900 return ((bitField0_ & 0x00000008) == 0x00000008);
901 }
902 public String getBulkToken() {
903 java.lang.Object ref = bulkToken_;
904 if (!(ref instanceof String)) {
905 String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
906 bulkToken_ = s;
907 return s;
908 } else {
909 return (String) ref;
910 }
911 }
912 public Builder setBulkToken(String value) {
913 if (value == null) {
914 throw new NullPointerException();
915 }
916 bitField0_ |= 0x00000008;
917 bulkToken_ = value;
918 onChanged();
919 return this;
920 }
921 public Builder clearBulkToken() {
922 bitField0_ = (bitField0_ & ~0x00000008);
923 bulkToken_ = getDefaultInstance().getBulkToken();
924 onChanged();
925 return this;
926 }
927 void setBulkToken(com.google.protobuf.ByteString value) {
928 bitField0_ |= 0x00000008;
929 bulkToken_ = value;
930 onChanged();
931 }
932
933
934 }
935
936 static {
937 defaultInstance = new SecureBulkLoadHFilesRequest(true);
938 defaultInstance.initFields();
939 }
940
941
942 }
943
944 public interface SecureBulkLoadHFilesResponseOrBuilder
945 extends com.google.protobuf.MessageOrBuilder {
946
947
948 boolean hasLoaded();
949 boolean getLoaded();
950 }
951 public static final class SecureBulkLoadHFilesResponse extends
952 com.google.protobuf.GeneratedMessage
953 implements SecureBulkLoadHFilesResponseOrBuilder {
954
955 private SecureBulkLoadHFilesResponse(Builder builder) {
956 super(builder);
957 }
958 private SecureBulkLoadHFilesResponse(boolean noInit) {}
959
960 private static final SecureBulkLoadHFilesResponse defaultInstance;
961 public static SecureBulkLoadHFilesResponse getDefaultInstance() {
962 return defaultInstance;
963 }
964
965 public SecureBulkLoadHFilesResponse getDefaultInstanceForType() {
966 return defaultInstance;
967 }
968
969 public static final com.google.protobuf.Descriptors.Descriptor
970 getDescriptor() {
971 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_SecureBulkLoadHFilesResponse_descriptor;
972 }
973
974 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
975 internalGetFieldAccessorTable() {
976 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_SecureBulkLoadHFilesResponse_fieldAccessorTable;
977 }
978
979 private int bitField0_;
980
981 public static final int LOADED_FIELD_NUMBER = 1;
982 private boolean loaded_;
983 public boolean hasLoaded() {
984 return ((bitField0_ & 0x00000001) == 0x00000001);
985 }
986 public boolean getLoaded() {
987 return loaded_;
988 }
989
990 private void initFields() {
991 loaded_ = false;
992 }
993 private byte memoizedIsInitialized = -1;
994 public final boolean isInitialized() {
995 byte isInitialized = memoizedIsInitialized;
996 if (isInitialized != -1) return isInitialized == 1;
997
998 if (!hasLoaded()) {
999 memoizedIsInitialized = 0;
1000 return false;
1001 }
1002 memoizedIsInitialized = 1;
1003 return true;
1004 }
1005
1006 public void writeTo(com.google.protobuf.CodedOutputStream output)
1007 throws java.io.IOException {
1008 getSerializedSize();
1009 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1010 output.writeBool(1, loaded_);
1011 }
1012 getUnknownFields().writeTo(output);
1013 }
1014
1015 private int memoizedSerializedSize = -1;
1016 public int getSerializedSize() {
1017 int size = memoizedSerializedSize;
1018 if (size != -1) return size;
1019
1020 size = 0;
1021 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1022 size += com.google.protobuf.CodedOutputStream
1023 .computeBoolSize(1, loaded_);
1024 }
1025 size += getUnknownFields().getSerializedSize();
1026 memoizedSerializedSize = size;
1027 return size;
1028 }
1029
1030 private static final long serialVersionUID = 0L;
1031 @java.lang.Override
1032 protected java.lang.Object writeReplace()
1033 throws java.io.ObjectStreamException {
1034 return super.writeReplace();
1035 }
1036
1037 @java.lang.Override
1038 public boolean equals(final java.lang.Object obj) {
1039 if (obj == this) {
1040 return true;
1041 }
1042 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse)) {
1043 return super.equals(obj);
1044 }
1045 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse other = (org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse) obj;
1046
1047 boolean result = true;
1048 result = result && (hasLoaded() == other.hasLoaded());
1049 if (hasLoaded()) {
1050 result = result && (getLoaded()
1051 == other.getLoaded());
1052 }
1053 result = result &&
1054 getUnknownFields().equals(other.getUnknownFields());
1055 return result;
1056 }
1057
1058 @java.lang.Override
1059 public int hashCode() {
1060 int hash = 41;
1061 hash = (19 * hash) + getDescriptorForType().hashCode();
1062 if (hasLoaded()) {
1063 hash = (37 * hash) + LOADED_FIELD_NUMBER;
1064 hash = (53 * hash) + hashBoolean(getLoaded());
1065 }
1066 hash = (29 * hash) + getUnknownFields().hashCode();
1067 return hash;
1068 }
1069
1070 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse parseFrom(
1071 com.google.protobuf.ByteString data)
1072 throws com.google.protobuf.InvalidProtocolBufferException {
1073 return newBuilder().mergeFrom(data).buildParsed();
1074 }
1075 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse parseFrom(
1076 com.google.protobuf.ByteString data,
1077 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1078 throws com.google.protobuf.InvalidProtocolBufferException {
1079 return newBuilder().mergeFrom(data, extensionRegistry)
1080 .buildParsed();
1081 }
1082 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse parseFrom(byte[] data)
1083 throws com.google.protobuf.InvalidProtocolBufferException {
1084 return newBuilder().mergeFrom(data).buildParsed();
1085 }
1086 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse parseFrom(
1087 byte[] data,
1088 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1089 throws com.google.protobuf.InvalidProtocolBufferException {
1090 return newBuilder().mergeFrom(data, extensionRegistry)
1091 .buildParsed();
1092 }
1093 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse parseFrom(java.io.InputStream input)
1094 throws java.io.IOException {
1095 return newBuilder().mergeFrom(input).buildParsed();
1096 }
1097 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse parseFrom(
1098 java.io.InputStream input,
1099 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1100 throws java.io.IOException {
1101 return newBuilder().mergeFrom(input, extensionRegistry)
1102 .buildParsed();
1103 }
1104 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse parseDelimitedFrom(java.io.InputStream input)
1105 throws java.io.IOException {
1106 Builder builder = newBuilder();
1107 if (builder.mergeDelimitedFrom(input)) {
1108 return builder.buildParsed();
1109 } else {
1110 return null;
1111 }
1112 }
1113 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse parseDelimitedFrom(
1114 java.io.InputStream input,
1115 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1116 throws java.io.IOException {
1117 Builder builder = newBuilder();
1118 if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
1119 return builder.buildParsed();
1120 } else {
1121 return null;
1122 }
1123 }
1124 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse parseFrom(
1125 com.google.protobuf.CodedInputStream input)
1126 throws java.io.IOException {
1127 return newBuilder().mergeFrom(input).buildParsed();
1128 }
1129 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse parseFrom(
1130 com.google.protobuf.CodedInputStream input,
1131 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1132 throws java.io.IOException {
1133 return newBuilder().mergeFrom(input, extensionRegistry)
1134 .buildParsed();
1135 }
1136
1137 public static Builder newBuilder() { return Builder.create(); }
1138 public Builder newBuilderForType() { return newBuilder(); }
1139 public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse prototype) {
1140 return newBuilder().mergeFrom(prototype);
1141 }
1142 public Builder toBuilder() { return newBuilder(this); }
1143
1144 @java.lang.Override
1145 protected Builder newBuilderForType(
1146 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1147 Builder builder = new Builder(parent);
1148 return builder;
1149 }
1150 public static final class Builder extends
1151 com.google.protobuf.GeneratedMessage.Builder<Builder>
1152 implements org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponseOrBuilder {
1153 public static final com.google.protobuf.Descriptors.Descriptor
1154 getDescriptor() {
1155 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_SecureBulkLoadHFilesResponse_descriptor;
1156 }
1157
1158 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1159 internalGetFieldAccessorTable() {
1160 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_SecureBulkLoadHFilesResponse_fieldAccessorTable;
1161 }
1162
1163
1164 private Builder() {
1165 maybeForceBuilderInitialization();
1166 }
1167
1168 private Builder(BuilderParent parent) {
1169 super(parent);
1170 maybeForceBuilderInitialization();
1171 }
1172 private void maybeForceBuilderInitialization() {
1173 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1174 }
1175 }
1176 private static Builder create() {
1177 return new Builder();
1178 }
1179
1180 public Builder clear() {
1181 super.clear();
1182 loaded_ = false;
1183 bitField0_ = (bitField0_ & ~0x00000001);
1184 return this;
1185 }
1186
1187 public Builder clone() {
1188 return create().mergeFrom(buildPartial());
1189 }
1190
1191 public com.google.protobuf.Descriptors.Descriptor
1192 getDescriptorForType() {
1193 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse.getDescriptor();
1194 }
1195
1196 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse getDefaultInstanceForType() {
1197 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse.getDefaultInstance();
1198 }
1199
1200 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse build() {
1201 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse result = buildPartial();
1202 if (!result.isInitialized()) {
1203 throw newUninitializedMessageException(result);
1204 }
1205 return result;
1206 }
1207
1208 private org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse buildParsed()
1209 throws com.google.protobuf.InvalidProtocolBufferException {
1210 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse result = buildPartial();
1211 if (!result.isInitialized()) {
1212 throw newUninitializedMessageException(
1213 result).asInvalidProtocolBufferException();
1214 }
1215 return result;
1216 }
1217
1218 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse buildPartial() {
1219 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse result = new org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse(this);
1220 int from_bitField0_ = bitField0_;
1221 int to_bitField0_ = 0;
1222 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1223 to_bitField0_ |= 0x00000001;
1224 }
1225 result.loaded_ = loaded_;
1226 result.bitField0_ = to_bitField0_;
1227 onBuilt();
1228 return result;
1229 }
1230
1231 public Builder mergeFrom(com.google.protobuf.Message other) {
1232 if (other instanceof org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse) {
1233 return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse)other);
1234 } else {
1235 super.mergeFrom(other);
1236 return this;
1237 }
1238 }
1239
1240 public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse other) {
1241 if (other == org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse.getDefaultInstance()) return this;
1242 if (other.hasLoaded()) {
1243 setLoaded(other.getLoaded());
1244 }
1245 this.mergeUnknownFields(other.getUnknownFields());
1246 return this;
1247 }
1248
1249 public final boolean isInitialized() {
1250 if (!hasLoaded()) {
1251
1252 return false;
1253 }
1254 return true;
1255 }
1256
1257 public Builder mergeFrom(
1258 com.google.protobuf.CodedInputStream input,
1259 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1260 throws java.io.IOException {
1261 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1262 com.google.protobuf.UnknownFieldSet.newBuilder(
1263 this.getUnknownFields());
1264 while (true) {
1265 int tag = input.readTag();
1266 switch (tag) {
1267 case 0:
1268 this.setUnknownFields(unknownFields.build());
1269 onChanged();
1270 return this;
1271 default: {
1272 if (!parseUnknownField(input, unknownFields,
1273 extensionRegistry, tag)) {
1274 this.setUnknownFields(unknownFields.build());
1275 onChanged();
1276 return this;
1277 }
1278 break;
1279 }
1280 case 8: {
1281 bitField0_ |= 0x00000001;
1282 loaded_ = input.readBool();
1283 break;
1284 }
1285 }
1286 }
1287 }
1288
1289 private int bitField0_;
1290
1291
1292 private boolean loaded_ ;
1293 public boolean hasLoaded() {
1294 return ((bitField0_ & 0x00000001) == 0x00000001);
1295 }
1296 public boolean getLoaded() {
1297 return loaded_;
1298 }
1299 public Builder setLoaded(boolean value) {
1300 bitField0_ |= 0x00000001;
1301 loaded_ = value;
1302 onChanged();
1303 return this;
1304 }
1305 public Builder clearLoaded() {
1306 bitField0_ = (bitField0_ & ~0x00000001);
1307 loaded_ = false;
1308 onChanged();
1309 return this;
1310 }
1311
1312
1313 }
1314
1315 static {
1316 defaultInstance = new SecureBulkLoadHFilesResponse(true);
1317 defaultInstance.initFields();
1318 }
1319
1320
1321 }
1322
1323 public interface DelegationTokenProtoOrBuilder
1324 extends com.google.protobuf.MessageOrBuilder {
1325
1326
1327 boolean hasIdentifier();
1328 com.google.protobuf.ByteString getIdentifier();
1329
1330
1331 boolean hasPassword();
1332 com.google.protobuf.ByteString getPassword();
1333
1334
1335 boolean hasKind();
1336 String getKind();
1337
1338
1339 boolean hasService();
1340 String getService();
1341 }
1342 public static final class DelegationTokenProto extends
1343 com.google.protobuf.GeneratedMessage
1344 implements DelegationTokenProtoOrBuilder {
1345
1346 private DelegationTokenProto(Builder builder) {
1347 super(builder);
1348 }
1349 private DelegationTokenProto(boolean noInit) {}
1350
1351 private static final DelegationTokenProto defaultInstance;
1352 public static DelegationTokenProto getDefaultInstance() {
1353 return defaultInstance;
1354 }
1355
1356 public DelegationTokenProto getDefaultInstanceForType() {
1357 return defaultInstance;
1358 }
1359
1360 public static final com.google.protobuf.Descriptors.Descriptor
1361 getDescriptor() {
1362 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_DelegationTokenProto_descriptor;
1363 }
1364
1365 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1366 internalGetFieldAccessorTable() {
1367 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_DelegationTokenProto_fieldAccessorTable;
1368 }
1369
1370 private int bitField0_;
1371
1372 public static final int IDENTIFIER_FIELD_NUMBER = 1;
1373 private com.google.protobuf.ByteString identifier_;
1374 public boolean hasIdentifier() {
1375 return ((bitField0_ & 0x00000001) == 0x00000001);
1376 }
1377 public com.google.protobuf.ByteString getIdentifier() {
1378 return identifier_;
1379 }
1380
1381
1382 public static final int PASSWORD_FIELD_NUMBER = 2;
1383 private com.google.protobuf.ByteString password_;
1384 public boolean hasPassword() {
1385 return ((bitField0_ & 0x00000002) == 0x00000002);
1386 }
1387 public com.google.protobuf.ByteString getPassword() {
1388 return password_;
1389 }
1390
1391
1392 public static final int KIND_FIELD_NUMBER = 3;
1393 private java.lang.Object kind_;
1394 public boolean hasKind() {
1395 return ((bitField0_ & 0x00000004) == 0x00000004);
1396 }
1397 public String getKind() {
1398 java.lang.Object ref = kind_;
1399 if (ref instanceof String) {
1400 return (String) ref;
1401 } else {
1402 com.google.protobuf.ByteString bs =
1403 (com.google.protobuf.ByteString) ref;
1404 String s = bs.toStringUtf8();
1405 if (com.google.protobuf.Internal.isValidUtf8(bs)) {
1406 kind_ = s;
1407 }
1408 return s;
1409 }
1410 }
1411 private com.google.protobuf.ByteString getKindBytes() {
1412 java.lang.Object ref = kind_;
1413 if (ref instanceof String) {
1414 com.google.protobuf.ByteString b =
1415 com.google.protobuf.ByteString.copyFromUtf8((String) ref);
1416 kind_ = b;
1417 return b;
1418 } else {
1419 return (com.google.protobuf.ByteString) ref;
1420 }
1421 }
1422
1423
1424 public static final int SERVICE_FIELD_NUMBER = 4;
1425 private java.lang.Object service_;
1426 public boolean hasService() {
1427 return ((bitField0_ & 0x00000008) == 0x00000008);
1428 }
1429 public String getService() {
1430 java.lang.Object ref = service_;
1431 if (ref instanceof String) {
1432 return (String) ref;
1433 } else {
1434 com.google.protobuf.ByteString bs =
1435 (com.google.protobuf.ByteString) ref;
1436 String s = bs.toStringUtf8();
1437 if (com.google.protobuf.Internal.isValidUtf8(bs)) {
1438 service_ = s;
1439 }
1440 return s;
1441 }
1442 }
1443 private com.google.protobuf.ByteString getServiceBytes() {
1444 java.lang.Object ref = service_;
1445 if (ref instanceof String) {
1446 com.google.protobuf.ByteString b =
1447 com.google.protobuf.ByteString.copyFromUtf8((String) ref);
1448 service_ = b;
1449 return b;
1450 } else {
1451 return (com.google.protobuf.ByteString) ref;
1452 }
1453 }
1454
1455 private void initFields() {
1456 identifier_ = com.google.protobuf.ByteString.EMPTY;
1457 password_ = com.google.protobuf.ByteString.EMPTY;
1458 kind_ = "";
1459 service_ = "";
1460 }
1461 private byte memoizedIsInitialized = -1;
1462 public final boolean isInitialized() {
1463 byte isInitialized = memoizedIsInitialized;
1464 if (isInitialized != -1) return isInitialized == 1;
1465
1466 memoizedIsInitialized = 1;
1467 return true;
1468 }
1469
1470 public void writeTo(com.google.protobuf.CodedOutputStream output)
1471 throws java.io.IOException {
1472 getSerializedSize();
1473 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1474 output.writeBytes(1, identifier_);
1475 }
1476 if (((bitField0_ & 0x00000002) == 0x00000002)) {
1477 output.writeBytes(2, password_);
1478 }
1479 if (((bitField0_ & 0x00000004) == 0x00000004)) {
1480 output.writeBytes(3, getKindBytes());
1481 }
1482 if (((bitField0_ & 0x00000008) == 0x00000008)) {
1483 output.writeBytes(4, getServiceBytes());
1484 }
1485 getUnknownFields().writeTo(output);
1486 }
1487
1488 private int memoizedSerializedSize = -1;
1489 public int getSerializedSize() {
1490 int size = memoizedSerializedSize;
1491 if (size != -1) return size;
1492
1493 size = 0;
1494 if (((bitField0_ & 0x00000001) == 0x00000001)) {
1495 size += com.google.protobuf.CodedOutputStream
1496 .computeBytesSize(1, identifier_);
1497 }
1498 if (((bitField0_ & 0x00000002) == 0x00000002)) {
1499 size += com.google.protobuf.CodedOutputStream
1500 .computeBytesSize(2, password_);
1501 }
1502 if (((bitField0_ & 0x00000004) == 0x00000004)) {
1503 size += com.google.protobuf.CodedOutputStream
1504 .computeBytesSize(3, getKindBytes());
1505 }
1506 if (((bitField0_ & 0x00000008) == 0x00000008)) {
1507 size += com.google.protobuf.CodedOutputStream
1508 .computeBytesSize(4, getServiceBytes());
1509 }
1510 size += getUnknownFields().getSerializedSize();
1511 memoizedSerializedSize = size;
1512 return size;
1513 }
1514
1515 private static final long serialVersionUID = 0L;
1516 @java.lang.Override
1517 protected java.lang.Object writeReplace()
1518 throws java.io.ObjectStreamException {
1519 return super.writeReplace();
1520 }
1521
1522 @java.lang.Override
1523 public boolean equals(final java.lang.Object obj) {
1524 if (obj == this) {
1525 return true;
1526 }
1527 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto)) {
1528 return super.equals(obj);
1529 }
1530 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto other = (org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto) obj;
1531
1532 boolean result = true;
1533 result = result && (hasIdentifier() == other.hasIdentifier());
1534 if (hasIdentifier()) {
1535 result = result && getIdentifier()
1536 .equals(other.getIdentifier());
1537 }
1538 result = result && (hasPassword() == other.hasPassword());
1539 if (hasPassword()) {
1540 result = result && getPassword()
1541 .equals(other.getPassword());
1542 }
1543 result = result && (hasKind() == other.hasKind());
1544 if (hasKind()) {
1545 result = result && getKind()
1546 .equals(other.getKind());
1547 }
1548 result = result && (hasService() == other.hasService());
1549 if (hasService()) {
1550 result = result && getService()
1551 .equals(other.getService());
1552 }
1553 result = result &&
1554 getUnknownFields().equals(other.getUnknownFields());
1555 return result;
1556 }
1557
1558 @java.lang.Override
1559 public int hashCode() {
1560 int hash = 41;
1561 hash = (19 * hash) + getDescriptorForType().hashCode();
1562 if (hasIdentifier()) {
1563 hash = (37 * hash) + IDENTIFIER_FIELD_NUMBER;
1564 hash = (53 * hash) + getIdentifier().hashCode();
1565 }
1566 if (hasPassword()) {
1567 hash = (37 * hash) + PASSWORD_FIELD_NUMBER;
1568 hash = (53 * hash) + getPassword().hashCode();
1569 }
1570 if (hasKind()) {
1571 hash = (37 * hash) + KIND_FIELD_NUMBER;
1572 hash = (53 * hash) + getKind().hashCode();
1573 }
1574 if (hasService()) {
1575 hash = (37 * hash) + SERVICE_FIELD_NUMBER;
1576 hash = (53 * hash) + getService().hashCode();
1577 }
1578 hash = (29 * hash) + getUnknownFields().hashCode();
1579 return hash;
1580 }
1581
1582 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto parseFrom(
1583 com.google.protobuf.ByteString data)
1584 throws com.google.protobuf.InvalidProtocolBufferException {
1585 return newBuilder().mergeFrom(data).buildParsed();
1586 }
1587 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto parseFrom(
1588 com.google.protobuf.ByteString data,
1589 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1590 throws com.google.protobuf.InvalidProtocolBufferException {
1591 return newBuilder().mergeFrom(data, extensionRegistry)
1592 .buildParsed();
1593 }
1594 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto parseFrom(byte[] data)
1595 throws com.google.protobuf.InvalidProtocolBufferException {
1596 return newBuilder().mergeFrom(data).buildParsed();
1597 }
1598 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto parseFrom(
1599 byte[] data,
1600 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1601 throws com.google.protobuf.InvalidProtocolBufferException {
1602 return newBuilder().mergeFrom(data, extensionRegistry)
1603 .buildParsed();
1604 }
1605 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto parseFrom(java.io.InputStream input)
1606 throws java.io.IOException {
1607 return newBuilder().mergeFrom(input).buildParsed();
1608 }
1609 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto parseFrom(
1610 java.io.InputStream input,
1611 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1612 throws java.io.IOException {
1613 return newBuilder().mergeFrom(input, extensionRegistry)
1614 .buildParsed();
1615 }
1616 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto parseDelimitedFrom(java.io.InputStream input)
1617 throws java.io.IOException {
1618 Builder builder = newBuilder();
1619 if (builder.mergeDelimitedFrom(input)) {
1620 return builder.buildParsed();
1621 } else {
1622 return null;
1623 }
1624 }
1625 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto parseDelimitedFrom(
1626 java.io.InputStream input,
1627 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1628 throws java.io.IOException {
1629 Builder builder = newBuilder();
1630 if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
1631 return builder.buildParsed();
1632 } else {
1633 return null;
1634 }
1635 }
1636 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto parseFrom(
1637 com.google.protobuf.CodedInputStream input)
1638 throws java.io.IOException {
1639 return newBuilder().mergeFrom(input).buildParsed();
1640 }
1641 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto parseFrom(
1642 com.google.protobuf.CodedInputStream input,
1643 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1644 throws java.io.IOException {
1645 return newBuilder().mergeFrom(input, extensionRegistry)
1646 .buildParsed();
1647 }
1648
1649 public static Builder newBuilder() { return Builder.create(); }
1650 public Builder newBuilderForType() { return newBuilder(); }
1651 public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto prototype) {
1652 return newBuilder().mergeFrom(prototype);
1653 }
1654 public Builder toBuilder() { return newBuilder(this); }
1655
1656 @java.lang.Override
1657 protected Builder newBuilderForType(
1658 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
1659 Builder builder = new Builder(parent);
1660 return builder;
1661 }
1662 public static final class Builder extends
1663 com.google.protobuf.GeneratedMessage.Builder<Builder>
1664 implements org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProtoOrBuilder {
1665 public static final com.google.protobuf.Descriptors.Descriptor
1666 getDescriptor() {
1667 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_DelegationTokenProto_descriptor;
1668 }
1669
1670 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
1671 internalGetFieldAccessorTable() {
1672 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_DelegationTokenProto_fieldAccessorTable;
1673 }
1674
1675
1676 private Builder() {
1677 maybeForceBuilderInitialization();
1678 }
1679
1680 private Builder(BuilderParent parent) {
1681 super(parent);
1682 maybeForceBuilderInitialization();
1683 }
1684 private void maybeForceBuilderInitialization() {
1685 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
1686 }
1687 }
1688 private static Builder create() {
1689 return new Builder();
1690 }
1691
1692 public Builder clear() {
1693 super.clear();
1694 identifier_ = com.google.protobuf.ByteString.EMPTY;
1695 bitField0_ = (bitField0_ & ~0x00000001);
1696 password_ = com.google.protobuf.ByteString.EMPTY;
1697 bitField0_ = (bitField0_ & ~0x00000002);
1698 kind_ = "";
1699 bitField0_ = (bitField0_ & ~0x00000004);
1700 service_ = "";
1701 bitField0_ = (bitField0_ & ~0x00000008);
1702 return this;
1703 }
1704
1705 public Builder clone() {
1706 return create().mergeFrom(buildPartial());
1707 }
1708
1709 public com.google.protobuf.Descriptors.Descriptor
1710 getDescriptorForType() {
1711 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.getDescriptor();
1712 }
1713
1714 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto getDefaultInstanceForType() {
1715 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.getDefaultInstance();
1716 }
1717
1718 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto build() {
1719 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto result = buildPartial();
1720 if (!result.isInitialized()) {
1721 throw newUninitializedMessageException(result);
1722 }
1723 return result;
1724 }
1725
1726 private org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto buildParsed()
1727 throws com.google.protobuf.InvalidProtocolBufferException {
1728 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto result = buildPartial();
1729 if (!result.isInitialized()) {
1730 throw newUninitializedMessageException(
1731 result).asInvalidProtocolBufferException();
1732 }
1733 return result;
1734 }
1735
1736 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto buildPartial() {
1737 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto result = new org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto(this);
1738 int from_bitField0_ = bitField0_;
1739 int to_bitField0_ = 0;
1740 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
1741 to_bitField0_ |= 0x00000001;
1742 }
1743 result.identifier_ = identifier_;
1744 if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
1745 to_bitField0_ |= 0x00000002;
1746 }
1747 result.password_ = password_;
1748 if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
1749 to_bitField0_ |= 0x00000004;
1750 }
1751 result.kind_ = kind_;
1752 if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
1753 to_bitField0_ |= 0x00000008;
1754 }
1755 result.service_ = service_;
1756 result.bitField0_ = to_bitField0_;
1757 onBuilt();
1758 return result;
1759 }
1760
1761 public Builder mergeFrom(com.google.protobuf.Message other) {
1762 if (other instanceof org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto) {
1763 return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto)other);
1764 } else {
1765 super.mergeFrom(other);
1766 return this;
1767 }
1768 }
1769
1770 public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto other) {
1771 if (other == org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.getDefaultInstance()) return this;
1772 if (other.hasIdentifier()) {
1773 setIdentifier(other.getIdentifier());
1774 }
1775 if (other.hasPassword()) {
1776 setPassword(other.getPassword());
1777 }
1778 if (other.hasKind()) {
1779 setKind(other.getKind());
1780 }
1781 if (other.hasService()) {
1782 setService(other.getService());
1783 }
1784 this.mergeUnknownFields(other.getUnknownFields());
1785 return this;
1786 }
1787
1788 public final boolean isInitialized() {
1789 return true;
1790 }
1791
1792 public Builder mergeFrom(
1793 com.google.protobuf.CodedInputStream input,
1794 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
1795 throws java.io.IOException {
1796 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
1797 com.google.protobuf.UnknownFieldSet.newBuilder(
1798 this.getUnknownFields());
1799 while (true) {
1800 int tag = input.readTag();
1801 switch (tag) {
1802 case 0:
1803 this.setUnknownFields(unknownFields.build());
1804 onChanged();
1805 return this;
1806 default: {
1807 if (!parseUnknownField(input, unknownFields,
1808 extensionRegistry, tag)) {
1809 this.setUnknownFields(unknownFields.build());
1810 onChanged();
1811 return this;
1812 }
1813 break;
1814 }
1815 case 10: {
1816 bitField0_ |= 0x00000001;
1817 identifier_ = input.readBytes();
1818 break;
1819 }
1820 case 18: {
1821 bitField0_ |= 0x00000002;
1822 password_ = input.readBytes();
1823 break;
1824 }
1825 case 26: {
1826 bitField0_ |= 0x00000004;
1827 kind_ = input.readBytes();
1828 break;
1829 }
1830 case 34: {
1831 bitField0_ |= 0x00000008;
1832 service_ = input.readBytes();
1833 break;
1834 }
1835 }
1836 }
1837 }
1838
1839 private int bitField0_;
1840
1841
1842 private com.google.protobuf.ByteString identifier_ = com.google.protobuf.ByteString.EMPTY;
1843 public boolean hasIdentifier() {
1844 return ((bitField0_ & 0x00000001) == 0x00000001);
1845 }
1846 public com.google.protobuf.ByteString getIdentifier() {
1847 return identifier_;
1848 }
1849 public Builder setIdentifier(com.google.protobuf.ByteString value) {
1850 if (value == null) {
1851 throw new NullPointerException();
1852 }
1853 bitField0_ |= 0x00000001;
1854 identifier_ = value;
1855 onChanged();
1856 return this;
1857 }
1858 public Builder clearIdentifier() {
1859 bitField0_ = (bitField0_ & ~0x00000001);
1860 identifier_ = getDefaultInstance().getIdentifier();
1861 onChanged();
1862 return this;
1863 }
1864
1865
1866 private com.google.protobuf.ByteString password_ = com.google.protobuf.ByteString.EMPTY;
1867 public boolean hasPassword() {
1868 return ((bitField0_ & 0x00000002) == 0x00000002);
1869 }
1870 public com.google.protobuf.ByteString getPassword() {
1871 return password_;
1872 }
1873 public Builder setPassword(com.google.protobuf.ByteString value) {
1874 if (value == null) {
1875 throw new NullPointerException();
1876 }
1877 bitField0_ |= 0x00000002;
1878 password_ = value;
1879 onChanged();
1880 return this;
1881 }
1882 public Builder clearPassword() {
1883 bitField0_ = (bitField0_ & ~0x00000002);
1884 password_ = getDefaultInstance().getPassword();
1885 onChanged();
1886 return this;
1887 }
1888
1889
1890 private java.lang.Object kind_ = "";
1891 public boolean hasKind() {
1892 return ((bitField0_ & 0x00000004) == 0x00000004);
1893 }
1894 public String getKind() {
1895 java.lang.Object ref = kind_;
1896 if (!(ref instanceof String)) {
1897 String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
1898 kind_ = s;
1899 return s;
1900 } else {
1901 return (String) ref;
1902 }
1903 }
1904 public Builder setKind(String value) {
1905 if (value == null) {
1906 throw new NullPointerException();
1907 }
1908 bitField0_ |= 0x00000004;
1909 kind_ = value;
1910 onChanged();
1911 return this;
1912 }
1913 public Builder clearKind() {
1914 bitField0_ = (bitField0_ & ~0x00000004);
1915 kind_ = getDefaultInstance().getKind();
1916 onChanged();
1917 return this;
1918 }
1919 void setKind(com.google.protobuf.ByteString value) {
1920 bitField0_ |= 0x00000004;
1921 kind_ = value;
1922 onChanged();
1923 }
1924
1925
1926 private java.lang.Object service_ = "";
1927 public boolean hasService() {
1928 return ((bitField0_ & 0x00000008) == 0x00000008);
1929 }
1930 public String getService() {
1931 java.lang.Object ref = service_;
1932 if (!(ref instanceof String)) {
1933 String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
1934 service_ = s;
1935 return s;
1936 } else {
1937 return (String) ref;
1938 }
1939 }
1940 public Builder setService(String value) {
1941 if (value == null) {
1942 throw new NullPointerException();
1943 }
1944 bitField0_ |= 0x00000008;
1945 service_ = value;
1946 onChanged();
1947 return this;
1948 }
1949 public Builder clearService() {
1950 bitField0_ = (bitField0_ & ~0x00000008);
1951 service_ = getDefaultInstance().getService();
1952 onChanged();
1953 return this;
1954 }
1955 void setService(com.google.protobuf.ByteString value) {
1956 bitField0_ |= 0x00000008;
1957 service_ = value;
1958 onChanged();
1959 }
1960
1961
1962 }
1963
1964 static {
1965 defaultInstance = new DelegationTokenProto(true);
1966 defaultInstance.initFields();
1967 }
1968
1969
1970 }
1971
1972 public interface PrepareBulkLoadRequestOrBuilder
1973 extends com.google.protobuf.MessageOrBuilder {
1974
1975
1976 boolean hasTableName();
1977 com.google.protobuf.ByteString getTableName();
1978 }
1979 public static final class PrepareBulkLoadRequest extends
1980 com.google.protobuf.GeneratedMessage
1981 implements PrepareBulkLoadRequestOrBuilder {
1982
1983 private PrepareBulkLoadRequest(Builder builder) {
1984 super(builder);
1985 }
1986 private PrepareBulkLoadRequest(boolean noInit) {}
1987
1988 private static final PrepareBulkLoadRequest defaultInstance;
1989 public static PrepareBulkLoadRequest getDefaultInstance() {
1990 return defaultInstance;
1991 }
1992
1993 public PrepareBulkLoadRequest getDefaultInstanceForType() {
1994 return defaultInstance;
1995 }
1996
1997 public static final com.google.protobuf.Descriptors.Descriptor
1998 getDescriptor() {
1999 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_PrepareBulkLoadRequest_descriptor;
2000 }
2001
2002 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2003 internalGetFieldAccessorTable() {
2004 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_PrepareBulkLoadRequest_fieldAccessorTable;
2005 }
2006
2007 private int bitField0_;
2008
2009 public static final int TABLENAME_FIELD_NUMBER = 1;
2010 private com.google.protobuf.ByteString tableName_;
2011 public boolean hasTableName() {
2012 return ((bitField0_ & 0x00000001) == 0x00000001);
2013 }
2014 public com.google.protobuf.ByteString getTableName() {
2015 return tableName_;
2016 }
2017
2018 private void initFields() {
2019 tableName_ = com.google.protobuf.ByteString.EMPTY;
2020 }
2021 private byte memoizedIsInitialized = -1;
2022 public final boolean isInitialized() {
2023 byte isInitialized = memoizedIsInitialized;
2024 if (isInitialized != -1) return isInitialized == 1;
2025
2026 if (!hasTableName()) {
2027 memoizedIsInitialized = 0;
2028 return false;
2029 }
2030 memoizedIsInitialized = 1;
2031 return true;
2032 }
2033
2034 public void writeTo(com.google.protobuf.CodedOutputStream output)
2035 throws java.io.IOException {
2036 getSerializedSize();
2037 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2038 output.writeBytes(1, tableName_);
2039 }
2040 getUnknownFields().writeTo(output);
2041 }
2042
2043 private int memoizedSerializedSize = -1;
2044 public int getSerializedSize() {
2045 int size = memoizedSerializedSize;
2046 if (size != -1) return size;
2047
2048 size = 0;
2049 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2050 size += com.google.protobuf.CodedOutputStream
2051 .computeBytesSize(1, tableName_);
2052 }
2053 size += getUnknownFields().getSerializedSize();
2054 memoizedSerializedSize = size;
2055 return size;
2056 }
2057
2058 private static final long serialVersionUID = 0L;
2059 @java.lang.Override
2060 protected java.lang.Object writeReplace()
2061 throws java.io.ObjectStreamException {
2062 return super.writeReplace();
2063 }
2064
2065 @java.lang.Override
2066 public boolean equals(final java.lang.Object obj) {
2067 if (obj == this) {
2068 return true;
2069 }
2070 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest)) {
2071 return super.equals(obj);
2072 }
2073 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest other = (org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest) obj;
2074
2075 boolean result = true;
2076 result = result && (hasTableName() == other.hasTableName());
2077 if (hasTableName()) {
2078 result = result && getTableName()
2079 .equals(other.getTableName());
2080 }
2081 result = result &&
2082 getUnknownFields().equals(other.getUnknownFields());
2083 return result;
2084 }
2085
2086 @java.lang.Override
2087 public int hashCode() {
2088 int hash = 41;
2089 hash = (19 * hash) + getDescriptorForType().hashCode();
2090 if (hasTableName()) {
2091 hash = (37 * hash) + TABLENAME_FIELD_NUMBER;
2092 hash = (53 * hash) + getTableName().hashCode();
2093 }
2094 hash = (29 * hash) + getUnknownFields().hashCode();
2095 return hash;
2096 }
2097
2098 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest parseFrom(
2099 com.google.protobuf.ByteString data)
2100 throws com.google.protobuf.InvalidProtocolBufferException {
2101 return newBuilder().mergeFrom(data).buildParsed();
2102 }
2103 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest parseFrom(
2104 com.google.protobuf.ByteString data,
2105 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2106 throws com.google.protobuf.InvalidProtocolBufferException {
2107 return newBuilder().mergeFrom(data, extensionRegistry)
2108 .buildParsed();
2109 }
2110 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest parseFrom(byte[] data)
2111 throws com.google.protobuf.InvalidProtocolBufferException {
2112 return newBuilder().mergeFrom(data).buildParsed();
2113 }
2114 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest parseFrom(
2115 byte[] data,
2116 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2117 throws com.google.protobuf.InvalidProtocolBufferException {
2118 return newBuilder().mergeFrom(data, extensionRegistry)
2119 .buildParsed();
2120 }
2121 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest parseFrom(java.io.InputStream input)
2122 throws java.io.IOException {
2123 return newBuilder().mergeFrom(input).buildParsed();
2124 }
2125 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest parseFrom(
2126 java.io.InputStream input,
2127 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2128 throws java.io.IOException {
2129 return newBuilder().mergeFrom(input, extensionRegistry)
2130 .buildParsed();
2131 }
2132 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest parseDelimitedFrom(java.io.InputStream input)
2133 throws java.io.IOException {
2134 Builder builder = newBuilder();
2135 if (builder.mergeDelimitedFrom(input)) {
2136 return builder.buildParsed();
2137 } else {
2138 return null;
2139 }
2140 }
2141 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest parseDelimitedFrom(
2142 java.io.InputStream input,
2143 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2144 throws java.io.IOException {
2145 Builder builder = newBuilder();
2146 if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
2147 return builder.buildParsed();
2148 } else {
2149 return null;
2150 }
2151 }
2152 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest parseFrom(
2153 com.google.protobuf.CodedInputStream input)
2154 throws java.io.IOException {
2155 return newBuilder().mergeFrom(input).buildParsed();
2156 }
2157 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest parseFrom(
2158 com.google.protobuf.CodedInputStream input,
2159 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2160 throws java.io.IOException {
2161 return newBuilder().mergeFrom(input, extensionRegistry)
2162 .buildParsed();
2163 }
2164
2165 public static Builder newBuilder() { return Builder.create(); }
2166 public Builder newBuilderForType() { return newBuilder(); }
2167 public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest prototype) {
2168 return newBuilder().mergeFrom(prototype);
2169 }
2170 public Builder toBuilder() { return newBuilder(this); }
2171
2172 @java.lang.Override
2173 protected Builder newBuilderForType(
2174 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2175 Builder builder = new Builder(parent);
2176 return builder;
2177 }
2178 public static final class Builder extends
2179 com.google.protobuf.GeneratedMessage.Builder<Builder>
2180 implements org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequestOrBuilder {
2181 public static final com.google.protobuf.Descriptors.Descriptor
2182 getDescriptor() {
2183 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_PrepareBulkLoadRequest_descriptor;
2184 }
2185
2186 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2187 internalGetFieldAccessorTable() {
2188 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_PrepareBulkLoadRequest_fieldAccessorTable;
2189 }
2190
2191
2192 private Builder() {
2193 maybeForceBuilderInitialization();
2194 }
2195
2196 private Builder(BuilderParent parent) {
2197 super(parent);
2198 maybeForceBuilderInitialization();
2199 }
2200 private void maybeForceBuilderInitialization() {
2201 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2202 }
2203 }
2204 private static Builder create() {
2205 return new Builder();
2206 }
2207
2208 public Builder clear() {
2209 super.clear();
2210 tableName_ = com.google.protobuf.ByteString.EMPTY;
2211 bitField0_ = (bitField0_ & ~0x00000001);
2212 return this;
2213 }
2214
2215 public Builder clone() {
2216 return create().mergeFrom(buildPartial());
2217 }
2218
2219 public com.google.protobuf.Descriptors.Descriptor
2220 getDescriptorForType() {
2221 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest.getDescriptor();
2222 }
2223
2224 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest getDefaultInstanceForType() {
2225 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest.getDefaultInstance();
2226 }
2227
2228 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest build() {
2229 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest result = buildPartial();
2230 if (!result.isInitialized()) {
2231 throw newUninitializedMessageException(result);
2232 }
2233 return result;
2234 }
2235
2236 private org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest buildParsed()
2237 throws com.google.protobuf.InvalidProtocolBufferException {
2238 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest result = buildPartial();
2239 if (!result.isInitialized()) {
2240 throw newUninitializedMessageException(
2241 result).asInvalidProtocolBufferException();
2242 }
2243 return result;
2244 }
2245
2246 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest buildPartial() {
2247 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest result = new org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest(this);
2248 int from_bitField0_ = bitField0_;
2249 int to_bitField0_ = 0;
2250 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
2251 to_bitField0_ |= 0x00000001;
2252 }
2253 result.tableName_ = tableName_;
2254 result.bitField0_ = to_bitField0_;
2255 onBuilt();
2256 return result;
2257 }
2258
2259 public Builder mergeFrom(com.google.protobuf.Message other) {
2260 if (other instanceof org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest) {
2261 return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest)other);
2262 } else {
2263 super.mergeFrom(other);
2264 return this;
2265 }
2266 }
2267
2268 public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest other) {
2269 if (other == org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest.getDefaultInstance()) return this;
2270 if (other.hasTableName()) {
2271 setTableName(other.getTableName());
2272 }
2273 this.mergeUnknownFields(other.getUnknownFields());
2274 return this;
2275 }
2276
2277 public final boolean isInitialized() {
2278 if (!hasTableName()) {
2279
2280 return false;
2281 }
2282 return true;
2283 }
2284
2285 public Builder mergeFrom(
2286 com.google.protobuf.CodedInputStream input,
2287 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2288 throws java.io.IOException {
2289 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2290 com.google.protobuf.UnknownFieldSet.newBuilder(
2291 this.getUnknownFields());
2292 while (true) {
2293 int tag = input.readTag();
2294 switch (tag) {
2295 case 0:
2296 this.setUnknownFields(unknownFields.build());
2297 onChanged();
2298 return this;
2299 default: {
2300 if (!parseUnknownField(input, unknownFields,
2301 extensionRegistry, tag)) {
2302 this.setUnknownFields(unknownFields.build());
2303 onChanged();
2304 return this;
2305 }
2306 break;
2307 }
2308 case 10: {
2309 bitField0_ |= 0x00000001;
2310 tableName_ = input.readBytes();
2311 break;
2312 }
2313 }
2314 }
2315 }
2316
2317 private int bitField0_;
2318
2319
2320 private com.google.protobuf.ByteString tableName_ = com.google.protobuf.ByteString.EMPTY;
2321 public boolean hasTableName() {
2322 return ((bitField0_ & 0x00000001) == 0x00000001);
2323 }
2324 public com.google.protobuf.ByteString getTableName() {
2325 return tableName_;
2326 }
2327 public Builder setTableName(com.google.protobuf.ByteString value) {
2328 if (value == null) {
2329 throw new NullPointerException();
2330 }
2331 bitField0_ |= 0x00000001;
2332 tableName_ = value;
2333 onChanged();
2334 return this;
2335 }
2336 public Builder clearTableName() {
2337 bitField0_ = (bitField0_ & ~0x00000001);
2338 tableName_ = getDefaultInstance().getTableName();
2339 onChanged();
2340 return this;
2341 }
2342
2343
2344 }
2345
2346 static {
2347 defaultInstance = new PrepareBulkLoadRequest(true);
2348 defaultInstance.initFields();
2349 }
2350
2351
2352 }
2353
2354 public interface PrepareBulkLoadResponseOrBuilder
2355 extends com.google.protobuf.MessageOrBuilder {
2356
2357
2358 boolean hasBulkToken();
2359 String getBulkToken();
2360 }
2361 public static final class PrepareBulkLoadResponse extends
2362 com.google.protobuf.GeneratedMessage
2363 implements PrepareBulkLoadResponseOrBuilder {
2364
2365 private PrepareBulkLoadResponse(Builder builder) {
2366 super(builder);
2367 }
2368 private PrepareBulkLoadResponse(boolean noInit) {}
2369
2370 private static final PrepareBulkLoadResponse defaultInstance;
2371 public static PrepareBulkLoadResponse getDefaultInstance() {
2372 return defaultInstance;
2373 }
2374
2375 public PrepareBulkLoadResponse getDefaultInstanceForType() {
2376 return defaultInstance;
2377 }
2378
2379 public static final com.google.protobuf.Descriptors.Descriptor
2380 getDescriptor() {
2381 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_PrepareBulkLoadResponse_descriptor;
2382 }
2383
2384 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2385 internalGetFieldAccessorTable() {
2386 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_PrepareBulkLoadResponse_fieldAccessorTable;
2387 }
2388
2389 private int bitField0_;
2390
2391 public static final int BULKTOKEN_FIELD_NUMBER = 1;
2392 private java.lang.Object bulkToken_;
2393 public boolean hasBulkToken() {
2394 return ((bitField0_ & 0x00000001) == 0x00000001);
2395 }
2396 public String getBulkToken() {
2397 java.lang.Object ref = bulkToken_;
2398 if (ref instanceof String) {
2399 return (String) ref;
2400 } else {
2401 com.google.protobuf.ByteString bs =
2402 (com.google.protobuf.ByteString) ref;
2403 String s = bs.toStringUtf8();
2404 if (com.google.protobuf.Internal.isValidUtf8(bs)) {
2405 bulkToken_ = s;
2406 }
2407 return s;
2408 }
2409 }
2410 private com.google.protobuf.ByteString getBulkTokenBytes() {
2411 java.lang.Object ref = bulkToken_;
2412 if (ref instanceof String) {
2413 com.google.protobuf.ByteString b =
2414 com.google.protobuf.ByteString.copyFromUtf8((String) ref);
2415 bulkToken_ = b;
2416 return b;
2417 } else {
2418 return (com.google.protobuf.ByteString) ref;
2419 }
2420 }
2421
2422 private void initFields() {
2423 bulkToken_ = "";
2424 }
2425 private byte memoizedIsInitialized = -1;
2426 public final boolean isInitialized() {
2427 byte isInitialized = memoizedIsInitialized;
2428 if (isInitialized != -1) return isInitialized == 1;
2429
2430 if (!hasBulkToken()) {
2431 memoizedIsInitialized = 0;
2432 return false;
2433 }
2434 memoizedIsInitialized = 1;
2435 return true;
2436 }
2437
2438 public void writeTo(com.google.protobuf.CodedOutputStream output)
2439 throws java.io.IOException {
2440 getSerializedSize();
2441 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2442 output.writeBytes(1, getBulkTokenBytes());
2443 }
2444 getUnknownFields().writeTo(output);
2445 }
2446
2447 private int memoizedSerializedSize = -1;
2448 public int getSerializedSize() {
2449 int size = memoizedSerializedSize;
2450 if (size != -1) return size;
2451
2452 size = 0;
2453 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2454 size += com.google.protobuf.CodedOutputStream
2455 .computeBytesSize(1, getBulkTokenBytes());
2456 }
2457 size += getUnknownFields().getSerializedSize();
2458 memoizedSerializedSize = size;
2459 return size;
2460 }
2461
2462 private static final long serialVersionUID = 0L;
2463 @java.lang.Override
2464 protected java.lang.Object writeReplace()
2465 throws java.io.ObjectStreamException {
2466 return super.writeReplace();
2467 }
2468
2469 @java.lang.Override
2470 public boolean equals(final java.lang.Object obj) {
2471 if (obj == this) {
2472 return true;
2473 }
2474 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse)) {
2475 return super.equals(obj);
2476 }
2477 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse other = (org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse) obj;
2478
2479 boolean result = true;
2480 result = result && (hasBulkToken() == other.hasBulkToken());
2481 if (hasBulkToken()) {
2482 result = result && getBulkToken()
2483 .equals(other.getBulkToken());
2484 }
2485 result = result &&
2486 getUnknownFields().equals(other.getUnknownFields());
2487 return result;
2488 }
2489
2490 @java.lang.Override
2491 public int hashCode() {
2492 int hash = 41;
2493 hash = (19 * hash) + getDescriptorForType().hashCode();
2494 if (hasBulkToken()) {
2495 hash = (37 * hash) + BULKTOKEN_FIELD_NUMBER;
2496 hash = (53 * hash) + getBulkToken().hashCode();
2497 }
2498 hash = (29 * hash) + getUnknownFields().hashCode();
2499 return hash;
2500 }
2501
2502 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse parseFrom(
2503 com.google.protobuf.ByteString data)
2504 throws com.google.protobuf.InvalidProtocolBufferException {
2505 return newBuilder().mergeFrom(data).buildParsed();
2506 }
2507 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse parseFrom(
2508 com.google.protobuf.ByteString data,
2509 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2510 throws com.google.protobuf.InvalidProtocolBufferException {
2511 return newBuilder().mergeFrom(data, extensionRegistry)
2512 .buildParsed();
2513 }
2514 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse parseFrom(byte[] data)
2515 throws com.google.protobuf.InvalidProtocolBufferException {
2516 return newBuilder().mergeFrom(data).buildParsed();
2517 }
2518 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse parseFrom(
2519 byte[] data,
2520 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2521 throws com.google.protobuf.InvalidProtocolBufferException {
2522 return newBuilder().mergeFrom(data, extensionRegistry)
2523 .buildParsed();
2524 }
2525 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse parseFrom(java.io.InputStream input)
2526 throws java.io.IOException {
2527 return newBuilder().mergeFrom(input).buildParsed();
2528 }
2529 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse parseFrom(
2530 java.io.InputStream input,
2531 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2532 throws java.io.IOException {
2533 return newBuilder().mergeFrom(input, extensionRegistry)
2534 .buildParsed();
2535 }
2536 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse parseDelimitedFrom(java.io.InputStream input)
2537 throws java.io.IOException {
2538 Builder builder = newBuilder();
2539 if (builder.mergeDelimitedFrom(input)) {
2540 return builder.buildParsed();
2541 } else {
2542 return null;
2543 }
2544 }
2545 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse parseDelimitedFrom(
2546 java.io.InputStream input,
2547 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2548 throws java.io.IOException {
2549 Builder builder = newBuilder();
2550 if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
2551 return builder.buildParsed();
2552 } else {
2553 return null;
2554 }
2555 }
2556 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse parseFrom(
2557 com.google.protobuf.CodedInputStream input)
2558 throws java.io.IOException {
2559 return newBuilder().mergeFrom(input).buildParsed();
2560 }
2561 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse parseFrom(
2562 com.google.protobuf.CodedInputStream input,
2563 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2564 throws java.io.IOException {
2565 return newBuilder().mergeFrom(input, extensionRegistry)
2566 .buildParsed();
2567 }
2568
2569 public static Builder newBuilder() { return Builder.create(); }
2570 public Builder newBuilderForType() { return newBuilder(); }
2571 public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse prototype) {
2572 return newBuilder().mergeFrom(prototype);
2573 }
2574 public Builder toBuilder() { return newBuilder(this); }
2575
2576 @java.lang.Override
2577 protected Builder newBuilderForType(
2578 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2579 Builder builder = new Builder(parent);
2580 return builder;
2581 }
2582 public static final class Builder extends
2583 com.google.protobuf.GeneratedMessage.Builder<Builder>
2584 implements org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponseOrBuilder {
2585 public static final com.google.protobuf.Descriptors.Descriptor
2586 getDescriptor() {
2587 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_PrepareBulkLoadResponse_descriptor;
2588 }
2589
2590 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2591 internalGetFieldAccessorTable() {
2592 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_PrepareBulkLoadResponse_fieldAccessorTable;
2593 }
2594
2595
2596 private Builder() {
2597 maybeForceBuilderInitialization();
2598 }
2599
2600 private Builder(BuilderParent parent) {
2601 super(parent);
2602 maybeForceBuilderInitialization();
2603 }
2604 private void maybeForceBuilderInitialization() {
2605 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
2606 }
2607 }
2608 private static Builder create() {
2609 return new Builder();
2610 }
2611
2612 public Builder clear() {
2613 super.clear();
2614 bulkToken_ = "";
2615 bitField0_ = (bitField0_ & ~0x00000001);
2616 return this;
2617 }
2618
2619 public Builder clone() {
2620 return create().mergeFrom(buildPartial());
2621 }
2622
2623 public com.google.protobuf.Descriptors.Descriptor
2624 getDescriptorForType() {
2625 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse.getDescriptor();
2626 }
2627
2628 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse getDefaultInstanceForType() {
2629 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse.getDefaultInstance();
2630 }
2631
2632 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse build() {
2633 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse result = buildPartial();
2634 if (!result.isInitialized()) {
2635 throw newUninitializedMessageException(result);
2636 }
2637 return result;
2638 }
2639
2640 private org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse buildParsed()
2641 throws com.google.protobuf.InvalidProtocolBufferException {
2642 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse result = buildPartial();
2643 if (!result.isInitialized()) {
2644 throw newUninitializedMessageException(
2645 result).asInvalidProtocolBufferException();
2646 }
2647 return result;
2648 }
2649
2650 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse buildPartial() {
2651 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse result = new org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse(this);
2652 int from_bitField0_ = bitField0_;
2653 int to_bitField0_ = 0;
2654 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
2655 to_bitField0_ |= 0x00000001;
2656 }
2657 result.bulkToken_ = bulkToken_;
2658 result.bitField0_ = to_bitField0_;
2659 onBuilt();
2660 return result;
2661 }
2662
2663 public Builder mergeFrom(com.google.protobuf.Message other) {
2664 if (other instanceof org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse) {
2665 return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse)other);
2666 } else {
2667 super.mergeFrom(other);
2668 return this;
2669 }
2670 }
2671
2672 public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse other) {
2673 if (other == org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse.getDefaultInstance()) return this;
2674 if (other.hasBulkToken()) {
2675 setBulkToken(other.getBulkToken());
2676 }
2677 this.mergeUnknownFields(other.getUnknownFields());
2678 return this;
2679 }
2680
2681 public final boolean isInitialized() {
2682 if (!hasBulkToken()) {
2683
2684 return false;
2685 }
2686 return true;
2687 }
2688
2689 public Builder mergeFrom(
2690 com.google.protobuf.CodedInputStream input,
2691 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2692 throws java.io.IOException {
2693 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
2694 com.google.protobuf.UnknownFieldSet.newBuilder(
2695 this.getUnknownFields());
2696 while (true) {
2697 int tag = input.readTag();
2698 switch (tag) {
2699 case 0:
2700 this.setUnknownFields(unknownFields.build());
2701 onChanged();
2702 return this;
2703 default: {
2704 if (!parseUnknownField(input, unknownFields,
2705 extensionRegistry, tag)) {
2706 this.setUnknownFields(unknownFields.build());
2707 onChanged();
2708 return this;
2709 }
2710 break;
2711 }
2712 case 10: {
2713 bitField0_ |= 0x00000001;
2714 bulkToken_ = input.readBytes();
2715 break;
2716 }
2717 }
2718 }
2719 }
2720
2721 private int bitField0_;
2722
2723
2724 private java.lang.Object bulkToken_ = "";
2725 public boolean hasBulkToken() {
2726 return ((bitField0_ & 0x00000001) == 0x00000001);
2727 }
2728 public String getBulkToken() {
2729 java.lang.Object ref = bulkToken_;
2730 if (!(ref instanceof String)) {
2731 String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
2732 bulkToken_ = s;
2733 return s;
2734 } else {
2735 return (String) ref;
2736 }
2737 }
2738 public Builder setBulkToken(String value) {
2739 if (value == null) {
2740 throw new NullPointerException();
2741 }
2742 bitField0_ |= 0x00000001;
2743 bulkToken_ = value;
2744 onChanged();
2745 return this;
2746 }
2747 public Builder clearBulkToken() {
2748 bitField0_ = (bitField0_ & ~0x00000001);
2749 bulkToken_ = getDefaultInstance().getBulkToken();
2750 onChanged();
2751 return this;
2752 }
2753 void setBulkToken(com.google.protobuf.ByteString value) {
2754 bitField0_ |= 0x00000001;
2755 bulkToken_ = value;
2756 onChanged();
2757 }
2758
2759
2760 }
2761
2762 static {
2763 defaultInstance = new PrepareBulkLoadResponse(true);
2764 defaultInstance.initFields();
2765 }
2766
2767
2768 }
2769
2770 public interface CleanupBulkLoadRequestOrBuilder
2771 extends com.google.protobuf.MessageOrBuilder {
2772
2773
2774 boolean hasBulkToken();
2775 String getBulkToken();
2776 }
2777 public static final class CleanupBulkLoadRequest extends
2778 com.google.protobuf.GeneratedMessage
2779 implements CleanupBulkLoadRequestOrBuilder {
2780
2781 private CleanupBulkLoadRequest(Builder builder) {
2782 super(builder);
2783 }
2784 private CleanupBulkLoadRequest(boolean noInit) {}
2785
2786 private static final CleanupBulkLoadRequest defaultInstance;
2787 public static CleanupBulkLoadRequest getDefaultInstance() {
2788 return defaultInstance;
2789 }
2790
2791 public CleanupBulkLoadRequest getDefaultInstanceForType() {
2792 return defaultInstance;
2793 }
2794
2795 public static final com.google.protobuf.Descriptors.Descriptor
2796 getDescriptor() {
2797 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_CleanupBulkLoadRequest_descriptor;
2798 }
2799
2800 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
2801 internalGetFieldAccessorTable() {
2802 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_CleanupBulkLoadRequest_fieldAccessorTable;
2803 }
2804
2805 private int bitField0_;
2806
2807 public static final int BULKTOKEN_FIELD_NUMBER = 1;
2808 private java.lang.Object bulkToken_;
2809 public boolean hasBulkToken() {
2810 return ((bitField0_ & 0x00000001) == 0x00000001);
2811 }
2812 public String getBulkToken() {
2813 java.lang.Object ref = bulkToken_;
2814 if (ref instanceof String) {
2815 return (String) ref;
2816 } else {
2817 com.google.protobuf.ByteString bs =
2818 (com.google.protobuf.ByteString) ref;
2819 String s = bs.toStringUtf8();
2820 if (com.google.protobuf.Internal.isValidUtf8(bs)) {
2821 bulkToken_ = s;
2822 }
2823 return s;
2824 }
2825 }
2826 private com.google.protobuf.ByteString getBulkTokenBytes() {
2827 java.lang.Object ref = bulkToken_;
2828 if (ref instanceof String) {
2829 com.google.protobuf.ByteString b =
2830 com.google.protobuf.ByteString.copyFromUtf8((String) ref);
2831 bulkToken_ = b;
2832 return b;
2833 } else {
2834 return (com.google.protobuf.ByteString) ref;
2835 }
2836 }
2837
2838 private void initFields() {
2839 bulkToken_ = "";
2840 }
2841 private byte memoizedIsInitialized = -1;
2842 public final boolean isInitialized() {
2843 byte isInitialized = memoizedIsInitialized;
2844 if (isInitialized != -1) return isInitialized == 1;
2845
2846 if (!hasBulkToken()) {
2847 memoizedIsInitialized = 0;
2848 return false;
2849 }
2850 memoizedIsInitialized = 1;
2851 return true;
2852 }
2853
2854 public void writeTo(com.google.protobuf.CodedOutputStream output)
2855 throws java.io.IOException {
2856 getSerializedSize();
2857 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2858 output.writeBytes(1, getBulkTokenBytes());
2859 }
2860 getUnknownFields().writeTo(output);
2861 }
2862
2863 private int memoizedSerializedSize = -1;
2864 public int getSerializedSize() {
2865 int size = memoizedSerializedSize;
2866 if (size != -1) return size;
2867
2868 size = 0;
2869 if (((bitField0_ & 0x00000001) == 0x00000001)) {
2870 size += com.google.protobuf.CodedOutputStream
2871 .computeBytesSize(1, getBulkTokenBytes());
2872 }
2873 size += getUnknownFields().getSerializedSize();
2874 memoizedSerializedSize = size;
2875 return size;
2876 }
2877
2878 private static final long serialVersionUID = 0L;
2879 @java.lang.Override
2880 protected java.lang.Object writeReplace()
2881 throws java.io.ObjectStreamException {
2882 return super.writeReplace();
2883 }
2884
2885 @java.lang.Override
2886 public boolean equals(final java.lang.Object obj) {
2887 if (obj == this) {
2888 return true;
2889 }
2890 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest)) {
2891 return super.equals(obj);
2892 }
2893 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest other = (org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest) obj;
2894
2895 boolean result = true;
2896 result = result && (hasBulkToken() == other.hasBulkToken());
2897 if (hasBulkToken()) {
2898 result = result && getBulkToken()
2899 .equals(other.getBulkToken());
2900 }
2901 result = result &&
2902 getUnknownFields().equals(other.getUnknownFields());
2903 return result;
2904 }
2905
2906 @java.lang.Override
2907 public int hashCode() {
2908 int hash = 41;
2909 hash = (19 * hash) + getDescriptorForType().hashCode();
2910 if (hasBulkToken()) {
2911 hash = (37 * hash) + BULKTOKEN_FIELD_NUMBER;
2912 hash = (53 * hash) + getBulkToken().hashCode();
2913 }
2914 hash = (29 * hash) + getUnknownFields().hashCode();
2915 return hash;
2916 }
2917
2918 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest parseFrom(
2919 com.google.protobuf.ByteString data)
2920 throws com.google.protobuf.InvalidProtocolBufferException {
2921 return newBuilder().mergeFrom(data).buildParsed();
2922 }
2923 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest parseFrom(
2924 com.google.protobuf.ByteString data,
2925 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2926 throws com.google.protobuf.InvalidProtocolBufferException {
2927 return newBuilder().mergeFrom(data, extensionRegistry)
2928 .buildParsed();
2929 }
2930 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest parseFrom(byte[] data)
2931 throws com.google.protobuf.InvalidProtocolBufferException {
2932 return newBuilder().mergeFrom(data).buildParsed();
2933 }
2934 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest parseFrom(
2935 byte[] data,
2936 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2937 throws com.google.protobuf.InvalidProtocolBufferException {
2938 return newBuilder().mergeFrom(data, extensionRegistry)
2939 .buildParsed();
2940 }
2941 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest parseFrom(java.io.InputStream input)
2942 throws java.io.IOException {
2943 return newBuilder().mergeFrom(input).buildParsed();
2944 }
2945 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest parseFrom(
2946 java.io.InputStream input,
2947 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2948 throws java.io.IOException {
2949 return newBuilder().mergeFrom(input, extensionRegistry)
2950 .buildParsed();
2951 }
2952 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest parseDelimitedFrom(java.io.InputStream input)
2953 throws java.io.IOException {
2954 Builder builder = newBuilder();
2955 if (builder.mergeDelimitedFrom(input)) {
2956 return builder.buildParsed();
2957 } else {
2958 return null;
2959 }
2960 }
2961 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest parseDelimitedFrom(
2962 java.io.InputStream input,
2963 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2964 throws java.io.IOException {
2965 Builder builder = newBuilder();
2966 if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
2967 return builder.buildParsed();
2968 } else {
2969 return null;
2970 }
2971 }
2972 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest parseFrom(
2973 com.google.protobuf.CodedInputStream input)
2974 throws java.io.IOException {
2975 return newBuilder().mergeFrom(input).buildParsed();
2976 }
2977 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest parseFrom(
2978 com.google.protobuf.CodedInputStream input,
2979 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
2980 throws java.io.IOException {
2981 return newBuilder().mergeFrom(input, extensionRegistry)
2982 .buildParsed();
2983 }
2984
2985 public static Builder newBuilder() { return Builder.create(); }
2986 public Builder newBuilderForType() { return newBuilder(); }
2987 public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest prototype) {
2988 return newBuilder().mergeFrom(prototype);
2989 }
2990 public Builder toBuilder() { return newBuilder(this); }
2991
2992 @java.lang.Override
2993 protected Builder newBuilderForType(
2994 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
2995 Builder builder = new Builder(parent);
2996 return builder;
2997 }
2998 public static final class Builder extends
2999 com.google.protobuf.GeneratedMessage.Builder<Builder>
3000 implements org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequestOrBuilder {
3001 public static final com.google.protobuf.Descriptors.Descriptor
3002 getDescriptor() {
3003 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_CleanupBulkLoadRequest_descriptor;
3004 }
3005
3006 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3007 internalGetFieldAccessorTable() {
3008 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_CleanupBulkLoadRequest_fieldAccessorTable;
3009 }
3010
3011
3012 private Builder() {
3013 maybeForceBuilderInitialization();
3014 }
3015
3016 private Builder(BuilderParent parent) {
3017 super(parent);
3018 maybeForceBuilderInitialization();
3019 }
3020 private void maybeForceBuilderInitialization() {
3021 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
3022 }
3023 }
3024 private static Builder create() {
3025 return new Builder();
3026 }
3027
3028 public Builder clear() {
3029 super.clear();
3030 bulkToken_ = "";
3031 bitField0_ = (bitField0_ & ~0x00000001);
3032 return this;
3033 }
3034
3035 public Builder clone() {
3036 return create().mergeFrom(buildPartial());
3037 }
3038
3039 public com.google.protobuf.Descriptors.Descriptor
3040 getDescriptorForType() {
3041 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest.getDescriptor();
3042 }
3043
3044 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest getDefaultInstanceForType() {
3045 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest.getDefaultInstance();
3046 }
3047
3048 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest build() {
3049 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest result = buildPartial();
3050 if (!result.isInitialized()) {
3051 throw newUninitializedMessageException(result);
3052 }
3053 return result;
3054 }
3055
3056 private org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest buildParsed()
3057 throws com.google.protobuf.InvalidProtocolBufferException {
3058 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest result = buildPartial();
3059 if (!result.isInitialized()) {
3060 throw newUninitializedMessageException(
3061 result).asInvalidProtocolBufferException();
3062 }
3063 return result;
3064 }
3065
3066 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest buildPartial() {
3067 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest result = new org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest(this);
3068 int from_bitField0_ = bitField0_;
3069 int to_bitField0_ = 0;
3070 if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
3071 to_bitField0_ |= 0x00000001;
3072 }
3073 result.bulkToken_ = bulkToken_;
3074 result.bitField0_ = to_bitField0_;
3075 onBuilt();
3076 return result;
3077 }
3078
3079 public Builder mergeFrom(com.google.protobuf.Message other) {
3080 if (other instanceof org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest) {
3081 return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest)other);
3082 } else {
3083 super.mergeFrom(other);
3084 return this;
3085 }
3086 }
3087
3088 public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest other) {
3089 if (other == org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest.getDefaultInstance()) return this;
3090 if (other.hasBulkToken()) {
3091 setBulkToken(other.getBulkToken());
3092 }
3093 this.mergeUnknownFields(other.getUnknownFields());
3094 return this;
3095 }
3096
3097 public final boolean isInitialized() {
3098 if (!hasBulkToken()) {
3099
3100 return false;
3101 }
3102 return true;
3103 }
3104
3105 public Builder mergeFrom(
3106 com.google.protobuf.CodedInputStream input,
3107 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3108 throws java.io.IOException {
3109 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
3110 com.google.protobuf.UnknownFieldSet.newBuilder(
3111 this.getUnknownFields());
3112 while (true) {
3113 int tag = input.readTag();
3114 switch (tag) {
3115 case 0:
3116 this.setUnknownFields(unknownFields.build());
3117 onChanged();
3118 return this;
3119 default: {
3120 if (!parseUnknownField(input, unknownFields,
3121 extensionRegistry, tag)) {
3122 this.setUnknownFields(unknownFields.build());
3123 onChanged();
3124 return this;
3125 }
3126 break;
3127 }
3128 case 10: {
3129 bitField0_ |= 0x00000001;
3130 bulkToken_ = input.readBytes();
3131 break;
3132 }
3133 }
3134 }
3135 }
3136
3137 private int bitField0_;
3138
3139
3140 private java.lang.Object bulkToken_ = "";
3141 public boolean hasBulkToken() {
3142 return ((bitField0_ & 0x00000001) == 0x00000001);
3143 }
3144 public String getBulkToken() {
3145 java.lang.Object ref = bulkToken_;
3146 if (!(ref instanceof String)) {
3147 String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
3148 bulkToken_ = s;
3149 return s;
3150 } else {
3151 return (String) ref;
3152 }
3153 }
3154 public Builder setBulkToken(String value) {
3155 if (value == null) {
3156 throw new NullPointerException();
3157 }
3158 bitField0_ |= 0x00000001;
3159 bulkToken_ = value;
3160 onChanged();
3161 return this;
3162 }
3163 public Builder clearBulkToken() {
3164 bitField0_ = (bitField0_ & ~0x00000001);
3165 bulkToken_ = getDefaultInstance().getBulkToken();
3166 onChanged();
3167 return this;
3168 }
3169 void setBulkToken(com.google.protobuf.ByteString value) {
3170 bitField0_ |= 0x00000001;
3171 bulkToken_ = value;
3172 onChanged();
3173 }
3174
3175
3176 }
3177
3178 static {
3179 defaultInstance = new CleanupBulkLoadRequest(true);
3180 defaultInstance.initFields();
3181 }
3182
3183
3184 }
3185
3186 public interface CleanupBulkLoadResponseOrBuilder
3187 extends com.google.protobuf.MessageOrBuilder {
3188 }
3189 public static final class CleanupBulkLoadResponse extends
3190 com.google.protobuf.GeneratedMessage
3191 implements CleanupBulkLoadResponseOrBuilder {
3192
3193 private CleanupBulkLoadResponse(Builder builder) {
3194 super(builder);
3195 }
3196 private CleanupBulkLoadResponse(boolean noInit) {}
3197
3198 private static final CleanupBulkLoadResponse defaultInstance;
3199 public static CleanupBulkLoadResponse getDefaultInstance() {
3200 return defaultInstance;
3201 }
3202
3203 public CleanupBulkLoadResponse getDefaultInstanceForType() {
3204 return defaultInstance;
3205 }
3206
3207 public static final com.google.protobuf.Descriptors.Descriptor
3208 getDescriptor() {
3209 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_CleanupBulkLoadResponse_descriptor;
3210 }
3211
3212 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3213 internalGetFieldAccessorTable() {
3214 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_CleanupBulkLoadResponse_fieldAccessorTable;
3215 }
3216
3217 private void initFields() {
3218 }
3219 private byte memoizedIsInitialized = -1;
3220 public final boolean isInitialized() {
3221 byte isInitialized = memoizedIsInitialized;
3222 if (isInitialized != -1) return isInitialized == 1;
3223
3224 memoizedIsInitialized = 1;
3225 return true;
3226 }
3227
3228 public void writeTo(com.google.protobuf.CodedOutputStream output)
3229 throws java.io.IOException {
3230 getSerializedSize();
3231 getUnknownFields().writeTo(output);
3232 }
3233
3234 private int memoizedSerializedSize = -1;
3235 public int getSerializedSize() {
3236 int size = memoizedSerializedSize;
3237 if (size != -1) return size;
3238
3239 size = 0;
3240 size += getUnknownFields().getSerializedSize();
3241 memoizedSerializedSize = size;
3242 return size;
3243 }
3244
3245 private static final long serialVersionUID = 0L;
3246 @java.lang.Override
3247 protected java.lang.Object writeReplace()
3248 throws java.io.ObjectStreamException {
3249 return super.writeReplace();
3250 }
3251
3252 @java.lang.Override
3253 public boolean equals(final java.lang.Object obj) {
3254 if (obj == this) {
3255 return true;
3256 }
3257 if (!(obj instanceof org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse)) {
3258 return super.equals(obj);
3259 }
3260 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse other = (org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse) obj;
3261
3262 boolean result = true;
3263 result = result &&
3264 getUnknownFields().equals(other.getUnknownFields());
3265 return result;
3266 }
3267
3268 @java.lang.Override
3269 public int hashCode() {
3270 int hash = 41;
3271 hash = (19 * hash) + getDescriptorForType().hashCode();
3272 hash = (29 * hash) + getUnknownFields().hashCode();
3273 return hash;
3274 }
3275
3276 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse parseFrom(
3277 com.google.protobuf.ByteString data)
3278 throws com.google.protobuf.InvalidProtocolBufferException {
3279 return newBuilder().mergeFrom(data).buildParsed();
3280 }
3281 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse parseFrom(
3282 com.google.protobuf.ByteString data,
3283 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3284 throws com.google.protobuf.InvalidProtocolBufferException {
3285 return newBuilder().mergeFrom(data, extensionRegistry)
3286 .buildParsed();
3287 }
3288 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse parseFrom(byte[] data)
3289 throws com.google.protobuf.InvalidProtocolBufferException {
3290 return newBuilder().mergeFrom(data).buildParsed();
3291 }
3292 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse parseFrom(
3293 byte[] data,
3294 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3295 throws com.google.protobuf.InvalidProtocolBufferException {
3296 return newBuilder().mergeFrom(data, extensionRegistry)
3297 .buildParsed();
3298 }
3299 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse parseFrom(java.io.InputStream input)
3300 throws java.io.IOException {
3301 return newBuilder().mergeFrom(input).buildParsed();
3302 }
3303 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse parseFrom(
3304 java.io.InputStream input,
3305 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3306 throws java.io.IOException {
3307 return newBuilder().mergeFrom(input, extensionRegistry)
3308 .buildParsed();
3309 }
3310 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse parseDelimitedFrom(java.io.InputStream input)
3311 throws java.io.IOException {
3312 Builder builder = newBuilder();
3313 if (builder.mergeDelimitedFrom(input)) {
3314 return builder.buildParsed();
3315 } else {
3316 return null;
3317 }
3318 }
3319 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse parseDelimitedFrom(
3320 java.io.InputStream input,
3321 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3322 throws java.io.IOException {
3323 Builder builder = newBuilder();
3324 if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
3325 return builder.buildParsed();
3326 } else {
3327 return null;
3328 }
3329 }
3330 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse parseFrom(
3331 com.google.protobuf.CodedInputStream input)
3332 throws java.io.IOException {
3333 return newBuilder().mergeFrom(input).buildParsed();
3334 }
3335 public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse parseFrom(
3336 com.google.protobuf.CodedInputStream input,
3337 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3338 throws java.io.IOException {
3339 return newBuilder().mergeFrom(input, extensionRegistry)
3340 .buildParsed();
3341 }
3342
3343 public static Builder newBuilder() { return Builder.create(); }
3344 public Builder newBuilderForType() { return newBuilder(); }
3345 public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse prototype) {
3346 return newBuilder().mergeFrom(prototype);
3347 }
3348 public Builder toBuilder() { return newBuilder(this); }
3349
3350 @java.lang.Override
3351 protected Builder newBuilderForType(
3352 com.google.protobuf.GeneratedMessage.BuilderParent parent) {
3353 Builder builder = new Builder(parent);
3354 return builder;
3355 }
3356 public static final class Builder extends
3357 com.google.protobuf.GeneratedMessage.Builder<Builder>
3358 implements org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponseOrBuilder {
3359 public static final com.google.protobuf.Descriptors.Descriptor
3360 getDescriptor() {
3361 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_CleanupBulkLoadResponse_descriptor;
3362 }
3363
3364 protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
3365 internalGetFieldAccessorTable() {
3366 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_CleanupBulkLoadResponse_fieldAccessorTable;
3367 }
3368
3369
3370 private Builder() {
3371 maybeForceBuilderInitialization();
3372 }
3373
3374 private Builder(BuilderParent parent) {
3375 super(parent);
3376 maybeForceBuilderInitialization();
3377 }
3378 private void maybeForceBuilderInitialization() {
3379 if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
3380 }
3381 }
3382 private static Builder create() {
3383 return new Builder();
3384 }
3385
3386 public Builder clear() {
3387 super.clear();
3388 return this;
3389 }
3390
3391 public Builder clone() {
3392 return create().mergeFrom(buildPartial());
3393 }
3394
3395 public com.google.protobuf.Descriptors.Descriptor
3396 getDescriptorForType() {
3397 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse.getDescriptor();
3398 }
3399
3400 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse getDefaultInstanceForType() {
3401 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse.getDefaultInstance();
3402 }
3403
3404 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse build() {
3405 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse result = buildPartial();
3406 if (!result.isInitialized()) {
3407 throw newUninitializedMessageException(result);
3408 }
3409 return result;
3410 }
3411
3412 private org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse buildParsed()
3413 throws com.google.protobuf.InvalidProtocolBufferException {
3414 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse result = buildPartial();
3415 if (!result.isInitialized()) {
3416 throw newUninitializedMessageException(
3417 result).asInvalidProtocolBufferException();
3418 }
3419 return result;
3420 }
3421
3422 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse buildPartial() {
3423 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse result = new org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse(this);
3424 onBuilt();
3425 return result;
3426 }
3427
3428 public Builder mergeFrom(com.google.protobuf.Message other) {
3429 if (other instanceof org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse) {
3430 return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse)other);
3431 } else {
3432 super.mergeFrom(other);
3433 return this;
3434 }
3435 }
3436
3437 public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse other) {
3438 if (other == org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse.getDefaultInstance()) return this;
3439 this.mergeUnknownFields(other.getUnknownFields());
3440 return this;
3441 }
3442
3443 public final boolean isInitialized() {
3444 return true;
3445 }
3446
3447 public Builder mergeFrom(
3448 com.google.protobuf.CodedInputStream input,
3449 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
3450 throws java.io.IOException {
3451 com.google.protobuf.UnknownFieldSet.Builder unknownFields =
3452 com.google.protobuf.UnknownFieldSet.newBuilder(
3453 this.getUnknownFields());
3454 while (true) {
3455 int tag = input.readTag();
3456 switch (tag) {
3457 case 0:
3458 this.setUnknownFields(unknownFields.build());
3459 onChanged();
3460 return this;
3461 default: {
3462 if (!parseUnknownField(input, unknownFields,
3463 extensionRegistry, tag)) {
3464 this.setUnknownFields(unknownFields.build());
3465 onChanged();
3466 return this;
3467 }
3468 break;
3469 }
3470 }
3471 }
3472 }
3473
3474
3475
3476 }
3477
3478 static {
3479 defaultInstance = new CleanupBulkLoadResponse(true);
3480 defaultInstance.initFields();
3481 }
3482
3483
3484 }
3485
3486 public static abstract class SecureBulkLoadService
3487 implements com.google.protobuf.Service {
3488 protected SecureBulkLoadService() {}
3489
3490 public interface Interface {
3491 public abstract void prepareBulkLoad(
3492 com.google.protobuf.RpcController controller,
3493 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest request,
3494 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse> done);
3495
3496 public abstract void secureBulkLoadHFiles(
3497 com.google.protobuf.RpcController controller,
3498 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest request,
3499 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse> done);
3500
3501 public abstract void cleanupBulkLoad(
3502 com.google.protobuf.RpcController controller,
3503 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest request,
3504 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse> done);
3505
3506 }
3507
3508 public static com.google.protobuf.Service newReflectiveService(
3509 final Interface impl) {
3510 return new SecureBulkLoadService() {
3511 @java.lang.Override
3512 public void prepareBulkLoad(
3513 com.google.protobuf.RpcController controller,
3514 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest request,
3515 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse> done) {
3516 impl.prepareBulkLoad(controller, request, done);
3517 }
3518
3519 @java.lang.Override
3520 public void secureBulkLoadHFiles(
3521 com.google.protobuf.RpcController controller,
3522 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest request,
3523 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse> done) {
3524 impl.secureBulkLoadHFiles(controller, request, done);
3525 }
3526
3527 @java.lang.Override
3528 public void cleanupBulkLoad(
3529 com.google.protobuf.RpcController controller,
3530 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest request,
3531 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse> done) {
3532 impl.cleanupBulkLoad(controller, request, done);
3533 }
3534
3535 };
3536 }
3537
3538 public static com.google.protobuf.BlockingService
3539 newReflectiveBlockingService(final BlockingInterface impl) {
3540 return new com.google.protobuf.BlockingService() {
3541 public final com.google.protobuf.Descriptors.ServiceDescriptor
3542 getDescriptorForType() {
3543 return getDescriptor();
3544 }
3545
3546 public final com.google.protobuf.Message callBlockingMethod(
3547 com.google.protobuf.Descriptors.MethodDescriptor method,
3548 com.google.protobuf.RpcController controller,
3549 com.google.protobuf.Message request)
3550 throws com.google.protobuf.ServiceException {
3551 if (method.getService() != getDescriptor()) {
3552 throw new java.lang.IllegalArgumentException(
3553 "Service.callBlockingMethod() given method descriptor for " +
3554 "wrong service type.");
3555 }
3556 switch(method.getIndex()) {
3557 case 0:
3558 return impl.prepareBulkLoad(controller, (org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest)request);
3559 case 1:
3560 return impl.secureBulkLoadHFiles(controller, (org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest)request);
3561 case 2:
3562 return impl.cleanupBulkLoad(controller, (org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest)request);
3563 default:
3564 throw new java.lang.AssertionError("Can't get here.");
3565 }
3566 }
3567
3568 public final com.google.protobuf.Message
3569 getRequestPrototype(
3570 com.google.protobuf.Descriptors.MethodDescriptor method) {
3571 if (method.getService() != getDescriptor()) {
3572 throw new java.lang.IllegalArgumentException(
3573 "Service.getRequestPrototype() given method " +
3574 "descriptor for wrong service type.");
3575 }
3576 switch(method.getIndex()) {
3577 case 0:
3578 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest.getDefaultInstance();
3579 case 1:
3580 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest.getDefaultInstance();
3581 case 2:
3582 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest.getDefaultInstance();
3583 default:
3584 throw new java.lang.AssertionError("Can't get here.");
3585 }
3586 }
3587
3588 public final com.google.protobuf.Message
3589 getResponsePrototype(
3590 com.google.protobuf.Descriptors.MethodDescriptor method) {
3591 if (method.getService() != getDescriptor()) {
3592 throw new java.lang.IllegalArgumentException(
3593 "Service.getResponsePrototype() given method " +
3594 "descriptor for wrong service type.");
3595 }
3596 switch(method.getIndex()) {
3597 case 0:
3598 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse.getDefaultInstance();
3599 case 1:
3600 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse.getDefaultInstance();
3601 case 2:
3602 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse.getDefaultInstance();
3603 default:
3604 throw new java.lang.AssertionError("Can't get here.");
3605 }
3606 }
3607
3608 };
3609 }
3610
3611 public abstract void prepareBulkLoad(
3612 com.google.protobuf.RpcController controller,
3613 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest request,
3614 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse> done);
3615
3616 public abstract void secureBulkLoadHFiles(
3617 com.google.protobuf.RpcController controller,
3618 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest request,
3619 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse> done);
3620
3621 public abstract void cleanupBulkLoad(
3622 com.google.protobuf.RpcController controller,
3623 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest request,
3624 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse> done);
3625
3626 public static final
3627 com.google.protobuf.Descriptors.ServiceDescriptor
3628 getDescriptor() {
3629 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.getDescriptor().getServices().get(0);
3630 }
3631 public final com.google.protobuf.Descriptors.ServiceDescriptor
3632 getDescriptorForType() {
3633 return getDescriptor();
3634 }
3635
3636 public final void callMethod(
3637 com.google.protobuf.Descriptors.MethodDescriptor method,
3638 com.google.protobuf.RpcController controller,
3639 com.google.protobuf.Message request,
3640 com.google.protobuf.RpcCallback<
3641 com.google.protobuf.Message> done) {
3642 if (method.getService() != getDescriptor()) {
3643 throw new java.lang.IllegalArgumentException(
3644 "Service.callMethod() given method descriptor for wrong " +
3645 "service type.");
3646 }
3647 switch(method.getIndex()) {
3648 case 0:
3649 this.prepareBulkLoad(controller, (org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest)request,
3650 com.google.protobuf.RpcUtil.<org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse>specializeCallback(
3651 done));
3652 return;
3653 case 1:
3654 this.secureBulkLoadHFiles(controller, (org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest)request,
3655 com.google.protobuf.RpcUtil.<org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse>specializeCallback(
3656 done));
3657 return;
3658 case 2:
3659 this.cleanupBulkLoad(controller, (org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest)request,
3660 com.google.protobuf.RpcUtil.<org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse>specializeCallback(
3661 done));
3662 return;
3663 default:
3664 throw new java.lang.AssertionError("Can't get here.");
3665 }
3666 }
3667
3668 public final com.google.protobuf.Message
3669 getRequestPrototype(
3670 com.google.protobuf.Descriptors.MethodDescriptor method) {
3671 if (method.getService() != getDescriptor()) {
3672 throw new java.lang.IllegalArgumentException(
3673 "Service.getRequestPrototype() given method " +
3674 "descriptor for wrong service type.");
3675 }
3676 switch(method.getIndex()) {
3677 case 0:
3678 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest.getDefaultInstance();
3679 case 1:
3680 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest.getDefaultInstance();
3681 case 2:
3682 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest.getDefaultInstance();
3683 default:
3684 throw new java.lang.AssertionError("Can't get here.");
3685 }
3686 }
3687
3688 public final com.google.protobuf.Message
3689 getResponsePrototype(
3690 com.google.protobuf.Descriptors.MethodDescriptor method) {
3691 if (method.getService() != getDescriptor()) {
3692 throw new java.lang.IllegalArgumentException(
3693 "Service.getResponsePrototype() given method " +
3694 "descriptor for wrong service type.");
3695 }
3696 switch(method.getIndex()) {
3697 case 0:
3698 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse.getDefaultInstance();
3699 case 1:
3700 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse.getDefaultInstance();
3701 case 2:
3702 return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse.getDefaultInstance();
3703 default:
3704 throw new java.lang.AssertionError("Can't get here.");
3705 }
3706 }
3707
3708 public static Stub newStub(
3709 com.google.protobuf.RpcChannel channel) {
3710 return new Stub(channel);
3711 }
3712
3713 public static final class Stub extends org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadService implements Interface {
3714 private Stub(com.google.protobuf.RpcChannel channel) {
3715 this.channel = channel;
3716 }
3717
3718 private final com.google.protobuf.RpcChannel channel;
3719
3720 public com.google.protobuf.RpcChannel getChannel() {
3721 return channel;
3722 }
3723
3724 public void prepareBulkLoad(
3725 com.google.protobuf.RpcController controller,
3726 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest request,
3727 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse> done) {
3728 channel.callMethod(
3729 getDescriptor().getMethods().get(0),
3730 controller,
3731 request,
3732 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse.getDefaultInstance(),
3733 com.google.protobuf.RpcUtil.generalizeCallback(
3734 done,
3735 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse.class,
3736 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse.getDefaultInstance()));
3737 }
3738
3739 public void secureBulkLoadHFiles(
3740 com.google.protobuf.RpcController controller,
3741 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest request,
3742 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse> done) {
3743 channel.callMethod(
3744 getDescriptor().getMethods().get(1),
3745 controller,
3746 request,
3747 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse.getDefaultInstance(),
3748 com.google.protobuf.RpcUtil.generalizeCallback(
3749 done,
3750 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse.class,
3751 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse.getDefaultInstance()));
3752 }
3753
3754 public void cleanupBulkLoad(
3755 com.google.protobuf.RpcController controller,
3756 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest request,
3757 com.google.protobuf.RpcCallback<org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse> done) {
3758 channel.callMethod(
3759 getDescriptor().getMethods().get(2),
3760 controller,
3761 request,
3762 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse.getDefaultInstance(),
3763 com.google.protobuf.RpcUtil.generalizeCallback(
3764 done,
3765 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse.class,
3766 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse.getDefaultInstance()));
3767 }
3768 }
3769
3770 public static BlockingInterface newBlockingStub(
3771 com.google.protobuf.BlockingRpcChannel channel) {
3772 return new BlockingStub(channel);
3773 }
3774
3775 public interface BlockingInterface {
3776 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse prepareBulkLoad(
3777 com.google.protobuf.RpcController controller,
3778 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest request)
3779 throws com.google.protobuf.ServiceException;
3780
3781 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse secureBulkLoadHFiles(
3782 com.google.protobuf.RpcController controller,
3783 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest request)
3784 throws com.google.protobuf.ServiceException;
3785
3786 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse cleanupBulkLoad(
3787 com.google.protobuf.RpcController controller,
3788 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest request)
3789 throws com.google.protobuf.ServiceException;
3790 }
3791
3792 private static final class BlockingStub implements BlockingInterface {
3793 private BlockingStub(com.google.protobuf.BlockingRpcChannel channel) {
3794 this.channel = channel;
3795 }
3796
3797 private final com.google.protobuf.BlockingRpcChannel channel;
3798
3799 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse prepareBulkLoad(
3800 com.google.protobuf.RpcController controller,
3801 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest request)
3802 throws com.google.protobuf.ServiceException {
3803 return (org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse) channel.callBlockingMethod(
3804 getDescriptor().getMethods().get(0),
3805 controller,
3806 request,
3807 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse.getDefaultInstance());
3808 }
3809
3810
3811 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse secureBulkLoadHFiles(
3812 com.google.protobuf.RpcController controller,
3813 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest request)
3814 throws com.google.protobuf.ServiceException {
3815 return (org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse) channel.callBlockingMethod(
3816 getDescriptor().getMethods().get(1),
3817 controller,
3818 request,
3819 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse.getDefaultInstance());
3820 }
3821
3822
3823 public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse cleanupBulkLoad(
3824 com.google.protobuf.RpcController controller,
3825 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest request)
3826 throws com.google.protobuf.ServiceException {
3827 return (org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse) channel.callBlockingMethod(
3828 getDescriptor().getMethods().get(2),
3829 controller,
3830 request,
3831 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse.getDefaultInstance());
3832 }
3833
3834 }
3835 }
3836
3837 private static com.google.protobuf.Descriptors.Descriptor
3838 internal_static_SecureBulkLoadHFilesRequest_descriptor;
3839 private static
3840 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3841 internal_static_SecureBulkLoadHFilesRequest_fieldAccessorTable;
3842 private static com.google.protobuf.Descriptors.Descriptor
3843 internal_static_SecureBulkLoadHFilesResponse_descriptor;
3844 private static
3845 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3846 internal_static_SecureBulkLoadHFilesResponse_fieldAccessorTable;
3847 private static com.google.protobuf.Descriptors.Descriptor
3848 internal_static_DelegationTokenProto_descriptor;
3849 private static
3850 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3851 internal_static_DelegationTokenProto_fieldAccessorTable;
3852 private static com.google.protobuf.Descriptors.Descriptor
3853 internal_static_PrepareBulkLoadRequest_descriptor;
3854 private static
3855 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3856 internal_static_PrepareBulkLoadRequest_fieldAccessorTable;
3857 private static com.google.protobuf.Descriptors.Descriptor
3858 internal_static_PrepareBulkLoadResponse_descriptor;
3859 private static
3860 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3861 internal_static_PrepareBulkLoadResponse_fieldAccessorTable;
3862 private static com.google.protobuf.Descriptors.Descriptor
3863 internal_static_CleanupBulkLoadRequest_descriptor;
3864 private static
3865 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3866 internal_static_CleanupBulkLoadRequest_fieldAccessorTable;
3867 private static com.google.protobuf.Descriptors.Descriptor
3868 internal_static_CleanupBulkLoadResponse_descriptor;
3869 private static
3870 com.google.protobuf.GeneratedMessage.FieldAccessorTable
3871 internal_static_CleanupBulkLoadResponse_fieldAccessorTable;
3872
3873 public static com.google.protobuf.Descriptors.FileDescriptor
3874 getDescriptor() {
3875 return descriptor;
3876 }
3877 private static com.google.protobuf.Descriptors.FileDescriptor
3878 descriptor;
3879 static {
3880 java.lang.String[] descriptorData = {
3881 "\n\024SecureBulkLoad.proto\032\013hbase.proto\032\014Cli" +
3882 "ent.proto\"\244\001\n\033SecureBulkLoadHFilesReques" +
3883 "t\0224\n\nfamilyPath\030\001 \003(\0132 .BulkLoadHFileReq" +
3884 "uest.FamilyPath\022\024\n\014assignSeqNum\030\002 \001(\010\022&\n" +
3885 "\007fsToken\030\003 \002(\0132\025.DelegationTokenProto\022\021\n" +
3886 "\tbulkToken\030\004 \002(\t\".\n\034SecureBulkLoadHFiles" +
3887 "Response\022\016\n\006loaded\030\001 \002(\010\"[\n\024DelegationTo" +
3888 "kenProto\022\022\n\nidentifier\030\001 \001(\014\022\020\n\010password" +
3889 "\030\002 \001(\014\022\014\n\004kind\030\003 \001(\t\022\017\n\007service\030\004 \001(\t\"+\n" +
3890 "\026PrepareBulkLoadRequest\022\021\n\ttableName\030\001 \002",
3891 "(\014\",\n\027PrepareBulkLoadResponse\022\021\n\tbulkTok" +
3892 "en\030\001 \002(\t\"+\n\026CleanupBulkLoadRequest\022\021\n\tbu" +
3893 "lkToken\030\001 \002(\t\"\031\n\027CleanupBulkLoadResponse" +
3894 "2\370\001\n\025SecureBulkLoadService\022D\n\017prepareBul" +
3895 "kLoad\022\027.PrepareBulkLoadRequest\032\030.Prepare" +
3896 "BulkLoadResponse\022S\n\024secureBulkLoadHFiles" +
3897 "\022\034.SecureBulkLoadHFilesRequest\032\035.SecureB" +
3898 "ulkLoadHFilesResponse\022D\n\017cleanupBulkLoad" +
3899 "\022\027.CleanupBulkLoadRequest\032\030.CleanupBulkL" +
3900 "oadResponseBJ\n*org.apache.hadoop.hbase.p",
3901 "rotobuf.generatedB\024SecureBulkLoadProtosH" +
3902 "\001\210\001\001\240\001\001"
3903 };
3904 com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
3905 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
3906 public com.google.protobuf.ExtensionRegistry assignDescriptors(
3907 com.google.protobuf.Descriptors.FileDescriptor root) {
3908 descriptor = root;
3909 internal_static_SecureBulkLoadHFilesRequest_descriptor =
3910 getDescriptor().getMessageTypes().get(0);
3911 internal_static_SecureBulkLoadHFilesRequest_fieldAccessorTable = new
3912 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3913 internal_static_SecureBulkLoadHFilesRequest_descriptor,
3914 new java.lang.String[] { "FamilyPath", "AssignSeqNum", "FsToken", "BulkToken", },
3915 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest.class,
3916 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest.Builder.class);
3917 internal_static_SecureBulkLoadHFilesResponse_descriptor =
3918 getDescriptor().getMessageTypes().get(1);
3919 internal_static_SecureBulkLoadHFilesResponse_fieldAccessorTable = new
3920 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3921 internal_static_SecureBulkLoadHFilesResponse_descriptor,
3922 new java.lang.String[] { "Loaded", },
3923 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse.class,
3924 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse.Builder.class);
3925 internal_static_DelegationTokenProto_descriptor =
3926 getDescriptor().getMessageTypes().get(2);
3927 internal_static_DelegationTokenProto_fieldAccessorTable = new
3928 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3929 internal_static_DelegationTokenProto_descriptor,
3930 new java.lang.String[] { "Identifier", "Password", "Kind", "Service", },
3931 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.class,
3932 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.Builder.class);
3933 internal_static_PrepareBulkLoadRequest_descriptor =
3934 getDescriptor().getMessageTypes().get(3);
3935 internal_static_PrepareBulkLoadRequest_fieldAccessorTable = new
3936 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3937 internal_static_PrepareBulkLoadRequest_descriptor,
3938 new java.lang.String[] { "TableName", },
3939 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest.class,
3940 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadRequest.Builder.class);
3941 internal_static_PrepareBulkLoadResponse_descriptor =
3942 getDescriptor().getMessageTypes().get(4);
3943 internal_static_PrepareBulkLoadResponse_fieldAccessorTable = new
3944 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3945 internal_static_PrepareBulkLoadResponse_descriptor,
3946 new java.lang.String[] { "BulkToken", },
3947 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse.class,
3948 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.PrepareBulkLoadResponse.Builder.class);
3949 internal_static_CleanupBulkLoadRequest_descriptor =
3950 getDescriptor().getMessageTypes().get(5);
3951 internal_static_CleanupBulkLoadRequest_fieldAccessorTable = new
3952 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3953 internal_static_CleanupBulkLoadRequest_descriptor,
3954 new java.lang.String[] { "BulkToken", },
3955 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest.class,
3956 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadRequest.Builder.class);
3957 internal_static_CleanupBulkLoadResponse_descriptor =
3958 getDescriptor().getMessageTypes().get(6);
3959 internal_static_CleanupBulkLoadResponse_fieldAccessorTable = new
3960 com.google.protobuf.GeneratedMessage.FieldAccessorTable(
3961 internal_static_CleanupBulkLoadResponse_descriptor,
3962 new java.lang.String[] { },
3963 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse.class,
3964 org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.CleanupBulkLoadResponse.Builder.class);
3965 return null;
3966 }
3967 };
3968 com.google.protobuf.Descriptors.FileDescriptor
3969 .internalBuildGeneratedFileFrom(descriptorData,
3970 new com.google.protobuf.Descriptors.FileDescriptor[] {
3971 org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(),
3972 org.apache.hadoop.hbase.protobuf.generated.ClientProtos.getDescriptor(),
3973 }, assigner);
3974 }
3975
3976
3977 }