You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2013/04/10 18:42:29 UTC
svn commit: r1466556 [24/41] - in /hbase/trunk: ./
hbase-client/src/main/java/org/apache/hadoop/hbase/
hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/
hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/
hbase-protocol/...
Modified: hbase/trunk/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/SecureBulkLoadProtos.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/SecureBulkLoadProtos.java?rev=1466556&r1=1466555&r2=1466556&view=diff
==============================================================================
--- hbase/trunk/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/SecureBulkLoadProtos.java (original)
+++ hbase/trunk/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/SecureBulkLoadProtos.java Wed Apr 10 16:42:28 2013
@@ -10,135 +10,313 @@ public final class SecureBulkLoadProtos
}
public interface SecureBulkLoadHFilesRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder {
-
+
// repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
java.util.List<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath>
getFamilyPathList();
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath getFamilyPath(int index);
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
int getFamilyPathCount();
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder>
getFamilyPathOrBuilderList();
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder getFamilyPathOrBuilder(
int index);
-
+
// optional bool assignSeqNum = 2;
+ /**
+ * <code>optional bool assignSeqNum = 2;</code>
+ */
boolean hasAssignSeqNum();
+ /**
+ * <code>optional bool assignSeqNum = 2;</code>
+ */
boolean getAssignSeqNum();
-
+
// required .DelegationTokenProto fsToken = 3;
+ /**
+ * <code>required .DelegationTokenProto fsToken = 3;</code>
+ */
boolean hasFsToken();
+ /**
+ * <code>required .DelegationTokenProto fsToken = 3;</code>
+ */
org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto getFsToken();
+ /**
+ * <code>required .DelegationTokenProto fsToken = 3;</code>
+ */
org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProtoOrBuilder getFsTokenOrBuilder();
-
+
// required string bulkToken = 4;
+ /**
+ * <code>required string bulkToken = 4;</code>
+ */
boolean hasBulkToken();
- String getBulkToken();
+ /**
+ * <code>required string bulkToken = 4;</code>
+ */
+ java.lang.String getBulkToken();
+ /**
+ * <code>required string bulkToken = 4;</code>
+ */
+ com.google.protobuf.ByteString
+ getBulkTokenBytes();
}
+ /**
+ * Protobuf type {@code SecureBulkLoadHFilesRequest}
+ */
public static final class SecureBulkLoadHFilesRequest extends
com.google.protobuf.GeneratedMessage
implements SecureBulkLoadHFilesRequestOrBuilder {
// Use SecureBulkLoadHFilesRequest.newBuilder() to construct.
- private SecureBulkLoadHFilesRequest(Builder builder) {
+ private SecureBulkLoadHFilesRequest(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
+ this.unknownFields = builder.getUnknownFields();
}
- private SecureBulkLoadHFilesRequest(boolean noInit) {}
-
+ private SecureBulkLoadHFilesRequest(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
private static final SecureBulkLoadHFilesRequest defaultInstance;
public static SecureBulkLoadHFilesRequest getDefaultInstance() {
return defaultInstance;
}
-
+
public SecureBulkLoadHFilesRequest getDefaultInstanceForType() {
return defaultInstance;
}
-
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private SecureBulkLoadHFilesRequest(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 10: {
+ if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
+ familyPath_ = new java.util.ArrayList<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath>();
+ mutable_bitField0_ |= 0x00000001;
+ }
+ familyPath_.add(input.readMessage(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.PARSER, extensionRegistry));
+ break;
+ }
+ case 16: {
+ bitField0_ |= 0x00000001;
+ assignSeqNum_ = input.readBool();
+ break;
+ }
+ case 26: {
+ org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.Builder subBuilder = null;
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ subBuilder = fsToken_.toBuilder();
+ }
+ fsToken_ = input.readMessage(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.PARSER, extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(fsToken_);
+ fsToken_ = subBuilder.buildPartial();
+ }
+ bitField0_ |= 0x00000002;
+ break;
+ }
+ case 34: {
+ bitField0_ |= 0x00000004;
+ bulkToken_ = input.readBytes();
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
+ familyPath_ = java.util.Collections.unmodifiableList(familyPath_);
+ }
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_SecureBulkLoadHFilesRequest_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_SecureBulkLoadHFilesRequest_fieldAccessorTable;
+ return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_SecureBulkLoadHFilesRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest.class, org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest.Builder.class);
+ }
+
+ public static com.google.protobuf.Parser<SecureBulkLoadHFilesRequest> PARSER =
+ new com.google.protobuf.AbstractParser<SecureBulkLoadHFilesRequest>() {
+ public SecureBulkLoadHFilesRequest parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new SecureBulkLoadHFilesRequest(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser<SecureBulkLoadHFilesRequest> getParserForType() {
+ return PARSER;
}
-
+
private int bitField0_;
// repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;
public static final int FAMILYPATH_FIELD_NUMBER = 1;
private java.util.List<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath> familyPath_;
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
public java.util.List<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath> getFamilyPathList() {
return familyPath_;
}
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
public java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder>
getFamilyPathOrBuilderList() {
return familyPath_;
}
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
public int getFamilyPathCount() {
return familyPath_.size();
}
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath getFamilyPath(int index) {
return familyPath_.get(index);
}
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder getFamilyPathOrBuilder(
int index) {
return familyPath_.get(index);
}
-
+
// optional bool assignSeqNum = 2;
public static final int ASSIGNSEQNUM_FIELD_NUMBER = 2;
private boolean assignSeqNum_;
+ /**
+ * <code>optional bool assignSeqNum = 2;</code>
+ */
public boolean hasAssignSeqNum() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * <code>optional bool assignSeqNum = 2;</code>
+ */
public boolean getAssignSeqNum() {
return assignSeqNum_;
}
-
+
// required .DelegationTokenProto fsToken = 3;
public static final int FSTOKEN_FIELD_NUMBER = 3;
private org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto fsToken_;
+ /**
+ * <code>required .DelegationTokenProto fsToken = 3;</code>
+ */
public boolean hasFsToken() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+ /**
+ * <code>required .DelegationTokenProto fsToken = 3;</code>
+ */
public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto getFsToken() {
return fsToken_;
}
+ /**
+ * <code>required .DelegationTokenProto fsToken = 3;</code>
+ */
public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProtoOrBuilder getFsTokenOrBuilder() {
return fsToken_;
}
-
+
// required string bulkToken = 4;
public static final int BULKTOKEN_FIELD_NUMBER = 4;
private java.lang.Object bulkToken_;
+ /**
+ * <code>required string bulkToken = 4;</code>
+ */
public boolean hasBulkToken() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
- public String getBulkToken() {
+ /**
+ * <code>required string bulkToken = 4;</code>
+ */
+ public java.lang.String getBulkToken() {
java.lang.Object ref = bulkToken_;
- if (ref instanceof String) {
- return (String) ref;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
bulkToken_ = s;
}
return s;
}
}
- private com.google.protobuf.ByteString getBulkTokenBytes() {
+ /**
+ * <code>required string bulkToken = 4;</code>
+ */
+ public com.google.protobuf.ByteString
+ getBulkTokenBytes() {
java.lang.Object ref = bulkToken_;
- if (ref instanceof String) {
+ if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
bulkToken_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
-
+
private void initFields() {
familyPath_ = java.util.Collections.emptyList();
assignSeqNum_ = false;
@@ -149,7 +327,7 @@ public final class SecureBulkLoadProtos
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
-
+
if (!hasFsToken()) {
memoizedIsInitialized = 0;
return false;
@@ -167,7 +345,7 @@ public final class SecureBulkLoadProtos
memoizedIsInitialized = 1;
return true;
}
-
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
@@ -185,12 +363,12 @@ public final class SecureBulkLoadProtos
}
getUnknownFields().writeTo(output);
}
-
+
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
-
+
size = 0;
for (int i = 0; i < familyPath_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
@@ -212,14 +390,14 @@ public final class SecureBulkLoadProtos
memoizedSerializedSize = size;
return size;
}
-
+
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
-
+
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -229,7 +407,7 @@ public final class SecureBulkLoadProtos
return super.equals(obj);
}
org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest other = (org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest) obj;
-
+
boolean result = true;
result = result && getFamilyPathList()
.equals(other.getFamilyPathList());
@@ -252,9 +430,13 @@ public final class SecureBulkLoadProtos
getUnknownFields().equals(other.getUnknownFields());
return result;
}
-
+
+ private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (getFamilyPathCount() > 0) {
@@ -274,89 +456,79 @@ public final class SecureBulkLoadProtos
hash = (53 * hash) + getBulkToken().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
return hash;
}
-
+
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
+ return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
-
+
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
-
+
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
+ /**
+ * Protobuf type {@code SecureBulkLoadHFilesRequest}
+ */
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequestOrBuilder {
@@ -364,18 +536,21 @@ public final class SecureBulkLoadProtos
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_SecureBulkLoadHFilesRequest_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_SecureBulkLoadHFilesRequest_fieldAccessorTable;
+ return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_SecureBulkLoadHFilesRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest.class, org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest.Builder.class);
}
-
+
// Construct using org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
-
- private Builder(BuilderParent parent) {
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
@@ -388,7 +563,7 @@ public final class SecureBulkLoadProtos
private static Builder create() {
return new Builder();
}
-
+
public Builder clear() {
super.clear();
if (familyPathBuilder_ == null) {
@@ -409,20 +584,20 @@ public final class SecureBulkLoadProtos
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
-
+
public Builder clone() {
return create().mergeFrom(buildPartial());
}
-
+
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
- return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest.getDescriptor();
+ return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_SecureBulkLoadHFilesRequest_descriptor;
}
-
+
public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest getDefaultInstanceForType() {
return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest.getDefaultInstance();
}
-
+
public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest build() {
org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest result = buildPartial();
if (!result.isInitialized()) {
@@ -430,17 +605,7 @@ public final class SecureBulkLoadProtos
}
return result;
}
-
- private org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
+
public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest buildPartial() {
org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest result = new org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest(this);
int from_bitField0_ = bitField0_;
@@ -474,7 +639,7 @@ public final class SecureBulkLoadProtos
onBuilt();
return result;
}
-
+
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest) {
return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest)other);
@@ -483,7 +648,7 @@ public final class SecureBulkLoadProtos
return this;
}
}
-
+
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest other) {
if (other == org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest.getDefaultInstance()) return this;
if (familyPathBuilder_ == null) {
@@ -519,12 +684,14 @@ public final class SecureBulkLoadProtos
mergeFsToken(other.getFsToken());
}
if (other.hasBulkToken()) {
- setBulkToken(other.getBulkToken());
+ bitField0_ |= 0x00000008;
+ bulkToken_ = other.bulkToken_;
+ onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
-
+
public final boolean isInitialized() {
if (!hasFsToken()) {
@@ -542,61 +709,26 @@ public final class SecureBulkLoadProtos
}
return true;
}
-
+
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 10: {
- org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder subBuilder = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.newBuilder();
- input.readMessage(subBuilder, extensionRegistry);
- addFamilyPath(subBuilder.buildPartial());
- break;
- }
- case 16: {
- bitField0_ |= 0x00000002;
- assignSeqNum_ = input.readBool();
- break;
- }
- case 26: {
- org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.Builder subBuilder = org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.newBuilder();
- if (hasFsToken()) {
- subBuilder.mergeFrom(getFsToken());
- }
- input.readMessage(subBuilder, extensionRegistry);
- setFsToken(subBuilder.buildPartial());
- break;
- }
- case 34: {
- bitField0_ |= 0x00000008;
- bulkToken_ = input.readBytes();
- break;
- }
+ org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesRequest) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
}
}
+ return this;
}
-
private int bitField0_;
-
+
// repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;
private java.util.List<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath> familyPath_ =
java.util.Collections.emptyList();
@@ -606,10 +738,13 @@ public final class SecureBulkLoadProtos
bitField0_ |= 0x00000001;
}
}
-
+
private com.google.protobuf.RepeatedFieldBuilder<
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_;
-
+
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
public java.util.List<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath> getFamilyPathList() {
if (familyPathBuilder_ == null) {
return java.util.Collections.unmodifiableList(familyPath_);
@@ -617,6 +752,9 @@ public final class SecureBulkLoadProtos
return familyPathBuilder_.getMessageList();
}
}
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
public int getFamilyPathCount() {
if (familyPathBuilder_ == null) {
return familyPath_.size();
@@ -624,6 +762,9 @@ public final class SecureBulkLoadProtos
return familyPathBuilder_.getCount();
}
}
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath getFamilyPath(int index) {
if (familyPathBuilder_ == null) {
return familyPath_.get(index);
@@ -631,6 +772,9 @@ public final class SecureBulkLoadProtos
return familyPathBuilder_.getMessage(index);
}
}
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
public Builder setFamilyPath(
int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath value) {
if (familyPathBuilder_ == null) {
@@ -645,6 +789,9 @@ public final class SecureBulkLoadProtos
}
return this;
}
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
public Builder setFamilyPath(
int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder builderForValue) {
if (familyPathBuilder_ == null) {
@@ -656,6 +803,9 @@ public final class SecureBulkLoadProtos
}
return this;
}
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
public Builder addFamilyPath(org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath value) {
if (familyPathBuilder_ == null) {
if (value == null) {
@@ -669,6 +819,9 @@ public final class SecureBulkLoadProtos
}
return this;
}
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
public Builder addFamilyPath(
int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath value) {
if (familyPathBuilder_ == null) {
@@ -683,6 +836,9 @@ public final class SecureBulkLoadProtos
}
return this;
}
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
public Builder addFamilyPath(
org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder builderForValue) {
if (familyPathBuilder_ == null) {
@@ -694,6 +850,9 @@ public final class SecureBulkLoadProtos
}
return this;
}
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
public Builder addFamilyPath(
int index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder builderForValue) {
if (familyPathBuilder_ == null) {
@@ -705,6 +864,9 @@ public final class SecureBulkLoadProtos
}
return this;
}
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
public Builder addAllFamilyPath(
java.lang.Iterable<? extends org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath> values) {
if (familyPathBuilder_ == null) {
@@ -716,6 +878,9 @@ public final class SecureBulkLoadProtos
}
return this;
}
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
public Builder clearFamilyPath() {
if (familyPathBuilder_ == null) {
familyPath_ = java.util.Collections.emptyList();
@@ -726,6 +891,9 @@ public final class SecureBulkLoadProtos
}
return this;
}
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
public Builder removeFamilyPath(int index) {
if (familyPathBuilder_ == null) {
ensureFamilyPathIsMutable();
@@ -736,10 +904,16 @@ public final class SecureBulkLoadProtos
}
return this;
}
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder getFamilyPathBuilder(
int index) {
return getFamilyPathFieldBuilder().getBuilder(index);
}
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder getFamilyPathOrBuilder(
int index) {
if (familyPathBuilder_ == null) {
@@ -747,6 +921,9 @@ public final class SecureBulkLoadProtos
return familyPathBuilder_.getMessageOrBuilder(index);
}
}
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
public java.util.List<? extends org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder>
getFamilyPathOrBuilderList() {
if (familyPathBuilder_ != null) {
@@ -755,15 +932,24 @@ public final class SecureBulkLoadProtos
return java.util.Collections.unmodifiableList(familyPath_);
}
}
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder addFamilyPathBuilder() {
return getFamilyPathFieldBuilder().addBuilder(
org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.getDefaultInstance());
}
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
public org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder addFamilyPathBuilder(
int index) {
return getFamilyPathFieldBuilder().addBuilder(
index, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.getDefaultInstance());
}
+ /**
+ * <code>repeated .BulkLoadHFileRequest.FamilyPath familyPath = 1;</code>
+ */
public java.util.List<org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPath.Builder>
getFamilyPathBuilderList() {
return getFamilyPathFieldBuilder().getBuilderList();
@@ -782,35 +968,53 @@ public final class SecureBulkLoadProtos
}
return familyPathBuilder_;
}
-
+
// optional bool assignSeqNum = 2;
private boolean assignSeqNum_ ;
+ /**
+ * <code>optional bool assignSeqNum = 2;</code>
+ */
public boolean hasAssignSeqNum() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+ /**
+ * <code>optional bool assignSeqNum = 2;</code>
+ */
public boolean getAssignSeqNum() {
return assignSeqNum_;
}
+ /**
+ * <code>optional bool assignSeqNum = 2;</code>
+ */
public Builder setAssignSeqNum(boolean value) {
bitField0_ |= 0x00000002;
assignSeqNum_ = value;
onChanged();
return this;
}
+ /**
+ * <code>optional bool assignSeqNum = 2;</code>
+ */
public Builder clearAssignSeqNum() {
bitField0_ = (bitField0_ & ~0x00000002);
assignSeqNum_ = false;
onChanged();
return this;
}
-
+
// required .DelegationTokenProto fsToken = 3;
private org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto fsToken_ = org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.getDefaultInstance();
private com.google.protobuf.SingleFieldBuilder<
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_;
+ /**
+ * <code>required .DelegationTokenProto fsToken = 3;</code>
+ */
public boolean hasFsToken() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
+ /**
+ * <code>required .DelegationTokenProto fsToken = 3;</code>
+ */
public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto getFsToken() {
if (fsTokenBuilder_ == null) {
return fsToken_;
@@ -818,6 +1022,9 @@ public final class SecureBulkLoadProtos
return fsTokenBuilder_.getMessage();
}
}
+ /**
+ * <code>required .DelegationTokenProto fsToken = 3;</code>
+ */
public Builder setFsToken(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto value) {
if (fsTokenBuilder_ == null) {
if (value == null) {
@@ -831,6 +1038,9 @@ public final class SecureBulkLoadProtos
bitField0_ |= 0x00000004;
return this;
}
+ /**
+ * <code>required .DelegationTokenProto fsToken = 3;</code>
+ */
public Builder setFsToken(
org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.Builder builderForValue) {
if (fsTokenBuilder_ == null) {
@@ -842,6 +1052,9 @@ public final class SecureBulkLoadProtos
bitField0_ |= 0x00000004;
return this;
}
+ /**
+ * <code>required .DelegationTokenProto fsToken = 3;</code>
+ */
public Builder mergeFsToken(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto value) {
if (fsTokenBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004) &&
@@ -858,6 +1071,9 @@ public final class SecureBulkLoadProtos
bitField0_ |= 0x00000004;
return this;
}
+ /**
+ * <code>required .DelegationTokenProto fsToken = 3;</code>
+ */
public Builder clearFsToken() {
if (fsTokenBuilder_ == null) {
fsToken_ = org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.getDefaultInstance();
@@ -868,11 +1084,17 @@ public final class SecureBulkLoadProtos
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
+ /**
+ * <code>required .DelegationTokenProto fsToken = 3;</code>
+ */
public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.Builder getFsTokenBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getFsTokenFieldBuilder().getBuilder();
}
+ /**
+ * <code>required .DelegationTokenProto fsToken = 3;</code>
+ */
public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProtoOrBuilder getFsTokenOrBuilder() {
if (fsTokenBuilder_ != null) {
return fsTokenBuilder_.getMessageOrBuilder();
@@ -880,6 +1102,9 @@ public final class SecureBulkLoadProtos
return fsToken_;
}
}
+ /**
+ * <code>required .DelegationTokenProto fsToken = 3;</code>
+ */
private com.google.protobuf.SingleFieldBuilder<
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>
getFsTokenFieldBuilder() {
@@ -893,23 +1118,50 @@ public final class SecureBulkLoadProtos
}
return fsTokenBuilder_;
}
-
+
// required string bulkToken = 4;
private java.lang.Object bulkToken_ = "";
+ /**
+ * <code>required string bulkToken = 4;</code>
+ */
public boolean hasBulkToken() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
- public String getBulkToken() {
+ /**
+ * <code>required string bulkToken = 4;</code>
+ */
+ public java.lang.String getBulkToken() {
java.lang.Object ref = bulkToken_;
- if (!(ref instanceof String)) {
- String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ if (!(ref instanceof java.lang.String)) {
+ java.lang.String s = ((com.google.protobuf.ByteString) ref)
+ .toStringUtf8();
bulkToken_ = s;
return s;
} else {
- return (String) ref;
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ * <code>required string bulkToken = 4;</code>
+ */
+ public com.google.protobuf.ByteString
+ getBulkTokenBytes() {
+ java.lang.Object ref = bulkToken_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
+ bulkToken_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
}
}
- public Builder setBulkToken(String value) {
+ /**
+ * <code>required string bulkToken = 4;</code>
+ */
+ public Builder setBulkToken(
+ java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
@@ -918,75 +1170,165 @@ public final class SecureBulkLoadProtos
onChanged();
return this;
}
+ /**
+ * <code>required string bulkToken = 4;</code>
+ */
public Builder clearBulkToken() {
bitField0_ = (bitField0_ & ~0x00000008);
bulkToken_ = getDefaultInstance().getBulkToken();
onChanged();
return this;
}
- void setBulkToken(com.google.protobuf.ByteString value) {
- bitField0_ |= 0x00000008;
+ /**
+ * <code>required string bulkToken = 4;</code>
+ */
+ public Builder setBulkTokenBytes(
+ com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000008;
bulkToken_ = value;
onChanged();
+ return this;
}
-
+
// @@protoc_insertion_point(builder_scope:SecureBulkLoadHFilesRequest)
}
-
+
static {
defaultInstance = new SecureBulkLoadHFilesRequest(true);
defaultInstance.initFields();
}
-
+
// @@protoc_insertion_point(class_scope:SecureBulkLoadHFilesRequest)
}
-
+
public interface SecureBulkLoadHFilesResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder {
-
+
// required bool loaded = 1;
+ /**
+ * <code>required bool loaded = 1;</code>
+ */
boolean hasLoaded();
+ /**
+ * <code>required bool loaded = 1;</code>
+ */
boolean getLoaded();
}
+ /**
+ * Protobuf type {@code SecureBulkLoadHFilesResponse}
+ */
public static final class SecureBulkLoadHFilesResponse extends
com.google.protobuf.GeneratedMessage
implements SecureBulkLoadHFilesResponseOrBuilder {
// Use SecureBulkLoadHFilesResponse.newBuilder() to construct.
- private SecureBulkLoadHFilesResponse(Builder builder) {
+ private SecureBulkLoadHFilesResponse(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
+ this.unknownFields = builder.getUnknownFields();
}
- private SecureBulkLoadHFilesResponse(boolean noInit) {}
-
+ private SecureBulkLoadHFilesResponse(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
private static final SecureBulkLoadHFilesResponse defaultInstance;
public static SecureBulkLoadHFilesResponse getDefaultInstance() {
return defaultInstance;
}
-
+
public SecureBulkLoadHFilesResponse getDefaultInstanceForType() {
return defaultInstance;
}
-
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private SecureBulkLoadHFilesResponse(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 8: {
+ bitField0_ |= 0x00000001;
+ loaded_ = input.readBool();
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_SecureBulkLoadHFilesResponse_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_SecureBulkLoadHFilesResponse_fieldAccessorTable;
+ return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_SecureBulkLoadHFilesResponse_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse.class, org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse.Builder.class);
+ }
+
+ public static com.google.protobuf.Parser<SecureBulkLoadHFilesResponse> PARSER =
+ new com.google.protobuf.AbstractParser<SecureBulkLoadHFilesResponse>() {
+ public SecureBulkLoadHFilesResponse parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new SecureBulkLoadHFilesResponse(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser<SecureBulkLoadHFilesResponse> getParserForType() {
+ return PARSER;
}
-
+
private int bitField0_;
// required bool loaded = 1;
public static final int LOADED_FIELD_NUMBER = 1;
private boolean loaded_;
+ /**
+ * <code>required bool loaded = 1;</code>
+ */
public boolean hasLoaded() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * <code>required bool loaded = 1;</code>
+ */
public boolean getLoaded() {
return loaded_;
}
-
+
private void initFields() {
loaded_ = false;
}
@@ -994,7 +1336,7 @@ public final class SecureBulkLoadProtos
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
-
+
if (!hasLoaded()) {
memoizedIsInitialized = 0;
return false;
@@ -1002,7 +1344,7 @@ public final class SecureBulkLoadProtos
memoizedIsInitialized = 1;
return true;
}
-
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
@@ -1011,12 +1353,12 @@ public final class SecureBulkLoadProtos
}
getUnknownFields().writeTo(output);
}
-
+
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
-
+
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
@@ -1026,14 +1368,14 @@ public final class SecureBulkLoadProtos
memoizedSerializedSize = size;
return size;
}
-
+
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
-
+
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -1043,7 +1385,7 @@ public final class SecureBulkLoadProtos
return super.equals(obj);
}
org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse other = (org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse) obj;
-
+
boolean result = true;
result = result && (hasLoaded() == other.hasLoaded());
if (hasLoaded()) {
@@ -1054,9 +1396,13 @@ public final class SecureBulkLoadProtos
getUnknownFields().equals(other.getUnknownFields());
return result;
}
-
+
+ private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasLoaded()) {
@@ -1064,89 +1410,79 @@ public final class SecureBulkLoadProtos
hash = (53 * hash) + hashBoolean(getLoaded());
}
hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
return hash;
}
-
+
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
+ return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
-
+
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
-
+
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
+ /**
+ * Protobuf type {@code SecureBulkLoadHFilesResponse}
+ */
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponseOrBuilder {
@@ -1154,18 +1490,21 @@ public final class SecureBulkLoadProtos
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_SecureBulkLoadHFilesResponse_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_SecureBulkLoadHFilesResponse_fieldAccessorTable;
+ return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_SecureBulkLoadHFilesResponse_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse.class, org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse.Builder.class);
}
-
+
// Construct using org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
-
- private Builder(BuilderParent parent) {
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
@@ -1176,27 +1515,27 @@ public final class SecureBulkLoadProtos
private static Builder create() {
return new Builder();
}
-
+
public Builder clear() {
super.clear();
loaded_ = false;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
-
+
public Builder clone() {
return create().mergeFrom(buildPartial());
}
-
+
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
- return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse.getDescriptor();
+ return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_SecureBulkLoadHFilesResponse_descriptor;
}
-
+
public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse getDefaultInstanceForType() {
return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse.getDefaultInstance();
}
-
+
public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse build() {
org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse result = buildPartial();
if (!result.isInitialized()) {
@@ -1204,17 +1543,7 @@ public final class SecureBulkLoadProtos
}
return result;
}
-
- private org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
+
public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse buildPartial() {
org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse result = new org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse(this);
int from_bitField0_ = bitField0_;
@@ -1227,7 +1556,7 @@ public final class SecureBulkLoadProtos
onBuilt();
return result;
}
-
+
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse) {
return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse)other);
@@ -1236,7 +1565,7 @@ public final class SecureBulkLoadProtos
return this;
}
}
-
+
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse other) {
if (other == org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse.getDefaultInstance()) return this;
if (other.hasLoaded()) {
@@ -1245,7 +1574,7 @@ public final class SecureBulkLoadProtos
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
-
+
public final boolean isInitialized() {
if (!hasLoaded()) {
@@ -1253,205 +1582,352 @@ public final class SecureBulkLoadProtos
}
return true;
}
-
+
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder(
- this.getUnknownFields());
- while (true) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- this.setUnknownFields(unknownFields.build());
- onChanged();
- return this;
- }
- break;
- }
- case 8: {
- bitField0_ |= 0x00000001;
- loaded_ = input.readBool();
- break;
- }
+ org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.SecureBulkLoadHFilesResponse) e.getUnfinishedMessage();
+ throw e;
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
}
}
+ return this;
}
-
private int bitField0_;
-
+
// required bool loaded = 1;
private boolean loaded_ ;
+ /**
+ * <code>required bool loaded = 1;</code>
+ */
public boolean hasLoaded() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * <code>required bool loaded = 1;</code>
+ */
public boolean getLoaded() {
return loaded_;
}
+ /**
+ * <code>required bool loaded = 1;</code>
+ */
public Builder setLoaded(boolean value) {
bitField0_ |= 0x00000001;
loaded_ = value;
onChanged();
return this;
}
+ /**
+ * <code>required bool loaded = 1;</code>
+ */
public Builder clearLoaded() {
bitField0_ = (bitField0_ & ~0x00000001);
loaded_ = false;
onChanged();
return this;
}
-
+
// @@protoc_insertion_point(builder_scope:SecureBulkLoadHFilesResponse)
}
-
+
static {
defaultInstance = new SecureBulkLoadHFilesResponse(true);
defaultInstance.initFields();
}
-
+
// @@protoc_insertion_point(class_scope:SecureBulkLoadHFilesResponse)
}
-
+
public interface DelegationTokenProtoOrBuilder
extends com.google.protobuf.MessageOrBuilder {
-
+
// optional bytes identifier = 1;
+ /**
+ * <code>optional bytes identifier = 1;</code>
+ */
boolean hasIdentifier();
+ /**
+ * <code>optional bytes identifier = 1;</code>
+ */
com.google.protobuf.ByteString getIdentifier();
-
+
// optional bytes password = 2;
+ /**
+ * <code>optional bytes password = 2;</code>
+ */
boolean hasPassword();
+ /**
+ * <code>optional bytes password = 2;</code>
+ */
com.google.protobuf.ByteString getPassword();
-
+
// optional string kind = 3;
+ /**
+ * <code>optional string kind = 3;</code>
+ */
boolean hasKind();
- String getKind();
-
+ /**
+ * <code>optional string kind = 3;</code>
+ */
+ java.lang.String getKind();
+ /**
+ * <code>optional string kind = 3;</code>
+ */
+ com.google.protobuf.ByteString
+ getKindBytes();
+
// optional string service = 4;
+ /**
+ * <code>optional string service = 4;</code>
+ */
boolean hasService();
- String getService();
+ /**
+ * <code>optional string service = 4;</code>
+ */
+ java.lang.String getService();
+ /**
+ * <code>optional string service = 4;</code>
+ */
+ com.google.protobuf.ByteString
+ getServiceBytes();
}
+ /**
+ * Protobuf type {@code DelegationTokenProto}
+ */
public static final class DelegationTokenProto extends
com.google.protobuf.GeneratedMessage
implements DelegationTokenProtoOrBuilder {
// Use DelegationTokenProto.newBuilder() to construct.
- private DelegationTokenProto(Builder builder) {
+ private DelegationTokenProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
+ this.unknownFields = builder.getUnknownFields();
}
- private DelegationTokenProto(boolean noInit) {}
-
+ private DelegationTokenProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
+
private static final DelegationTokenProto defaultInstance;
public static DelegationTokenProto getDefaultInstance() {
return defaultInstance;
}
-
+
public DelegationTokenProto getDefaultInstanceForType() {
return defaultInstance;
}
-
+
+ private final com.google.protobuf.UnknownFieldSet unknownFields;
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private DelegationTokenProto(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ initFields();
+ int mutable_bitField0_ = 0;
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default: {
+ if (!parseUnknownField(input, unknownFields,
+ extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ case 10: {
+ bitField0_ |= 0x00000001;
+ identifier_ = input.readBytes();
+ break;
+ }
+ case 18: {
+ bitField0_ |= 0x00000002;
+ password_ = input.readBytes();
+ break;
+ }
+ case 26: {
+ bitField0_ |= 0x00000004;
+ kind_ = input.readBytes();
+ break;
+ }
+ case 34: {
+ bitField0_ |= 0x00000008;
+ service_ = input.readBytes();
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e.getMessage()).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_DelegationTokenProto_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_DelegationTokenProto_fieldAccessorTable;
+ return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_DelegationTokenProto_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.class, org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.Builder.class);
+ }
+
+ public static com.google.protobuf.Parser<DelegationTokenProto> PARSER =
+ new com.google.protobuf.AbstractParser<DelegationTokenProto>() {
+ public DelegationTokenProto parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new DelegationTokenProto(input, extensionRegistry);
+ }
+ };
+
+ @java.lang.Override
+ public com.google.protobuf.Parser<DelegationTokenProto> getParserForType() {
+ return PARSER;
}
-
+
private int bitField0_;
// optional bytes identifier = 1;
public static final int IDENTIFIER_FIELD_NUMBER = 1;
private com.google.protobuf.ByteString identifier_;
+ /**
+ * <code>optional bytes identifier = 1;</code>
+ */
public boolean hasIdentifier() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
+ /**
+ * <code>optional bytes identifier = 1;</code>
+ */
public com.google.protobuf.ByteString getIdentifier() {
return identifier_;
}
-
+
// optional bytes password = 2;
public static final int PASSWORD_FIELD_NUMBER = 2;
private com.google.protobuf.ByteString password_;
+ /**
+ * <code>optional bytes password = 2;</code>
+ */
public boolean hasPassword() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
+ /**
+ * <code>optional bytes password = 2;</code>
+ */
public com.google.protobuf.ByteString getPassword() {
return password_;
}
-
+
// optional string kind = 3;
public static final int KIND_FIELD_NUMBER = 3;
private java.lang.Object kind_;
+ /**
+ * <code>optional string kind = 3;</code>
+ */
public boolean hasKind() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
- public String getKind() {
+ /**
+ * <code>optional string kind = 3;</code>
+ */
+ public java.lang.String getKind() {
java.lang.Object ref = kind_;
- if (ref instanceof String) {
- return (String) ref;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
kind_ = s;
}
return s;
}
}
- private com.google.protobuf.ByteString getKindBytes() {
+ /**
+ * <code>optional string kind = 3;</code>
+ */
+ public com.google.protobuf.ByteString
+ getKindBytes() {
java.lang.Object ref = kind_;
- if (ref instanceof String) {
+ if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
kind_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
-
+
// optional string service = 4;
public static final int SERVICE_FIELD_NUMBER = 4;
private java.lang.Object service_;
+ /**
+ * <code>optional string service = 4;</code>
+ */
public boolean hasService() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
- public String getService() {
+ /**
+ * <code>optional string service = 4;</code>
+ */
+ public java.lang.String getService() {
java.lang.Object ref = service_;
- if (ref instanceof String) {
- return (String) ref;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
- String s = bs.toStringUtf8();
- if (com.google.protobuf.Internal.isValidUtf8(bs)) {
+ java.lang.String s = bs.toStringUtf8();
+ if (bs.isValidUtf8()) {
service_ = s;
}
return s;
}
}
- private com.google.protobuf.ByteString getServiceBytes() {
+ /**
+ * <code>optional string service = 4;</code>
+ */
+ public com.google.protobuf.ByteString
+ getServiceBytes() {
java.lang.Object ref = service_;
- if (ref instanceof String) {
+ if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((String) ref);
+ com.google.protobuf.ByteString.copyFromUtf8(
+ (java.lang.String) ref);
service_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
-
+
private void initFields() {
identifier_ = com.google.protobuf.ByteString.EMPTY;
password_ = com.google.protobuf.ByteString.EMPTY;
@@ -1462,11 +1938,11 @@ public final class SecureBulkLoadProtos
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
-
+
memoizedIsInitialized = 1;
return true;
}
-
+
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
@@ -1484,12 +1960,12 @@ public final class SecureBulkLoadProtos
}
getUnknownFields().writeTo(output);
}
-
+
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
-
+
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += com.google.protobuf.CodedOutputStream
@@ -1511,14 +1987,14 @@ public final class SecureBulkLoadProtos
memoizedSerializedSize = size;
return size;
}
-
+
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
-
+
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
@@ -1528,7 +2004,7 @@ public final class SecureBulkLoadProtos
return super.equals(obj);
}
org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto other = (org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto) obj;
-
+
boolean result = true;
result = result && (hasIdentifier() == other.hasIdentifier());
if (hasIdentifier()) {
@@ -1554,9 +2030,13 @@ public final class SecureBulkLoadProtos
getUnknownFields().equals(other.getUnknownFields());
return result;
}
-
+
+ private int memoizedHashCode = 0;
@java.lang.Override
public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
int hash = 41;
hash = (19 * hash) + getDescriptorForType().hashCode();
if (hasIdentifier()) {
@@ -1576,89 +2056,79 @@ public final class SecureBulkLoadProtos
hash = (53 * hash) + getService().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
return hash;
}
-
+
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data).buildParsed();
+ return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
- return newBuilder().mergeFrom(data, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input)) {
- return builder.buildParsed();
- } else {
- return null;
- }
+ return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- Builder builder = newBuilder();
- if (builder.mergeDelimitedFrom(input, extensionRegistry)) {
- return builder.buildParsed();
- } else {
- return null;
- }
+ return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return newBuilder().mergeFrom(input).buildParsed();
+ return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return newBuilder().mergeFrom(input, extensionRegistry)
- .buildParsed();
+ return PARSER.parseFrom(input, extensionRegistry);
}
-
+
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
-
+
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
+ /**
+ * Protobuf type {@code DelegationTokenProto}
+ */
public static final class Builder extends
com.google.protobuf.GeneratedMessage.Builder<Builder>
implements org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProtoOrBuilder {
@@ -1666,18 +2136,21 @@ public final class SecureBulkLoadProtos
getDescriptor() {
return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_DelegationTokenProto_descriptor;
}
-
+
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_DelegationTokenProto_fieldAccessorTable;
+ return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_DelegationTokenProto_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.class, org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.Builder.class);
}
-
+
// Construct using org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
-
- private Builder(BuilderParent parent) {
+
+ private Builder(
+ com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
@@ -1688,7 +2161,7 @@ public final class SecureBulkLoadProtos
private static Builder create() {
return new Builder();
}
-
+
public Builder clear() {
super.clear();
identifier_ = com.google.protobuf.ByteString.EMPTY;
@@ -1701,20 +2174,20 @@ public final class SecureBulkLoadProtos
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
-
+
public Builder clone() {
return create().mergeFrom(buildPartial());
}
-
+
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
- return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.getDescriptor();
+ return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.internal_static_DelegationTokenProto_descriptor;
}
-
+
public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto getDefaultInstanceForType() {
return org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.getDefaultInstance();
}
-
+
public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto build() {
org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto result = buildPartial();
if (!result.isInitialized()) {
@@ -1722,17 +2195,7 @@ public final class SecureBulkLoadProtos
}
return result;
}
-
- private org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto buildParsed()
- throws com.google.protobuf.InvalidProtocolBufferException {
- org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(
- result).asInvalidProtocolBufferException();
- }
- return result;
- }
-
+
public org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto buildPartial() {
org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto result = new org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto(this);
int from_bitField0_ = bitField0_;
@@ -1757,7 +2220,7 @@ public final class SecureBulkLoadProtos
onBuilt();
return result;
}
-
+
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto) {
return mergeFrom((org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto)other);
@@ -1766,7 +2229,7 @@ public final class SecureBulkLoadProtos
return this;
}
}
-
+
public Builder mergeFrom(org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto other) {
if (other == org.apache.hadoop.hbase.protobuf.generated.SecureBulkLoadProtos.DelegationTokenProto.getDefaultInstance()) return this;
if (other.hasIdentifier()) {
@@ -1776,76 +2239,59 @@ public final class SecureBulkLoadProtos
setPassword(other.getPassword());
}
if (other.hasKind()) {
- setKind(other.getKind());
+ bitField0_ |= 0x00000004;
+ kind_ = other.kind_;
+ onChanged();
}
if (other.hasService()) {
- setService(other.getService());
+ bitField0_ |= 0x00000008;
+ service_ = other.service_;
+ onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
-
+
public final boolean isInitialized() {
return true;
}
-
+
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
[... 2865 lines stripped ...]