You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by mb...@apache.org on 2015/07/09 17:33:41 UTC
[03/12] hbase git commit: Procedure v2 - Use nonces for double
submits from client (Stephen Yuan Jiang)
http://git-wip-us.apache.org/repos/asf/hbase/blob/87ee37ce/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/MasterProtos.java
----------------------------------------------------------------------
diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/MasterProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/MasterProtos.java
index a762d00..23ced4b 100644
--- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/MasterProtos.java
+++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/MasterProtos.java
@@ -38,6 +38,26 @@ public final class MasterProtos {
* <code>required .ColumnFamilySchema column_families = 2;</code>
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilySchemaOrBuilder getColumnFamiliesOrBuilder();
+
+ // optional uint64 nonce_group = 3 [default = 0];
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ boolean hasNonceGroup();
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ long getNonceGroup();
+
+ // optional uint64 nonce = 4 [default = 0];
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ boolean hasNonce();
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ long getNonce();
}
/**
* Protobuf type {@code AddColumnRequest}
@@ -116,6 +136,16 @@ public final class MasterProtos {
bitField0_ |= 0x00000002;
break;
}
+ case 24: {
+ bitField0_ |= 0x00000004;
+ nonceGroup_ = input.readUInt64();
+ break;
+ }
+ case 32: {
+ bitField0_ |= 0x00000008;
+ nonce_ = input.readUInt64();
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -200,9 +230,43 @@ public final class MasterProtos {
return columnFamilies_;
}
+ // optional uint64 nonce_group = 3 [default = 0];
+ public static final int NONCE_GROUP_FIELD_NUMBER = 3;
+ private long nonceGroup_;
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public boolean hasNonceGroup() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public long getNonceGroup() {
+ return nonceGroup_;
+ }
+
+ // optional uint64 nonce = 4 [default = 0];
+ public static final int NONCE_FIELD_NUMBER = 4;
+ private long nonce_;
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public boolean hasNonce() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public long getNonce() {
+ return nonce_;
+ }
+
private void initFields() {
tableName_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.getDefaultInstance();
columnFamilies_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilySchema.getDefaultInstance();
+ nonceGroup_ = 0L;
+ nonce_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
@@ -238,6 +302,12 @@ public final class MasterProtos {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, columnFamilies_);
}
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeUInt64(3, nonceGroup_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ output.writeUInt64(4, nonce_);
+ }
getUnknownFields().writeTo(output);
}
@@ -255,6 +325,14 @@ public final class MasterProtos {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, columnFamilies_);
}
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(3, nonceGroup_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(4, nonce_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
@@ -288,6 +366,16 @@ public final class MasterProtos {
result = result && getColumnFamilies()
.equals(other.getColumnFamilies());
}
+ result = result && (hasNonceGroup() == other.hasNonceGroup());
+ if (hasNonceGroup()) {
+ result = result && (getNonceGroup()
+ == other.getNonceGroup());
+ }
+ result = result && (hasNonce() == other.hasNonce());
+ if (hasNonce()) {
+ result = result && (getNonce()
+ == other.getNonce());
+ }
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
@@ -309,6 +397,14 @@ public final class MasterProtos {
hash = (37 * hash) + COLUMN_FAMILIES_FIELD_NUMBER;
hash = (53 * hash) + getColumnFamilies().hashCode();
}
+ if (hasNonceGroup()) {
+ hash = (37 * hash) + NONCE_GROUP_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getNonceGroup());
+ }
+ if (hasNonce()) {
+ hash = (37 * hash) + NONCE_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getNonce());
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -432,6 +528,10 @@ public final class MasterProtos {
columnFamiliesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
+ nonceGroup_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ nonce_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@@ -476,6 +576,14 @@ public final class MasterProtos {
} else {
result.columnFamilies_ = columnFamiliesBuilder_.build();
}
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ result.nonceGroup_ = nonceGroup_;
+ if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ to_bitField0_ |= 0x00000008;
+ }
+ result.nonce_ = nonce_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
@@ -498,6 +606,12 @@ public final class MasterProtos {
if (other.hasColumnFamilies()) {
mergeColumnFamilies(other.getColumnFamilies());
}
+ if (other.hasNonceGroup()) {
+ setNonceGroup(other.getNonceGroup());
+ }
+ if (other.hasNonce()) {
+ setNonce(other.getNonce());
+ }
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
@@ -775,6 +889,72 @@ public final class MasterProtos {
return columnFamiliesBuilder_;
}
+ // optional uint64 nonce_group = 3 [default = 0];
+ private long nonceGroup_ ;
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public boolean hasNonceGroup() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public long getNonceGroup() {
+ return nonceGroup_;
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public Builder setNonceGroup(long value) {
+ bitField0_ |= 0x00000004;
+ nonceGroup_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public Builder clearNonceGroup() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ nonceGroup_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ // optional uint64 nonce = 4 [default = 0];
+ private long nonce_ ;
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public boolean hasNonce() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public long getNonce() {
+ return nonce_;
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public Builder setNonce(long value) {
+ bitField0_ |= 0x00000008;
+ nonce_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public Builder clearNonce() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ nonce_ = 0L;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:AddColumnRequest)
}
@@ -1150,6 +1330,26 @@ public final class MasterProtos {
* <code>required bytes column_name = 2;</code>
*/
com.google.protobuf.ByteString getColumnName();
+
+ // optional uint64 nonce_group = 3 [default = 0];
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ boolean hasNonceGroup();
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ long getNonceGroup();
+
+ // optional uint64 nonce = 4 [default = 0];
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ boolean hasNonce();
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ long getNonce();
}
/**
* Protobuf type {@code DeleteColumnRequest}
@@ -1220,6 +1420,16 @@ public final class MasterProtos {
columnName_ = input.readBytes();
break;
}
+ case 24: {
+ bitField0_ |= 0x00000004;
+ nonceGroup_ = input.readUInt64();
+ break;
+ }
+ case 32: {
+ bitField0_ |= 0x00000008;
+ nonce_ = input.readUInt64();
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1298,9 +1508,43 @@ public final class MasterProtos {
return columnName_;
}
+ // optional uint64 nonce_group = 3 [default = 0];
+ public static final int NONCE_GROUP_FIELD_NUMBER = 3;
+ private long nonceGroup_;
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public boolean hasNonceGroup() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public long getNonceGroup() {
+ return nonceGroup_;
+ }
+
+ // optional uint64 nonce = 4 [default = 0];
+ public static final int NONCE_FIELD_NUMBER = 4;
+ private long nonce_;
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public boolean hasNonce() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public long getNonce() {
+ return nonce_;
+ }
+
private void initFields() {
tableName_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.getDefaultInstance();
columnName_ = com.google.protobuf.ByteString.EMPTY;
+ nonceGroup_ = 0L;
+ nonce_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
@@ -1332,6 +1576,12 @@ public final class MasterProtos {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, columnName_);
}
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeUInt64(3, nonceGroup_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ output.writeUInt64(4, nonce_);
+ }
getUnknownFields().writeTo(output);
}
@@ -1349,6 +1599,14 @@ public final class MasterProtos {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(2, columnName_);
}
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(3, nonceGroup_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(4, nonce_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
@@ -1382,6 +1640,16 @@ public final class MasterProtos {
result = result && getColumnName()
.equals(other.getColumnName());
}
+ result = result && (hasNonceGroup() == other.hasNonceGroup());
+ if (hasNonceGroup()) {
+ result = result && (getNonceGroup()
+ == other.getNonceGroup());
+ }
+ result = result && (hasNonce() == other.hasNonce());
+ if (hasNonce()) {
+ result = result && (getNonce()
+ == other.getNonce());
+ }
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
@@ -1403,6 +1671,14 @@ public final class MasterProtos {
hash = (37 * hash) + COLUMN_NAME_FIELD_NUMBER;
hash = (53 * hash) + getColumnName().hashCode();
}
+ if (hasNonceGroup()) {
+ hash = (37 * hash) + NONCE_GROUP_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getNonceGroup());
+ }
+ if (hasNonce()) {
+ hash = (37 * hash) + NONCE_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getNonce());
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -1521,6 +1797,10 @@ public final class MasterProtos {
bitField0_ = (bitField0_ & ~0x00000001);
columnName_ = com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
+ nonceGroup_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ nonce_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@@ -1561,6 +1841,14 @@ public final class MasterProtos {
to_bitField0_ |= 0x00000002;
}
result.columnName_ = columnName_;
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ result.nonceGroup_ = nonceGroup_;
+ if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ to_bitField0_ |= 0x00000008;
+ }
+ result.nonce_ = nonce_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
@@ -1583,6 +1871,12 @@ public final class MasterProtos {
if (other.hasColumnName()) {
setColumnName(other.getColumnName());
}
+ if (other.hasNonceGroup()) {
+ setNonceGroup(other.getNonceGroup());
+ }
+ if (other.hasNonce()) {
+ setNonce(other.getNonce());
+ }
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
@@ -1775,6 +2069,72 @@ public final class MasterProtos {
return this;
}
+ // optional uint64 nonce_group = 3 [default = 0];
+ private long nonceGroup_ ;
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public boolean hasNonceGroup() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public long getNonceGroup() {
+ return nonceGroup_;
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public Builder setNonceGroup(long value) {
+ bitField0_ |= 0x00000004;
+ nonceGroup_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public Builder clearNonceGroup() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ nonceGroup_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ // optional uint64 nonce = 4 [default = 0];
+ private long nonce_ ;
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public boolean hasNonce() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public long getNonce() {
+ return nonce_;
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public Builder setNonce(long value) {
+ bitField0_ |= 0x00000008;
+ nonce_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public Builder clearNonce() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ nonce_ = 0L;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:DeleteColumnRequest)
}
@@ -2154,6 +2514,26 @@ public final class MasterProtos {
* <code>required .ColumnFamilySchema column_families = 2;</code>
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilySchemaOrBuilder getColumnFamiliesOrBuilder();
+
+ // optional uint64 nonce_group = 3 [default = 0];
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ boolean hasNonceGroup();
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ long getNonceGroup();
+
+ // optional uint64 nonce = 4 [default = 0];
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ boolean hasNonce();
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ long getNonce();
}
/**
* Protobuf type {@code ModifyColumnRequest}
@@ -2232,6 +2612,16 @@ public final class MasterProtos {
bitField0_ |= 0x00000002;
break;
}
+ case 24: {
+ bitField0_ |= 0x00000004;
+ nonceGroup_ = input.readUInt64();
+ break;
+ }
+ case 32: {
+ bitField0_ |= 0x00000008;
+ nonce_ = input.readUInt64();
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2316,9 +2706,43 @@ public final class MasterProtos {
return columnFamilies_;
}
+ // optional uint64 nonce_group = 3 [default = 0];
+ public static final int NONCE_GROUP_FIELD_NUMBER = 3;
+ private long nonceGroup_;
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public boolean hasNonceGroup() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public long getNonceGroup() {
+ return nonceGroup_;
+ }
+
+ // optional uint64 nonce = 4 [default = 0];
+ public static final int NONCE_FIELD_NUMBER = 4;
+ private long nonce_;
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public boolean hasNonce() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public long getNonce() {
+ return nonce_;
+ }
+
private void initFields() {
tableName_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.getDefaultInstance();
columnFamilies_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilySchema.getDefaultInstance();
+ nonceGroup_ = 0L;
+ nonce_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
@@ -2354,6 +2778,12 @@ public final class MasterProtos {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, columnFamilies_);
}
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeUInt64(3, nonceGroup_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ output.writeUInt64(4, nonce_);
+ }
getUnknownFields().writeTo(output);
}
@@ -2371,6 +2801,14 @@ public final class MasterProtos {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, columnFamilies_);
}
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(3, nonceGroup_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(4, nonce_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
@@ -2404,6 +2842,16 @@ public final class MasterProtos {
result = result && getColumnFamilies()
.equals(other.getColumnFamilies());
}
+ result = result && (hasNonceGroup() == other.hasNonceGroup());
+ if (hasNonceGroup()) {
+ result = result && (getNonceGroup()
+ == other.getNonceGroup());
+ }
+ result = result && (hasNonce() == other.hasNonce());
+ if (hasNonce()) {
+ result = result && (getNonce()
+ == other.getNonce());
+ }
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
@@ -2425,6 +2873,14 @@ public final class MasterProtos {
hash = (37 * hash) + COLUMN_FAMILIES_FIELD_NUMBER;
hash = (53 * hash) + getColumnFamilies().hashCode();
}
+ if (hasNonceGroup()) {
+ hash = (37 * hash) + NONCE_GROUP_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getNonceGroup());
+ }
+ if (hasNonce()) {
+ hash = (37 * hash) + NONCE_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getNonce());
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -2548,6 +3004,10 @@ public final class MasterProtos {
columnFamiliesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
+ nonceGroup_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ nonce_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@@ -2592,6 +3052,14 @@ public final class MasterProtos {
} else {
result.columnFamilies_ = columnFamiliesBuilder_.build();
}
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ result.nonceGroup_ = nonceGroup_;
+ if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ to_bitField0_ |= 0x00000008;
+ }
+ result.nonce_ = nonce_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
@@ -2614,6 +3082,12 @@ public final class MasterProtos {
if (other.hasColumnFamilies()) {
mergeColumnFamilies(other.getColumnFamilies());
}
+ if (other.hasNonceGroup()) {
+ setNonceGroup(other.getNonceGroup());
+ }
+ if (other.hasNonce()) {
+ setNonce(other.getNonce());
+ }
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
@@ -2891,6 +3365,72 @@ public final class MasterProtos {
return columnFamiliesBuilder_;
}
+ // optional uint64 nonce_group = 3 [default = 0];
+ private long nonceGroup_ ;
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public boolean hasNonceGroup() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public long getNonceGroup() {
+ return nonceGroup_;
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public Builder setNonceGroup(long value) {
+ bitField0_ |= 0x00000004;
+ nonceGroup_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public Builder clearNonceGroup() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ nonceGroup_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ // optional uint64 nonce = 4 [default = 0];
+ private long nonce_ ;
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public boolean hasNonce() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public long getNonce() {
+ return nonce_;
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public Builder setNonce(long value) {
+ bitField0_ |= 0x00000008;
+ nonce_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public Builder clearNonce() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ nonce_ = 0L;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:ModifyColumnRequest)
}
@@ -8385,6 +8925,26 @@ public final class MasterProtos {
* <code>repeated bytes split_keys = 2;</code>
*/
com.google.protobuf.ByteString getSplitKeys(int index);
+
+ // optional uint64 nonce_group = 3 [default = 0];
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ boolean hasNonceGroup();
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ long getNonceGroup();
+
+ // optional uint64 nonce = 4 [default = 0];
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ boolean hasNonce();
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ long getNonce();
}
/**
* Protobuf type {@code CreateTableRequest}
@@ -8458,6 +9018,16 @@ public final class MasterProtos {
splitKeys_.add(input.readBytes());
break;
}
+ case 24: {
+ bitField0_ |= 0x00000002;
+ nonceGroup_ = input.readUInt64();
+ break;
+ }
+ case 32: {
+ bitField0_ |= 0x00000004;
+ nonce_ = input.readUInt64();
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -8546,9 +9116,43 @@ public final class MasterProtos {
return splitKeys_.get(index);
}
+ // optional uint64 nonce_group = 3 [default = 0];
+ public static final int NONCE_GROUP_FIELD_NUMBER = 3;
+ private long nonceGroup_;
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public boolean hasNonceGroup() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public long getNonceGroup() {
+ return nonceGroup_;
+ }
+
+ // optional uint64 nonce = 4 [default = 0];
+ public static final int NONCE_FIELD_NUMBER = 4;
+ private long nonce_;
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public boolean hasNonce() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public long getNonce() {
+ return nonce_;
+ }
+
private void initFields() {
tableSchema_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema.getDefaultInstance();
splitKeys_ = java.util.Collections.emptyList();
+ nonceGroup_ = 0L;
+ nonce_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
@@ -8576,6 +9180,12 @@ public final class MasterProtos {
for (int i = 0; i < splitKeys_.size(); i++) {
output.writeBytes(2, splitKeys_.get(i));
}
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeUInt64(3, nonceGroup_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeUInt64(4, nonce_);
+ }
getUnknownFields().writeTo(output);
}
@@ -8598,6 +9208,14 @@ public final class MasterProtos {
size += dataSize;
size += 1 * getSplitKeysList().size();
}
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(3, nonceGroup_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(4, nonce_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
@@ -8628,6 +9246,16 @@ public final class MasterProtos {
}
result = result && getSplitKeysList()
.equals(other.getSplitKeysList());
+ result = result && (hasNonceGroup() == other.hasNonceGroup());
+ if (hasNonceGroup()) {
+ result = result && (getNonceGroup()
+ == other.getNonceGroup());
+ }
+ result = result && (hasNonce() == other.hasNonce());
+ if (hasNonce()) {
+ result = result && (getNonce()
+ == other.getNonce());
+ }
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
@@ -8649,6 +9277,14 @@ public final class MasterProtos {
hash = (37 * hash) + SPLIT_KEYS_FIELD_NUMBER;
hash = (53 * hash) + getSplitKeysList().hashCode();
}
+ if (hasNonceGroup()) {
+ hash = (37 * hash) + NONCE_GROUP_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getNonceGroup());
+ }
+ if (hasNonce()) {
+ hash = (37 * hash) + NONCE_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getNonce());
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -8767,6 +9403,10 @@ public final class MasterProtos {
bitField0_ = (bitField0_ & ~0x00000001);
splitKeys_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
+ nonceGroup_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ nonce_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@@ -8808,6 +9448,14 @@ public final class MasterProtos {
bitField0_ = (bitField0_ & ~0x00000002);
}
result.splitKeys_ = splitKeys_;
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.nonceGroup_ = nonceGroup_;
+ if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ result.nonce_ = nonce_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
@@ -8837,6 +9485,12 @@ public final class MasterProtos {
}
onChanged();
}
+ if (other.hasNonceGroup()) {
+ setNonceGroup(other.getNonceGroup());
+ }
+ if (other.hasNonce()) {
+ setNonce(other.getNonce());
+ }
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
@@ -9061,6 +9715,72 @@ public final class MasterProtos {
return this;
}
+ // optional uint64 nonce_group = 3 [default = 0];
+ private long nonceGroup_ ;
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public boolean hasNonceGroup() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public long getNonceGroup() {
+ return nonceGroup_;
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public Builder setNonceGroup(long value) {
+ bitField0_ |= 0x00000004;
+ nonceGroup_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public Builder clearNonceGroup() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ nonceGroup_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ // optional uint64 nonce = 4 [default = 0];
+ private long nonce_ ;
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public boolean hasNonce() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public long getNonce() {
+ return nonce_;
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public Builder setNonce(long value) {
+ bitField0_ |= 0x00000008;
+ nonce_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public Builder clearNonce() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ nonce_ = 0L;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:CreateTableRequest)
}
@@ -9522,6 +10242,26 @@ public final class MasterProtos {
* <code>required .TableName table_name = 1;</code>
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder getTableNameOrBuilder();
+
+ // optional uint64 nonce_group = 2 [default = 0];
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ boolean hasNonceGroup();
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ long getNonceGroup();
+
+ // optional uint64 nonce = 3 [default = 0];
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ boolean hasNonce();
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ long getNonce();
}
/**
* Protobuf type {@code DeleteTableRequest}
@@ -9587,6 +10327,16 @@ public final class MasterProtos {
bitField0_ |= 0x00000001;
break;
}
+ case 16: {
+ bitField0_ |= 0x00000002;
+ nonceGroup_ = input.readUInt64();
+ break;
+ }
+ case 24: {
+ bitField0_ |= 0x00000004;
+ nonce_ = input.readUInt64();
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -9649,8 +10399,42 @@ public final class MasterProtos {
return tableName_;
}
+ // optional uint64 nonce_group = 2 [default = 0];
+ public static final int NONCE_GROUP_FIELD_NUMBER = 2;
+ private long nonceGroup_;
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ public boolean hasNonceGroup() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ public long getNonceGroup() {
+ return nonceGroup_;
+ }
+
+ // optional uint64 nonce = 3 [default = 0];
+ public static final int NONCE_FIELD_NUMBER = 3;
+ private long nonce_;
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ public boolean hasNonce() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ public long getNonce() {
+ return nonce_;
+ }
+
private void initFields() {
tableName_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.getDefaultInstance();
+ nonceGroup_ = 0L;
+ nonce_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
@@ -9675,6 +10459,12 @@ public final class MasterProtos {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, tableName_);
}
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeUInt64(2, nonceGroup_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeUInt64(3, nonce_);
+ }
getUnknownFields().writeTo(output);
}
@@ -9688,6 +10478,14 @@ public final class MasterProtos {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, tableName_);
}
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(2, nonceGroup_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(3, nonce_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
@@ -9716,6 +10514,16 @@ public final class MasterProtos {
result = result && getTableName()
.equals(other.getTableName());
}
+ result = result && (hasNonceGroup() == other.hasNonceGroup());
+ if (hasNonceGroup()) {
+ result = result && (getNonceGroup()
+ == other.getNonceGroup());
+ }
+ result = result && (hasNonce() == other.hasNonce());
+ if (hasNonce()) {
+ result = result && (getNonce()
+ == other.getNonce());
+ }
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
@@ -9733,6 +10541,14 @@ public final class MasterProtos {
hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getTableName().hashCode();
}
+ if (hasNonceGroup()) {
+ hash = (37 * hash) + NONCE_GROUP_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getNonceGroup());
+ }
+ if (hasNonce()) {
+ hash = (37 * hash) + NONCE_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getNonce());
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -9849,6 +10665,10 @@ public final class MasterProtos {
tableNameBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
+ nonceGroup_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ nonce_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@@ -9885,6 +10705,14 @@ public final class MasterProtos {
} else {
result.tableName_ = tableNameBuilder_.build();
}
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.nonceGroup_ = nonceGroup_;
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ result.nonce_ = nonce_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
@@ -9904,6 +10732,12 @@ public final class MasterProtos {
if (other.hasTableName()) {
mergeTableName(other.getTableName());
}
+ if (other.hasNonceGroup()) {
+ setNonceGroup(other.getNonceGroup());
+ }
+ if (other.hasNonce()) {
+ setNonce(other.getNonce());
+ }
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
@@ -10056,6 +10890,72 @@ public final class MasterProtos {
return tableNameBuilder_;
}
+ // optional uint64 nonce_group = 2 [default = 0];
+ private long nonceGroup_ ;
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ public boolean hasNonceGroup() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ public long getNonceGroup() {
+ return nonceGroup_;
+ }
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ public Builder setNonceGroup(long value) {
+ bitField0_ |= 0x00000002;
+ nonceGroup_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ public Builder clearNonceGroup() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ nonceGroup_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ // optional uint64 nonce = 3 [default = 0];
+ private long nonce_ ;
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ public boolean hasNonce() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ public long getNonce() {
+ return nonce_;
+ }
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ public Builder setNonce(long value) {
+ bitField0_ |= 0x00000004;
+ nonce_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ public Builder clearNonce() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ nonce_ = 0L;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:DeleteTableRequest)
}
@@ -10527,6 +11427,26 @@ public final class MasterProtos {
* <code>optional bool preserveSplits = 2 [default = false];</code>
*/
boolean getPreserveSplits();
+
+ // optional uint64 nonce_group = 3 [default = 0];
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ boolean hasNonceGroup();
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ long getNonceGroup();
+
+ // optional uint64 nonce = 4 [default = 0];
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ boolean hasNonce();
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ long getNonce();
}
/**
* Protobuf type {@code TruncateTableRequest}
@@ -10597,6 +11517,16 @@ public final class MasterProtos {
preserveSplits_ = input.readBool();
break;
}
+ case 24: {
+ bitField0_ |= 0x00000004;
+ nonceGroup_ = input.readUInt64();
+ break;
+ }
+ case 32: {
+ bitField0_ |= 0x00000008;
+ nonce_ = input.readUInt64();
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -10675,9 +11605,43 @@ public final class MasterProtos {
return preserveSplits_;
}
+ // optional uint64 nonce_group = 3 [default = 0];
+ public static final int NONCE_GROUP_FIELD_NUMBER = 3;
+ private long nonceGroup_;
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public boolean hasNonceGroup() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public long getNonceGroup() {
+ return nonceGroup_;
+ }
+
+ // optional uint64 nonce = 4 [default = 0];
+ public static final int NONCE_FIELD_NUMBER = 4;
+ private long nonce_;
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public boolean hasNonce() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public long getNonce() {
+ return nonce_;
+ }
+
private void initFields() {
tableName_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.getDefaultInstance();
preserveSplits_ = false;
+ nonceGroup_ = 0L;
+ nonce_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
@@ -10705,6 +11669,12 @@ public final class MasterProtos {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBool(2, preserveSplits_);
}
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeUInt64(3, nonceGroup_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ output.writeUInt64(4, nonce_);
+ }
getUnknownFields().writeTo(output);
}
@@ -10722,6 +11692,14 @@ public final class MasterProtos {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(2, preserveSplits_);
}
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(3, nonceGroup_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(4, nonce_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
@@ -10755,6 +11733,16 @@ public final class MasterProtos {
result = result && (getPreserveSplits()
== other.getPreserveSplits());
}
+ result = result && (hasNonceGroup() == other.hasNonceGroup());
+ if (hasNonceGroup()) {
+ result = result && (getNonceGroup()
+ == other.getNonceGroup());
+ }
+ result = result && (hasNonce() == other.hasNonce());
+ if (hasNonce()) {
+ result = result && (getNonce()
+ == other.getNonce());
+ }
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
@@ -10776,6 +11764,14 @@ public final class MasterProtos {
hash = (37 * hash) + PRESERVESPLITS_FIELD_NUMBER;
hash = (53 * hash) + hashBoolean(getPreserveSplits());
}
+ if (hasNonceGroup()) {
+ hash = (37 * hash) + NONCE_GROUP_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getNonceGroup());
+ }
+ if (hasNonce()) {
+ hash = (37 * hash) + NONCE_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getNonce());
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -10894,6 +11890,10 @@ public final class MasterProtos {
bitField0_ = (bitField0_ & ~0x00000001);
preserveSplits_ = false;
bitField0_ = (bitField0_ & ~0x00000002);
+ nonceGroup_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ nonce_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@@ -10934,6 +11934,14 @@ public final class MasterProtos {
to_bitField0_ |= 0x00000002;
}
result.preserveSplits_ = preserveSplits_;
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ result.nonceGroup_ = nonceGroup_;
+ if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ to_bitField0_ |= 0x00000008;
+ }
+ result.nonce_ = nonce_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
@@ -10956,6 +11964,12 @@ public final class MasterProtos {
if (other.hasPreserveSplits()) {
setPreserveSplits(other.getPreserveSplits());
}
+ if (other.hasNonceGroup()) {
+ setNonceGroup(other.getNonceGroup());
+ }
+ if (other.hasNonce()) {
+ setNonce(other.getNonce());
+ }
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
@@ -11141,6 +12155,72 @@ public final class MasterProtos {
return this;
}
+ // optional uint64 nonce_group = 3 [default = 0];
+ private long nonceGroup_ ;
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public boolean hasNonceGroup() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public long getNonceGroup() {
+ return nonceGroup_;
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public Builder setNonceGroup(long value) {
+ bitField0_ |= 0x00000004;
+ nonceGroup_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public Builder clearNonceGroup() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ nonceGroup_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ // optional uint64 nonce = 4 [default = 0];
+ private long nonce_ ;
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public boolean hasNonce() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public long getNonce() {
+ return nonce_;
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public Builder setNonce(long value) {
+ bitField0_ |= 0x00000008;
+ nonce_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public Builder clearNonce() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ nonce_ = 0L;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:TruncateTableRequest)
}
@@ -11602,6 +12682,26 @@ public final class MasterProtos {
* <code>required .TableName table_name = 1;</code>
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder getTableNameOrBuilder();
+
+ // optional uint64 nonce_group = 2 [default = 0];
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ boolean hasNonceGroup();
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ long getNonceGroup();
+
+ // optional uint64 nonce = 3 [default = 0];
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ boolean hasNonce();
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ long getNonce();
}
/**
* Protobuf type {@code EnableTableRequest}
@@ -11667,6 +12767,16 @@ public final class MasterProtos {
bitField0_ |= 0x00000001;
break;
}
+ case 16: {
+ bitField0_ |= 0x00000002;
+ nonceGroup_ = input.readUInt64();
+ break;
+ }
+ case 24: {
+ bitField0_ |= 0x00000004;
+ nonce_ = input.readUInt64();
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -11729,8 +12839,42 @@ public final class MasterProtos {
return tableName_;
}
+ // optional uint64 nonce_group = 2 [default = 0];
+ public static final int NONCE_GROUP_FIELD_NUMBER = 2;
+ private long nonceGroup_;
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ public boolean hasNonceGroup() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ public long getNonceGroup() {
+ return nonceGroup_;
+ }
+
+ // optional uint64 nonce = 3 [default = 0];
+ public static final int NONCE_FIELD_NUMBER = 3;
+ private long nonce_;
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ public boolean hasNonce() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ public long getNonce() {
+ return nonce_;
+ }
+
private void initFields() {
tableName_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.getDefaultInstance();
+ nonceGroup_ = 0L;
+ nonce_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
@@ -11755,6 +12899,12 @@ public final class MasterProtos {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, tableName_);
}
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeUInt64(2, nonceGroup_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeUInt64(3, nonce_);
+ }
getUnknownFields().writeTo(output);
}
@@ -11768,6 +12918,14 @@ public final class MasterProtos {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, tableName_);
}
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(2, nonceGroup_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(3, nonce_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
@@ -11796,6 +12954,16 @@ public final class MasterProtos {
result = result && getTableName()
.equals(other.getTableName());
}
+ result = result && (hasNonceGroup() == other.hasNonceGroup());
+ if (hasNonceGroup()) {
+ result = result && (getNonceGroup()
+ == other.getNonceGroup());
+ }
+ result = result && (hasNonce() == other.hasNonce());
+ if (hasNonce()) {
+ result = result && (getNonce()
+ == other.getNonce());
+ }
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
@@ -11813,6 +12981,14 @@ public final class MasterProtos {
hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getTableName().hashCode();
}
+ if (hasNonceGroup()) {
+ hash = (37 * hash) + NONCE_GROUP_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getNonceGroup());
+ }
+ if (hasNonce()) {
+ hash = (37 * hash) + NONCE_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getNonce());
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -11929,6 +13105,10 @@ public final class MasterProtos {
tableNameBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
+ nonceGroup_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ nonce_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@@ -11965,6 +13145,14 @@ public final class MasterProtos {
} else {
result.tableName_ = tableNameBuilder_.build();
}
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.nonceGroup_ = nonceGroup_;
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ result.nonce_ = nonce_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
@@ -11984,6 +13172,12 @@ public final class MasterProtos {
if (other.hasTableName()) {
mergeTableName(other.getTableName());
}
+ if (other.hasNonceGroup()) {
+ setNonceGroup(other.getNonceGroup());
+ }
+ if (other.hasNonce()) {
+ setNonce(other.getNonce());
+ }
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
@@ -12136,6 +13330,72 @@ public final class MasterProtos {
return tableNameBuilder_;
}
+ // optional uint64 nonce_group = 2 [default = 0];
+ private long nonceGroup_ ;
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ public boolean hasNonceGroup() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ public long getNonceGroup() {
+ return nonceGroup_;
+ }
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ public Builder setNonceGroup(long value) {
+ bitField0_ |= 0x00000002;
+ nonceGroup_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ public Builder clearNonceGroup() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ nonceGroup_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ // optional uint64 nonce = 3 [default = 0];
+ private long nonce_ ;
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ public boolean hasNonce() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ public long getNonce() {
+ return nonce_;
+ }
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ public Builder setNonce(long value) {
+ bitField0_ |= 0x00000004;
+ nonce_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ public Builder clearNonce() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ nonce_ = 0L;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:EnableTableRequest)
}
@@ -12597,6 +13857,26 @@ public final class MasterProtos {
* <code>required .TableName table_name = 1;</code>
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder getTableNameOrBuilder();
+
+ // optional uint64 nonce_group = 2 [default = 0];
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ boolean hasNonceGroup();
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ long getNonceGroup();
+
+ // optional uint64 nonce = 3 [default = 0];
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ boolean hasNonce();
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ long getNonce();
}
/**
* Protobuf type {@code DisableTableRequest}
@@ -12662,6 +13942,16 @@ public final class MasterProtos {
bitField0_ |= 0x00000001;
break;
}
+ case 16: {
+ bitField0_ |= 0x00000002;
+ nonceGroup_ = input.readUInt64();
+ break;
+ }
+ case 24: {
+ bitField0_ |= 0x00000004;
+ nonce_ = input.readUInt64();
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -12724,8 +14014,42 @@ public final class MasterProtos {
return tableName_;
}
+ // optional uint64 nonce_group = 2 [default = 0];
+ public static final int NONCE_GROUP_FIELD_NUMBER = 2;
+ private long nonceGroup_;
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ public boolean hasNonceGroup() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ public long getNonceGroup() {
+ return nonceGroup_;
+ }
+
+ // optional uint64 nonce = 3 [default = 0];
+ public static final int NONCE_FIELD_NUMBER = 3;
+ private long nonce_;
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ public boolean hasNonce() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ public long getNonce() {
+ return nonce_;
+ }
+
private void initFields() {
tableName_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.getDefaultInstance();
+ nonceGroup_ = 0L;
+ nonce_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
@@ -12750,6 +14074,12 @@ public final class MasterProtos {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(1, tableName_);
}
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ output.writeUInt64(2, nonceGroup_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeUInt64(3, nonce_);
+ }
getUnknownFields().writeTo(output);
}
@@ -12763,6 +14093,14 @@ public final class MasterProtos {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, tableName_);
}
+ if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(2, nonceGroup_);
+ }
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(3, nonce_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
@@ -12791,6 +14129,16 @@ public final class MasterProtos {
result = result && getTableName()
.equals(other.getTableName());
}
+ result = result && (hasNonceGroup() == other.hasNonceGroup());
+ if (hasNonceGroup()) {
+ result = result && (getNonceGroup()
+ == other.getNonceGroup());
+ }
+ result = result && (hasNonce() == other.hasNonce());
+ if (hasNonce()) {
+ result = result && (getNonce()
+ == other.getNonce());
+ }
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
@@ -12808,6 +14156,14 @@ public final class MasterProtos {
hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getTableName().hashCode();
}
+ if (hasNonceGroup()) {
+ hash = (37 * hash) + NONCE_GROUP_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getNonceGroup());
+ }
+ if (hasNonce()) {
+ hash = (37 * hash) + NONCE_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getNonce());
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -12924,6 +14280,10 @@ public final class MasterProtos {
tableNameBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
+ nonceGroup_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ nonce_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
@@ -12960,6 +14320,14 @@ public final class MasterProtos {
} else {
result.tableName_ = tableNameBuilder_.build();
}
+ if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
+ to_bitField0_ |= 0x00000002;
+ }
+ result.nonceGroup_ = nonceGroup_;
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ result.nonce_ = nonce_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
@@ -12979,6 +14347,12 @@ public final class MasterProtos {
if (other.hasTableName()) {
mergeTableName(other.getTableName());
}
+ if (other.hasNonceGroup()) {
+ setNonceGroup(other.getNonceGroup());
+ }
+ if (other.hasNonce()) {
+ setNonce(other.getNonce());
+ }
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
@@ -13131,6 +14505,72 @@ public final class MasterProtos {
return tableNameBuilder_;
}
+ // optional uint64 nonce_group = 2 [default = 0];
+ private long nonceGroup_ ;
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ public boolean hasNonceGroup() {
+ return ((bitField0_ & 0x00000002) == 0x00000002);
+ }
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ public long getNonceGroup() {
+ return nonceGroup_;
+ }
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ public Builder setNonceGroup(long value) {
+ bitField0_ |= 0x00000002;
+ nonceGroup_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional uint64 nonce_group = 2 [default = 0];</code>
+ */
+ public Builder clearNonceGroup() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ nonceGroup_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ // optional uint64 nonce = 3 [default = 0];
+ private long nonce_ ;
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ public boolean hasNonce() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ public long getNonce() {
+ return nonce_;
+ }
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ public Builder setNonce(long value) {
+ bitField0_ |= 0x00000004;
+ nonce_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional uint64 nonce = 3 [default = 0];</code>
+ */
+ public Builder clearNonce() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ nonce_ = 0L;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:DisableTableRequest)
}
@@ -13606,6 +15046,26 @@ public final class MasterProtos {
* <code>required .TableSchema table_schema = 2;</code>
*/
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchemaOrBuilder getTableSchemaOrBuilder();
+
+ // optional uint64 nonce_group = 3 [default = 0];
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ boolean hasNonceGroup();
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ long getNonceGroup();
+
+ // optional uint64 nonce = 4 [default = 0];
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ boolean hasNonce();
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ long getNonce();
}
/**
* Protobuf type {@code ModifyTableRequest}
@@ -13684,6 +15144,16 @@ public final class MasterProtos {
bitField0_ |= 0x00000002;
break;
}
+ case 24: {
+ bitField0_ |= 0x00000004;
+ nonceGroup_ = input.readUInt64();
+ break;
+ }
+ case 32: {
+ bitField0_ |= 0x00000008;
+ nonce_ = input.readUInt64();
+ break;
+ }
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -13768,9 +15238,43 @@ public final class MasterProtos {
return tableSchema_;
}
+ // optional uint64 nonce_group = 3 [default = 0];
+ public static final int NONCE_GROUP_FIELD_NUMBER = 3;
+ private long nonceGroup_;
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public boolean hasNonceGroup() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public long getNonceGroup() {
+ return nonceGroup_;
+ }
+
+ // optional uint64 nonce = 4 [default = 0];
+ public static final int NONCE_FIELD_NUMBER = 4;
+ private long nonce_;
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public boolean hasNonce() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public long getNonce() {
+ return nonce_;
+ }
+
private void initFields() {
tableName_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.getDefaultInstance();
tableSchema_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema.getDefaultInstance();
+ nonceGroup_ = 0L;
+ nonce_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
@@ -13806,6 +15310,12 @@ public final class MasterProtos {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, tableSchema_);
}
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ output.writeUInt64(3, nonceGroup_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ output.writeUInt64(4, nonce_);
+ }
getUnknownFields().writeTo(output);
}
@@ -13823,6 +15333,14 @@ public final class MasterProtos {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, tableSchema_);
}
+ if (((bitField0_ & 0x00000004) == 0x00000004)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(3, nonceGroup_);
+ }
+ if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeUInt64Size(4, nonce_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
@@ -13856,6 +15374,16 @@ public final class MasterProtos {
result = result && getTableSchema()
.equals(other.getTableSchema());
}
+ result = result && (hasNonceGroup() == other.hasNonceGroup());
+ if (hasNonceGroup()) {
+ result = result && (getNonceGroup()
+ == other.getNonceGroup());
+ }
+ result = result && (hasNonce() == other.hasNonce());
+ if (hasNonce()) {
+ result = result && (getNonce()
+ == other.getNonce());
+ }
result = result &&
getUnknownFields().equals(other.getUnknownFields());
return result;
@@ -13877,6 +15405,14 @@ public final class MasterProtos {
hash = (37 * hash) + TABLE_SCHEMA_FIELD_NUMBER;
hash = (53 * hash) + getTableSchema().hashCode();
}
+ if (hasNonceGroup()) {
+ hash = (37 * hash) + NONCE_GROUP_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getNonceGroup());
+ }
+ if (hasNonce()) {
+ hash = (37 * hash) + NONCE_FIELD_NUMBER;
+ hash = (53 * hash) + hashLong(getNonce());
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -14000,6 +15536,10 @@ public final class MasterProtos {
tableSchemaBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
+ nonceGroup_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000004);
+ nonce_ = 0L;
+ bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@@ -14044,6 +15584,14 @@ public final class MasterProtos {
} else {
result.tableSchema_ = tableSchemaBuilder_.build();
}
+ if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
+ to_bitField0_ |= 0x00000004;
+ }
+ result.nonceGroup_ = nonceGroup_;
+ if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
+ to_bitField0_ |= 0x00000008;
+ }
+ result.nonce_ = nonce_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
@@ -14066,6 +15614,12 @@ public final class MasterProtos {
if (other.hasTableSchema()) {
mergeTableSchema(other.getTableSchema());
}
+ if (other.hasNonceGroup()) {
+ setNonceGroup(other.getNonceGroup());
+ }
+ if (other.hasNonce()) {
+ setNonce(other.getNonce());
+ }
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
@@ -14343,6 +15897,72 @@ public final class MasterProtos {
return tableSchemaBuilder_;
}
+ // optional uint64 nonce_group = 3 [default = 0];
+ private long nonceGroup_ ;
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public boolean hasNonceGroup() {
+ return ((bitField0_ & 0x00000004) == 0x00000004);
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public long getNonceGroup() {
+ return nonceGroup_;
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public Builder setNonceGroup(long value) {
+ bitField0_ |= 0x00000004;
+ nonceGroup_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional uint64 nonce_group = 3 [default = 0];</code>
+ */
+ public Builder clearNonceGroup() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ nonceGroup_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ // optional uint64 nonce = 4 [default = 0];
+ private long nonce_ ;
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public boolean hasNonce() {
+ return ((bitField0_ & 0x00000008) == 0x00000008);
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public long getNonce() {
+ return nonce_;
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public Builder setNonce(long value) {
+ bitField0_ |= 0x00000008;
+ nonce_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * <code>optional uint64 nonce = 4 [default = 0];</code>
+ */
+ public Builder clearNonce() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ nonce_ = 0L;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:ModifyTableRequest)
}
@@ -53312,233 +54932,243 @@ public final class MasterProtos {
java.lang.String[] descriptorData = {
"\n\014Master.proto\032\013HBase.proto\032\014Client.prot" +
"o\032\023ClusterStatus.proto\032\023ErrorHandling.pr" +
- "oto\032\013Quota.proto\"`\n\020AddColumnRequest\022\036\n\n" +
- "table_name\030\001 \002(\0132\n.TableName\022,\n\017column_f" +
- "amilies\030\002 \002(\0132\023.ColumnFamilySchema\"\023\n\021Ad" +
- "dColumnResponse\"J\n\023DeleteColumnRequest\022\036" +
- "\n\ntable_name\030\001 \002(\0132\n.TableName\022\023\n\013column" +
- "_name\030\002 \002(\014\"\026\n\024DeleteColumnResponse\"c\n\023M" +
- "odifyColumnRequest\022\036\n\ntable_name\030\001 \002(\0132\n" +
- ".TableName\022,\n\017column_families\030\002 \002(\0132\023.Co",
- "lumnFamilySchema\"\026\n\024ModifyColumnResponse" +
- "\"\\\n\021MoveRegionRequest\022 \n\006region\030\001 \002(\0132\020." +
- "RegionSpecifier\022%\n\020dest_server_name\030\002 \001(" +
- "\0132\013.ServerName\"\024\n\022MoveRegionResponse\"\200\001\n" +
- "\035DispatchMergingRegionsRequest\022\"\n\010region" +
- "_a\030\001 \002(\0132\020.RegionSpecifier\022\"\n\010region_b\030\002" +
- " \002(\0132\020.RegionSpecifier\022\027\n\010forcible\030\003 \001(\010" +
- ":\005false\" \n\036DispatchMergingRegionsRespons" +
- "e\"7\n\023AssignRegionRequest\022 \n\006region\030\001 \002(\013" +
- "2\020.RegionSpecifier\"\026\n\024AssignRegionRespon",
- "se\"O\n\025UnassignRegionRequest\022 \n\006region\030\001 " +
- "\002(\0132\020.RegionSpecifier\022\024\n\005force\030\002 \001(\010:\005fa" +
- "lse\"\030\n\026UnassignRegionResponse\"8\n\024Offline" +
- "RegionRequest\022 \n\006region\030\001 \002(\0132\020.RegionSp" +
- "ecifier\"\027\n\025OfflineRegionResponse\"L\n\022Crea" +
- "teTableRequest\022\"\n\014table_schema\030\001 \002(\0132\014.T" +
- "ableSchema\022\022\n\nsplit_keys\030\002 \003(\014\"&\n\023Create" +
- "TableResponse\022\017\n\007proc_id\030\001 \001(\004\"4\n\022Delete" +
- "TableRequest\022\036\n\ntable_name\030\001 \002(\0132\n.Table" +
- "Name\"&\n\023DeleteTableResponse\022\017\n\007proc_id\030\001",
- " \001(\004\"T\n\024TruncateTableRequest\022\035\n\ttableNam" +
- "e\030\001 \002(\0132\n.TableName\022\035\n\016preserveSplits\030\002 " +
- "\001(\010:\005false\"(\n\025TruncateTableResponse\022\017\n\007p" +
- "roc_id\030\001 \001(\004\"4\n\022EnableTableRequest\022\036\n\nta" +
- "ble_name\030\001 \002(\0132\n.TableName\"&\n\023EnableTabl" +
- "eResponse\022\017\n\007proc_id\030\001 \001(\004\"5\n\023DisableTab" +
- "leRequest\022\036\n\ntable_name\030\001 \002(\0132\n.TableNam" +
- "e\"\'\n\024DisableTableResponse\022\017\n\007proc_id\030\001 \001" +
- "(\004\"X\n\022ModifyTableRequest\022\036\n\ntable_name\030\001" +
- " \002(\0132\n.TableName\022\"\n\014table_schema\030\002 \002(\0132\014",
- ".TableSchema\"&\n\023ModifyTableResponse\022\017\n\007p" +
- "roc_id\030\001 \001(\004\"K\n\026CreateNamespaceRequest\0221" +
- "\n\023namespaceDescriptor\030\001 \002(\0132\024.NamespaceD" +
- "escriptor\"\031\n\027CreateNamespaceResponse\"/\n\026" +
- "DeleteNamespaceRequest\022\025\n\rnamespaceName\030" +
- "\001 \002(\t\"\031\n\027DeleteNamespaceResponse\"K\n\026Modi" +
- "fyNamespaceRequest\0221\n\023namespaceDescripto" +
- "r\030\001 \002(\0132\024.NamespaceDescriptor\"\031\n\027ModifyN" +
- "amespaceResponse\"6\n\035GetNamespaceDescript" +
- "orRequest\022\025\n\rnamespaceName\030\001 \002(\t\"S\n\036GetN",
- "amespaceDescriptorResponse\0221\n\023namespaceD" +
- "escriptor\030\001 \002(\0132\024.NamespaceDescriptor\"!\n" +
- "\037ListNamespaceDescriptorsRequest\"U\n List" +
- "NamespaceDescriptorsResponse\0221\n\023namespac" +
- "eDescriptor\030\001 \003(\0132\024.NamespaceDescriptor\"" +
- "?\n&ListTableDescriptorsByNamespaceReques" +
- "t\022\025\n\rnamespaceName\030\001 \002(\t\"L\n\'ListTableDes" +
- "criptorsByNamespaceResponse\022!\n\013tableSche" +
- "ma\030\001 \003(\0132\014.TableSchema\"9\n ListTableNames" +
- "ByNamespaceRequest\022\025\n\rnamespaceName\030\001 \002(",
- "\t\"B\n!ListTableNamesByNamespaceResponse\022\035" +
- "\n\ttableName\030\001 \003(\0132\n.TableName\"\021\n\017Shutdow" +
- "nRequest\"\022\n\020ShutdownResponse\"\023\n\021StopMast" +
- "erRequest\"\024\n\022StopMasterResponse\"\020\n\016Balan" +
- "ceRequest\"\'\n\017BalanceResponse\022\024\n\014balancer" +
- "_ran\030\001 \002(\010\"<\n\031SetBalancerRunningRequest\022" +
- "\n\n\002on\030\001 \002(\010\022\023\n\013synchronous\030\002 \001(\010\"8\n\032SetB" +
- "alancerRunningResponse\022\032\n\022prev_balance_v" +
- "alue\030\001 \001(\010\"\032\n\030IsBalancerEnabledRequest\"," +
- "\n\031IsBalancerEnabledResponse\022\017\n\007enabled\030\001",
- " \002(\010\"\027\n\025RunCatalogScanRequest\"-\n\026RunCata" +
- "logScanResponse\022\023\n\013scan_result\030\001 \001(\005\"-\n\033" +
- "EnableCatalogJanitorRequest\022\016\n\006enable\030\001 " +
- "\002(\010\"2\n\034EnableCatalogJanitorResponse\022\022\n\np" +
- "rev_value\030\001 \001(\010\" \n\036IsCatalogJanitorEnabl" +
- "edRequest\"0\n\037IsCatalogJanitorEnabledResp" +
- "onse\022\r\n\005value\030\001 \002(\010\"9\n\017SnapshotRequest\022&" +
- "\n\010snapshot\030\001 \002(\0132\024.SnapshotDescription\"," +
- "\n\020SnapshotResponse\022\030\n\020expected_timeout\030\001" +
- " \002(\003\"\036\n\034GetCompletedSnapshotsRequest\"H\n\035",
- "GetCompletedSnapshotsResponse\022\'\n\tsnapsho" +
- "ts\030\001 \003(\0132\024.SnapshotDescription\"?\n\025Delete" +
- "SnapshotRequest\022&\n\010snapshot\030\001 \002(\0132\024.Snap" +
- "shotDescription\"\030\n\026DeleteSnapshotRespons" +
- "e\"@\n\026RestoreSnapshotRequest\022&\n\010snapshot\030" +
- "\001 \002(\0132\024.SnapshotDescription\"\031\n\027RestoreSn" +
- "apshotResponse\"?\n\025IsSnapshotDoneRequest\022" +
- "&\n\010snapshot\030\001 \001(\0132\024.SnapshotDescription\"" +
- "U\n\026IsSnapshotDoneResponse\022\023\n\004done\030\001 \001(\010:" +
- "\005false\022&\n\010snapshot\030\002 \001(\0132\024.SnapshotDescr",
- "iption\"F\n\034IsRestoreSnapshotDoneRequest\022&" +
- "\n\010snapshot\030\001 \001(\0132\024.SnapshotDescription\"4" +
- "\n\035IsRestoreSnapshotDoneResponse\022\023\n\004done\030" +
- "\001 \001(\010:\005false\"=\n\033GetSchemaAlterStatusRequ" +
- "est\022\036\n\ntable_name\030\001 \002(\0132\n.TableName\"T\n\034G" +
- "etSchemaAlterStatusResponse\022\035\n\025yet_to_up" +
- "date_regions\030\001 \001(\r\022\025\n\rtotal_regions\030\002 \001(" +
- "\r\"\202\001\n\032GetTableDescriptorsRequest\022\037\n\013tabl" +
- "e_names\030\001 \003(\0132\n.TableName\022\r\n\005regex\030\002 \001(\t" +
- "\022!\n\022include_sys_tables\030\003 \001(\010:\005false\022\021\n\tn",
- "amespace\030\004 \001(\t\"A\n\033GetTableDescriptorsRes" +
- "ponse\022\"\n\014table_schema\030\001 \003(\0132\014.TableSchem" +
- "a\"[\n\024GetTableNamesRequest\022\r\n\005regex\030\001 \001(\t" +
- "\022!\n\022include_sys_tables\030\002 \001(\010:\005false\022\021\n\tn" +
- "amespace\030\003 \001(\t\"8\n\025GetTableNamesResponse\022" +
- "\037\n\013table_names\030\001 \003(\0132\n.TableName\"6\n\024GetT" +
- "ableStateRequest\022\036\n\ntable_name\030\001 \002(\0132\n.T" +
- "ableName\"9\n\025GetTableStateResponse\022 \n\013tab" +
- "le_state\030\001 \002(\0132\013.TableState\"\031\n\027GetCluste" +
- "rStatusRequest\"B\n\030GetClusterStatusRespon",
- "se\022&\n\016cluster_status\030\001 \002(\0132\016.ClusterStat" +
- "us\"\030\n\026IsMasterRunningRequest\"4\n\027IsMaster" +
- "RunningResponse\022\031\n\021is_master_running\030\001 \002" +
- "(\010\"@\n\024ExecProcedureRequest\022(\n\tprocedure\030" +
- "\001 \002(\0132\025.ProcedureDescription\"F\n\025ExecProc" +
- "edureResponse\022\030\n\020expected_timeout\030\001 \001(\003\022" +
- "\023\n\013return_data\030\002 \001(\014\"B\n\026IsProcedureDoneR" +
- "equest\022(\n\tprocedure\030\001 \001(\0132\025.ProcedureDes" +
- "cription\"W\n\027IsProcedureDoneResponse\022\023\n\004d" +
- "one\030\001 \001(\010:\005false\022\'\n\010snapshot\030\002 \001(\0132\025.Pro",
- "cedureDescription\",\n\031GetProcedureResultR" +
- "equest\022\017\n\007proc_id\030\001 \002(\004\"\347\001\n\032GetProcedure" +
- "ResultResponse\0220\n\005state\030\001 \002(\0162!.GetProce" +
- "dureResultResponse.State\022\022\n\nstart_time\030\002" +
- " \001(\004\022\023\n\013last_update\030\003 \001(\004\022\016\n\006result\030\004 \001(" +
- "\014\022+\n\texception\030\005 \001(\0132\030.ForeignExceptionM" +
- "essage\"1\n\005State\022\r\n\tNOT_FOUND\020\000\022\013\n\007RUNNIN" +
- "G\020\001\022\014\n\010FINISHED\020\002\"\273\001\n\017SetQuotaRequest\022\021\n" +
- "\tuser_name\030\001 \001(\t\022\022\n\nuser_group\030\002 \001(\t\022\021\n\t" +
- "namespace\030\003 \001(\t\022\036\n\ntable_name\030\004 \001(\0132\n.Ta",
- "bleName\022\022\n\nremove_all\030\005 \001(\010\022\026\n\016bypass_gl" +
- "obals\030\006 \001(\010\022\"\n\010throttle\030\007 \001(\0132\020.Throttle" +
- "Request\"\022\n\020SetQuotaResponse\"A\n\037MajorComp" +
- "actionTimestampRequest\022\036\n\ntable_name\030\001 \002" +
- "(\0132\n.TableName\"L\n(MajorCompactionTimesta" +
- "mpForRegionRequest\022 \n\006region\030\001 \002(\0132\020.Reg" +
- "ionSpecifier\"@\n MajorCompactionTimestamp" +
- "Response\022\034\n\024compaction_timestamp\030\001 \002(\0032\343" +
- "\033\n\rMasterService\022S\n\024GetSchemaAlterStatus" +
- "\022\034.GetSchemaAlterStatusRequest\032\035.GetSche",
- "maAlterStatusResponse\022P\n\023GetTableDescrip" +
- "tors\022\033.GetTableDescriptorsRequest\032\034.GetT" +
- "ableDescriptorsResponse\022>\n\rGetTableNames" +
- "\022\025.GetTableNamesRequest\032\026.GetTableNamesR" +
- "esponse\022G\n\020GetClusterStatus\022\030.GetCluster" +
- "StatusRequest\032\031.GetClusterStatusResponse" +
- "\022D\n\017IsMasterRunning\022\027.IsMasterRunningReq" +
- "uest\032\030.IsMasterRunningResponse\0222\n\tAddCol" +
- "umn\022\021.AddColumnRequest\032\022.AddColumnRespon" +
- "se\022;\n\014DeleteColumn\022\024.DeleteColumnRequest",
- "\032\025.DeleteColumnResponse\022;\n\014ModifyColumn\022" +
- "\024.ModifyColumnRequest\032\025.ModifyColumnResp" +
- "onse\0225\n\nMoveRegion\022\022.MoveRegionRequest\032\023" +
- ".MoveRegionResponse\022Y\n\026DispatchMergingRe" +
- "gions\022\036.DispatchMergingRegionsRequest\032\037." +
- "DispatchMergingRegionsResponse\022;\n\014Assign" +
- "Region\022\024.AssignRegionRequest\032\025.AssignReg" +
- "ionResponse\022A\n\016UnassignRegion\022\026.Unassign" +
- "RegionRequest\032\027.UnassignRegionResponse\022>" +
- "\n\rOfflineRegion\022\025.OfflineRegionRequest\032\026",
- ".OfflineRegionResponse\0228\n\013DeleteTable\022\023." +
- "DeleteTableRequest\032\024.DeleteTableResponse" +
- "\022>\n\rtruncateTable\022\025.TruncateTableRequest" +
- "\032\026.TruncateTableResponse\0228\n\013EnableTable\022" +
- "\023.EnableTableRequest\032\024.EnableTableRespon" +
- "se\022;\n\014DisableTable\022\024.DisableTableRequest" +
- "\032\025.DisableTableResponse\0228\n\013ModifyTable\022\023" +
- ".ModifyTableRequest\032\024.ModifyTableRespons" +
- "e\0228\n\013CreateTable\022\023.CreateTableRequest\032\024." +
- "CreateTableResponse\022/\n\010Shutdown\022\020.Shutdo",
- "wnRequest\032\021.ShutdownResponse\0225\n\nStopMast" +
- "er\022\022.StopMasterRequest\032\023.StopMasterRespo" +
- "nse\022,\n\007Balance\022\017.BalanceRequest\032\020.Balanc" +
- "eResponse\022M\n\022SetBalancerRunning\022\032.SetBal" +
- "ancerRunningRequest\032\033.SetBalancerRunning" +
- "Response\022J\n\021IsBalancerEnabled\022\031.IsBalanc" +
- "erEnabledRequest\032\032.IsBalancerEnabledResp" +
- "onse\022A\n\016RunCatalogScan\022\026.RunCatalogScanR" +
- "equest\032\027.RunCatalogScanResponse\022S\n\024Enabl" +
- "eCatalogJanitor\022\034.EnableCatalogJanitorRe",
- "quest\032\035.EnableCatalogJanitorResponse\022\\\n\027" +
- "IsCatalogJanitorEnabled\022\037.IsCatalogJanit" +
- "orEnabledRequest\032 .IsCatalogJanitorEnabl" +
- "edResponse\022L\n\021ExecMasterService\022\032.Coproc" +
- "essorServiceRequest\032\033.CoprocessorService" +
- "Response\022/\n\010Snapshot\022\020.SnapshotRequest\032\021" +
- ".SnapshotResponse\022V\n\025GetCompletedSnapsho" +
- "ts\022\035.GetCompletedSnapshotsRequest\032\036.GetC" +
- "ompletedSnapshotsResponse\022A\n\016DeleteSnaps" +
- "hot\022\026.DeleteSnapshotRequest\032\027.DeleteSnap",
- "shotResponse\022A\n\016IsSnapshotDone\022\026.IsSnaps" +
- "hotDoneRequest\032\027.IsSnapshotDon
<TRUNCATED>