From 9f2fa39a137429ea09167f26183fbae69a1e4ad8 Mon Sep 17 00:00:00 2001 From: Balazs Meszaros Date: Tue, 14 Mar 2017 11:22:03 +0100 Subject: [PATCH] HBASE-17898 Update dependencies Removed dependencies: - commons-codec (guava has the same functions) - commons-collections (guava has similar functions) - commons-net Updated dependencies: - hadoop-two: 2.7.1 -> 2.8.0 - commons-cli: 1.3.1 -> 1.4 - commons-io: 2.4 -> 2.5 - guava: 12.0.1 -> 15.0 - jetty: 9.3.8.v20160314 -> 9.4.3.v20170317 - protobuf: 2.5.0 -> 2.6.1 - ... --- hbase-client/pom.xml | 4 - .../org/apache/hadoop/hbase/security/SaslUtil.java | 8 +- .../hadoop/hbase/client/TestClientNoCluster.java | 10 +- hbase-common/pom.xml | 10 - .../apache/hadoop/hbase/CompoundConfiguration.java | 27 +- .../metrics2/lib/DynamicMetricsRegistry.java | 4 +- .../procedure2/store/wal/WALProcedureStore.java | 6 +- .../coprocessor/protobuf/generated/PingProtos.java | 398 ++-- .../protobuf/generated/TestProcedureProtos.java | 61 +- .../hbase/ipc/protobuf/generated/TestProtos.java | 260 +-- .../protobuf/generated/TestRpcServiceProtos.java | 15 +- .../protobuf/generated/AccessControlProtos.java | 649 +++--- .../hbase/protobuf/generated/AdminProtos.java | 1560 ++++++++------- .../protobuf/generated/AuthenticationProtos.java | 331 ++-- .../hbase/protobuf/generated/CellProtos.java | 134 +- .../hbase/protobuf/generated/ClientProtos.java | 2070 +++++++++----------- .../hbase/protobuf/generated/ClusterIdProtos.java | 62 +- .../protobuf/generated/ClusterStatusProtos.java | 650 +++--- .../hbase/protobuf/generated/ComparatorProtos.java | 421 ++-- .../hbase/protobuf/generated/EncryptionProtos.java | 74 +- .../protobuf/generated/ErrorHandlingProtos.java | 220 ++- .../hadoop/hbase/protobuf/generated/FSProtos.java | 104 +- .../hbase/protobuf/generated/FilterProtos.java | 1248 ++++++------ .../hbase/protobuf/generated/HBaseProtos.java | 1318 ++++++------- .../hbase/protobuf/generated/HFileProtos.java | 159 +- .../protobuf/generated/LoadBalancerProtos.java | 53 +- .../hbase/protobuf/generated/MapReduceProtos.java | 121 +- .../protobuf/generated/MultiRowMutationProtos.java | 171 +- .../hbase/protobuf/generated/QuotaProtos.java | 260 ++- .../hadoop/hbase/protobuf/generated/RPCProtos.java | 409 ++-- .../protobuf/generated/RowProcessorProtos.java | 128 +- .../hbase/protobuf/generated/SnapshotProtos.java | 292 ++- .../hbase/protobuf/generated/TracingProtos.java | 59 +- .../protobuf/generated/VisibilityLabelsProtos.java | 420 ++-- .../hadoop/hbase/protobuf/generated/WALProtos.java | 744 +++---- .../hbase/protobuf/generated/ZooKeeperProtos.java | 498 +++-- .../apache/hadoop/hbase/rest/RowResourceBase.java | 6 +- hbase-rsgroup/pom.xml | 4 - hbase-server/pom.xml | 8 - .../hadoop/hbase/io/hfile/LruBlockCache.java | 4 + .../hbase/io/hfile/bucket/BucketAllocator.java | 38 +- .../apache/hadoop/hbase/mapreduce/SyncTable.java | 4 +- .../hadoop/hbase/monitoring/TaskMonitor.java | 36 +- .../apache/hadoop/hbase/regionserver/HRegion.java | 4 +- .../MultiVersionConcurrencyControl.java | 1 + .../hbase/regionserver/RegionCoprocessorHost.java | 50 +- .../HBaseInterClusterReplicationEndpoint.java | 8 - .../regionserver/ReplicationSource.java | 18 +- .../visibility/VisibilityReplicationEndpoint.java | 46 + .../apache/hadoop/hbase/util/JvmPauseMonitor.java | 17 +- .../hadoop/hbase/ScanPerformanceEvaluation.java | 74 +- .../compactions/MockStoreFileGenerator.java | 1 + .../hbase/replication/TestReplicationSource.java | 4 +- ...stRegionReplicaReplicationEndpointNoMaster.java | 4 +- hbase-thrift/pom.xml | 4 - .../hadoop/hbase/thrift2/ThriftUtilities.java | 13 +- .../thrift2/TestThriftHBaseServiceHandler.java | 6 +- pom.xml | 64 +- 58 files changed, 6399 insertions(+), 6973 deletions(-) diff --git a/hbase-client/pom.xml b/hbase-client/pom.xml index d76049f..dc497db 100644 --- a/hbase-client/pom.xml +++ b/hbase-client/pom.xml @@ -126,10 +126,6 @@ - commons-codec - commons-codec - - commons-io commons-io diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/security/SaslUtil.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/security/SaslUtil.java index aaa9d7a..4d64b9b 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/security/SaslUtil.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/security/SaslUtil.java @@ -30,12 +30,16 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.hbase.classification.InterfaceAudience; +import com.google.common.io.BaseEncoding; + @InterfaceAudience.Private public class SaslUtil { private static final Log LOG = LogFactory.getLog(SaslUtil.class); public static final String SASL_DEFAULT_REALM = "default"; public static final int SWITCH_TO_SIMPLE_AUTH = -88; + private static final BaseEncoding BASE64 = BaseEncoding.base64(); + public enum QualityOfProtection { AUTHENTICATION("auth"), INTEGRITY("auth-int"), @@ -67,11 +71,11 @@ public class SaslUtil { } static String encodeIdentifier(byte[] identifier) { - return new String(Base64.encodeBase64(identifier)); + return BASE64.encode(identifier); } static byte[] decodeIdentifier(String identifier) { - return Base64.decodeBase64(identifier.getBytes()); + return BASE64.decode(identifier); } static char[] encodePassword(byte[] password) { diff --git a/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestClientNoCluster.java b/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestClientNoCluster.java index d20c7c8..b4e582c 100644 --- a/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestClientNoCluster.java +++ b/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestClientNoCluster.java @@ -30,6 +30,7 @@ import java.util.SortedMap; import java.util.concurrent.ConcurrentSkipListMap; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; +import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicLong; import org.apache.hadoop.hbase.CellComparator; @@ -722,14 +723,13 @@ public class TestClientNoCluster extends Configured implements Tool { TableName tableName = TableName.valueOf(BIG_USER_TABLE); if (get) { try (Table table = sharedConnection.getTable(tableName)){ - Stopwatch stopWatch = new Stopwatch(); - stopWatch.start(); + Stopwatch stopWatch = Stopwatch.createStarted(); for (int i = 0; i < namespaceSpan; i++) { byte [] b = format(rd.nextLong()); Get g = new Get(b); table.get(g); if (i % printInterval == 0) { - LOG.info("Get " + printInterval + "/" + stopWatch.elapsedMillis()); + LOG.info("Get " + printInterval + "/" + stopWatch.elapsed(TimeUnit.MILLISECONDS)); stopWatch.reset(); stopWatch.start(); } @@ -739,7 +739,7 @@ public class TestClientNoCluster extends Configured implements Tool { } } else { try (BufferedMutator mutator = sharedConnection.getBufferedMutator(tableName)) { - Stopwatch stopWatch = new Stopwatch(); + Stopwatch stopWatch = Stopwatch.createStarted(); stopWatch.start(); for (int i = 0; i < namespaceSpan; i++) { byte [] b = format(rd.nextLong()); @@ -747,7 +747,7 @@ public class TestClientNoCluster extends Configured implements Tool { p.addColumn(HConstants.CATALOG_FAMILY, b, b); mutator.mutate(p); if (i % printInterval == 0) { - LOG.info("Put " + printInterval + "/" + stopWatch.elapsedMillis()); + LOG.info("Put " + printInterval + "/" + stopWatch.elapsed(TimeUnit.MILLISECONDS)); stopWatch.reset(); stopWatch.start(); } diff --git a/hbase-common/pom.xml b/hbase-common/pom.xml index baabe56..45b3d63 100644 --- a/hbase-common/pom.xml +++ b/hbase-common/pom.xml @@ -230,21 +230,11 @@ commons-logging - commons-codec - commons-codec - compile - - commons-lang commons-lang compile - commons-collections - commons-collections - compile - - commons-io commons-io compile diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/CompoundConfiguration.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/CompoundConfiguration.java index 5812cca..c24c0a0 100644 --- a/hbase-common/src/main/java/org/apache/hadoop/hbase/CompoundConfiguration.java +++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/CompoundConfiguration.java @@ -28,11 +28,12 @@ import java.util.Iterator; import java.util.List; import java.util.Map; -import org.apache.commons.collections.iterators.UnmodifiableIterator; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.classification.InterfaceAudience; import org.apache.hadoop.hbase.util.Bytes; +import com.google.common.collect.Iterators; + /** * Do a shallow merge of multiple KV configuration pools. This is a very useful * utility class to easily add per-object configurations in addition to wider @@ -47,10 +48,10 @@ import org.apache.hadoop.hbase.util.Bytes; * configuration objects and have changes reflected everywhere. In contrast to a * deep merge, that requires you to explicitly know all applicable copies to * propagate changes. - * + * * WARNING: The values set in the CompoundConfiguration are do not handle Property variable * substitution. However, if they are set in the underlying configuration substitutions are - * done. + * done. */ @InterfaceAudience.Private public class CompoundConfiguration extends Configuration { @@ -76,7 +77,7 @@ public class CompoundConfiguration extends Configuration { static class ImmutableConfWrapper implements ImmutableConfigMap { private final Configuration c; - + ImmutableConfWrapper(Configuration conf) { c = conf; } @@ -85,7 +86,7 @@ public class CompoundConfiguration extends Configuration { public Iterator> iterator() { return c.iterator(); } - + @Override public String get(String key) { return c.get(key); @@ -174,7 +175,7 @@ public class CompoundConfiguration extends Configuration { } return ret.entrySet().iterator(); } - + @Override public String get(String key) { Bytes ibw = new Bytes(Bytes @@ -324,7 +325,7 @@ public class CompoundConfiguration extends Configuration { } // TODO: This method overestimates the number of configuration settings -- if a value is masked - // by an overriding config or map, it will be counted multiple times. + // by an overriding config or map, it will be counted multiple times. @Override public int size() { int ret = 0; @@ -349,13 +350,13 @@ public class CompoundConfiguration extends Configuration { * The CompooundConfiguration does not do property substitution. To do so we need * Configuration.getProps to be protected or package visible. Though in hadoop2 it is * protected, in hadoop1 the method is private and not accessible. - * + * * All of the get* methods call this overridden get method. - * + * * @param name property name. * @param defaultValue default value. - * @return property value, or defaultValue if the property - * doesn't exist. + * @return property value, or defaultValue if the property + * doesn't exist. **/ @Override public String get(String name, String defaultValue) { @@ -388,7 +389,7 @@ public class CompoundConfiguration extends Configuration { } } - return UnmodifiableIterator.decorate(ret.entrySet().iterator()); + return Iterators.unmodifiableIterator(ret.entrySet().iterator()); } @Override @@ -402,7 +403,7 @@ public class CompoundConfiguration extends Configuration { /*********************************************************************************************** * These methods are unsupported, and no code using CompoundConfiguration depend upon them. - * Quickly abort upon any attempts to use them. + * Quickly abort upon any attempts to use them. **********************************************************************************************/ @Override diff --git a/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/metrics2/lib/DynamicMetricsRegistry.java b/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/metrics2/lib/DynamicMetricsRegistry.java index 977536a..08c779d 100644 --- a/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/metrics2/lib/DynamicMetricsRegistry.java +++ b/hbase-hadoop2-compat/src/main/java/org/apache/hadoop/metrics2/lib/DynamicMetricsRegistry.java @@ -243,7 +243,7 @@ public class DynamicMetricsRegistry { MutableHistogram histo = new MutableHistogram(name, desc); return addNewMetricIfAbsent(name, histo, MutableHistogram.class); } - + /** * Create a new histogram with time range counts. * @param name Name of the histogram. @@ -263,7 +263,7 @@ public class DynamicMetricsRegistry { MutableTimeHistogram histo = new MutableTimeHistogram(name, desc); return addNewMetricIfAbsent(name, histo, MutableTimeHistogram.class); } - + /** * Create a new histogram with size range counts. * @param name Name of the histogram. diff --git a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/store/wal/WALProcedureStore.java b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/store/wal/WALProcedureStore.java index 4712c30..02f1a2b 100644 --- a/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/store/wal/WALProcedureStore.java +++ b/hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/store/wal/WALProcedureStore.java @@ -36,7 +36,6 @@ import java.util.concurrent.atomic.AtomicReference; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.ReentrantLock; -import org.apache.commons.collections.buffer.CircularFifoBuffer; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.conf.Configuration; @@ -58,6 +57,7 @@ import org.apache.hadoop.hbase.util.Threads; import org.apache.hadoop.ipc.RemoteException; import com.google.common.annotations.VisibleForTesting; +import com.google.common.collect.EvictingQueue; /** * WAL implementation of the ProcedureStore. @@ -153,7 +153,7 @@ public class WALProcedureStore extends ProcedureStoreBase { private int syncWaitMsec; // Variables used for UI display - private CircularFifoBuffer syncMetricsBuffer; + private EvictingQueue syncMetricsBuffer; public static class SyncMetrics { private long timestamp; @@ -221,7 +221,7 @@ public class WALProcedureStore extends ProcedureStoreBase { useHsync = conf.getBoolean(USE_HSYNC_CONF_KEY, DEFAULT_USE_HSYNC); // WebUI - syncMetricsBuffer = new CircularFifoBuffer( + syncMetricsBuffer = EvictingQueue.create( conf.getInt(STORE_WAL_SYNC_STATS_COUNT, DEFAULT_SYNC_STATS_COUNT)); // Init sync thread diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/coprocessor/protobuf/generated/PingProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/coprocessor/protobuf/generated/PingProtos.java index 57903cd..3cc5012 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/coprocessor/protobuf/generated/PingProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/coprocessor/protobuf/generated/PingProtos.java @@ -8,15 +8,17 @@ public final class PingProtos { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } - public interface PingRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface PingRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:PingRequest) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code PingRequest} */ public static final class PingRequest extends - com.google.protobuf.GeneratedMessage - implements PingRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:PingRequest) + PingRequestOrBuilder { // Use PingRequest.newBuilder() to construct. private PingRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -105,7 +107,8 @@ public final class PingProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -151,7 +154,6 @@ public final class PingProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -234,8 +236,9 @@ public final class PingProtos { * Protobuf type {@code PingRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.PingRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:PingRequest) + org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.PingRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.internal_static_PingRequest_descriptor; @@ -346,10 +349,10 @@ public final class PingProtos { // @@protoc_insertion_point(class_scope:PingRequest) } - public interface PingResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface PingResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:PingResponse) + com.google.protobuf.MessageOrBuilder { - // required string pong = 1; /** * required string pong = 1; */ @@ -368,8 +371,9 @@ public final class PingProtos { * Protobuf type {@code PingResponse} */ public static final class PingResponse extends - com.google.protobuf.GeneratedMessage - implements PingResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:PingResponse) + PingResponseOrBuilder { // Use PingResponse.newBuilder() to construct. private PingResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -416,8 +420,9 @@ public final class PingProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - pong_ = input.readBytes(); + pong_ = bs; break; } } @@ -460,7 +465,6 @@ public final class PingProtos { } private int bitField0_; - // required string pong = 1; public static final int PONG_FIELD_NUMBER = 1; private java.lang.Object pong_; /** @@ -509,7 +513,8 @@ public final class PingProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasPong()) { memoizedIsInitialized = 0; @@ -571,7 +576,6 @@ public final class PingProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -658,8 +662,9 @@ public final class PingProtos { * Protobuf type {@code PingResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.PingResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:PingResponse) + org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.PingResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.internal_static_PingResponse_descriptor; @@ -778,7 +783,6 @@ public final class PingProtos { } private int bitField0_; - // required string pong = 1; private java.lang.Object pong_ = ""; /** * required string pong = 1; @@ -792,9 +796,12 @@ public final class PingProtos { public java.lang.String getPong() { java.lang.Object ref = pong_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - pong_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + pong_ = s; + } return s; } else { return (java.lang.String) ref; @@ -863,15 +870,17 @@ public final class PingProtos { // @@protoc_insertion_point(class_scope:PingResponse) } - public interface CountRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface CountRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:CountRequest) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code CountRequest} */ public static final class CountRequest extends - com.google.protobuf.GeneratedMessage - implements CountRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:CountRequest) + CountRequestOrBuilder { // Use CountRequest.newBuilder() to construct. private CountRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -960,7 +969,8 @@ public final class PingProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -1006,7 +1016,6 @@ public final class PingProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1089,8 +1098,9 @@ public final class PingProtos { * Protobuf type {@code CountRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.CountRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:CountRequest) + org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.CountRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.internal_static_CountRequest_descriptor; @@ -1201,10 +1211,10 @@ public final class PingProtos { // @@protoc_insertion_point(class_scope:CountRequest) } - public interface CountResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface CountResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:CountResponse) + com.google.protobuf.MessageOrBuilder { - // required int32 count = 1; /** * required int32 count = 1; */ @@ -1218,8 +1228,9 @@ public final class PingProtos { * Protobuf type {@code CountResponse} */ public static final class CountResponse extends - com.google.protobuf.GeneratedMessage - implements CountResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:CountResponse) + CountResponseOrBuilder { // Use CountResponse.newBuilder() to construct. private CountResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1310,7 +1321,6 @@ public final class PingProtos { } private int bitField0_; - // required int32 count = 1; public static final int COUNT_FIELD_NUMBER = 1; private int count_; /** @@ -1332,7 +1342,8 @@ public final class PingProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasCount()) { memoizedIsInitialized = 0; @@ -1394,7 +1405,6 @@ public final class PingProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1481,8 +1491,9 @@ public final class PingProtos { * Protobuf type {@code CountResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.CountResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:CountResponse) + org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.CountResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.internal_static_CountResponse_descriptor; @@ -1599,7 +1610,6 @@ public final class PingProtos { } private int bitField0_; - // required int32 count = 1; private int count_ ; /** * required int32 count = 1; @@ -1643,10 +1653,10 @@ public final class PingProtos { // @@protoc_insertion_point(class_scope:CountResponse) } - public interface IncrementCountRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface IncrementCountRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:IncrementCountRequest) + com.google.protobuf.MessageOrBuilder { - // required int32 diff = 1; /** * required int32 diff = 1; */ @@ -1660,8 +1670,9 @@ public final class PingProtos { * Protobuf type {@code IncrementCountRequest} */ public static final class IncrementCountRequest extends - com.google.protobuf.GeneratedMessage - implements IncrementCountRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:IncrementCountRequest) + IncrementCountRequestOrBuilder { // Use IncrementCountRequest.newBuilder() to construct. private IncrementCountRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1752,7 +1763,6 @@ public final class PingProtos { } private int bitField0_; - // required int32 diff = 1; public static final int DIFF_FIELD_NUMBER = 1; private int diff_; /** @@ -1774,7 +1784,8 @@ public final class PingProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasDiff()) { memoizedIsInitialized = 0; @@ -1836,7 +1847,6 @@ public final class PingProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1923,8 +1933,9 @@ public final class PingProtos { * Protobuf type {@code IncrementCountRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.IncrementCountRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:IncrementCountRequest) + org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.IncrementCountRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.internal_static_IncrementCountRequest_descriptor; @@ -2041,7 +2052,6 @@ public final class PingProtos { } private int bitField0_; - // required int32 diff = 1; private int diff_ ; /** * required int32 diff = 1; @@ -2085,10 +2095,10 @@ public final class PingProtos { // @@protoc_insertion_point(class_scope:IncrementCountRequest) } - public interface IncrementCountResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface IncrementCountResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:IncrementCountResponse) + com.google.protobuf.MessageOrBuilder { - // required int32 count = 1; /** * required int32 count = 1; */ @@ -2102,8 +2112,9 @@ public final class PingProtos { * Protobuf type {@code IncrementCountResponse} */ public static final class IncrementCountResponse extends - com.google.protobuf.GeneratedMessage - implements IncrementCountResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:IncrementCountResponse) + IncrementCountResponseOrBuilder { // Use IncrementCountResponse.newBuilder() to construct. private IncrementCountResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2194,7 +2205,6 @@ public final class PingProtos { } private int bitField0_; - // required int32 count = 1; public static final int COUNT_FIELD_NUMBER = 1; private int count_; /** @@ -2216,7 +2226,8 @@ public final class PingProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasCount()) { memoizedIsInitialized = 0; @@ -2278,7 +2289,6 @@ public final class PingProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2365,8 +2375,9 @@ public final class PingProtos { * Protobuf type {@code IncrementCountResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.IncrementCountResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:IncrementCountResponse) + org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.IncrementCountResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.internal_static_IncrementCountResponse_descriptor; @@ -2483,7 +2494,6 @@ public final class PingProtos { } private int bitField0_; - // required int32 count = 1; private int count_ ; /** * required int32 count = 1; @@ -2527,10 +2537,10 @@ public final class PingProtos { // @@protoc_insertion_point(class_scope:IncrementCountResponse) } - public interface HelloRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface HelloRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:HelloRequest) + com.google.protobuf.MessageOrBuilder { - // optional string name = 1; /** * optional string name = 1; */ @@ -2549,8 +2559,9 @@ public final class PingProtos { * Protobuf type {@code HelloRequest} */ public static final class HelloRequest extends - com.google.protobuf.GeneratedMessage - implements HelloRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:HelloRequest) + HelloRequestOrBuilder { // Use HelloRequest.newBuilder() to construct. private HelloRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2597,8 +2608,9 @@ public final class PingProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - name_ = input.readBytes(); + name_ = bs; break; } } @@ -2641,7 +2653,6 @@ public final class PingProtos { } private int bitField0_; - // optional string name = 1; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; /** @@ -2690,7 +2701,8 @@ public final class PingProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -2748,7 +2760,6 @@ public final class PingProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2835,8 +2846,9 @@ public final class PingProtos { * Protobuf type {@code HelloRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.HelloRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:HelloRequest) + org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.HelloRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.internal_static_HelloRequest_descriptor; @@ -2951,7 +2963,6 @@ public final class PingProtos { } private int bitField0_; - // optional string name = 1; private java.lang.Object name_ = ""; /** * optional string name = 1; @@ -2965,9 +2976,12 @@ public final class PingProtos { public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - name_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } return s; } else { return (java.lang.String) ref; @@ -3036,10 +3050,10 @@ public final class PingProtos { // @@protoc_insertion_point(class_scope:HelloRequest) } - public interface HelloResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface HelloResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:HelloResponse) + com.google.protobuf.MessageOrBuilder { - // optional string response = 1; /** * optional string response = 1; */ @@ -3058,8 +3072,9 @@ public final class PingProtos { * Protobuf type {@code HelloResponse} */ public static final class HelloResponse extends - com.google.protobuf.GeneratedMessage - implements HelloResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:HelloResponse) + HelloResponseOrBuilder { // Use HelloResponse.newBuilder() to construct. private HelloResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -3106,8 +3121,9 @@ public final class PingProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - response_ = input.readBytes(); + response_ = bs; break; } } @@ -3150,7 +3166,6 @@ public final class PingProtos { } private int bitField0_; - // optional string response = 1; public static final int RESPONSE_FIELD_NUMBER = 1; private java.lang.Object response_; /** @@ -3199,7 +3214,8 @@ public final class PingProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -3257,7 +3273,6 @@ public final class PingProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -3344,8 +3359,9 @@ public final class PingProtos { * Protobuf type {@code HelloResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.HelloResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:HelloResponse) + org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.HelloResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.internal_static_HelloResponse_descriptor; @@ -3460,7 +3476,6 @@ public final class PingProtos { } private int bitField0_; - // optional string response = 1; private java.lang.Object response_ = ""; /** * optional string response = 1; @@ -3474,9 +3489,12 @@ public final class PingProtos { public java.lang.String getResponse() { java.lang.Object ref = response_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - response_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + response_ = s; + } return s; } else { return (java.lang.String) ref; @@ -3545,15 +3563,17 @@ public final class PingProtos { // @@protoc_insertion_point(class_scope:HelloResponse) } - public interface NoopRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface NoopRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:NoopRequest) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code NoopRequest} */ public static final class NoopRequest extends - com.google.protobuf.GeneratedMessage - implements NoopRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:NoopRequest) + NoopRequestOrBuilder { // Use NoopRequest.newBuilder() to construct. private NoopRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -3642,7 +3662,8 @@ public final class PingProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -3688,7 +3709,6 @@ public final class PingProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -3771,8 +3791,9 @@ public final class PingProtos { * Protobuf type {@code NoopRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.NoopRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:NoopRequest) + org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.NoopRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.internal_static_NoopRequest_descriptor; @@ -3883,15 +3904,17 @@ public final class PingProtos { // @@protoc_insertion_point(class_scope:NoopRequest) } - public interface NoopResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface NoopResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:NoopResponse) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code NoopResponse} */ public static final class NoopResponse extends - com.google.protobuf.GeneratedMessage - implements NoopResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:NoopResponse) + NoopResponseOrBuilder { // Use NoopResponse.newBuilder() to construct. private NoopResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -3980,7 +4003,8 @@ public final class PingProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -4026,7 +4050,6 @@ public final class PingProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -4109,8 +4132,9 @@ public final class PingProtos { * Protobuf type {@code NoopResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.NoopResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:NoopResponse) + org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.NoopResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.coprocessor.protobuf.generated.PingProtos.internal_static_NoopResponse_descriptor; @@ -4737,52 +4761,52 @@ public final class PingProtos { // @@protoc_insertion_point(class_scope:PingService) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_PingRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_PingRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_PingResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_PingResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_CountRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CountRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_CountResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_CountResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_IncrementCountRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_IncrementCountRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_IncrementCountResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_IncrementCountResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_HelloRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_HelloRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_HelloResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_HelloResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_NoopRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_NoopRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_NoopResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -4813,77 +4837,77 @@ public final class PingProtos { ".protobuf.generatedB\nPingProtos\210\001\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_PingRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_PingRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_PingRequest_descriptor, - new java.lang.String[] { }); - internal_static_PingResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_PingResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_PingResponse_descriptor, - new java.lang.String[] { "Pong", }); - internal_static_CountRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_CountRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_CountRequest_descriptor, - new java.lang.String[] { }); - internal_static_CountResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_CountResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_CountResponse_descriptor, - new java.lang.String[] { "Count", }); - internal_static_IncrementCountRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_IncrementCountRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_IncrementCountRequest_descriptor, - new java.lang.String[] { "Diff", }); - internal_static_IncrementCountResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_IncrementCountResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_IncrementCountResponse_descriptor, - new java.lang.String[] { "Count", }); - internal_static_HelloRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_HelloRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_HelloRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_HelloResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_HelloResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_HelloResponse_descriptor, - new java.lang.String[] { "Response", }); - internal_static_NoopRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_NoopRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_NoopRequest_descriptor, - new java.lang.String[] { }); - internal_static_NoopResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_NoopResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_NoopResponse_descriptor, - new java.lang.String[] { }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); + internal_static_PingRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_PingRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_PingRequest_descriptor, + new java.lang.String[] { }); + internal_static_PingResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_PingResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_PingResponse_descriptor, + new java.lang.String[] { "Pong", }); + internal_static_CountRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_CountRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_CountRequest_descriptor, + new java.lang.String[] { }); + internal_static_CountResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_CountResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_CountResponse_descriptor, + new java.lang.String[] { "Count", }); + internal_static_IncrementCountRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_IncrementCountRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_IncrementCountRequest_descriptor, + new java.lang.String[] { "Diff", }); + internal_static_IncrementCountResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_IncrementCountResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_IncrementCountResponse_descriptor, + new java.lang.String[] { "Count", }); + internal_static_HelloRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_HelloRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_HelloRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_HelloResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_HelloResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_HelloResponse_descriptor, + new java.lang.String[] { "Response", }); + internal_static_NoopRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_NoopRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_NoopRequest_descriptor, + new java.lang.String[] { }); + internal_static_NoopResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_NoopResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_NoopResponse_descriptor, + new java.lang.String[] { }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/ipc/protobuf/generated/TestProcedureProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/ipc/protobuf/generated/TestProcedureProtos.java index f065550..2e46150 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/ipc/protobuf/generated/TestProcedureProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/ipc/protobuf/generated/TestProcedureProtos.java @@ -8,10 +8,10 @@ public final class TestProcedureProtos { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } - public interface TestTableDDLStateDataOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface TestTableDDLStateDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:TestTableDDLStateData) + com.google.protobuf.MessageOrBuilder { - // required string table_name = 1; /** * required string table_name = 1; */ @@ -30,8 +30,9 @@ public final class TestProcedureProtos { * Protobuf type {@code TestTableDDLStateData} */ public static final class TestTableDDLStateData extends - com.google.protobuf.GeneratedMessage - implements TestTableDDLStateDataOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:TestTableDDLStateData) + TestTableDDLStateDataOrBuilder { // Use TestTableDDLStateData.newBuilder() to construct. private TestTableDDLStateData(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -78,8 +79,9 @@ public final class TestProcedureProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - tableName_ = input.readBytes(); + tableName_ = bs; break; } } @@ -122,7 +124,6 @@ public final class TestProcedureProtos { } private int bitField0_; - // required string table_name = 1; public static final int TABLE_NAME_FIELD_NUMBER = 1; private java.lang.Object tableName_; /** @@ -171,7 +172,8 @@ public final class TestProcedureProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasTableName()) { memoizedIsInitialized = 0; @@ -282,8 +284,9 @@ public final class TestProcedureProtos { * Protobuf type {@code TestTableDDLStateData} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.ipc.protobuf.generated.TestProcedureProtos.TestTableDDLStateDataOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:TestTableDDLStateData) + org.apache.hadoop.hbase.ipc.protobuf.generated.TestProcedureProtos.TestTableDDLStateDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.ipc.protobuf.generated.TestProcedureProtos.internal_static_TestTableDDLStateData_descriptor; @@ -402,7 +405,6 @@ public final class TestProcedureProtos { } private int bitField0_; - // required string table_name = 1; private java.lang.Object tableName_ = ""; /** * required string table_name = 1; @@ -416,9 +418,12 @@ public final class TestProcedureProtos { public java.lang.String getTableName() { java.lang.Object ref = tableName_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - tableName_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + tableName_ = s; + } return s; } else { return (java.lang.String) ref; @@ -487,7 +492,7 @@ public final class TestProcedureProtos { // @@protoc_insertion_point(class_scope:TestTableDDLStateData) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_TestTableDDLStateData_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -507,23 +512,23 @@ public final class TestProcedureProtos { "stProcedureProtos\210\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_TestTableDDLStateData_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_TestTableDDLStateData_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_TestTableDDLStateData_descriptor, - new java.lang.String[] { "TableName", }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); + internal_static_TestTableDDLStateData_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_TestTableDDLStateData_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_TestTableDDLStateData_descriptor, + new java.lang.String[] { "TableName", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/ipc/protobuf/generated/TestProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/ipc/protobuf/generated/TestProtos.java index 58e248e..00408fe 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/ipc/protobuf/generated/TestProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/ipc/protobuf/generated/TestProtos.java @@ -8,15 +8,17 @@ public final class TestProtos { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } - public interface EmptyRequestProtoOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface EmptyRequestProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:EmptyRequestProto) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code EmptyRequestProto} */ public static final class EmptyRequestProto extends - com.google.protobuf.GeneratedMessage - implements EmptyRequestProtoOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:EmptyRequestProto) + EmptyRequestProtoOrBuilder { // Use EmptyRequestProto.newBuilder() to construct. private EmptyRequestProto(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -105,7 +107,8 @@ public final class TestProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -151,7 +154,6 @@ public final class TestProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -234,8 +236,9 @@ public final class TestProtos { * Protobuf type {@code EmptyRequestProto} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos.EmptyRequestProtoOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:EmptyRequestProto) + org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos.EmptyRequestProtoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos.internal_static_EmptyRequestProto_descriptor; @@ -346,15 +349,17 @@ public final class TestProtos { // @@protoc_insertion_point(class_scope:EmptyRequestProto) } - public interface EmptyResponseProtoOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface EmptyResponseProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:EmptyResponseProto) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code EmptyResponseProto} */ public static final class EmptyResponseProto extends - com.google.protobuf.GeneratedMessage - implements EmptyResponseProtoOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:EmptyResponseProto) + EmptyResponseProtoOrBuilder { // Use EmptyResponseProto.newBuilder() to construct. private EmptyResponseProto(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -443,7 +448,8 @@ public final class TestProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -489,7 +495,6 @@ public final class TestProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -572,8 +577,9 @@ public final class TestProtos { * Protobuf type {@code EmptyResponseProto} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos.EmptyResponseProtoOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:EmptyResponseProto) + org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos.EmptyResponseProtoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos.internal_static_EmptyResponseProto_descriptor; @@ -684,10 +690,10 @@ public final class TestProtos { // @@protoc_insertion_point(class_scope:EmptyResponseProto) } - public interface EchoRequestProtoOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface EchoRequestProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:EchoRequestProto) + com.google.protobuf.MessageOrBuilder { - // required string message = 1; /** * required string message = 1; */ @@ -706,8 +712,9 @@ public final class TestProtos { * Protobuf type {@code EchoRequestProto} */ public static final class EchoRequestProto extends - com.google.protobuf.GeneratedMessage - implements EchoRequestProtoOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:EchoRequestProto) + EchoRequestProtoOrBuilder { // Use EchoRequestProto.newBuilder() to construct. private EchoRequestProto(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -754,8 +761,9 @@ public final class TestProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - message_ = input.readBytes(); + message_ = bs; break; } } @@ -798,7 +806,6 @@ public final class TestProtos { } private int bitField0_; - // required string message = 1; public static final int MESSAGE_FIELD_NUMBER = 1; private java.lang.Object message_; /** @@ -847,7 +854,8 @@ public final class TestProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasMessage()) { memoizedIsInitialized = 0; @@ -909,7 +917,6 @@ public final class TestProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -996,8 +1003,9 @@ public final class TestProtos { * Protobuf type {@code EchoRequestProto} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos.EchoRequestProtoOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:EchoRequestProto) + org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos.EchoRequestProtoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos.internal_static_EchoRequestProto_descriptor; @@ -1116,7 +1124,6 @@ public final class TestProtos { } private int bitField0_; - // required string message = 1; private java.lang.Object message_ = ""; /** * required string message = 1; @@ -1130,9 +1137,12 @@ public final class TestProtos { public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - message_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + message_ = s; + } return s; } else { return (java.lang.String) ref; @@ -1201,10 +1211,10 @@ public final class TestProtos { // @@protoc_insertion_point(class_scope:EchoRequestProto) } - public interface EchoResponseProtoOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface EchoResponseProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:EchoResponseProto) + com.google.protobuf.MessageOrBuilder { - // required string message = 1; /** * required string message = 1; */ @@ -1223,8 +1233,9 @@ public final class TestProtos { * Protobuf type {@code EchoResponseProto} */ public static final class EchoResponseProto extends - com.google.protobuf.GeneratedMessage - implements EchoResponseProtoOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:EchoResponseProto) + EchoResponseProtoOrBuilder { // Use EchoResponseProto.newBuilder() to construct. private EchoResponseProto(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1271,8 +1282,9 @@ public final class TestProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - message_ = input.readBytes(); + message_ = bs; break; } } @@ -1315,7 +1327,6 @@ public final class TestProtos { } private int bitField0_; - // required string message = 1; public static final int MESSAGE_FIELD_NUMBER = 1; private java.lang.Object message_; /** @@ -1364,7 +1375,8 @@ public final class TestProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasMessage()) { memoizedIsInitialized = 0; @@ -1426,7 +1438,6 @@ public final class TestProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1513,8 +1524,9 @@ public final class TestProtos { * Protobuf type {@code EchoResponseProto} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos.EchoResponseProtoOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:EchoResponseProto) + org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos.EchoResponseProtoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos.internal_static_EchoResponseProto_descriptor; @@ -1633,7 +1645,6 @@ public final class TestProtos { } private int bitField0_; - // required string message = 1; private java.lang.Object message_ = ""; /** * required string message = 1; @@ -1647,9 +1658,12 @@ public final class TestProtos { public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - message_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + message_ = s; + } return s; } else { return (java.lang.String) ref; @@ -1718,10 +1732,10 @@ public final class TestProtos { // @@protoc_insertion_point(class_scope:EchoResponseProto) } - public interface PauseRequestProtoOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface PauseRequestProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:PauseRequestProto) + com.google.protobuf.MessageOrBuilder { - // required uint32 ms = 1; /** * required uint32 ms = 1; */ @@ -1735,8 +1749,9 @@ public final class TestProtos { * Protobuf type {@code PauseRequestProto} */ public static final class PauseRequestProto extends - com.google.protobuf.GeneratedMessage - implements PauseRequestProtoOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:PauseRequestProto) + PauseRequestProtoOrBuilder { // Use PauseRequestProto.newBuilder() to construct. private PauseRequestProto(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1827,7 +1842,6 @@ public final class TestProtos { } private int bitField0_; - // required uint32 ms = 1; public static final int MS_FIELD_NUMBER = 1; private int ms_; /** @@ -1849,7 +1863,8 @@ public final class TestProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasMs()) { memoizedIsInitialized = 0; @@ -1911,7 +1926,6 @@ public final class TestProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1998,8 +2012,9 @@ public final class TestProtos { * Protobuf type {@code PauseRequestProto} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos.PauseRequestProtoOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:PauseRequestProto) + org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos.PauseRequestProtoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos.internal_static_PauseRequestProto_descriptor; @@ -2116,7 +2131,6 @@ public final class TestProtos { } private int bitField0_; - // required uint32 ms = 1; private int ms_ ; /** * required uint32 ms = 1; @@ -2160,10 +2174,10 @@ public final class TestProtos { // @@protoc_insertion_point(class_scope:PauseRequestProto) } - public interface AddrResponseProtoOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface AddrResponseProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:AddrResponseProto) + com.google.protobuf.MessageOrBuilder { - // required string addr = 1; /** * required string addr = 1; */ @@ -2182,8 +2196,9 @@ public final class TestProtos { * Protobuf type {@code AddrResponseProto} */ public static final class AddrResponseProto extends - com.google.protobuf.GeneratedMessage - implements AddrResponseProtoOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:AddrResponseProto) + AddrResponseProtoOrBuilder { // Use AddrResponseProto.newBuilder() to construct. private AddrResponseProto(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2230,8 +2245,9 @@ public final class TestProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - addr_ = input.readBytes(); + addr_ = bs; break; } } @@ -2274,7 +2290,6 @@ public final class TestProtos { } private int bitField0_; - // required string addr = 1; public static final int ADDR_FIELD_NUMBER = 1; private java.lang.Object addr_; /** @@ -2323,7 +2338,8 @@ public final class TestProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasAddr()) { memoizedIsInitialized = 0; @@ -2385,7 +2401,6 @@ public final class TestProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2472,8 +2487,9 @@ public final class TestProtos { * Protobuf type {@code AddrResponseProto} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos.AddrResponseProtoOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:AddrResponseProto) + org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos.AddrResponseProtoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos.internal_static_AddrResponseProto_descriptor; @@ -2592,7 +2608,6 @@ public final class TestProtos { } private int bitField0_; - // required string addr = 1; private java.lang.Object addr_ = ""; /** * required string addr = 1; @@ -2606,9 +2621,12 @@ public final class TestProtos { public java.lang.String getAddr() { java.lang.Object ref = addr_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - addr_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + addr_ = s; + } return s; } else { return (java.lang.String) ref; @@ -2677,32 +2695,32 @@ public final class TestProtos { // @@protoc_insertion_point(class_scope:AddrResponseProto) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_EmptyRequestProto_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_EmptyRequestProto_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_EmptyResponseProto_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_EmptyResponseProto_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_EchoRequestProto_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_EchoRequestProto_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_EchoResponseProto_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_EchoResponseProto_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_PauseRequestProto_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_PauseRequestProto_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_AddrResponseProto_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -2725,53 +2743,53 @@ public final class TestProtos { "eneratedB\nTestProtos\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_EmptyRequestProto_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_EmptyRequestProto_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_EmptyRequestProto_descriptor, - new java.lang.String[] { }); - internal_static_EmptyResponseProto_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_EmptyResponseProto_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_EmptyResponseProto_descriptor, - new java.lang.String[] { }); - internal_static_EchoRequestProto_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_EchoRequestProto_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_EchoRequestProto_descriptor, - new java.lang.String[] { "Message", }); - internal_static_EchoResponseProto_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_EchoResponseProto_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_EchoResponseProto_descriptor, - new java.lang.String[] { "Message", }); - internal_static_PauseRequestProto_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_PauseRequestProto_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_PauseRequestProto_descriptor, - new java.lang.String[] { "Ms", }); - internal_static_AddrResponseProto_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_AddrResponseProto_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_AddrResponseProto_descriptor, - new java.lang.String[] { "Addr", }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); + internal_static_EmptyRequestProto_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_EmptyRequestProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_EmptyRequestProto_descriptor, + new java.lang.String[] { }); + internal_static_EmptyResponseProto_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_EmptyResponseProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_EmptyResponseProto_descriptor, + new java.lang.String[] { }); + internal_static_EchoRequestProto_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_EchoRequestProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_EchoRequestProto_descriptor, + new java.lang.String[] { "Message", }); + internal_static_EchoResponseProto_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_EchoResponseProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_EchoResponseProto_descriptor, + new java.lang.String[] { "Message", }); + internal_static_PauseRequestProto_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_PauseRequestProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_PauseRequestProto_descriptor, + new java.lang.String[] { "Ms", }); + internal_static_AddrResponseProto_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_AddrResponseProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_AddrResponseProto_descriptor, + new java.lang.String[] { "Addr", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/ipc/protobuf/generated/TestRpcServiceProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/ipc/protobuf/generated/TestRpcServiceProtos.java index a5b1777..3f53e21 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/ipc/protobuf/generated/TestRpcServiceProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/ipc/protobuf/generated/TestRpcServiceProtos.java @@ -550,18 +550,19 @@ public final class TestRpcServiceProtos { "tRpcServiceProtos\210\001\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos.getDescriptor(), }, assigner); + org.apache.hadoop.hbase.ipc.protobuf.generated.TestProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/AccessControlProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/AccessControlProtos.java index b72e6e5..5e733ce 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/AccessControlProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/AccessControlProtos.java @@ -8,10 +8,10 @@ public final class AccessControlProtos { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } - public interface PermissionOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface PermissionOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.Permission) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.Permission.Type type = 1; /** * required .hbase.pb.Permission.Type type = 1; */ @@ -21,7 +21,6 @@ public final class AccessControlProtos { */ org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Type getType(); - // optional .hbase.pb.GlobalPermission global_permission = 2; /** * optional .hbase.pb.GlobalPermission global_permission = 2; */ @@ -35,7 +34,6 @@ public final class AccessControlProtos { */ org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GlobalPermissionOrBuilder getGlobalPermissionOrBuilder(); - // optional .hbase.pb.NamespacePermission namespace_permission = 3; /** * optional .hbase.pb.NamespacePermission namespace_permission = 3; */ @@ -49,7 +47,6 @@ public final class AccessControlProtos { */ org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.NamespacePermissionOrBuilder getNamespacePermissionOrBuilder(); - // optional .hbase.pb.TablePermission table_permission = 4; /** * optional .hbase.pb.TablePermission table_permission = 4; */ @@ -67,8 +64,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.Permission} */ public static final class Permission extends - com.google.protobuf.GeneratedMessage - implements PermissionOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.Permission) + PermissionOrBuilder { // Use Permission.newBuilder() to construct. private Permission(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -404,7 +402,6 @@ public final class AccessControlProtos { } private int bitField0_; - // required .hbase.pb.Permission.Type type = 1; public static final int TYPE_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Type type_; /** @@ -420,7 +417,6 @@ public final class AccessControlProtos { return type_; } - // optional .hbase.pb.GlobalPermission global_permission = 2; public static final int GLOBAL_PERMISSION_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GlobalPermission globalPermission_; /** @@ -442,7 +438,6 @@ public final class AccessControlProtos { return globalPermission_; } - // optional .hbase.pb.NamespacePermission namespace_permission = 3; public static final int NAMESPACE_PERMISSION_FIELD_NUMBER = 3; private org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.NamespacePermission namespacePermission_; /** @@ -464,7 +459,6 @@ public final class AccessControlProtos { return namespacePermission_; } - // optional .hbase.pb.TablePermission table_permission = 4; public static final int TABLE_PERMISSION_FIELD_NUMBER = 4; private org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.TablePermission tablePermission_; /** @@ -495,7 +489,8 @@ public final class AccessControlProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasType()) { memoizedIsInitialized = 0; @@ -599,7 +594,6 @@ public final class AccessControlProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -609,7 +603,8 @@ public final class AccessControlProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getType()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getType()); } if (hasGlobalPermission()) { hash = (37 * hash) + GLOBAL_PERMISSION_FIELD_NUMBER; @@ -698,8 +693,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.Permission} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.PermissionOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.Permission) + org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.PermissionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_Permission_descriptor; @@ -876,7 +872,6 @@ public final class AccessControlProtos { } private int bitField0_; - // required .hbase.pb.Permission.Type type = 1; private org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Type type_ = org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Type.Global; /** * required .hbase.pb.Permission.Type type = 1; @@ -912,7 +907,6 @@ public final class AccessControlProtos { return this; } - // optional .hbase.pb.GlobalPermission global_permission = 2; private org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GlobalPermission globalPermission_ = org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GlobalPermission.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GlobalPermission, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GlobalPermission.Builder, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GlobalPermissionOrBuilder> globalPermissionBuilder_; @@ -1021,7 +1015,7 @@ public final class AccessControlProtos { if (globalPermissionBuilder_ == null) { globalPermissionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GlobalPermission, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GlobalPermission.Builder, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GlobalPermissionOrBuilder>( - globalPermission_, + getGlobalPermission(), getParentForChildren(), isClean()); globalPermission_ = null; @@ -1029,7 +1023,6 @@ public final class AccessControlProtos { return globalPermissionBuilder_; } - // optional .hbase.pb.NamespacePermission namespace_permission = 3; private org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.NamespacePermission namespacePermission_ = org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.NamespacePermission.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.NamespacePermission, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.NamespacePermission.Builder, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.NamespacePermissionOrBuilder> namespacePermissionBuilder_; @@ -1138,7 +1131,7 @@ public final class AccessControlProtos { if (namespacePermissionBuilder_ == null) { namespacePermissionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.NamespacePermission, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.NamespacePermission.Builder, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.NamespacePermissionOrBuilder>( - namespacePermission_, + getNamespacePermission(), getParentForChildren(), isClean()); namespacePermission_ = null; @@ -1146,7 +1139,6 @@ public final class AccessControlProtos { return namespacePermissionBuilder_; } - // optional .hbase.pb.TablePermission table_permission = 4; private org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.TablePermission tablePermission_ = org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.TablePermission.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.TablePermission, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.TablePermission.Builder, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.TablePermissionOrBuilder> tablePermissionBuilder_; @@ -1255,7 +1247,7 @@ public final class AccessControlProtos { if (tablePermissionBuilder_ == null) { tablePermissionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.TablePermission, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.TablePermission.Builder, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.TablePermissionOrBuilder>( - tablePermission_, + getTablePermission(), getParentForChildren(), isClean()); tablePermission_ = null; @@ -1274,10 +1266,10 @@ public final class AccessControlProtos { // @@protoc_insertion_point(class_scope:hbase.pb.Permission) } - public interface TablePermissionOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface TablePermissionOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.TablePermission) + com.google.protobuf.MessageOrBuilder { - // optional .hbase.pb.TableName table_name = 1; /** * optional .hbase.pb.TableName table_name = 1; */ @@ -1291,7 +1283,6 @@ public final class AccessControlProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder getTableNameOrBuilder(); - // optional bytes family = 2; /** * optional bytes family = 2; */ @@ -1301,7 +1292,6 @@ public final class AccessControlProtos { */ com.google.protobuf.ByteString getFamily(); - // optional bytes qualifier = 3; /** * optional bytes qualifier = 3; */ @@ -1311,7 +1301,6 @@ public final class AccessControlProtos { */ com.google.protobuf.ByteString getQualifier(); - // repeated .hbase.pb.Permission.Action action = 4; /** * repeated .hbase.pb.Permission.Action action = 4; */ @@ -1329,8 +1318,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.TablePermission} */ public static final class TablePermission extends - com.google.protobuf.GeneratedMessage - implements TablePermissionOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.TablePermission) + TablePermissionOrBuilder { // Use TablePermission.newBuilder() to construct. private TablePermission(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1404,7 +1394,7 @@ public final class AccessControlProtos { org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action value = org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(4, rawValue); - } else { + } else { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { action_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; @@ -1421,7 +1411,7 @@ public final class AccessControlProtos { org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action value = org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(4, rawValue); - } else { + } else { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { action_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; @@ -1475,7 +1465,6 @@ public final class AccessControlProtos { } private int bitField0_; - // optional .hbase.pb.TableName table_name = 1; public static final int TABLE_NAME_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName tableName_; /** @@ -1497,7 +1486,6 @@ public final class AccessControlProtos { return tableName_; } - // optional bytes family = 2; public static final int FAMILY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString family_; /** @@ -1513,7 +1501,6 @@ public final class AccessControlProtos { return family_; } - // optional bytes qualifier = 3; public static final int QUALIFIER_FIELD_NUMBER = 3; private com.google.protobuf.ByteString qualifier_; /** @@ -1529,7 +1516,6 @@ public final class AccessControlProtos { return qualifier_; } - // repeated .hbase.pb.Permission.Action action = 4; public static final int ACTION_FIELD_NUMBER = 4; private java.util.List action_; /** @@ -1560,7 +1546,8 @@ public final class AccessControlProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (hasTableName()) { if (!getTableName().isInitialized()) { @@ -1662,7 +1649,6 @@ public final class AccessControlProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1684,7 +1670,8 @@ public final class AccessControlProtos { } if (getActionCount() > 0) { hash = (37 * hash) + ACTION_FIELD_NUMBER; - hash = (53 * hash) + hashEnumList(getActionList()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnumList( + getActionList()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -1761,8 +1748,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.TablePermission} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.TablePermissionOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.TablePermission) + org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.TablePermissionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_TablePermission_descriptor; @@ -1925,7 +1913,6 @@ public final class AccessControlProtos { } private int bitField0_; - // optional .hbase.pb.TableName table_name = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName tableName_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder> tableNameBuilder_; @@ -2034,7 +2021,7 @@ public final class AccessControlProtos { if (tableNameBuilder_ == null) { tableNameBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder>( - tableName_, + getTableName(), getParentForChildren(), isClean()); tableName_ = null; @@ -2042,7 +2029,6 @@ public final class AccessControlProtos { return tableNameBuilder_; } - // optional bytes family = 2; private com.google.protobuf.ByteString family_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes family = 2; @@ -2078,7 +2064,6 @@ public final class AccessControlProtos { return this; } - // optional bytes qualifier = 3; private com.google.protobuf.ByteString qualifier_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes qualifier = 3; @@ -2114,7 +2099,6 @@ public final class AccessControlProtos { return this; } - // repeated .hbase.pb.Permission.Action action = 4; private java.util.List action_ = java.util.Collections.emptyList(); private void ensureActionIsMutable() { @@ -2172,7 +2156,8 @@ public final class AccessControlProtos { public Builder addAllAction( java.lang.Iterable values) { ensureActionIsMutable(); - super.addAll(values, action_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, action_); onChanged(); return this; } @@ -2197,10 +2182,10 @@ public final class AccessControlProtos { // @@protoc_insertion_point(class_scope:hbase.pb.TablePermission) } - public interface NamespacePermissionOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface NamespacePermissionOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.NamespacePermission) + com.google.protobuf.MessageOrBuilder { - // optional bytes namespace_name = 1; /** * optional bytes namespace_name = 1; */ @@ -2210,7 +2195,6 @@ public final class AccessControlProtos { */ com.google.protobuf.ByteString getNamespaceName(); - // repeated .hbase.pb.Permission.Action action = 2; /** * repeated .hbase.pb.Permission.Action action = 2; */ @@ -2228,8 +2212,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.NamespacePermission} */ public static final class NamespacePermission extends - com.google.protobuf.GeneratedMessage - implements NamespacePermissionOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.NamespacePermission) + NamespacePermissionOrBuilder { // Use NamespacePermission.newBuilder() to construct. private NamespacePermission(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2285,7 +2270,7 @@ public final class AccessControlProtos { org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action value = org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(2, rawValue); - } else { + } else { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { action_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; @@ -2302,7 +2287,7 @@ public final class AccessControlProtos { org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action value = org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(2, rawValue); - } else { + } else { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { action_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; @@ -2356,7 +2341,6 @@ public final class AccessControlProtos { } private int bitField0_; - // optional bytes namespace_name = 1; public static final int NAMESPACE_NAME_FIELD_NUMBER = 1; private com.google.protobuf.ByteString namespaceName_; /** @@ -2372,7 +2356,6 @@ public final class AccessControlProtos { return namespaceName_; } - // repeated .hbase.pb.Permission.Action action = 2; public static final int ACTION_FIELD_NUMBER = 2; private java.util.List action_; /** @@ -2401,7 +2384,8 @@ public final class AccessControlProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -2473,7 +2457,6 @@ public final class AccessControlProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2487,7 +2470,8 @@ public final class AccessControlProtos { } if (getActionCount() > 0) { hash = (37 * hash) + ACTION_FIELD_NUMBER; - hash = (53 * hash) + hashEnumList(getActionList()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnumList( + getActionList()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -2564,8 +2548,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.NamespacePermission} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.NamespacePermissionOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.NamespacePermission) + org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.NamespacePermissionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_NamespacePermission_descriptor; @@ -2695,7 +2680,6 @@ public final class AccessControlProtos { } private int bitField0_; - // optional bytes namespace_name = 1; private com.google.protobuf.ByteString namespaceName_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes namespace_name = 1; @@ -2731,7 +2715,6 @@ public final class AccessControlProtos { return this; } - // repeated .hbase.pb.Permission.Action action = 2; private java.util.List action_ = java.util.Collections.emptyList(); private void ensureActionIsMutable() { @@ -2789,7 +2772,8 @@ public final class AccessControlProtos { public Builder addAllAction( java.lang.Iterable values) { ensureActionIsMutable(); - super.addAll(values, action_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, action_); onChanged(); return this; } @@ -2814,10 +2798,10 @@ public final class AccessControlProtos { // @@protoc_insertion_point(class_scope:hbase.pb.NamespacePermission) } - public interface GlobalPermissionOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface GlobalPermissionOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.GlobalPermission) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.Permission.Action action = 1; /** * repeated .hbase.pb.Permission.Action action = 1; */ @@ -2835,8 +2819,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.GlobalPermission} */ public static final class GlobalPermission extends - com.google.protobuf.GeneratedMessage - implements GlobalPermissionOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.GlobalPermission) + GlobalPermissionOrBuilder { // Use GlobalPermission.newBuilder() to construct. private GlobalPermission(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2887,7 +2872,7 @@ public final class AccessControlProtos { org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action value = org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); - } else { + } else { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { action_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; @@ -2904,7 +2889,7 @@ public final class AccessControlProtos { org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action value = org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Action.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); - } else { + } else { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { action_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; @@ -2957,7 +2942,6 @@ public final class AccessControlProtos { return PARSER; } - // repeated .hbase.pb.Permission.Action action = 1; public static final int ACTION_FIELD_NUMBER = 1; private java.util.List action_; /** @@ -2985,7 +2969,8 @@ public final class AccessControlProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -3045,7 +3030,6 @@ public final class AccessControlProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -3055,7 +3039,8 @@ public final class AccessControlProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (getActionCount() > 0) { hash = (37 * hash) + ACTION_FIELD_NUMBER; - hash = (53 * hash) + hashEnumList(getActionList()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnumList( + getActionList()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -3132,8 +3117,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.GlobalPermission} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GlobalPermissionOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.GlobalPermission) + org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GlobalPermissionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GlobalPermission_descriptor; @@ -3252,7 +3238,6 @@ public final class AccessControlProtos { } private int bitField0_; - // repeated .hbase.pb.Permission.Action action = 1; private java.util.List action_ = java.util.Collections.emptyList(); private void ensureActionIsMutable() { @@ -3310,7 +3295,8 @@ public final class AccessControlProtos { public Builder addAllAction( java.lang.Iterable values) { ensureActionIsMutable(); - super.addAll(values, action_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, action_); onChanged(); return this; } @@ -3335,10 +3321,10 @@ public final class AccessControlProtos { // @@protoc_insertion_point(class_scope:hbase.pb.GlobalPermission) } - public interface UserPermissionOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface UserPermissionOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.UserPermission) + com.google.protobuf.MessageOrBuilder { - // required bytes user = 1; /** * required bytes user = 1; */ @@ -3348,7 +3334,6 @@ public final class AccessControlProtos { */ com.google.protobuf.ByteString getUser(); - // required .hbase.pb.Permission permission = 3; /** * required .hbase.pb.Permission permission = 3; */ @@ -3366,8 +3351,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.UserPermission} */ public static final class UserPermission extends - com.google.protobuf.GeneratedMessage - implements UserPermissionOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.UserPermission) + UserPermissionOrBuilder { // Use UserPermission.newBuilder() to construct. private UserPermission(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -3471,7 +3457,6 @@ public final class AccessControlProtos { } private int bitField0_; - // required bytes user = 1; public static final int USER_FIELD_NUMBER = 1; private com.google.protobuf.ByteString user_; /** @@ -3487,7 +3472,6 @@ public final class AccessControlProtos { return user_; } - // required .hbase.pb.Permission permission = 3; public static final int PERMISSION_FIELD_NUMBER = 3; private org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission permission_; /** @@ -3516,7 +3500,8 @@ public final class AccessControlProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasUser()) { memoizedIsInitialized = 0; @@ -3598,7 +3583,6 @@ public final class AccessControlProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -3689,8 +3673,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.UserPermission} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.UserPermission) + org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_UserPermission_descriptor; @@ -3833,7 +3818,6 @@ public final class AccessControlProtos { } private int bitField0_; - // required bytes user = 1; private com.google.protobuf.ByteString user_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes user = 1; @@ -3869,7 +3853,6 @@ public final class AccessControlProtos { return this; } - // required .hbase.pb.Permission permission = 3; private org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission permission_ = org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Builder, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.PermissionOrBuilder> permissionBuilder_; @@ -3978,7 +3961,7 @@ public final class AccessControlProtos { if (permissionBuilder_ == null) { permissionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Builder, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.PermissionOrBuilder>( - permission_, + getPermission(), getParentForChildren(), isClean()); permission_ = null; @@ -3997,10 +3980,10 @@ public final class AccessControlProtos { // @@protoc_insertion_point(class_scope:hbase.pb.UserPermission) } - public interface UsersAndPermissionsOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface UsersAndPermissionsOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.UsersAndPermissions) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; /** * repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; */ @@ -4034,8 +4017,9 @@ public final class AccessControlProtos { * */ public static final class UsersAndPermissions extends - com.google.protobuf.GeneratedMessage - implements UsersAndPermissionsOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.UsersAndPermissions) + UsersAndPermissionsOrBuilder { // Use UsersAndPermissions.newBuilder() to construct. private UsersAndPermissions(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -4131,10 +4115,10 @@ public final class AccessControlProtos { return PARSER; } - public interface UserPermissionsOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface UserPermissionsOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.UsersAndPermissions.UserPermissions) + com.google.protobuf.MessageOrBuilder { - // required bytes user = 1; /** * required bytes user = 1; */ @@ -4144,7 +4128,6 @@ public final class AccessControlProtos { */ com.google.protobuf.ByteString getUser(); - // repeated .hbase.pb.Permission permissions = 2; /** * repeated .hbase.pb.Permission permissions = 2; */ @@ -4173,8 +4156,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.UsersAndPermissions.UserPermissions} */ public static final class UserPermissions extends - com.google.protobuf.GeneratedMessage - implements UserPermissionsOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.UsersAndPermissions.UserPermissions) + UserPermissionsOrBuilder { // Use UserPermissions.newBuilder() to construct. private UserPermissions(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -4276,7 +4260,6 @@ public final class AccessControlProtos { } private int bitField0_; - // required bytes user = 1; public static final int USER_FIELD_NUMBER = 1; private com.google.protobuf.ByteString user_; /** @@ -4292,7 +4275,6 @@ public final class AccessControlProtos { return user_; } - // repeated .hbase.pb.Permission permissions = 2; public static final int PERMISSIONS_FIELD_NUMBER = 2; private java.util.List permissions_; /** @@ -4335,7 +4317,8 @@ public final class AccessControlProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasUser()) { memoizedIsInitialized = 0; @@ -4412,7 +4395,6 @@ public final class AccessControlProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -4503,8 +4485,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.UsersAndPermissions.UserPermissions} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissionsOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.UsersAndPermissions.UserPermissions) + org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissions.UserPermissionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_UsersAndPermissions_UserPermissions_descriptor; @@ -4669,7 +4652,6 @@ public final class AccessControlProtos { } private int bitField0_; - // required bytes user = 1; private com.google.protobuf.ByteString user_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes user = 1; @@ -4705,7 +4687,6 @@ public final class AccessControlProtos { return this; } - // repeated .hbase.pb.Permission permissions = 2; private java.util.List permissions_ = java.util.Collections.emptyList(); private void ensurePermissionsIsMutable() { @@ -4847,7 +4828,8 @@ public final class AccessControlProtos { java.lang.Iterable values) { if (permissionsBuilder_ == null) { ensurePermissionsIsMutable(); - super.addAll(values, permissions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, permissions_); onChanged(); } else { permissionsBuilder_.addAllMessages(values); @@ -4956,7 +4938,6 @@ public final class AccessControlProtos { // @@protoc_insertion_point(class_scope:hbase.pb.UsersAndPermissions.UserPermissions) } - // repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; public static final int USER_PERMISSIONS_FIELD_NUMBER = 1; private java.util.List userPermissions_; /** @@ -4998,7 +4979,8 @@ public final class AccessControlProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getUserPermissionsCount(); i++) { if (!getUserPermissions(i).isInitialized()) { @@ -5059,7 +5041,6 @@ public final class AccessControlProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -5151,8 +5132,9 @@ public final class AccessControlProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissionsOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.UsersAndPermissions) + org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UsersAndPermissionsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_UsersAndPermissions_descriptor; @@ -5302,7 +5284,6 @@ public final class AccessControlProtos { } private int bitField0_; - // repeated .hbase.pb.UsersAndPermissions.UserPermissions user_permissions = 1; private java.util.List userPermissions_ = java.util.Collections.emptyList(); private void ensureUserPermissionsIsMutable() { @@ -5444,7 +5425,8 @@ public final class AccessControlProtos { java.lang.Iterable values) { if (userPermissionsBuilder_ == null) { ensureUserPermissionsIsMutable(); - super.addAll(values, userPermissions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, userPermissions_); onChanged(); } else { userPermissionsBuilder_.addAllMessages(values); @@ -5553,10 +5535,10 @@ public final class AccessControlProtos { // @@protoc_insertion_point(class_scope:hbase.pb.UsersAndPermissions) } - public interface GrantRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface GrantRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.GrantRequest) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.UserPermission user_permission = 1; /** * required .hbase.pb.UserPermission user_permission = 1; */ @@ -5570,7 +5552,6 @@ public final class AccessControlProtos { */ org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder getUserPermissionOrBuilder(); - // optional bool merge_existing_permissions = 2 [default = false]; /** * optional bool merge_existing_permissions = 2 [default = false]; */ @@ -5584,8 +5565,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.GrantRequest} */ public static final class GrantRequest extends - com.google.protobuf.GeneratedMessage - implements GrantRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.GrantRequest) + GrantRequestOrBuilder { // Use GrantRequest.newBuilder() to construct. private GrantRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -5689,7 +5671,6 @@ public final class AccessControlProtos { } private int bitField0_; - // required .hbase.pb.UserPermission user_permission = 1; public static final int USER_PERMISSION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermission userPermission_; /** @@ -5711,7 +5692,6 @@ public final class AccessControlProtos { return userPermission_; } - // optional bool merge_existing_permissions = 2 [default = false]; public static final int MERGE_EXISTING_PERMISSIONS_FIELD_NUMBER = 2; private boolean mergeExistingPermissions_; /** @@ -5734,7 +5714,8 @@ public final class AccessControlProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasUserPermission()) { memoizedIsInitialized = 0; @@ -5812,7 +5793,6 @@ public final class AccessControlProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -5826,7 +5806,8 @@ public final class AccessControlProtos { } if (hasMergeExistingPermissions()) { hash = (37 * hash) + MERGE_EXISTING_PERMISSIONS_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getMergeExistingPermissions()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getMergeExistingPermissions()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -5903,8 +5884,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.GrantRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GrantRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.GrantRequest) + org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GrantRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GrantRequest_descriptor; @@ -6043,7 +6025,6 @@ public final class AccessControlProtos { } private int bitField0_; - // required .hbase.pb.UserPermission user_permission = 1; private org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermission userPermission_ = org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermission.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermission, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermission.Builder, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder> userPermissionBuilder_; @@ -6152,7 +6133,7 @@ public final class AccessControlProtos { if (userPermissionBuilder_ == null) { userPermissionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermission, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermission.Builder, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder>( - userPermission_, + getUserPermission(), getParentForChildren(), isClean()); userPermission_ = null; @@ -6160,7 +6141,6 @@ public final class AccessControlProtos { return userPermissionBuilder_; } - // optional bool merge_existing_permissions = 2 [default = false]; private boolean mergeExistingPermissions_ ; /** * optional bool merge_existing_permissions = 2 [default = false]; @@ -6204,15 +6184,17 @@ public final class AccessControlProtos { // @@protoc_insertion_point(class_scope:hbase.pb.GrantRequest) } - public interface GrantResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface GrantResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.GrantResponse) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.GrantResponse} */ public static final class GrantResponse extends - com.google.protobuf.GeneratedMessage - implements GrantResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.GrantResponse) + GrantResponseOrBuilder { // Use GrantResponse.newBuilder() to construct. private GrantResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -6301,7 +6283,8 @@ public final class AccessControlProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -6347,7 +6330,6 @@ public final class AccessControlProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -6430,8 +6412,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.GrantResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GrantResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.GrantResponse) + org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GrantResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GrantResponse_descriptor; @@ -6542,10 +6525,10 @@ public final class AccessControlProtos { // @@protoc_insertion_point(class_scope:hbase.pb.GrantResponse) } - public interface RevokeRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RevokeRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.RevokeRequest) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.UserPermission user_permission = 1; /** * required .hbase.pb.UserPermission user_permission = 1; */ @@ -6563,8 +6546,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.RevokeRequest} */ public static final class RevokeRequest extends - com.google.protobuf.GeneratedMessage - implements RevokeRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.RevokeRequest) + RevokeRequestOrBuilder { // Use RevokeRequest.newBuilder() to construct. private RevokeRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -6663,7 +6647,6 @@ public final class AccessControlProtos { } private int bitField0_; - // required .hbase.pb.UserPermission user_permission = 1; public static final int USER_PERMISSION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermission userPermission_; /** @@ -6691,7 +6674,8 @@ public final class AccessControlProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasUserPermission()) { memoizedIsInitialized = 0; @@ -6757,7 +6741,6 @@ public final class AccessControlProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -6844,8 +6827,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.RevokeRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.RevokeRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.RevokeRequest) + org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.RevokeRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_RevokeRequest_descriptor; @@ -6975,7 +6959,6 @@ public final class AccessControlProtos { } private int bitField0_; - // required .hbase.pb.UserPermission user_permission = 1; private org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermission userPermission_ = org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermission.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermission, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermission.Builder, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder> userPermissionBuilder_; @@ -7084,7 +7067,7 @@ public final class AccessControlProtos { if (userPermissionBuilder_ == null) { userPermissionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermission, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermission.Builder, org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.UserPermissionOrBuilder>( - userPermission_, + getUserPermission(), getParentForChildren(), isClean()); userPermission_ = null; @@ -7103,15 +7086,17 @@ public final class AccessControlProtos { // @@protoc_insertion_point(class_scope:hbase.pb.RevokeRequest) } - public interface RevokeResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RevokeResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.RevokeResponse) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.RevokeResponse} */ public static final class RevokeResponse extends - com.google.protobuf.GeneratedMessage - implements RevokeResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.RevokeResponse) + RevokeResponseOrBuilder { // Use RevokeResponse.newBuilder() to construct. private RevokeResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -7200,7 +7185,8 @@ public final class AccessControlProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -7246,7 +7232,6 @@ public final class AccessControlProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -7329,8 +7314,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.RevokeResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.RevokeResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.RevokeResponse) + org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.RevokeResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_RevokeResponse_descriptor; @@ -7441,10 +7427,10 @@ public final class AccessControlProtos { // @@protoc_insertion_point(class_scope:hbase.pb.RevokeResponse) } - public interface GetUserPermissionsRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface GetUserPermissionsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.GetUserPermissionsRequest) + com.google.protobuf.MessageOrBuilder { - // optional .hbase.pb.Permission.Type type = 1; /** * optional .hbase.pb.Permission.Type type = 1; */ @@ -7454,7 +7440,6 @@ public final class AccessControlProtos { */ org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Type getType(); - // optional .hbase.pb.TableName table_name = 2; /** * optional .hbase.pb.TableName table_name = 2; */ @@ -7468,7 +7453,6 @@ public final class AccessControlProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder getTableNameOrBuilder(); - // optional bytes namespace_name = 3; /** * optional bytes namespace_name = 3; */ @@ -7482,8 +7466,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.GetUserPermissionsRequest} */ public static final class GetUserPermissionsRequest extends - com.google.protobuf.GeneratedMessage - implements GetUserPermissionsRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.GetUserPermissionsRequest) + GetUserPermissionsRequestOrBuilder { // Use GetUserPermissionsRequest.newBuilder() to construct. private GetUserPermissionsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -7598,7 +7583,6 @@ public final class AccessControlProtos { } private int bitField0_; - // optional .hbase.pb.Permission.Type type = 1; public static final int TYPE_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Type type_; /** @@ -7614,7 +7598,6 @@ public final class AccessControlProtos { return type_; } - // optional .hbase.pb.TableName table_name = 2; public static final int TABLE_NAME_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName tableName_; /** @@ -7636,7 +7619,6 @@ public final class AccessControlProtos { return tableName_; } - // optional bytes namespace_name = 3; public static final int NAMESPACE_NAME_FIELD_NUMBER = 3; private com.google.protobuf.ByteString namespaceName_; /** @@ -7660,7 +7642,8 @@ public final class AccessControlProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (hasTableName()) { if (!getTableName().isInitialized()) { @@ -7748,7 +7731,6 @@ public final class AccessControlProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -7758,7 +7740,8 @@ public final class AccessControlProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getType()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getType()); } if (hasTableName()) { hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER; @@ -7843,8 +7826,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.GetUserPermissionsRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GetUserPermissionsRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.GetUserPermissionsRequest) + org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GetUserPermissionsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GetUserPermissionsRequest_descriptor; @@ -7990,7 +7974,6 @@ public final class AccessControlProtos { } private int bitField0_; - // optional .hbase.pb.Permission.Type type = 1; private org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Type type_ = org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.Permission.Type.Global; /** * optional .hbase.pb.Permission.Type type = 1; @@ -8026,7 +8009,6 @@ public final class AccessControlProtos { return this; } - // optional .hbase.pb.TableName table_name = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName tableName_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder> tableNameBuilder_; @@ -8135,7 +8117,7 @@ public final class AccessControlProtos { if (tableNameBuilder_ == null) { tableNameBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder>( - tableName_, + getTableName(), getParentForChildren(), isClean()); tableName_ = null; @@ -8143,7 +8125,6 @@ public final class AccessControlProtos { return tableNameBuilder_; } - // optional bytes namespace_name = 3; private com.google.protobuf.ByteString namespaceName_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes namespace_name = 3; @@ -8190,10 +8171,10 @@ public final class AccessControlProtos { // @@protoc_insertion_point(class_scope:hbase.pb.GetUserPermissionsRequest) } - public interface GetUserPermissionsResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface GetUserPermissionsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.GetUserPermissionsResponse) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.UserPermission user_permission = 1; /** * repeated .hbase.pb.UserPermission user_permission = 1; */ @@ -8222,8 +8203,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.GetUserPermissionsResponse} */ public static final class GetUserPermissionsResponse extends - com.google.protobuf.GeneratedMessage - implements GetUserPermissionsResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.GetUserPermissionsResponse) + GetUserPermissionsResponseOrBuilder { // Use GetUserPermissionsResponse.newBuilder() to construct. private GetUserPermissionsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -8319,7 +8301,6 @@ public final class AccessControlProtos { return PARSER; } - // repeated .hbase.pb.UserPermission user_permission = 1; public static final int USER_PERMISSION_FIELD_NUMBER = 1; private java.util.List userPermission_; /** @@ -8361,7 +8342,8 @@ public final class AccessControlProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getUserPermissionCount(); i++) { if (!getUserPermission(i).isInitialized()) { @@ -8422,7 +8404,6 @@ public final class AccessControlProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -8509,8 +8490,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.GetUserPermissionsResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GetUserPermissionsResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.GetUserPermissionsResponse) + org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.GetUserPermissionsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_GetUserPermissionsResponse_descriptor; @@ -8660,7 +8642,6 @@ public final class AccessControlProtos { } private int bitField0_; - // repeated .hbase.pb.UserPermission user_permission = 1; private java.util.List userPermission_ = java.util.Collections.emptyList(); private void ensureUserPermissionIsMutable() { @@ -8802,7 +8783,8 @@ public final class AccessControlProtos { java.lang.Iterable values) { if (userPermissionBuilder_ == null) { ensureUserPermissionIsMutable(); - super.addAll(values, userPermission_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, userPermission_); onChanged(); } else { userPermissionBuilder_.addAllMessages(values); @@ -8911,10 +8893,10 @@ public final class AccessControlProtos { // @@protoc_insertion_point(class_scope:hbase.pb.GetUserPermissionsResponse) } - public interface CheckPermissionsRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface CheckPermissionsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.CheckPermissionsRequest) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.Permission permission = 1; /** * repeated .hbase.pb.Permission permission = 1; */ @@ -8943,8 +8925,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.CheckPermissionsRequest} */ public static final class CheckPermissionsRequest extends - com.google.protobuf.GeneratedMessage - implements CheckPermissionsRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.CheckPermissionsRequest) + CheckPermissionsRequestOrBuilder { // Use CheckPermissionsRequest.newBuilder() to construct. private CheckPermissionsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -9040,7 +9023,6 @@ public final class AccessControlProtos { return PARSER; } - // repeated .hbase.pb.Permission permission = 1; public static final int PERMISSION_FIELD_NUMBER = 1; private java.util.List permission_; /** @@ -9082,7 +9064,8 @@ public final class AccessControlProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getPermissionCount(); i++) { if (!getPermission(i).isInitialized()) { @@ -9143,7 +9126,6 @@ public final class AccessControlProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -9230,8 +9212,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.CheckPermissionsRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.CheckPermissionsRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.CheckPermissionsRequest) + org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.CheckPermissionsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_CheckPermissionsRequest_descriptor; @@ -9381,7 +9364,6 @@ public final class AccessControlProtos { } private int bitField0_; - // repeated .hbase.pb.Permission permission = 1; private java.util.List permission_ = java.util.Collections.emptyList(); private void ensurePermissionIsMutable() { @@ -9523,7 +9505,8 @@ public final class AccessControlProtos { java.lang.Iterable values) { if (permissionBuilder_ == null) { ensurePermissionIsMutable(); - super.addAll(values, permission_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, permission_); onChanged(); } else { permissionBuilder_.addAllMessages(values); @@ -9632,15 +9615,17 @@ public final class AccessControlProtos { // @@protoc_insertion_point(class_scope:hbase.pb.CheckPermissionsRequest) } - public interface CheckPermissionsResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface CheckPermissionsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.CheckPermissionsResponse) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.CheckPermissionsResponse} */ public static final class CheckPermissionsResponse extends - com.google.protobuf.GeneratedMessage - implements CheckPermissionsResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.CheckPermissionsResponse) + CheckPermissionsResponseOrBuilder { // Use CheckPermissionsResponse.newBuilder() to construct. private CheckPermissionsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -9729,7 +9714,8 @@ public final class AccessControlProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -9775,7 +9761,6 @@ public final class AccessControlProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -9858,8 +9843,9 @@ public final class AccessControlProtos { * Protobuf type {@code hbase.pb.CheckPermissionsResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.CheckPermissionsResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.CheckPermissionsResponse) + org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.CheckPermissionsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AccessControlProtos.internal_static_hbase_pb_CheckPermissionsResponse_descriptor; @@ -10415,77 +10401,77 @@ public final class AccessControlProtos { // @@protoc_insertion_point(class_scope:hbase.pb.AccessControlService) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Permission_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Permission_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_TablePermission_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_TablePermission_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_NamespacePermission_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_NamespacePermission_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GlobalPermission_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_GlobalPermission_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_UserPermission_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_UserPermission_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_UsersAndPermissions_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_UsersAndPermissions_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_UsersAndPermissions_UserPermissions_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_UsersAndPermissions_UserPermissions_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GrantRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_GrantRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GrantResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_GrantResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RevokeRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_RevokeRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RevokeResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_RevokeResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GetUserPermissionsRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_GetUserPermissionsRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GetUserPermissionsResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_GetUserPermissionsResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CheckPermissionsRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_CheckPermissionsRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CheckPermissionsResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -10548,108 +10534,109 @@ public final class AccessControlProtos { "trolProtosH\001\210\001\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_Permission_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_Permission_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_Permission_descriptor, - new java.lang.String[] { "Type", "GlobalPermission", "NamespacePermission", "TablePermission", }); - internal_static_hbase_pb_TablePermission_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_hbase_pb_TablePermission_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_TablePermission_descriptor, - new java.lang.String[] { "TableName", "Family", "Qualifier", "Action", }); - internal_static_hbase_pb_NamespacePermission_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_hbase_pb_NamespacePermission_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_NamespacePermission_descriptor, - new java.lang.String[] { "NamespaceName", "Action", }); - internal_static_hbase_pb_GlobalPermission_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_hbase_pb_GlobalPermission_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_GlobalPermission_descriptor, - new java.lang.String[] { "Action", }); - internal_static_hbase_pb_UserPermission_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_hbase_pb_UserPermission_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_UserPermission_descriptor, - new java.lang.String[] { "User", "Permission", }); - internal_static_hbase_pb_UsersAndPermissions_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_hbase_pb_UsersAndPermissions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_UsersAndPermissions_descriptor, - new java.lang.String[] { "UserPermissions", }); - internal_static_hbase_pb_UsersAndPermissions_UserPermissions_descriptor = - internal_static_hbase_pb_UsersAndPermissions_descriptor.getNestedTypes().get(0); - internal_static_hbase_pb_UsersAndPermissions_UserPermissions_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_UsersAndPermissions_UserPermissions_descriptor, - new java.lang.String[] { "User", "Permissions", }); - internal_static_hbase_pb_GrantRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_hbase_pb_GrantRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_GrantRequest_descriptor, - new java.lang.String[] { "UserPermission", "MergeExistingPermissions", }); - internal_static_hbase_pb_GrantResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_hbase_pb_GrantResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_GrantResponse_descriptor, - new java.lang.String[] { }); - internal_static_hbase_pb_RevokeRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_hbase_pb_RevokeRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_RevokeRequest_descriptor, - new java.lang.String[] { "UserPermission", }); - internal_static_hbase_pb_RevokeResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_hbase_pb_RevokeResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_RevokeResponse_descriptor, - new java.lang.String[] { }); - internal_static_hbase_pb_GetUserPermissionsRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_hbase_pb_GetUserPermissionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_GetUserPermissionsRequest_descriptor, - new java.lang.String[] { "Type", "TableName", "NamespaceName", }); - internal_static_hbase_pb_GetUserPermissionsResponse_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_hbase_pb_GetUserPermissionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_GetUserPermissionsResponse_descriptor, - new java.lang.String[] { "UserPermission", }); - internal_static_hbase_pb_CheckPermissionsRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_hbase_pb_CheckPermissionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_CheckPermissionsRequest_descriptor, - new java.lang.String[] { "Permission", }); - internal_static_hbase_pb_CheckPermissionsResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_hbase_pb_CheckPermissionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_CheckPermissionsResponse_descriptor, - new java.lang.String[] { }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(), }, assigner); + internal_static_hbase_pb_Permission_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_Permission_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_Permission_descriptor, + new java.lang.String[] { "Type", "GlobalPermission", "NamespacePermission", "TablePermission", }); + internal_static_hbase_pb_TablePermission_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_hbase_pb_TablePermission_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_TablePermission_descriptor, + new java.lang.String[] { "TableName", "Family", "Qualifier", "Action", }); + internal_static_hbase_pb_NamespacePermission_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_hbase_pb_NamespacePermission_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_NamespacePermission_descriptor, + new java.lang.String[] { "NamespaceName", "Action", }); + internal_static_hbase_pb_GlobalPermission_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_hbase_pb_GlobalPermission_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_GlobalPermission_descriptor, + new java.lang.String[] { "Action", }); + internal_static_hbase_pb_UserPermission_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_hbase_pb_UserPermission_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_UserPermission_descriptor, + new java.lang.String[] { "User", "Permission", }); + internal_static_hbase_pb_UsersAndPermissions_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_hbase_pb_UsersAndPermissions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_UsersAndPermissions_descriptor, + new java.lang.String[] { "UserPermissions", }); + internal_static_hbase_pb_UsersAndPermissions_UserPermissions_descriptor = + internal_static_hbase_pb_UsersAndPermissions_descriptor.getNestedTypes().get(0); + internal_static_hbase_pb_UsersAndPermissions_UserPermissions_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_UsersAndPermissions_UserPermissions_descriptor, + new java.lang.String[] { "User", "Permissions", }); + internal_static_hbase_pb_GrantRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_hbase_pb_GrantRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_GrantRequest_descriptor, + new java.lang.String[] { "UserPermission", "MergeExistingPermissions", }); + internal_static_hbase_pb_GrantResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_hbase_pb_GrantResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_GrantResponse_descriptor, + new java.lang.String[] { }); + internal_static_hbase_pb_RevokeRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_hbase_pb_RevokeRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_RevokeRequest_descriptor, + new java.lang.String[] { "UserPermission", }); + internal_static_hbase_pb_RevokeResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_hbase_pb_RevokeResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_RevokeResponse_descriptor, + new java.lang.String[] { }); + internal_static_hbase_pb_GetUserPermissionsRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_hbase_pb_GetUserPermissionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_GetUserPermissionsRequest_descriptor, + new java.lang.String[] { "Type", "TableName", "NamespaceName", }); + internal_static_hbase_pb_GetUserPermissionsResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_hbase_pb_GetUserPermissionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_GetUserPermissionsResponse_descriptor, + new java.lang.String[] { "UserPermission", }); + internal_static_hbase_pb_CheckPermissionsRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_hbase_pb_CheckPermissionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_CheckPermissionsRequest_descriptor, + new java.lang.String[] { "Permission", }); + internal_static_hbase_pb_CheckPermissionsResponse_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_hbase_pb_CheckPermissionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_CheckPermissionsResponse_descriptor, + new java.lang.String[] { }); + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/AdminProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/AdminProtos.java index c8f8be9..60f5ed0 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/AdminProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/AdminProtos.java @@ -8,10 +8,10 @@ public final class AdminProtos { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } - public interface GetRegionInfoRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface GetRegionInfoRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.GetRegionInfoRequest) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.RegionSpecifier region = 1; /** * required .hbase.pb.RegionSpecifier region = 1; */ @@ -25,7 +25,6 @@ public final class AdminProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder(); - // optional bool compaction_state = 2; /** * optional bool compaction_state = 2; */ @@ -39,8 +38,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.GetRegionInfoRequest} */ public static final class GetRegionInfoRequest extends - com.google.protobuf.GeneratedMessage - implements GetRegionInfoRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.GetRegionInfoRequest) + GetRegionInfoRequestOrBuilder { // Use GetRegionInfoRequest.newBuilder() to construct. private GetRegionInfoRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -144,7 +144,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; public static final int REGION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** @@ -166,7 +165,6 @@ public final class AdminProtos { return region_; } - // optional bool compaction_state = 2; public static final int COMPACTION_STATE_FIELD_NUMBER = 2; private boolean compactionState_; /** @@ -189,7 +187,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRegion()) { memoizedIsInitialized = 0; @@ -267,7 +266,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -281,7 +279,8 @@ public final class AdminProtos { } if (hasCompactionState()) { hash = (37 * hash) + COMPACTION_STATE_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getCompactionState()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCompactionState()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -358,8 +357,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.GetRegionInfoRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetRegionInfoRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.GetRegionInfoRequest) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetRegionInfoRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_GetRegionInfoRequest_descriptor; @@ -498,7 +498,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; @@ -607,7 +606,7 @@ public final class AdminProtos { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( - region_, + getRegion(), getParentForChildren(), isClean()); region_ = null; @@ -615,7 +614,6 @@ public final class AdminProtos { return regionBuilder_; } - // optional bool compaction_state = 2; private boolean compactionState_ ; /** * optional bool compaction_state = 2; @@ -659,10 +657,10 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.GetRegionInfoRequest) } - public interface GetRegionInfoResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface GetRegionInfoResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.GetRegionInfoResponse) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.RegionInfo region_info = 1; /** * required .hbase.pb.RegionInfo region_info = 1; */ @@ -676,7 +674,6 @@ public final class AdminProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder getRegionInfoOrBuilder(); - // optional .hbase.pb.GetRegionInfoResponse.CompactionState compaction_state = 2; /** * optional .hbase.pb.GetRegionInfoResponse.CompactionState compaction_state = 2; */ @@ -686,7 +683,6 @@ public final class AdminProtos { */ org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetRegionInfoResponse.CompactionState getCompactionState(); - // optional bool isRecovering = 3; /** * optional bool isRecovering = 3; */ @@ -700,8 +696,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.GetRegionInfoResponse} */ public static final class GetRegionInfoResponse extends - com.google.protobuf.GeneratedMessage - implements GetRegionInfoResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.GetRegionInfoResponse) + GetRegionInfoResponseOrBuilder { // Use GetRegionInfoResponse.newBuilder() to construct. private GetRegionInfoResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -916,7 +913,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.RegionInfo region_info = 1; public static final int REGION_INFO_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo regionInfo_; /** @@ -938,7 +934,6 @@ public final class AdminProtos { return regionInfo_; } - // optional .hbase.pb.GetRegionInfoResponse.CompactionState compaction_state = 2; public static final int COMPACTION_STATE_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetRegionInfoResponse.CompactionState compactionState_; /** @@ -954,7 +949,6 @@ public final class AdminProtos { return compactionState_; } - // optional bool isRecovering = 3; public static final int ISRECOVERING_FIELD_NUMBER = 3; private boolean isRecovering_; /** @@ -978,7 +972,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRegionInfo()) { memoizedIsInitialized = 0; @@ -1068,7 +1063,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1082,11 +1076,13 @@ public final class AdminProtos { } if (hasCompactionState()) { hash = (37 * hash) + COMPACTION_STATE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getCompactionState()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getCompactionState()); } if (hasIsRecovering()) { hash = (37 * hash) + ISRECOVERING_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getIsRecovering()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIsRecovering()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -1163,8 +1159,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.GetRegionInfoResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetRegionInfoResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.GetRegionInfoResponse) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetRegionInfoResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_GetRegionInfoResponse_descriptor; @@ -1312,7 +1309,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.RegionInfo region_info = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo regionInfo_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder> regionInfoBuilder_; @@ -1421,7 +1417,7 @@ public final class AdminProtos { if (regionInfoBuilder_ == null) { regionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder>( - regionInfo_, + getRegionInfo(), getParentForChildren(), isClean()); regionInfo_ = null; @@ -1429,7 +1425,6 @@ public final class AdminProtos { return regionInfoBuilder_; } - // optional .hbase.pb.GetRegionInfoResponse.CompactionState compaction_state = 2; private org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetRegionInfoResponse.CompactionState compactionState_ = org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetRegionInfoResponse.CompactionState.NONE; /** * optional .hbase.pb.GetRegionInfoResponse.CompactionState compaction_state = 2; @@ -1465,7 +1460,6 @@ public final class AdminProtos { return this; } - // optional bool isRecovering = 3; private boolean isRecovering_ ; /** * optional bool isRecovering = 3; @@ -1509,10 +1503,10 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.GetRegionInfoResponse) } - public interface GetStoreFileRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface GetStoreFileRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.GetStoreFileRequest) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.RegionSpecifier region = 1; /** * required .hbase.pb.RegionSpecifier region = 1; */ @@ -1526,7 +1520,6 @@ public final class AdminProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder(); - // repeated bytes family = 2; /** * repeated bytes family = 2; */ @@ -1550,8 +1543,9 @@ public final class AdminProtos { * */ public static final class GetStoreFileRequest extends - com.google.protobuf.GeneratedMessage - implements GetStoreFileRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.GetStoreFileRequest) + GetStoreFileRequestOrBuilder { // Use GetStoreFileRequest.newBuilder() to construct. private GetStoreFileRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1661,7 +1655,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; public static final int REGION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** @@ -1683,7 +1676,6 @@ public final class AdminProtos { return region_; } - // repeated bytes family = 2; public static final int FAMILY_FIELD_NUMBER = 2; private java.util.List family_; /** @@ -1713,7 +1705,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRegion()) { memoizedIsInitialized = 0; @@ -1793,7 +1786,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1890,8 +1882,9 @@ public final class AdminProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.GetStoreFileRequest) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_GetStoreFileRequest_descriptor; @@ -2038,7 +2031,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; @@ -2147,7 +2139,7 @@ public final class AdminProtos { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( - region_, + getRegion(), getParentForChildren(), isClean()); region_ = null; @@ -2155,7 +2147,6 @@ public final class AdminProtos { return regionBuilder_; } - // repeated bytes family = 2; private java.util.List family_ = java.util.Collections.emptyList(); private void ensureFamilyIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { @@ -2213,7 +2204,8 @@ public final class AdminProtos { public Builder addAllFamily( java.lang.Iterable values) { ensureFamilyIsMutable(); - super.addAll(values, family_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, family_); onChanged(); return this; } @@ -2238,15 +2230,15 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.GetStoreFileRequest) } - public interface GetStoreFileResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface GetStoreFileResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.GetStoreFileResponse) + com.google.protobuf.MessageOrBuilder { - // repeated string store_file = 1; /** * repeated string store_file = 1; */ - java.util.List - getStoreFileList(); + com.google.protobuf.ProtocolStringList + getStoreFileList(); /** * repeated string store_file = 1; */ @@ -2265,8 +2257,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.GetStoreFileResponse} */ public static final class GetStoreFileResponse extends - com.google.protobuf.GeneratedMessage - implements GetStoreFileResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.GetStoreFileResponse) + GetStoreFileResponseOrBuilder { // Use GetStoreFileResponse.newBuilder() to construct. private GetStoreFileResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2313,11 +2306,12 @@ public final class AdminProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { storeFile_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } - storeFile_.add(input.readBytes()); + storeFile_.add(bs); break; } } @@ -2329,7 +2323,7 @@ public final class AdminProtos { e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - storeFile_ = new com.google.protobuf.UnmodifiableLazyStringList(storeFile_); + storeFile_ = storeFile_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -2362,13 +2356,12 @@ public final class AdminProtos { return PARSER; } - // repeated string store_file = 1; public static final int STORE_FILE_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList storeFile_; /** * repeated string store_file = 1; */ - public java.util.List + public com.google.protobuf.ProtocolStringList getStoreFileList() { return storeFile_; } @@ -2398,7 +2391,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -2458,7 +2452,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2545,8 +2538,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.GetStoreFileResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.GetStoreFileResponse) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_GetStoreFileResponse_descriptor; @@ -2609,8 +2603,7 @@ public final class AdminProtos { org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileResponse result = new org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetStoreFileResponse(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { - storeFile_ = new com.google.protobuf.UnmodifiableLazyStringList( - storeFile_); + storeFile_ = storeFile_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.storeFile_ = storeFile_; @@ -2666,7 +2659,6 @@ public final class AdminProtos { } private int bitField0_; - // repeated string store_file = 1; private com.google.protobuf.LazyStringList storeFile_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureStoreFileIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { @@ -2677,9 +2669,9 @@ public final class AdminProtos { /** * repeated string store_file = 1; */ - public java.util.List + public com.google.protobuf.ProtocolStringList getStoreFileList() { - return java.util.Collections.unmodifiableList(storeFile_); + return storeFile_.getUnmodifiableView(); } /** * repeated string store_file = 1; @@ -2732,7 +2724,8 @@ public final class AdminProtos { public Builder addAllStoreFile( java.lang.Iterable values) { ensureStoreFileIsMutable(); - super.addAll(values, storeFile_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, storeFile_); onChanged(); return this; } @@ -2770,15 +2763,17 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.GetStoreFileResponse) } - public interface GetOnlineRegionRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface GetOnlineRegionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.GetOnlineRegionRequest) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.GetOnlineRegionRequest} */ public static final class GetOnlineRegionRequest extends - com.google.protobuf.GeneratedMessage - implements GetOnlineRegionRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.GetOnlineRegionRequest) + GetOnlineRegionRequestOrBuilder { // Use GetOnlineRegionRequest.newBuilder() to construct. private GetOnlineRegionRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2867,7 +2862,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -2913,7 +2909,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2996,8 +2991,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.GetOnlineRegionRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetOnlineRegionRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.GetOnlineRegionRequest) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetOnlineRegionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_GetOnlineRegionRequest_descriptor; @@ -3108,10 +3104,10 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.GetOnlineRegionRequest) } - public interface GetOnlineRegionResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface GetOnlineRegionResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.GetOnlineRegionResponse) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.RegionInfo region_info = 1; /** * repeated .hbase.pb.RegionInfo region_info = 1; */ @@ -3140,8 +3136,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.GetOnlineRegionResponse} */ public static final class GetOnlineRegionResponse extends - com.google.protobuf.GeneratedMessage - implements GetOnlineRegionResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.GetOnlineRegionResponse) + GetOnlineRegionResponseOrBuilder { // Use GetOnlineRegionResponse.newBuilder() to construct. private GetOnlineRegionResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -3237,7 +3234,6 @@ public final class AdminProtos { return PARSER; } - // repeated .hbase.pb.RegionInfo region_info = 1; public static final int REGION_INFO_FIELD_NUMBER = 1; private java.util.List regionInfo_; /** @@ -3279,7 +3275,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getRegionInfoCount(); i++) { if (!getRegionInfo(i).isInitialized()) { @@ -3340,7 +3337,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -3427,8 +3423,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.GetOnlineRegionResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetOnlineRegionResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.GetOnlineRegionResponse) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetOnlineRegionResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_GetOnlineRegionResponse_descriptor; @@ -3578,7 +3575,6 @@ public final class AdminProtos { } private int bitField0_; - // repeated .hbase.pb.RegionInfo region_info = 1; private java.util.List regionInfo_ = java.util.Collections.emptyList(); private void ensureRegionInfoIsMutable() { @@ -3720,7 +3716,8 @@ public final class AdminProtos { java.lang.Iterable values) { if (regionInfoBuilder_ == null) { ensureRegionInfoIsMutable(); - super.addAll(values, regionInfo_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, regionInfo_); onChanged(); } else { regionInfoBuilder_.addAllMessages(values); @@ -3829,10 +3826,10 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.GetOnlineRegionResponse) } - public interface OpenRegionRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface OpenRegionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.OpenRegionRequest) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.OpenRegionRequest.RegionOpenInfo open_info = 1; /** * repeated .hbase.pb.OpenRegionRequest.RegionOpenInfo open_info = 1; */ @@ -3857,7 +3854,6 @@ public final class AdminProtos { org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfoOrBuilder getOpenInfoOrBuilder( int index); - // optional uint64 serverStartCode = 2; /** * optional uint64 serverStartCode = 2; * @@ -3875,7 +3871,6 @@ public final class AdminProtos { */ long getServerStartCode(); - // optional uint64 master_system_time = 5; /** * optional uint64 master_system_time = 5; * @@ -3897,8 +3892,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.OpenRegionRequest} */ public static final class OpenRegionRequest extends - com.google.protobuf.GeneratedMessage - implements OpenRegionRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.OpenRegionRequest) + OpenRegionRequestOrBuilder { // Use OpenRegionRequest.newBuilder() to construct. private OpenRegionRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -4004,10 +4000,10 @@ public final class AdminProtos { return PARSER; } - public interface RegionOpenInfoOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RegionOpenInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.OpenRegionRequest.RegionOpenInfo) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.RegionInfo region = 1; /** * required .hbase.pb.RegionInfo region = 1; */ @@ -4021,7 +4017,6 @@ public final class AdminProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder getRegionOrBuilder(); - // optional uint32 version_of_offline_node = 2; /** * optional uint32 version_of_offline_node = 2; */ @@ -4031,7 +4026,6 @@ public final class AdminProtos { */ int getVersionOfOfflineNode(); - // repeated .hbase.pb.ServerName favored_nodes = 3; /** * repeated .hbase.pb.ServerName favored_nodes = 3; */ @@ -4056,7 +4050,6 @@ public final class AdminProtos { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder getFavoredNodesOrBuilder( int index); - // optional bool openForDistributedLogReplay = 4; /** * optional bool openForDistributedLogReplay = 4; * @@ -4078,8 +4071,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.OpenRegionRequest.RegionOpenInfo} */ public static final class RegionOpenInfo extends - com.google.protobuf.GeneratedMessage - implements RegionOpenInfoOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.OpenRegionRequest.RegionOpenInfo) + RegionOpenInfoOrBuilder { // Use RegionOpenInfo.newBuilder() to construct. private RegionOpenInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -4199,7 +4193,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.RegionInfo region = 1; public static final int REGION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo region_; /** @@ -4221,7 +4214,6 @@ public final class AdminProtos { return region_; } - // optional uint32 version_of_offline_node = 2; public static final int VERSION_OF_OFFLINE_NODE_FIELD_NUMBER = 2; private int versionOfOfflineNode_; /** @@ -4237,7 +4229,6 @@ public final class AdminProtos { return versionOfOfflineNode_; } - // repeated .hbase.pb.ServerName favored_nodes = 3; public static final int FAVORED_NODES_FIELD_NUMBER = 3; private java.util.List favoredNodes_; /** @@ -4273,7 +4264,6 @@ public final class AdminProtos { return favoredNodes_.get(index); } - // optional bool openForDistributedLogReplay = 4; public static final int OPENFORDISTRIBUTEDLOGREPLAY_FIELD_NUMBER = 4; private boolean openForDistributedLogReplay_; /** @@ -4306,7 +4296,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRegion()) { memoizedIsInitialized = 0; @@ -4411,7 +4402,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -4433,7 +4423,8 @@ public final class AdminProtos { } if (hasOpenForDistributedLogReplay()) { hash = (37 * hash) + OPENFORDISTRIBUTEDLOGREPLAY_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getOpenForDistributedLogReplay()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOpenForDistributedLogReplay()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -4510,8 +4501,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.OpenRegionRequest.RegionOpenInfo} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfoOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.OpenRegionRequest.RegionOpenInfo) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequest.RegionOpenInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_OpenRegionRequest_RegionOpenInfo_descriptor; @@ -4707,7 +4699,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.RegionInfo region = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder> regionBuilder_; @@ -4816,7 +4807,7 @@ public final class AdminProtos { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder>( - region_, + getRegion(), getParentForChildren(), isClean()); region_ = null; @@ -4824,7 +4815,6 @@ public final class AdminProtos { return regionBuilder_; } - // optional uint32 version_of_offline_node = 2; private int versionOfOfflineNode_ ; /** * optional uint32 version_of_offline_node = 2; @@ -4857,7 +4847,6 @@ public final class AdminProtos { return this; } - // repeated .hbase.pb.ServerName favored_nodes = 3; private java.util.List favoredNodes_ = java.util.Collections.emptyList(); private void ensureFavoredNodesIsMutable() { @@ -4999,7 +4988,8 @@ public final class AdminProtos { java.lang.Iterable values) { if (favoredNodesBuilder_ == null) { ensureFavoredNodesIsMutable(); - super.addAll(values, favoredNodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, favoredNodes_); onChanged(); } else { favoredNodesBuilder_.addAllMessages(values); @@ -5097,7 +5087,6 @@ public final class AdminProtos { return favoredNodesBuilder_; } - // optional bool openForDistributedLogReplay = 4; private boolean openForDistributedLogReplay_ ; /** * optional bool openForDistributedLogReplay = 4; @@ -5158,7 +5147,6 @@ public final class AdminProtos { } private int bitField0_; - // repeated .hbase.pb.OpenRegionRequest.RegionOpenInfo open_info = 1; public static final int OPEN_INFO_FIELD_NUMBER = 1; private java.util.List openInfo_; /** @@ -5194,7 +5182,6 @@ public final class AdminProtos { return openInfo_.get(index); } - // optional uint64 serverStartCode = 2; public static final int SERVERSTARTCODE_FIELD_NUMBER = 2; private long serverStartCode_; /** @@ -5218,7 +5205,6 @@ public final class AdminProtos { return serverStartCode_; } - // optional uint64 master_system_time = 5; public static final int MASTER_SYSTEM_TIME_FIELD_NUMBER = 5; private long masterSystemTime_; /** @@ -5250,7 +5236,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getOpenInfoCount(); i++) { if (!getOpenInfo(i).isInitialized()) { @@ -5335,7 +5322,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -5349,11 +5335,13 @@ public final class AdminProtos { } if (hasServerStartCode()) { hash = (37 * hash) + SERVERSTARTCODE_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getServerStartCode()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getServerStartCode()); } if (hasMasterSystemTime()) { hash = (37 * hash) + MASTER_SYSTEM_TIME_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getMasterSystemTime()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMasterSystemTime()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -5430,8 +5418,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.OpenRegionRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.OpenRegionRequest) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_OpenRegionRequest_descriptor; @@ -5601,7 +5590,6 @@ public final class AdminProtos { } private int bitField0_; - // repeated .hbase.pb.OpenRegionRequest.RegionOpenInfo open_info = 1; private java.util.List openInfo_ = java.util.Collections.emptyList(); private void ensureOpenInfoIsMutable() { @@ -5743,7 +5731,8 @@ public final class AdminProtos { java.lang.Iterable values) { if (openInfoBuilder_ == null) { ensureOpenInfoIsMutable(); - super.addAll(values, openInfo_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, openInfo_); onChanged(); } else { openInfoBuilder_.addAllMessages(values); @@ -5841,7 +5830,6 @@ public final class AdminProtos { return openInfoBuilder_; } - // optional uint64 serverStartCode = 2; private long serverStartCode_ ; /** * optional uint64 serverStartCode = 2; @@ -5890,7 +5878,6 @@ public final class AdminProtos { return this; } - // optional uint64 master_system_time = 5; private long masterSystemTime_ ; /** * optional uint64 master_system_time = 5; @@ -5950,10 +5937,10 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.OpenRegionRequest) } - public interface OpenRegionResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface OpenRegionResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.OpenRegionResponse) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.OpenRegionResponse.RegionOpeningState opening_state = 1; /** * repeated .hbase.pb.OpenRegionResponse.RegionOpeningState opening_state = 1; */ @@ -5971,8 +5958,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.OpenRegionResponse} */ public static final class OpenRegionResponse extends - com.google.protobuf.GeneratedMessage - implements OpenRegionResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.OpenRegionResponse) + OpenRegionResponseOrBuilder { // Use OpenRegionResponse.newBuilder() to construct. private OpenRegionResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -6023,7 +6011,7 @@ public final class AdminProtos { org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionResponse.RegionOpeningState value = org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionResponse.RegionOpeningState.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); - } else { + } else { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { openingState_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; @@ -6040,7 +6028,7 @@ public final class AdminProtos { org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionResponse.RegionOpeningState value = org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionResponse.RegionOpeningState.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); - } else { + } else { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { openingState_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; @@ -6184,7 +6172,6 @@ public final class AdminProtos { // @@protoc_insertion_point(enum_scope:hbase.pb.OpenRegionResponse.RegionOpeningState) } - // repeated .hbase.pb.OpenRegionResponse.RegionOpeningState opening_state = 1; public static final int OPENING_STATE_FIELD_NUMBER = 1; private java.util.List openingState_; /** @@ -6212,7 +6199,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -6272,7 +6260,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -6282,7 +6269,8 @@ public final class AdminProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (getOpeningStateCount() > 0) { hash = (37 * hash) + OPENING_STATE_FIELD_NUMBER; - hash = (53 * hash) + hashEnumList(getOpeningStateList()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnumList( + getOpeningStateList()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -6359,8 +6347,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.OpenRegionResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.OpenRegionResponse) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.OpenRegionResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_OpenRegionResponse_descriptor; @@ -6479,7 +6468,6 @@ public final class AdminProtos { } private int bitField0_; - // repeated .hbase.pb.OpenRegionResponse.RegionOpeningState opening_state = 1; private java.util.List openingState_ = java.util.Collections.emptyList(); private void ensureOpeningStateIsMutable() { @@ -6537,7 +6525,8 @@ public final class AdminProtos { public Builder addAllOpeningState( java.lang.Iterable values) { ensureOpeningStateIsMutable(); - super.addAll(values, openingState_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, openingState_); onChanged(); return this; } @@ -6562,10 +6551,10 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.OpenRegionResponse) } - public interface WarmupRegionRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface WarmupRegionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.WarmupRegionRequest) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.RegionInfo regionInfo = 1; /** * required .hbase.pb.RegionInfo regionInfo = 1; */ @@ -6583,8 +6572,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.WarmupRegionRequest} */ public static final class WarmupRegionRequest extends - com.google.protobuf.GeneratedMessage - implements WarmupRegionRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.WarmupRegionRequest) + WarmupRegionRequestOrBuilder { // Use WarmupRegionRequest.newBuilder() to construct. private WarmupRegionRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -6683,7 +6673,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.RegionInfo regionInfo = 1; public static final int REGIONINFO_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo regionInfo_; /** @@ -6711,7 +6700,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRegionInfo()) { memoizedIsInitialized = 0; @@ -6777,7 +6767,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -6864,8 +6853,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.WarmupRegionRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WarmupRegionRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.WarmupRegionRequest) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WarmupRegionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_WarmupRegionRequest_descriptor; @@ -6995,7 +6985,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.RegionInfo regionInfo = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo regionInfo_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder> regionInfoBuilder_; @@ -7104,7 +7093,7 @@ public final class AdminProtos { if (regionInfoBuilder_ == null) { regionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder>( - regionInfo_, + getRegionInfo(), getParentForChildren(), isClean()); regionInfo_ = null; @@ -7123,15 +7112,17 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.WarmupRegionRequest) } - public interface WarmupRegionResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface WarmupRegionResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.WarmupRegionResponse) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.WarmupRegionResponse} */ public static final class WarmupRegionResponse extends - com.google.protobuf.GeneratedMessage - implements WarmupRegionResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.WarmupRegionResponse) + WarmupRegionResponseOrBuilder { // Use WarmupRegionResponse.newBuilder() to construct. private WarmupRegionResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -7220,7 +7211,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -7266,7 +7258,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -7349,8 +7340,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.WarmupRegionResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WarmupRegionResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.WarmupRegionResponse) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WarmupRegionResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_WarmupRegionResponse_descriptor; @@ -7461,10 +7453,10 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.WarmupRegionResponse) } - public interface CloseRegionRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface CloseRegionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.CloseRegionRequest) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.RegionSpecifier region = 1; /** * required .hbase.pb.RegionSpecifier region = 1; */ @@ -7478,7 +7470,6 @@ public final class AdminProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder(); - // optional uint32 version_of_closing_node = 2; /** * optional uint32 version_of_closing_node = 2; */ @@ -7488,7 +7479,6 @@ public final class AdminProtos { */ int getVersionOfClosingNode(); - // optional bool transition_in_ZK = 3 [default = true]; /** * optional bool transition_in_ZK = 3 [default = true]; */ @@ -7498,7 +7488,6 @@ public final class AdminProtos { */ boolean getTransitionInZK(); - // optional .hbase.pb.ServerName destination_server = 4; /** * optional .hbase.pb.ServerName destination_server = 4; */ @@ -7512,7 +7501,6 @@ public final class AdminProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder getDestinationServerOrBuilder(); - // optional uint64 serverStartCode = 5; /** * optional uint64 serverStartCode = 5; * @@ -7540,8 +7528,9 @@ public final class AdminProtos { * */ public static final class CloseRegionRequest extends - com.google.protobuf.GeneratedMessage - implements CloseRegionRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.CloseRegionRequest) + CloseRegionRequestOrBuilder { // Use CloseRegionRequest.newBuilder() to construct. private CloseRegionRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -7668,7 +7657,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; public static final int REGION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** @@ -7690,7 +7678,6 @@ public final class AdminProtos { return region_; } - // optional uint32 version_of_closing_node = 2; public static final int VERSION_OF_CLOSING_NODE_FIELD_NUMBER = 2; private int versionOfClosingNode_; /** @@ -7706,7 +7693,6 @@ public final class AdminProtos { return versionOfClosingNode_; } - // optional bool transition_in_ZK = 3 [default = true]; public static final int TRANSITION_IN_ZK_FIELD_NUMBER = 3; private boolean transitionInZK_; /** @@ -7722,7 +7708,6 @@ public final class AdminProtos { return transitionInZK_; } - // optional .hbase.pb.ServerName destination_server = 4; public static final int DESTINATION_SERVER_FIELD_NUMBER = 4; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName destinationServer_; /** @@ -7744,7 +7729,6 @@ public final class AdminProtos { return destinationServer_; } - // optional uint64 serverStartCode = 5; public static final int SERVERSTARTCODE_FIELD_NUMBER = 5; private long serverStartCode_; /** @@ -7778,7 +7762,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRegion()) { memoizedIsInitialized = 0; @@ -7898,7 +7883,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -7916,7 +7900,8 @@ public final class AdminProtos { } if (hasTransitionInZK()) { hash = (37 * hash) + TRANSITION_IN_ZK_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getTransitionInZK()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getTransitionInZK()); } if (hasDestinationServer()) { hash = (37 * hash) + DESTINATION_SERVER_FIELD_NUMBER; @@ -7924,7 +7909,8 @@ public final class AdminProtos { } if (hasServerStartCode()) { hash = (37 * hash) + SERVERSTARTCODE_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getServerStartCode()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getServerStartCode()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -8007,8 +7993,9 @@ public final class AdminProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.CloseRegionRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.CloseRegionRequest) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.CloseRegionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_CloseRegionRequest_descriptor; @@ -8189,7 +8176,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; @@ -8298,7 +8284,7 @@ public final class AdminProtos { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( - region_, + getRegion(), getParentForChildren(), isClean()); region_ = null; @@ -8306,7 +8292,6 @@ public final class AdminProtos { return regionBuilder_; } - // optional uint32 version_of_closing_node = 2; private int versionOfClosingNode_ ; /** * optional uint32 version_of_closing_node = 2; @@ -8339,7 +8324,6 @@ public final class AdminProtos { return this; } - // optional bool transition_in_ZK = 3 [default = true]; private boolean transitionInZK_ = true; /** * optional bool transition_in_ZK = 3 [default = true]; @@ -8372,7 +8356,6 @@ public final class AdminProtos { return this; } - // optional .hbase.pb.ServerName destination_server = 4; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName destinationServer_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder> destinationServerBuilder_; @@ -8481,7 +8464,7 @@ public final class AdminProtos { if (destinationServerBuilder_ == null) { destinationServerBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder>( - destinationServer_, + getDestinationServer(), getParentForChildren(), isClean()); destinationServer_ = null; @@ -8489,7 +8472,6 @@ public final class AdminProtos { return destinationServerBuilder_; } - // optional uint64 serverStartCode = 5; private long serverStartCode_ ; /** * optional uint64 serverStartCode = 5; @@ -8549,10 +8531,10 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.CloseRegionRequest) } - public interface CloseRegionResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface CloseRegionResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.CloseRegionResponse) + com.google.protobuf.MessageOrBuilder { - // required bool closed = 1; /** * required bool closed = 1; */ @@ -8566,8 +8548,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.CloseRegionResponse} */ public static final class CloseRegionResponse extends - com.google.protobuf.GeneratedMessage - implements CloseRegionResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.CloseRegionResponse) + CloseRegionResponseOrBuilder { // Use CloseRegionResponse.newBuilder() to construct. private CloseRegionResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -8658,7 +8641,6 @@ public final class AdminProtos { } private int bitField0_; - // required bool closed = 1; public static final int CLOSED_FIELD_NUMBER = 1; private boolean closed_; /** @@ -8680,7 +8662,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasClosed()) { memoizedIsInitialized = 0; @@ -8742,7 +8725,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -8752,7 +8734,8 @@ public final class AdminProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasClosed()) { hash = (37 * hash) + CLOSED_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getClosed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getClosed()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -8829,8 +8812,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.CloseRegionResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.CloseRegionResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.CloseRegionResponse) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.CloseRegionResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_CloseRegionResponse_descriptor; @@ -8947,7 +8931,6 @@ public final class AdminProtos { } private int bitField0_; - // required bool closed = 1; private boolean closed_ ; /** * required bool closed = 1; @@ -8991,10 +8974,10 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.CloseRegionResponse) } - public interface FlushRegionRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface FlushRegionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.FlushRegionRequest) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.RegionSpecifier region = 1; /** * required .hbase.pb.RegionSpecifier region = 1; */ @@ -9008,7 +8991,6 @@ public final class AdminProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder(); - // optional uint64 if_older_than_ts = 2; /** * optional uint64 if_older_than_ts = 2; */ @@ -9018,7 +9000,6 @@ public final class AdminProtos { */ long getIfOlderThanTs(); - // optional bool write_flush_wal_marker = 3; /** * optional bool write_flush_wal_marker = 3; * @@ -9047,8 +9028,9 @@ public final class AdminProtos { * */ public static final class FlushRegionRequest extends - com.google.protobuf.GeneratedMessage - implements FlushRegionRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.FlushRegionRequest) + FlushRegionRequestOrBuilder { // Use FlushRegionRequest.newBuilder() to construct. private FlushRegionRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -9157,7 +9139,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; public static final int REGION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** @@ -9179,7 +9160,6 @@ public final class AdminProtos { return region_; } - // optional uint64 if_older_than_ts = 2; public static final int IF_OLDER_THAN_TS_FIELD_NUMBER = 2; private long ifOlderThanTs_; /** @@ -9195,7 +9175,6 @@ public final class AdminProtos { return ifOlderThanTs_; } - // optional bool write_flush_wal_marker = 3; public static final int WRITE_FLUSH_WAL_MARKER_FIELD_NUMBER = 3; private boolean writeFlushWalMarker_; /** @@ -9227,7 +9206,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRegion()) { memoizedIsInitialized = 0; @@ -9317,7 +9297,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -9331,11 +9310,13 @@ public final class AdminProtos { } if (hasIfOlderThanTs()) { hash = (37 * hash) + IF_OLDER_THAN_TS_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getIfOlderThanTs()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getIfOlderThanTs()); } if (hasWriteFlushWalMarker()) { hash = (37 * hash) + WRITE_FLUSH_WAL_MARKER_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getWriteFlushWalMarker()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getWriteFlushWalMarker()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -9419,8 +9400,9 @@ public final class AdminProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.FlushRegionRequest) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_FlushRegionRequest_descriptor; @@ -9568,7 +9550,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; @@ -9677,7 +9658,7 @@ public final class AdminProtos { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( - region_, + getRegion(), getParentForChildren(), isClean()); region_ = null; @@ -9685,7 +9666,6 @@ public final class AdminProtos { return regionBuilder_; } - // optional uint64 if_older_than_ts = 2; private long ifOlderThanTs_ ; /** * optional uint64 if_older_than_ts = 2; @@ -9718,7 +9698,6 @@ public final class AdminProtos { return this; } - // optional bool write_flush_wal_marker = 3; private boolean writeFlushWalMarker_ ; /** * optional bool write_flush_wal_marker = 3; @@ -9778,10 +9757,10 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.FlushRegionRequest) } - public interface FlushRegionResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface FlushRegionResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.FlushRegionResponse) + com.google.protobuf.MessageOrBuilder { - // required uint64 last_flush_time = 1; /** * required uint64 last_flush_time = 1; */ @@ -9791,7 +9770,6 @@ public final class AdminProtos { */ long getLastFlushTime(); - // optional bool flushed = 2; /** * optional bool flushed = 2; */ @@ -9801,7 +9779,6 @@ public final class AdminProtos { */ boolean getFlushed(); - // optional bool wrote_flush_wal_marker = 3; /** * optional bool wrote_flush_wal_marker = 3; */ @@ -9815,8 +9792,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.FlushRegionResponse} */ public static final class FlushRegionResponse extends - com.google.protobuf.GeneratedMessage - implements FlushRegionResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.FlushRegionResponse) + FlushRegionResponseOrBuilder { // Use FlushRegionResponse.newBuilder() to construct. private FlushRegionResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -9917,7 +9895,6 @@ public final class AdminProtos { } private int bitField0_; - // required uint64 last_flush_time = 1; public static final int LAST_FLUSH_TIME_FIELD_NUMBER = 1; private long lastFlushTime_; /** @@ -9933,7 +9910,6 @@ public final class AdminProtos { return lastFlushTime_; } - // optional bool flushed = 2; public static final int FLUSHED_FIELD_NUMBER = 2; private boolean flushed_; /** @@ -9949,7 +9925,6 @@ public final class AdminProtos { return flushed_; } - // optional bool wrote_flush_wal_marker = 3; public static final int WROTE_FLUSH_WAL_MARKER_FIELD_NUMBER = 3; private boolean wroteFlushWalMarker_; /** @@ -9973,7 +9948,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasLastFlushTime()) { memoizedIsInitialized = 0; @@ -10059,7 +10035,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -10069,15 +10044,18 @@ public final class AdminProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasLastFlushTime()) { hash = (37 * hash) + LAST_FLUSH_TIME_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getLastFlushTime()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLastFlushTime()); } if (hasFlushed()) { hash = (37 * hash) + FLUSHED_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getFlushed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFlushed()); } if (hasWroteFlushWalMarker()) { hash = (37 * hash) + WROTE_FLUSH_WAL_MARKER_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getWroteFlushWalMarker()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getWroteFlushWalMarker()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -10154,8 +10132,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.FlushRegionResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.FlushRegionResponse) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.FlushRegionResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_FlushRegionResponse_descriptor; @@ -10290,7 +10269,6 @@ public final class AdminProtos { } private int bitField0_; - // required uint64 last_flush_time = 1; private long lastFlushTime_ ; /** * required uint64 last_flush_time = 1; @@ -10323,7 +10301,6 @@ public final class AdminProtos { return this; } - // optional bool flushed = 2; private boolean flushed_ ; /** * optional bool flushed = 2; @@ -10356,7 +10333,6 @@ public final class AdminProtos { return this; } - // optional bool wrote_flush_wal_marker = 3; private boolean wroteFlushWalMarker_ ; /** * optional bool wrote_flush_wal_marker = 3; @@ -10400,10 +10376,10 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.FlushRegionResponse) } - public interface SplitRegionRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface SplitRegionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.SplitRegionRequest) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.RegionSpecifier region = 1; /** * required .hbase.pb.RegionSpecifier region = 1; */ @@ -10417,7 +10393,6 @@ public final class AdminProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder(); - // optional bytes split_point = 2; /** * optional bytes split_point = 2; */ @@ -10440,8 +10415,9 @@ public final class AdminProtos { * */ public static final class SplitRegionRequest extends - com.google.protobuf.GeneratedMessage - implements SplitRegionRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.SplitRegionRequest) + SplitRegionRequestOrBuilder { // Use SplitRegionRequest.newBuilder() to construct. private SplitRegionRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -10545,7 +10521,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; public static final int REGION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** @@ -10567,7 +10542,6 @@ public final class AdminProtos { return region_; } - // optional bytes split_point = 2; public static final int SPLIT_POINT_FIELD_NUMBER = 2; private com.google.protobuf.ByteString splitPoint_; /** @@ -10590,7 +10564,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRegion()) { memoizedIsInitialized = 0; @@ -10668,7 +10643,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -10768,8 +10742,9 @@ public final class AdminProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.SplitRegionRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.SplitRegionRequest) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.SplitRegionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_SplitRegionRequest_descriptor; @@ -10908,7 +10883,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; @@ -11017,7 +10991,7 @@ public final class AdminProtos { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( - region_, + getRegion(), getParentForChildren(), isClean()); region_ = null; @@ -11025,7 +10999,6 @@ public final class AdminProtos { return regionBuilder_; } - // optional bytes split_point = 2; private com.google.protobuf.ByteString splitPoint_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes split_point = 2; @@ -11072,15 +11045,17 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.SplitRegionRequest) } - public interface SplitRegionResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface SplitRegionResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.SplitRegionResponse) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.SplitRegionResponse} */ public static final class SplitRegionResponse extends - com.google.protobuf.GeneratedMessage - implements SplitRegionResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.SplitRegionResponse) + SplitRegionResponseOrBuilder { // Use SplitRegionResponse.newBuilder() to construct. private SplitRegionResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -11169,7 +11144,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -11215,7 +11191,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -11298,8 +11273,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.SplitRegionResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.SplitRegionResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.SplitRegionResponse) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.SplitRegionResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_SplitRegionResponse_descriptor; @@ -11410,10 +11386,10 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.SplitRegionResponse) } - public interface CompactRegionRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface CompactRegionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.CompactRegionRequest) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.RegionSpecifier region = 1; /** * required .hbase.pb.RegionSpecifier region = 1; */ @@ -11427,7 +11403,6 @@ public final class AdminProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder(); - // optional bool major = 2; /** * optional bool major = 2; */ @@ -11437,7 +11412,6 @@ public final class AdminProtos { */ boolean getMajor(); - // optional bytes family = 3; /** * optional bytes family = 3; */ @@ -11458,8 +11432,9 @@ public final class AdminProtos { * */ public static final class CompactRegionRequest extends - com.google.protobuf.GeneratedMessage - implements CompactRegionRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.CompactRegionRequest) + CompactRegionRequestOrBuilder { // Use CompactRegionRequest.newBuilder() to construct. private CompactRegionRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -11568,7 +11543,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; public static final int REGION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** @@ -11590,7 +11564,6 @@ public final class AdminProtos { return region_; } - // optional bool major = 2; public static final int MAJOR_FIELD_NUMBER = 2; private boolean major_; /** @@ -11606,7 +11579,6 @@ public final class AdminProtos { return major_; } - // optional bytes family = 3; public static final int FAMILY_FIELD_NUMBER = 3; private com.google.protobuf.ByteString family_; /** @@ -11630,7 +11602,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRegion()) { memoizedIsInitialized = 0; @@ -11720,7 +11693,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -11734,7 +11706,8 @@ public final class AdminProtos { } if (hasMajor()) { hash = (37 * hash) + MAJOR_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getMajor()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getMajor()); } if (hasFamily()) { hash = (37 * hash) + FAMILY_FIELD_NUMBER; @@ -11822,8 +11795,9 @@ public final class AdminProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.CompactRegionRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.CompactRegionRequest) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.CompactRegionRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_CompactRegionRequest_descriptor; @@ -11971,7 +11945,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; @@ -12080,7 +12053,7 @@ public final class AdminProtos { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( - region_, + getRegion(), getParentForChildren(), isClean()); region_ = null; @@ -12088,7 +12061,6 @@ public final class AdminProtos { return regionBuilder_; } - // optional bool major = 2; private boolean major_ ; /** * optional bool major = 2; @@ -12121,7 +12093,6 @@ public final class AdminProtos { return this; } - // optional bytes family = 3; private com.google.protobuf.ByteString family_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes family = 3; @@ -12168,15 +12139,17 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.CompactRegionRequest) } - public interface CompactRegionResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface CompactRegionResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.CompactRegionResponse) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.CompactRegionResponse} */ public static final class CompactRegionResponse extends - com.google.protobuf.GeneratedMessage - implements CompactRegionResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.CompactRegionResponse) + CompactRegionResponseOrBuilder { // Use CompactRegionResponse.newBuilder() to construct. private CompactRegionResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -12265,7 +12238,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -12311,7 +12285,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -12394,8 +12367,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.CompactRegionResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.CompactRegionResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.CompactRegionResponse) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.CompactRegionResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_CompactRegionResponse_descriptor; @@ -12506,10 +12480,10 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.CompactRegionResponse) } - public interface UpdateFavoredNodesRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface UpdateFavoredNodesRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.UpdateFavoredNodesRequest) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.UpdateFavoredNodesRequest.RegionUpdateInfo update_info = 1; /** * repeated .hbase.pb.UpdateFavoredNodesRequest.RegionUpdateInfo update_info = 1; */ @@ -12538,8 +12512,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.UpdateFavoredNodesRequest} */ public static final class UpdateFavoredNodesRequest extends - com.google.protobuf.GeneratedMessage - implements UpdateFavoredNodesRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.UpdateFavoredNodesRequest) + UpdateFavoredNodesRequestOrBuilder { // Use UpdateFavoredNodesRequest.newBuilder() to construct. private UpdateFavoredNodesRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -12635,10 +12610,10 @@ public final class AdminProtos { return PARSER; } - public interface RegionUpdateInfoOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RegionUpdateInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.UpdateFavoredNodesRequest.RegionUpdateInfo) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.RegionInfo region = 1; /** * required .hbase.pb.RegionInfo region = 1; */ @@ -12652,7 +12627,6 @@ public final class AdminProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder getRegionOrBuilder(); - // repeated .hbase.pb.ServerName favored_nodes = 2; /** * repeated .hbase.pb.ServerName favored_nodes = 2; */ @@ -12681,8 +12655,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.UpdateFavoredNodesRequest.RegionUpdateInfo} */ public static final class RegionUpdateInfo extends - com.google.protobuf.GeneratedMessage - implements RegionUpdateInfoOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.UpdateFavoredNodesRequest.RegionUpdateInfo) + RegionUpdateInfoOrBuilder { // Use RegionUpdateInfo.newBuilder() to construct. private RegionUpdateInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -12792,7 +12767,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.RegionInfo region = 1; public static final int REGION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo region_; /** @@ -12814,7 +12788,6 @@ public final class AdminProtos { return region_; } - // repeated .hbase.pb.ServerName favored_nodes = 2; public static final int FAVORED_NODES_FIELD_NUMBER = 2; private java.util.List favoredNodes_; /** @@ -12857,7 +12830,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRegion()) { memoizedIsInitialized = 0; @@ -12938,7 +12912,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -13029,8 +13002,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.UpdateFavoredNodesRequest.RegionUpdateInfo} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.UpdateFavoredNodesRequest.RegionUpdateInfoOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.UpdateFavoredNodesRequest.RegionUpdateInfo) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.UpdateFavoredNodesRequest.RegionUpdateInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_UpdateFavoredNodesRequest_RegionUpdateInfo_descriptor; @@ -13208,7 +13182,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.RegionInfo region = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder> regionBuilder_; @@ -13317,7 +13290,7 @@ public final class AdminProtos { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder>( - region_, + getRegion(), getParentForChildren(), isClean()); region_ = null; @@ -13325,7 +13298,6 @@ public final class AdminProtos { return regionBuilder_; } - // repeated .hbase.pb.ServerName favored_nodes = 2; private java.util.List favoredNodes_ = java.util.Collections.emptyList(); private void ensureFavoredNodesIsMutable() { @@ -13467,7 +13439,8 @@ public final class AdminProtos { java.lang.Iterable values) { if (favoredNodesBuilder_ == null) { ensureFavoredNodesIsMutable(); - super.addAll(values, favoredNodes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, favoredNodes_); onChanged(); } else { favoredNodesBuilder_.addAllMessages(values); @@ -13576,7 +13549,6 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.UpdateFavoredNodesRequest.RegionUpdateInfo) } - // repeated .hbase.pb.UpdateFavoredNodesRequest.RegionUpdateInfo update_info = 1; public static final int UPDATE_INFO_FIELD_NUMBER = 1; private java.util.List updateInfo_; /** @@ -13618,7 +13590,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getUpdateInfoCount(); i++) { if (!getUpdateInfo(i).isInitialized()) { @@ -13679,7 +13652,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -13766,8 +13738,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.UpdateFavoredNodesRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.UpdateFavoredNodesRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.UpdateFavoredNodesRequest) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.UpdateFavoredNodesRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_UpdateFavoredNodesRequest_descriptor; @@ -13917,7 +13890,6 @@ public final class AdminProtos { } private int bitField0_; - // repeated .hbase.pb.UpdateFavoredNodesRequest.RegionUpdateInfo update_info = 1; private java.util.List updateInfo_ = java.util.Collections.emptyList(); private void ensureUpdateInfoIsMutable() { @@ -14059,7 +14031,8 @@ public final class AdminProtos { java.lang.Iterable values) { if (updateInfoBuilder_ == null) { ensureUpdateInfoIsMutable(); - super.addAll(values, updateInfo_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, updateInfo_); onChanged(); } else { updateInfoBuilder_.addAllMessages(values); @@ -14168,10 +14141,10 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.UpdateFavoredNodesRequest) } - public interface UpdateFavoredNodesResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface UpdateFavoredNodesResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.UpdateFavoredNodesResponse) + com.google.protobuf.MessageOrBuilder { - // optional uint32 response = 1; /** * optional uint32 response = 1; */ @@ -14185,8 +14158,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.UpdateFavoredNodesResponse} */ public static final class UpdateFavoredNodesResponse extends - com.google.protobuf.GeneratedMessage - implements UpdateFavoredNodesResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.UpdateFavoredNodesResponse) + UpdateFavoredNodesResponseOrBuilder { // Use UpdateFavoredNodesResponse.newBuilder() to construct. private UpdateFavoredNodesResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -14277,7 +14251,6 @@ public final class AdminProtos { } private int bitField0_; - // optional uint32 response = 1; public static final int RESPONSE_FIELD_NUMBER = 1; private int response_; /** @@ -14299,7 +14272,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -14357,7 +14331,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -14444,8 +14417,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.UpdateFavoredNodesResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.UpdateFavoredNodesResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.UpdateFavoredNodesResponse) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.UpdateFavoredNodesResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_UpdateFavoredNodesResponse_descriptor; @@ -14558,7 +14532,6 @@ public final class AdminProtos { } private int bitField0_; - // optional uint32 response = 1; private int response_ ; /** * optional uint32 response = 1; @@ -14602,10 +14575,10 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.UpdateFavoredNodesResponse) } - public interface MergeRegionsRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface MergeRegionsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.MergeRegionsRequest) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.RegionSpecifier region_a = 1; /** * required .hbase.pb.RegionSpecifier region_a = 1; */ @@ -14619,7 +14592,6 @@ public final class AdminProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionAOrBuilder(); - // required .hbase.pb.RegionSpecifier region_b = 2; /** * required .hbase.pb.RegionSpecifier region_b = 2; */ @@ -14633,7 +14605,6 @@ public final class AdminProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionBOrBuilder(); - // optional bool forcible = 3 [default = false]; /** * optional bool forcible = 3 [default = false]; */ @@ -14643,7 +14614,6 @@ public final class AdminProtos { */ boolean getForcible(); - // optional uint64 master_system_time = 4; /** * optional uint64 master_system_time = 4; * @@ -14672,8 +14642,9 @@ public final class AdminProtos { * */ public static final class MergeRegionsRequest extends - com.google.protobuf.GeneratedMessage - implements MergeRegionsRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.MergeRegionsRequest) + MergeRegionsRequestOrBuilder { // Use MergeRegionsRequest.newBuilder() to construct. private MergeRegionsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -14795,7 +14766,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region_a = 1; public static final int REGION_A_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier regionA_; /** @@ -14817,7 +14787,6 @@ public final class AdminProtos { return regionA_; } - // required .hbase.pb.RegionSpecifier region_b = 2; public static final int REGION_B_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier regionB_; /** @@ -14839,7 +14808,6 @@ public final class AdminProtos { return regionB_; } - // optional bool forcible = 3 [default = false]; public static final int FORCIBLE_FIELD_NUMBER = 3; private boolean forcible_; /** @@ -14855,7 +14823,6 @@ public final class AdminProtos { return forcible_; } - // optional uint64 master_system_time = 4; public static final int MASTER_SYSTEM_TIME_FIELD_NUMBER = 4; private long masterSystemTime_; /** @@ -14888,7 +14855,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRegionA()) { memoizedIsInitialized = 0; @@ -14998,7 +14966,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -15016,11 +14983,13 @@ public final class AdminProtos { } if (hasForcible()) { hash = (37 * hash) + FORCIBLE_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getForcible()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForcible()); } if (hasMasterSystemTime()) { hash = (37 * hash) + MASTER_SYSTEM_TIME_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getMasterSystemTime()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMasterSystemTime()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -15104,8 +15073,9 @@ public final class AdminProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.MergeRegionsRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.MergeRegionsRequest) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.MergeRegionsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_MergeRegionsRequest_descriptor; @@ -15279,7 +15249,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region_a = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier regionA_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionABuilder_; @@ -15388,7 +15357,7 @@ public final class AdminProtos { if (regionABuilder_ == null) { regionABuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( - regionA_, + getRegionA(), getParentForChildren(), isClean()); regionA_ = null; @@ -15396,7 +15365,6 @@ public final class AdminProtos { return regionABuilder_; } - // required .hbase.pb.RegionSpecifier region_b = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier regionB_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBBuilder_; @@ -15505,7 +15473,7 @@ public final class AdminProtos { if (regionBBuilder_ == null) { regionBBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( - regionB_, + getRegionB(), getParentForChildren(), isClean()); regionB_ = null; @@ -15513,7 +15481,6 @@ public final class AdminProtos { return regionBBuilder_; } - // optional bool forcible = 3 [default = false]; private boolean forcible_ ; /** * optional bool forcible = 3 [default = false]; @@ -15546,7 +15513,6 @@ public final class AdminProtos { return this; } - // optional uint64 master_system_time = 4; private long masterSystemTime_ ; /** * optional uint64 master_system_time = 4; @@ -15606,15 +15572,17 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.MergeRegionsRequest) } - public interface MergeRegionsResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface MergeRegionsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.MergeRegionsResponse) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.MergeRegionsResponse} */ public static final class MergeRegionsResponse extends - com.google.protobuf.GeneratedMessage - implements MergeRegionsResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.MergeRegionsResponse) + MergeRegionsResponseOrBuilder { // Use MergeRegionsResponse.newBuilder() to construct. private MergeRegionsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -15703,7 +15671,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -15749,7 +15718,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -15832,8 +15800,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.MergeRegionsResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.MergeRegionsResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.MergeRegionsResponse) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.MergeRegionsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_MergeRegionsResponse_descriptor; @@ -15944,10 +15913,10 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.MergeRegionsResponse) } - public interface WALEntryOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface WALEntryOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.WALEntry) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.WALKey key = 1; /** * required .hbase.pb.WALKey key = 1; */ @@ -15961,7 +15930,6 @@ public final class AdminProtos { */ org.apache.hadoop.hbase.protobuf.generated.WALProtos.WALKeyOrBuilder getKeyOrBuilder(); - // repeated bytes key_value_bytes = 2; /** * repeated bytes key_value_bytes = 2; * @@ -15993,7 +15961,6 @@ public final class AdminProtos { */ com.google.protobuf.ByteString getKeyValueBytes(int index); - // optional int32 associated_cell_count = 3; /** * optional int32 associated_cell_count = 3; * @@ -16019,8 +15986,9 @@ public final class AdminProtos { * */ public static final class WALEntry extends - com.google.protobuf.GeneratedMessage - implements WALEntryOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.WALEntry) + WALEntryOrBuilder { // Use WALEntry.newBuilder() to construct. private WALEntry(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -16135,7 +16103,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.WALKey key = 1; public static final int KEY_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.WALProtos.WALKey key_; /** @@ -16157,7 +16124,6 @@ public final class AdminProtos { return key_; } - // repeated bytes key_value_bytes = 2; public static final int KEY_VALUE_BYTES_FIELD_NUMBER = 2; private java.util.List keyValueBytes_; /** @@ -16198,7 +16164,6 @@ public final class AdminProtos { return keyValueBytes_.get(index); } - // optional int32 associated_cell_count = 3; public static final int ASSOCIATED_CELL_COUNT_FIELD_NUMBER = 3; private int associatedCellCount_; /** @@ -16230,7 +16195,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasKey()) { memoizedIsInitialized = 0; @@ -16322,7 +16288,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -16421,8 +16386,9 @@ public final class AdminProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntryOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.WALEntry) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_WALEntry_descriptor; @@ -16578,7 +16544,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.WALKey key = 1; private org.apache.hadoop.hbase.protobuf.generated.WALProtos.WALKey key_ = org.apache.hadoop.hbase.protobuf.generated.WALProtos.WALKey.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.WALProtos.WALKey, org.apache.hadoop.hbase.protobuf.generated.WALProtos.WALKey.Builder, org.apache.hadoop.hbase.protobuf.generated.WALProtos.WALKeyOrBuilder> keyBuilder_; @@ -16687,7 +16652,7 @@ public final class AdminProtos { if (keyBuilder_ == null) { keyBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.WALProtos.WALKey, org.apache.hadoop.hbase.protobuf.generated.WALProtos.WALKey.Builder, org.apache.hadoop.hbase.protobuf.generated.WALProtos.WALKeyOrBuilder>( - key_, + getKey(), getParentForChildren(), isClean()); key_ = null; @@ -16695,7 +16660,6 @@ public final class AdminProtos { return keyBuilder_; } - // repeated bytes key_value_bytes = 2; private java.util.List keyValueBytes_ = java.util.Collections.emptyList(); private void ensureKeyValueBytesIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { @@ -16789,7 +16753,8 @@ public final class AdminProtos { public Builder addAllKeyValueBytes( java.lang.Iterable values) { ensureKeyValueBytesIsMutable(); - super.addAll(values, keyValueBytes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, keyValueBytes_); onChanged(); return this; } @@ -16809,7 +16774,6 @@ public final class AdminProtos { return this; } - // optional int32 associated_cell_count = 3; private int associatedCellCount_ ; /** * optional int32 associated_cell_count = 3; @@ -16869,10 +16833,10 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.WALEntry) } - public interface ReplicateWALEntryRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ReplicateWALEntryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ReplicateWALEntryRequest) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.WALEntry entry = 1; /** * repeated .hbase.pb.WALEntry entry = 1; */ @@ -16897,7 +16861,6 @@ public final class AdminProtos { org.apache.hadoop.hbase.protobuf.generated.AdminProtos.WALEntryOrBuilder getEntryOrBuilder( int index); - // optional string replicationClusterId = 2; /** * optional string replicationClusterId = 2; */ @@ -16912,7 +16875,6 @@ public final class AdminProtos { com.google.protobuf.ByteString getReplicationClusterIdBytes(); - // optional string sourceBaseNamespaceDirPath = 3; /** * optional string sourceBaseNamespaceDirPath = 3; */ @@ -16927,7 +16889,6 @@ public final class AdminProtos { com.google.protobuf.ByteString getSourceBaseNamespaceDirPathBytes(); - // optional string sourceHFileArchiveDirPath = 4; /** * optional string sourceHFileArchiveDirPath = 4; */ @@ -16953,8 +16914,9 @@ public final class AdminProtos { * */ public static final class ReplicateWALEntryRequest extends - com.google.protobuf.GeneratedMessage - implements ReplicateWALEntryRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ReplicateWALEntryRequest) + ReplicateWALEntryRequestOrBuilder { // Use ReplicateWALEntryRequest.newBuilder() to construct. private ReplicateWALEntryRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -17009,18 +16971,21 @@ public final class AdminProtos { break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - replicationClusterId_ = input.readBytes(); + replicationClusterId_ = bs; break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - sourceBaseNamespaceDirPath_ = input.readBytes(); + sourceBaseNamespaceDirPath_ = bs; break; } case 34: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; - sourceHFileArchiveDirPath_ = input.readBytes(); + sourceHFileArchiveDirPath_ = bs; break; } } @@ -17066,7 +17031,6 @@ public final class AdminProtos { } private int bitField0_; - // repeated .hbase.pb.WALEntry entry = 1; public static final int ENTRY_FIELD_NUMBER = 1; private java.util.List entry_; /** @@ -17102,7 +17066,6 @@ public final class AdminProtos { return entry_.get(index); } - // optional string replicationClusterId = 2; public static final int REPLICATIONCLUSTERID_FIELD_NUMBER = 2; private java.lang.Object replicationClusterId_; /** @@ -17145,7 +17108,6 @@ public final class AdminProtos { } } - // optional string sourceBaseNamespaceDirPath = 3; public static final int SOURCEBASENAMESPACEDIRPATH_FIELD_NUMBER = 3; private java.lang.Object sourceBaseNamespaceDirPath_; /** @@ -17188,7 +17150,6 @@ public final class AdminProtos { } } - // optional string sourceHFileArchiveDirPath = 4; public static final int SOURCEHFILEARCHIVEDIRPATH_FIELD_NUMBER = 4; private java.lang.Object sourceHFileArchiveDirPath_; /** @@ -17240,7 +17201,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getEntryCount(); i++) { if (!getEntry(i).isInitialized()) { @@ -17337,7 +17299,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -17443,8 +17404,9 @@ public final class AdminProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.ReplicateWALEntryRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ReplicateWALEntryRequest) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.ReplicateWALEntryRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_ReplicateWALEntryRequest_descriptor; @@ -17629,7 +17591,6 @@ public final class AdminProtos { } private int bitField0_; - // repeated .hbase.pb.WALEntry entry = 1; private java.util.List entry_ = java.util.Collections.emptyList(); private void ensureEntryIsMutable() { @@ -17771,7 +17732,8 @@ public final class AdminProtos { java.lang.Iterable values) { if (entryBuilder_ == null) { ensureEntryIsMutable(); - super.addAll(values, entry_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entry_); onChanged(); } else { entryBuilder_.addAllMessages(values); @@ -17869,7 +17831,6 @@ public final class AdminProtos { return entryBuilder_; } - // optional string replicationClusterId = 2; private java.lang.Object replicationClusterId_ = ""; /** * optional string replicationClusterId = 2; @@ -17883,9 +17844,12 @@ public final class AdminProtos { public java.lang.String getReplicationClusterId() { java.lang.Object ref = replicationClusterId_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - replicationClusterId_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + replicationClusterId_ = s; + } return s; } else { return (java.lang.String) ref; @@ -17943,7 +17907,6 @@ public final class AdminProtos { return this; } - // optional string sourceBaseNamespaceDirPath = 3; private java.lang.Object sourceBaseNamespaceDirPath_ = ""; /** * optional string sourceBaseNamespaceDirPath = 3; @@ -17957,9 +17920,12 @@ public final class AdminProtos { public java.lang.String getSourceBaseNamespaceDirPath() { java.lang.Object ref = sourceBaseNamespaceDirPath_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - sourceBaseNamespaceDirPath_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + sourceBaseNamespaceDirPath_ = s; + } return s; } else { return (java.lang.String) ref; @@ -18017,7 +17983,6 @@ public final class AdminProtos { return this; } - // optional string sourceHFileArchiveDirPath = 4; private java.lang.Object sourceHFileArchiveDirPath_ = ""; /** * optional string sourceHFileArchiveDirPath = 4; @@ -18031,9 +17996,12 @@ public final class AdminProtos { public java.lang.String getSourceHFileArchiveDirPath() { java.lang.Object ref = sourceHFileArchiveDirPath_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - sourceHFileArchiveDirPath_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + sourceHFileArchiveDirPath_ = s; + } return s; } else { return (java.lang.String) ref; @@ -18102,15 +18070,17 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ReplicateWALEntryRequest) } - public interface ReplicateWALEntryResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ReplicateWALEntryResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ReplicateWALEntryResponse) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.ReplicateWALEntryResponse} */ public static final class ReplicateWALEntryResponse extends - com.google.protobuf.GeneratedMessage - implements ReplicateWALEntryResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ReplicateWALEntryResponse) + ReplicateWALEntryResponseOrBuilder { // Use ReplicateWALEntryResponse.newBuilder() to construct. private ReplicateWALEntryResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -18199,7 +18169,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -18245,7 +18216,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -18328,8 +18298,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.ReplicateWALEntryResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.ReplicateWALEntryResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ReplicateWALEntryResponse) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.ReplicateWALEntryResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_ReplicateWALEntryResponse_descriptor; @@ -18440,15 +18411,17 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ReplicateWALEntryResponse) } - public interface RollWALWriterRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RollWALWriterRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.RollWALWriterRequest) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.RollWALWriterRequest} */ public static final class RollWALWriterRequest extends - com.google.protobuf.GeneratedMessage - implements RollWALWriterRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.RollWALWriterRequest) + RollWALWriterRequestOrBuilder { // Use RollWALWriterRequest.newBuilder() to construct. private RollWALWriterRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -18537,7 +18510,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -18583,7 +18557,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -18666,8 +18639,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.RollWALWriterRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.RollWALWriterRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.RollWALWriterRequest) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.RollWALWriterRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_RollWALWriterRequest_descriptor; @@ -18778,10 +18752,10 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.RollWALWriterRequest) } - public interface RollWALWriterResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RollWALWriterResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.RollWALWriterResponse) + com.google.protobuf.MessageOrBuilder { - // repeated bytes region_to_flush = 1; /** * repeated bytes region_to_flush = 1; * @@ -18811,14 +18785,14 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.RollWALWriterResponse} * *
-   *
    * Roll request responses no longer include regions to flush
    * this list will always be empty when talking to a 1.0 server
    * 
*/ public static final class RollWALWriterResponse extends - com.google.protobuf.GeneratedMessage - implements RollWALWriterResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.RollWALWriterResponse) + RollWALWriterResponseOrBuilder { // Use RollWALWriterResponse.newBuilder() to construct. private RollWALWriterResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -18914,7 +18888,6 @@ public final class AdminProtos { return PARSER; } - // repeated bytes region_to_flush = 1; public static final int REGION_TO_FLUSH_FIELD_NUMBER = 1; private java.util.List regionToFlush_; /** @@ -18955,7 +18928,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -19015,7 +18989,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -19102,14 +19075,14 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.RollWALWriterResponse} * *
-     *
      * Roll request responses no longer include regions to flush
      * this list will always be empty when talking to a 1.0 server
      * 
*/ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.RollWALWriterResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.RollWALWriterResponse) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.RollWALWriterResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_RollWALWriterResponse_descriptor; @@ -19228,7 +19201,6 @@ public final class AdminProtos { } private int bitField0_; - // repeated bytes region_to_flush = 1; private java.util.List regionToFlush_ = java.util.Collections.emptyList(); private void ensureRegionToFlushIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { @@ -19310,7 +19282,8 @@ public final class AdminProtos { public Builder addAllRegionToFlush( java.lang.Iterable values) { ensureRegionToFlushIsMutable(); - super.addAll(values, regionToFlush_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, regionToFlush_); onChanged(); return this; } @@ -19339,10 +19312,10 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.RollWALWriterResponse) } - public interface StopServerRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface StopServerRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.StopServerRequest) + com.google.protobuf.MessageOrBuilder { - // required string reason = 1; /** * required string reason = 1; */ @@ -19361,8 +19334,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.StopServerRequest} */ public static final class StopServerRequest extends - com.google.protobuf.GeneratedMessage - implements StopServerRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.StopServerRequest) + StopServerRequestOrBuilder { // Use StopServerRequest.newBuilder() to construct. private StopServerRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -19409,8 +19383,9 @@ public final class AdminProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - reason_ = input.readBytes(); + reason_ = bs; break; } } @@ -19453,7 +19428,6 @@ public final class AdminProtos { } private int bitField0_; - // required string reason = 1; public static final int REASON_FIELD_NUMBER = 1; private java.lang.Object reason_; /** @@ -19502,7 +19476,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasReason()) { memoizedIsInitialized = 0; @@ -19564,7 +19539,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -19651,8 +19625,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.StopServerRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.StopServerRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.StopServerRequest) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.StopServerRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_StopServerRequest_descriptor; @@ -19771,7 +19746,6 @@ public final class AdminProtos { } private int bitField0_; - // required string reason = 1; private java.lang.Object reason_ = ""; /** * required string reason = 1; @@ -19785,9 +19759,12 @@ public final class AdminProtos { public java.lang.String getReason() { java.lang.Object ref = reason_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - reason_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + reason_ = s; + } return s; } else { return (java.lang.String) ref; @@ -19856,15 +19833,17 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.StopServerRequest) } - public interface StopServerResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface StopServerResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.StopServerResponse) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.StopServerResponse} */ public static final class StopServerResponse extends - com.google.protobuf.GeneratedMessage - implements StopServerResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.StopServerResponse) + StopServerResponseOrBuilder { // Use StopServerResponse.newBuilder() to construct. private StopServerResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -19953,7 +19932,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -19999,7 +19979,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -20082,8 +20061,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.StopServerResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.StopServerResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.StopServerResponse) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.StopServerResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_StopServerResponse_descriptor; @@ -20194,15 +20174,17 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.StopServerResponse) } - public interface GetServerInfoRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface GetServerInfoRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.GetServerInfoRequest) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.GetServerInfoRequest} */ public static final class GetServerInfoRequest extends - com.google.protobuf.GeneratedMessage - implements GetServerInfoRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.GetServerInfoRequest) + GetServerInfoRequestOrBuilder { // Use GetServerInfoRequest.newBuilder() to construct. private GetServerInfoRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -20291,7 +20273,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -20337,7 +20320,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -20420,8 +20402,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.GetServerInfoRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetServerInfoRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.GetServerInfoRequest) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetServerInfoRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_GetServerInfoRequest_descriptor; @@ -20532,10 +20515,10 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.GetServerInfoRequest) } - public interface ServerInfoOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ServerInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ServerInfo) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.ServerName server_name = 1; /** * required .hbase.pb.ServerName server_name = 1; */ @@ -20549,7 +20532,6 @@ public final class AdminProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder getServerNameOrBuilder(); - // optional uint32 webui_port = 2; /** * optional uint32 webui_port = 2; */ @@ -20563,8 +20545,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.ServerInfo} */ public static final class ServerInfo extends - com.google.protobuf.GeneratedMessage - implements ServerInfoOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ServerInfo) + ServerInfoOrBuilder { // Use ServerInfo.newBuilder() to construct. private ServerInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -20668,7 +20651,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.ServerName server_name = 1; public static final int SERVER_NAME_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName serverName_; /** @@ -20690,7 +20672,6 @@ public final class AdminProtos { return serverName_; } - // optional uint32 webui_port = 2; public static final int WEBUI_PORT_FIELD_NUMBER = 2; private int webuiPort_; /** @@ -20713,7 +20694,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasServerName()) { memoizedIsInitialized = 0; @@ -20791,7 +20773,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -20882,8 +20863,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.ServerInfo} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.ServerInfoOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ServerInfo) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.ServerInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_ServerInfo_descriptor; @@ -21022,7 +21004,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.ServerName server_name = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName serverName_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder> serverNameBuilder_; @@ -21131,7 +21112,7 @@ public final class AdminProtos { if (serverNameBuilder_ == null) { serverNameBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder>( - serverName_, + getServerName(), getParentForChildren(), isClean()); serverName_ = null; @@ -21139,7 +21120,6 @@ public final class AdminProtos { return serverNameBuilder_; } - // optional uint32 webui_port = 2; private int webuiPort_ ; /** * optional uint32 webui_port = 2; @@ -21183,10 +21163,10 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ServerInfo) } - public interface GetServerInfoResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface GetServerInfoResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.GetServerInfoResponse) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.ServerInfo server_info = 1; /** * required .hbase.pb.ServerInfo server_info = 1; */ @@ -21204,8 +21184,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.GetServerInfoResponse} */ public static final class GetServerInfoResponse extends - com.google.protobuf.GeneratedMessage - implements GetServerInfoResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.GetServerInfoResponse) + GetServerInfoResponseOrBuilder { // Use GetServerInfoResponse.newBuilder() to construct. private GetServerInfoResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -21304,7 +21285,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.ServerInfo server_info = 1; public static final int SERVER_INFO_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.AdminProtos.ServerInfo serverInfo_; /** @@ -21332,7 +21312,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasServerInfo()) { memoizedIsInitialized = 0; @@ -21398,7 +21379,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -21485,8 +21465,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.GetServerInfoResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetServerInfoResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.GetServerInfoResponse) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.GetServerInfoResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_GetServerInfoResponse_descriptor; @@ -21616,7 +21597,6 @@ public final class AdminProtos { } private int bitField0_; - // required .hbase.pb.ServerInfo server_info = 1; private org.apache.hadoop.hbase.protobuf.generated.AdminProtos.ServerInfo serverInfo_ = org.apache.hadoop.hbase.protobuf.generated.AdminProtos.ServerInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.AdminProtos.ServerInfo, org.apache.hadoop.hbase.protobuf.generated.AdminProtos.ServerInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.AdminProtos.ServerInfoOrBuilder> serverInfoBuilder_; @@ -21725,7 +21705,7 @@ public final class AdminProtos { if (serverInfoBuilder_ == null) { serverInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.AdminProtos.ServerInfo, org.apache.hadoop.hbase.protobuf.generated.AdminProtos.ServerInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.AdminProtos.ServerInfoOrBuilder>( - serverInfo_, + getServerInfo(), getParentForChildren(), isClean()); serverInfo_ = null; @@ -21744,15 +21724,17 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.GetServerInfoResponse) } - public interface UpdateConfigurationRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface UpdateConfigurationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.UpdateConfigurationRequest) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.UpdateConfigurationRequest} */ public static final class UpdateConfigurationRequest extends - com.google.protobuf.GeneratedMessage - implements UpdateConfigurationRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.UpdateConfigurationRequest) + UpdateConfigurationRequestOrBuilder { // Use UpdateConfigurationRequest.newBuilder() to construct. private UpdateConfigurationRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -21841,7 +21823,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -21887,7 +21870,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -21970,8 +21952,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.UpdateConfigurationRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.UpdateConfigurationRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.UpdateConfigurationRequest) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.UpdateConfigurationRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_UpdateConfigurationRequest_descriptor; @@ -22082,15 +22065,17 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.UpdateConfigurationRequest) } - public interface UpdateConfigurationResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface UpdateConfigurationResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.UpdateConfigurationResponse) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.UpdateConfigurationResponse} */ public static final class UpdateConfigurationResponse extends - com.google.protobuf.GeneratedMessage - implements UpdateConfigurationResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.UpdateConfigurationResponse) + UpdateConfigurationResponseOrBuilder { // Use UpdateConfigurationResponse.newBuilder() to construct. private UpdateConfigurationResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -22179,7 +22164,8 @@ public final class AdminProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -22225,7 +22211,6 @@ public final class AdminProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -22308,8 +22293,9 @@ public final class AdminProtos { * Protobuf type {@code hbase.pb.UpdateConfigurationResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AdminProtos.UpdateConfigurationResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.UpdateConfigurationResponse) + org.apache.hadoop.hbase.protobuf.generated.AdminProtos.UpdateConfigurationResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AdminProtos.internal_static_hbase_pb_UpdateConfigurationResponse_descriptor; @@ -23788,182 +23774,182 @@ public final class AdminProtos { // @@protoc_insertion_point(class_scope:hbase.pb.AdminService) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GetRegionInfoRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_GetRegionInfoRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GetRegionInfoResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_GetRegionInfoResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GetStoreFileRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_GetStoreFileRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GetStoreFileResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_GetStoreFileResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GetOnlineRegionRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_GetOnlineRegionRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GetOnlineRegionResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_GetOnlineRegionResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_OpenRegionRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_OpenRegionRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_OpenRegionRequest_RegionOpenInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_OpenRegionRequest_RegionOpenInfo_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_OpenRegionResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_OpenRegionResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_WarmupRegionRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_WarmupRegionRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_WarmupRegionResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_WarmupRegionResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CloseRegionRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_CloseRegionRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CloseRegionResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_CloseRegionResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_FlushRegionRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_FlushRegionRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_FlushRegionResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_FlushRegionResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_SplitRegionRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_SplitRegionRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_SplitRegionResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_SplitRegionResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CompactRegionRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_CompactRegionRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CompactRegionResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_CompactRegionResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_UpdateFavoredNodesRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_UpdateFavoredNodesRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_UpdateFavoredNodesRequest_RegionUpdateInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_UpdateFavoredNodesRequest_RegionUpdateInfo_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_UpdateFavoredNodesResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_UpdateFavoredNodesResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MergeRegionsRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_MergeRegionsRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MergeRegionsResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_MergeRegionsResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_WALEntry_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_WALEntry_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ReplicateWALEntryRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ReplicateWALEntryRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ReplicateWALEntryResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ReplicateWALEntryResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RollWALWriterRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_RollWALWriterRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RollWALWriterResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_RollWALWriterResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_StopServerRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_StopServerRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_StopServerResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_StopServerResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GetServerInfoRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_GetServerInfoRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ServerInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ServerInfo_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GetServerInfoResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_GetServerInfoResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_UpdateConfigurationRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_UpdateConfigurationRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_UpdateConfigurationResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -24091,235 +24077,237 @@ public final class AdminProtos { "rotosH\001\210\001\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_GetRegionInfoRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_GetRegionInfoRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_GetRegionInfoRequest_descriptor, - new java.lang.String[] { "Region", "CompactionState", }); - internal_static_hbase_pb_GetRegionInfoResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_hbase_pb_GetRegionInfoResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_GetRegionInfoResponse_descriptor, - new java.lang.String[] { "RegionInfo", "CompactionState", "IsRecovering", }); - internal_static_hbase_pb_GetStoreFileRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_hbase_pb_GetStoreFileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_GetStoreFileRequest_descriptor, - new java.lang.String[] { "Region", "Family", }); - internal_static_hbase_pb_GetStoreFileResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_hbase_pb_GetStoreFileResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_GetStoreFileResponse_descriptor, - new java.lang.String[] { "StoreFile", }); - internal_static_hbase_pb_GetOnlineRegionRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_hbase_pb_GetOnlineRegionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_GetOnlineRegionRequest_descriptor, - new java.lang.String[] { }); - internal_static_hbase_pb_GetOnlineRegionResponse_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_hbase_pb_GetOnlineRegionResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_GetOnlineRegionResponse_descriptor, - new java.lang.String[] { "RegionInfo", }); - internal_static_hbase_pb_OpenRegionRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_hbase_pb_OpenRegionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_OpenRegionRequest_descriptor, - new java.lang.String[] { "OpenInfo", "ServerStartCode", "MasterSystemTime", }); - internal_static_hbase_pb_OpenRegionRequest_RegionOpenInfo_descriptor = - internal_static_hbase_pb_OpenRegionRequest_descriptor.getNestedTypes().get(0); - internal_static_hbase_pb_OpenRegionRequest_RegionOpenInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_OpenRegionRequest_RegionOpenInfo_descriptor, - new java.lang.String[] { "Region", "VersionOfOfflineNode", "FavoredNodes", "OpenForDistributedLogReplay", }); - internal_static_hbase_pb_OpenRegionResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_hbase_pb_OpenRegionResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_OpenRegionResponse_descriptor, - new java.lang.String[] { "OpeningState", }); - internal_static_hbase_pb_WarmupRegionRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_hbase_pb_WarmupRegionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_WarmupRegionRequest_descriptor, - new java.lang.String[] { "RegionInfo", }); - internal_static_hbase_pb_WarmupRegionResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_hbase_pb_WarmupRegionResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_WarmupRegionResponse_descriptor, - new java.lang.String[] { }); - internal_static_hbase_pb_CloseRegionRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_hbase_pb_CloseRegionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_CloseRegionRequest_descriptor, - new java.lang.String[] { "Region", "VersionOfClosingNode", "TransitionInZK", "DestinationServer", "ServerStartCode", }); - internal_static_hbase_pb_CloseRegionResponse_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_hbase_pb_CloseRegionResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_CloseRegionResponse_descriptor, - new java.lang.String[] { "Closed", }); - internal_static_hbase_pb_FlushRegionRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_hbase_pb_FlushRegionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_FlushRegionRequest_descriptor, - new java.lang.String[] { "Region", "IfOlderThanTs", "WriteFlushWalMarker", }); - internal_static_hbase_pb_FlushRegionResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_hbase_pb_FlushRegionResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_FlushRegionResponse_descriptor, - new java.lang.String[] { "LastFlushTime", "Flushed", "WroteFlushWalMarker", }); - internal_static_hbase_pb_SplitRegionRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_hbase_pb_SplitRegionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_SplitRegionRequest_descriptor, - new java.lang.String[] { "Region", "SplitPoint", }); - internal_static_hbase_pb_SplitRegionResponse_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_hbase_pb_SplitRegionResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_SplitRegionResponse_descriptor, - new java.lang.String[] { }); - internal_static_hbase_pb_CompactRegionRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_hbase_pb_CompactRegionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_CompactRegionRequest_descriptor, - new java.lang.String[] { "Region", "Major", "Family", }); - internal_static_hbase_pb_CompactRegionResponse_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_hbase_pb_CompactRegionResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_CompactRegionResponse_descriptor, - new java.lang.String[] { }); - internal_static_hbase_pb_UpdateFavoredNodesRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_hbase_pb_UpdateFavoredNodesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_UpdateFavoredNodesRequest_descriptor, - new java.lang.String[] { "UpdateInfo", }); - internal_static_hbase_pb_UpdateFavoredNodesRequest_RegionUpdateInfo_descriptor = - internal_static_hbase_pb_UpdateFavoredNodesRequest_descriptor.getNestedTypes().get(0); - internal_static_hbase_pb_UpdateFavoredNodesRequest_RegionUpdateInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_UpdateFavoredNodesRequest_RegionUpdateInfo_descriptor, - new java.lang.String[] { "Region", "FavoredNodes", }); - internal_static_hbase_pb_UpdateFavoredNodesResponse_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_hbase_pb_UpdateFavoredNodesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_UpdateFavoredNodesResponse_descriptor, - new java.lang.String[] { "Response", }); - internal_static_hbase_pb_MergeRegionsRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_hbase_pb_MergeRegionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_MergeRegionsRequest_descriptor, - new java.lang.String[] { "RegionA", "RegionB", "Forcible", "MasterSystemTime", }); - internal_static_hbase_pb_MergeRegionsResponse_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_hbase_pb_MergeRegionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_MergeRegionsResponse_descriptor, - new java.lang.String[] { }); - internal_static_hbase_pb_WALEntry_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_hbase_pb_WALEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_WALEntry_descriptor, - new java.lang.String[] { "Key", "KeyValueBytes", "AssociatedCellCount", }); - internal_static_hbase_pb_ReplicateWALEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_hbase_pb_ReplicateWALEntryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ReplicateWALEntryRequest_descriptor, - new java.lang.String[] { "Entry", "ReplicationClusterId", "SourceBaseNamespaceDirPath", "SourceHFileArchiveDirPath", }); - internal_static_hbase_pb_ReplicateWALEntryResponse_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_hbase_pb_ReplicateWALEntryResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ReplicateWALEntryResponse_descriptor, - new java.lang.String[] { }); - internal_static_hbase_pb_RollWALWriterRequest_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_hbase_pb_RollWALWriterRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_RollWALWriterRequest_descriptor, - new java.lang.String[] { }); - internal_static_hbase_pb_RollWALWriterResponse_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_hbase_pb_RollWALWriterResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_RollWALWriterResponse_descriptor, - new java.lang.String[] { "RegionToFlush", }); - internal_static_hbase_pb_StopServerRequest_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_hbase_pb_StopServerRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_StopServerRequest_descriptor, - new java.lang.String[] { "Reason", }); - internal_static_hbase_pb_StopServerResponse_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_hbase_pb_StopServerResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_StopServerResponse_descriptor, - new java.lang.String[] { }); - internal_static_hbase_pb_GetServerInfoRequest_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_hbase_pb_GetServerInfoRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_GetServerInfoRequest_descriptor, - new java.lang.String[] { }); - internal_static_hbase_pb_ServerInfo_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_hbase_pb_ServerInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ServerInfo_descriptor, - new java.lang.String[] { "ServerName", "WebuiPort", }); - internal_static_hbase_pb_GetServerInfoResponse_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_hbase_pb_GetServerInfoResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_GetServerInfoResponse_descriptor, - new java.lang.String[] { "ServerInfo", }); - internal_static_hbase_pb_UpdateConfigurationRequest_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_hbase_pb_UpdateConfigurationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_UpdateConfigurationRequest_descriptor, - new java.lang.String[] { }); - internal_static_hbase_pb_UpdateConfigurationResponse_descriptor = - getDescriptor().getMessageTypes().get(33); - internal_static_hbase_pb_UpdateConfigurationResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_UpdateConfigurationResponse_descriptor, - new java.lang.String[] { }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(), org.apache.hadoop.hbase.protobuf.generated.WALProtos.getDescriptor(), }, assigner); + internal_static_hbase_pb_GetRegionInfoRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_GetRegionInfoRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_GetRegionInfoRequest_descriptor, + new java.lang.String[] { "Region", "CompactionState", }); + internal_static_hbase_pb_GetRegionInfoResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_hbase_pb_GetRegionInfoResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_GetRegionInfoResponse_descriptor, + new java.lang.String[] { "RegionInfo", "CompactionState", "IsRecovering", }); + internal_static_hbase_pb_GetStoreFileRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_hbase_pb_GetStoreFileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_GetStoreFileRequest_descriptor, + new java.lang.String[] { "Region", "Family", }); + internal_static_hbase_pb_GetStoreFileResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_hbase_pb_GetStoreFileResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_GetStoreFileResponse_descriptor, + new java.lang.String[] { "StoreFile", }); + internal_static_hbase_pb_GetOnlineRegionRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_hbase_pb_GetOnlineRegionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_GetOnlineRegionRequest_descriptor, + new java.lang.String[] { }); + internal_static_hbase_pb_GetOnlineRegionResponse_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_hbase_pb_GetOnlineRegionResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_GetOnlineRegionResponse_descriptor, + new java.lang.String[] { "RegionInfo", }); + internal_static_hbase_pb_OpenRegionRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_hbase_pb_OpenRegionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_OpenRegionRequest_descriptor, + new java.lang.String[] { "OpenInfo", "ServerStartCode", "MasterSystemTime", }); + internal_static_hbase_pb_OpenRegionRequest_RegionOpenInfo_descriptor = + internal_static_hbase_pb_OpenRegionRequest_descriptor.getNestedTypes().get(0); + internal_static_hbase_pb_OpenRegionRequest_RegionOpenInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_OpenRegionRequest_RegionOpenInfo_descriptor, + new java.lang.String[] { "Region", "VersionOfOfflineNode", "FavoredNodes", "OpenForDistributedLogReplay", }); + internal_static_hbase_pb_OpenRegionResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_hbase_pb_OpenRegionResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_OpenRegionResponse_descriptor, + new java.lang.String[] { "OpeningState", }); + internal_static_hbase_pb_WarmupRegionRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_hbase_pb_WarmupRegionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_WarmupRegionRequest_descriptor, + new java.lang.String[] { "RegionInfo", }); + internal_static_hbase_pb_WarmupRegionResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_hbase_pb_WarmupRegionResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_WarmupRegionResponse_descriptor, + new java.lang.String[] { }); + internal_static_hbase_pb_CloseRegionRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_hbase_pb_CloseRegionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_CloseRegionRequest_descriptor, + new java.lang.String[] { "Region", "VersionOfClosingNode", "TransitionInZK", "DestinationServer", "ServerStartCode", }); + internal_static_hbase_pb_CloseRegionResponse_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_hbase_pb_CloseRegionResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_CloseRegionResponse_descriptor, + new java.lang.String[] { "Closed", }); + internal_static_hbase_pb_FlushRegionRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_hbase_pb_FlushRegionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_FlushRegionRequest_descriptor, + new java.lang.String[] { "Region", "IfOlderThanTs", "WriteFlushWalMarker", }); + internal_static_hbase_pb_FlushRegionResponse_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_hbase_pb_FlushRegionResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_FlushRegionResponse_descriptor, + new java.lang.String[] { "LastFlushTime", "Flushed", "WroteFlushWalMarker", }); + internal_static_hbase_pb_SplitRegionRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_hbase_pb_SplitRegionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_SplitRegionRequest_descriptor, + new java.lang.String[] { "Region", "SplitPoint", }); + internal_static_hbase_pb_SplitRegionResponse_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_hbase_pb_SplitRegionResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_SplitRegionResponse_descriptor, + new java.lang.String[] { }); + internal_static_hbase_pb_CompactRegionRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_hbase_pb_CompactRegionRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_CompactRegionRequest_descriptor, + new java.lang.String[] { "Region", "Major", "Family", }); + internal_static_hbase_pb_CompactRegionResponse_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_hbase_pb_CompactRegionResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_CompactRegionResponse_descriptor, + new java.lang.String[] { }); + internal_static_hbase_pb_UpdateFavoredNodesRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_hbase_pb_UpdateFavoredNodesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_UpdateFavoredNodesRequest_descriptor, + new java.lang.String[] { "UpdateInfo", }); + internal_static_hbase_pb_UpdateFavoredNodesRequest_RegionUpdateInfo_descriptor = + internal_static_hbase_pb_UpdateFavoredNodesRequest_descriptor.getNestedTypes().get(0); + internal_static_hbase_pb_UpdateFavoredNodesRequest_RegionUpdateInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_UpdateFavoredNodesRequest_RegionUpdateInfo_descriptor, + new java.lang.String[] { "Region", "FavoredNodes", }); + internal_static_hbase_pb_UpdateFavoredNodesResponse_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_hbase_pb_UpdateFavoredNodesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_UpdateFavoredNodesResponse_descriptor, + new java.lang.String[] { "Response", }); + internal_static_hbase_pb_MergeRegionsRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_hbase_pb_MergeRegionsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_MergeRegionsRequest_descriptor, + new java.lang.String[] { "RegionA", "RegionB", "Forcible", "MasterSystemTime", }); + internal_static_hbase_pb_MergeRegionsResponse_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_hbase_pb_MergeRegionsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_MergeRegionsResponse_descriptor, + new java.lang.String[] { }); + internal_static_hbase_pb_WALEntry_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_hbase_pb_WALEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_WALEntry_descriptor, + new java.lang.String[] { "Key", "KeyValueBytes", "AssociatedCellCount", }); + internal_static_hbase_pb_ReplicateWALEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_hbase_pb_ReplicateWALEntryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ReplicateWALEntryRequest_descriptor, + new java.lang.String[] { "Entry", "ReplicationClusterId", "SourceBaseNamespaceDirPath", "SourceHFileArchiveDirPath", }); + internal_static_hbase_pb_ReplicateWALEntryResponse_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_hbase_pb_ReplicateWALEntryResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ReplicateWALEntryResponse_descriptor, + new java.lang.String[] { }); + internal_static_hbase_pb_RollWALWriterRequest_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_hbase_pb_RollWALWriterRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_RollWALWriterRequest_descriptor, + new java.lang.String[] { }); + internal_static_hbase_pb_RollWALWriterResponse_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_hbase_pb_RollWALWriterResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_RollWALWriterResponse_descriptor, + new java.lang.String[] { "RegionToFlush", }); + internal_static_hbase_pb_StopServerRequest_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_hbase_pb_StopServerRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_StopServerRequest_descriptor, + new java.lang.String[] { "Reason", }); + internal_static_hbase_pb_StopServerResponse_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_hbase_pb_StopServerResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_StopServerResponse_descriptor, + new java.lang.String[] { }); + internal_static_hbase_pb_GetServerInfoRequest_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_hbase_pb_GetServerInfoRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_GetServerInfoRequest_descriptor, + new java.lang.String[] { }); + internal_static_hbase_pb_ServerInfo_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_hbase_pb_ServerInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ServerInfo_descriptor, + new java.lang.String[] { "ServerName", "WebuiPort", }); + internal_static_hbase_pb_GetServerInfoResponse_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_hbase_pb_GetServerInfoResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_GetServerInfoResponse_descriptor, + new java.lang.String[] { "ServerInfo", }); + internal_static_hbase_pb_UpdateConfigurationRequest_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_hbase_pb_UpdateConfigurationRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_UpdateConfigurationRequest_descriptor, + new java.lang.String[] { }); + internal_static_hbase_pb_UpdateConfigurationResponse_descriptor = + getDescriptor().getMessageTypes().get(33); + internal_static_hbase_pb_UpdateConfigurationResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_UpdateConfigurationResponse_descriptor, + new java.lang.String[] { }); + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(); + org.apache.hadoop.hbase.protobuf.generated.WALProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/AuthenticationProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/AuthenticationProtos.java index 3be88ab..2dcc39c 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/AuthenticationProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/AuthenticationProtos.java @@ -8,10 +8,10 @@ public final class AuthenticationProtos { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } - public interface AuthenticationKeyOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface AuthenticationKeyOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.AuthenticationKey) + com.google.protobuf.MessageOrBuilder { - // required int32 id = 1; /** * required int32 id = 1; */ @@ -21,7 +21,6 @@ public final class AuthenticationProtos { */ int getId(); - // required int64 expiration_date = 2; /** * required int64 expiration_date = 2; */ @@ -31,7 +30,6 @@ public final class AuthenticationProtos { */ long getExpirationDate(); - // required bytes key = 3; /** * required bytes key = 3; */ @@ -45,8 +43,9 @@ public final class AuthenticationProtos { * Protobuf type {@code hbase.pb.AuthenticationKey} */ public static final class AuthenticationKey extends - com.google.protobuf.GeneratedMessage - implements AuthenticationKeyOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.AuthenticationKey) + AuthenticationKeyOrBuilder { // Use AuthenticationKey.newBuilder() to construct. private AuthenticationKey(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -147,7 +146,6 @@ public final class AuthenticationProtos { } private int bitField0_; - // required int32 id = 1; public static final int ID_FIELD_NUMBER = 1; private int id_; /** @@ -163,7 +161,6 @@ public final class AuthenticationProtos { return id_; } - // required int64 expiration_date = 2; public static final int EXPIRATION_DATE_FIELD_NUMBER = 2; private long expirationDate_; /** @@ -179,7 +176,6 @@ public final class AuthenticationProtos { return expirationDate_; } - // required bytes key = 3; public static final int KEY_FIELD_NUMBER = 3; private com.google.protobuf.ByteString key_; /** @@ -203,7 +199,8 @@ public final class AuthenticationProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasId()) { memoizedIsInitialized = 0; @@ -297,7 +294,6 @@ public final class AuthenticationProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -311,7 +307,8 @@ public final class AuthenticationProtos { } if (hasExpirationDate()) { hash = (37 * hash) + EXPIRATION_DATE_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getExpirationDate()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getExpirationDate()); } if (hasKey()) { hash = (37 * hash) + KEY_FIELD_NUMBER; @@ -392,8 +389,9 @@ public final class AuthenticationProtos { * Protobuf type {@code hbase.pb.AuthenticationKey} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKeyOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.AuthenticationKey) + org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.AuthenticationKeyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_AuthenticationKey_descriptor; @@ -536,7 +534,6 @@ public final class AuthenticationProtos { } private int bitField0_; - // required int32 id = 1; private int id_ ; /** * required int32 id = 1; @@ -569,7 +566,6 @@ public final class AuthenticationProtos { return this; } - // required int64 expiration_date = 2; private long expirationDate_ ; /** * required int64 expiration_date = 2; @@ -602,7 +598,6 @@ public final class AuthenticationProtos { return this; } - // required bytes key = 3; private com.google.protobuf.ByteString key_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes key = 3; @@ -649,10 +644,10 @@ public final class AuthenticationProtos { // @@protoc_insertion_point(class_scope:hbase.pb.AuthenticationKey) } - public interface TokenIdentifierOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface TokenIdentifierOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.TokenIdentifier) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.TokenIdentifier.Kind kind = 1; /** * required .hbase.pb.TokenIdentifier.Kind kind = 1; */ @@ -662,7 +657,6 @@ public final class AuthenticationProtos { */ org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.Kind getKind(); - // required bytes username = 2; /** * required bytes username = 2; */ @@ -672,7 +666,6 @@ public final class AuthenticationProtos { */ com.google.protobuf.ByteString getUsername(); - // required int32 key_id = 3; /** * required int32 key_id = 3; */ @@ -682,7 +675,6 @@ public final class AuthenticationProtos { */ int getKeyId(); - // optional int64 issue_date = 4; /** * optional int64 issue_date = 4; */ @@ -692,7 +684,6 @@ public final class AuthenticationProtos { */ long getIssueDate(); - // optional int64 expiration_date = 5; /** * optional int64 expiration_date = 5; */ @@ -702,7 +693,6 @@ public final class AuthenticationProtos { */ long getExpirationDate(); - // optional int64 sequence_number = 6; /** * optional int64 sequence_number = 6; */ @@ -716,8 +706,9 @@ public final class AuthenticationProtos { * Protobuf type {@code hbase.pb.TokenIdentifier} */ public static final class TokenIdentifier extends - com.google.protobuf.GeneratedMessage - implements TokenIdentifierOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.TokenIdentifier) + TokenIdentifierOrBuilder { // Use TokenIdentifier.newBuilder() to construct. private TokenIdentifier(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -912,7 +903,6 @@ public final class AuthenticationProtos { } private int bitField0_; - // required .hbase.pb.TokenIdentifier.Kind kind = 1; public static final int KIND_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.Kind kind_; /** @@ -928,7 +918,6 @@ public final class AuthenticationProtos { return kind_; } - // required bytes username = 2; public static final int USERNAME_FIELD_NUMBER = 2; private com.google.protobuf.ByteString username_; /** @@ -944,7 +933,6 @@ public final class AuthenticationProtos { return username_; } - // required int32 key_id = 3; public static final int KEY_ID_FIELD_NUMBER = 3; private int keyId_; /** @@ -960,7 +948,6 @@ public final class AuthenticationProtos { return keyId_; } - // optional int64 issue_date = 4; public static final int ISSUE_DATE_FIELD_NUMBER = 4; private long issueDate_; /** @@ -976,7 +963,6 @@ public final class AuthenticationProtos { return issueDate_; } - // optional int64 expiration_date = 5; public static final int EXPIRATION_DATE_FIELD_NUMBER = 5; private long expirationDate_; /** @@ -992,7 +978,6 @@ public final class AuthenticationProtos { return expirationDate_; } - // optional int64 sequence_number = 6; public static final int SEQUENCE_NUMBER_FIELD_NUMBER = 6; private long sequenceNumber_; /** @@ -1019,7 +1004,8 @@ public final class AuthenticationProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasKind()) { memoizedIsInitialized = 0; @@ -1149,7 +1135,6 @@ public final class AuthenticationProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1159,7 +1144,8 @@ public final class AuthenticationProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasKind()) { hash = (37 * hash) + KIND_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getKind()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getKind()); } if (hasUsername()) { hash = (37 * hash) + USERNAME_FIELD_NUMBER; @@ -1171,15 +1157,18 @@ public final class AuthenticationProtos { } if (hasIssueDate()) { hash = (37 * hash) + ISSUE_DATE_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getIssueDate()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getIssueDate()); } if (hasExpirationDate()) { hash = (37 * hash) + EXPIRATION_DATE_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getExpirationDate()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getExpirationDate()); } if (hasSequenceNumber()) { hash = (37 * hash) + SEQUENCE_NUMBER_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getSequenceNumber()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSequenceNumber()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -1256,8 +1245,9 @@ public final class AuthenticationProtos { * Protobuf type {@code hbase.pb.TokenIdentifier} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifierOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.TokenIdentifier) + org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifierOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_TokenIdentifier_descriptor; @@ -1427,7 +1417,6 @@ public final class AuthenticationProtos { } private int bitField0_; - // required .hbase.pb.TokenIdentifier.Kind kind = 1; private org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.Kind kind_ = org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenIdentifier.Kind.HBASE_AUTH_TOKEN; /** * required .hbase.pb.TokenIdentifier.Kind kind = 1; @@ -1463,7 +1452,6 @@ public final class AuthenticationProtos { return this; } - // required bytes username = 2; private com.google.protobuf.ByteString username_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes username = 2; @@ -1499,7 +1487,6 @@ public final class AuthenticationProtos { return this; } - // required int32 key_id = 3; private int keyId_ ; /** * required int32 key_id = 3; @@ -1532,7 +1519,6 @@ public final class AuthenticationProtos { return this; } - // optional int64 issue_date = 4; private long issueDate_ ; /** * optional int64 issue_date = 4; @@ -1565,7 +1551,6 @@ public final class AuthenticationProtos { return this; } - // optional int64 expiration_date = 5; private long expirationDate_ ; /** * optional int64 expiration_date = 5; @@ -1598,7 +1583,6 @@ public final class AuthenticationProtos { return this; } - // optional int64 sequence_number = 6; private long sequenceNumber_ ; /** * optional int64 sequence_number = 6; @@ -1642,10 +1626,10 @@ public final class AuthenticationProtos { // @@protoc_insertion_point(class_scope:hbase.pb.TokenIdentifier) } - public interface TokenOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface TokenOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.Token) + com.google.protobuf.MessageOrBuilder { - // optional bytes identifier = 1; /** * optional bytes identifier = 1; * @@ -1667,7 +1651,6 @@ public final class AuthenticationProtos { */ com.google.protobuf.ByteString getIdentifier(); - // optional bytes password = 2; /** * optional bytes password = 2; */ @@ -1677,7 +1660,6 @@ public final class AuthenticationProtos { */ com.google.protobuf.ByteString getPassword(); - // optional bytes service = 3; /** * optional bytes service = 3; */ @@ -1696,8 +1678,9 @@ public final class AuthenticationProtos { * */ public static final class Token extends - com.google.protobuf.GeneratedMessage - implements TokenOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.Token) + TokenOrBuilder { // Use Token.newBuilder() to construct. private Token(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1798,7 +1781,6 @@ public final class AuthenticationProtos { } private int bitField0_; - // optional bytes identifier = 1; public static final int IDENTIFIER_FIELD_NUMBER = 1; private com.google.protobuf.ByteString identifier_; /** @@ -1826,7 +1808,6 @@ public final class AuthenticationProtos { return identifier_; } - // optional bytes password = 2; public static final int PASSWORD_FIELD_NUMBER = 2; private com.google.protobuf.ByteString password_; /** @@ -1842,7 +1823,6 @@ public final class AuthenticationProtos { return password_; } - // optional bytes service = 3; public static final int SERVICE_FIELD_NUMBER = 3; private com.google.protobuf.ByteString service_; /** @@ -1866,7 +1846,8 @@ public final class AuthenticationProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -1948,7 +1929,6 @@ public final class AuthenticationProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2048,8 +2028,9 @@ public final class AuthenticationProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.Token) + org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_Token_descriptor; @@ -2180,7 +2161,6 @@ public final class AuthenticationProtos { } private int bitField0_; - // optional bytes identifier = 1; private com.google.protobuf.ByteString identifier_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes identifier = 1; @@ -2240,7 +2220,6 @@ public final class AuthenticationProtos { return this; } - // optional bytes password = 2; private com.google.protobuf.ByteString password_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes password = 2; @@ -2276,7 +2255,6 @@ public final class AuthenticationProtos { return this; } - // optional bytes service = 3; private com.google.protobuf.ByteString service_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes service = 3; @@ -2323,8 +2301,9 @@ public final class AuthenticationProtos { // @@protoc_insertion_point(class_scope:hbase.pb.Token) } - public interface GetAuthenticationTokenRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface GetAuthenticationTokenRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.GetAuthenticationTokenRequest) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.GetAuthenticationTokenRequest} @@ -2334,8 +2313,9 @@ public final class AuthenticationProtos { * */ public static final class GetAuthenticationTokenRequest extends - com.google.protobuf.GeneratedMessage - implements GetAuthenticationTokenRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.GetAuthenticationTokenRequest) + GetAuthenticationTokenRequestOrBuilder { // Use GetAuthenticationTokenRequest.newBuilder() to construct. private GetAuthenticationTokenRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2424,7 +2404,8 @@ public final class AuthenticationProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -2470,7 +2451,6 @@ public final class AuthenticationProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2557,8 +2537,9 @@ public final class AuthenticationProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.GetAuthenticationTokenRequest) + org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_GetAuthenticationTokenRequest_descriptor; @@ -2669,10 +2650,10 @@ public final class AuthenticationProtos { // @@protoc_insertion_point(class_scope:hbase.pb.GetAuthenticationTokenRequest) } - public interface GetAuthenticationTokenResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface GetAuthenticationTokenResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.GetAuthenticationTokenResponse) + com.google.protobuf.MessageOrBuilder { - // optional .hbase.pb.Token token = 1; /** * optional .hbase.pb.Token token = 1; */ @@ -2690,8 +2671,9 @@ public final class AuthenticationProtos { * Protobuf type {@code hbase.pb.GetAuthenticationTokenResponse} */ public static final class GetAuthenticationTokenResponse extends - com.google.protobuf.GeneratedMessage - implements GetAuthenticationTokenResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.GetAuthenticationTokenResponse) + GetAuthenticationTokenResponseOrBuilder { // Use GetAuthenticationTokenResponse.newBuilder() to construct. private GetAuthenticationTokenResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2790,7 +2772,6 @@ public final class AuthenticationProtos { } private int bitField0_; - // optional .hbase.pb.Token token = 1; public static final int TOKEN_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token token_; /** @@ -2818,7 +2799,8 @@ public final class AuthenticationProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -2876,7 +2858,6 @@ public final class AuthenticationProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2963,8 +2944,9 @@ public final class AuthenticationProtos { * Protobuf type {@code hbase.pb.GetAuthenticationTokenResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.GetAuthenticationTokenResponse) + org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.GetAuthenticationTokenResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_GetAuthenticationTokenResponse_descriptor; @@ -3086,7 +3068,6 @@ public final class AuthenticationProtos { } private int bitField0_; - // optional .hbase.pb.Token token = 1; private org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token token_ = org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.Builder, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenOrBuilder> tokenBuilder_; @@ -3195,7 +3176,7 @@ public final class AuthenticationProtos { if (tokenBuilder_ == null) { tokenBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.Token.Builder, org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.TokenOrBuilder>( - token_, + getToken(), getParentForChildren(), isClean()); token_ = null; @@ -3214,15 +3195,17 @@ public final class AuthenticationProtos { // @@protoc_insertion_point(class_scope:hbase.pb.GetAuthenticationTokenResponse) } - public interface WhoAmIRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface WhoAmIRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.WhoAmIRequest) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.WhoAmIRequest} */ public static final class WhoAmIRequest extends - com.google.protobuf.GeneratedMessage - implements WhoAmIRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.WhoAmIRequest) + WhoAmIRequestOrBuilder { // Use WhoAmIRequest.newBuilder() to construct. private WhoAmIRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -3311,7 +3294,8 @@ public final class AuthenticationProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -3357,7 +3341,6 @@ public final class AuthenticationProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -3440,8 +3423,9 @@ public final class AuthenticationProtos { * Protobuf type {@code hbase.pb.WhoAmIRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.WhoAmIRequest) + org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_WhoAmIRequest_descriptor; @@ -3552,10 +3536,10 @@ public final class AuthenticationProtos { // @@protoc_insertion_point(class_scope:hbase.pb.WhoAmIRequest) } - public interface WhoAmIResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface WhoAmIResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.WhoAmIResponse) + com.google.protobuf.MessageOrBuilder { - // optional string username = 1; /** * optional string username = 1; */ @@ -3570,7 +3554,6 @@ public final class AuthenticationProtos { com.google.protobuf.ByteString getUsernameBytes(); - // optional string auth_method = 2; /** * optional string auth_method = 2; */ @@ -3589,8 +3572,9 @@ public final class AuthenticationProtos { * Protobuf type {@code hbase.pb.WhoAmIResponse} */ public static final class WhoAmIResponse extends - com.google.protobuf.GeneratedMessage - implements WhoAmIResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.WhoAmIResponse) + WhoAmIResponseOrBuilder { // Use WhoAmIResponse.newBuilder() to construct. private WhoAmIResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -3637,13 +3621,15 @@ public final class AuthenticationProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - username_ = input.readBytes(); + username_ = bs; break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - authMethod_ = input.readBytes(); + authMethod_ = bs; break; } } @@ -3686,7 +3672,6 @@ public final class AuthenticationProtos { } private int bitField0_; - // optional string username = 1; public static final int USERNAME_FIELD_NUMBER = 1; private java.lang.Object username_; /** @@ -3729,7 +3714,6 @@ public final class AuthenticationProtos { } } - // optional string auth_method = 2; public static final int AUTH_METHOD_FIELD_NUMBER = 2; private java.lang.Object authMethod_; /** @@ -3779,7 +3763,8 @@ public final class AuthenticationProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -3849,7 +3834,6 @@ public final class AuthenticationProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -3940,8 +3924,9 @@ public final class AuthenticationProtos { * Protobuf type {@code hbase.pb.WhoAmIResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.WhoAmIResponse) + org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.WhoAmIResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.AuthenticationProtos.internal_static_hbase_pb_WhoAmIResponse_descriptor; @@ -4067,7 +4052,6 @@ public final class AuthenticationProtos { } private int bitField0_; - // optional string username = 1; private java.lang.Object username_ = ""; /** * optional string username = 1; @@ -4081,9 +4065,12 @@ public final class AuthenticationProtos { public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - username_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + username_ = s; + } return s; } else { return (java.lang.String) ref; @@ -4141,7 +4128,6 @@ public final class AuthenticationProtos { return this; } - // optional string auth_method = 2; private java.lang.Object authMethod_ = ""; /** * optional string auth_method = 2; @@ -4155,9 +4141,12 @@ public final class AuthenticationProtos { public java.lang.String getAuthMethod() { java.lang.Object ref = authMethod_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - authMethod_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + authMethod_ = s; + } return s; } else { return (java.lang.String) ref; @@ -4533,37 +4522,37 @@ public final class AuthenticationProtos { // @@protoc_insertion_point(class_scope:hbase.pb.AuthenticationService) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_AuthenticationKey_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_AuthenticationKey_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_TokenIdentifier_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_TokenIdentifier_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Token_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Token_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GetAuthenticationTokenRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_GetAuthenticationTokenRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GetAuthenticationTokenResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_GetAuthenticationTokenResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_WhoAmIRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_WhoAmIRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_WhoAmIResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -4600,59 +4589,59 @@ public final class AuthenticationProtos { "otosH\001\210\001\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_AuthenticationKey_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_AuthenticationKey_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_AuthenticationKey_descriptor, - new java.lang.String[] { "Id", "ExpirationDate", "Key", }); - internal_static_hbase_pb_TokenIdentifier_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_hbase_pb_TokenIdentifier_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_TokenIdentifier_descriptor, - new java.lang.String[] { "Kind", "Username", "KeyId", "IssueDate", "ExpirationDate", "SequenceNumber", }); - internal_static_hbase_pb_Token_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_hbase_pb_Token_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_Token_descriptor, - new java.lang.String[] { "Identifier", "Password", "Service", }); - internal_static_hbase_pb_GetAuthenticationTokenRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_hbase_pb_GetAuthenticationTokenRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_GetAuthenticationTokenRequest_descriptor, - new java.lang.String[] { }); - internal_static_hbase_pb_GetAuthenticationTokenResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_hbase_pb_GetAuthenticationTokenResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_GetAuthenticationTokenResponse_descriptor, - new java.lang.String[] { "Token", }); - internal_static_hbase_pb_WhoAmIRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_hbase_pb_WhoAmIRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_WhoAmIRequest_descriptor, - new java.lang.String[] { }); - internal_static_hbase_pb_WhoAmIResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_hbase_pb_WhoAmIResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_WhoAmIResponse_descriptor, - new java.lang.String[] { "Username", "AuthMethod", }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); + internal_static_hbase_pb_AuthenticationKey_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_AuthenticationKey_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_AuthenticationKey_descriptor, + new java.lang.String[] { "Id", "ExpirationDate", "Key", }); + internal_static_hbase_pb_TokenIdentifier_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_hbase_pb_TokenIdentifier_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_TokenIdentifier_descriptor, + new java.lang.String[] { "Kind", "Username", "KeyId", "IssueDate", "ExpirationDate", "SequenceNumber", }); + internal_static_hbase_pb_Token_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_hbase_pb_Token_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_Token_descriptor, + new java.lang.String[] { "Identifier", "Password", "Service", }); + internal_static_hbase_pb_GetAuthenticationTokenRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_hbase_pb_GetAuthenticationTokenRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_GetAuthenticationTokenRequest_descriptor, + new java.lang.String[] { }); + internal_static_hbase_pb_GetAuthenticationTokenResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_hbase_pb_GetAuthenticationTokenResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_GetAuthenticationTokenResponse_descriptor, + new java.lang.String[] { "Token", }); + internal_static_hbase_pb_WhoAmIRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_hbase_pb_WhoAmIRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_WhoAmIRequest_descriptor, + new java.lang.String[] { }); + internal_static_hbase_pb_WhoAmIResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_hbase_pb_WhoAmIResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_WhoAmIResponse_descriptor, + new java.lang.String[] { "Username", "AuthMethod", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/CellProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/CellProtos.java index 7fc4706..1ef877c 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/CellProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/CellProtos.java @@ -139,10 +139,10 @@ public final class CellProtos { // @@protoc_insertion_point(enum_scope:hbase.pb.CellType) } - public interface CellOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface CellOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.Cell) + com.google.protobuf.MessageOrBuilder { - // optional bytes row = 1; /** * optional bytes row = 1; */ @@ -152,7 +152,6 @@ public final class CellProtos { */ com.google.protobuf.ByteString getRow(); - // optional bytes family = 2; /** * optional bytes family = 2; */ @@ -162,7 +161,6 @@ public final class CellProtos { */ com.google.protobuf.ByteString getFamily(); - // optional bytes qualifier = 3; /** * optional bytes qualifier = 3; */ @@ -172,7 +170,6 @@ public final class CellProtos { */ com.google.protobuf.ByteString getQualifier(); - // optional uint64 timestamp = 4; /** * optional uint64 timestamp = 4; */ @@ -182,7 +179,6 @@ public final class CellProtos { */ long getTimestamp(); - // optional .hbase.pb.CellType cell_type = 5; /** * optional .hbase.pb.CellType cell_type = 5; */ @@ -192,7 +188,6 @@ public final class CellProtos { */ org.apache.hadoop.hbase.protobuf.generated.CellProtos.CellType getCellType(); - // optional bytes value = 6; /** * optional bytes value = 6; */ @@ -202,7 +197,6 @@ public final class CellProtos { */ com.google.protobuf.ByteString getValue(); - // optional bytes tags = 7; /** * optional bytes tags = 7; */ @@ -221,8 +215,9 @@ public final class CellProtos { * */ public static final class Cell extends - com.google.protobuf.GeneratedMessage - implements CellOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.Cell) + CellOrBuilder { // Use Cell.newBuilder() to construct. private Cell(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -349,7 +344,6 @@ public final class CellProtos { } private int bitField0_; - // optional bytes row = 1; public static final int ROW_FIELD_NUMBER = 1; private com.google.protobuf.ByteString row_; /** @@ -365,7 +359,6 @@ public final class CellProtos { return row_; } - // optional bytes family = 2; public static final int FAMILY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString family_; /** @@ -381,7 +374,6 @@ public final class CellProtos { return family_; } - // optional bytes qualifier = 3; public static final int QUALIFIER_FIELD_NUMBER = 3; private com.google.protobuf.ByteString qualifier_; /** @@ -397,7 +389,6 @@ public final class CellProtos { return qualifier_; } - // optional uint64 timestamp = 4; public static final int TIMESTAMP_FIELD_NUMBER = 4; private long timestamp_; /** @@ -413,7 +404,6 @@ public final class CellProtos { return timestamp_; } - // optional .hbase.pb.CellType cell_type = 5; public static final int CELL_TYPE_FIELD_NUMBER = 5; private org.apache.hadoop.hbase.protobuf.generated.CellProtos.CellType cellType_; /** @@ -429,7 +419,6 @@ public final class CellProtos { return cellType_; } - // optional bytes value = 6; public static final int VALUE_FIELD_NUMBER = 6; private com.google.protobuf.ByteString value_; /** @@ -445,7 +434,6 @@ public final class CellProtos { return value_; } - // optional bytes tags = 7; public static final int TAGS_FIELD_NUMBER = 7; private com.google.protobuf.ByteString tags_; /** @@ -473,7 +461,8 @@ public final class CellProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -603,7 +592,6 @@ public final class CellProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -625,11 +613,13 @@ public final class CellProtos { } if (hasTimestamp()) { hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getTimestamp()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTimestamp()); } if (hasCellType()) { hash = (37 * hash) + CELL_TYPE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getCellType()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getCellType()); } if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; @@ -719,8 +709,9 @@ public final class CellProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.CellProtos.CellOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.Cell) + org.apache.hadoop.hbase.protobuf.generated.CellProtos.CellOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.CellProtos.internal_static_hbase_pb_Cell_descriptor; @@ -887,7 +878,6 @@ public final class CellProtos { } private int bitField0_; - // optional bytes row = 1; private com.google.protobuf.ByteString row_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes row = 1; @@ -923,7 +913,6 @@ public final class CellProtos { return this; } - // optional bytes family = 2; private com.google.protobuf.ByteString family_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes family = 2; @@ -959,7 +948,6 @@ public final class CellProtos { return this; } - // optional bytes qualifier = 3; private com.google.protobuf.ByteString qualifier_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes qualifier = 3; @@ -995,7 +983,6 @@ public final class CellProtos { return this; } - // optional uint64 timestamp = 4; private long timestamp_ ; /** * optional uint64 timestamp = 4; @@ -1028,7 +1015,6 @@ public final class CellProtos { return this; } - // optional .hbase.pb.CellType cell_type = 5; private org.apache.hadoop.hbase.protobuf.generated.CellProtos.CellType cellType_ = org.apache.hadoop.hbase.protobuf.generated.CellProtos.CellType.MINIMUM; /** * optional .hbase.pb.CellType cell_type = 5; @@ -1064,7 +1050,6 @@ public final class CellProtos { return this; } - // optional bytes value = 6; private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes value = 6; @@ -1100,7 +1085,6 @@ public final class CellProtos { return this; } - // optional bytes tags = 7; private com.google.protobuf.ByteString tags_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes tags = 7; @@ -1147,10 +1131,10 @@ public final class CellProtos { // @@protoc_insertion_point(class_scope:hbase.pb.Cell) } - public interface KeyValueOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface KeyValueOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.KeyValue) + com.google.protobuf.MessageOrBuilder { - // required bytes row = 1; /** * required bytes row = 1; */ @@ -1160,7 +1144,6 @@ public final class CellProtos { */ com.google.protobuf.ByteString getRow(); - // required bytes family = 2; /** * required bytes family = 2; */ @@ -1170,7 +1153,6 @@ public final class CellProtos { */ com.google.protobuf.ByteString getFamily(); - // required bytes qualifier = 3; /** * required bytes qualifier = 3; */ @@ -1180,7 +1162,6 @@ public final class CellProtos { */ com.google.protobuf.ByteString getQualifier(); - // optional uint64 timestamp = 4; /** * optional uint64 timestamp = 4; */ @@ -1190,7 +1171,6 @@ public final class CellProtos { */ long getTimestamp(); - // optional .hbase.pb.CellType key_type = 5; /** * optional .hbase.pb.CellType key_type = 5; */ @@ -1200,7 +1180,6 @@ public final class CellProtos { */ org.apache.hadoop.hbase.protobuf.generated.CellProtos.CellType getKeyType(); - // optional bytes value = 6; /** * optional bytes value = 6; */ @@ -1210,7 +1189,6 @@ public final class CellProtos { */ com.google.protobuf.ByteString getValue(); - // optional bytes tags = 7; /** * optional bytes tags = 7; */ @@ -1230,8 +1208,9 @@ public final class CellProtos { * */ public static final class KeyValue extends - com.google.protobuf.GeneratedMessage - implements KeyValueOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.KeyValue) + KeyValueOrBuilder { // Use KeyValue.newBuilder() to construct. private KeyValue(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1358,7 +1337,6 @@ public final class CellProtos { } private int bitField0_; - // required bytes row = 1; public static final int ROW_FIELD_NUMBER = 1; private com.google.protobuf.ByteString row_; /** @@ -1374,7 +1352,6 @@ public final class CellProtos { return row_; } - // required bytes family = 2; public static final int FAMILY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString family_; /** @@ -1390,7 +1367,6 @@ public final class CellProtos { return family_; } - // required bytes qualifier = 3; public static final int QUALIFIER_FIELD_NUMBER = 3; private com.google.protobuf.ByteString qualifier_; /** @@ -1406,7 +1382,6 @@ public final class CellProtos { return qualifier_; } - // optional uint64 timestamp = 4; public static final int TIMESTAMP_FIELD_NUMBER = 4; private long timestamp_; /** @@ -1422,7 +1397,6 @@ public final class CellProtos { return timestamp_; } - // optional .hbase.pb.CellType key_type = 5; public static final int KEY_TYPE_FIELD_NUMBER = 5; private org.apache.hadoop.hbase.protobuf.generated.CellProtos.CellType keyType_; /** @@ -1438,7 +1412,6 @@ public final class CellProtos { return keyType_; } - // optional bytes value = 6; public static final int VALUE_FIELD_NUMBER = 6; private com.google.protobuf.ByteString value_; /** @@ -1454,7 +1427,6 @@ public final class CellProtos { return value_; } - // optional bytes tags = 7; public static final int TAGS_FIELD_NUMBER = 7; private com.google.protobuf.ByteString tags_; /** @@ -1482,7 +1454,8 @@ public final class CellProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRow()) { memoizedIsInitialized = 0; @@ -1624,7 +1597,6 @@ public final class CellProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1646,11 +1618,13 @@ public final class CellProtos { } if (hasTimestamp()) { hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getTimestamp()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTimestamp()); } if (hasKeyType()) { hash = (37 * hash) + KEY_TYPE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getKeyType()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getKeyType()); } if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; @@ -1741,8 +1715,9 @@ public final class CellProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.CellProtos.KeyValueOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.KeyValue) + org.apache.hadoop.hbase.protobuf.generated.CellProtos.KeyValueOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.CellProtos.internal_static_hbase_pb_KeyValue_descriptor; @@ -1921,7 +1896,6 @@ public final class CellProtos { } private int bitField0_; - // required bytes row = 1; private com.google.protobuf.ByteString row_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes row = 1; @@ -1957,7 +1931,6 @@ public final class CellProtos { return this; } - // required bytes family = 2; private com.google.protobuf.ByteString family_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes family = 2; @@ -1993,7 +1966,6 @@ public final class CellProtos { return this; } - // required bytes qualifier = 3; private com.google.protobuf.ByteString qualifier_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes qualifier = 3; @@ -2029,7 +2001,6 @@ public final class CellProtos { return this; } - // optional uint64 timestamp = 4; private long timestamp_ ; /** * optional uint64 timestamp = 4; @@ -2062,7 +2033,6 @@ public final class CellProtos { return this; } - // optional .hbase.pb.CellType key_type = 5; private org.apache.hadoop.hbase.protobuf.generated.CellProtos.CellType keyType_ = org.apache.hadoop.hbase.protobuf.generated.CellProtos.CellType.MINIMUM; /** * optional .hbase.pb.CellType key_type = 5; @@ -2098,7 +2068,6 @@ public final class CellProtos { return this; } - // optional bytes value = 6; private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes value = 6; @@ -2134,7 +2103,6 @@ public final class CellProtos { return this; } - // optional bytes tags = 7; private com.google.protobuf.ByteString tags_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes tags = 7; @@ -2181,12 +2149,12 @@ public final class CellProtos { // @@protoc_insertion_point(class_scope:hbase.pb.KeyValue) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Cell_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Cell_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_KeyValue_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -2214,29 +2182,29 @@ public final class CellProtos { "rotobuf.generatedB\nCellProtosH\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_Cell_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_Cell_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_Cell_descriptor, - new java.lang.String[] { "Row", "Family", "Qualifier", "Timestamp", "CellType", "Value", "Tags", }); - internal_static_hbase_pb_KeyValue_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_hbase_pb_KeyValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_KeyValue_descriptor, - new java.lang.String[] { "Row", "Family", "Qualifier", "Timestamp", "KeyType", "Value", "Tags", }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); + internal_static_hbase_pb_Cell_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_Cell_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_Cell_descriptor, + new java.lang.String[] { "Row", "Family", "Qualifier", "Timestamp", "CellType", "Value", "Tags", }); + internal_static_hbase_pb_KeyValue_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_hbase_pb_KeyValue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_KeyValue_descriptor, + new java.lang.String[] { "Row", "Family", "Qualifier", "Timestamp", "KeyType", "Value", "Tags", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ClientProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ClientProtos.java index 1bb57c4..c40d4d2 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ClientProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ClientProtos.java @@ -95,15 +95,15 @@ public final class ClientProtos { // @@protoc_insertion_point(enum_scope:hbase.pb.Consistency) } - public interface AuthorizationsOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface AuthorizationsOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.Authorizations) + com.google.protobuf.MessageOrBuilder { - // repeated string label = 1; /** * repeated string label = 1; */ - java.util.List - getLabelList(); + com.google.protobuf.ProtocolStringList + getLabelList(); /** * repeated string label = 1; */ @@ -127,8 +127,9 @@ public final class ClientProtos { * */ public static final class Authorizations extends - com.google.protobuf.GeneratedMessage - implements AuthorizationsOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.Authorizations) + AuthorizationsOrBuilder { // Use Authorizations.newBuilder() to construct. private Authorizations(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -175,11 +176,12 @@ public final class ClientProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { label_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } - label_.add(input.readBytes()); + label_.add(bs); break; } } @@ -191,7 +193,7 @@ public final class ClientProtos { e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - label_ = new com.google.protobuf.UnmodifiableLazyStringList(label_); + label_ = label_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -224,13 +226,12 @@ public final class ClientProtos { return PARSER; } - // repeated string label = 1; public static final int LABEL_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList label_; /** * repeated string label = 1; */ - public java.util.List + public com.google.protobuf.ProtocolStringList getLabelList() { return label_; } @@ -260,7 +261,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -320,7 +322,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -412,8 +413,9 @@ public final class ClientProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.AuthorizationsOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.Authorizations) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.AuthorizationsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Authorizations_descriptor; @@ -476,8 +478,7 @@ public final class ClientProtos { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations result = new org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Authorizations(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { - label_ = new com.google.protobuf.UnmodifiableLazyStringList( - label_); + label_ = label_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.label_ = label_; @@ -533,7 +534,6 @@ public final class ClientProtos { } private int bitField0_; - // repeated string label = 1; private com.google.protobuf.LazyStringList label_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLabelIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { @@ -544,9 +544,9 @@ public final class ClientProtos { /** * repeated string label = 1; */ - public java.util.List + public com.google.protobuf.ProtocolStringList getLabelList() { - return java.util.Collections.unmodifiableList(label_); + return label_.getUnmodifiableView(); } /** * repeated string label = 1; @@ -599,7 +599,8 @@ public final class ClientProtos { public Builder addAllLabel( java.lang.Iterable values) { ensureLabelIsMutable(); - super.addAll(values, label_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, label_); onChanged(); return this; } @@ -637,10 +638,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.Authorizations) } - public interface CellVisibilityOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface CellVisibilityOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.CellVisibility) + com.google.protobuf.MessageOrBuilder { - // required string expression = 1; /** * required string expression = 1; */ @@ -664,8 +665,9 @@ public final class ClientProtos { * */ public static final class CellVisibility extends - com.google.protobuf.GeneratedMessage - implements CellVisibilityOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.CellVisibility) + CellVisibilityOrBuilder { // Use CellVisibility.newBuilder() to construct. private CellVisibility(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -712,8 +714,9 @@ public final class ClientProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - expression_ = input.readBytes(); + expression_ = bs; break; } } @@ -756,7 +759,6 @@ public final class ClientProtos { } private int bitField0_; - // required string expression = 1; public static final int EXPRESSION_FIELD_NUMBER = 1; private java.lang.Object expression_; /** @@ -805,7 +807,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasExpression()) { memoizedIsInitialized = 0; @@ -867,7 +870,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -959,8 +961,9 @@ public final class ClientProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibilityOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.CellVisibility) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CellVisibilityOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CellVisibility_descriptor; @@ -1079,7 +1082,6 @@ public final class ClientProtos { } private int bitField0_; - // required string expression = 1; private java.lang.Object expression_ = ""; /** * required string expression = 1; @@ -1093,9 +1095,12 @@ public final class ClientProtos { public java.lang.String getExpression() { java.lang.Object ref = expression_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - expression_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + expression_ = s; + } return s; } else { return (java.lang.String) ref; @@ -1164,10 +1169,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.CellVisibility) } - public interface ColumnOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ColumnOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.Column) + com.google.protobuf.MessageOrBuilder { - // required bytes family = 1; /** * required bytes family = 1; */ @@ -1177,7 +1182,6 @@ public final class ClientProtos { */ com.google.protobuf.ByteString getFamily(); - // repeated bytes qualifier = 2; /** * repeated bytes qualifier = 2; */ @@ -1200,8 +1204,9 @@ public final class ClientProtos { * */ public static final class Column extends - com.google.protobuf.GeneratedMessage - implements ColumnOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.Column) + ColumnOrBuilder { // Use Column.newBuilder() to construct. private Column(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1303,7 +1308,6 @@ public final class ClientProtos { } private int bitField0_; - // required bytes family = 1; public static final int FAMILY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString family_; /** @@ -1319,7 +1323,6 @@ public final class ClientProtos { return family_; } - // repeated bytes qualifier = 2; public static final int QUALIFIER_FIELD_NUMBER = 2; private java.util.List qualifier_; /** @@ -1349,7 +1352,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasFamily()) { memoizedIsInitialized = 0; @@ -1425,7 +1429,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1521,8 +1524,9 @@ public final class ClientProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ColumnOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.Column) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ColumnOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Column_descriptor; @@ -1656,7 +1660,6 @@ public final class ClientProtos { } private int bitField0_; - // required bytes family = 1; private com.google.protobuf.ByteString family_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes family = 1; @@ -1692,7 +1695,6 @@ public final class ClientProtos { return this; } - // repeated bytes qualifier = 2; private java.util.List qualifier_ = java.util.Collections.emptyList(); private void ensureQualifierIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { @@ -1750,7 +1752,8 @@ public final class ClientProtos { public Builder addAllQualifier( java.lang.Iterable values) { ensureQualifierIsMutable(); - super.addAll(values, qualifier_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, qualifier_); onChanged(); return this; } @@ -1775,10 +1778,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.Column) } - public interface GetOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface GetOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.Get) + com.google.protobuf.MessageOrBuilder { - // required bytes row = 1; /** * required bytes row = 1; */ @@ -1788,7 +1791,6 @@ public final class ClientProtos { */ com.google.protobuf.ByteString getRow(); - // repeated .hbase.pb.Column column = 2; /** * repeated .hbase.pb.Column column = 2; */ @@ -1813,7 +1815,6 @@ public final class ClientProtos { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ColumnOrBuilder getColumnOrBuilder( int index); - // repeated .hbase.pb.NameBytesPair attribute = 3; /** * repeated .hbase.pb.NameBytesPair attribute = 3; */ @@ -1838,7 +1839,6 @@ public final class ClientProtos { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getAttributeOrBuilder( int index); - // optional .hbase.pb.Filter filter = 4; /** * optional .hbase.pb.Filter filter = 4; */ @@ -1852,7 +1852,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder getFilterOrBuilder(); - // optional .hbase.pb.TimeRange time_range = 5; /** * optional .hbase.pb.TimeRange time_range = 5; */ @@ -1866,7 +1865,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder getTimeRangeOrBuilder(); - // optional uint32 max_versions = 6 [default = 1]; /** * optional uint32 max_versions = 6 [default = 1]; */ @@ -1876,7 +1874,6 @@ public final class ClientProtos { */ int getMaxVersions(); - // optional bool cache_blocks = 7 [default = true]; /** * optional bool cache_blocks = 7 [default = true]; */ @@ -1886,7 +1883,6 @@ public final class ClientProtos { */ boolean getCacheBlocks(); - // optional uint32 store_limit = 8; /** * optional uint32 store_limit = 8; */ @@ -1896,7 +1892,6 @@ public final class ClientProtos { */ int getStoreLimit(); - // optional uint32 store_offset = 9; /** * optional uint32 store_offset = 9; */ @@ -1906,7 +1901,6 @@ public final class ClientProtos { */ int getStoreOffset(); - // optional bool existence_only = 10 [default = false]; /** * optional bool existence_only = 10 [default = false]; * @@ -1926,7 +1920,6 @@ public final class ClientProtos { */ boolean getExistenceOnly(); - // optional .hbase.pb.Consistency consistency = 12 [default = STRONG]; /** * optional .hbase.pb.Consistency consistency = 12 [default = STRONG]; */ @@ -1936,7 +1929,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency getConsistency(); - // repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; */ @@ -1961,7 +1953,6 @@ public final class ClientProtos { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRangeOrBuilder getCfTimeRangeOrBuilder( int index); - // optional bool load_column_families_on_demand = 14; /** * optional bool load_column_families_on_demand = 14; * @@ -1990,8 +1981,9 @@ public final class ClientProtos { * */ public static final class Get extends - com.google.protobuf.GeneratedMessage - implements GetOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.Get) + GetOrBuilder { // Use Get.newBuilder() to construct. private Get(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2182,7 +2174,6 @@ public final class ClientProtos { } private int bitField0_; - // required bytes row = 1; public static final int ROW_FIELD_NUMBER = 1; private com.google.protobuf.ByteString row_; /** @@ -2198,7 +2189,6 @@ public final class ClientProtos { return row_; } - // repeated .hbase.pb.Column column = 2; public static final int COLUMN_FIELD_NUMBER = 2; private java.util.List column_; /** @@ -2234,7 +2224,6 @@ public final class ClientProtos { return column_.get(index); } - // repeated .hbase.pb.NameBytesPair attribute = 3; public static final int ATTRIBUTE_FIELD_NUMBER = 3; private java.util.List attribute_; /** @@ -2270,7 +2259,6 @@ public final class ClientProtos { return attribute_.get(index); } - // optional .hbase.pb.Filter filter = 4; public static final int FILTER_FIELD_NUMBER = 4; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter filter_; /** @@ -2292,7 +2280,6 @@ public final class ClientProtos { return filter_; } - // optional .hbase.pb.TimeRange time_range = 5; public static final int TIME_RANGE_FIELD_NUMBER = 5; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange timeRange_; /** @@ -2314,7 +2301,6 @@ public final class ClientProtos { return timeRange_; } - // optional uint32 max_versions = 6 [default = 1]; public static final int MAX_VERSIONS_FIELD_NUMBER = 6; private int maxVersions_; /** @@ -2330,7 +2316,6 @@ public final class ClientProtos { return maxVersions_; } - // optional bool cache_blocks = 7 [default = true]; public static final int CACHE_BLOCKS_FIELD_NUMBER = 7; private boolean cacheBlocks_; /** @@ -2346,7 +2331,6 @@ public final class ClientProtos { return cacheBlocks_; } - // optional uint32 store_limit = 8; public static final int STORE_LIMIT_FIELD_NUMBER = 8; private int storeLimit_; /** @@ -2362,7 +2346,6 @@ public final class ClientProtos { return storeLimit_; } - // optional uint32 store_offset = 9; public static final int STORE_OFFSET_FIELD_NUMBER = 9; private int storeOffset_; /** @@ -2378,7 +2361,6 @@ public final class ClientProtos { return storeOffset_; } - // optional bool existence_only = 10 [default = false]; public static final int EXISTENCE_ONLY_FIELD_NUMBER = 10; private boolean existenceOnly_; /** @@ -2404,7 +2386,6 @@ public final class ClientProtos { return existenceOnly_; } - // optional .hbase.pb.Consistency consistency = 12 [default = STRONG]; public static final int CONSISTENCY_FIELD_NUMBER = 12; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency consistency_; /** @@ -2420,7 +2401,6 @@ public final class ClientProtos { return consistency_; } - // repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; public static final int CF_TIME_RANGE_FIELD_NUMBER = 13; private java.util.List cfTimeRange_; /** @@ -2456,7 +2436,6 @@ public final class ClientProtos { return cfTimeRange_.get(index); } - // optional bool load_column_families_on_demand = 14; public static final int LOAD_COLUMN_FAMILIES_ON_DEMAND_FIELD_NUMBER = 14; private boolean loadColumnFamiliesOnDemand_; /** @@ -2498,7 +2477,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRow()) { memoizedIsInitialized = 0; @@ -2719,7 +2699,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2753,7 +2732,8 @@ public final class ClientProtos { } if (hasCacheBlocks()) { hash = (37 * hash) + CACHE_BLOCKS_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getCacheBlocks()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCacheBlocks()); } if (hasStoreLimit()) { hash = (37 * hash) + STORE_LIMIT_FIELD_NUMBER; @@ -2765,11 +2745,13 @@ public final class ClientProtos { } if (hasExistenceOnly()) { hash = (37 * hash) + EXISTENCE_ONLY_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getExistenceOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getExistenceOnly()); } if (hasConsistency()) { hash = (37 * hash) + CONSISTENCY_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getConsistency()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getConsistency()); } if (getCfTimeRangeCount() > 0) { hash = (37 * hash) + CF_TIME_RANGE_FIELD_NUMBER; @@ -2777,7 +2759,8 @@ public final class ClientProtos { } if (hasLoadColumnFamiliesOnDemand()) { hash = (37 * hash) + LOAD_COLUMN_FAMILIES_ON_DEMAND_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getLoadColumnFamiliesOnDemand()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getLoadColumnFamiliesOnDemand()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -2861,8 +2844,9 @@ public final class ClientProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.Get) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Get_descriptor; @@ -3228,7 +3212,6 @@ public final class ClientProtos { } private int bitField0_; - // required bytes row = 1; private com.google.protobuf.ByteString row_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes row = 1; @@ -3264,7 +3247,6 @@ public final class ClientProtos { return this; } - // repeated .hbase.pb.Column column = 2; private java.util.List column_ = java.util.Collections.emptyList(); private void ensureColumnIsMutable() { @@ -3406,7 +3388,8 @@ public final class ClientProtos { java.lang.Iterable values) { if (columnBuilder_ == null) { ensureColumnIsMutable(); - super.addAll(values, column_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, column_); onChanged(); } else { columnBuilder_.addAllMessages(values); @@ -3504,7 +3487,6 @@ public final class ClientProtos { return columnBuilder_; } - // repeated .hbase.pb.NameBytesPair attribute = 3; private java.util.List attribute_ = java.util.Collections.emptyList(); private void ensureAttributeIsMutable() { @@ -3646,7 +3628,8 @@ public final class ClientProtos { java.lang.Iterable values) { if (attributeBuilder_ == null) { ensureAttributeIsMutable(); - super.addAll(values, attribute_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, attribute_); onChanged(); } else { attributeBuilder_.addAllMessages(values); @@ -3744,7 +3727,6 @@ public final class ClientProtos { return attributeBuilder_; } - // optional .hbase.pb.Filter filter = 4; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter filter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder> filterBuilder_; @@ -3853,7 +3835,7 @@ public final class ClientProtos { if (filterBuilder_ == null) { filterBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder>( - filter_, + getFilter(), getParentForChildren(), isClean()); filter_ = null; @@ -3861,7 +3843,6 @@ public final class ClientProtos { return filterBuilder_; } - // optional .hbase.pb.TimeRange time_range = 5; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder> timeRangeBuilder_; @@ -3970,7 +3951,7 @@ public final class ClientProtos { if (timeRangeBuilder_ == null) { timeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder>( - timeRange_, + getTimeRange(), getParentForChildren(), isClean()); timeRange_ = null; @@ -3978,7 +3959,6 @@ public final class ClientProtos { return timeRangeBuilder_; } - // optional uint32 max_versions = 6 [default = 1]; private int maxVersions_ = 1; /** * optional uint32 max_versions = 6 [default = 1]; @@ -4011,7 +3991,6 @@ public final class ClientProtos { return this; } - // optional bool cache_blocks = 7 [default = true]; private boolean cacheBlocks_ = true; /** * optional bool cache_blocks = 7 [default = true]; @@ -4044,7 +4023,6 @@ public final class ClientProtos { return this; } - // optional uint32 store_limit = 8; private int storeLimit_ ; /** * optional uint32 store_limit = 8; @@ -4077,7 +4055,6 @@ public final class ClientProtos { return this; } - // optional uint32 store_offset = 9; private int storeOffset_ ; /** * optional uint32 store_offset = 9; @@ -4110,7 +4087,6 @@ public final class ClientProtos { return this; } - // optional bool existence_only = 10 [default = false]; private boolean existenceOnly_ ; /** * optional bool existence_only = 10 [default = false]; @@ -4163,7 +4139,6 @@ public final class ClientProtos { return this; } - // optional .hbase.pb.Consistency consistency = 12 [default = STRONG]; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency consistency_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency.STRONG; /** * optional .hbase.pb.Consistency consistency = 12 [default = STRONG]; @@ -4199,7 +4174,6 @@ public final class ClientProtos { return this; } - // repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 13; private java.util.List cfTimeRange_ = java.util.Collections.emptyList(); private void ensureCfTimeRangeIsMutable() { @@ -4341,7 +4315,8 @@ public final class ClientProtos { java.lang.Iterable values) { if (cfTimeRangeBuilder_ == null) { ensureCfTimeRangeIsMutable(); - super.addAll(values, cfTimeRange_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, cfTimeRange_); onChanged(); } else { cfTimeRangeBuilder_.addAllMessages(values); @@ -4439,7 +4414,6 @@ public final class ClientProtos { return cfTimeRangeBuilder_; } - // optional bool load_column_families_on_demand = 14; private boolean loadColumnFamiliesOnDemand_ ; /** * optional bool load_column_families_on_demand = 14; @@ -4499,10 +4473,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.Get) } - public interface ResultOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.Result) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.Cell cell = 1; /** * repeated .hbase.pb.Cell cell = 1; * @@ -4552,7 +4526,6 @@ public final class ClientProtos { org.apache.hadoop.hbase.protobuf.generated.CellProtos.CellOrBuilder getCellOrBuilder( int index); - // optional int32 associated_cell_count = 2; /** * optional int32 associated_cell_count = 2; * @@ -4580,7 +4553,6 @@ public final class ClientProtos { */ int getAssociatedCellCount(); - // optional bool exists = 3; /** * optional bool exists = 3; * @@ -4600,7 +4572,6 @@ public final class ClientProtos { */ boolean getExists(); - // optional bool stale = 4 [default = false]; /** * optional bool stale = 4 [default = false]; * @@ -4618,7 +4589,6 @@ public final class ClientProtos { */ boolean getStale(); - // optional bool partial = 5 [default = false]; /** * optional bool partial = 5 [default = false]; * @@ -4648,8 +4618,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.Result} */ public static final class Result extends - com.google.protobuf.GeneratedMessage - implements ResultOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.Result) + ResultOrBuilder { // Use Result.newBuilder() to construct. private Result(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -4766,7 +4737,6 @@ public final class ClientProtos { } private int bitField0_; - // repeated .hbase.pb.Cell cell = 1; public static final int CELL_FIELD_NUMBER = 1; private java.util.List cell_; /** @@ -4827,7 +4797,6 @@ public final class ClientProtos { return cell_.get(index); } - // optional int32 associated_cell_count = 2; public static final int ASSOCIATED_CELL_COUNT_FIELD_NUMBER = 2; private int associatedCellCount_; /** @@ -4861,7 +4830,6 @@ public final class ClientProtos { return associatedCellCount_; } - // optional bool exists = 3; public static final int EXISTS_FIELD_NUMBER = 3; private boolean exists_; /** @@ -4887,7 +4855,6 @@ public final class ClientProtos { return exists_; } - // optional bool stale = 4 [default = false]; public static final int STALE_FIELD_NUMBER = 4; private boolean stale_; /** @@ -4911,7 +4878,6 @@ public final class ClientProtos { return stale_; } - // optional bool partial = 5 [default = false]; public static final int PARTIAL_FIELD_NUMBER = 5; private boolean partial_; /** @@ -4953,7 +4919,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -5056,7 +5023,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -5074,15 +5040,18 @@ public final class ClientProtos { } if (hasExists()) { hash = (37 * hash) + EXISTS_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getExists()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getExists()); } if (hasStale()) { hash = (37 * hash) + STALE_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getStale()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStale()); } if (hasPartial()) { hash = (37 * hash) + PARTIAL_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getPartial()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getPartial()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -5159,8 +5128,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.Result} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.Result) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Result_descriptor; @@ -5342,7 +5312,6 @@ public final class ClientProtos { } private int bitField0_; - // repeated .hbase.pb.Cell cell = 1; private java.util.List cell_ = java.util.Collections.emptyList(); private void ensureCellIsMutable() { @@ -5534,7 +5503,8 @@ public final class ClientProtos { java.lang.Iterable values) { if (cellBuilder_ == null) { ensureCellIsMutable(); - super.addAll(values, cell_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, cell_); onChanged(); } else { cellBuilder_.addAllMessages(values); @@ -5672,7 +5642,6 @@ public final class ClientProtos { return cellBuilder_; } - // optional int32 associated_cell_count = 2; private int associatedCellCount_ ; /** * optional int32 associated_cell_count = 2; @@ -5741,7 +5710,6 @@ public final class ClientProtos { return this; } - // optional bool exists = 3; private boolean exists_ ; /** * optional bool exists = 3; @@ -5794,7 +5762,6 @@ public final class ClientProtos { return this; } - // optional bool stale = 4 [default = false]; private boolean stale_ ; /** * optional bool stale = 4 [default = false]; @@ -5843,7 +5810,6 @@ public final class ClientProtos { return this; } - // optional bool partial = 5 [default = false]; private boolean partial_ ; /** * optional bool partial = 5 [default = false]; @@ -5919,10 +5885,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.Result) } - public interface GetRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface GetRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.GetRequest) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.RegionSpecifier region = 1; /** * required .hbase.pb.RegionSpecifier region = 1; */ @@ -5936,7 +5902,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder(); - // required .hbase.pb.Get get = 2; /** * required .hbase.pb.Get get = 2; */ @@ -5959,8 +5924,9 @@ public final class ClientProtos { * */ public static final class GetRequest extends - com.google.protobuf.GeneratedMessage - implements GetRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.GetRequest) + GetRequestOrBuilder { // Use GetRequest.newBuilder() to construct. private GetRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -6072,7 +6038,6 @@ public final class ClientProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; public static final int REGION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** @@ -6094,7 +6059,6 @@ public final class ClientProtos { return region_; } - // required .hbase.pb.Get get = 2; public static final int GET_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get get_; /** @@ -6123,7 +6087,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRegion()) { memoizedIsInitialized = 0; @@ -6209,7 +6174,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -6305,8 +6269,9 @@ public final class ClientProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.GetRequest) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_GetRequest_descriptor; @@ -6462,7 +6427,6 @@ public final class ClientProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; @@ -6571,7 +6535,7 @@ public final class ClientProtos { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( - region_, + getRegion(), getParentForChildren(), isClean()); region_ = null; @@ -6579,7 +6543,6 @@ public final class ClientProtos { return regionBuilder_; } - // required .hbase.pb.Get get = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get get_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetOrBuilder> getBuilder_; @@ -6688,7 +6651,7 @@ public final class ClientProtos { if (getBuilder_ == null) { getBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetOrBuilder>( - get_, + getGet(), getParentForChildren(), isClean()); get_ = null; @@ -6707,10 +6670,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.GetRequest) } - public interface GetResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface GetResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.GetResponse) + com.google.protobuf.MessageOrBuilder { - // optional .hbase.pb.Result result = 1; /** * optional .hbase.pb.Result result = 1; */ @@ -6728,8 +6691,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.GetResponse} */ public static final class GetResponse extends - com.google.protobuf.GeneratedMessage - implements GetResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.GetResponse) + GetResponseOrBuilder { // Use GetResponse.newBuilder() to construct. private GetResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -6828,7 +6792,6 @@ public final class ClientProtos { } private int bitField0_; - // optional .hbase.pb.Result result = 1; public static final int RESULT_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result result_; /** @@ -6856,7 +6819,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -6914,7 +6878,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -7001,8 +6964,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.GetResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.GetResponse) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_GetResponse_descriptor; @@ -7124,7 +7088,6 @@ public final class ClientProtos { } private int bitField0_; - // optional .hbase.pb.Result result = 1; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result result_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder> resultBuilder_; @@ -7233,7 +7196,7 @@ public final class ClientProtos { if (resultBuilder_ == null) { resultBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder>( - result_, + getResult(), getParentForChildren(), isClean()); result_ = null; @@ -7252,10 +7215,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.GetResponse) } - public interface ConditionOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ConditionOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.Condition) + com.google.protobuf.MessageOrBuilder { - // required bytes row = 1; /** * required bytes row = 1; */ @@ -7265,7 +7228,6 @@ public final class ClientProtos { */ com.google.protobuf.ByteString getRow(); - // required bytes family = 2; /** * required bytes family = 2; */ @@ -7275,7 +7237,6 @@ public final class ClientProtos { */ com.google.protobuf.ByteString getFamily(); - // required bytes qualifier = 3; /** * required bytes qualifier = 3; */ @@ -7285,7 +7246,6 @@ public final class ClientProtos { */ com.google.protobuf.ByteString getQualifier(); - // required .hbase.pb.CompareType compare_type = 4; /** * required .hbase.pb.CompareType compare_type = 4; */ @@ -7295,7 +7255,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType getCompareType(); - // required .hbase.pb.Comparator comparator = 5; /** * required .hbase.pb.Comparator comparator = 5; */ @@ -7316,13 +7275,13 @@ public final class ClientProtos { ** * Condition to check if the value of a given cell (row, * family, qualifier) matches a value via a given comparator. - * * Condition is used in check and mutate operations. * */ public static final class Condition extends - com.google.protobuf.GeneratedMessage - implements ConditionOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.Condition) + ConditionOrBuilder { // Use Condition.newBuilder() to construct. private Condition(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -7447,7 +7406,6 @@ public final class ClientProtos { } private int bitField0_; - // required bytes row = 1; public static final int ROW_FIELD_NUMBER = 1; private com.google.protobuf.ByteString row_; /** @@ -7463,7 +7421,6 @@ public final class ClientProtos { return row_; } - // required bytes family = 2; public static final int FAMILY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString family_; /** @@ -7479,7 +7436,6 @@ public final class ClientProtos { return family_; } - // required bytes qualifier = 3; public static final int QUALIFIER_FIELD_NUMBER = 3; private com.google.protobuf.ByteString qualifier_; /** @@ -7495,7 +7451,6 @@ public final class ClientProtos { return qualifier_; } - // required .hbase.pb.CompareType compare_type = 4; public static final int COMPARE_TYPE_FIELD_NUMBER = 4; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType compareType_; /** @@ -7511,7 +7466,6 @@ public final class ClientProtos { return compareType_; } - // required .hbase.pb.Comparator comparator = 5; public static final int COMPARATOR_FIELD_NUMBER = 5; private org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator comparator_; /** @@ -7543,7 +7497,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRow()) { memoizedIsInitialized = 0; @@ -7673,7 +7628,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -7695,7 +7649,8 @@ public final class ClientProtos { } if (hasCompareType()) { hash = (37 * hash) + COMPARE_TYPE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getCompareType()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getCompareType()); } if (hasComparator()) { hash = (37 * hash) + COMPARATOR_FIELD_NUMBER; @@ -7779,13 +7734,13 @@ public final class ClientProtos { ** * Condition to check if the value of a given cell (row, * family, qualifier) matches a value via a given comparator. - * * Condition is used in check and mutate operations. * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.Condition) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Condition_descriptor; @@ -7967,7 +7922,6 @@ public final class ClientProtos { } private int bitField0_; - // required bytes row = 1; private com.google.protobuf.ByteString row_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes row = 1; @@ -8003,7 +7957,6 @@ public final class ClientProtos { return this; } - // required bytes family = 2; private com.google.protobuf.ByteString family_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes family = 2; @@ -8039,7 +7992,6 @@ public final class ClientProtos { return this; } - // required bytes qualifier = 3; private com.google.protobuf.ByteString qualifier_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes qualifier = 3; @@ -8075,7 +8027,6 @@ public final class ClientProtos { return this; } - // required .hbase.pb.CompareType compare_type = 4; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType compareType_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType.LESS; /** * required .hbase.pb.CompareType compare_type = 4; @@ -8111,7 +8062,6 @@ public final class ClientProtos { return this; } - // required .hbase.pb.Comparator comparator = 5; private org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator comparator_ = org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator.Builder, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ComparatorOrBuilder> comparatorBuilder_; @@ -8220,7 +8170,7 @@ public final class ClientProtos { if (comparatorBuilder_ == null) { comparatorBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator.Builder, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ComparatorOrBuilder>( - comparator_, + getComparator(), getParentForChildren(), isClean()); comparator_ = null; @@ -8239,10 +8189,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.Condition) } - public interface MutationProtoOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface MutationProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.MutationProto) + com.google.protobuf.MessageOrBuilder { - // optional bytes row = 1; /** * optional bytes row = 1; */ @@ -8252,7 +8202,6 @@ public final class ClientProtos { */ com.google.protobuf.ByteString getRow(); - // optional .hbase.pb.MutationProto.MutationType mutate_type = 2; /** * optional .hbase.pb.MutationProto.MutationType mutate_type = 2; */ @@ -8262,7 +8211,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType getMutateType(); - // repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; /** * repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; */ @@ -8287,7 +8235,6 @@ public final class ClientProtos { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValueOrBuilder getColumnValueOrBuilder( int index); - // optional uint64 timestamp = 4; /** * optional uint64 timestamp = 4; */ @@ -8297,7 +8244,6 @@ public final class ClientProtos { */ long getTimestamp(); - // repeated .hbase.pb.NameBytesPair attribute = 5; /** * repeated .hbase.pb.NameBytesPair attribute = 5; */ @@ -8322,7 +8268,6 @@ public final class ClientProtos { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getAttributeOrBuilder( int index); - // optional .hbase.pb.MutationProto.Durability durability = 6 [default = USE_DEFAULT]; /** * optional .hbase.pb.MutationProto.Durability durability = 6 [default = USE_DEFAULT]; */ @@ -8332,7 +8277,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Durability getDurability(); - // optional .hbase.pb.TimeRange time_range = 7; /** * optional .hbase.pb.TimeRange time_range = 7; * @@ -8361,7 +8305,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder getTimeRangeOrBuilder(); - // optional int32 associated_cell_count = 8; /** * optional int32 associated_cell_count = 8; * @@ -8389,7 +8332,6 @@ public final class ClientProtos { */ int getAssociatedCellCount(); - // optional uint64 nonce = 9; /** * optional uint64 nonce = 9; */ @@ -8412,8 +8354,9 @@ public final class ClientProtos { * */ public static final class MutationProto extends - com.google.protobuf.GeneratedMessage - implements MutationProtoOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.MutationProto) + MutationProtoOrBuilder { // Use MutationProto.newBuilder() to construct. private MutationProto(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -8884,10 +8827,10 @@ public final class ClientProtos { // @@protoc_insertion_point(enum_scope:hbase.pb.MutationProto.DeleteType) } - public interface ColumnValueOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ColumnValueOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.MutationProto.ColumnValue) + com.google.protobuf.MessageOrBuilder { - // required bytes family = 1; /** * required bytes family = 1; */ @@ -8897,7 +8840,6 @@ public final class ClientProtos { */ com.google.protobuf.ByteString getFamily(); - // repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; /** * repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; */ @@ -8926,8 +8868,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.MutationProto.ColumnValue} */ public static final class ColumnValue extends - com.google.protobuf.GeneratedMessage - implements ColumnValueOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.MutationProto.ColumnValue) + ColumnValueOrBuilder { // Use ColumnValue.newBuilder() to construct. private ColumnValue(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -9028,10 +8971,10 @@ public final class ClientProtos { return PARSER; } - public interface QualifierValueOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface QualifierValueOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.MutationProto.ColumnValue.QualifierValue) + com.google.protobuf.MessageOrBuilder { - // optional bytes qualifier = 1; /** * optional bytes qualifier = 1; */ @@ -9041,7 +8984,6 @@ public final class ClientProtos { */ com.google.protobuf.ByteString getQualifier(); - // optional bytes value = 2; /** * optional bytes value = 2; */ @@ -9051,7 +8993,6 @@ public final class ClientProtos { */ com.google.protobuf.ByteString getValue(); - // optional uint64 timestamp = 3; /** * optional uint64 timestamp = 3; */ @@ -9061,7 +9002,6 @@ public final class ClientProtos { */ long getTimestamp(); - // optional .hbase.pb.MutationProto.DeleteType delete_type = 4; /** * optional .hbase.pb.MutationProto.DeleteType delete_type = 4; */ @@ -9071,7 +9011,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.DeleteType getDeleteType(); - // optional bytes tags = 5; /** * optional bytes tags = 5; */ @@ -9085,8 +9024,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.MutationProto.ColumnValue.QualifierValue} */ public static final class QualifierValue extends - com.google.protobuf.GeneratedMessage - implements QualifierValueOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.MutationProto.ColumnValue.QualifierValue) + QualifierValueOrBuilder { // Use QualifierValue.newBuilder() to construct. private QualifierValue(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -9203,7 +9143,6 @@ public final class ClientProtos { } private int bitField0_; - // optional bytes qualifier = 1; public static final int QUALIFIER_FIELD_NUMBER = 1; private com.google.protobuf.ByteString qualifier_; /** @@ -9219,7 +9158,6 @@ public final class ClientProtos { return qualifier_; } - // optional bytes value = 2; public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_; /** @@ -9235,7 +9173,6 @@ public final class ClientProtos { return value_; } - // optional uint64 timestamp = 3; public static final int TIMESTAMP_FIELD_NUMBER = 3; private long timestamp_; /** @@ -9251,7 +9188,6 @@ public final class ClientProtos { return timestamp_; } - // optional .hbase.pb.MutationProto.DeleteType delete_type = 4; public static final int DELETE_TYPE_FIELD_NUMBER = 4; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.DeleteType deleteType_; /** @@ -9267,7 +9203,6 @@ public final class ClientProtos { return deleteType_; } - // optional bytes tags = 5; public static final int TAGS_FIELD_NUMBER = 5; private com.google.protobuf.ByteString tags_; /** @@ -9293,7 +9228,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -9399,7 +9335,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -9417,11 +9352,13 @@ public final class ClientProtos { } if (hasTimestamp()) { hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getTimestamp()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTimestamp()); } if (hasDeleteType()) { hash = (37 * hash) + DELETE_TYPE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getDeleteType()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getDeleteType()); } if (hasTags()) { hash = (37 * hash) + TAGS_FIELD_NUMBER; @@ -9502,8 +9439,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.MutationProto.ColumnValue.QualifierValue} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValueOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.MutationProto.ColumnValue.QualifierValue) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValue.QualifierValueOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutationProto_ColumnValue_QualifierValue_descriptor; @@ -9652,7 +9590,6 @@ public final class ClientProtos { } private int bitField0_; - // optional bytes qualifier = 1; private com.google.protobuf.ByteString qualifier_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes qualifier = 1; @@ -9688,7 +9625,6 @@ public final class ClientProtos { return this; } - // optional bytes value = 2; private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes value = 2; @@ -9724,7 +9660,6 @@ public final class ClientProtos { return this; } - // optional uint64 timestamp = 3; private long timestamp_ ; /** * optional uint64 timestamp = 3; @@ -9757,7 +9692,6 @@ public final class ClientProtos { return this; } - // optional .hbase.pb.MutationProto.DeleteType delete_type = 4; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.DeleteType deleteType_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.DeleteType.DELETE_ONE_VERSION; /** * optional .hbase.pb.MutationProto.DeleteType delete_type = 4; @@ -9793,7 +9727,6 @@ public final class ClientProtos { return this; } - // optional bytes tags = 5; private com.google.protobuf.ByteString tags_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes tags = 5; @@ -9841,7 +9774,6 @@ public final class ClientProtos { } private int bitField0_; - // required bytes family = 1; public static final int FAMILY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString family_; /** @@ -9857,7 +9789,6 @@ public final class ClientProtos { return family_; } - // repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; public static final int QUALIFIER_VALUE_FIELD_NUMBER = 2; private java.util.List qualifierValue_; /** @@ -9900,7 +9831,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasFamily()) { memoizedIsInitialized = 0; @@ -9971,7 +9903,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -10062,8 +9993,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.MutationProto.ColumnValue} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValueOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.MutationProto.ColumnValue) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.ColumnValueOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutationProto_ColumnValue_descriptor; @@ -10222,7 +10154,6 @@ public final class ClientProtos { } private int bitField0_; - // required bytes family = 1; private com.google.protobuf.ByteString family_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes family = 1; @@ -10258,7 +10189,6 @@ public final class ClientProtos { return this; } - // repeated .hbase.pb.MutationProto.ColumnValue.QualifierValue qualifier_value = 2; private java.util.List qualifierValue_ = java.util.Collections.emptyList(); private void ensureQualifierValueIsMutable() { @@ -10400,7 +10330,8 @@ public final class ClientProtos { java.lang.Iterable values) { if (qualifierValueBuilder_ == null) { ensureQualifierValueIsMutable(); - super.addAll(values, qualifierValue_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, qualifierValue_); onChanged(); } else { qualifierValueBuilder_.addAllMessages(values); @@ -10510,7 +10441,6 @@ public final class ClientProtos { } private int bitField0_; - // optional bytes row = 1; public static final int ROW_FIELD_NUMBER = 1; private com.google.protobuf.ByteString row_; /** @@ -10526,7 +10456,6 @@ public final class ClientProtos { return row_; } - // optional .hbase.pb.MutationProto.MutationType mutate_type = 2; public static final int MUTATE_TYPE_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType mutateType_; /** @@ -10542,7 +10471,6 @@ public final class ClientProtos { return mutateType_; } - // repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; public static final int COLUMN_VALUE_FIELD_NUMBER = 3; private java.util.List columnValue_; /** @@ -10578,7 +10506,6 @@ public final class ClientProtos { return columnValue_.get(index); } - // optional uint64 timestamp = 4; public static final int TIMESTAMP_FIELD_NUMBER = 4; private long timestamp_; /** @@ -10594,7 +10521,6 @@ public final class ClientProtos { return timestamp_; } - // repeated .hbase.pb.NameBytesPair attribute = 5; public static final int ATTRIBUTE_FIELD_NUMBER = 5; private java.util.List attribute_; /** @@ -10630,7 +10556,6 @@ public final class ClientProtos { return attribute_.get(index); } - // optional .hbase.pb.MutationProto.Durability durability = 6 [default = USE_DEFAULT]; public static final int DURABILITY_FIELD_NUMBER = 6; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Durability durability_; /** @@ -10646,7 +10571,6 @@ public final class ClientProtos { return durability_; } - // optional .hbase.pb.TimeRange time_range = 7; public static final int TIME_RANGE_FIELD_NUMBER = 7; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange timeRange_; /** @@ -10683,7 +10607,6 @@ public final class ClientProtos { return timeRange_; } - // optional int32 associated_cell_count = 8; public static final int ASSOCIATED_CELL_COUNT_FIELD_NUMBER = 8; private int associatedCellCount_; /** @@ -10717,7 +10640,6 @@ public final class ClientProtos { return associatedCellCount_; } - // optional uint64 nonce = 9; public static final int NONCE_FIELD_NUMBER = 9; private long nonce_; /** @@ -10747,7 +10669,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getColumnValueCount(); i++) { if (!getColumnValue(i).isInitialized()) { @@ -10907,7 +10830,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -10921,7 +10843,8 @@ public final class ClientProtos { } if (hasMutateType()) { hash = (37 * hash) + MUTATE_TYPE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getMutateType()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getMutateType()); } if (getColumnValueCount() > 0) { hash = (37 * hash) + COLUMN_VALUE_FIELD_NUMBER; @@ -10929,7 +10852,8 @@ public final class ClientProtos { } if (hasTimestamp()) { hash = (37 * hash) + TIMESTAMP_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getTimestamp()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTimestamp()); } if (getAttributeCount() > 0) { hash = (37 * hash) + ATTRIBUTE_FIELD_NUMBER; @@ -10937,7 +10861,8 @@ public final class ClientProtos { } if (hasDurability()) { hash = (37 * hash) + DURABILITY_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getDurability()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getDurability()); } if (hasTimeRange()) { hash = (37 * hash) + TIME_RANGE_FIELD_NUMBER; @@ -10949,7 +10874,8 @@ public final class ClientProtos { } if (hasNonce()) { hash = (37 * hash) + NONCE_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getNonce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNonce()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -11035,8 +10961,9 @@ public final class ClientProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProtoOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.MutationProto) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProtoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutationProto_descriptor; @@ -11308,7 +11235,6 @@ public final class ClientProtos { } private int bitField0_; - // optional bytes row = 1; private com.google.protobuf.ByteString row_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes row = 1; @@ -11344,7 +11270,6 @@ public final class ClientProtos { return this; } - // optional .hbase.pb.MutationProto.MutationType mutate_type = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType mutateType_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.MutationType.APPEND; /** * optional .hbase.pb.MutationProto.MutationType mutate_type = 2; @@ -11380,7 +11305,6 @@ public final class ClientProtos { return this; } - // repeated .hbase.pb.MutationProto.ColumnValue column_value = 3; private java.util.List columnValue_ = java.util.Collections.emptyList(); private void ensureColumnValueIsMutable() { @@ -11522,7 +11446,8 @@ public final class ClientProtos { java.lang.Iterable values) { if (columnValueBuilder_ == null) { ensureColumnValueIsMutable(); - super.addAll(values, columnValue_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, columnValue_); onChanged(); } else { columnValueBuilder_.addAllMessages(values); @@ -11620,7 +11545,6 @@ public final class ClientProtos { return columnValueBuilder_; } - // optional uint64 timestamp = 4; private long timestamp_ ; /** * optional uint64 timestamp = 4; @@ -11653,7 +11577,6 @@ public final class ClientProtos { return this; } - // repeated .hbase.pb.NameBytesPair attribute = 5; private java.util.List attribute_ = java.util.Collections.emptyList(); private void ensureAttributeIsMutable() { @@ -11795,7 +11718,8 @@ public final class ClientProtos { java.lang.Iterable values) { if (attributeBuilder_ == null) { ensureAttributeIsMutable(); - super.addAll(values, attribute_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, attribute_); onChanged(); } else { attributeBuilder_.addAllMessages(values); @@ -11893,7 +11817,6 @@ public final class ClientProtos { return attributeBuilder_; } - // optional .hbase.pb.MutationProto.Durability durability = 6 [default = USE_DEFAULT]; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Durability durability_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Durability.USE_DEFAULT; /** * optional .hbase.pb.MutationProto.Durability durability = 6 [default = USE_DEFAULT]; @@ -11929,7 +11852,6 @@ public final class ClientProtos { return this; } - // optional .hbase.pb.TimeRange time_range = 7; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder> timeRangeBuilder_; @@ -12083,7 +12005,7 @@ public final class ClientProtos { if (timeRangeBuilder_ == null) { timeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder>( - timeRange_, + getTimeRange(), getParentForChildren(), isClean()); timeRange_ = null; @@ -12091,7 +12013,6 @@ public final class ClientProtos { return timeRangeBuilder_; } - // optional int32 associated_cell_count = 8; private int associatedCellCount_ ; /** * optional int32 associated_cell_count = 8; @@ -12160,7 +12081,6 @@ public final class ClientProtos { return this; } - // optional uint64 nonce = 9; private long nonce_ ; /** * optional uint64 nonce = 9; @@ -12204,10 +12124,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.MutationProto) } - public interface MutateRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface MutateRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.MutateRequest) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.RegionSpecifier region = 1; /** * required .hbase.pb.RegionSpecifier region = 1; */ @@ -12221,7 +12141,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder(); - // required .hbase.pb.MutationProto mutation = 2; /** * required .hbase.pb.MutationProto mutation = 2; */ @@ -12235,7 +12154,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProtoOrBuilder getMutationOrBuilder(); - // optional .hbase.pb.Condition condition = 3; /** * optional .hbase.pb.Condition condition = 3; */ @@ -12249,7 +12167,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder getConditionOrBuilder(); - // optional uint64 nonce_group = 4; /** * optional uint64 nonce_group = 4; */ @@ -12265,7 +12182,6 @@ public final class ClientProtos { *
    **
    * The mutate request. Perform a single Mutate operation.
-   *
    * Optionally, you can specify a condition. The mutate
    * will take place only if the condition is met.  Otherwise,
    * the mutate will be ignored.  In the response result,
@@ -12274,8 +12190,9 @@ public final class ClientProtos {
    * 
*/ public static final class MutateRequest extends - com.google.protobuf.GeneratedMessage - implements MutateRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.MutateRequest) + MutateRequestOrBuilder { // Use MutateRequest.newBuilder() to construct. private MutateRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -12405,7 +12322,6 @@ public final class ClientProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; public static final int REGION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** @@ -12427,7 +12343,6 @@ public final class ClientProtos { return region_; } - // required .hbase.pb.MutationProto mutation = 2; public static final int MUTATION_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto mutation_; /** @@ -12449,7 +12364,6 @@ public final class ClientProtos { return mutation_; } - // optional .hbase.pb.Condition condition = 3; public static final int CONDITION_FIELD_NUMBER = 3; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition condition_; /** @@ -12471,7 +12385,6 @@ public final class ClientProtos { return condition_; } - // optional uint64 nonce_group = 4; public static final int NONCE_GROUP_FIELD_NUMBER = 4; private long nonceGroup_; /** @@ -12496,7 +12409,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRegion()) { memoizedIsInitialized = 0; @@ -12612,7 +12526,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -12634,7 +12547,8 @@ public final class ClientProtos { } if (hasNonceGroup()) { hash = (37 * hash) + NONCE_GROUP_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getNonceGroup()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNonceGroup()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -12713,7 +12627,6 @@ public final class ClientProtos { *
      **
      * The mutate request. Perform a single Mutate operation.
-     *
      * Optionally, you can specify a condition. The mutate
      * will take place only if the condition is met.  Otherwise,
      * the mutate will be ignored.  In the response result,
@@ -12722,8 +12635,9 @@ public final class ClientProtos {
      * 
*/ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.MutateRequest) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutateRequest_descriptor; @@ -12912,7 +12826,6 @@ public final class ClientProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; @@ -13021,7 +12934,7 @@ public final class ClientProtos { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( - region_, + getRegion(), getParentForChildren(), isClean()); region_ = null; @@ -13029,7 +12942,6 @@ public final class ClientProtos { return regionBuilder_; } - // required .hbase.pb.MutationProto mutation = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto mutation_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProtoOrBuilder> mutationBuilder_; @@ -13138,7 +13050,7 @@ public final class ClientProtos { if (mutationBuilder_ == null) { mutationBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProtoOrBuilder>( - mutation_, + getMutation(), getParentForChildren(), isClean()); mutation_ = null; @@ -13146,7 +13058,6 @@ public final class ClientProtos { return mutationBuilder_; } - // optional .hbase.pb.Condition condition = 3; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition condition_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder> conditionBuilder_; @@ -13255,7 +13166,7 @@ public final class ClientProtos { if (conditionBuilder_ == null) { conditionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder>( - condition_, + getCondition(), getParentForChildren(), isClean()); condition_ = null; @@ -13263,7 +13174,6 @@ public final class ClientProtos { return conditionBuilder_; } - // optional uint64 nonce_group = 4; private long nonceGroup_ ; /** * optional uint64 nonce_group = 4; @@ -13307,10 +13217,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.MutateRequest) } - public interface MutateResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface MutateResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.MutateResponse) + com.google.protobuf.MessageOrBuilder { - // optional .hbase.pb.Result result = 1; /** * optional .hbase.pb.Result result = 1; */ @@ -13324,7 +13234,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder getResultOrBuilder(); - // optional bool processed = 2; /** * optional bool processed = 2; * @@ -13346,8 +13255,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.MutateResponse} */ public static final class MutateResponse extends - com.google.protobuf.GeneratedMessage - implements MutateResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.MutateResponse) + MutateResponseOrBuilder { // Use MutateResponse.newBuilder() to construct. private MutateResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -13451,7 +13361,6 @@ public final class ClientProtos { } private int bitField0_; - // optional .hbase.pb.Result result = 1; public static final int RESULT_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result result_; /** @@ -13473,7 +13382,6 @@ public final class ClientProtos { return result_; } - // optional bool processed = 2; public static final int PROCESSED_FIELD_NUMBER = 2; private boolean processed_; /** @@ -13504,7 +13412,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -13574,7 +13483,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -13588,7 +13496,8 @@ public final class ClientProtos { } if (hasProcessed()) { hash = (37 * hash) + PROCESSED_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getProcessed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getProcessed()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -13665,8 +13574,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.MutateResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.MutateResponse) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutateResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MutateResponse_descriptor; @@ -13797,7 +13707,6 @@ public final class ClientProtos { } private int bitField0_; - // optional .hbase.pb.Result result = 1; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result result_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder> resultBuilder_; @@ -13906,7 +13815,7 @@ public final class ClientProtos { if (resultBuilder_ == null) { resultBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder>( - result_, + getResult(), getParentForChildren(), isClean()); result_ = null; @@ -13914,7 +13823,6 @@ public final class ClientProtos { return resultBuilder_; } - // optional bool processed = 2; private boolean processed_ ; /** * optional bool processed = 2; @@ -13974,10 +13882,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.MutateResponse) } - public interface ScanOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ScanOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.Scan) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.Column column = 1; /** * repeated .hbase.pb.Column column = 1; */ @@ -14002,7 +13910,6 @@ public final class ClientProtos { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ColumnOrBuilder getColumnOrBuilder( int index); - // repeated .hbase.pb.NameBytesPair attribute = 2; /** * repeated .hbase.pb.NameBytesPair attribute = 2; */ @@ -14027,7 +13934,6 @@ public final class ClientProtos { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getAttributeOrBuilder( int index); - // optional bytes start_row = 3; /** * optional bytes start_row = 3; */ @@ -14037,7 +13943,6 @@ public final class ClientProtos { */ com.google.protobuf.ByteString getStartRow(); - // optional bytes stop_row = 4; /** * optional bytes stop_row = 4; */ @@ -14047,7 +13952,6 @@ public final class ClientProtos { */ com.google.protobuf.ByteString getStopRow(); - // optional .hbase.pb.Filter filter = 5; /** * optional .hbase.pb.Filter filter = 5; */ @@ -14061,7 +13965,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder getFilterOrBuilder(); - // optional .hbase.pb.TimeRange time_range = 6; /** * optional .hbase.pb.TimeRange time_range = 6; */ @@ -14075,7 +13978,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder getTimeRangeOrBuilder(); - // optional uint32 max_versions = 7 [default = 1]; /** * optional uint32 max_versions = 7 [default = 1]; */ @@ -14085,7 +13987,6 @@ public final class ClientProtos { */ int getMaxVersions(); - // optional bool cache_blocks = 8 [default = true]; /** * optional bool cache_blocks = 8 [default = true]; */ @@ -14095,7 +13996,6 @@ public final class ClientProtos { */ boolean getCacheBlocks(); - // optional uint32 batch_size = 9; /** * optional uint32 batch_size = 9; */ @@ -14105,7 +14005,6 @@ public final class ClientProtos { */ int getBatchSize(); - // optional uint64 max_result_size = 10; /** * optional uint64 max_result_size = 10; */ @@ -14115,7 +14014,6 @@ public final class ClientProtos { */ long getMaxResultSize(); - // optional uint32 store_limit = 11; /** * optional uint32 store_limit = 11; */ @@ -14125,7 +14023,6 @@ public final class ClientProtos { */ int getStoreLimit(); - // optional uint32 store_offset = 12; /** * optional uint32 store_offset = 12; */ @@ -14135,7 +14032,6 @@ public final class ClientProtos { */ int getStoreOffset(); - // optional bool load_column_families_on_demand = 13; /** * optional bool load_column_families_on_demand = 13; * @@ -14153,7 +14049,6 @@ public final class ClientProtos { */ boolean getLoadColumnFamiliesOnDemand(); - // optional bool small = 14 [deprecated = true]; /** * optional bool small = 14 [deprecated = true]; */ @@ -14163,7 +14058,6 @@ public final class ClientProtos { */ @java.lang.Deprecated boolean getSmall(); - // optional bool reversed = 15 [default = false]; /** * optional bool reversed = 15 [default = false]; */ @@ -14173,7 +14067,6 @@ public final class ClientProtos { */ boolean getReversed(); - // optional .hbase.pb.Consistency consistency = 16 [default = STRONG]; /** * optional .hbase.pb.Consistency consistency = 16 [default = STRONG]; */ @@ -14183,7 +14076,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency getConsistency(); - // optional uint32 caching = 17; /** * optional uint32 caching = 17; */ @@ -14193,7 +14085,6 @@ public final class ClientProtos { */ int getCaching(); - // optional bool allow_partial_results = 18; /** * optional bool allow_partial_results = 18; */ @@ -14203,7 +14094,6 @@ public final class ClientProtos { */ boolean getAllowPartialResults(); - // repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; /** * repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; */ @@ -14228,7 +14118,6 @@ public final class ClientProtos { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRangeOrBuilder getCfTimeRangeOrBuilder( int index); - // optional uint64 mvcc_read_point = 20 [default = 0]; /** * optional uint64 mvcc_read_point = 20 [default = 0]; */ @@ -14238,7 +14127,6 @@ public final class ClientProtos { */ long getMvccReadPoint(); - // optional bool include_start_row = 21 [default = true]; /** * optional bool include_start_row = 21 [default = true]; */ @@ -14248,7 +14136,6 @@ public final class ClientProtos { */ boolean getIncludeStartRow(); - // optional bool include_stop_row = 22 [default = false]; /** * optional bool include_stop_row = 22 [default = false]; */ @@ -14258,7 +14145,6 @@ public final class ClientProtos { */ boolean getIncludeStopRow(); - // optional .hbase.pb.Scan.ReadType readType = 23 [default = DEFAULT]; /** * optional .hbase.pb.Scan.ReadType readType = 23 [default = DEFAULT]; */ @@ -14276,15 +14162,15 @@ public final class ClientProtos { * Instead of get from a table, you can scan it with optional filters. * You can specify the row key range, time range, the columns/families * to scan and so on. - * * This scan is used the first time in a scan request. The response of * the initial scan will return a scanner id, which should be used to * fetch result batches later on before it is closed. * */ public static final class Scan extends - com.google.protobuf.GeneratedMessage - implements ScanOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.Scan) + ScanOrBuilder { // Use Scan.newBuilder() to construct. private Scan(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -14622,7 +14508,6 @@ public final class ClientProtos { } private int bitField0_; - // repeated .hbase.pb.Column column = 1; public static final int COLUMN_FIELD_NUMBER = 1; private java.util.List column_; /** @@ -14658,7 +14543,6 @@ public final class ClientProtos { return column_.get(index); } - // repeated .hbase.pb.NameBytesPair attribute = 2; public static final int ATTRIBUTE_FIELD_NUMBER = 2; private java.util.List attribute_; /** @@ -14694,7 +14578,6 @@ public final class ClientProtos { return attribute_.get(index); } - // optional bytes start_row = 3; public static final int START_ROW_FIELD_NUMBER = 3; private com.google.protobuf.ByteString startRow_; /** @@ -14710,7 +14593,6 @@ public final class ClientProtos { return startRow_; } - // optional bytes stop_row = 4; public static final int STOP_ROW_FIELD_NUMBER = 4; private com.google.protobuf.ByteString stopRow_; /** @@ -14726,7 +14608,6 @@ public final class ClientProtos { return stopRow_; } - // optional .hbase.pb.Filter filter = 5; public static final int FILTER_FIELD_NUMBER = 5; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter filter_; /** @@ -14748,7 +14629,6 @@ public final class ClientProtos { return filter_; } - // optional .hbase.pb.TimeRange time_range = 6; public static final int TIME_RANGE_FIELD_NUMBER = 6; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange timeRange_; /** @@ -14770,7 +14650,6 @@ public final class ClientProtos { return timeRange_; } - // optional uint32 max_versions = 7 [default = 1]; public static final int MAX_VERSIONS_FIELD_NUMBER = 7; private int maxVersions_; /** @@ -14786,7 +14665,6 @@ public final class ClientProtos { return maxVersions_; } - // optional bool cache_blocks = 8 [default = true]; public static final int CACHE_BLOCKS_FIELD_NUMBER = 8; private boolean cacheBlocks_; /** @@ -14802,7 +14680,6 @@ public final class ClientProtos { return cacheBlocks_; } - // optional uint32 batch_size = 9; public static final int BATCH_SIZE_FIELD_NUMBER = 9; private int batchSize_; /** @@ -14818,7 +14695,6 @@ public final class ClientProtos { return batchSize_; } - // optional uint64 max_result_size = 10; public static final int MAX_RESULT_SIZE_FIELD_NUMBER = 10; private long maxResultSize_; /** @@ -14834,7 +14710,6 @@ public final class ClientProtos { return maxResultSize_; } - // optional uint32 store_limit = 11; public static final int STORE_LIMIT_FIELD_NUMBER = 11; private int storeLimit_; /** @@ -14850,7 +14725,6 @@ public final class ClientProtos { return storeLimit_; } - // optional uint32 store_offset = 12; public static final int STORE_OFFSET_FIELD_NUMBER = 12; private int storeOffset_; /** @@ -14866,7 +14740,6 @@ public final class ClientProtos { return storeOffset_; } - // optional bool load_column_families_on_demand = 13; public static final int LOAD_COLUMN_FAMILIES_ON_DEMAND_FIELD_NUMBER = 13; private boolean loadColumnFamiliesOnDemand_; /** @@ -14890,7 +14763,6 @@ public final class ClientProtos { return loadColumnFamiliesOnDemand_; } - // optional bool small = 14 [deprecated = true]; public static final int SMALL_FIELD_NUMBER = 14; private boolean small_; /** @@ -14906,7 +14778,6 @@ public final class ClientProtos { return small_; } - // optional bool reversed = 15 [default = false]; public static final int REVERSED_FIELD_NUMBER = 15; private boolean reversed_; /** @@ -14922,7 +14793,6 @@ public final class ClientProtos { return reversed_; } - // optional .hbase.pb.Consistency consistency = 16 [default = STRONG]; public static final int CONSISTENCY_FIELD_NUMBER = 16; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency consistency_; /** @@ -14938,7 +14808,6 @@ public final class ClientProtos { return consistency_; } - // optional uint32 caching = 17; public static final int CACHING_FIELD_NUMBER = 17; private int caching_; /** @@ -14954,7 +14823,6 @@ public final class ClientProtos { return caching_; } - // optional bool allow_partial_results = 18; public static final int ALLOW_PARTIAL_RESULTS_FIELD_NUMBER = 18; private boolean allowPartialResults_; /** @@ -14970,7 +14838,6 @@ public final class ClientProtos { return allowPartialResults_; } - // repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; public static final int CF_TIME_RANGE_FIELD_NUMBER = 19; private java.util.List cfTimeRange_; /** @@ -15006,7 +14873,6 @@ public final class ClientProtos { return cfTimeRange_.get(index); } - // optional uint64 mvcc_read_point = 20 [default = 0]; public static final int MVCC_READ_POINT_FIELD_NUMBER = 20; private long mvccReadPoint_; /** @@ -15022,7 +14888,6 @@ public final class ClientProtos { return mvccReadPoint_; } - // optional bool include_start_row = 21 [default = true]; public static final int INCLUDE_START_ROW_FIELD_NUMBER = 21; private boolean includeStartRow_; /** @@ -15038,7 +14903,6 @@ public final class ClientProtos { return includeStartRow_; } - // optional bool include_stop_row = 22 [default = false]; public static final int INCLUDE_STOP_ROW_FIELD_NUMBER = 22; private boolean includeStopRow_; /** @@ -15054,7 +14918,6 @@ public final class ClientProtos { return includeStopRow_; } - // optional .hbase.pb.Scan.ReadType readType = 23 [default = DEFAULT]; public static final int READTYPE_FIELD_NUMBER = 23; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.ReadType readType_; /** @@ -15098,7 +14961,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getColumnCount(); i++) { if (!getColumn(i).isInitialized()) { @@ -15435,7 +15299,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -15473,7 +15336,8 @@ public final class ClientProtos { } if (hasCacheBlocks()) { hash = (37 * hash) + CACHE_BLOCKS_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getCacheBlocks()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCacheBlocks()); } if (hasBatchSize()) { hash = (37 * hash) + BATCH_SIZE_FIELD_NUMBER; @@ -15481,7 +15345,8 @@ public final class ClientProtos { } if (hasMaxResultSize()) { hash = (37 * hash) + MAX_RESULT_SIZE_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getMaxResultSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMaxResultSize()); } if (hasStoreLimit()) { hash = (37 * hash) + STORE_LIMIT_FIELD_NUMBER; @@ -15493,19 +15358,23 @@ public final class ClientProtos { } if (hasLoadColumnFamiliesOnDemand()) { hash = (37 * hash) + LOAD_COLUMN_FAMILIES_ON_DEMAND_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getLoadColumnFamiliesOnDemand()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getLoadColumnFamiliesOnDemand()); } if (hasSmall()) { hash = (37 * hash) + SMALL_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getSmall()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSmall()); } if (hasReversed()) { hash = (37 * hash) + REVERSED_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getReversed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getReversed()); } if (hasConsistency()) { hash = (37 * hash) + CONSISTENCY_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getConsistency()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getConsistency()); } if (hasCaching()) { hash = (37 * hash) + CACHING_FIELD_NUMBER; @@ -15513,7 +15382,8 @@ public final class ClientProtos { } if (hasAllowPartialResults()) { hash = (37 * hash) + ALLOW_PARTIAL_RESULTS_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getAllowPartialResults()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowPartialResults()); } if (getCfTimeRangeCount() > 0) { hash = (37 * hash) + CF_TIME_RANGE_FIELD_NUMBER; @@ -15521,19 +15391,23 @@ public final class ClientProtos { } if (hasMvccReadPoint()) { hash = (37 * hash) + MVCC_READ_POINT_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getMvccReadPoint()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMvccReadPoint()); } if (hasIncludeStartRow()) { hash = (37 * hash) + INCLUDE_START_ROW_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getIncludeStartRow()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeStartRow()); } if (hasIncludeStopRow()) { hash = (37 * hash) + INCLUDE_STOP_ROW_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getIncludeStopRow()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getIncludeStopRow()); } if (hasReadType()) { hash = (37 * hash) + READTYPE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getReadType()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getReadType()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -15614,15 +15488,15 @@ public final class ClientProtos { * Instead of get from a table, you can scan it with optional filters. * You can specify the row key range, time range, the columns/families * to scan and so on. - * * This scan is used the first time in a scan request. The response of * the initial scan will return a scanner id, which should be used to * fetch result batches later on before it is closed. * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.Scan) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Scan_descriptor; @@ -16074,7 +15948,6 @@ public final class ClientProtos { } private int bitField0_; - // repeated .hbase.pb.Column column = 1; private java.util.List column_ = java.util.Collections.emptyList(); private void ensureColumnIsMutable() { @@ -16216,7 +16089,8 @@ public final class ClientProtos { java.lang.Iterable values) { if (columnBuilder_ == null) { ensureColumnIsMutable(); - super.addAll(values, column_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, column_); onChanged(); } else { columnBuilder_.addAllMessages(values); @@ -16314,7 +16188,6 @@ public final class ClientProtos { return columnBuilder_; } - // repeated .hbase.pb.NameBytesPair attribute = 2; private java.util.List attribute_ = java.util.Collections.emptyList(); private void ensureAttributeIsMutable() { @@ -16456,7 +16329,8 @@ public final class ClientProtos { java.lang.Iterable values) { if (attributeBuilder_ == null) { ensureAttributeIsMutable(); - super.addAll(values, attribute_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, attribute_); onChanged(); } else { attributeBuilder_.addAllMessages(values); @@ -16554,7 +16428,6 @@ public final class ClientProtos { return attributeBuilder_; } - // optional bytes start_row = 3; private com.google.protobuf.ByteString startRow_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes start_row = 3; @@ -16590,7 +16463,6 @@ public final class ClientProtos { return this; } - // optional bytes stop_row = 4; private com.google.protobuf.ByteString stopRow_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes stop_row = 4; @@ -16626,7 +16498,6 @@ public final class ClientProtos { return this; } - // optional .hbase.pb.Filter filter = 5; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter filter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder> filterBuilder_; @@ -16735,7 +16606,7 @@ public final class ClientProtos { if (filterBuilder_ == null) { filterBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder>( - filter_, + getFilter(), getParentForChildren(), isClean()); filter_ = null; @@ -16743,7 +16614,6 @@ public final class ClientProtos { return filterBuilder_; } - // optional .hbase.pb.TimeRange time_range = 6; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder> timeRangeBuilder_; @@ -16852,7 +16722,7 @@ public final class ClientProtos { if (timeRangeBuilder_ == null) { timeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder>( - timeRange_, + getTimeRange(), getParentForChildren(), isClean()); timeRange_ = null; @@ -16860,7 +16730,6 @@ public final class ClientProtos { return timeRangeBuilder_; } - // optional uint32 max_versions = 7 [default = 1]; private int maxVersions_ = 1; /** * optional uint32 max_versions = 7 [default = 1]; @@ -16893,7 +16762,6 @@ public final class ClientProtos { return this; } - // optional bool cache_blocks = 8 [default = true]; private boolean cacheBlocks_ = true; /** * optional bool cache_blocks = 8 [default = true]; @@ -16926,7 +16794,6 @@ public final class ClientProtos { return this; } - // optional uint32 batch_size = 9; private int batchSize_ ; /** * optional uint32 batch_size = 9; @@ -16959,7 +16826,6 @@ public final class ClientProtos { return this; } - // optional uint64 max_result_size = 10; private long maxResultSize_ ; /** * optional uint64 max_result_size = 10; @@ -16992,7 +16858,6 @@ public final class ClientProtos { return this; } - // optional uint32 store_limit = 11; private int storeLimit_ ; /** * optional uint32 store_limit = 11; @@ -17025,7 +16890,6 @@ public final class ClientProtos { return this; } - // optional uint32 store_offset = 12; private int storeOffset_ ; /** * optional uint32 store_offset = 12; @@ -17058,7 +16922,6 @@ public final class ClientProtos { return this; } - // optional bool load_column_families_on_demand = 13; private boolean loadColumnFamiliesOnDemand_ ; /** * optional bool load_column_families_on_demand = 13; @@ -17107,7 +16970,6 @@ public final class ClientProtos { return this; } - // optional bool small = 14 [deprecated = true]; private boolean small_ ; /** * optional bool small = 14 [deprecated = true]; @@ -17140,7 +17002,6 @@ public final class ClientProtos { return this; } - // optional bool reversed = 15 [default = false]; private boolean reversed_ ; /** * optional bool reversed = 15 [default = false]; @@ -17173,7 +17034,6 @@ public final class ClientProtos { return this; } - // optional .hbase.pb.Consistency consistency = 16 [default = STRONG]; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency consistency_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Consistency.STRONG; /** * optional .hbase.pb.Consistency consistency = 16 [default = STRONG]; @@ -17209,7 +17069,6 @@ public final class ClientProtos { return this; } - // optional uint32 caching = 17; private int caching_ ; /** * optional uint32 caching = 17; @@ -17242,7 +17101,6 @@ public final class ClientProtos { return this; } - // optional bool allow_partial_results = 18; private boolean allowPartialResults_ ; /** * optional bool allow_partial_results = 18; @@ -17275,7 +17133,6 @@ public final class ClientProtos { return this; } - // repeated .hbase.pb.ColumnFamilyTimeRange cf_time_range = 19; private java.util.List cfTimeRange_ = java.util.Collections.emptyList(); private void ensureCfTimeRangeIsMutable() { @@ -17417,7 +17274,8 @@ public final class ClientProtos { java.lang.Iterable values) { if (cfTimeRangeBuilder_ == null) { ensureCfTimeRangeIsMutable(); - super.addAll(values, cfTimeRange_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, cfTimeRange_); onChanged(); } else { cfTimeRangeBuilder_.addAllMessages(values); @@ -17515,7 +17373,6 @@ public final class ClientProtos { return cfTimeRangeBuilder_; } - // optional uint64 mvcc_read_point = 20 [default = 0]; private long mvccReadPoint_ ; /** * optional uint64 mvcc_read_point = 20 [default = 0]; @@ -17548,7 +17405,6 @@ public final class ClientProtos { return this; } - // optional bool include_start_row = 21 [default = true]; private boolean includeStartRow_ = true; /** * optional bool include_start_row = 21 [default = true]; @@ -17581,7 +17437,6 @@ public final class ClientProtos { return this; } - // optional bool include_stop_row = 22 [default = false]; private boolean includeStopRow_ ; /** * optional bool include_stop_row = 22 [default = false]; @@ -17614,7 +17469,6 @@ public final class ClientProtos { return this; } - // optional .hbase.pb.Scan.ReadType readType = 23 [default = DEFAULT]; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.ReadType readType_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.ReadType.DEFAULT; /** * optional .hbase.pb.Scan.ReadType readType = 23 [default = DEFAULT]; @@ -17661,10 +17515,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.Scan) } - public interface ScanRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ScanRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ScanRequest) + com.google.protobuf.MessageOrBuilder { - // optional .hbase.pb.RegionSpecifier region = 1; /** * optional .hbase.pb.RegionSpecifier region = 1; */ @@ -17678,7 +17532,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder(); - // optional .hbase.pb.Scan scan = 2; /** * optional .hbase.pb.Scan scan = 2; */ @@ -17692,7 +17545,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanOrBuilder getScanOrBuilder(); - // optional uint64 scanner_id = 3; /** * optional uint64 scanner_id = 3; */ @@ -17702,7 +17554,6 @@ public final class ClientProtos { */ long getScannerId(); - // optional uint32 number_of_rows = 4; /** * optional uint32 number_of_rows = 4; */ @@ -17712,7 +17563,6 @@ public final class ClientProtos { */ int getNumberOfRows(); - // optional bool close_scanner = 5; /** * optional bool close_scanner = 5; */ @@ -17722,7 +17572,6 @@ public final class ClientProtos { */ boolean getCloseScanner(); - // optional uint64 next_call_seq = 6; /** * optional uint64 next_call_seq = 6; */ @@ -17732,7 +17581,6 @@ public final class ClientProtos { */ long getNextCallSeq(); - // optional bool client_handles_partials = 7; /** * optional bool client_handles_partials = 7; */ @@ -17742,7 +17590,6 @@ public final class ClientProtos { */ boolean getClientHandlesPartials(); - // optional bool client_handles_heartbeats = 8; /** * optional bool client_handles_heartbeats = 8; */ @@ -17752,7 +17599,6 @@ public final class ClientProtos { */ boolean getClientHandlesHeartbeats(); - // optional bool track_scan_metrics = 9; /** * optional bool track_scan_metrics = 9; */ @@ -17762,7 +17608,6 @@ public final class ClientProtos { */ boolean getTrackScanMetrics(); - // optional bool renew = 10 [default = false]; /** * optional bool renew = 10 [default = false]; */ @@ -17772,7 +17617,6 @@ public final class ClientProtos { */ boolean getRenew(); - // optional uint32 limit_of_rows = 11 [default = 0]; /** * optional uint32 limit_of_rows = 11 [default = 0]; * @@ -17798,17 +17642,16 @@ public final class ClientProtos { * A scan request. Initially, it should specify a scan. Later on, you * can use the scanner id returned to fetch result batches with a different * scan request. - * * The scanner will remain open if there are more results, and it's not * asked to be closed explicitly. - * * You can fetch the results and ask the scanner to be closed to save * a trip if you are not interested in remaining results. * */ public static final class ScanRequest extends - com.google.protobuf.GeneratedMessage - implements ScanRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ScanRequest) + ScanRequestOrBuilder { // Use ScanRequest.newBuilder() to construct. private ScanRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -17965,7 +17808,6 @@ public final class ClientProtos { } private int bitField0_; - // optional .hbase.pb.RegionSpecifier region = 1; public static final int REGION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** @@ -17987,7 +17829,6 @@ public final class ClientProtos { return region_; } - // optional .hbase.pb.Scan scan = 2; public static final int SCAN_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan scan_; /** @@ -18009,7 +17850,6 @@ public final class ClientProtos { return scan_; } - // optional uint64 scanner_id = 3; public static final int SCANNER_ID_FIELD_NUMBER = 3; private long scannerId_; /** @@ -18025,7 +17865,6 @@ public final class ClientProtos { return scannerId_; } - // optional uint32 number_of_rows = 4; public static final int NUMBER_OF_ROWS_FIELD_NUMBER = 4; private int numberOfRows_; /** @@ -18041,7 +17880,6 @@ public final class ClientProtos { return numberOfRows_; } - // optional bool close_scanner = 5; public static final int CLOSE_SCANNER_FIELD_NUMBER = 5; private boolean closeScanner_; /** @@ -18057,7 +17895,6 @@ public final class ClientProtos { return closeScanner_; } - // optional uint64 next_call_seq = 6; public static final int NEXT_CALL_SEQ_FIELD_NUMBER = 6; private long nextCallSeq_; /** @@ -18073,7 +17910,6 @@ public final class ClientProtos { return nextCallSeq_; } - // optional bool client_handles_partials = 7; public static final int CLIENT_HANDLES_PARTIALS_FIELD_NUMBER = 7; private boolean clientHandlesPartials_; /** @@ -18089,7 +17925,6 @@ public final class ClientProtos { return clientHandlesPartials_; } - // optional bool client_handles_heartbeats = 8; public static final int CLIENT_HANDLES_HEARTBEATS_FIELD_NUMBER = 8; private boolean clientHandlesHeartbeats_; /** @@ -18105,7 +17940,6 @@ public final class ClientProtos { return clientHandlesHeartbeats_; } - // optional bool track_scan_metrics = 9; public static final int TRACK_SCAN_METRICS_FIELD_NUMBER = 9; private boolean trackScanMetrics_; /** @@ -18121,7 +17955,6 @@ public final class ClientProtos { return trackScanMetrics_; } - // optional bool renew = 10 [default = false]; public static final int RENEW_FIELD_NUMBER = 10; private boolean renew_; /** @@ -18137,7 +17970,6 @@ public final class ClientProtos { return renew_; } - // optional uint32 limit_of_rows = 11 [default = 0]; public static final int LIMIT_OF_ROWS_FIELD_NUMBER = 11; private int limitOfRows_; /** @@ -18177,7 +18009,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (hasRegion()) { if (!getRegion().isInitialized()) { @@ -18367,7 +18200,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -18385,7 +18217,8 @@ public final class ClientProtos { } if (hasScannerId()) { hash = (37 * hash) + SCANNER_ID_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getScannerId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getScannerId()); } if (hasNumberOfRows()) { hash = (37 * hash) + NUMBER_OF_ROWS_FIELD_NUMBER; @@ -18393,27 +18226,33 @@ public final class ClientProtos { } if (hasCloseScanner()) { hash = (37 * hash) + CLOSE_SCANNER_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getCloseScanner()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCloseScanner()); } if (hasNextCallSeq()) { hash = (37 * hash) + NEXT_CALL_SEQ_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getNextCallSeq()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNextCallSeq()); } if (hasClientHandlesPartials()) { hash = (37 * hash) + CLIENT_HANDLES_PARTIALS_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getClientHandlesPartials()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getClientHandlesPartials()); } if (hasClientHandlesHeartbeats()) { hash = (37 * hash) + CLIENT_HANDLES_HEARTBEATS_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getClientHandlesHeartbeats()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getClientHandlesHeartbeats()); } if (hasTrackScanMetrics()) { hash = (37 * hash) + TRACK_SCAN_METRICS_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getTrackScanMetrics()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getTrackScanMetrics()); } if (hasRenew()) { hash = (37 * hash) + RENEW_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getRenew()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRenew()); } if (hasLimitOfRows()) { hash = (37 * hash) + LIMIT_OF_ROWS_FIELD_NUMBER; @@ -18498,17 +18337,16 @@ public final class ClientProtos { * A scan request. Initially, it should specify a scan. Later on, you * can use the scanner id returned to fetch result batches with a different * scan request. - * * The scanner will remain open if there are more results, and it's not * asked to be closed explicitly. - * * You can fetch the results and ask the scanner to be closed to save * a trip if you are not interested in remaining results. * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ScanRequest) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_ScanRequest_descriptor; @@ -18741,7 +18579,6 @@ public final class ClientProtos { } private int bitField0_; - // optional .hbase.pb.RegionSpecifier region = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; @@ -18850,7 +18687,7 @@ public final class ClientProtos { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( - region_, + getRegion(), getParentForChildren(), isClean()); region_ = null; @@ -18858,7 +18695,6 @@ public final class ClientProtos { return regionBuilder_; } - // optional .hbase.pb.Scan scan = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan scan_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanOrBuilder> scanBuilder_; @@ -18967,7 +18803,7 @@ public final class ClientProtos { if (scanBuilder_ == null) { scanBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Scan.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanOrBuilder>( - scan_, + getScan(), getParentForChildren(), isClean()); scan_ = null; @@ -18975,7 +18811,6 @@ public final class ClientProtos { return scanBuilder_; } - // optional uint64 scanner_id = 3; private long scannerId_ ; /** * optional uint64 scanner_id = 3; @@ -19008,7 +18843,6 @@ public final class ClientProtos { return this; } - // optional uint32 number_of_rows = 4; private int numberOfRows_ ; /** * optional uint32 number_of_rows = 4; @@ -19041,7 +18875,6 @@ public final class ClientProtos { return this; } - // optional bool close_scanner = 5; private boolean closeScanner_ ; /** * optional bool close_scanner = 5; @@ -19074,7 +18907,6 @@ public final class ClientProtos { return this; } - // optional uint64 next_call_seq = 6; private long nextCallSeq_ ; /** * optional uint64 next_call_seq = 6; @@ -19107,7 +18939,6 @@ public final class ClientProtos { return this; } - // optional bool client_handles_partials = 7; private boolean clientHandlesPartials_ ; /** * optional bool client_handles_partials = 7; @@ -19140,7 +18971,6 @@ public final class ClientProtos { return this; } - // optional bool client_handles_heartbeats = 8; private boolean clientHandlesHeartbeats_ ; /** * optional bool client_handles_heartbeats = 8; @@ -19173,7 +19003,6 @@ public final class ClientProtos { return this; } - // optional bool track_scan_metrics = 9; private boolean trackScanMetrics_ ; /** * optional bool track_scan_metrics = 9; @@ -19206,7 +19035,6 @@ public final class ClientProtos { return this; } - // optional bool renew = 10 [default = false]; private boolean renew_ ; /** * optional bool renew = 10 [default = false]; @@ -19239,7 +19067,6 @@ public final class ClientProtos { return this; } - // optional uint32 limit_of_rows = 11 [default = 0]; private int limitOfRows_ ; /** * optional uint32 limit_of_rows = 11 [default = 0]; @@ -19299,10 +19126,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ScanRequest) } - public interface ScanResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ScanResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ScanResponse) + com.google.protobuf.MessageOrBuilder { - // repeated uint32 cells_per_result = 1; /** * repeated uint32 cells_per_result = 1; * @@ -19346,7 +19173,6 @@ public final class ClientProtos { */ int getCellsPerResult(int index); - // optional uint64 scanner_id = 2; /** * optional uint64 scanner_id = 2; */ @@ -19356,7 +19182,6 @@ public final class ClientProtos { */ long getScannerId(); - // optional bool more_results = 3; /** * optional bool more_results = 3; */ @@ -19366,7 +19191,6 @@ public final class ClientProtos { */ boolean getMoreResults(); - // optional uint32 ttl = 4; /** * optional uint32 ttl = 4; */ @@ -19376,7 +19200,6 @@ public final class ClientProtos { */ int getTtl(); - // repeated .hbase.pb.Result results = 5; /** * repeated .hbase.pb.Result results = 5; * @@ -19431,7 +19254,6 @@ public final class ClientProtos { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder getResultsOrBuilder( int index); - // optional bool stale = 6; /** * optional bool stale = 6; */ @@ -19441,7 +19263,6 @@ public final class ClientProtos { */ boolean getStale(); - // repeated bool partial_flag_per_result = 7; /** * repeated bool partial_flag_per_result = 7; * @@ -19485,7 +19306,6 @@ public final class ClientProtos { */ boolean getPartialFlagPerResult(int index); - // optional bool more_results_in_region = 8; /** * optional bool more_results_in_region = 8; * @@ -19507,7 +19327,6 @@ public final class ClientProtos { */ boolean getMoreResultsInRegion(); - // optional bool heartbeat_message = 9; /** * optional bool heartbeat_message = 9; * @@ -19531,7 +19350,6 @@ public final class ClientProtos { */ boolean getHeartbeatMessage(); - // optional .hbase.pb.ScanMetrics scan_metrics = 10; /** * optional .hbase.pb.ScanMetrics scan_metrics = 10; * @@ -19563,7 +19381,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetricsOrBuilder getScanMetricsOrBuilder(); - // optional uint64 mvcc_read_point = 11 [default = 0]; /** * optional uint64 mvcc_read_point = 11 [default = 0]; * @@ -19595,8 +19412,9 @@ public final class ClientProtos { * */ public static final class ScanResponse extends - com.google.protobuf.GeneratedMessage - implements ScanResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ScanResponse) + ScanResponseOrBuilder { // Use ScanResponse.newBuilder() to construct. private ScanResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -19789,7 +19607,6 @@ public final class ClientProtos { } private int bitField0_; - // repeated uint32 cells_per_result = 1; public static final int CELLS_PER_RESULT_FIELD_NUMBER = 1; private java.util.List cellsPerResult_; /** @@ -19842,7 +19659,6 @@ public final class ClientProtos { return cellsPerResult_.get(index); } - // optional uint64 scanner_id = 2; public static final int SCANNER_ID_FIELD_NUMBER = 2; private long scannerId_; /** @@ -19858,7 +19674,6 @@ public final class ClientProtos { return scannerId_; } - // optional bool more_results = 3; public static final int MORE_RESULTS_FIELD_NUMBER = 3; private boolean moreResults_; /** @@ -19874,7 +19689,6 @@ public final class ClientProtos { return moreResults_; } - // optional uint32 ttl = 4; public static final int TTL_FIELD_NUMBER = 4; private int ttl_; /** @@ -19890,7 +19704,6 @@ public final class ClientProtos { return ttl_; } - // repeated .hbase.pb.Result results = 5; public static final int RESULTS_FIELD_NUMBER = 5; private java.util.List results_; /** @@ -19956,7 +19769,6 @@ public final class ClientProtos { return results_.get(index); } - // optional bool stale = 6; public static final int STALE_FIELD_NUMBER = 6; private boolean stale_; /** @@ -19972,7 +19784,6 @@ public final class ClientProtos { return stale_; } - // repeated bool partial_flag_per_result = 7; public static final int PARTIAL_FLAG_PER_RESULT_FIELD_NUMBER = 7; private java.util.List partialFlagPerResult_; /** @@ -20025,7 +19836,6 @@ public final class ClientProtos { return partialFlagPerResult_.get(index); } - // optional bool more_results_in_region = 8; public static final int MORE_RESULTS_IN_REGION_FIELD_NUMBER = 8; private boolean moreResultsInRegion_; /** @@ -20053,7 +19863,6 @@ public final class ClientProtos { return moreResultsInRegion_; } - // optional bool heartbeat_message = 9; public static final int HEARTBEAT_MESSAGE_FIELD_NUMBER = 9; private boolean heartbeatMessage_; /** @@ -20083,7 +19892,6 @@ public final class ClientProtos { return heartbeatMessage_; } - // optional .hbase.pb.ScanMetrics scan_metrics = 10; public static final int SCAN_METRICS_FIELD_NUMBER = 10; private org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics scanMetrics_; /** @@ -20123,7 +19931,6 @@ public final class ClientProtos { return scanMetrics_; } - // optional uint64 mvcc_read_point = 11 [default = 0]; public static final int MVCC_READ_POINT_FIELD_NUMBER = 11; private long mvccReadPoint_; /** @@ -20167,7 +19974,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -20343,7 +20151,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -20357,11 +20164,13 @@ public final class ClientProtos { } if (hasScannerId()) { hash = (37 * hash) + SCANNER_ID_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getScannerId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getScannerId()); } if (hasMoreResults()) { hash = (37 * hash) + MORE_RESULTS_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getMoreResults()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getMoreResults()); } if (hasTtl()) { hash = (37 * hash) + TTL_FIELD_NUMBER; @@ -20373,7 +20182,8 @@ public final class ClientProtos { } if (hasStale()) { hash = (37 * hash) + STALE_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getStale()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStale()); } if (getPartialFlagPerResultCount() > 0) { hash = (37 * hash) + PARTIAL_FLAG_PER_RESULT_FIELD_NUMBER; @@ -20381,11 +20191,13 @@ public final class ClientProtos { } if (hasMoreResultsInRegion()) { hash = (37 * hash) + MORE_RESULTS_IN_REGION_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getMoreResultsInRegion()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getMoreResultsInRegion()); } if (hasHeartbeatMessage()) { hash = (37 * hash) + HEARTBEAT_MESSAGE_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getHeartbeatMessage()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getHeartbeatMessage()); } if (hasScanMetrics()) { hash = (37 * hash) + SCAN_METRICS_FIELD_NUMBER; @@ -20393,7 +20205,8 @@ public final class ClientProtos { } if (hasMvccReadPoint()) { hash = (37 * hash) + MVCC_READ_POINT_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getMvccReadPoint()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMvccReadPoint()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -20476,8 +20289,9 @@ public final class ClientProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ScanResponse) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ScanResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_ScanResponse_descriptor; @@ -20738,7 +20552,6 @@ public final class ClientProtos { } private int bitField0_; - // repeated uint32 cells_per_result = 1; private java.util.List cellsPerResult_ = java.util.Collections.emptyList(); private void ensureCellsPerResultIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { @@ -20850,7 +20663,8 @@ public final class ClientProtos { public Builder addAllCellsPerResult( java.lang.Iterable values) { ensureCellsPerResultIsMutable(); - super.addAll(values, cellsPerResult_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, cellsPerResult_); onChanged(); return this; } @@ -20874,7 +20688,6 @@ public final class ClientProtos { return this; } - // optional uint64 scanner_id = 2; private long scannerId_ ; /** * optional uint64 scanner_id = 2; @@ -20907,7 +20720,6 @@ public final class ClientProtos { return this; } - // optional bool more_results = 3; private boolean moreResults_ ; /** * optional bool more_results = 3; @@ -20940,7 +20752,6 @@ public final class ClientProtos { return this; } - // optional uint32 ttl = 4; private int ttl_ ; /** * optional uint32 ttl = 4; @@ -20973,7 +20784,6 @@ public final class ClientProtos { return this; } - // repeated .hbase.pb.Result results = 5; private java.util.List results_ = java.util.Collections.emptyList(); private void ensureResultsIsMutable() { @@ -21175,7 +20985,8 @@ public final class ClientProtos { java.lang.Iterable values) { if (resultsBuilder_ == null) { ensureResultsIsMutable(); - super.addAll(values, results_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, results_); onChanged(); } else { resultsBuilder_.addAllMessages(values); @@ -21321,7 +21132,6 @@ public final class ClientProtos { return resultsBuilder_; } - // optional bool stale = 6; private boolean stale_ ; /** * optional bool stale = 6; @@ -21354,7 +21164,6 @@ public final class ClientProtos { return this; } - // repeated bool partial_flag_per_result = 7; private java.util.List partialFlagPerResult_ = java.util.Collections.emptyList(); private void ensurePartialFlagPerResultIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { @@ -21466,7 +21275,8 @@ public final class ClientProtos { public Builder addAllPartialFlagPerResult( java.lang.Iterable values) { ensurePartialFlagPerResultIsMutable(); - super.addAll(values, partialFlagPerResult_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, partialFlagPerResult_); onChanged(); return this; } @@ -21490,7 +21300,6 @@ public final class ClientProtos { return this; } - // optional bool more_results_in_region = 8; private boolean moreResultsInRegion_ ; /** * optional bool more_results_in_region = 8; @@ -21547,7 +21356,6 @@ public final class ClientProtos { return this; } - // optional bool heartbeat_message = 9; private boolean heartbeatMessage_ ; /** * optional bool heartbeat_message = 9; @@ -21608,7 +21416,6 @@ public final class ClientProtos { return this; } - // optional .hbase.pb.ScanMetrics scan_metrics = 10; private org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics scanMetrics_ = org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics, org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics.Builder, org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetricsOrBuilder> scanMetricsBuilder_; @@ -21771,7 +21578,7 @@ public final class ClientProtos { if (scanMetricsBuilder_ == null) { scanMetricsBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics, org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetrics.Builder, org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetricsOrBuilder>( - scanMetrics_, + getScanMetrics(), getParentForChildren(), isClean()); scanMetrics_ = null; @@ -21779,7 +21586,6 @@ public final class ClientProtos { return scanMetricsBuilder_; } - // optional uint64 mvcc_read_point = 11 [default = 0]; private long mvccReadPoint_ ; /** * optional uint64 mvcc_read_point = 11 [default = 0]; @@ -21847,10 +21653,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ScanResponse) } - public interface BulkLoadHFileRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface BulkLoadHFileRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.BulkLoadHFileRequest) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.RegionSpecifier region = 1; /** * required .hbase.pb.RegionSpecifier region = 1; */ @@ -21864,7 +21670,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder(); - // repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; /** * repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; */ @@ -21889,7 +21694,6 @@ public final class ClientProtos { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder getFamilyPathOrBuilder( int index); - // optional bool assign_seq_num = 3; /** * optional bool assign_seq_num = 3; */ @@ -21899,7 +21703,6 @@ public final class ClientProtos { */ boolean getAssignSeqNum(); - // optional .hbase.pb.DelegationToken fs_token = 4; /** * optional .hbase.pb.DelegationToken fs_token = 4; */ @@ -21913,7 +21716,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationTokenOrBuilder getFsTokenOrBuilder(); - // optional string bulk_token = 5; /** * optional string bulk_token = 5; */ @@ -21928,7 +21730,6 @@ public final class ClientProtos { com.google.protobuf.ByteString getBulkTokenBytes(); - // optional bool copy_file = 6 [default = false]; /** * optional bool copy_file = 6 [default = false]; */ @@ -21948,8 +21749,9 @@ public final class ClientProtos { * */ public static final class BulkLoadHFileRequest extends - com.google.protobuf.GeneratedMessage - implements BulkLoadHFileRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.BulkLoadHFileRequest) + BulkLoadHFileRequestOrBuilder { // Use BulkLoadHFileRequest.newBuilder() to construct. private BulkLoadHFileRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -22035,8 +21837,9 @@ public final class ClientProtos { break; } case 42: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; - bulkToken_ = input.readBytes(); + bulkToken_ = bs; break; } case 48: { @@ -22086,10 +21889,10 @@ public final class ClientProtos { return PARSER; } - public interface FamilyPathOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface FamilyPathOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.BulkLoadHFileRequest.FamilyPath) + com.google.protobuf.MessageOrBuilder { - // required bytes family = 1; /** * required bytes family = 1; */ @@ -22099,7 +21902,6 @@ public final class ClientProtos { */ com.google.protobuf.ByteString getFamily(); - // required string path = 2; /** * required string path = 2; */ @@ -22118,8 +21920,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.BulkLoadHFileRequest.FamilyPath} */ public static final class FamilyPath extends - com.google.protobuf.GeneratedMessage - implements FamilyPathOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.BulkLoadHFileRequest.FamilyPath) + FamilyPathOrBuilder { // Use FamilyPath.newBuilder() to construct. private FamilyPath(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -22171,8 +21974,9 @@ public final class ClientProtos { break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - path_ = input.readBytes(); + path_ = bs; break; } } @@ -22215,7 +22019,6 @@ public final class ClientProtos { } private int bitField0_; - // required bytes family = 1; public static final int FAMILY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString family_; /** @@ -22231,7 +22034,6 @@ public final class ClientProtos { return family_; } - // required string path = 2; public static final int PATH_FIELD_NUMBER = 2; private java.lang.Object path_; /** @@ -22281,7 +22083,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasFamily()) { memoizedIsInitialized = 0; @@ -22359,7 +22162,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -22450,8 +22252,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.BulkLoadHFileRequest.FamilyPath} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.BulkLoadHFileRequest.FamilyPath) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequest.FamilyPathOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_BulkLoadHFileRequest_FamilyPath_descriptor; @@ -22583,7 +22386,6 @@ public final class ClientProtos { } private int bitField0_; - // required bytes family = 1; private com.google.protobuf.ByteString family_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes family = 1; @@ -22619,7 +22421,6 @@ public final class ClientProtos { return this; } - // required string path = 2; private java.lang.Object path_ = ""; /** * required string path = 2; @@ -22633,9 +22434,12 @@ public final class ClientProtos { public java.lang.String getPath() { java.lang.Object ref = path_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - path_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + path_ = s; + } return s; } else { return (java.lang.String) ref; @@ -22705,7 +22509,6 @@ public final class ClientProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; public static final int REGION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** @@ -22727,7 +22530,6 @@ public final class ClientProtos { return region_; } - // repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; public static final int FAMILY_PATH_FIELD_NUMBER = 2; private java.util.List familyPath_; /** @@ -22763,7 +22565,6 @@ public final class ClientProtos { return familyPath_.get(index); } - // optional bool assign_seq_num = 3; public static final int ASSIGN_SEQ_NUM_FIELD_NUMBER = 3; private boolean assignSeqNum_; /** @@ -22779,7 +22580,6 @@ public final class ClientProtos { return assignSeqNum_; } - // optional .hbase.pb.DelegationToken fs_token = 4; public static final int FS_TOKEN_FIELD_NUMBER = 4; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken fsToken_; /** @@ -22801,7 +22601,6 @@ public final class ClientProtos { return fsToken_; } - // optional string bulk_token = 5; public static final int BULK_TOKEN_FIELD_NUMBER = 5; private java.lang.Object bulkToken_; /** @@ -22844,7 +22643,6 @@ public final class ClientProtos { } } - // optional bool copy_file = 6 [default = false]; public static final int COPY_FILE_FIELD_NUMBER = 6; private boolean copyFile_; /** @@ -22871,7 +22669,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRegion()) { memoizedIsInitialized = 0; @@ -23000,7 +22799,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -23018,7 +22816,8 @@ public final class ClientProtos { } if (hasAssignSeqNum()) { hash = (37 * hash) + ASSIGN_SEQ_NUM_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getAssignSeqNum()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAssignSeqNum()); } if (hasFsToken()) { hash = (37 * hash) + FS_TOKEN_FIELD_NUMBER; @@ -23030,7 +22829,8 @@ public final class ClientProtos { } if (hasCopyFile()) { hash = (37 * hash) + COPY_FILE_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getCopyFile()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCopyFile()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -23113,8 +22913,9 @@ public final class ClientProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.BulkLoadHFileRequest) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_BulkLoadHFileRequest_descriptor; @@ -23339,7 +23140,6 @@ public final class ClientProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; @@ -23448,7 +23248,7 @@ public final class ClientProtos { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( - region_, + getRegion(), getParentForChildren(), isClean()); region_ = null; @@ -23456,7 +23256,6 @@ public final class ClientProtos { return regionBuilder_; } - // repeated .hbase.pb.BulkLoadHFileRequest.FamilyPath family_path = 2; private java.util.List familyPath_ = java.util.Collections.emptyList(); private void ensureFamilyPathIsMutable() { @@ -23598,7 +23397,8 @@ public final class ClientProtos { java.lang.Iterable values) { if (familyPathBuilder_ == null) { ensureFamilyPathIsMutable(); - super.addAll(values, familyPath_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, familyPath_); onChanged(); } else { familyPathBuilder_.addAllMessages(values); @@ -23696,7 +23496,6 @@ public final class ClientProtos { return familyPathBuilder_; } - // optional bool assign_seq_num = 3; private boolean assignSeqNum_ ; /** * optional bool assign_seq_num = 3; @@ -23729,7 +23528,6 @@ public final class ClientProtos { return this; } - // optional .hbase.pb.DelegationToken fs_token = 4; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken fsToken_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationTokenOrBuilder> fsTokenBuilder_; @@ -23838,7 +23636,7 @@ public final class ClientProtos { if (fsTokenBuilder_ == null) { fsTokenBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationToken.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationTokenOrBuilder>( - fsToken_, + getFsToken(), getParentForChildren(), isClean()); fsToken_ = null; @@ -23846,7 +23644,6 @@ public final class ClientProtos { return fsTokenBuilder_; } - // optional string bulk_token = 5; private java.lang.Object bulkToken_ = ""; /** * optional string bulk_token = 5; @@ -23860,9 +23657,12 @@ public final class ClientProtos { public java.lang.String getBulkToken() { java.lang.Object ref = bulkToken_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - bulkToken_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + bulkToken_ = s; + } return s; } else { return (java.lang.String) ref; @@ -23920,7 +23720,6 @@ public final class ClientProtos { return this; } - // optional bool copy_file = 6 [default = false]; private boolean copyFile_ ; /** * optional bool copy_file = 6 [default = false]; @@ -23964,10 +23763,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.BulkLoadHFileRequest) } - public interface BulkLoadHFileResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface BulkLoadHFileResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.BulkLoadHFileResponse) + com.google.protobuf.MessageOrBuilder { - // required bool loaded = 1; /** * required bool loaded = 1; */ @@ -23981,8 +23780,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.BulkLoadHFileResponse} */ public static final class BulkLoadHFileResponse extends - com.google.protobuf.GeneratedMessage - implements BulkLoadHFileResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.BulkLoadHFileResponse) + BulkLoadHFileResponseOrBuilder { // Use BulkLoadHFileResponse.newBuilder() to construct. private BulkLoadHFileResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -24073,7 +23873,6 @@ public final class ClientProtos { } private int bitField0_; - // required bool loaded = 1; public static final int LOADED_FIELD_NUMBER = 1; private boolean loaded_; /** @@ -24095,7 +23894,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasLoaded()) { memoizedIsInitialized = 0; @@ -24157,7 +23957,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -24167,7 +23966,8 @@ public final class ClientProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasLoaded()) { hash = (37 * hash) + LOADED_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getLoaded()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getLoaded()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -24244,8 +24044,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.BulkLoadHFileResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.BulkLoadHFileResponse) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.BulkLoadHFileResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_BulkLoadHFileResponse_descriptor; @@ -24362,7 +24163,6 @@ public final class ClientProtos { } private int bitField0_; - // required bool loaded = 1; private boolean loaded_ ; /** * required bool loaded = 1; @@ -24406,10 +24206,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.BulkLoadHFileResponse) } - public interface DelegationTokenOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface DelegationTokenOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.DelegationToken) + com.google.protobuf.MessageOrBuilder { - // optional bytes identifier = 1; /** * optional bytes identifier = 1; */ @@ -24419,7 +24219,6 @@ public final class ClientProtos { */ com.google.protobuf.ByteString getIdentifier(); - // optional bytes password = 2; /** * optional bytes password = 2; */ @@ -24429,7 +24228,6 @@ public final class ClientProtos { */ com.google.protobuf.ByteString getPassword(); - // optional string kind = 3; /** * optional string kind = 3; */ @@ -24444,7 +24242,6 @@ public final class ClientProtos { com.google.protobuf.ByteString getKindBytes(); - // optional string service = 4; /** * optional string service = 4; */ @@ -24463,8 +24260,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.DelegationToken} */ public static final class DelegationToken extends - com.google.protobuf.GeneratedMessage - implements DelegationTokenOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.DelegationToken) + DelegationTokenOrBuilder { // Use DelegationToken.newBuilder() to construct. private DelegationToken(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -24521,13 +24319,15 @@ public final class ClientProtos { break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; - kind_ = input.readBytes(); + kind_ = bs; break; } case 34: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; - service_ = input.readBytes(); + service_ = bs; break; } } @@ -24570,7 +24370,6 @@ public final class ClientProtos { } private int bitField0_; - // optional bytes identifier = 1; public static final int IDENTIFIER_FIELD_NUMBER = 1; private com.google.protobuf.ByteString identifier_; /** @@ -24586,7 +24385,6 @@ public final class ClientProtos { return identifier_; } - // optional bytes password = 2; public static final int PASSWORD_FIELD_NUMBER = 2; private com.google.protobuf.ByteString password_; /** @@ -24602,7 +24400,6 @@ public final class ClientProtos { return password_; } - // optional string kind = 3; public static final int KIND_FIELD_NUMBER = 3; private java.lang.Object kind_; /** @@ -24645,7 +24442,6 @@ public final class ClientProtos { } } - // optional string service = 4; public static final int SERVICE_FIELD_NUMBER = 4; private java.lang.Object service_; /** @@ -24697,7 +24493,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -24791,7 +24588,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -24890,8 +24686,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.DelegationToken} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationTokenOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.DelegationToken) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.DelegationTokenOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_DelegationToken_descriptor; @@ -25035,7 +24832,6 @@ public final class ClientProtos { } private int bitField0_; - // optional bytes identifier = 1; private com.google.protobuf.ByteString identifier_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes identifier = 1; @@ -25071,7 +24867,6 @@ public final class ClientProtos { return this; } - // optional bytes password = 2; private com.google.protobuf.ByteString password_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes password = 2; @@ -25107,7 +24902,6 @@ public final class ClientProtos { return this; } - // optional string kind = 3; private java.lang.Object kind_ = ""; /** * optional string kind = 3; @@ -25121,9 +24915,12 @@ public final class ClientProtos { public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - kind_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + kind_ = s; + } return s; } else { return (java.lang.String) ref; @@ -25181,7 +24978,6 @@ public final class ClientProtos { return this; } - // optional string service = 4; private java.lang.Object service_ = ""; /** * optional string service = 4; @@ -25195,9 +24991,12 @@ public final class ClientProtos { public java.lang.String getService() { java.lang.Object ref = service_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - service_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + service_ = s; + } return s; } else { return (java.lang.String) ref; @@ -25266,10 +25065,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.DelegationToken) } - public interface PrepareBulkLoadRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface PrepareBulkLoadRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.PrepareBulkLoadRequest) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.TableName table_name = 1; /** * required .hbase.pb.TableName table_name = 1; */ @@ -25283,7 +25082,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder getTableNameOrBuilder(); - // optional .hbase.pb.RegionSpecifier region = 2; /** * optional .hbase.pb.RegionSpecifier region = 2; */ @@ -25301,8 +25099,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.PrepareBulkLoadRequest} */ public static final class PrepareBulkLoadRequest extends - com.google.protobuf.GeneratedMessage - implements PrepareBulkLoadRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.PrepareBulkLoadRequest) + PrepareBulkLoadRequestOrBuilder { // Use PrepareBulkLoadRequest.newBuilder() to construct. private PrepareBulkLoadRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -25414,7 +25213,6 @@ public final class ClientProtos { } private int bitField0_; - // required .hbase.pb.TableName table_name = 1; public static final int TABLE_NAME_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName tableName_; /** @@ -25436,7 +25234,6 @@ public final class ClientProtos { return tableName_; } - // optional .hbase.pb.RegionSpecifier region = 2; public static final int REGION_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** @@ -25465,7 +25262,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasTableName()) { memoizedIsInitialized = 0; @@ -25549,7 +25347,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -25640,8 +25437,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.PrepareBulkLoadRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.PrepareBulkLoadRequest) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_PrepareBulkLoadRequest_descriptor; @@ -25795,7 +25593,6 @@ public final class ClientProtos { } private int bitField0_; - // required .hbase.pb.TableName table_name = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName tableName_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder> tableNameBuilder_; @@ -25904,7 +25701,7 @@ public final class ClientProtos { if (tableNameBuilder_ == null) { tableNameBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder>( - tableName_, + getTableName(), getParentForChildren(), isClean()); tableName_ = null; @@ -25912,7 +25709,6 @@ public final class ClientProtos { return tableNameBuilder_; } - // optional .hbase.pb.RegionSpecifier region = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; @@ -26021,7 +25817,7 @@ public final class ClientProtos { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( - region_, + getRegion(), getParentForChildren(), isClean()); region_ = null; @@ -26040,10 +25836,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.PrepareBulkLoadRequest) } - public interface PrepareBulkLoadResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface PrepareBulkLoadResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.PrepareBulkLoadResponse) + com.google.protobuf.MessageOrBuilder { - // required string bulk_token = 1; /** * required string bulk_token = 1; */ @@ -26062,8 +25858,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.PrepareBulkLoadResponse} */ public static final class PrepareBulkLoadResponse extends - com.google.protobuf.GeneratedMessage - implements PrepareBulkLoadResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.PrepareBulkLoadResponse) + PrepareBulkLoadResponseOrBuilder { // Use PrepareBulkLoadResponse.newBuilder() to construct. private PrepareBulkLoadResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -26110,8 +25907,9 @@ public final class ClientProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - bulkToken_ = input.readBytes(); + bulkToken_ = bs; break; } } @@ -26154,7 +25952,6 @@ public final class ClientProtos { } private int bitField0_; - // required string bulk_token = 1; public static final int BULK_TOKEN_FIELD_NUMBER = 1; private java.lang.Object bulkToken_; /** @@ -26203,7 +26000,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasBulkToken()) { memoizedIsInitialized = 0; @@ -26265,7 +26063,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -26352,8 +26149,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.PrepareBulkLoadResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.PrepareBulkLoadResponse) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.PrepareBulkLoadResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_PrepareBulkLoadResponse_descriptor; @@ -26472,7 +26270,6 @@ public final class ClientProtos { } private int bitField0_; - // required string bulk_token = 1; private java.lang.Object bulkToken_ = ""; /** * required string bulk_token = 1; @@ -26486,9 +26283,12 @@ public final class ClientProtos { public java.lang.String getBulkToken() { java.lang.Object ref = bulkToken_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - bulkToken_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + bulkToken_ = s; + } return s; } else { return (java.lang.String) ref; @@ -26557,10 +26357,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.PrepareBulkLoadResponse) } - public interface CleanupBulkLoadRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface CleanupBulkLoadRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.CleanupBulkLoadRequest) + com.google.protobuf.MessageOrBuilder { - // required string bulk_token = 1; /** * required string bulk_token = 1; */ @@ -26575,7 +26375,6 @@ public final class ClientProtos { com.google.protobuf.ByteString getBulkTokenBytes(); - // optional .hbase.pb.RegionSpecifier region = 2; /** * optional .hbase.pb.RegionSpecifier region = 2; */ @@ -26593,8 +26392,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.CleanupBulkLoadRequest} */ public static final class CleanupBulkLoadRequest extends - com.google.protobuf.GeneratedMessage - implements CleanupBulkLoadRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.CleanupBulkLoadRequest) + CleanupBulkLoadRequestOrBuilder { // Use CleanupBulkLoadRequest.newBuilder() to construct. private CleanupBulkLoadRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -26641,8 +26441,9 @@ public final class ClientProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - bulkToken_ = input.readBytes(); + bulkToken_ = bs; break; } case 18: { @@ -26698,7 +26499,6 @@ public final class ClientProtos { } private int bitField0_; - // required string bulk_token = 1; public static final int BULK_TOKEN_FIELD_NUMBER = 1; private java.lang.Object bulkToken_; /** @@ -26741,7 +26541,6 @@ public final class ClientProtos { } } - // optional .hbase.pb.RegionSpecifier region = 2; public static final int REGION_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** @@ -26770,7 +26569,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasBulkToken()) { memoizedIsInitialized = 0; @@ -26850,7 +26650,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -26941,8 +26740,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.CleanupBulkLoadRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.CleanupBulkLoadRequest) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CleanupBulkLoadRequest_descriptor; @@ -27085,7 +26885,6 @@ public final class ClientProtos { } private int bitField0_; - // required string bulk_token = 1; private java.lang.Object bulkToken_ = ""; /** * required string bulk_token = 1; @@ -27099,9 +26898,12 @@ public final class ClientProtos { public java.lang.String getBulkToken() { java.lang.Object ref = bulkToken_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - bulkToken_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + bulkToken_ = s; + } return s; } else { return (java.lang.String) ref; @@ -27159,7 +26961,6 @@ public final class ClientProtos { return this; } - // optional .hbase.pb.RegionSpecifier region = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; @@ -27268,7 +27069,7 @@ public final class ClientProtos { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( - region_, + getRegion(), getParentForChildren(), isClean()); region_ = null; @@ -27287,15 +27088,17 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.CleanupBulkLoadRequest) } - public interface CleanupBulkLoadResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface CleanupBulkLoadResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.CleanupBulkLoadResponse) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.CleanupBulkLoadResponse} */ public static final class CleanupBulkLoadResponse extends - com.google.protobuf.GeneratedMessage - implements CleanupBulkLoadResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.CleanupBulkLoadResponse) + CleanupBulkLoadResponseOrBuilder { // Use CleanupBulkLoadResponse.newBuilder() to construct. private CleanupBulkLoadResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -27384,7 +27187,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -27430,7 +27234,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -27513,8 +27316,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.CleanupBulkLoadResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.CleanupBulkLoadResponse) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CleanupBulkLoadResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CleanupBulkLoadResponse_descriptor; @@ -27625,10 +27429,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.CleanupBulkLoadResponse) } - public interface CoprocessorServiceCallOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface CoprocessorServiceCallOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.CoprocessorServiceCall) + com.google.protobuf.MessageOrBuilder { - // required bytes row = 1; /** * required bytes row = 1; */ @@ -27638,7 +27442,6 @@ public final class ClientProtos { */ com.google.protobuf.ByteString getRow(); - // required string service_name = 2; /** * required string service_name = 2; */ @@ -27653,7 +27456,6 @@ public final class ClientProtos { com.google.protobuf.ByteString getServiceNameBytes(); - // required string method_name = 3; /** * required string method_name = 3; */ @@ -27668,7 +27470,6 @@ public final class ClientProtos { com.google.protobuf.ByteString getMethodNameBytes(); - // required bytes request = 4; /** * required bytes request = 4; */ @@ -27682,8 +27483,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.CoprocessorServiceCall} */ public static final class CoprocessorServiceCall extends - com.google.protobuf.GeneratedMessage - implements CoprocessorServiceCallOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.CoprocessorServiceCall) + CoprocessorServiceCallOrBuilder { // Use CoprocessorServiceCall.newBuilder() to construct. private CoprocessorServiceCall(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -27735,13 +27537,15 @@ public final class ClientProtos { break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - serviceName_ = input.readBytes(); + serviceName_ = bs; break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; - methodName_ = input.readBytes(); + methodName_ = bs; break; } case 34: { @@ -27789,7 +27593,6 @@ public final class ClientProtos { } private int bitField0_; - // required bytes row = 1; public static final int ROW_FIELD_NUMBER = 1; private com.google.protobuf.ByteString row_; /** @@ -27805,7 +27608,6 @@ public final class ClientProtos { return row_; } - // required string service_name = 2; public static final int SERVICE_NAME_FIELD_NUMBER = 2; private java.lang.Object serviceName_; /** @@ -27848,7 +27650,6 @@ public final class ClientProtos { } } - // required string method_name = 3; public static final int METHOD_NAME_FIELD_NUMBER = 3; private java.lang.Object methodName_; /** @@ -27891,7 +27692,6 @@ public final class ClientProtos { } } - // required bytes request = 4; public static final int REQUEST_FIELD_NUMBER = 4; private com.google.protobuf.ByteString request_; /** @@ -27916,7 +27716,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRow()) { memoizedIsInitialized = 0; @@ -28026,7 +27827,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -28125,8 +27925,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.CoprocessorServiceCall} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCallOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.CoprocessorServiceCall) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCallOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceCall_descriptor; @@ -28286,7 +28087,6 @@ public final class ClientProtos { } private int bitField0_; - // required bytes row = 1; private com.google.protobuf.ByteString row_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes row = 1; @@ -28322,7 +28122,6 @@ public final class ClientProtos { return this; } - // required string service_name = 2; private java.lang.Object serviceName_ = ""; /** * required string service_name = 2; @@ -28336,9 +28135,12 @@ public final class ClientProtos { public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - serviceName_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + serviceName_ = s; + } return s; } else { return (java.lang.String) ref; @@ -28396,7 +28198,6 @@ public final class ClientProtos { return this; } - // required string method_name = 3; private java.lang.Object methodName_ = ""; /** * required string method_name = 3; @@ -28410,9 +28211,12 @@ public final class ClientProtos { public java.lang.String getMethodName() { java.lang.Object ref = methodName_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - methodName_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + methodName_ = s; + } return s; } else { return (java.lang.String) ref; @@ -28470,7 +28274,6 @@ public final class ClientProtos { return this; } - // required bytes request = 4; private com.google.protobuf.ByteString request_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes request = 4; @@ -28517,10 +28320,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.CoprocessorServiceCall) } - public interface CoprocessorServiceResultOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface CoprocessorServiceResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.CoprocessorServiceResult) + com.google.protobuf.MessageOrBuilder { - // optional .hbase.pb.NameBytesPair value = 1; /** * optional .hbase.pb.NameBytesPair value = 1; */ @@ -28538,8 +28341,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.CoprocessorServiceResult} */ public static final class CoprocessorServiceResult extends - com.google.protobuf.GeneratedMessage - implements CoprocessorServiceResultOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.CoprocessorServiceResult) + CoprocessorServiceResultOrBuilder { // Use CoprocessorServiceResult.newBuilder() to construct. private CoprocessorServiceResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -28638,7 +28442,6 @@ public final class ClientProtos { } private int bitField0_; - // optional .hbase.pb.NameBytesPair value = 1; public static final int VALUE_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value_; /** @@ -28666,7 +28469,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (hasValue()) { if (!getValue().isInitialized()) { @@ -28730,7 +28534,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -28817,8 +28620,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.CoprocessorServiceResult} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResultOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.CoprocessorServiceResult) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceResult_descriptor; @@ -28946,7 +28750,6 @@ public final class ClientProtos { } private int bitField0_; - // optional .hbase.pb.NameBytesPair value = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder> valueBuilder_; @@ -29055,7 +28858,7 @@ public final class ClientProtos { if (valueBuilder_ == null) { valueBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder>( - value_, + getValue(), getParentForChildren(), isClean()); value_ = null; @@ -29074,10 +28877,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.CoprocessorServiceResult) } - public interface CoprocessorServiceRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface CoprocessorServiceRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.CoprocessorServiceRequest) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.RegionSpecifier region = 1; /** * required .hbase.pb.RegionSpecifier region = 1; */ @@ -29091,7 +28894,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder(); - // required .hbase.pb.CoprocessorServiceCall call = 2; /** * required .hbase.pb.CoprocessorServiceCall call = 2; */ @@ -29109,8 +28911,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.CoprocessorServiceRequest} */ public static final class CoprocessorServiceRequest extends - com.google.protobuf.GeneratedMessage - implements CoprocessorServiceRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.CoprocessorServiceRequest) + CoprocessorServiceRequestOrBuilder { // Use CoprocessorServiceRequest.newBuilder() to construct. private CoprocessorServiceRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -29222,7 +29025,6 @@ public final class ClientProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; public static final int REGION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** @@ -29244,7 +29046,6 @@ public final class ClientProtos { return region_; } - // required .hbase.pb.CoprocessorServiceCall call = 2; public static final int CALL_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall call_; /** @@ -29273,7 +29074,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRegion()) { memoizedIsInitialized = 0; @@ -29359,7 +29161,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -29450,8 +29251,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.CoprocessorServiceRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.CoprocessorServiceRequest) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceRequest_descriptor; @@ -29607,7 +29409,6 @@ public final class ClientProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; @@ -29716,7 +29517,7 @@ public final class ClientProtos { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( - region_, + getRegion(), getParentForChildren(), isClean()); region_ = null; @@ -29724,7 +29525,6 @@ public final class ClientProtos { return regionBuilder_; } - // required .hbase.pb.CoprocessorServiceCall call = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall call_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCallOrBuilder> callBuilder_; @@ -29833,7 +29633,7 @@ public final class ClientProtos { if (callBuilder_ == null) { callBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCallOrBuilder>( - call_, + getCall(), getParentForChildren(), isClean()); call_ = null; @@ -29852,10 +29652,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.CoprocessorServiceRequest) } - public interface CoprocessorServiceResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface CoprocessorServiceResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.CoprocessorServiceResponse) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.RegionSpecifier region = 1; /** * required .hbase.pb.RegionSpecifier region = 1; */ @@ -29869,7 +29669,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder(); - // required .hbase.pb.NameBytesPair value = 2; /** * required .hbase.pb.NameBytesPair value = 2; */ @@ -29887,8 +29686,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.CoprocessorServiceResponse} */ public static final class CoprocessorServiceResponse extends - com.google.protobuf.GeneratedMessage - implements CoprocessorServiceResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.CoprocessorServiceResponse) + CoprocessorServiceResponseOrBuilder { // Use CoprocessorServiceResponse.newBuilder() to construct. private CoprocessorServiceResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -30000,7 +29800,6 @@ public final class ClientProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; public static final int REGION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** @@ -30022,7 +29821,6 @@ public final class ClientProtos { return region_; } - // required .hbase.pb.NameBytesPair value = 2; public static final int VALUE_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value_; /** @@ -30051,7 +29849,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRegion()) { memoizedIsInitialized = 0; @@ -30137,7 +29936,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -30228,8 +30026,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.CoprocessorServiceResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.CoprocessorServiceResponse) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_CoprocessorServiceResponse_descriptor; @@ -30385,7 +30184,6 @@ public final class ClientProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; @@ -30494,7 +30292,7 @@ public final class ClientProtos { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( - region_, + getRegion(), getParentForChildren(), isClean()); region_ = null; @@ -30502,7 +30300,6 @@ public final class ClientProtos { return regionBuilder_; } - // required .hbase.pb.NameBytesPair value = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair value_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder> valueBuilder_; @@ -30611,7 +30408,7 @@ public final class ClientProtos { if (valueBuilder_ == null) { valueBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder>( - value_, + getValue(), getParentForChildren(), isClean()); value_ = null; @@ -30630,10 +30427,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.CoprocessorServiceResponse) } - public interface ActionOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ActionOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.Action) + com.google.protobuf.MessageOrBuilder { - // optional uint32 index = 1; /** * optional uint32 index = 1; * @@ -30653,7 +30450,6 @@ public final class ClientProtos { */ int getIndex(); - // optional .hbase.pb.MutationProto mutation = 2; /** * optional .hbase.pb.MutationProto mutation = 2; */ @@ -30667,7 +30463,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProtoOrBuilder getMutationOrBuilder(); - // optional .hbase.pb.Get get = 3; /** * optional .hbase.pb.Get get = 3; */ @@ -30681,7 +30476,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetOrBuilder getGetOrBuilder(); - // optional .hbase.pb.CoprocessorServiceCall service_call = 4; /** * optional .hbase.pb.CoprocessorServiceCall service_call = 4; */ @@ -30703,8 +30497,9 @@ public final class ClientProtos { * */ public static final class Action extends - com.google.protobuf.GeneratedMessage - implements ActionOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.Action) + ActionOrBuilder { // Use Action.newBuilder() to construct. private Action(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -30834,7 +30629,6 @@ public final class ClientProtos { } private int bitField0_; - // optional uint32 index = 1; public static final int INDEX_FIELD_NUMBER = 1; private int index_; /** @@ -30860,7 +30654,6 @@ public final class ClientProtos { return index_; } - // optional .hbase.pb.MutationProto mutation = 2; public static final int MUTATION_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto mutation_; /** @@ -30882,7 +30675,6 @@ public final class ClientProtos { return mutation_; } - // optional .hbase.pb.Get get = 3; public static final int GET_FIELD_NUMBER = 3; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get get_; /** @@ -30904,7 +30696,6 @@ public final class ClientProtos { return get_; } - // optional .hbase.pb.CoprocessorServiceCall service_call = 4; public static final int SERVICE_CALL_FIELD_NUMBER = 4; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall serviceCall_; /** @@ -30935,7 +30726,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (hasMutation()) { if (!getMutation().isInitialized()) { @@ -31047,7 +30839,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -31150,8 +30941,9 @@ public final class ClientProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ActionOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.Action) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ActionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_Action_descriptor; @@ -31336,7 +31128,6 @@ public final class ClientProtos { } private int bitField0_; - // optional uint32 index = 1; private int index_ ; /** * optional uint32 index = 1; @@ -31389,7 +31180,6 @@ public final class ClientProtos { return this; } - // optional .hbase.pb.MutationProto mutation = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto mutation_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProtoOrBuilder> mutationBuilder_; @@ -31498,7 +31288,7 @@ public final class ClientProtos { if (mutationBuilder_ == null) { mutationBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProto.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProtoOrBuilder>( - mutation_, + getMutation(), getParentForChildren(), isClean()); mutation_ = null; @@ -31506,7 +31296,6 @@ public final class ClientProtos { return mutationBuilder_; } - // optional .hbase.pb.Get get = 3; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get get_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetOrBuilder> getBuilder_; @@ -31615,7 +31404,7 @@ public final class ClientProtos { if (getBuilder_ == null) { getBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Get.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.GetOrBuilder>( - get_, + getGet(), getParentForChildren(), isClean()); get_ = null; @@ -31623,7 +31412,6 @@ public final class ClientProtos { return getBuilder_; } - // optional .hbase.pb.CoprocessorServiceCall service_call = 4; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall serviceCall_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCallOrBuilder> serviceCallBuilder_; @@ -31732,7 +31520,7 @@ public final class ClientProtos { if (serviceCallBuilder_ == null) { serviceCallBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCall.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceCallOrBuilder>( - serviceCall_, + getServiceCall(), getParentForChildren(), isClean()); serviceCall_ = null; @@ -31751,10 +31539,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.Action) } - public interface RegionActionOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RegionActionOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.RegionAction) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.RegionSpecifier region = 1; /** * required .hbase.pb.RegionSpecifier region = 1; */ @@ -31768,7 +31556,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder(); - // optional bool atomic = 2; /** * optional bool atomic = 2; * @@ -31786,7 +31573,6 @@ public final class ClientProtos { */ boolean getAtomic(); - // repeated .hbase.pb.Action action = 3; /** * repeated .hbase.pb.Action action = 3; */ @@ -31820,8 +31606,9 @@ public final class ClientProtos { * */ public static final class RegionAction extends - com.google.protobuf.GeneratedMessage - implements RegionActionOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.RegionAction) + RegionActionOrBuilder { // Use RegionAction.newBuilder() to construct. private RegionAction(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -31936,7 +31723,6 @@ public final class ClientProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; public static final int REGION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** @@ -31958,7 +31744,6 @@ public final class ClientProtos { return region_; } - // optional bool atomic = 2; public static final int ATOMIC_FIELD_NUMBER = 2; private boolean atomic_; /** @@ -31982,7 +31767,6 @@ public final class ClientProtos { return atomic_; } - // repeated .hbase.pb.Action action = 3; public static final int ACTION_FIELD_NUMBER = 3; private java.util.List action_; /** @@ -32026,7 +31810,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRegion()) { memoizedIsInitialized = 0; @@ -32119,7 +31904,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -32133,7 +31917,8 @@ public final class ClientProtos { } if (hasAtomic()) { hash = (37 * hash) + ATOMIC_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getAtomic()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAtomic()); } if (getActionCount() > 0) { hash = (37 * hash) + ACTION_FIELD_NUMBER; @@ -32219,8 +32004,9 @@ public final class ClientProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.RegionAction) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_RegionAction_descriptor; @@ -32407,7 +32193,6 @@ public final class ClientProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; @@ -32516,7 +32301,7 @@ public final class ClientProtos { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( - region_, + getRegion(), getParentForChildren(), isClean()); region_ = null; @@ -32524,7 +32309,6 @@ public final class ClientProtos { return regionBuilder_; } - // optional bool atomic = 2; private boolean atomic_ ; /** * optional bool atomic = 2; @@ -32573,7 +32357,6 @@ public final class ClientProtos { return this; } - // repeated .hbase.pb.Action action = 3; private java.util.List action_ = java.util.Collections.emptyList(); private void ensureActionIsMutable() { @@ -32715,7 +32498,8 @@ public final class ClientProtos { java.lang.Iterable values) { if (actionBuilder_ == null) { ensureActionIsMutable(); - super.addAll(values, action_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, action_); onChanged(); } else { actionBuilder_.addAllMessages(values); @@ -32824,10 +32608,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.RegionAction) } - public interface RegionLoadStatsOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RegionLoadStatsOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.RegionLoadStats) + com.google.protobuf.MessageOrBuilder { - // optional int32 memstoreLoad = 1 [default = 0]; /** * optional int32 memstoreLoad = 1 [default = 0]; * @@ -32845,7 +32629,6 @@ public final class ClientProtos { */ int getMemstoreLoad(); - // optional int32 heapOccupancy = 2 [default = 0]; /** * optional int32 heapOccupancy = 2 [default = 0]; * @@ -32865,7 +32648,6 @@ public final class ClientProtos { */ int getHeapOccupancy(); - // optional int32 compactionPressure = 3 [default = 0]; /** * optional int32 compactionPressure = 3 [default = 0]; * @@ -32887,13 +32669,13 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.RegionLoadStats} * *
-   *
    * Statistics about the current load on the region
    * 
*/ public static final class RegionLoadStats extends - com.google.protobuf.GeneratedMessage - implements RegionLoadStatsOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.RegionLoadStats) + RegionLoadStatsOrBuilder { // Use RegionLoadStats.newBuilder() to construct. private RegionLoadStats(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -32994,7 +32776,6 @@ public final class ClientProtos { } private int bitField0_; - // optional int32 memstoreLoad = 1 [default = 0]; public static final int MEMSTORELOAD_FIELD_NUMBER = 1; private int memstoreLoad_; /** @@ -33018,7 +32799,6 @@ public final class ClientProtos { return memstoreLoad_; } - // optional int32 heapOccupancy = 2 [default = 0]; public static final int HEAPOCCUPANCY_FIELD_NUMBER = 2; private int heapOccupancy_; /** @@ -33044,7 +32824,6 @@ public final class ClientProtos { return heapOccupancy_; } - // optional int32 compactionPressure = 3 [default = 0]; public static final int COMPACTIONPRESSURE_FIELD_NUMBER = 3; private int compactionPressure_; /** @@ -33076,7 +32855,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -33158,7 +32938,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -33253,13 +33032,13 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.RegionLoadStats} * *
-     *
      * Statistics about the current load on the region
      * 
*/ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStatsOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.RegionLoadStats) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_RegionLoadStats_descriptor; @@ -33390,7 +33169,6 @@ public final class ClientProtos { } private int bitField0_; - // optional int32 memstoreLoad = 1 [default = 0]; private int memstoreLoad_ ; /** * optional int32 memstoreLoad = 1 [default = 0]; @@ -33439,7 +33217,6 @@ public final class ClientProtos { return this; } - // optional int32 heapOccupancy = 2 [default = 0]; private int heapOccupancy_ ; /** * optional int32 heapOccupancy = 2 [default = 0]; @@ -33492,7 +33269,6 @@ public final class ClientProtos { return this; } - // optional int32 compactionPressure = 3 [default = 0]; private int compactionPressure_ ; /** * optional int32 compactionPressure = 3 [default = 0]; @@ -33552,10 +33328,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.RegionLoadStats) } - public interface MultiRegionLoadStatsOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface MultiRegionLoadStatsOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.MultiRegionLoadStats) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.RegionSpecifier region = 1; /** * repeated .hbase.pb.RegionSpecifier region = 1; */ @@ -33580,7 +33356,6 @@ public final class ClientProtos { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionOrBuilder( int index); - // repeated .hbase.pb.RegionLoadStats stat = 2; /** * repeated .hbase.pb.RegionLoadStats stat = 2; */ @@ -33609,8 +33384,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.MultiRegionLoadStats} */ public static final class MultiRegionLoadStats extends - com.google.protobuf.GeneratedMessage - implements MultiRegionLoadStatsOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.MultiRegionLoadStats) + MultiRegionLoadStatsOrBuilder { // Use MultiRegionLoadStats.newBuilder() to construct. private MultiRegionLoadStats(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -33717,7 +33493,6 @@ public final class ClientProtos { return PARSER; } - // repeated .hbase.pb.RegionSpecifier region = 1; public static final int REGION_FIELD_NUMBER = 1; private java.util.List region_; /** @@ -33753,7 +33528,6 @@ public final class ClientProtos { return region_.get(index); } - // repeated .hbase.pb.RegionLoadStats stat = 2; public static final int STAT_FIELD_NUMBER = 2; private java.util.List stat_; /** @@ -33796,7 +33570,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getRegionCount(); i++) { if (!getRegion(i).isInitialized()) { @@ -33866,7 +33641,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -33957,8 +33731,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.MultiRegionLoadStats} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStatsOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.MultiRegionLoadStats) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStatsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MultiRegionLoadStats_descriptor; @@ -34150,7 +33925,6 @@ public final class ClientProtos { } private int bitField0_; - // repeated .hbase.pb.RegionSpecifier region = 1; private java.util.List region_ = java.util.Collections.emptyList(); private void ensureRegionIsMutable() { @@ -34292,7 +34066,8 @@ public final class ClientProtos { java.lang.Iterable values) { if (regionBuilder_ == null) { ensureRegionIsMutable(); - super.addAll(values, region_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, region_); onChanged(); } else { regionBuilder_.addAllMessages(values); @@ -34390,7 +34165,6 @@ public final class ClientProtos { return regionBuilder_; } - // repeated .hbase.pb.RegionLoadStats stat = 2; private java.util.List stat_ = java.util.Collections.emptyList(); private void ensureStatIsMutable() { @@ -34532,7 +34306,8 @@ public final class ClientProtos { java.lang.Iterable values) { if (statBuilder_ == null) { ensureStatIsMutable(); - super.addAll(values, stat_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, stat_); onChanged(); } else { statBuilder_.addAllMessages(values); @@ -34641,10 +34416,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.MultiRegionLoadStats) } - public interface ResultOrExceptionOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ResultOrExceptionOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ResultOrException) + com.google.protobuf.MessageOrBuilder { - // optional uint32 index = 1; /** * optional uint32 index = 1; * @@ -34664,7 +34439,6 @@ public final class ClientProtos { */ int getIndex(); - // optional .hbase.pb.Result result = 2; /** * optional .hbase.pb.Result result = 2; */ @@ -34678,7 +34452,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder getResultOrBuilder(); - // optional .hbase.pb.NameBytesPair exception = 3; /** * optional .hbase.pb.NameBytesPair exception = 3; */ @@ -34692,7 +34465,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder getExceptionOrBuilder(); - // optional .hbase.pb.CoprocessorServiceResult service_result = 4; /** * optional .hbase.pb.CoprocessorServiceResult service_result = 4; * @@ -34718,7 +34490,6 @@ public final class ClientProtos { */ org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResultOrBuilder getServiceResultOrBuilder(); - // optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true]; /** * optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true]; * @@ -34755,8 +34526,9 @@ public final class ClientProtos { * */ public static final class ResultOrException extends - com.google.protobuf.GeneratedMessage - implements ResultOrExceptionOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ResultOrException) + ResultOrExceptionOrBuilder { // Use ResultOrException.newBuilder() to construct. private ResultOrException(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -34899,7 +34671,6 @@ public final class ClientProtos { } private int bitField0_; - // optional uint32 index = 1; public static final int INDEX_FIELD_NUMBER = 1; private int index_; /** @@ -34925,7 +34696,6 @@ public final class ClientProtos { return index_; } - // optional .hbase.pb.Result result = 2; public static final int RESULT_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result result_; /** @@ -34947,7 +34717,6 @@ public final class ClientProtos { return result_; } - // optional .hbase.pb.NameBytesPair exception = 3; public static final int EXCEPTION_FIELD_NUMBER = 3; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair exception_; /** @@ -34969,7 +34738,6 @@ public final class ClientProtos { return exception_; } - // optional .hbase.pb.CoprocessorServiceResult service_result = 4; public static final int SERVICE_RESULT_FIELD_NUMBER = 4; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult serviceResult_; /** @@ -35003,7 +34771,6 @@ public final class ClientProtos { return serviceResult_; } - // optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true]; public static final int LOADSTATS_FIELD_NUMBER = 5; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats loadStats_; /** @@ -35047,7 +34814,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (hasException()) { if (!getException().isInitialized()) { @@ -35165,7 +34933,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -35275,8 +35042,9 @@ public final class ClientProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrExceptionOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ResultOrException) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrExceptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_ResultOrException_descriptor; @@ -35473,7 +35241,6 @@ public final class ClientProtos { } private int bitField0_; - // optional uint32 index = 1; private int index_ ; /** * optional uint32 index = 1; @@ -35526,7 +35293,6 @@ public final class ClientProtos { return this; } - // optional .hbase.pb.Result result = 2; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result result_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder> resultBuilder_; @@ -35635,7 +35401,7 @@ public final class ClientProtos { if (resultBuilder_ == null) { resultBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Result.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrBuilder>( - result_, + getResult(), getParentForChildren(), isClean()); result_ = null; @@ -35643,7 +35409,6 @@ public final class ClientProtos { return resultBuilder_; } - // optional .hbase.pb.NameBytesPair exception = 3; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair exception_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder> exceptionBuilder_; @@ -35752,7 +35517,7 @@ public final class ClientProtos { if (exceptionBuilder_ == null) { exceptionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder>( - exception_, + getException(), getParentForChildren(), isClean()); exception_ = null; @@ -35760,7 +35525,6 @@ public final class ClientProtos { return exceptionBuilder_; } - // optional .hbase.pb.CoprocessorServiceResult service_result = 4; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult serviceResult_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResultOrBuilder> serviceResultBuilder_; @@ -35905,7 +35669,7 @@ public final class ClientProtos { if (serviceResultBuilder_ == null) { serviceResultBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResult.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.CoprocessorServiceResultOrBuilder>( - serviceResult_, + getServiceResult(), getParentForChildren(), isClean()); serviceResult_ = null; @@ -35913,7 +35677,6 @@ public final class ClientProtos { return serviceResultBuilder_; } - // optional .hbase.pb.RegionLoadStats loadStats = 5 [deprecated = true]; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats loadStats_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStatsOrBuilder> loadStatsBuilder_; @@ -36058,7 +35821,7 @@ public final class ClientProtos { if (loadStatsBuilder_ == null) { loadStatsBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStats.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionLoadStatsOrBuilder>( - loadStats_, + getLoadStats(), getParentForChildren(), isClean()); loadStats_ = null; @@ -36077,10 +35840,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ResultOrException) } - public interface RegionActionResultOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RegionActionResultOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.RegionActionResult) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.ResultOrException resultOrException = 1; /** * repeated .hbase.pb.ResultOrException resultOrException = 1; */ @@ -36105,7 +35868,6 @@ public final class ClientProtos { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ResultOrExceptionOrBuilder getResultOrExceptionOrBuilder( int index); - // optional .hbase.pb.NameBytesPair exception = 2; /** * optional .hbase.pb.NameBytesPair exception = 2; * @@ -36140,8 +35902,9 @@ public final class ClientProtos { * */ public static final class RegionActionResult extends - com.google.protobuf.GeneratedMessage - implements RegionActionResultOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.RegionActionResult) + RegionActionResultOrBuilder { // Use RegionActionResult.newBuilder() to construct. private RegionActionResult(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -36251,7 +36014,6 @@ public final class ClientProtos { } private int bitField0_; - // repeated .hbase.pb.ResultOrException resultOrException = 1; public static final int RESULTOREXCEPTION_FIELD_NUMBER = 1; private java.util.List resultOrException_; /** @@ -36287,7 +36049,6 @@ public final class ClientProtos { return resultOrException_.get(index); } - // optional .hbase.pb.NameBytesPair exception = 2; public static final int EXCEPTION_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair exception_; /** @@ -36328,7 +36089,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getResultOrExceptionCount(); i++) { if (!getResultOrException(i).isInitialized()) { @@ -36407,7 +36169,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -36503,8 +36264,9 @@ public final class ClientProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResultOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.RegionActionResult) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_RegionActionResult_descriptor; @@ -36680,7 +36442,6 @@ public final class ClientProtos { } private int bitField0_; - // repeated .hbase.pb.ResultOrException resultOrException = 1; private java.util.List resultOrException_ = java.util.Collections.emptyList(); private void ensureResultOrExceptionIsMutable() { @@ -36822,7 +36583,8 @@ public final class ClientProtos { java.lang.Iterable values) { if (resultOrExceptionBuilder_ == null) { ensureResultOrExceptionIsMutable(); - super.addAll(values, resultOrException_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, resultOrException_); onChanged(); } else { resultOrExceptionBuilder_.addAllMessages(values); @@ -36920,7 +36682,6 @@ public final class ClientProtos { return resultOrExceptionBuilder_; } - // optional .hbase.pb.NameBytesPair exception = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair exception_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder> exceptionBuilder_; @@ -37065,7 +36826,7 @@ public final class ClientProtos { if (exceptionBuilder_ == null) { exceptionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPair.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder>( - exception_, + getException(), getParentForChildren(), isClean()); exception_ = null; @@ -37084,10 +36845,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.RegionActionResult) } - public interface MultiRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface MultiRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.MultiRequest) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.RegionAction regionAction = 1; /** * repeated .hbase.pb.RegionAction regionAction = 1; */ @@ -37112,7 +36873,6 @@ public final class ClientProtos { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionOrBuilder getRegionActionOrBuilder( int index); - // optional uint64 nonceGroup = 2; /** * optional uint64 nonceGroup = 2; */ @@ -37122,7 +36882,6 @@ public final class ClientProtos { */ long getNonceGroup(); - // optional .hbase.pb.Condition condition = 3; /** * optional .hbase.pb.Condition condition = 3; */ @@ -37149,8 +36908,9 @@ public final class ClientProtos { * */ public static final class MultiRequest extends - com.google.protobuf.GeneratedMessage - implements MultiRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.MultiRequest) + MultiRequestOrBuilder { // Use MultiRequest.newBuilder() to construct. private MultiRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -37265,7 +37025,6 @@ public final class ClientProtos { } private int bitField0_; - // repeated .hbase.pb.RegionAction regionAction = 1; public static final int REGIONACTION_FIELD_NUMBER = 1; private java.util.List regionAction_; /** @@ -37301,7 +37060,6 @@ public final class ClientProtos { return regionAction_.get(index); } - // optional uint64 nonceGroup = 2; public static final int NONCEGROUP_FIELD_NUMBER = 2; private long nonceGroup_; /** @@ -37317,7 +37075,6 @@ public final class ClientProtos { return nonceGroup_; } - // optional .hbase.pb.Condition condition = 3; public static final int CONDITION_FIELD_NUMBER = 3; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition condition_; /** @@ -37347,7 +37104,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getRegionActionCount(); i++) { if (!getRegionAction(i).isInitialized()) { @@ -37438,7 +37196,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -37452,7 +37209,8 @@ public final class ClientProtos { } if (hasNonceGroup()) { hash = (37 * hash) + NONCEGROUP_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getNonceGroup()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNonceGroup()); } if (hasCondition()) { hash = (37 * hash) + CONDITION_FIELD_NUMBER; @@ -37542,8 +37300,9 @@ public final class ClientProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.MultiRequest) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MultiRequest_descriptor; @@ -37728,7 +37487,6 @@ public final class ClientProtos { } private int bitField0_; - // repeated .hbase.pb.RegionAction regionAction = 1; private java.util.List regionAction_ = java.util.Collections.emptyList(); private void ensureRegionActionIsMutable() { @@ -37870,7 +37628,8 @@ public final class ClientProtos { java.lang.Iterable values) { if (regionActionBuilder_ == null) { ensureRegionActionIsMutable(); - super.addAll(values, regionAction_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, regionAction_); onChanged(); } else { regionActionBuilder_.addAllMessages(values); @@ -37968,7 +37727,6 @@ public final class ClientProtos { return regionActionBuilder_; } - // optional uint64 nonceGroup = 2; private long nonceGroup_ ; /** * optional uint64 nonceGroup = 2; @@ -38001,7 +37759,6 @@ public final class ClientProtos { return this; } - // optional .hbase.pb.Condition condition = 3; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition condition_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder> conditionBuilder_; @@ -38110,7 +37867,7 @@ public final class ClientProtos { if (conditionBuilder_ == null) { conditionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.Condition.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.ConditionOrBuilder>( - condition_, + getCondition(), getParentForChildren(), isClean()); condition_ = null; @@ -38129,10 +37886,10 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.MultiRequest) } - public interface MultiResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface MultiResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.MultiResponse) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.RegionActionResult regionActionResult = 1; /** * repeated .hbase.pb.RegionActionResult regionActionResult = 1; */ @@ -38157,7 +37914,6 @@ public final class ClientProtos { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.RegionActionResultOrBuilder getRegionActionResultOrBuilder( int index); - // optional bool processed = 2; /** * optional bool processed = 2; * @@ -38175,7 +37931,6 @@ public final class ClientProtos { */ boolean getProcessed(); - // optional .hbase.pb.MultiRegionLoadStats regionStatistics = 3; /** * optional .hbase.pb.MultiRegionLoadStats regionStatistics = 3; */ @@ -38193,8 +37948,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.MultiResponse} */ public static final class MultiResponse extends - com.google.protobuf.GeneratedMessage - implements MultiResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.MultiResponse) + MultiResponseOrBuilder { // Use MultiResponse.newBuilder() to construct. private MultiResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -38309,7 +38065,6 @@ public final class ClientProtos { } private int bitField0_; - // repeated .hbase.pb.RegionActionResult regionActionResult = 1; public static final int REGIONACTIONRESULT_FIELD_NUMBER = 1; private java.util.List regionActionResult_; /** @@ -38345,7 +38100,6 @@ public final class ClientProtos { return regionActionResult_.get(index); } - // optional bool processed = 2; public static final int PROCESSED_FIELD_NUMBER = 2; private boolean processed_; /** @@ -38369,7 +38123,6 @@ public final class ClientProtos { return processed_; } - // optional .hbase.pb.MultiRegionLoadStats regionStatistics = 3; public static final int REGIONSTATISTICS_FIELD_NUMBER = 3; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats regionStatistics_; /** @@ -38399,7 +38152,8 @@ public final class ClientProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getRegionActionResultCount(); i++) { if (!getRegionActionResult(i).isInitialized()) { @@ -38490,7 +38244,6 @@ public final class ClientProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -38504,7 +38257,8 @@ public final class ClientProtos { } if (hasProcessed()) { hash = (37 * hash) + PROCESSED_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getProcessed()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getProcessed()); } if (hasRegionStatistics()) { hash = (37 * hash) + REGIONSTATISTICS_FIELD_NUMBER; @@ -38585,8 +38339,9 @@ public final class ClientProtos { * Protobuf type {@code hbase.pb.MultiResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.MultiResponse) + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClientProtos.internal_static_hbase_pb_MultiResponse_descriptor; @@ -38771,7 +38526,6 @@ public final class ClientProtos { } private int bitField0_; - // repeated .hbase.pb.RegionActionResult regionActionResult = 1; private java.util.List regionActionResult_ = java.util.Collections.emptyList(); private void ensureRegionActionResultIsMutable() { @@ -38913,7 +38667,8 @@ public final class ClientProtos { java.lang.Iterable values) { if (regionActionResultBuilder_ == null) { ensureRegionActionResultIsMutable(); - super.addAll(values, regionActionResult_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, regionActionResult_); onChanged(); } else { regionActionResultBuilder_.addAllMessages(values); @@ -39011,7 +38766,6 @@ public final class ClientProtos { return regionActionResultBuilder_; } - // optional bool processed = 2; private boolean processed_ ; /** * optional bool processed = 2; @@ -39060,7 +38814,6 @@ public final class ClientProtos { return this; } - // optional .hbase.pb.MultiRegionLoadStats regionStatistics = 3; private org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats regionStatistics_ = org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStatsOrBuilder> regionStatisticsBuilder_; @@ -39169,7 +38922,7 @@ public final class ClientProtos { if (regionStatisticsBuilder_ == null) { regionStatisticsBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStats.Builder, org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MultiRegionLoadStatsOrBuilder>( - regionStatistics_, + getRegionStatistics(), getParentForChildren(), isClean()); regionStatistics_ = null; @@ -39988,182 +39741,182 @@ public final class ClientProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ClientService) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Authorizations_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Authorizations_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CellVisibility_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_CellVisibility_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Column_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Column_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Get_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Get_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Result_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Result_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GetRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_GetRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GetResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_GetResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Condition_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Condition_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MutationProto_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_MutationProto_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MutationProto_ColumnValue_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_MutationProto_ColumnValue_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MutationProto_ColumnValue_QualifierValue_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_MutationProto_ColumnValue_QualifierValue_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MutateRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_MutateRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MutateResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_MutateResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Scan_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Scan_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ScanRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ScanRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ScanResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ScanResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_BulkLoadHFileRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_BulkLoadHFileRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_BulkLoadHFileRequest_FamilyPath_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_BulkLoadHFileRequest_FamilyPath_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_BulkLoadHFileResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_BulkLoadHFileResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_DelegationToken_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_DelegationToken_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_PrepareBulkLoadRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_PrepareBulkLoadRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_PrepareBulkLoadResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_PrepareBulkLoadResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CleanupBulkLoadRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_CleanupBulkLoadRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CleanupBulkLoadResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_CleanupBulkLoadResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CoprocessorServiceCall_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_CoprocessorServiceCall_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CoprocessorServiceResult_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_CoprocessorServiceResult_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CoprocessorServiceRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_CoprocessorServiceRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CoprocessorServiceResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_CoprocessorServiceResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Action_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Action_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RegionAction_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_RegionAction_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RegionLoadStats_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_RegionLoadStats_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MultiRegionLoadStats_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_MultiRegionLoadStats_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ResultOrException_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ResultOrException_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RegionActionResult_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_RegionActionResult_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MultiRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_MultiRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MultiResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -40345,229 +40098,13 @@ public final class ClientProtos { "\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_Authorizations_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_Authorizations_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_Authorizations_descriptor, - new java.lang.String[] { "Label", }); - internal_static_hbase_pb_CellVisibility_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_hbase_pb_CellVisibility_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_CellVisibility_descriptor, - new java.lang.String[] { "Expression", }); - internal_static_hbase_pb_Column_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_hbase_pb_Column_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_Column_descriptor, - new java.lang.String[] { "Family", "Qualifier", }); - internal_static_hbase_pb_Get_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_hbase_pb_Get_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_Get_descriptor, - new java.lang.String[] { "Row", "Column", "Attribute", "Filter", "TimeRange", "MaxVersions", "CacheBlocks", "StoreLimit", "StoreOffset", "ExistenceOnly", "Consistency", "CfTimeRange", "LoadColumnFamiliesOnDemand", }); - internal_static_hbase_pb_Result_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_hbase_pb_Result_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_Result_descriptor, - new java.lang.String[] { "Cell", "AssociatedCellCount", "Exists", "Stale", "Partial", }); - internal_static_hbase_pb_GetRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_hbase_pb_GetRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_GetRequest_descriptor, - new java.lang.String[] { "Region", "Get", }); - internal_static_hbase_pb_GetResponse_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_hbase_pb_GetResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_GetResponse_descriptor, - new java.lang.String[] { "Result", }); - internal_static_hbase_pb_Condition_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_hbase_pb_Condition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_Condition_descriptor, - new java.lang.String[] { "Row", "Family", "Qualifier", "CompareType", "Comparator", }); - internal_static_hbase_pb_MutationProto_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_hbase_pb_MutationProto_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_MutationProto_descriptor, - new java.lang.String[] { "Row", "MutateType", "ColumnValue", "Timestamp", "Attribute", "Durability", "TimeRange", "AssociatedCellCount", "Nonce", }); - internal_static_hbase_pb_MutationProto_ColumnValue_descriptor = - internal_static_hbase_pb_MutationProto_descriptor.getNestedTypes().get(0); - internal_static_hbase_pb_MutationProto_ColumnValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_MutationProto_ColumnValue_descriptor, - new java.lang.String[] { "Family", "QualifierValue", }); - internal_static_hbase_pb_MutationProto_ColumnValue_QualifierValue_descriptor = - internal_static_hbase_pb_MutationProto_ColumnValue_descriptor.getNestedTypes().get(0); - internal_static_hbase_pb_MutationProto_ColumnValue_QualifierValue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_MutationProto_ColumnValue_QualifierValue_descriptor, - new java.lang.String[] { "Qualifier", "Value", "Timestamp", "DeleteType", "Tags", }); - internal_static_hbase_pb_MutateRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_hbase_pb_MutateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_MutateRequest_descriptor, - new java.lang.String[] { "Region", "Mutation", "Condition", "NonceGroup", }); - internal_static_hbase_pb_MutateResponse_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_hbase_pb_MutateResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_MutateResponse_descriptor, - new java.lang.String[] { "Result", "Processed", }); - internal_static_hbase_pb_Scan_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_hbase_pb_Scan_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_Scan_descriptor, - new java.lang.String[] { "Column", "Attribute", "StartRow", "StopRow", "Filter", "TimeRange", "MaxVersions", "CacheBlocks", "BatchSize", "MaxResultSize", "StoreLimit", "StoreOffset", "LoadColumnFamiliesOnDemand", "Small", "Reversed", "Consistency", "Caching", "AllowPartialResults", "CfTimeRange", "MvccReadPoint", "IncludeStartRow", "IncludeStopRow", "ReadType", }); - internal_static_hbase_pb_ScanRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_hbase_pb_ScanRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ScanRequest_descriptor, - new java.lang.String[] { "Region", "Scan", "ScannerId", "NumberOfRows", "CloseScanner", "NextCallSeq", "ClientHandlesPartials", "ClientHandlesHeartbeats", "TrackScanMetrics", "Renew", "LimitOfRows", }); - internal_static_hbase_pb_ScanResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_hbase_pb_ScanResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ScanResponse_descriptor, - new java.lang.String[] { "CellsPerResult", "ScannerId", "MoreResults", "Ttl", "Results", "Stale", "PartialFlagPerResult", "MoreResultsInRegion", "HeartbeatMessage", "ScanMetrics", "MvccReadPoint", }); - internal_static_hbase_pb_BulkLoadHFileRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_hbase_pb_BulkLoadHFileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_BulkLoadHFileRequest_descriptor, - new java.lang.String[] { "Region", "FamilyPath", "AssignSeqNum", "FsToken", "BulkToken", "CopyFile", }); - internal_static_hbase_pb_BulkLoadHFileRequest_FamilyPath_descriptor = - internal_static_hbase_pb_BulkLoadHFileRequest_descriptor.getNestedTypes().get(0); - internal_static_hbase_pb_BulkLoadHFileRequest_FamilyPath_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_BulkLoadHFileRequest_FamilyPath_descriptor, - new java.lang.String[] { "Family", "Path", }); - internal_static_hbase_pb_BulkLoadHFileResponse_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_hbase_pb_BulkLoadHFileResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_BulkLoadHFileResponse_descriptor, - new java.lang.String[] { "Loaded", }); - internal_static_hbase_pb_DelegationToken_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_hbase_pb_DelegationToken_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_DelegationToken_descriptor, - new java.lang.String[] { "Identifier", "Password", "Kind", "Service", }); - internal_static_hbase_pb_PrepareBulkLoadRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_hbase_pb_PrepareBulkLoadRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_PrepareBulkLoadRequest_descriptor, - new java.lang.String[] { "TableName", "Region", }); - internal_static_hbase_pb_PrepareBulkLoadResponse_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_hbase_pb_PrepareBulkLoadResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_PrepareBulkLoadResponse_descriptor, - new java.lang.String[] { "BulkToken", }); - internal_static_hbase_pb_CleanupBulkLoadRequest_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_hbase_pb_CleanupBulkLoadRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_CleanupBulkLoadRequest_descriptor, - new java.lang.String[] { "BulkToken", "Region", }); - internal_static_hbase_pb_CleanupBulkLoadResponse_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_hbase_pb_CleanupBulkLoadResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_CleanupBulkLoadResponse_descriptor, - new java.lang.String[] { }); - internal_static_hbase_pb_CoprocessorServiceCall_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_hbase_pb_CoprocessorServiceCall_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_CoprocessorServiceCall_descriptor, - new java.lang.String[] { "Row", "ServiceName", "MethodName", "Request", }); - internal_static_hbase_pb_CoprocessorServiceResult_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_hbase_pb_CoprocessorServiceResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_CoprocessorServiceResult_descriptor, - new java.lang.String[] { "Value", }); - internal_static_hbase_pb_CoprocessorServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_hbase_pb_CoprocessorServiceRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_CoprocessorServiceRequest_descriptor, - new java.lang.String[] { "Region", "Call", }); - internal_static_hbase_pb_CoprocessorServiceResponse_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_hbase_pb_CoprocessorServiceResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_CoprocessorServiceResponse_descriptor, - new java.lang.String[] { "Region", "Value", }); - internal_static_hbase_pb_Action_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_hbase_pb_Action_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_Action_descriptor, - new java.lang.String[] { "Index", "Mutation", "Get", "ServiceCall", }); - internal_static_hbase_pb_RegionAction_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_hbase_pb_RegionAction_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_RegionAction_descriptor, - new java.lang.String[] { "Region", "Atomic", "Action", }); - internal_static_hbase_pb_RegionLoadStats_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_hbase_pb_RegionLoadStats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_RegionLoadStats_descriptor, - new java.lang.String[] { "MemstoreLoad", "HeapOccupancy", "CompactionPressure", }); - internal_static_hbase_pb_MultiRegionLoadStats_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_hbase_pb_MultiRegionLoadStats_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_MultiRegionLoadStats_descriptor, - new java.lang.String[] { "Region", "Stat", }); - internal_static_hbase_pb_ResultOrException_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_hbase_pb_ResultOrException_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ResultOrException_descriptor, - new java.lang.String[] { "Index", "Result", "Exception", "ServiceResult", "LoadStats", }); - internal_static_hbase_pb_RegionActionResult_descriptor = - getDescriptor().getMessageTypes().get(30); - internal_static_hbase_pb_RegionActionResult_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_RegionActionResult_descriptor, - new java.lang.String[] { "ResultOrException", "Exception", }); - internal_static_hbase_pb_MultiRequest_descriptor = - getDescriptor().getMessageTypes().get(31); - internal_static_hbase_pb_MultiRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_MultiRequest_descriptor, - new java.lang.String[] { "RegionAction", "NonceGroup", "Condition", }); - internal_static_hbase_pb_MultiResponse_descriptor = - getDescriptor().getMessageTypes().get(32); - internal_static_hbase_pb_MultiResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_MultiResponse_descriptor, - new java.lang.String[] { "RegionActionResult", "Processed", "RegionStatistics", }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { @@ -40577,6 +40114,227 @@ public final class ClientProtos { org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.getDescriptor(), org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.getDescriptor(), }, assigner); + internal_static_hbase_pb_Authorizations_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_Authorizations_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_Authorizations_descriptor, + new java.lang.String[] { "Label", }); + internal_static_hbase_pb_CellVisibility_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_hbase_pb_CellVisibility_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_CellVisibility_descriptor, + new java.lang.String[] { "Expression", }); + internal_static_hbase_pb_Column_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_hbase_pb_Column_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_Column_descriptor, + new java.lang.String[] { "Family", "Qualifier", }); + internal_static_hbase_pb_Get_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_hbase_pb_Get_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_Get_descriptor, + new java.lang.String[] { "Row", "Column", "Attribute", "Filter", "TimeRange", "MaxVersions", "CacheBlocks", "StoreLimit", "StoreOffset", "ExistenceOnly", "Consistency", "CfTimeRange", "LoadColumnFamiliesOnDemand", }); + internal_static_hbase_pb_Result_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_hbase_pb_Result_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_Result_descriptor, + new java.lang.String[] { "Cell", "AssociatedCellCount", "Exists", "Stale", "Partial", }); + internal_static_hbase_pb_GetRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_hbase_pb_GetRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_GetRequest_descriptor, + new java.lang.String[] { "Region", "Get", }); + internal_static_hbase_pb_GetResponse_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_hbase_pb_GetResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_GetResponse_descriptor, + new java.lang.String[] { "Result", }); + internal_static_hbase_pb_Condition_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_hbase_pb_Condition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_Condition_descriptor, + new java.lang.String[] { "Row", "Family", "Qualifier", "CompareType", "Comparator", }); + internal_static_hbase_pb_MutationProto_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_hbase_pb_MutationProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_MutationProto_descriptor, + new java.lang.String[] { "Row", "MutateType", "ColumnValue", "Timestamp", "Attribute", "Durability", "TimeRange", "AssociatedCellCount", "Nonce", }); + internal_static_hbase_pb_MutationProto_ColumnValue_descriptor = + internal_static_hbase_pb_MutationProto_descriptor.getNestedTypes().get(0); + internal_static_hbase_pb_MutationProto_ColumnValue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_MutationProto_ColumnValue_descriptor, + new java.lang.String[] { "Family", "QualifierValue", }); + internal_static_hbase_pb_MutationProto_ColumnValue_QualifierValue_descriptor = + internal_static_hbase_pb_MutationProto_ColumnValue_descriptor.getNestedTypes().get(0); + internal_static_hbase_pb_MutationProto_ColumnValue_QualifierValue_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_MutationProto_ColumnValue_QualifierValue_descriptor, + new java.lang.String[] { "Qualifier", "Value", "Timestamp", "DeleteType", "Tags", }); + internal_static_hbase_pb_MutateRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_hbase_pb_MutateRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_MutateRequest_descriptor, + new java.lang.String[] { "Region", "Mutation", "Condition", "NonceGroup", }); + internal_static_hbase_pb_MutateResponse_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_hbase_pb_MutateResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_MutateResponse_descriptor, + new java.lang.String[] { "Result", "Processed", }); + internal_static_hbase_pb_Scan_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_hbase_pb_Scan_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_Scan_descriptor, + new java.lang.String[] { "Column", "Attribute", "StartRow", "StopRow", "Filter", "TimeRange", "MaxVersions", "CacheBlocks", "BatchSize", "MaxResultSize", "StoreLimit", "StoreOffset", "LoadColumnFamiliesOnDemand", "Small", "Reversed", "Consistency", "Caching", "AllowPartialResults", "CfTimeRange", "MvccReadPoint", "IncludeStartRow", "IncludeStopRow", "ReadType", }); + internal_static_hbase_pb_ScanRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_hbase_pb_ScanRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ScanRequest_descriptor, + new java.lang.String[] { "Region", "Scan", "ScannerId", "NumberOfRows", "CloseScanner", "NextCallSeq", "ClientHandlesPartials", "ClientHandlesHeartbeats", "TrackScanMetrics", "Renew", "LimitOfRows", }); + internal_static_hbase_pb_ScanResponse_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_hbase_pb_ScanResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ScanResponse_descriptor, + new java.lang.String[] { "CellsPerResult", "ScannerId", "MoreResults", "Ttl", "Results", "Stale", "PartialFlagPerResult", "MoreResultsInRegion", "HeartbeatMessage", "ScanMetrics", "MvccReadPoint", }); + internal_static_hbase_pb_BulkLoadHFileRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_hbase_pb_BulkLoadHFileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_BulkLoadHFileRequest_descriptor, + new java.lang.String[] { "Region", "FamilyPath", "AssignSeqNum", "FsToken", "BulkToken", "CopyFile", }); + internal_static_hbase_pb_BulkLoadHFileRequest_FamilyPath_descriptor = + internal_static_hbase_pb_BulkLoadHFileRequest_descriptor.getNestedTypes().get(0); + internal_static_hbase_pb_BulkLoadHFileRequest_FamilyPath_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_BulkLoadHFileRequest_FamilyPath_descriptor, + new java.lang.String[] { "Family", "Path", }); + internal_static_hbase_pb_BulkLoadHFileResponse_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_hbase_pb_BulkLoadHFileResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_BulkLoadHFileResponse_descriptor, + new java.lang.String[] { "Loaded", }); + internal_static_hbase_pb_DelegationToken_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_hbase_pb_DelegationToken_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_DelegationToken_descriptor, + new java.lang.String[] { "Identifier", "Password", "Kind", "Service", }); + internal_static_hbase_pb_PrepareBulkLoadRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_hbase_pb_PrepareBulkLoadRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_PrepareBulkLoadRequest_descriptor, + new java.lang.String[] { "TableName", "Region", }); + internal_static_hbase_pb_PrepareBulkLoadResponse_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_hbase_pb_PrepareBulkLoadResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_PrepareBulkLoadResponse_descriptor, + new java.lang.String[] { "BulkToken", }); + internal_static_hbase_pb_CleanupBulkLoadRequest_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_hbase_pb_CleanupBulkLoadRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_CleanupBulkLoadRequest_descriptor, + new java.lang.String[] { "BulkToken", "Region", }); + internal_static_hbase_pb_CleanupBulkLoadResponse_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_hbase_pb_CleanupBulkLoadResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_CleanupBulkLoadResponse_descriptor, + new java.lang.String[] { }); + internal_static_hbase_pb_CoprocessorServiceCall_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_hbase_pb_CoprocessorServiceCall_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_CoprocessorServiceCall_descriptor, + new java.lang.String[] { "Row", "ServiceName", "MethodName", "Request", }); + internal_static_hbase_pb_CoprocessorServiceResult_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_hbase_pb_CoprocessorServiceResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_CoprocessorServiceResult_descriptor, + new java.lang.String[] { "Value", }); + internal_static_hbase_pb_CoprocessorServiceRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_hbase_pb_CoprocessorServiceRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_CoprocessorServiceRequest_descriptor, + new java.lang.String[] { "Region", "Call", }); + internal_static_hbase_pb_CoprocessorServiceResponse_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_hbase_pb_CoprocessorServiceResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_CoprocessorServiceResponse_descriptor, + new java.lang.String[] { "Region", "Value", }); + internal_static_hbase_pb_Action_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_hbase_pb_Action_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_Action_descriptor, + new java.lang.String[] { "Index", "Mutation", "Get", "ServiceCall", }); + internal_static_hbase_pb_RegionAction_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_hbase_pb_RegionAction_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_RegionAction_descriptor, + new java.lang.String[] { "Region", "Atomic", "Action", }); + internal_static_hbase_pb_RegionLoadStats_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_hbase_pb_RegionLoadStats_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_RegionLoadStats_descriptor, + new java.lang.String[] { "MemstoreLoad", "HeapOccupancy", "CompactionPressure", }); + internal_static_hbase_pb_MultiRegionLoadStats_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_hbase_pb_MultiRegionLoadStats_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_MultiRegionLoadStats_descriptor, + new java.lang.String[] { "Region", "Stat", }); + internal_static_hbase_pb_ResultOrException_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_hbase_pb_ResultOrException_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ResultOrException_descriptor, + new java.lang.String[] { "Index", "Result", "Exception", "ServiceResult", "LoadStats", }); + internal_static_hbase_pb_RegionActionResult_descriptor = + getDescriptor().getMessageTypes().get(30); + internal_static_hbase_pb_RegionActionResult_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_RegionActionResult_descriptor, + new java.lang.String[] { "ResultOrException", "Exception", }); + internal_static_hbase_pb_MultiRequest_descriptor = + getDescriptor().getMessageTypes().get(31); + internal_static_hbase_pb_MultiRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_MultiRequest_descriptor, + new java.lang.String[] { "RegionAction", "NonceGroup", "Condition", }); + internal_static_hbase_pb_MultiResponse_descriptor = + getDescriptor().getMessageTypes().get(32); + internal_static_hbase_pb_MultiResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_MultiResponse_descriptor, + new java.lang.String[] { "RegionActionResult", "Processed", "RegionStatistics", }); + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(); + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.getDescriptor(); + org.apache.hadoop.hbase.protobuf.generated.CellProtos.getDescriptor(); + org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.getDescriptor(); + org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ClusterIdProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ClusterIdProtos.java index 7902672..987f314 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ClusterIdProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ClusterIdProtos.java @@ -8,10 +8,10 @@ public final class ClusterIdProtos { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } - public interface ClusterIdOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ClusterIdOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ClusterId) + com.google.protobuf.MessageOrBuilder { - // required string cluster_id = 1; /** * required string cluster_id = 1; * @@ -48,8 +48,9 @@ public final class ClusterIdProtos { * */ public static final class ClusterId extends - com.google.protobuf.GeneratedMessage - implements ClusterIdOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ClusterId) + ClusterIdOrBuilder { // Use ClusterId.newBuilder() to construct. private ClusterId(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -96,8 +97,9 @@ public final class ClusterIdProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - clusterId_ = input.readBytes(); + clusterId_ = bs; break; } } @@ -140,7 +142,6 @@ public final class ClusterIdProtos { } private int bitField0_; - // required string cluster_id = 1; public static final int CLUSTER_ID_FIELD_NUMBER = 1; private java.lang.Object clusterId_; /** @@ -201,7 +202,8 @@ public final class ClusterIdProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasClusterId()) { memoizedIsInitialized = 0; @@ -263,7 +265,6 @@ public final class ClusterIdProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -356,8 +357,9 @@ public final class ClusterIdProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterIdOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ClusterId) + org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterIdOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.internal_static_hbase_pb_ClusterId_descriptor; @@ -476,7 +478,6 @@ public final class ClusterIdProtos { } private int bitField0_; - // required string cluster_id = 1; private java.lang.Object clusterId_ = ""; /** * required string cluster_id = 1; @@ -498,9 +499,12 @@ public final class ClusterIdProtos { public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - clusterId_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + clusterId_ = s; + } return s; } else { return (java.lang.String) ref; @@ -585,7 +589,7 @@ public final class ClusterIdProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ClusterId) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ClusterId_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -605,23 +609,23 @@ public final class ClusterIdProtos { "tosH\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_ClusterId_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_ClusterId_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ClusterId_descriptor, - new java.lang.String[] { "ClusterId", }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); + internal_static_hbase_pb_ClusterId_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_ClusterId_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ClusterId_descriptor, + new java.lang.String[] { "ClusterId", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ClusterStatusProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ClusterStatusProtos.java index 048f5cf..ac65ccc 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ClusterStatusProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ClusterStatusProtos.java @@ -8,10 +8,10 @@ public final class ClusterStatusProtos { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } - public interface RegionStateOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RegionStateOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.RegionState) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.RegionInfo region_info = 1; /** * required .hbase.pb.RegionInfo region_info = 1; */ @@ -25,7 +25,6 @@ public final class ClusterStatusProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder getRegionInfoOrBuilder(); - // required .hbase.pb.RegionState.State state = 2; /** * required .hbase.pb.RegionState.State state = 2; */ @@ -35,7 +34,6 @@ public final class ClusterStatusProtos { */ org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.State getState(); - // optional uint64 stamp = 3; /** * optional uint64 stamp = 3; */ @@ -49,8 +47,9 @@ public final class ClusterStatusProtos { * Protobuf type {@code hbase.pb.RegionState} */ public static final class RegionState extends - com.google.protobuf.GeneratedMessage - implements RegionStateOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.RegionState) + RegionStateOrBuilder { // Use RegionState.newBuilder() to construct. private RegionState(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -486,7 +485,6 @@ public final class ClusterStatusProtos { } private int bitField0_; - // required .hbase.pb.RegionInfo region_info = 1; public static final int REGION_INFO_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo regionInfo_; /** @@ -508,7 +506,6 @@ public final class ClusterStatusProtos { return regionInfo_; } - // required .hbase.pb.RegionState.State state = 2; public static final int STATE_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.State state_; /** @@ -524,7 +521,6 @@ public final class ClusterStatusProtos { return state_; } - // optional uint64 stamp = 3; public static final int STAMP_FIELD_NUMBER = 3; private long stamp_; /** @@ -548,7 +544,8 @@ public final class ClusterStatusProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRegionInfo()) { memoizedIsInitialized = 0; @@ -642,7 +639,6 @@ public final class ClusterStatusProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -656,11 +652,13 @@ public final class ClusterStatusProtos { } if (hasState()) { hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getState()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getState()); } if (hasStamp()) { hash = (37 * hash) + STAMP_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getStamp()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getStamp()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -737,8 +735,9 @@ public final class ClusterStatusProtos { * Protobuf type {@code hbase.pb.RegionState} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStateOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.RegionState) + org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionState_descriptor; @@ -890,7 +889,6 @@ public final class ClusterStatusProtos { } private int bitField0_; - // required .hbase.pb.RegionInfo region_info = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo regionInfo_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder> regionInfoBuilder_; @@ -999,7 +997,7 @@ public final class ClusterStatusProtos { if (regionInfoBuilder_ == null) { regionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder>( - regionInfo_, + getRegionInfo(), getParentForChildren(), isClean()); regionInfo_ = null; @@ -1007,7 +1005,6 @@ public final class ClusterStatusProtos { return regionInfoBuilder_; } - // required .hbase.pb.RegionState.State state = 2; private org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.State state_ = org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.State.OFFLINE; /** * required .hbase.pb.RegionState.State state = 2; @@ -1043,7 +1040,6 @@ public final class ClusterStatusProtos { return this; } - // optional uint64 stamp = 3; private long stamp_ ; /** * optional uint64 stamp = 3; @@ -1087,10 +1083,10 @@ public final class ClusterStatusProtos { // @@protoc_insertion_point(class_scope:hbase.pb.RegionState) } - public interface RegionInTransitionOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RegionInTransitionOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.RegionInTransition) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.RegionSpecifier spec = 1; /** * required .hbase.pb.RegionSpecifier spec = 1; */ @@ -1104,7 +1100,6 @@ public final class ClusterStatusProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getSpecOrBuilder(); - // required .hbase.pb.RegionState region_state = 2; /** * required .hbase.pb.RegionState region_state = 2; */ @@ -1122,8 +1117,9 @@ public final class ClusterStatusProtos { * Protobuf type {@code hbase.pb.RegionInTransition} */ public static final class RegionInTransition extends - com.google.protobuf.GeneratedMessage - implements RegionInTransitionOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.RegionInTransition) + RegionInTransitionOrBuilder { // Use RegionInTransition.newBuilder() to construct. private RegionInTransition(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1235,7 +1231,6 @@ public final class ClusterStatusProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier spec = 1; public static final int SPEC_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier spec_; /** @@ -1257,7 +1252,6 @@ public final class ClusterStatusProtos { return spec_; } - // required .hbase.pb.RegionState region_state = 2; public static final int REGION_STATE_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState regionState_; /** @@ -1286,7 +1280,8 @@ public final class ClusterStatusProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasSpec()) { memoizedIsInitialized = 0; @@ -1372,7 +1367,6 @@ public final class ClusterStatusProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1463,8 +1457,9 @@ public final class ClusterStatusProtos { * Protobuf type {@code hbase.pb.RegionInTransition} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransitionOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.RegionInTransition) + org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransitionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionInTransition_descriptor; @@ -1620,7 +1615,6 @@ public final class ClusterStatusProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier spec = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier spec_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> specBuilder_; @@ -1729,7 +1723,7 @@ public final class ClusterStatusProtos { if (specBuilder_ == null) { specBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( - spec_, + getSpec(), getParentForChildren(), isClean()); spec_ = null; @@ -1737,7 +1731,6 @@ public final class ClusterStatusProtos { return specBuilder_; } - // required .hbase.pb.RegionState region_state = 2; private org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState regionState_ = org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStateOrBuilder> regionStateBuilder_; @@ -1846,7 +1839,7 @@ public final class ClusterStatusProtos { if (regionStateBuilder_ == null) { regionStateBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStateOrBuilder>( - regionState_, + getRegionState(), getParentForChildren(), isClean()); regionState_ = null; @@ -1865,10 +1858,10 @@ public final class ClusterStatusProtos { // @@protoc_insertion_point(class_scope:hbase.pb.RegionInTransition) } - public interface StoreSequenceIdOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface StoreSequenceIdOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.StoreSequenceId) + com.google.protobuf.MessageOrBuilder { - // required bytes family_name = 1; /** * required bytes family_name = 1; */ @@ -1878,7 +1871,6 @@ public final class ClusterStatusProtos { */ com.google.protobuf.ByteString getFamilyName(); - // required uint64 sequence_id = 2; /** * required uint64 sequence_id = 2; */ @@ -1897,8 +1889,9 @@ public final class ClusterStatusProtos { * */ public static final class StoreSequenceId extends - com.google.protobuf.GeneratedMessage - implements StoreSequenceIdOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.StoreSequenceId) + StoreSequenceIdOrBuilder { // Use StoreSequenceId.newBuilder() to construct. private StoreSequenceId(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1994,7 +1987,6 @@ public final class ClusterStatusProtos { } private int bitField0_; - // required bytes family_name = 1; public static final int FAMILY_NAME_FIELD_NUMBER = 1; private com.google.protobuf.ByteString familyName_; /** @@ -2010,7 +2002,6 @@ public final class ClusterStatusProtos { return familyName_; } - // required uint64 sequence_id = 2; public static final int SEQUENCE_ID_FIELD_NUMBER = 2; private long sequenceId_; /** @@ -2033,7 +2024,8 @@ public final class ClusterStatusProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasFamilyName()) { memoizedIsInitialized = 0; @@ -2111,7 +2103,6 @@ public final class ClusterStatusProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2125,7 +2116,8 @@ public final class ClusterStatusProtos { } if (hasSequenceId()) { hash = (37 * hash) + SEQUENCE_ID_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getSequenceId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSequenceId()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -2207,8 +2199,9 @@ public final class ClusterStatusProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceIdOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.StoreSequenceId) + org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceIdOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_StoreSequenceId_descriptor; @@ -2338,7 +2331,6 @@ public final class ClusterStatusProtos { } private int bitField0_; - // required bytes family_name = 1; private com.google.protobuf.ByteString familyName_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes family_name = 1; @@ -2374,7 +2366,6 @@ public final class ClusterStatusProtos { return this; } - // required uint64 sequence_id = 2; private long sequenceId_ ; /** * required uint64 sequence_id = 2; @@ -2418,10 +2409,10 @@ public final class ClusterStatusProtos { // @@protoc_insertion_point(class_scope:hbase.pb.StoreSequenceId) } - public interface RegionStoreSequenceIdsOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RegionStoreSequenceIdsOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.RegionStoreSequenceIds) + com.google.protobuf.MessageOrBuilder { - // required uint64 last_flushed_sequence_id = 1; /** * required uint64 last_flushed_sequence_id = 1; */ @@ -2431,7 +2422,6 @@ public final class ClusterStatusProtos { */ long getLastFlushedSequenceId(); - // repeated .hbase.pb.StoreSequenceId store_sequence_id = 2; /** * repeated .hbase.pb.StoreSequenceId store_sequence_id = 2; */ @@ -2466,8 +2456,9 @@ public final class ClusterStatusProtos { * */ public static final class RegionStoreSequenceIds extends - com.google.protobuf.GeneratedMessage - implements RegionStoreSequenceIdsOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.RegionStoreSequenceIds) + RegionStoreSequenceIdsOrBuilder { // Use RegionStoreSequenceIds.newBuilder() to construct. private RegionStoreSequenceIds(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2569,7 +2560,6 @@ public final class ClusterStatusProtos { } private int bitField0_; - // required uint64 last_flushed_sequence_id = 1; public static final int LAST_FLUSHED_SEQUENCE_ID_FIELD_NUMBER = 1; private long lastFlushedSequenceId_; /** @@ -2585,7 +2575,6 @@ public final class ClusterStatusProtos { return lastFlushedSequenceId_; } - // repeated .hbase.pb.StoreSequenceId store_sequence_id = 2; public static final int STORE_SEQUENCE_ID_FIELD_NUMBER = 2; private java.util.List storeSequenceId_; /** @@ -2628,7 +2617,8 @@ public final class ClusterStatusProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasLastFlushedSequenceId()) { memoizedIsInitialized = 0; @@ -2705,7 +2695,6 @@ public final class ClusterStatusProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2715,7 +2704,8 @@ public final class ClusterStatusProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasLastFlushedSequenceId()) { hash = (37 * hash) + LAST_FLUSHED_SEQUENCE_ID_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getLastFlushedSequenceId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLastFlushedSequenceId()); } if (getStoreSequenceIdCount() > 0) { hash = (37 * hash) + STORE_SEQUENCE_ID_FIELD_NUMBER; @@ -2802,8 +2792,9 @@ public final class ClusterStatusProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIdsOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.RegionStoreSequenceIds) + org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionStoreSequenceIdsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionStoreSequenceIds_descriptor; @@ -2968,7 +2959,6 @@ public final class ClusterStatusProtos { } private int bitField0_; - // required uint64 last_flushed_sequence_id = 1; private long lastFlushedSequenceId_ ; /** * required uint64 last_flushed_sequence_id = 1; @@ -3001,7 +2991,6 @@ public final class ClusterStatusProtos { return this; } - // repeated .hbase.pb.StoreSequenceId store_sequence_id = 2; private java.util.List storeSequenceId_ = java.util.Collections.emptyList(); private void ensureStoreSequenceIdIsMutable() { @@ -3143,7 +3132,8 @@ public final class ClusterStatusProtos { java.lang.Iterable values) { if (storeSequenceIdBuilder_ == null) { ensureStoreSequenceIdIsMutable(); - super.addAll(values, storeSequenceId_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, storeSequenceId_); onChanged(); } else { storeSequenceIdBuilder_.addAllMessages(values); @@ -3252,10 +3242,10 @@ public final class ClusterStatusProtos { // @@protoc_insertion_point(class_scope:hbase.pb.RegionStoreSequenceIds) } - public interface RegionLoadOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RegionLoadOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.RegionLoad) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.RegionSpecifier region_specifier = 1; /** * required .hbase.pb.RegionSpecifier region_specifier = 1; * @@ -3281,7 +3271,6 @@ public final class ClusterStatusProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder getRegionSpecifierOrBuilder(); - // optional uint32 stores = 2; /** * optional uint32 stores = 2; * @@ -3299,7 +3288,6 @@ public final class ClusterStatusProtos { */ int getStores(); - // optional uint32 storefiles = 3; /** * optional uint32 storefiles = 3; * @@ -3317,7 +3305,6 @@ public final class ClusterStatusProtos { */ int getStorefiles(); - // optional uint32 store_uncompressed_size_MB = 4; /** * optional uint32 store_uncompressed_size_MB = 4; * @@ -3335,7 +3322,6 @@ public final class ClusterStatusProtos { */ int getStoreUncompressedSizeMB(); - // optional uint32 storefile_size_MB = 5; /** * optional uint32 storefile_size_MB = 5; * @@ -3353,7 +3339,6 @@ public final class ClusterStatusProtos { */ int getStorefileSizeMB(); - // optional uint32 memstore_size_MB = 6; /** * optional uint32 memstore_size_MB = 6; * @@ -3371,7 +3356,6 @@ public final class ClusterStatusProtos { */ int getMemstoreSizeMB(); - // optional uint32 storefile_index_size_MB = 7; /** * optional uint32 storefile_index_size_MB = 7; * @@ -3393,7 +3377,6 @@ public final class ClusterStatusProtos { */ int getStorefileIndexSizeMB(); - // optional uint64 read_requests_count = 8; /** * optional uint64 read_requests_count = 8; * @@ -3411,7 +3394,6 @@ public final class ClusterStatusProtos { */ long getReadRequestsCount(); - // optional uint64 write_requests_count = 9; /** * optional uint64 write_requests_count = 9; * @@ -3429,7 +3411,6 @@ public final class ClusterStatusProtos { */ long getWriteRequestsCount(); - // optional uint64 total_compacting_KVs = 10; /** * optional uint64 total_compacting_KVs = 10; * @@ -3447,7 +3428,6 @@ public final class ClusterStatusProtos { */ long getTotalCompactingKVs(); - // optional uint64 current_compacted_KVs = 11; /** * optional uint64 current_compacted_KVs = 11; * @@ -3465,7 +3445,6 @@ public final class ClusterStatusProtos { */ long getCurrentCompactedKVs(); - // optional uint32 root_index_size_KB = 12; /** * optional uint32 root_index_size_KB = 12; * @@ -3483,7 +3462,6 @@ public final class ClusterStatusProtos { */ int getRootIndexSizeKB(); - // optional uint32 total_static_index_size_KB = 13; /** * optional uint32 total_static_index_size_KB = 13; * @@ -3501,7 +3479,6 @@ public final class ClusterStatusProtos { */ int getTotalStaticIndexSizeKB(); - // optional uint32 total_static_bloom_size_KB = 14; /** * optional uint32 total_static_bloom_size_KB = 14; * @@ -3523,7 +3500,6 @@ public final class ClusterStatusProtos { */ int getTotalStaticBloomSizeKB(); - // optional uint64 complete_sequence_id = 15; /** * optional uint64 complete_sequence_id = 15; * @@ -3541,7 +3517,6 @@ public final class ClusterStatusProtos { */ long getCompleteSequenceId(); - // optional float data_locality = 16; /** * optional float data_locality = 16; * @@ -3559,7 +3534,6 @@ public final class ClusterStatusProtos { */ float getDataLocality(); - // optional uint64 last_major_compaction_ts = 17 [default = 0]; /** * optional uint64 last_major_compaction_ts = 17 [default = 0]; */ @@ -3569,7 +3543,6 @@ public final class ClusterStatusProtos { */ long getLastMajorCompactionTs(); - // repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18; /** * repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18; * @@ -3614,7 +3587,6 @@ public final class ClusterStatusProtos { org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.StoreSequenceIdOrBuilder getStoreCompleteSequenceIdOrBuilder( int index); - // optional uint64 filtered_read_requests_count = 19; /** * optional uint64 filtered_read_requests_count = 19; * @@ -3636,8 +3608,9 @@ public final class ClusterStatusProtos { * Protobuf type {@code hbase.pb.RegionLoad} */ public static final class RegionLoad extends - com.google.protobuf.GeneratedMessage - implements RegionLoadOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.RegionLoad) + RegionLoadOrBuilder { // Use RegionLoad.newBuilder() to construct. private RegionLoad(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -3832,7 +3805,6 @@ public final class ClusterStatusProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region_specifier = 1; public static final int REGION_SPECIFIER_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier regionSpecifier_; /** @@ -3866,7 +3838,6 @@ public final class ClusterStatusProtos { return regionSpecifier_; } - // optional uint32 stores = 2; public static final int STORES_FIELD_NUMBER = 2; private int stores_; /** @@ -3890,7 +3861,6 @@ public final class ClusterStatusProtos { return stores_; } - // optional uint32 storefiles = 3; public static final int STOREFILES_FIELD_NUMBER = 3; private int storefiles_; /** @@ -3914,7 +3884,6 @@ public final class ClusterStatusProtos { return storefiles_; } - // optional uint32 store_uncompressed_size_MB = 4; public static final int STORE_UNCOMPRESSED_SIZE_MB_FIELD_NUMBER = 4; private int storeUncompressedSizeMB_; /** @@ -3938,7 +3907,6 @@ public final class ClusterStatusProtos { return storeUncompressedSizeMB_; } - // optional uint32 storefile_size_MB = 5; public static final int STOREFILE_SIZE_MB_FIELD_NUMBER = 5; private int storefileSizeMB_; /** @@ -3962,7 +3930,6 @@ public final class ClusterStatusProtos { return storefileSizeMB_; } - // optional uint32 memstore_size_MB = 6; public static final int MEMSTORE_SIZE_MB_FIELD_NUMBER = 6; private int memstoreSizeMB_; /** @@ -3986,7 +3953,6 @@ public final class ClusterStatusProtos { return memstoreSizeMB_; } - // optional uint32 storefile_index_size_MB = 7; public static final int STOREFILE_INDEX_SIZE_MB_FIELD_NUMBER = 7; private int storefileIndexSizeMB_; /** @@ -4014,7 +3980,6 @@ public final class ClusterStatusProtos { return storefileIndexSizeMB_; } - // optional uint64 read_requests_count = 8; public static final int READ_REQUESTS_COUNT_FIELD_NUMBER = 8; private long readRequestsCount_; /** @@ -4038,7 +4003,6 @@ public final class ClusterStatusProtos { return readRequestsCount_; } - // optional uint64 write_requests_count = 9; public static final int WRITE_REQUESTS_COUNT_FIELD_NUMBER = 9; private long writeRequestsCount_; /** @@ -4062,7 +4026,6 @@ public final class ClusterStatusProtos { return writeRequestsCount_; } - // optional uint64 total_compacting_KVs = 10; public static final int TOTAL_COMPACTING_KVS_FIELD_NUMBER = 10; private long totalCompactingKVs_; /** @@ -4086,7 +4049,6 @@ public final class ClusterStatusProtos { return totalCompactingKVs_; } - // optional uint64 current_compacted_KVs = 11; public static final int CURRENT_COMPACTED_KVS_FIELD_NUMBER = 11; private long currentCompactedKVs_; /** @@ -4110,7 +4072,6 @@ public final class ClusterStatusProtos { return currentCompactedKVs_; } - // optional uint32 root_index_size_KB = 12; public static final int ROOT_INDEX_SIZE_KB_FIELD_NUMBER = 12; private int rootIndexSizeKB_; /** @@ -4134,7 +4095,6 @@ public final class ClusterStatusProtos { return rootIndexSizeKB_; } - // optional uint32 total_static_index_size_KB = 13; public static final int TOTAL_STATIC_INDEX_SIZE_KB_FIELD_NUMBER = 13; private int totalStaticIndexSizeKB_; /** @@ -4158,7 +4118,6 @@ public final class ClusterStatusProtos { return totalStaticIndexSizeKB_; } - // optional uint32 total_static_bloom_size_KB = 14; public static final int TOTAL_STATIC_BLOOM_SIZE_KB_FIELD_NUMBER = 14; private int totalStaticBloomSizeKB_; /** @@ -4186,7 +4145,6 @@ public final class ClusterStatusProtos { return totalStaticBloomSizeKB_; } - // optional uint64 complete_sequence_id = 15; public static final int COMPLETE_SEQUENCE_ID_FIELD_NUMBER = 15; private long completeSequenceId_; /** @@ -4210,7 +4168,6 @@ public final class ClusterStatusProtos { return completeSequenceId_; } - // optional float data_locality = 16; public static final int DATA_LOCALITY_FIELD_NUMBER = 16; private float dataLocality_; /** @@ -4234,7 +4191,6 @@ public final class ClusterStatusProtos { return dataLocality_; } - // optional uint64 last_major_compaction_ts = 17 [default = 0]; public static final int LAST_MAJOR_COMPACTION_TS_FIELD_NUMBER = 17; private long lastMajorCompactionTs_; /** @@ -4250,7 +4206,6 @@ public final class ClusterStatusProtos { return lastMajorCompactionTs_; } - // repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18; public static final int STORE_COMPLETE_SEQUENCE_ID_FIELD_NUMBER = 18; private java.util.List storeCompleteSequenceId_; /** @@ -4306,7 +4261,6 @@ public final class ClusterStatusProtos { return storeCompleteSequenceId_.get(index); } - // optional uint64 filtered_read_requests_count = 19; public static final int FILTERED_READ_REQUESTS_COUNT_FIELD_NUMBER = 19; private long filteredReadRequestsCount_; /** @@ -4354,7 +4308,8 @@ public final class ClusterStatusProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRegionSpecifier()) { memoizedIsInitialized = 0; @@ -4619,7 +4574,10 @@ public final class ClusterStatusProtos { } result = result && (hasDataLocality() == other.hasDataLocality()); if (hasDataLocality()) { - result = result && (Float.floatToIntBits(getDataLocality()) == Float.floatToIntBits(other.getDataLocality())); + result = result && ( + java.lang.Float.floatToIntBits(getDataLocality()) + == java.lang.Float.floatToIntBits( + other.getDataLocality())); } result = result && (hasLastMajorCompactionTs() == other.hasLastMajorCompactionTs()); if (hasLastMajorCompactionTs()) { @@ -4638,7 +4596,6 @@ public final class ClusterStatusProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -4676,19 +4633,23 @@ public final class ClusterStatusProtos { } if (hasReadRequestsCount()) { hash = (37 * hash) + READ_REQUESTS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getReadRequestsCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getReadRequestsCount()); } if (hasWriteRequestsCount()) { hash = (37 * hash) + WRITE_REQUESTS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getWriteRequestsCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getWriteRequestsCount()); } if (hasTotalCompactingKVs()) { hash = (37 * hash) + TOTAL_COMPACTING_KVS_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getTotalCompactingKVs()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTotalCompactingKVs()); } if (hasCurrentCompactedKVs()) { hash = (37 * hash) + CURRENT_COMPACTED_KVS_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getCurrentCompactedKVs()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCurrentCompactedKVs()); } if (hasRootIndexSizeKB()) { hash = (37 * hash) + ROOT_INDEX_SIZE_KB_FIELD_NUMBER; @@ -4704,16 +4665,18 @@ public final class ClusterStatusProtos { } if (hasCompleteSequenceId()) { hash = (37 * hash) + COMPLETE_SEQUENCE_ID_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getCompleteSequenceId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCompleteSequenceId()); } if (hasDataLocality()) { hash = (37 * hash) + DATA_LOCALITY_FIELD_NUMBER; - hash = (53 * hash) + Float.floatToIntBits( + hash = (53 * hash) + java.lang.Float.floatToIntBits( getDataLocality()); } if (hasLastMajorCompactionTs()) { hash = (37 * hash) + LAST_MAJOR_COMPACTION_TS_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getLastMajorCompactionTs()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLastMajorCompactionTs()); } if (getStoreCompleteSequenceIdCount() > 0) { hash = (37 * hash) + STORE_COMPLETE_SEQUENCE_ID_FIELD_NUMBER; @@ -4721,7 +4684,8 @@ public final class ClusterStatusProtos { } if (hasFilteredReadRequestsCount()) { hash = (37 * hash) + FILTERED_READ_REQUESTS_COUNT_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getFilteredReadRequestsCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getFilteredReadRequestsCount()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -4798,8 +4762,9 @@ public final class ClusterStatusProtos { * Protobuf type {@code hbase.pb.RegionLoad} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoadOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.RegionLoad) + org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoadOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_RegionLoad_descriptor; @@ -5130,7 +5095,6 @@ public final class ClusterStatusProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier region_specifier = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier regionSpecifier_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionSpecifierBuilder_; @@ -5275,7 +5239,7 @@ public final class ClusterStatusProtos { if (regionSpecifierBuilder_ == null) { regionSpecifierBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( - regionSpecifier_, + getRegionSpecifier(), getParentForChildren(), isClean()); regionSpecifier_ = null; @@ -5283,7 +5247,6 @@ public final class ClusterStatusProtos { return regionSpecifierBuilder_; } - // optional uint32 stores = 2; private int stores_ ; /** * optional uint32 stores = 2; @@ -5332,7 +5295,6 @@ public final class ClusterStatusProtos { return this; } - // optional uint32 storefiles = 3; private int storefiles_ ; /** * optional uint32 storefiles = 3; @@ -5381,7 +5343,6 @@ public final class ClusterStatusProtos { return this; } - // optional uint32 store_uncompressed_size_MB = 4; private int storeUncompressedSizeMB_ ; /** * optional uint32 store_uncompressed_size_MB = 4; @@ -5430,7 +5391,6 @@ public final class ClusterStatusProtos { return this; } - // optional uint32 storefile_size_MB = 5; private int storefileSizeMB_ ; /** * optional uint32 storefile_size_MB = 5; @@ -5479,7 +5439,6 @@ public final class ClusterStatusProtos { return this; } - // optional uint32 memstore_size_MB = 6; private int memstoreSizeMB_ ; /** * optional uint32 memstore_size_MB = 6; @@ -5528,7 +5487,6 @@ public final class ClusterStatusProtos { return this; } - // optional uint32 storefile_index_size_MB = 7; private int storefileIndexSizeMB_ ; /** * optional uint32 storefile_index_size_MB = 7; @@ -5585,7 +5543,6 @@ public final class ClusterStatusProtos { return this; } - // optional uint64 read_requests_count = 8; private long readRequestsCount_ ; /** * optional uint64 read_requests_count = 8; @@ -5634,7 +5591,6 @@ public final class ClusterStatusProtos { return this; } - // optional uint64 write_requests_count = 9; private long writeRequestsCount_ ; /** * optional uint64 write_requests_count = 9; @@ -5683,7 +5639,6 @@ public final class ClusterStatusProtos { return this; } - // optional uint64 total_compacting_KVs = 10; private long totalCompactingKVs_ ; /** * optional uint64 total_compacting_KVs = 10; @@ -5732,7 +5687,6 @@ public final class ClusterStatusProtos { return this; } - // optional uint64 current_compacted_KVs = 11; private long currentCompactedKVs_ ; /** * optional uint64 current_compacted_KVs = 11; @@ -5781,7 +5735,6 @@ public final class ClusterStatusProtos { return this; } - // optional uint32 root_index_size_KB = 12; private int rootIndexSizeKB_ ; /** * optional uint32 root_index_size_KB = 12; @@ -5830,7 +5783,6 @@ public final class ClusterStatusProtos { return this; } - // optional uint32 total_static_index_size_KB = 13; private int totalStaticIndexSizeKB_ ; /** * optional uint32 total_static_index_size_KB = 13; @@ -5879,7 +5831,6 @@ public final class ClusterStatusProtos { return this; } - // optional uint32 total_static_bloom_size_KB = 14; private int totalStaticBloomSizeKB_ ; /** * optional uint32 total_static_bloom_size_KB = 14; @@ -5936,7 +5887,6 @@ public final class ClusterStatusProtos { return this; } - // optional uint64 complete_sequence_id = 15; private long completeSequenceId_ ; /** * optional uint64 complete_sequence_id = 15; @@ -5985,7 +5935,6 @@ public final class ClusterStatusProtos { return this; } - // optional float data_locality = 16; private float dataLocality_ ; /** * optional float data_locality = 16; @@ -6034,7 +5983,6 @@ public final class ClusterStatusProtos { return this; } - // optional uint64 last_major_compaction_ts = 17 [default = 0]; private long lastMajorCompactionTs_ ; /** * optional uint64 last_major_compaction_ts = 17 [default = 0]; @@ -6067,7 +6015,6 @@ public final class ClusterStatusProtos { return this; } - // repeated .hbase.pb.StoreSequenceId store_complete_sequence_id = 18; private java.util.List storeCompleteSequenceId_ = java.util.Collections.emptyList(); private void ensureStoreCompleteSequenceIdIsMutable() { @@ -6249,7 +6196,8 @@ public final class ClusterStatusProtos { java.lang.Iterable values) { if (storeCompleteSequenceIdBuilder_ == null) { ensureStoreCompleteSequenceIdIsMutable(); - super.addAll(values, storeCompleteSequenceId_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, storeCompleteSequenceId_); onChanged(); } else { storeCompleteSequenceIdBuilder_.addAllMessages(values); @@ -6379,7 +6327,6 @@ public final class ClusterStatusProtos { return storeCompleteSequenceIdBuilder_; } - // optional uint64 filtered_read_requests_count = 19; private long filteredReadRequestsCount_ ; /** * optional uint64 filtered_read_requests_count = 19; @@ -6439,10 +6386,10 @@ public final class ClusterStatusProtos { // @@protoc_insertion_point(class_scope:hbase.pb.RegionLoad) } - public interface ReplicationLoadSinkOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ReplicationLoadSinkOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ReplicationLoadSink) + com.google.protobuf.MessageOrBuilder { - // required uint64 ageOfLastAppliedOp = 1; /** * required uint64 ageOfLastAppliedOp = 1; */ @@ -6452,7 +6399,6 @@ public final class ClusterStatusProtos { */ long getAgeOfLastAppliedOp(); - // required uint64 timeStampsOfLastAppliedOp = 2; /** * required uint64 timeStampsOfLastAppliedOp = 2; */ @@ -6466,8 +6412,9 @@ public final class ClusterStatusProtos { * Protobuf type {@code hbase.pb.ReplicationLoadSink} */ public static final class ReplicationLoadSink extends - com.google.protobuf.GeneratedMessage - implements ReplicationLoadSinkOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ReplicationLoadSink) + ReplicationLoadSinkOrBuilder { // Use ReplicationLoadSink.newBuilder() to construct. private ReplicationLoadSink(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -6563,7 +6510,6 @@ public final class ClusterStatusProtos { } private int bitField0_; - // required uint64 ageOfLastAppliedOp = 1; public static final int AGEOFLASTAPPLIEDOP_FIELD_NUMBER = 1; private long ageOfLastAppliedOp_; /** @@ -6579,7 +6525,6 @@ public final class ClusterStatusProtos { return ageOfLastAppliedOp_; } - // required uint64 timeStampsOfLastAppliedOp = 2; public static final int TIMESTAMPSOFLASTAPPLIEDOP_FIELD_NUMBER = 2; private long timeStampsOfLastAppliedOp_; /** @@ -6602,7 +6547,8 @@ public final class ClusterStatusProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasAgeOfLastAppliedOp()) { memoizedIsInitialized = 0; @@ -6680,7 +6626,6 @@ public final class ClusterStatusProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -6690,11 +6635,13 @@ public final class ClusterStatusProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasAgeOfLastAppliedOp()) { hash = (37 * hash) + AGEOFLASTAPPLIEDOP_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getAgeOfLastAppliedOp()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getAgeOfLastAppliedOp()); } if (hasTimeStampsOfLastAppliedOp()) { hash = (37 * hash) + TIMESTAMPSOFLASTAPPLIEDOP_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getTimeStampsOfLastAppliedOp()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTimeStampsOfLastAppliedOp()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -6771,8 +6718,9 @@ public final class ClusterStatusProtos { * Protobuf type {@code hbase.pb.ReplicationLoadSink} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSinkOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ReplicationLoadSink) + org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSinkOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ReplicationLoadSink_descriptor; @@ -6902,7 +6850,6 @@ public final class ClusterStatusProtos { } private int bitField0_; - // required uint64 ageOfLastAppliedOp = 1; private long ageOfLastAppliedOp_ ; /** * required uint64 ageOfLastAppliedOp = 1; @@ -6935,7 +6882,6 @@ public final class ClusterStatusProtos { return this; } - // required uint64 timeStampsOfLastAppliedOp = 2; private long timeStampsOfLastAppliedOp_ ; /** * required uint64 timeStampsOfLastAppliedOp = 2; @@ -6979,10 +6925,10 @@ public final class ClusterStatusProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ReplicationLoadSink) } - public interface ReplicationLoadSourceOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ReplicationLoadSourceOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ReplicationLoadSource) + com.google.protobuf.MessageOrBuilder { - // required string peerID = 1; /** * required string peerID = 1; */ @@ -6997,7 +6943,6 @@ public final class ClusterStatusProtos { com.google.protobuf.ByteString getPeerIDBytes(); - // required uint64 ageOfLastShippedOp = 2; /** * required uint64 ageOfLastShippedOp = 2; */ @@ -7007,7 +6952,6 @@ public final class ClusterStatusProtos { */ long getAgeOfLastShippedOp(); - // required uint32 sizeOfLogQueue = 3; /** * required uint32 sizeOfLogQueue = 3; */ @@ -7017,7 +6961,6 @@ public final class ClusterStatusProtos { */ int getSizeOfLogQueue(); - // required uint64 timeStampOfLastShippedOp = 4; /** * required uint64 timeStampOfLastShippedOp = 4; */ @@ -7027,7 +6970,6 @@ public final class ClusterStatusProtos { */ long getTimeStampOfLastShippedOp(); - // required uint64 replicationLag = 5; /** * required uint64 replicationLag = 5; */ @@ -7041,8 +6983,9 @@ public final class ClusterStatusProtos { * Protobuf type {@code hbase.pb.ReplicationLoadSource} */ public static final class ReplicationLoadSource extends - com.google.protobuf.GeneratedMessage - implements ReplicationLoadSourceOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ReplicationLoadSource) + ReplicationLoadSourceOrBuilder { // Use ReplicationLoadSource.newBuilder() to construct. private ReplicationLoadSource(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -7089,8 +7032,9 @@ public final class ClusterStatusProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - peerID_ = input.readBytes(); + peerID_ = bs; break; } case 16: { @@ -7153,7 +7097,6 @@ public final class ClusterStatusProtos { } private int bitField0_; - // required string peerID = 1; public static final int PEERID_FIELD_NUMBER = 1; private java.lang.Object peerID_; /** @@ -7196,7 +7139,6 @@ public final class ClusterStatusProtos { } } - // required uint64 ageOfLastShippedOp = 2; public static final int AGEOFLASTSHIPPEDOP_FIELD_NUMBER = 2; private long ageOfLastShippedOp_; /** @@ -7212,7 +7154,6 @@ public final class ClusterStatusProtos { return ageOfLastShippedOp_; } - // required uint32 sizeOfLogQueue = 3; public static final int SIZEOFLOGQUEUE_FIELD_NUMBER = 3; private int sizeOfLogQueue_; /** @@ -7228,7 +7169,6 @@ public final class ClusterStatusProtos { return sizeOfLogQueue_; } - // required uint64 timeStampOfLastShippedOp = 4; public static final int TIMESTAMPOFLASTSHIPPEDOP_FIELD_NUMBER = 4; private long timeStampOfLastShippedOp_; /** @@ -7244,7 +7184,6 @@ public final class ClusterStatusProtos { return timeStampOfLastShippedOp_; } - // required uint64 replicationLag = 5; public static final int REPLICATIONLAG_FIELD_NUMBER = 5; private long replicationLag_; /** @@ -7270,7 +7209,8 @@ public final class ClusterStatusProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasPeerID()) { memoizedIsInitialized = 0; @@ -7396,7 +7336,6 @@ public final class ClusterStatusProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -7410,7 +7349,8 @@ public final class ClusterStatusProtos { } if (hasAgeOfLastShippedOp()) { hash = (37 * hash) + AGEOFLASTSHIPPEDOP_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getAgeOfLastShippedOp()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getAgeOfLastShippedOp()); } if (hasSizeOfLogQueue()) { hash = (37 * hash) + SIZEOFLOGQUEUE_FIELD_NUMBER; @@ -7418,11 +7358,13 @@ public final class ClusterStatusProtos { } if (hasTimeStampOfLastShippedOp()) { hash = (37 * hash) + TIMESTAMPOFLASTSHIPPEDOP_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getTimeStampOfLastShippedOp()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTimeStampOfLastShippedOp()); } if (hasReplicationLag()) { hash = (37 * hash) + REPLICATIONLAG_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getReplicationLag()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getReplicationLag()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -7499,8 +7441,9 @@ public final class ClusterStatusProtos { * Protobuf type {@code hbase.pb.ReplicationLoadSource} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSourceOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ReplicationLoadSource) + org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSourceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ReplicationLoadSource_descriptor; @@ -7671,7 +7614,6 @@ public final class ClusterStatusProtos { } private int bitField0_; - // required string peerID = 1; private java.lang.Object peerID_ = ""; /** * required string peerID = 1; @@ -7685,9 +7627,12 @@ public final class ClusterStatusProtos { public java.lang.String getPeerID() { java.lang.Object ref = peerID_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - peerID_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + peerID_ = s; + } return s; } else { return (java.lang.String) ref; @@ -7745,7 +7690,6 @@ public final class ClusterStatusProtos { return this; } - // required uint64 ageOfLastShippedOp = 2; private long ageOfLastShippedOp_ ; /** * required uint64 ageOfLastShippedOp = 2; @@ -7778,7 +7722,6 @@ public final class ClusterStatusProtos { return this; } - // required uint32 sizeOfLogQueue = 3; private int sizeOfLogQueue_ ; /** * required uint32 sizeOfLogQueue = 3; @@ -7811,7 +7754,6 @@ public final class ClusterStatusProtos { return this; } - // required uint64 timeStampOfLastShippedOp = 4; private long timeStampOfLastShippedOp_ ; /** * required uint64 timeStampOfLastShippedOp = 4; @@ -7844,7 +7786,6 @@ public final class ClusterStatusProtos { return this; } - // required uint64 replicationLag = 5; private long replicationLag_ ; /** * required uint64 replicationLag = 5; @@ -7888,10 +7829,10 @@ public final class ClusterStatusProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ReplicationLoadSource) } - public interface ServerLoadOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ServerLoadOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ServerLoad) + com.google.protobuf.MessageOrBuilder { - // optional uint64 number_of_requests = 1; /** * optional uint64 number_of_requests = 1; * @@ -7909,7 +7850,6 @@ public final class ClusterStatusProtos { */ long getNumberOfRequests(); - // optional uint64 total_number_of_requests = 2; /** * optional uint64 total_number_of_requests = 2; * @@ -7927,7 +7867,6 @@ public final class ClusterStatusProtos { */ long getTotalNumberOfRequests(); - // optional uint32 used_heap_MB = 3; /** * optional uint32 used_heap_MB = 3; * @@ -7945,7 +7884,6 @@ public final class ClusterStatusProtos { */ int getUsedHeapMB(); - // optional uint32 max_heap_MB = 4; /** * optional uint32 max_heap_MB = 4; * @@ -7963,7 +7901,6 @@ public final class ClusterStatusProtos { */ int getMaxHeapMB(); - // repeated .hbase.pb.RegionLoad region_loads = 5; /** * repeated .hbase.pb.RegionLoad region_loads = 5; * @@ -8008,7 +7945,6 @@ public final class ClusterStatusProtos { org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionLoadOrBuilder getRegionLoadsOrBuilder( int index); - // repeated .hbase.pb.Coprocessor coprocessors = 6; /** * repeated .hbase.pb.Coprocessor coprocessors = 6; * @@ -8068,7 +8004,6 @@ public final class ClusterStatusProtos { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder getCoprocessorsOrBuilder( int index); - // optional uint64 report_start_time = 7; /** * optional uint64 report_start_time = 7; * @@ -8092,7 +8027,6 @@ public final class ClusterStatusProtos { */ long getReportStartTime(); - // optional uint64 report_end_time = 8; /** * optional uint64 report_end_time = 8; * @@ -8116,7 +8050,6 @@ public final class ClusterStatusProtos { */ long getReportEndTime(); - // optional uint32 info_server_port = 9; /** * optional uint32 info_server_port = 9; * @@ -8136,7 +8069,6 @@ public final class ClusterStatusProtos { */ int getInfoServerPort(); - // repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10; /** * repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10; * @@ -8186,7 +8118,6 @@ public final class ClusterStatusProtos { org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSourceOrBuilder getReplLoadSourceOrBuilder( int index); - // optional .hbase.pb.ReplicationLoadSink replLoadSink = 11; /** * optional .hbase.pb.ReplicationLoadSink replLoadSink = 11; * @@ -8219,8 +8150,9 @@ public final class ClusterStatusProtos { * Protobuf type {@code hbase.pb.ServerLoad} */ public static final class ServerLoad extends - com.google.protobuf.GeneratedMessage - implements ServerLoadOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ServerLoad) + ServerLoadOrBuilder { // Use ServerLoad.newBuilder() to construct. private ServerLoad(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -8387,7 +8319,6 @@ public final class ClusterStatusProtos { } private int bitField0_; - // optional uint64 number_of_requests = 1; public static final int NUMBER_OF_REQUESTS_FIELD_NUMBER = 1; private long numberOfRequests_; /** @@ -8411,7 +8342,6 @@ public final class ClusterStatusProtos { return numberOfRequests_; } - // optional uint64 total_number_of_requests = 2; public static final int TOTAL_NUMBER_OF_REQUESTS_FIELD_NUMBER = 2; private long totalNumberOfRequests_; /** @@ -8435,7 +8365,6 @@ public final class ClusterStatusProtos { return totalNumberOfRequests_; } - // optional uint32 used_heap_MB = 3; public static final int USED_HEAP_MB_FIELD_NUMBER = 3; private int usedHeapMB_; /** @@ -8459,7 +8388,6 @@ public final class ClusterStatusProtos { return usedHeapMB_; } - // optional uint32 max_heap_MB = 4; public static final int MAX_HEAP_MB_FIELD_NUMBER = 4; private int maxHeapMB_; /** @@ -8483,7 +8411,6 @@ public final class ClusterStatusProtos { return maxHeapMB_; } - // repeated .hbase.pb.RegionLoad region_loads = 5; public static final int REGION_LOADS_FIELD_NUMBER = 5; private java.util.List regionLoads_; /** @@ -8539,7 +8466,6 @@ public final class ClusterStatusProtos { return regionLoads_.get(index); } - // repeated .hbase.pb.Coprocessor coprocessors = 6; public static final int COPROCESSORS_FIELD_NUMBER = 6; private java.util.List coprocessors_; /** @@ -8610,7 +8536,6 @@ public final class ClusterStatusProtos { return coprocessors_.get(index); } - // optional uint64 report_start_time = 7; public static final int REPORT_START_TIME_FIELD_NUMBER = 7; private long reportStartTime_; /** @@ -8640,7 +8565,6 @@ public final class ClusterStatusProtos { return reportStartTime_; } - // optional uint64 report_end_time = 8; public static final int REPORT_END_TIME_FIELD_NUMBER = 8; private long reportEndTime_; /** @@ -8670,7 +8594,6 @@ public final class ClusterStatusProtos { return reportEndTime_; } - // optional uint32 info_server_port = 9; public static final int INFO_SERVER_PORT_FIELD_NUMBER = 9; private int infoServerPort_; /** @@ -8696,7 +8619,6 @@ public final class ClusterStatusProtos { return infoServerPort_; } - // repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10; public static final int REPLLOADSOURCE_FIELD_NUMBER = 10; private java.util.List replLoadSource_; /** @@ -8757,7 +8679,6 @@ public final class ClusterStatusProtos { return replLoadSource_.get(index); } - // optional .hbase.pb.ReplicationLoadSink replLoadSink = 11; public static final int REPLLOADSINK_FIELD_NUMBER = 11; private org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink replLoadSink_; /** @@ -8810,7 +8731,8 @@ public final class ClusterStatusProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getRegionLoadsCount(); i++) { if (!getRegionLoads(i).isInitialized()) { @@ -9003,7 +8925,6 @@ public final class ClusterStatusProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -9013,11 +8934,13 @@ public final class ClusterStatusProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasNumberOfRequests()) { hash = (37 * hash) + NUMBER_OF_REQUESTS_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getNumberOfRequests()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNumberOfRequests()); } if (hasTotalNumberOfRequests()) { hash = (37 * hash) + TOTAL_NUMBER_OF_REQUESTS_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getTotalNumberOfRequests()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTotalNumberOfRequests()); } if (hasUsedHeapMB()) { hash = (37 * hash) + USED_HEAP_MB_FIELD_NUMBER; @@ -9037,11 +8960,13 @@ public final class ClusterStatusProtos { } if (hasReportStartTime()) { hash = (37 * hash) + REPORT_START_TIME_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getReportStartTime()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getReportStartTime()); } if (hasReportEndTime()) { hash = (37 * hash) + REPORT_END_TIME_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getReportEndTime()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getReportEndTime()); } if (hasInfoServerPort()) { hash = (37 * hash) + INFO_SERVER_PORT_FIELD_NUMBER; @@ -9130,8 +9055,9 @@ public final class ClusterStatusProtos { * Protobuf type {@code hbase.pb.ServerLoad} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoadOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ServerLoad) + org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoadOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ServerLoad_descriptor; @@ -9466,7 +9392,6 @@ public final class ClusterStatusProtos { } private int bitField0_; - // optional uint64 number_of_requests = 1; private long numberOfRequests_ ; /** * optional uint64 number_of_requests = 1; @@ -9515,7 +9440,6 @@ public final class ClusterStatusProtos { return this; } - // optional uint64 total_number_of_requests = 2; private long totalNumberOfRequests_ ; /** * optional uint64 total_number_of_requests = 2; @@ -9564,7 +9488,6 @@ public final class ClusterStatusProtos { return this; } - // optional uint32 used_heap_MB = 3; private int usedHeapMB_ ; /** * optional uint32 used_heap_MB = 3; @@ -9613,7 +9536,6 @@ public final class ClusterStatusProtos { return this; } - // optional uint32 max_heap_MB = 4; private int maxHeapMB_ ; /** * optional uint32 max_heap_MB = 4; @@ -9662,7 +9584,6 @@ public final class ClusterStatusProtos { return this; } - // repeated .hbase.pb.RegionLoad region_loads = 5; private java.util.List regionLoads_ = java.util.Collections.emptyList(); private void ensureRegionLoadsIsMutable() { @@ -9844,7 +9765,8 @@ public final class ClusterStatusProtos { java.lang.Iterable values) { if (regionLoadsBuilder_ == null) { ensureRegionLoadsIsMutable(); - super.addAll(values, regionLoads_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, regionLoads_); onChanged(); } else { regionLoadsBuilder_.addAllMessages(values); @@ -9974,7 +9896,6 @@ public final class ClusterStatusProtos { return regionLoadsBuilder_; } - // repeated .hbase.pb.Coprocessor coprocessors = 6; private java.util.List coprocessors_ = java.util.Collections.emptyList(); private void ensureCoprocessorsIsMutable() { @@ -10186,7 +10107,8 @@ public final class ClusterStatusProtos { java.lang.Iterable values) { if (coprocessorsBuilder_ == null) { ensureCoprocessorsIsMutable(); - super.addAll(values, coprocessors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, coprocessors_); onChanged(); } else { coprocessorsBuilder_.addAllMessages(values); @@ -10340,7 +10262,6 @@ public final class ClusterStatusProtos { return coprocessorsBuilder_; } - // optional uint64 report_start_time = 7; private long reportStartTime_ ; /** * optional uint64 report_start_time = 7; @@ -10401,7 +10322,6 @@ public final class ClusterStatusProtos { return this; } - // optional uint64 report_end_time = 8; private long reportEndTime_ ; /** * optional uint64 report_end_time = 8; @@ -10462,7 +10382,6 @@ public final class ClusterStatusProtos { return this; } - // optional uint32 info_server_port = 9; private int infoServerPort_ ; /** * optional uint32 info_server_port = 9; @@ -10515,7 +10434,6 @@ public final class ClusterStatusProtos { return this; } - // repeated .hbase.pb.ReplicationLoadSource replLoadSource = 10; private java.util.List replLoadSource_ = java.util.Collections.emptyList(); private void ensureReplLoadSourceIsMutable() { @@ -10707,7 +10625,8 @@ public final class ClusterStatusProtos { java.lang.Iterable values) { if (replLoadSourceBuilder_ == null) { ensureReplLoadSourceIsMutable(); - super.addAll(values, replLoadSource_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, replLoadSource_); onChanged(); } else { replLoadSourceBuilder_.addAllMessages(values); @@ -10845,7 +10764,6 @@ public final class ClusterStatusProtos { return replLoadSourceBuilder_; } - // optional .hbase.pb.ReplicationLoadSink replLoadSink = 11; private org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink replLoadSink_ = org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSinkOrBuilder> replLoadSinkBuilder_; @@ -10999,7 +10917,7 @@ public final class ClusterStatusProtos { if (replLoadSinkBuilder_ == null) { replLoadSinkBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSink.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ReplicationLoadSinkOrBuilder>( - replLoadSink_, + getReplLoadSink(), getParentForChildren(), isClean()); replLoadSink_ = null; @@ -11018,10 +10936,10 @@ public final class ClusterStatusProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ServerLoad) } - public interface LiveServerInfoOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface LiveServerInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.LiveServerInfo) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.ServerName server = 1; /** * required .hbase.pb.ServerName server = 1; */ @@ -11035,7 +10953,6 @@ public final class ClusterStatusProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder getServerOrBuilder(); - // required .hbase.pb.ServerLoad server_load = 2; /** * required .hbase.pb.ServerLoad server_load = 2; */ @@ -11053,8 +10970,9 @@ public final class ClusterStatusProtos { * Protobuf type {@code hbase.pb.LiveServerInfo} */ public static final class LiveServerInfo extends - com.google.protobuf.GeneratedMessage - implements LiveServerInfoOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.LiveServerInfo) + LiveServerInfoOrBuilder { // Use LiveServerInfo.newBuilder() to construct. private LiveServerInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -11166,7 +11084,6 @@ public final class ClusterStatusProtos { } private int bitField0_; - // required .hbase.pb.ServerName server = 1; public static final int SERVER_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName server_; /** @@ -11188,7 +11105,6 @@ public final class ClusterStatusProtos { return server_; } - // required .hbase.pb.ServerLoad server_load = 2; public static final int SERVER_LOAD_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad serverLoad_; /** @@ -11217,7 +11133,8 @@ public final class ClusterStatusProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasServer()) { memoizedIsInitialized = 0; @@ -11303,7 +11220,6 @@ public final class ClusterStatusProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -11394,8 +11310,9 @@ public final class ClusterStatusProtos { * Protobuf type {@code hbase.pb.LiveServerInfo} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfoOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.LiveServerInfo) + org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_LiveServerInfo_descriptor; @@ -11551,7 +11468,6 @@ public final class ClusterStatusProtos { } private int bitField0_; - // required .hbase.pb.ServerName server = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName server_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder> serverBuilder_; @@ -11660,7 +11576,7 @@ public final class ClusterStatusProtos { if (serverBuilder_ == null) { serverBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder>( - server_, + getServer(), getParentForChildren(), isClean()); server_ = null; @@ -11668,7 +11584,6 @@ public final class ClusterStatusProtos { return serverBuilder_; } - // required .hbase.pb.ServerLoad server_load = 2; private org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad serverLoad_ = org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoadOrBuilder> serverLoadBuilder_; @@ -11777,7 +11692,7 @@ public final class ClusterStatusProtos { if (serverLoadBuilder_ == null) { serverLoadBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoad.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ServerLoadOrBuilder>( - serverLoad_, + getServerLoad(), getParentForChildren(), isClean()); serverLoad_ = null; @@ -11796,10 +11711,10 @@ public final class ClusterStatusProtos { // @@protoc_insertion_point(class_scope:hbase.pb.LiveServerInfo) } - public interface ClusterStatusOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ClusterStatusOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ClusterStatus) + com.google.protobuf.MessageOrBuilder { - // optional .hbase.pb.HBaseVersionFileContent hbase_version = 1; /** * optional .hbase.pb.HBaseVersionFileContent hbase_version = 1; */ @@ -11813,7 +11728,6 @@ public final class ClusterStatusProtos { */ org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContentOrBuilder getHbaseVersionOrBuilder(); - // repeated .hbase.pb.LiveServerInfo live_servers = 2; /** * repeated .hbase.pb.LiveServerInfo live_servers = 2; */ @@ -11838,7 +11752,6 @@ public final class ClusterStatusProtos { org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.LiveServerInfoOrBuilder getLiveServersOrBuilder( int index); - // repeated .hbase.pb.ServerName dead_servers = 3; /** * repeated .hbase.pb.ServerName dead_servers = 3; */ @@ -11863,7 +11776,6 @@ public final class ClusterStatusProtos { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder getDeadServersOrBuilder( int index); - // repeated .hbase.pb.RegionInTransition regions_in_transition = 4; /** * repeated .hbase.pb.RegionInTransition regions_in_transition = 4; */ @@ -11888,7 +11800,6 @@ public final class ClusterStatusProtos { org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionInTransitionOrBuilder getRegionsInTransitionOrBuilder( int index); - // optional .hbase.pb.ClusterId cluster_id = 5; /** * optional .hbase.pb.ClusterId cluster_id = 5; */ @@ -11902,7 +11813,6 @@ public final class ClusterStatusProtos { */ org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterIdOrBuilder getClusterIdOrBuilder(); - // repeated .hbase.pb.Coprocessor master_coprocessors = 6; /** * repeated .hbase.pb.Coprocessor master_coprocessors = 6; */ @@ -11927,7 +11837,6 @@ public final class ClusterStatusProtos { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder getMasterCoprocessorsOrBuilder( int index); - // optional .hbase.pb.ServerName master = 7; /** * optional .hbase.pb.ServerName master = 7; */ @@ -11941,7 +11850,6 @@ public final class ClusterStatusProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder getMasterOrBuilder(); - // repeated .hbase.pb.ServerName backup_masters = 8; /** * repeated .hbase.pb.ServerName backup_masters = 8; */ @@ -11966,7 +11874,6 @@ public final class ClusterStatusProtos { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder getBackupMastersOrBuilder( int index); - // optional bool balancer_on = 9; /** * optional bool balancer_on = 9; */ @@ -11980,8 +11887,9 @@ public final class ClusterStatusProtos { * Protobuf type {@code hbase.pb.ClusterStatus} */ public static final class ClusterStatus extends - com.google.protobuf.GeneratedMessage - implements ClusterStatusOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ClusterStatus) + ClusterStatusOrBuilder { // Use ClusterStatus.newBuilder() to construct. private ClusterStatus(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -12166,7 +12074,6 @@ public final class ClusterStatusProtos { } private int bitField0_; - // optional .hbase.pb.HBaseVersionFileContent hbase_version = 1; public static final int HBASE_VERSION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent hbaseVersion_; /** @@ -12188,7 +12095,6 @@ public final class ClusterStatusProtos { return hbaseVersion_; } - // repeated .hbase.pb.LiveServerInfo live_servers = 2; public static final int LIVE_SERVERS_FIELD_NUMBER = 2; private java.util.List liveServers_; /** @@ -12224,7 +12130,6 @@ public final class ClusterStatusProtos { return liveServers_.get(index); } - // repeated .hbase.pb.ServerName dead_servers = 3; public static final int DEAD_SERVERS_FIELD_NUMBER = 3; private java.util.List deadServers_; /** @@ -12260,7 +12165,6 @@ public final class ClusterStatusProtos { return deadServers_.get(index); } - // repeated .hbase.pb.RegionInTransition regions_in_transition = 4; public static final int REGIONS_IN_TRANSITION_FIELD_NUMBER = 4; private java.util.List regionsInTransition_; /** @@ -12296,7 +12200,6 @@ public final class ClusterStatusProtos { return regionsInTransition_.get(index); } - // optional .hbase.pb.ClusterId cluster_id = 5; public static final int CLUSTER_ID_FIELD_NUMBER = 5; private org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId clusterId_; /** @@ -12318,7 +12221,6 @@ public final class ClusterStatusProtos { return clusterId_; } - // repeated .hbase.pb.Coprocessor master_coprocessors = 6; public static final int MASTER_COPROCESSORS_FIELD_NUMBER = 6; private java.util.List masterCoprocessors_; /** @@ -12354,7 +12256,6 @@ public final class ClusterStatusProtos { return masterCoprocessors_.get(index); } - // optional .hbase.pb.ServerName master = 7; public static final int MASTER_FIELD_NUMBER = 7; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName master_; /** @@ -12376,7 +12277,6 @@ public final class ClusterStatusProtos { return master_; } - // repeated .hbase.pb.ServerName backup_masters = 8; public static final int BACKUP_MASTERS_FIELD_NUMBER = 8; private java.util.List backupMasters_; /** @@ -12412,7 +12312,6 @@ public final class ClusterStatusProtos { return backupMasters_.get(index); } - // optional bool balancer_on = 9; public static final int BALANCER_ON_FIELD_NUMBER = 9; private boolean balancerOn_; /** @@ -12442,7 +12341,8 @@ public final class ClusterStatusProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (hasHbaseVersion()) { if (!getHbaseVersion().isInitialized()) { @@ -12629,7 +12529,6 @@ public final class ClusterStatusProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -12671,7 +12570,8 @@ public final class ClusterStatusProtos { } if (hasBalancerOn()) { hash = (37 * hash) + BALANCER_ON_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getBalancerOn()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getBalancerOn()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -12748,8 +12648,9 @@ public final class ClusterStatusProtos { * Protobuf type {@code hbase.pb.ClusterStatus} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatusOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ClusterStatus) + org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.ClusterStatusOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.internal_static_hbase_pb_ClusterStatus_descriptor; @@ -13174,7 +13075,6 @@ public final class ClusterStatusProtos { } private int bitField0_; - // optional .hbase.pb.HBaseVersionFileContent hbase_version = 1; private org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent hbaseVersion_ = org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent, org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent.Builder, org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContentOrBuilder> hbaseVersionBuilder_; @@ -13283,7 +13183,7 @@ public final class ClusterStatusProtos { if (hbaseVersionBuilder_ == null) { hbaseVersionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent, org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContent.Builder, org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContentOrBuilder>( - hbaseVersion_, + getHbaseVersion(), getParentForChildren(), isClean()); hbaseVersion_ = null; @@ -13291,7 +13191,6 @@ public final class ClusterStatusProtos { return hbaseVersionBuilder_; } - // repeated .hbase.pb.LiveServerInfo live_servers = 2; private java.util.List liveServers_ = java.util.Collections.emptyList(); private void ensureLiveServersIsMutable() { @@ -13433,7 +13332,8 @@ public final class ClusterStatusProtos { java.lang.Iterable values) { if (liveServersBuilder_ == null) { ensureLiveServersIsMutable(); - super.addAll(values, liveServers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, liveServers_); onChanged(); } else { liveServersBuilder_.addAllMessages(values); @@ -13531,7 +13431,6 @@ public final class ClusterStatusProtos { return liveServersBuilder_; } - // repeated .hbase.pb.ServerName dead_servers = 3; private java.util.List deadServers_ = java.util.Collections.emptyList(); private void ensureDeadServersIsMutable() { @@ -13673,7 +13572,8 @@ public final class ClusterStatusProtos { java.lang.Iterable values) { if (deadServersBuilder_ == null) { ensureDeadServersIsMutable(); - super.addAll(values, deadServers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, deadServers_); onChanged(); } else { deadServersBuilder_.addAllMessages(values); @@ -13771,7 +13671,6 @@ public final class ClusterStatusProtos { return deadServersBuilder_; } - // repeated .hbase.pb.RegionInTransition regions_in_transition = 4; private java.util.List regionsInTransition_ = java.util.Collections.emptyList(); private void ensureRegionsInTransitionIsMutable() { @@ -13913,7 +13812,8 @@ public final class ClusterStatusProtos { java.lang.Iterable values) { if (regionsInTransitionBuilder_ == null) { ensureRegionsInTransitionIsMutable(); - super.addAll(values, regionsInTransition_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, regionsInTransition_); onChanged(); } else { regionsInTransitionBuilder_.addAllMessages(values); @@ -14011,7 +13911,6 @@ public final class ClusterStatusProtos { return regionsInTransitionBuilder_; } - // optional .hbase.pb.ClusterId cluster_id = 5; private org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId clusterId_ = org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId, org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterIdOrBuilder> clusterIdBuilder_; @@ -14120,7 +14019,7 @@ public final class ClusterStatusProtos { if (clusterIdBuilder_ == null) { clusterIdBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId, org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId.Builder, org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterIdOrBuilder>( - clusterId_, + getClusterId(), getParentForChildren(), isClean()); clusterId_ = null; @@ -14128,7 +14027,6 @@ public final class ClusterStatusProtos { return clusterIdBuilder_; } - // repeated .hbase.pb.Coprocessor master_coprocessors = 6; private java.util.List masterCoprocessors_ = java.util.Collections.emptyList(); private void ensureMasterCoprocessorsIsMutable() { @@ -14270,7 +14168,8 @@ public final class ClusterStatusProtos { java.lang.Iterable values) { if (masterCoprocessorsBuilder_ == null) { ensureMasterCoprocessorsIsMutable(); - super.addAll(values, masterCoprocessors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, masterCoprocessors_); onChanged(); } else { masterCoprocessorsBuilder_.addAllMessages(values); @@ -14368,7 +14267,6 @@ public final class ClusterStatusProtos { return masterCoprocessorsBuilder_; } - // optional .hbase.pb.ServerName master = 7; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName master_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder> masterBuilder_; @@ -14477,7 +14375,7 @@ public final class ClusterStatusProtos { if (masterBuilder_ == null) { masterBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder>( - master_, + getMaster(), getParentForChildren(), isClean()); master_ = null; @@ -14485,7 +14383,6 @@ public final class ClusterStatusProtos { return masterBuilder_; } - // repeated .hbase.pb.ServerName backup_masters = 8; private java.util.List backupMasters_ = java.util.Collections.emptyList(); private void ensureBackupMastersIsMutable() { @@ -14627,7 +14524,8 @@ public final class ClusterStatusProtos { java.lang.Iterable values) { if (backupMastersBuilder_ == null) { ensureBackupMastersIsMutable(); - super.addAll(values, backupMasters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, backupMasters_); onChanged(); } else { backupMastersBuilder_.addAllMessages(values); @@ -14725,7 +14623,6 @@ public final class ClusterStatusProtos { return backupMastersBuilder_; } - // optional bool balancer_on = 9; private boolean balancerOn_ ; /** * optional bool balancer_on = 9; @@ -14769,52 +14666,52 @@ public final class ClusterStatusProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ClusterStatus) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RegionState_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_RegionState_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RegionInTransition_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_RegionInTransition_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_StoreSequenceId_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_StoreSequenceId_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RegionStoreSequenceIds_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_RegionStoreSequenceIds_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RegionLoad_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_RegionLoad_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ReplicationLoadSink_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ReplicationLoadSink_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ReplicationLoadSource_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ReplicationLoadSource_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ServerLoad_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ServerLoad_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_LiveServerInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_LiveServerInfo_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ClusterStatus_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -14895,73 +14792,13 @@ public final class ClusterStatusProtos { "sProtosH\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_RegionState_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_RegionState_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_RegionState_descriptor, - new java.lang.String[] { "RegionInfo", "State", "Stamp", }); - internal_static_hbase_pb_RegionInTransition_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_hbase_pb_RegionInTransition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_RegionInTransition_descriptor, - new java.lang.String[] { "Spec", "RegionState", }); - internal_static_hbase_pb_StoreSequenceId_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_hbase_pb_StoreSequenceId_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_StoreSequenceId_descriptor, - new java.lang.String[] { "FamilyName", "SequenceId", }); - internal_static_hbase_pb_RegionStoreSequenceIds_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_hbase_pb_RegionStoreSequenceIds_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_RegionStoreSequenceIds_descriptor, - new java.lang.String[] { "LastFlushedSequenceId", "StoreSequenceId", }); - internal_static_hbase_pb_RegionLoad_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_hbase_pb_RegionLoad_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_RegionLoad_descriptor, - new java.lang.String[] { "RegionSpecifier", "Stores", "Storefiles", "StoreUncompressedSizeMB", "StorefileSizeMB", "MemstoreSizeMB", "StorefileIndexSizeMB", "ReadRequestsCount", "WriteRequestsCount", "TotalCompactingKVs", "CurrentCompactedKVs", "RootIndexSizeKB", "TotalStaticIndexSizeKB", "TotalStaticBloomSizeKB", "CompleteSequenceId", "DataLocality", "LastMajorCompactionTs", "StoreCompleteSequenceId", "FilteredReadRequestsCount", }); - internal_static_hbase_pb_ReplicationLoadSink_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_hbase_pb_ReplicationLoadSink_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ReplicationLoadSink_descriptor, - new java.lang.String[] { "AgeOfLastAppliedOp", "TimeStampsOfLastAppliedOp", }); - internal_static_hbase_pb_ReplicationLoadSource_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_hbase_pb_ReplicationLoadSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ReplicationLoadSource_descriptor, - new java.lang.String[] { "PeerID", "AgeOfLastShippedOp", "SizeOfLogQueue", "TimeStampOfLastShippedOp", "ReplicationLag", }); - internal_static_hbase_pb_ServerLoad_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_hbase_pb_ServerLoad_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ServerLoad_descriptor, - new java.lang.String[] { "NumberOfRequests", "TotalNumberOfRequests", "UsedHeapMB", "MaxHeapMB", "RegionLoads", "Coprocessors", "ReportStartTime", "ReportEndTime", "InfoServerPort", "ReplLoadSource", "ReplLoadSink", }); - internal_static_hbase_pb_LiveServerInfo_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_hbase_pb_LiveServerInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_LiveServerInfo_descriptor, - new java.lang.String[] { "Server", "ServerLoad", }); - internal_static_hbase_pb_ClusterStatus_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_hbase_pb_ClusterStatus_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ClusterStatus_descriptor, - new java.lang.String[] { "HbaseVersion", "LiveServers", "DeadServers", "RegionsInTransition", "ClusterId", "MasterCoprocessors", "Master", "BackupMasters", "BalancerOn", }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { @@ -14969,6 +14806,69 @@ public final class ClusterStatusProtos { org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.getDescriptor(), org.apache.hadoop.hbase.protobuf.generated.FSProtos.getDescriptor(), }, assigner); + internal_static_hbase_pb_RegionState_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_RegionState_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_RegionState_descriptor, + new java.lang.String[] { "RegionInfo", "State", "Stamp", }); + internal_static_hbase_pb_RegionInTransition_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_hbase_pb_RegionInTransition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_RegionInTransition_descriptor, + new java.lang.String[] { "Spec", "RegionState", }); + internal_static_hbase_pb_StoreSequenceId_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_hbase_pb_StoreSequenceId_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_StoreSequenceId_descriptor, + new java.lang.String[] { "FamilyName", "SequenceId", }); + internal_static_hbase_pb_RegionStoreSequenceIds_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_hbase_pb_RegionStoreSequenceIds_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_RegionStoreSequenceIds_descriptor, + new java.lang.String[] { "LastFlushedSequenceId", "StoreSequenceId", }); + internal_static_hbase_pb_RegionLoad_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_hbase_pb_RegionLoad_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_RegionLoad_descriptor, + new java.lang.String[] { "RegionSpecifier", "Stores", "Storefiles", "StoreUncompressedSizeMB", "StorefileSizeMB", "MemstoreSizeMB", "StorefileIndexSizeMB", "ReadRequestsCount", "WriteRequestsCount", "TotalCompactingKVs", "CurrentCompactedKVs", "RootIndexSizeKB", "TotalStaticIndexSizeKB", "TotalStaticBloomSizeKB", "CompleteSequenceId", "DataLocality", "LastMajorCompactionTs", "StoreCompleteSequenceId", "FilteredReadRequestsCount", }); + internal_static_hbase_pb_ReplicationLoadSink_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_hbase_pb_ReplicationLoadSink_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ReplicationLoadSink_descriptor, + new java.lang.String[] { "AgeOfLastAppliedOp", "TimeStampsOfLastAppliedOp", }); + internal_static_hbase_pb_ReplicationLoadSource_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_hbase_pb_ReplicationLoadSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ReplicationLoadSource_descriptor, + new java.lang.String[] { "PeerID", "AgeOfLastShippedOp", "SizeOfLogQueue", "TimeStampOfLastShippedOp", "ReplicationLag", }); + internal_static_hbase_pb_ServerLoad_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_hbase_pb_ServerLoad_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ServerLoad_descriptor, + new java.lang.String[] { "NumberOfRequests", "TotalNumberOfRequests", "UsedHeapMB", "MaxHeapMB", "RegionLoads", "Coprocessors", "ReportStartTime", "ReportEndTime", "InfoServerPort", "ReplLoadSource", "ReplLoadSink", }); + internal_static_hbase_pb_LiveServerInfo_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_hbase_pb_LiveServerInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_LiveServerInfo_descriptor, + new java.lang.String[] { "Server", "ServerLoad", }); + internal_static_hbase_pb_ClusterStatus_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_hbase_pb_ClusterStatus_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ClusterStatus_descriptor, + new java.lang.String[] { "HbaseVersion", "LiveServers", "DeadServers", "RegionsInTransition", "ClusterId", "MasterCoprocessors", "Master", "BackupMasters", "BalancerOn", }); + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(); + org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.getDescriptor(); + org.apache.hadoop.hbase.protobuf.generated.FSProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ComparatorProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ComparatorProtos.java index 2afe6a8..ba4c054 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ComparatorProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ComparatorProtos.java @@ -8,10 +8,10 @@ public final class ComparatorProtos { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } - public interface ComparatorOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ComparatorOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.Comparator) + com.google.protobuf.MessageOrBuilder { - // required string name = 1; /** * required string name = 1; */ @@ -26,7 +26,6 @@ public final class ComparatorProtos { com.google.protobuf.ByteString getNameBytes(); - // optional bytes serialized_comparator = 2; /** * optional bytes serialized_comparator = 2; */ @@ -40,8 +39,9 @@ public final class ComparatorProtos { * Protobuf type {@code hbase.pb.Comparator} */ public static final class Comparator extends - com.google.protobuf.GeneratedMessage - implements ComparatorOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.Comparator) + ComparatorOrBuilder { // Use Comparator.newBuilder() to construct. private Comparator(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -88,8 +88,9 @@ public final class ComparatorProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - name_ = input.readBytes(); + name_ = bs; break; } case 18: { @@ -137,7 +138,6 @@ public final class ComparatorProtos { } private int bitField0_; - // required string name = 1; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; /** @@ -180,7 +180,6 @@ public final class ComparatorProtos { } } - // optional bytes serialized_comparator = 2; public static final int SERIALIZED_COMPARATOR_FIELD_NUMBER = 2; private com.google.protobuf.ByteString serializedComparator_; /** @@ -203,7 +202,8 @@ public final class ComparatorProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasName()) { memoizedIsInitialized = 0; @@ -277,7 +277,6 @@ public final class ComparatorProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -368,8 +367,9 @@ public final class ComparatorProtos { * Protobuf type {@code hbase.pb.Comparator} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ComparatorOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.Comparator) + org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ComparatorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.internal_static_hbase_pb_Comparator_descriptor; @@ -497,7 +497,6 @@ public final class ComparatorProtos { } private int bitField0_; - // required string name = 1; private java.lang.Object name_ = ""; /** * required string name = 1; @@ -511,9 +510,12 @@ public final class ComparatorProtos { public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - name_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } return s; } else { return (java.lang.String) ref; @@ -571,7 +573,6 @@ public final class ComparatorProtos { return this; } - // optional bytes serialized_comparator = 2; private com.google.protobuf.ByteString serializedComparator_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes serialized_comparator = 2; @@ -618,10 +619,10 @@ public final class ComparatorProtos { // @@protoc_insertion_point(class_scope:hbase.pb.Comparator) } - public interface ByteArrayComparableOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ByteArrayComparableOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ByteArrayComparable) + com.google.protobuf.MessageOrBuilder { - // optional bytes value = 1; /** * optional bytes value = 1; */ @@ -635,8 +636,9 @@ public final class ComparatorProtos { * Protobuf type {@code hbase.pb.ByteArrayComparable} */ public static final class ByteArrayComparable extends - com.google.protobuf.GeneratedMessage - implements ByteArrayComparableOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ByteArrayComparable) + ByteArrayComparableOrBuilder { // Use ByteArrayComparable.newBuilder() to construct. private ByteArrayComparable(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -727,7 +729,6 @@ public final class ComparatorProtos { } private int bitField0_; - // optional bytes value = 1; public static final int VALUE_FIELD_NUMBER = 1; private com.google.protobuf.ByteString value_; /** @@ -749,7 +750,8 @@ public final class ComparatorProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -807,7 +809,6 @@ public final class ComparatorProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -894,8 +895,9 @@ public final class ComparatorProtos { * Protobuf type {@code hbase.pb.ByteArrayComparable} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparableOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ByteArrayComparable) + org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparableOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.internal_static_hbase_pb_ByteArrayComparable_descriptor; @@ -1008,7 +1010,6 @@ public final class ComparatorProtos { } private int bitField0_; - // optional bytes value = 1; private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes value = 1; @@ -1055,10 +1056,10 @@ public final class ComparatorProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ByteArrayComparable) } - public interface BinaryComparatorOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface BinaryComparatorOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.BinaryComparator) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.ByteArrayComparable comparable = 1; /** * required .hbase.pb.ByteArrayComparable comparable = 1; */ @@ -1076,8 +1077,9 @@ public final class ComparatorProtos { * Protobuf type {@code hbase.pb.BinaryComparator} */ public static final class BinaryComparator extends - com.google.protobuf.GeneratedMessage - implements BinaryComparatorOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.BinaryComparator) + BinaryComparatorOrBuilder { // Use BinaryComparator.newBuilder() to construct. private BinaryComparator(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1176,7 +1178,6 @@ public final class ComparatorProtos { } private int bitField0_; - // required .hbase.pb.ByteArrayComparable comparable = 1; public static final int COMPARABLE_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable comparable_; /** @@ -1204,7 +1205,8 @@ public final class ComparatorProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasComparable()) { memoizedIsInitialized = 0; @@ -1266,7 +1268,6 @@ public final class ComparatorProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1353,8 +1354,9 @@ public final class ComparatorProtos { * Protobuf type {@code hbase.pb.BinaryComparator} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.BinaryComparatorOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.BinaryComparator) + org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.BinaryComparatorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.internal_static_hbase_pb_BinaryComparator_descriptor; @@ -1480,7 +1482,6 @@ public final class ComparatorProtos { } private int bitField0_; - // required .hbase.pb.ByteArrayComparable comparable = 1; private org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable comparable_ = org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable.Builder, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparableOrBuilder> comparableBuilder_; @@ -1589,7 +1590,7 @@ public final class ComparatorProtos { if (comparableBuilder_ == null) { comparableBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable.Builder, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparableOrBuilder>( - comparable_, + getComparable(), getParentForChildren(), isClean()); comparable_ = null; @@ -1608,10 +1609,10 @@ public final class ComparatorProtos { // @@protoc_insertion_point(class_scope:hbase.pb.BinaryComparator) } - public interface LongComparatorOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface LongComparatorOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.LongComparator) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.ByteArrayComparable comparable = 1; /** * required .hbase.pb.ByteArrayComparable comparable = 1; */ @@ -1629,8 +1630,9 @@ public final class ComparatorProtos { * Protobuf type {@code hbase.pb.LongComparator} */ public static final class LongComparator extends - com.google.protobuf.GeneratedMessage - implements LongComparatorOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.LongComparator) + LongComparatorOrBuilder { // Use LongComparator.newBuilder() to construct. private LongComparator(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1729,7 +1731,6 @@ public final class ComparatorProtos { } private int bitField0_; - // required .hbase.pb.ByteArrayComparable comparable = 1; public static final int COMPARABLE_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable comparable_; /** @@ -1757,7 +1758,8 @@ public final class ComparatorProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasComparable()) { memoizedIsInitialized = 0; @@ -1819,7 +1821,6 @@ public final class ComparatorProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1906,8 +1907,9 @@ public final class ComparatorProtos { * Protobuf type {@code hbase.pb.LongComparator} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.LongComparatorOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.LongComparator) + org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.LongComparatorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.internal_static_hbase_pb_LongComparator_descriptor; @@ -2033,7 +2035,6 @@ public final class ComparatorProtos { } private int bitField0_; - // required .hbase.pb.ByteArrayComparable comparable = 1; private org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable comparable_ = org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable.Builder, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparableOrBuilder> comparableBuilder_; @@ -2142,7 +2143,7 @@ public final class ComparatorProtos { if (comparableBuilder_ == null) { comparableBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable.Builder, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparableOrBuilder>( - comparable_, + getComparable(), getParentForChildren(), isClean()); comparable_ = null; @@ -2161,10 +2162,10 @@ public final class ComparatorProtos { // @@protoc_insertion_point(class_scope:hbase.pb.LongComparator) } - public interface BinaryPrefixComparatorOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface BinaryPrefixComparatorOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.BinaryPrefixComparator) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.ByteArrayComparable comparable = 1; /** * required .hbase.pb.ByteArrayComparable comparable = 1; */ @@ -2182,8 +2183,9 @@ public final class ComparatorProtos { * Protobuf type {@code hbase.pb.BinaryPrefixComparator} */ public static final class BinaryPrefixComparator extends - com.google.protobuf.GeneratedMessage - implements BinaryPrefixComparatorOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.BinaryPrefixComparator) + BinaryPrefixComparatorOrBuilder { // Use BinaryPrefixComparator.newBuilder() to construct. private BinaryPrefixComparator(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2282,7 +2284,6 @@ public final class ComparatorProtos { } private int bitField0_; - // required .hbase.pb.ByteArrayComparable comparable = 1; public static final int COMPARABLE_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable comparable_; /** @@ -2310,7 +2311,8 @@ public final class ComparatorProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasComparable()) { memoizedIsInitialized = 0; @@ -2372,7 +2374,6 @@ public final class ComparatorProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2459,8 +2460,9 @@ public final class ComparatorProtos { * Protobuf type {@code hbase.pb.BinaryPrefixComparator} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.BinaryPrefixComparatorOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.BinaryPrefixComparator) + org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.BinaryPrefixComparatorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.internal_static_hbase_pb_BinaryPrefixComparator_descriptor; @@ -2586,7 +2588,6 @@ public final class ComparatorProtos { } private int bitField0_; - // required .hbase.pb.ByteArrayComparable comparable = 1; private org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable comparable_ = org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable.Builder, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparableOrBuilder> comparableBuilder_; @@ -2695,7 +2696,7 @@ public final class ComparatorProtos { if (comparableBuilder_ == null) { comparableBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable.Builder, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparableOrBuilder>( - comparable_, + getComparable(), getParentForChildren(), isClean()); comparable_ = null; @@ -2714,10 +2715,10 @@ public final class ComparatorProtos { // @@protoc_insertion_point(class_scope:hbase.pb.BinaryPrefixComparator) } - public interface BitComparatorOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface BitComparatorOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.BitComparator) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.ByteArrayComparable comparable = 1; /** * required .hbase.pb.ByteArrayComparable comparable = 1; */ @@ -2731,7 +2732,6 @@ public final class ComparatorProtos { */ org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparableOrBuilder getComparableOrBuilder(); - // required .hbase.pb.BitComparator.BitwiseOp bitwise_op = 2; /** * required .hbase.pb.BitComparator.BitwiseOp bitwise_op = 2; */ @@ -2745,8 +2745,9 @@ public final class ComparatorProtos { * Protobuf type {@code hbase.pb.BitComparator} */ public static final class BitComparator extends - com.google.protobuf.GeneratedMessage - implements BitComparatorOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.BitComparator) + BitComparatorOrBuilder { // Use BitComparator.newBuilder() to construct. private BitComparator(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2947,7 +2948,6 @@ public final class ComparatorProtos { } private int bitField0_; - // required .hbase.pb.ByteArrayComparable comparable = 1; public static final int COMPARABLE_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable comparable_; /** @@ -2969,7 +2969,6 @@ public final class ComparatorProtos { return comparable_; } - // required .hbase.pb.BitComparator.BitwiseOp bitwise_op = 2; public static final int BITWISE_OP_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.BitComparator.BitwiseOp bitwiseOp_; /** @@ -2992,7 +2991,8 @@ public final class ComparatorProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasComparable()) { memoizedIsInitialized = 0; @@ -3070,7 +3070,6 @@ public final class ComparatorProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -3084,7 +3083,8 @@ public final class ComparatorProtos { } if (hasBitwiseOp()) { hash = (37 * hash) + BITWISE_OP_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getBitwiseOp()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getBitwiseOp()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -3161,8 +3161,9 @@ public final class ComparatorProtos { * Protobuf type {@code hbase.pb.BitComparator} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.BitComparatorOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.BitComparator) + org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.BitComparatorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.internal_static_hbase_pb_BitComparator_descriptor; @@ -3301,7 +3302,6 @@ public final class ComparatorProtos { } private int bitField0_; - // required .hbase.pb.ByteArrayComparable comparable = 1; private org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable comparable_ = org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable.Builder, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparableOrBuilder> comparableBuilder_; @@ -3410,7 +3410,7 @@ public final class ComparatorProtos { if (comparableBuilder_ == null) { comparableBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparable.Builder, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ByteArrayComparableOrBuilder>( - comparable_, + getComparable(), getParentForChildren(), isClean()); comparable_ = null; @@ -3418,7 +3418,6 @@ public final class ComparatorProtos { return comparableBuilder_; } - // required .hbase.pb.BitComparator.BitwiseOp bitwise_op = 2; private org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.BitComparator.BitwiseOp bitwiseOp_ = org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.BitComparator.BitwiseOp.AND; /** * required .hbase.pb.BitComparator.BitwiseOp bitwise_op = 2; @@ -3465,15 +3464,17 @@ public final class ComparatorProtos { // @@protoc_insertion_point(class_scope:hbase.pb.BitComparator) } - public interface NullComparatorOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface NullComparatorOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.NullComparator) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.NullComparator} */ public static final class NullComparator extends - com.google.protobuf.GeneratedMessage - implements NullComparatorOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.NullComparator) + NullComparatorOrBuilder { // Use NullComparator.newBuilder() to construct. private NullComparator(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -3562,7 +3563,8 @@ public final class ComparatorProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -3608,7 +3610,6 @@ public final class ComparatorProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -3691,8 +3692,9 @@ public final class ComparatorProtos { * Protobuf type {@code hbase.pb.NullComparator} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.NullComparatorOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.NullComparator) + org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.NullComparatorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.internal_static_hbase_pb_NullComparator_descriptor; @@ -3803,10 +3805,10 @@ public final class ComparatorProtos { // @@protoc_insertion_point(class_scope:hbase.pb.NullComparator) } - public interface RegexStringComparatorOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RegexStringComparatorOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.RegexStringComparator) + com.google.protobuf.MessageOrBuilder { - // required string pattern = 1; /** * required string pattern = 1; */ @@ -3821,7 +3823,6 @@ public final class ComparatorProtos { com.google.protobuf.ByteString getPatternBytes(); - // required int32 pattern_flags = 2; /** * required int32 pattern_flags = 2; */ @@ -3831,7 +3832,6 @@ public final class ComparatorProtos { */ int getPatternFlags(); - // required string charset = 3; /** * required string charset = 3; */ @@ -3846,7 +3846,6 @@ public final class ComparatorProtos { com.google.protobuf.ByteString getCharsetBytes(); - // optional string engine = 4; /** * optional string engine = 4; */ @@ -3865,8 +3864,9 @@ public final class ComparatorProtos { * Protobuf type {@code hbase.pb.RegexStringComparator} */ public static final class RegexStringComparator extends - com.google.protobuf.GeneratedMessage - implements RegexStringComparatorOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.RegexStringComparator) + RegexStringComparatorOrBuilder { // Use RegexStringComparator.newBuilder() to construct. private RegexStringComparator(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -3913,8 +3913,9 @@ public final class ComparatorProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - pattern_ = input.readBytes(); + pattern_ = bs; break; } case 16: { @@ -3923,13 +3924,15 @@ public final class ComparatorProtos { break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; - charset_ = input.readBytes(); + charset_ = bs; break; } case 34: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; - engine_ = input.readBytes(); + engine_ = bs; break; } } @@ -3972,7 +3975,6 @@ public final class ComparatorProtos { } private int bitField0_; - // required string pattern = 1; public static final int PATTERN_FIELD_NUMBER = 1; private java.lang.Object pattern_; /** @@ -4015,7 +4017,6 @@ public final class ComparatorProtos { } } - // required int32 pattern_flags = 2; public static final int PATTERN_FLAGS_FIELD_NUMBER = 2; private int patternFlags_; /** @@ -4031,7 +4032,6 @@ public final class ComparatorProtos { return patternFlags_; } - // required string charset = 3; public static final int CHARSET_FIELD_NUMBER = 3; private java.lang.Object charset_; /** @@ -4074,7 +4074,6 @@ public final class ComparatorProtos { } } - // optional string engine = 4; public static final int ENGINE_FIELD_NUMBER = 4; private java.lang.Object engine_; /** @@ -4126,7 +4125,8 @@ public final class ComparatorProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasPattern()) { memoizedIsInitialized = 0; @@ -4232,7 +4232,6 @@ public final class ComparatorProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -4331,8 +4330,9 @@ public final class ComparatorProtos { * Protobuf type {@code hbase.pb.RegexStringComparator} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.RegexStringComparatorOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.RegexStringComparator) + org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.RegexStringComparatorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.internal_static_hbase_pb_RegexStringComparator_descriptor; @@ -4490,7 +4490,6 @@ public final class ComparatorProtos { } private int bitField0_; - // required string pattern = 1; private java.lang.Object pattern_ = ""; /** * required string pattern = 1; @@ -4504,9 +4503,12 @@ public final class ComparatorProtos { public java.lang.String getPattern() { java.lang.Object ref = pattern_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - pattern_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + pattern_ = s; + } return s; } else { return (java.lang.String) ref; @@ -4564,7 +4566,6 @@ public final class ComparatorProtos { return this; } - // required int32 pattern_flags = 2; private int patternFlags_ ; /** * required int32 pattern_flags = 2; @@ -4597,7 +4598,6 @@ public final class ComparatorProtos { return this; } - // required string charset = 3; private java.lang.Object charset_ = ""; /** * required string charset = 3; @@ -4611,9 +4611,12 @@ public final class ComparatorProtos { public java.lang.String getCharset() { java.lang.Object ref = charset_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - charset_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + charset_ = s; + } return s; } else { return (java.lang.String) ref; @@ -4671,7 +4674,6 @@ public final class ComparatorProtos { return this; } - // optional string engine = 4; private java.lang.Object engine_ = ""; /** * optional string engine = 4; @@ -4685,9 +4687,12 @@ public final class ComparatorProtos { public java.lang.String getEngine() { java.lang.Object ref = engine_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - engine_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + engine_ = s; + } return s; } else { return (java.lang.String) ref; @@ -4756,10 +4761,10 @@ public final class ComparatorProtos { // @@protoc_insertion_point(class_scope:hbase.pb.RegexStringComparator) } - public interface SubstringComparatorOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface SubstringComparatorOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.SubstringComparator) + com.google.protobuf.MessageOrBuilder { - // required string substr = 1; /** * required string substr = 1; */ @@ -4778,8 +4783,9 @@ public final class ComparatorProtos { * Protobuf type {@code hbase.pb.SubstringComparator} */ public static final class SubstringComparator extends - com.google.protobuf.GeneratedMessage - implements SubstringComparatorOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.SubstringComparator) + SubstringComparatorOrBuilder { // Use SubstringComparator.newBuilder() to construct. private SubstringComparator(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -4826,8 +4832,9 @@ public final class ComparatorProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - substr_ = input.readBytes(); + substr_ = bs; break; } } @@ -4870,7 +4877,6 @@ public final class ComparatorProtos { } private int bitField0_; - // required string substr = 1; public static final int SUBSTR_FIELD_NUMBER = 1; private java.lang.Object substr_; /** @@ -4919,7 +4925,8 @@ public final class ComparatorProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasSubstr()) { memoizedIsInitialized = 0; @@ -4981,7 +4988,6 @@ public final class ComparatorProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -5068,8 +5074,9 @@ public final class ComparatorProtos { * Protobuf type {@code hbase.pb.SubstringComparator} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.SubstringComparatorOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.SubstringComparator) + org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.SubstringComparatorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.internal_static_hbase_pb_SubstringComparator_descriptor; @@ -5188,7 +5195,6 @@ public final class ComparatorProtos { } private int bitField0_; - // required string substr = 1; private java.lang.Object substr_ = ""; /** * required string substr = 1; @@ -5202,9 +5208,12 @@ public final class ComparatorProtos { public java.lang.String getSubstr() { java.lang.Object ref = substr_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - substr_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + substr_ = s; + } return s; } else { return (java.lang.String) ref; @@ -5273,47 +5282,47 @@ public final class ComparatorProtos { // @@protoc_insertion_point(class_scope:hbase.pb.SubstringComparator) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Comparator_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Comparator_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ByteArrayComparable_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ByteArrayComparable_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_BinaryComparator_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_BinaryComparator_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_LongComparator_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_LongComparator_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_BinaryPrefixComparator_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_BinaryPrefixComparator_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_BitComparator_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_BitComparator_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_NullComparator_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_NullComparator_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RegexStringComparator_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_RegexStringComparator_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_SubstringComparator_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -5348,71 +5357,71 @@ public final class ComparatorProtos { "otosH\001\210\001\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_Comparator_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_Comparator_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_Comparator_descriptor, - new java.lang.String[] { "Name", "SerializedComparator", }); - internal_static_hbase_pb_ByteArrayComparable_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_hbase_pb_ByteArrayComparable_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ByteArrayComparable_descriptor, - new java.lang.String[] { "Value", }); - internal_static_hbase_pb_BinaryComparator_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_hbase_pb_BinaryComparator_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_BinaryComparator_descriptor, - new java.lang.String[] { "Comparable", }); - internal_static_hbase_pb_LongComparator_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_hbase_pb_LongComparator_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_LongComparator_descriptor, - new java.lang.String[] { "Comparable", }); - internal_static_hbase_pb_BinaryPrefixComparator_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_hbase_pb_BinaryPrefixComparator_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_BinaryPrefixComparator_descriptor, - new java.lang.String[] { "Comparable", }); - internal_static_hbase_pb_BitComparator_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_hbase_pb_BitComparator_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_BitComparator_descriptor, - new java.lang.String[] { "Comparable", "BitwiseOp", }); - internal_static_hbase_pb_NullComparator_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_hbase_pb_NullComparator_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_NullComparator_descriptor, - new java.lang.String[] { }); - internal_static_hbase_pb_RegexStringComparator_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_hbase_pb_RegexStringComparator_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_RegexStringComparator_descriptor, - new java.lang.String[] { "Pattern", "PatternFlags", "Charset", "Engine", }); - internal_static_hbase_pb_SubstringComparator_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_hbase_pb_SubstringComparator_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_SubstringComparator_descriptor, - new java.lang.String[] { "Substr", }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); + internal_static_hbase_pb_Comparator_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_Comparator_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_Comparator_descriptor, + new java.lang.String[] { "Name", "SerializedComparator", }); + internal_static_hbase_pb_ByteArrayComparable_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_hbase_pb_ByteArrayComparable_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ByteArrayComparable_descriptor, + new java.lang.String[] { "Value", }); + internal_static_hbase_pb_BinaryComparator_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_hbase_pb_BinaryComparator_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_BinaryComparator_descriptor, + new java.lang.String[] { "Comparable", }); + internal_static_hbase_pb_LongComparator_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_hbase_pb_LongComparator_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_LongComparator_descriptor, + new java.lang.String[] { "Comparable", }); + internal_static_hbase_pb_BinaryPrefixComparator_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_hbase_pb_BinaryPrefixComparator_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_BinaryPrefixComparator_descriptor, + new java.lang.String[] { "Comparable", }); + internal_static_hbase_pb_BitComparator_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_hbase_pb_BitComparator_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_BitComparator_descriptor, + new java.lang.String[] { "Comparable", "BitwiseOp", }); + internal_static_hbase_pb_NullComparator_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_hbase_pb_NullComparator_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_NullComparator_descriptor, + new java.lang.String[] { }); + internal_static_hbase_pb_RegexStringComparator_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_hbase_pb_RegexStringComparator_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_RegexStringComparator_descriptor, + new java.lang.String[] { "Pattern", "PatternFlags", "Charset", "Engine", }); + internal_static_hbase_pb_SubstringComparator_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_hbase_pb_SubstringComparator_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_SubstringComparator_descriptor, + new java.lang.String[] { "Substr", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/EncryptionProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/EncryptionProtos.java index ce8f693..4d57b58 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/EncryptionProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/EncryptionProtos.java @@ -8,10 +8,10 @@ public final class EncryptionProtos { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } - public interface WrappedKeyOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface WrappedKeyOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.WrappedKey) + com.google.protobuf.MessageOrBuilder { - // required string algorithm = 1; /** * required string algorithm = 1; */ @@ -26,7 +26,6 @@ public final class EncryptionProtos { com.google.protobuf.ByteString getAlgorithmBytes(); - // required uint32 length = 2; /** * required uint32 length = 2; */ @@ -36,7 +35,6 @@ public final class EncryptionProtos { */ int getLength(); - // required bytes data = 3; /** * required bytes data = 3; */ @@ -46,7 +44,6 @@ public final class EncryptionProtos { */ com.google.protobuf.ByteString getData(); - // optional bytes iv = 4; /** * optional bytes iv = 4; */ @@ -56,7 +53,6 @@ public final class EncryptionProtos { */ com.google.protobuf.ByteString getIv(); - // optional bytes hash = 5; /** * optional bytes hash = 5; */ @@ -70,8 +66,9 @@ public final class EncryptionProtos { * Protobuf type {@code hbase.pb.WrappedKey} */ public static final class WrappedKey extends - com.google.protobuf.GeneratedMessage - implements WrappedKeyOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.WrappedKey) + WrappedKeyOrBuilder { // Use WrappedKey.newBuilder() to construct. private WrappedKey(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -118,8 +115,9 @@ public final class EncryptionProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - algorithm_ = input.readBytes(); + algorithm_ = bs; break; } case 16: { @@ -182,7 +180,6 @@ public final class EncryptionProtos { } private int bitField0_; - // required string algorithm = 1; public static final int ALGORITHM_FIELD_NUMBER = 1; private java.lang.Object algorithm_; /** @@ -225,7 +222,6 @@ public final class EncryptionProtos { } } - // required uint32 length = 2; public static final int LENGTH_FIELD_NUMBER = 2; private int length_; /** @@ -241,7 +237,6 @@ public final class EncryptionProtos { return length_; } - // required bytes data = 3; public static final int DATA_FIELD_NUMBER = 3; private com.google.protobuf.ByteString data_; /** @@ -257,7 +252,6 @@ public final class EncryptionProtos { return data_; } - // optional bytes iv = 4; public static final int IV_FIELD_NUMBER = 4; private com.google.protobuf.ByteString iv_; /** @@ -273,7 +267,6 @@ public final class EncryptionProtos { return iv_; } - // optional bytes hash = 5; public static final int HASH_FIELD_NUMBER = 5; private com.google.protobuf.ByteString hash_; /** @@ -299,7 +292,8 @@ public final class EncryptionProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasAlgorithm()) { memoizedIsInitialized = 0; @@ -417,7 +411,6 @@ public final class EncryptionProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -520,8 +513,9 @@ public final class EncryptionProtos { * Protobuf type {@code hbase.pb.WrappedKey} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.EncryptionProtos.WrappedKeyOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.WrappedKey) + org.apache.hadoop.hbase.protobuf.generated.EncryptionProtos.WrappedKeyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.EncryptionProtos.internal_static_hbase_pb_WrappedKey_descriptor; @@ -684,7 +678,6 @@ public final class EncryptionProtos { } private int bitField0_; - // required string algorithm = 1; private java.lang.Object algorithm_ = ""; /** * required string algorithm = 1; @@ -698,9 +691,12 @@ public final class EncryptionProtos { public java.lang.String getAlgorithm() { java.lang.Object ref = algorithm_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - algorithm_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + algorithm_ = s; + } return s; } else { return (java.lang.String) ref; @@ -758,7 +754,6 @@ public final class EncryptionProtos { return this; } - // required uint32 length = 2; private int length_ ; /** * required uint32 length = 2; @@ -791,7 +786,6 @@ public final class EncryptionProtos { return this; } - // required bytes data = 3; private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes data = 3; @@ -827,7 +821,6 @@ public final class EncryptionProtos { return this; } - // optional bytes iv = 4; private com.google.protobuf.ByteString iv_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes iv = 4; @@ -863,7 +856,6 @@ public final class EncryptionProtos { return this; } - // optional bytes hash = 5; private com.google.protobuf.ByteString hash_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes hash = 5; @@ -910,7 +902,7 @@ public final class EncryptionProtos { // @@protoc_insertion_point(class_scope:hbase.pb.WrappedKey) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_WrappedKey_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -931,23 +923,23 @@ public final class EncryptionProtos { "tedB\020EncryptionProtosH\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_WrappedKey_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_WrappedKey_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_WrappedKey_descriptor, - new java.lang.String[] { "Algorithm", "Length", "Data", "Iv", "Hash", }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); + internal_static_hbase_pb_WrappedKey_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_WrappedKey_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_WrappedKey_descriptor, + new java.lang.String[] { "Algorithm", "Length", "Data", "Iv", "Hash", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ErrorHandlingProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ErrorHandlingProtos.java index 25f3dc3..3ea1b5c 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ErrorHandlingProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ErrorHandlingProtos.java @@ -8,10 +8,10 @@ public final class ErrorHandlingProtos { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } - public interface StackTraceElementMessageOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface StackTraceElementMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.StackTraceElementMessage) + com.google.protobuf.MessageOrBuilder { - // optional string declaring_class = 1; /** * optional string declaring_class = 1; */ @@ -26,7 +26,6 @@ public final class ErrorHandlingProtos { com.google.protobuf.ByteString getDeclaringClassBytes(); - // optional string method_name = 2; /** * optional string method_name = 2; */ @@ -41,7 +40,6 @@ public final class ErrorHandlingProtos { com.google.protobuf.ByteString getMethodNameBytes(); - // optional string file_name = 3; /** * optional string file_name = 3; */ @@ -56,7 +54,6 @@ public final class ErrorHandlingProtos { com.google.protobuf.ByteString getFileNameBytes(); - // optional int32 line_number = 4; /** * optional int32 line_number = 4; */ @@ -76,8 +73,9 @@ public final class ErrorHandlingProtos { * */ public static final class StackTraceElementMessage extends - com.google.protobuf.GeneratedMessage - implements StackTraceElementMessageOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.StackTraceElementMessage) + StackTraceElementMessageOrBuilder { // Use StackTraceElementMessage.newBuilder() to construct. private StackTraceElementMessage(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -124,18 +122,21 @@ public final class ErrorHandlingProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - declaringClass_ = input.readBytes(); + declaringClass_ = bs; break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - methodName_ = input.readBytes(); + methodName_ = bs; break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; - fileName_ = input.readBytes(); + fileName_ = bs; break; } case 32: { @@ -183,7 +184,6 @@ public final class ErrorHandlingProtos { } private int bitField0_; - // optional string declaring_class = 1; public static final int DECLARING_CLASS_FIELD_NUMBER = 1; private java.lang.Object declaringClass_; /** @@ -226,7 +226,6 @@ public final class ErrorHandlingProtos { } } - // optional string method_name = 2; public static final int METHOD_NAME_FIELD_NUMBER = 2; private java.lang.Object methodName_; /** @@ -269,7 +268,6 @@ public final class ErrorHandlingProtos { } } - // optional string file_name = 3; public static final int FILE_NAME_FIELD_NUMBER = 3; private java.lang.Object fileName_; /** @@ -312,7 +310,6 @@ public final class ErrorHandlingProtos { } } - // optional int32 line_number = 4; public static final int LINE_NUMBER_FIELD_NUMBER = 4; private int lineNumber_; /** @@ -337,7 +334,8 @@ public final class ErrorHandlingProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -431,7 +429,6 @@ public final class ErrorHandlingProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -536,8 +533,9 @@ public final class ErrorHandlingProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.StackTraceElementMessage) + org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.StackTraceElementMessageOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_hbase_pb_StackTraceElementMessage_descriptor; @@ -683,7 +681,6 @@ public final class ErrorHandlingProtos { } private int bitField0_; - // optional string declaring_class = 1; private java.lang.Object declaringClass_ = ""; /** * optional string declaring_class = 1; @@ -697,9 +694,12 @@ public final class ErrorHandlingProtos { public java.lang.String getDeclaringClass() { java.lang.Object ref = declaringClass_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - declaringClass_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + declaringClass_ = s; + } return s; } else { return (java.lang.String) ref; @@ -757,7 +757,6 @@ public final class ErrorHandlingProtos { return this; } - // optional string method_name = 2; private java.lang.Object methodName_ = ""; /** * optional string method_name = 2; @@ -771,9 +770,12 @@ public final class ErrorHandlingProtos { public java.lang.String getMethodName() { java.lang.Object ref = methodName_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - methodName_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + methodName_ = s; + } return s; } else { return (java.lang.String) ref; @@ -831,7 +833,6 @@ public final class ErrorHandlingProtos { return this; } - // optional string file_name = 3; private java.lang.Object fileName_ = ""; /** * optional string file_name = 3; @@ -845,9 +846,12 @@ public final class ErrorHandlingProtos { public java.lang.String getFileName() { java.lang.Object ref = fileName_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - fileName_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + fileName_ = s; + } return s; } else { return (java.lang.String) ref; @@ -905,7 +909,6 @@ public final class ErrorHandlingProtos { return this; } - // optional int32 line_number = 4; private int lineNumber_ ; /** * optional int32 line_number = 4; @@ -949,10 +952,10 @@ public final class ErrorHandlingProtos { // @@protoc_insertion_point(class_scope:hbase.pb.StackTraceElementMessage) } - public interface GenericExceptionMessageOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface GenericExceptionMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.GenericExceptionMessage) + com.google.protobuf.MessageOrBuilder { - // optional string class_name = 1; /** * optional string class_name = 1; */ @@ -967,7 +970,6 @@ public final class ErrorHandlingProtos { com.google.protobuf.ByteString getClassNameBytes(); - // optional string message = 2; /** * optional string message = 2; */ @@ -982,7 +984,6 @@ public final class ErrorHandlingProtos { com.google.protobuf.ByteString getMessageBytes(); - // optional bytes error_info = 3; /** * optional bytes error_info = 3; */ @@ -992,7 +993,6 @@ public final class ErrorHandlingProtos { */ com.google.protobuf.ByteString getErrorInfo(); - // repeated .hbase.pb.StackTraceElementMessage trace = 4; /** * repeated .hbase.pb.StackTraceElementMessage trace = 4; */ @@ -1029,8 +1029,9 @@ public final class ErrorHandlingProtos { * */ public static final class GenericExceptionMessage extends - com.google.protobuf.GeneratedMessage - implements GenericExceptionMessageOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.GenericExceptionMessage) + GenericExceptionMessageOrBuilder { // Use GenericExceptionMessage.newBuilder() to construct. private GenericExceptionMessage(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1077,13 +1078,15 @@ public final class ErrorHandlingProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - className_ = input.readBytes(); + className_ = bs; break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - message_ = input.readBytes(); + message_ = bs; break; } case 26: { @@ -1142,7 +1145,6 @@ public final class ErrorHandlingProtos { } private int bitField0_; - // optional string class_name = 1; public static final int CLASS_NAME_FIELD_NUMBER = 1; private java.lang.Object className_; /** @@ -1185,7 +1187,6 @@ public final class ErrorHandlingProtos { } } - // optional string message = 2; public static final int MESSAGE_FIELD_NUMBER = 2; private java.lang.Object message_; /** @@ -1228,7 +1229,6 @@ public final class ErrorHandlingProtos { } } - // optional bytes error_info = 3; public static final int ERROR_INFO_FIELD_NUMBER = 3; private com.google.protobuf.ByteString errorInfo_; /** @@ -1244,7 +1244,6 @@ public final class ErrorHandlingProtos { return errorInfo_; } - // repeated .hbase.pb.StackTraceElementMessage trace = 4; public static final int TRACE_FIELD_NUMBER = 4; private java.util.List trace_; /** @@ -1289,7 +1288,8 @@ public final class ErrorHandlingProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -1380,7 +1380,6 @@ public final class ErrorHandlingProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1487,8 +1486,9 @@ public final class ErrorHandlingProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessageOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.GenericExceptionMessage) + org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessageOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_hbase_pb_GenericExceptionMessage_descriptor; @@ -1665,7 +1665,6 @@ public final class ErrorHandlingProtos { } private int bitField0_; - // optional string class_name = 1; private java.lang.Object className_ = ""; /** * optional string class_name = 1; @@ -1679,9 +1678,12 @@ public final class ErrorHandlingProtos { public java.lang.String getClassName() { java.lang.Object ref = className_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - className_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + className_ = s; + } return s; } else { return (java.lang.String) ref; @@ -1739,7 +1741,6 @@ public final class ErrorHandlingProtos { return this; } - // optional string message = 2; private java.lang.Object message_ = ""; /** * optional string message = 2; @@ -1753,9 +1754,12 @@ public final class ErrorHandlingProtos { public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - message_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + message_ = s; + } return s; } else { return (java.lang.String) ref; @@ -1813,7 +1817,6 @@ public final class ErrorHandlingProtos { return this; } - // optional bytes error_info = 3; private com.google.protobuf.ByteString errorInfo_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes error_info = 3; @@ -1849,7 +1852,6 @@ public final class ErrorHandlingProtos { return this; } - // repeated .hbase.pb.StackTraceElementMessage trace = 4; private java.util.List trace_ = java.util.Collections.emptyList(); private void ensureTraceIsMutable() { @@ -1991,7 +1993,8 @@ public final class ErrorHandlingProtos { java.lang.Iterable values) { if (traceBuilder_ == null) { ensureTraceIsMutable(); - super.addAll(values, trace_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, trace_); onChanged(); } else { traceBuilder_.addAllMessages(values); @@ -2100,10 +2103,10 @@ public final class ErrorHandlingProtos { // @@protoc_insertion_point(class_scope:hbase.pb.GenericExceptionMessage) } - public interface ForeignExceptionMessageOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ForeignExceptionMessageOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ForeignExceptionMessage) + com.google.protobuf.MessageOrBuilder { - // optional string source = 1; /** * optional string source = 1; */ @@ -2118,7 +2121,6 @@ public final class ErrorHandlingProtos { com.google.protobuf.ByteString getSourceBytes(); - // optional .hbase.pb.GenericExceptionMessage generic_exception = 2; /** * optional .hbase.pb.GenericExceptionMessage generic_exception = 2; */ @@ -2142,8 +2144,9 @@ public final class ErrorHandlingProtos { * */ public static final class ForeignExceptionMessage extends - com.google.protobuf.GeneratedMessage - implements ForeignExceptionMessageOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ForeignExceptionMessage) + ForeignExceptionMessageOrBuilder { // Use ForeignExceptionMessage.newBuilder() to construct. private ForeignExceptionMessage(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2190,8 +2193,9 @@ public final class ErrorHandlingProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - source_ = input.readBytes(); + source_ = bs; break; } case 18: { @@ -2247,7 +2251,6 @@ public final class ErrorHandlingProtos { } private int bitField0_; - // optional string source = 1; public static final int SOURCE_FIELD_NUMBER = 1; private java.lang.Object source_; /** @@ -2290,7 +2293,6 @@ public final class ErrorHandlingProtos { } } - // optional .hbase.pb.GenericExceptionMessage generic_exception = 2; public static final int GENERIC_EXCEPTION_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage genericException_; /** @@ -2319,7 +2321,8 @@ public final class ErrorHandlingProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -2389,7 +2392,6 @@ public final class ErrorHandlingProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2486,8 +2488,9 @@ public final class ErrorHandlingProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessageOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ForeignExceptionMessage) + org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessageOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.internal_static_hbase_pb_ForeignExceptionMessage_descriptor; @@ -2620,7 +2623,6 @@ public final class ErrorHandlingProtos { } private int bitField0_; - // optional string source = 1; private java.lang.Object source_ = ""; /** * optional string source = 1; @@ -2634,9 +2636,12 @@ public final class ErrorHandlingProtos { public java.lang.String getSource() { java.lang.Object ref = source_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - source_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + source_ = s; + } return s; } else { return (java.lang.String) ref; @@ -2694,7 +2699,6 @@ public final class ErrorHandlingProtos { return this; } - // optional .hbase.pb.GenericExceptionMessage generic_exception = 2; private org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage genericException_ = org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.Builder, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessageOrBuilder> genericExceptionBuilder_; @@ -2803,7 +2807,7 @@ public final class ErrorHandlingProtos { if (genericExceptionBuilder_ == null) { genericExceptionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessage.Builder, org.apache.hadoop.hbase.protobuf.generated.ErrorHandlingProtos.GenericExceptionMessageOrBuilder>( - genericException_, + getGenericException(), getParentForChildren(), isClean()); genericException_ = null; @@ -2822,17 +2826,17 @@ public final class ErrorHandlingProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ForeignExceptionMessage) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_StackTraceElementMessage_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_StackTraceElementMessage_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GenericExceptionMessage_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_GenericExceptionMessage_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ForeignExceptionMessage_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -2860,35 +2864,35 @@ public final class ErrorHandlingProtos { "andlingProtosH\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_StackTraceElementMessage_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_StackTraceElementMessage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_StackTraceElementMessage_descriptor, - new java.lang.String[] { "DeclaringClass", "MethodName", "FileName", "LineNumber", }); - internal_static_hbase_pb_GenericExceptionMessage_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_hbase_pb_GenericExceptionMessage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_GenericExceptionMessage_descriptor, - new java.lang.String[] { "ClassName", "Message", "ErrorInfo", "Trace", }); - internal_static_hbase_pb_ForeignExceptionMessage_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_hbase_pb_ForeignExceptionMessage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ForeignExceptionMessage_descriptor, - new java.lang.String[] { "Source", "GenericException", }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); + internal_static_hbase_pb_StackTraceElementMessage_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_StackTraceElementMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_StackTraceElementMessage_descriptor, + new java.lang.String[] { "DeclaringClass", "MethodName", "FileName", "LineNumber", }); + internal_static_hbase_pb_GenericExceptionMessage_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_hbase_pb_GenericExceptionMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_GenericExceptionMessage_descriptor, + new java.lang.String[] { "ClassName", "Message", "ErrorInfo", "Trace", }); + internal_static_hbase_pb_ForeignExceptionMessage_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_hbase_pb_ForeignExceptionMessage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ForeignExceptionMessage_descriptor, + new java.lang.String[] { "Source", "GenericException", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/FSProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/FSProtos.java index b770f94..80247ca 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/FSProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/FSProtos.java @@ -8,10 +8,10 @@ public final class FSProtos { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } - public interface HBaseVersionFileContentOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface HBaseVersionFileContentOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.HBaseVersionFileContent) + com.google.protobuf.MessageOrBuilder { - // required string version = 1; /** * required string version = 1; */ @@ -35,8 +35,9 @@ public final class FSProtos { * */ public static final class HBaseVersionFileContent extends - com.google.protobuf.GeneratedMessage - implements HBaseVersionFileContentOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.HBaseVersionFileContent) + HBaseVersionFileContentOrBuilder { // Use HBaseVersionFileContent.newBuilder() to construct. private HBaseVersionFileContent(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -83,8 +84,9 @@ public final class FSProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - version_ = input.readBytes(); + version_ = bs; break; } } @@ -127,7 +129,6 @@ public final class FSProtos { } private int bitField0_; - // required string version = 1; public static final int VERSION_FIELD_NUMBER = 1; private java.lang.Object version_; /** @@ -176,7 +177,8 @@ public final class FSProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasVersion()) { memoizedIsInitialized = 0; @@ -238,7 +240,6 @@ public final class FSProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -330,8 +331,9 @@ public final class FSProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContentOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.HBaseVersionFileContent) + org.apache.hadoop.hbase.protobuf.generated.FSProtos.HBaseVersionFileContentOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FSProtos.internal_static_hbase_pb_HBaseVersionFileContent_descriptor; @@ -450,7 +452,6 @@ public final class FSProtos { } private int bitField0_; - // required string version = 1; private java.lang.Object version_ = ""; /** * required string version = 1; @@ -464,9 +465,12 @@ public final class FSProtos { public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - version_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + version_ = s; + } return s; } else { return (java.lang.String) ref; @@ -535,10 +539,10 @@ public final class FSProtos { // @@protoc_insertion_point(class_scope:hbase.pb.HBaseVersionFileContent) } - public interface ReferenceOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ReferenceOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.Reference) + com.google.protobuf.MessageOrBuilder { - // required bytes splitkey = 1; /** * required bytes splitkey = 1; */ @@ -548,7 +552,6 @@ public final class FSProtos { */ com.google.protobuf.ByteString getSplitkey(); - // required .hbase.pb.Reference.Range range = 2; /** * required .hbase.pb.Reference.Range range = 2; */ @@ -567,8 +570,9 @@ public final class FSProtos { * */ public static final class Reference extends - com.google.protobuf.GeneratedMessage - implements ReferenceOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.Reference) + ReferenceOrBuilder { // Use Reference.newBuilder() to construct. private Reference(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -752,7 +756,6 @@ public final class FSProtos { } private int bitField0_; - // required bytes splitkey = 1; public static final int SPLITKEY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString splitkey_; /** @@ -768,7 +771,6 @@ public final class FSProtos { return splitkey_; } - // required .hbase.pb.Reference.Range range = 2; public static final int RANGE_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.FSProtos.Reference.Range range_; /** @@ -791,7 +793,8 @@ public final class FSProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasSplitkey()) { memoizedIsInitialized = 0; @@ -869,7 +872,6 @@ public final class FSProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -883,7 +885,8 @@ public final class FSProtos { } if (hasRange()) { hash = (37 * hash) + RANGE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getRange()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getRange()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -965,8 +968,9 @@ public final class FSProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FSProtos.ReferenceOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.Reference) + org.apache.hadoop.hbase.protobuf.generated.FSProtos.ReferenceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FSProtos.internal_static_hbase_pb_Reference_descriptor; @@ -1096,7 +1100,6 @@ public final class FSProtos { } private int bitField0_; - // required bytes splitkey = 1; private com.google.protobuf.ByteString splitkey_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes splitkey = 1; @@ -1132,7 +1135,6 @@ public final class FSProtos { return this; } - // required .hbase.pb.Reference.Range range = 2; private org.apache.hadoop.hbase.protobuf.generated.FSProtos.Reference.Range range_ = org.apache.hadoop.hbase.protobuf.generated.FSProtos.Reference.Range.TOP; /** * required .hbase.pb.Reference.Range range = 2; @@ -1179,12 +1181,12 @@ public final class FSProtos { // @@protoc_insertion_point(class_scope:hbase.pb.Reference) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_HBaseVersionFileContent_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_HBaseVersionFileContent_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Reference_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -1206,29 +1208,29 @@ public final class FSProtos { "buf.generatedB\010FSProtosH\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_HBaseVersionFileContent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_HBaseVersionFileContent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_HBaseVersionFileContent_descriptor, - new java.lang.String[] { "Version", }); - internal_static_hbase_pb_Reference_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_hbase_pb_Reference_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_Reference_descriptor, - new java.lang.String[] { "Splitkey", "Range", }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); + internal_static_hbase_pb_HBaseVersionFileContent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_HBaseVersionFileContent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_HBaseVersionFileContent_descriptor, + new java.lang.String[] { "Version", }); + internal_static_hbase_pb_Reference_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_hbase_pb_Reference_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_Reference_descriptor, + new java.lang.String[] { "Splitkey", "Range", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/FilterProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/FilterProtos.java index 5b995a4..de2e131 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/FilterProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/FilterProtos.java @@ -8,10 +8,10 @@ public final class FilterProtos { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } - public interface FilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface FilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.Filter) + com.google.protobuf.MessageOrBuilder { - // required string name = 1; /** * required string name = 1; */ @@ -26,7 +26,6 @@ public final class FilterProtos { com.google.protobuf.ByteString getNameBytes(); - // optional bytes serialized_filter = 2; /** * optional bytes serialized_filter = 2; */ @@ -40,8 +39,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.Filter} */ public static final class Filter extends - com.google.protobuf.GeneratedMessage - implements FilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.Filter) + FilterOrBuilder { // Use Filter.newBuilder() to construct. private Filter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -88,8 +88,9 @@ public final class FilterProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - name_ = input.readBytes(); + name_ = bs; break; } case 18: { @@ -137,7 +138,6 @@ public final class FilterProtos { } private int bitField0_; - // required string name = 1; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; /** @@ -180,7 +180,6 @@ public final class FilterProtos { } } - // optional bytes serialized_filter = 2; public static final int SERIALIZED_FILTER_FIELD_NUMBER = 2; private com.google.protobuf.ByteString serializedFilter_; /** @@ -203,7 +202,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasName()) { memoizedIsInitialized = 0; @@ -277,7 +277,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -368,8 +367,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.Filter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.Filter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_Filter_descriptor; @@ -497,7 +497,6 @@ public final class FilterProtos { } private int bitField0_; - // required string name = 1; private java.lang.Object name_ = ""; /** * required string name = 1; @@ -511,9 +510,12 @@ public final class FilterProtos { public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - name_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } return s; } else { return (java.lang.String) ref; @@ -571,7 +573,6 @@ public final class FilterProtos { return this; } - // optional bytes serialized_filter = 2; private com.google.protobuf.ByteString serializedFilter_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes serialized_filter = 2; @@ -618,10 +619,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.Filter) } - public interface ColumnCountGetFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ColumnCountGetFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ColumnCountGetFilter) + com.google.protobuf.MessageOrBuilder { - // required int32 limit = 1; /** * required int32 limit = 1; */ @@ -635,8 +636,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.ColumnCountGetFilter} */ public static final class ColumnCountGetFilter extends - com.google.protobuf.GeneratedMessage - implements ColumnCountGetFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ColumnCountGetFilter) + ColumnCountGetFilterOrBuilder { // Use ColumnCountGetFilter.newBuilder() to construct. private ColumnCountGetFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -727,7 +729,6 @@ public final class FilterProtos { } private int bitField0_; - // required int32 limit = 1; public static final int LIMIT_FIELD_NUMBER = 1; private int limit_; /** @@ -749,7 +750,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasLimit()) { memoizedIsInitialized = 0; @@ -811,7 +813,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -898,8 +899,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.ColumnCountGetFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.ColumnCountGetFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ColumnCountGetFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.ColumnCountGetFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_ColumnCountGetFilter_descriptor; @@ -1016,7 +1018,6 @@ public final class FilterProtos { } private int bitField0_; - // required int32 limit = 1; private int limit_ ; /** * required int32 limit = 1; @@ -1060,10 +1061,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ColumnCountGetFilter) } - public interface ColumnPaginationFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ColumnPaginationFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ColumnPaginationFilter) + com.google.protobuf.MessageOrBuilder { - // required int32 limit = 1; /** * required int32 limit = 1; */ @@ -1073,7 +1074,6 @@ public final class FilterProtos { */ int getLimit(); - // optional int32 offset = 2; /** * optional int32 offset = 2; */ @@ -1083,7 +1083,6 @@ public final class FilterProtos { */ int getOffset(); - // optional bytes column_offset = 3; /** * optional bytes column_offset = 3; */ @@ -1097,8 +1096,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.ColumnPaginationFilter} */ public static final class ColumnPaginationFilter extends - com.google.protobuf.GeneratedMessage - implements ColumnPaginationFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ColumnPaginationFilter) + ColumnPaginationFilterOrBuilder { // Use ColumnPaginationFilter.newBuilder() to construct. private ColumnPaginationFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1199,7 +1199,6 @@ public final class FilterProtos { } private int bitField0_; - // required int32 limit = 1; public static final int LIMIT_FIELD_NUMBER = 1; private int limit_; /** @@ -1215,7 +1214,6 @@ public final class FilterProtos { return limit_; } - // optional int32 offset = 2; public static final int OFFSET_FIELD_NUMBER = 2; private int offset_; /** @@ -1231,7 +1229,6 @@ public final class FilterProtos { return offset_; } - // optional bytes column_offset = 3; public static final int COLUMN_OFFSET_FIELD_NUMBER = 3; private com.google.protobuf.ByteString columnOffset_; /** @@ -1255,7 +1252,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasLimit()) { memoizedIsInitialized = 0; @@ -1341,7 +1339,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1436,8 +1433,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.ColumnPaginationFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.ColumnPaginationFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ColumnPaginationFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.ColumnPaginationFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_ColumnPaginationFilter_descriptor; @@ -1572,7 +1570,6 @@ public final class FilterProtos { } private int bitField0_; - // required int32 limit = 1; private int limit_ ; /** * required int32 limit = 1; @@ -1605,7 +1602,6 @@ public final class FilterProtos { return this; } - // optional int32 offset = 2; private int offset_ ; /** * optional int32 offset = 2; @@ -1638,7 +1634,6 @@ public final class FilterProtos { return this; } - // optional bytes column_offset = 3; private com.google.protobuf.ByteString columnOffset_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes column_offset = 3; @@ -1685,10 +1680,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ColumnPaginationFilter) } - public interface ColumnPrefixFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ColumnPrefixFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ColumnPrefixFilter) + com.google.protobuf.MessageOrBuilder { - // required bytes prefix = 1; /** * required bytes prefix = 1; */ @@ -1702,8 +1697,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.ColumnPrefixFilter} */ public static final class ColumnPrefixFilter extends - com.google.protobuf.GeneratedMessage - implements ColumnPrefixFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ColumnPrefixFilter) + ColumnPrefixFilterOrBuilder { // Use ColumnPrefixFilter.newBuilder() to construct. private ColumnPrefixFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1794,7 +1790,6 @@ public final class FilterProtos { } private int bitField0_; - // required bytes prefix = 1; public static final int PREFIX_FIELD_NUMBER = 1; private com.google.protobuf.ByteString prefix_; /** @@ -1816,7 +1811,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasPrefix()) { memoizedIsInitialized = 0; @@ -1878,7 +1874,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1965,8 +1960,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.ColumnPrefixFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.ColumnPrefixFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ColumnPrefixFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.ColumnPrefixFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_ColumnPrefixFilter_descriptor; @@ -2083,7 +2079,6 @@ public final class FilterProtos { } private int bitField0_; - // required bytes prefix = 1; private com.google.protobuf.ByteString prefix_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes prefix = 1; @@ -2130,10 +2125,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ColumnPrefixFilter) } - public interface ColumnRangeFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ColumnRangeFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ColumnRangeFilter) + com.google.protobuf.MessageOrBuilder { - // optional bytes min_column = 1; /** * optional bytes min_column = 1; */ @@ -2143,7 +2138,6 @@ public final class FilterProtos { */ com.google.protobuf.ByteString getMinColumn(); - // optional bool min_column_inclusive = 2; /** * optional bool min_column_inclusive = 2; */ @@ -2153,7 +2147,6 @@ public final class FilterProtos { */ boolean getMinColumnInclusive(); - // optional bytes max_column = 3; /** * optional bytes max_column = 3; */ @@ -2163,7 +2156,6 @@ public final class FilterProtos { */ com.google.protobuf.ByteString getMaxColumn(); - // optional bool max_column_inclusive = 4; /** * optional bool max_column_inclusive = 4; */ @@ -2177,8 +2169,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.ColumnRangeFilter} */ public static final class ColumnRangeFilter extends - com.google.protobuf.GeneratedMessage - implements ColumnRangeFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ColumnRangeFilter) + ColumnRangeFilterOrBuilder { // Use ColumnRangeFilter.newBuilder() to construct. private ColumnRangeFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2284,7 +2277,6 @@ public final class FilterProtos { } private int bitField0_; - // optional bytes min_column = 1; public static final int MIN_COLUMN_FIELD_NUMBER = 1; private com.google.protobuf.ByteString minColumn_; /** @@ -2300,7 +2292,6 @@ public final class FilterProtos { return minColumn_; } - // optional bool min_column_inclusive = 2; public static final int MIN_COLUMN_INCLUSIVE_FIELD_NUMBER = 2; private boolean minColumnInclusive_; /** @@ -2316,7 +2307,6 @@ public final class FilterProtos { return minColumnInclusive_; } - // optional bytes max_column = 3; public static final int MAX_COLUMN_FIELD_NUMBER = 3; private com.google.protobuf.ByteString maxColumn_; /** @@ -2332,7 +2322,6 @@ public final class FilterProtos { return maxColumn_; } - // optional bool max_column_inclusive = 4; public static final int MAX_COLUMN_INCLUSIVE_FIELD_NUMBER = 4; private boolean maxColumnInclusive_; /** @@ -2357,7 +2346,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -2451,7 +2441,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2465,7 +2454,8 @@ public final class FilterProtos { } if (hasMinColumnInclusive()) { hash = (37 * hash) + MIN_COLUMN_INCLUSIVE_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getMinColumnInclusive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getMinColumnInclusive()); } if (hasMaxColumn()) { hash = (37 * hash) + MAX_COLUMN_FIELD_NUMBER; @@ -2473,7 +2463,8 @@ public final class FilterProtos { } if (hasMaxColumnInclusive()) { hash = (37 * hash) + MAX_COLUMN_INCLUSIVE_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getMaxColumnInclusive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getMaxColumnInclusive()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -2550,8 +2541,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.ColumnRangeFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.ColumnRangeFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ColumnRangeFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.ColumnRangeFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_ColumnRangeFilter_descriptor; @@ -2691,7 +2683,6 @@ public final class FilterProtos { } private int bitField0_; - // optional bytes min_column = 1; private com.google.protobuf.ByteString minColumn_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes min_column = 1; @@ -2727,7 +2718,6 @@ public final class FilterProtos { return this; } - // optional bool min_column_inclusive = 2; private boolean minColumnInclusive_ ; /** * optional bool min_column_inclusive = 2; @@ -2760,7 +2750,6 @@ public final class FilterProtos { return this; } - // optional bytes max_column = 3; private com.google.protobuf.ByteString maxColumn_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes max_column = 3; @@ -2796,7 +2785,6 @@ public final class FilterProtos { return this; } - // optional bool max_column_inclusive = 4; private boolean maxColumnInclusive_ ; /** * optional bool max_column_inclusive = 4; @@ -2840,10 +2828,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ColumnRangeFilter) } - public interface CompareFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface CompareFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.CompareFilter) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.CompareType compare_op = 1; /** * required .hbase.pb.CompareType compare_op = 1; */ @@ -2853,7 +2841,6 @@ public final class FilterProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType getCompareOp(); - // optional .hbase.pb.Comparator comparator = 2; /** * optional .hbase.pb.Comparator comparator = 2; */ @@ -2871,8 +2858,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.CompareFilter} */ public static final class CompareFilter extends - com.google.protobuf.GeneratedMessage - implements CompareFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.CompareFilter) + CompareFilterOrBuilder { // Use CompareFilter.newBuilder() to construct. private CompareFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2982,7 +2970,6 @@ public final class FilterProtos { } private int bitField0_; - // required .hbase.pb.CompareType compare_op = 1; public static final int COMPARE_OP_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType compareOp_; /** @@ -2998,7 +2985,6 @@ public final class FilterProtos { return compareOp_; } - // optional .hbase.pb.Comparator comparator = 2; public static final int COMPARATOR_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator comparator_; /** @@ -3027,7 +3013,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasCompareOp()) { memoizedIsInitialized = 0; @@ -3107,7 +3094,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -3117,7 +3103,8 @@ public final class FilterProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasCompareOp()) { hash = (37 * hash) + COMPARE_OP_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getCompareOp()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getCompareOp()); } if (hasComparator()) { hash = (37 * hash) + COMPARATOR_FIELD_NUMBER; @@ -3198,8 +3185,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.CompareFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.CompareFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_CompareFilter_descriptor; @@ -3340,7 +3328,6 @@ public final class FilterProtos { } private int bitField0_; - // required .hbase.pb.CompareType compare_op = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType compareOp_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType.LESS; /** * required .hbase.pb.CompareType compare_op = 1; @@ -3376,7 +3363,6 @@ public final class FilterProtos { return this; } - // optional .hbase.pb.Comparator comparator = 2; private org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator comparator_ = org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator.Builder, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ComparatorOrBuilder> comparatorBuilder_; @@ -3485,7 +3471,7 @@ public final class FilterProtos { if (comparatorBuilder_ == null) { comparatorBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator.Builder, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ComparatorOrBuilder>( - comparator_, + getComparator(), getParentForChildren(), isClean()); comparator_ = null; @@ -3504,10 +3490,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.CompareFilter) } - public interface DependentColumnFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface DependentColumnFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.DependentColumnFilter) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.CompareFilter compare_filter = 1; /** * required .hbase.pb.CompareFilter compare_filter = 1; */ @@ -3521,7 +3507,6 @@ public final class FilterProtos { */ org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilterOrBuilder getCompareFilterOrBuilder(); - // optional bytes column_family = 2; /** * optional bytes column_family = 2; */ @@ -3531,7 +3516,6 @@ public final class FilterProtos { */ com.google.protobuf.ByteString getColumnFamily(); - // optional bytes column_qualifier = 3; /** * optional bytes column_qualifier = 3; */ @@ -3541,7 +3525,6 @@ public final class FilterProtos { */ com.google.protobuf.ByteString getColumnQualifier(); - // optional bool drop_dependent_column = 4; /** * optional bool drop_dependent_column = 4; */ @@ -3555,8 +3538,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.DependentColumnFilter} */ public static final class DependentColumnFilter extends - com.google.protobuf.GeneratedMessage - implements DependentColumnFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.DependentColumnFilter) + DependentColumnFilterOrBuilder { // Use DependentColumnFilter.newBuilder() to construct. private DependentColumnFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -3670,7 +3654,6 @@ public final class FilterProtos { } private int bitField0_; - // required .hbase.pb.CompareFilter compare_filter = 1; public static final int COMPARE_FILTER_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter compareFilter_; /** @@ -3692,7 +3675,6 @@ public final class FilterProtos { return compareFilter_; } - // optional bytes column_family = 2; public static final int COLUMN_FAMILY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString columnFamily_; /** @@ -3708,7 +3690,6 @@ public final class FilterProtos { return columnFamily_; } - // optional bytes column_qualifier = 3; public static final int COLUMN_QUALIFIER_FIELD_NUMBER = 3; private com.google.protobuf.ByteString columnQualifier_; /** @@ -3724,7 +3705,6 @@ public final class FilterProtos { return columnQualifier_; } - // optional bool drop_dependent_column = 4; public static final int DROP_DEPENDENT_COLUMN_FIELD_NUMBER = 4; private boolean dropDependentColumn_; /** @@ -3749,7 +3729,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasCompareFilter()) { memoizedIsInitialized = 0; @@ -3851,7 +3832,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -3873,7 +3853,8 @@ public final class FilterProtos { } if (hasDropDependentColumn()) { hash = (37 * hash) + DROP_DEPENDENT_COLUMN_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getDropDependentColumn()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDropDependentColumn()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -3950,8 +3931,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.DependentColumnFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.DependentColumnFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.DependentColumnFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.DependentColumnFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_DependentColumnFilter_descriptor; @@ -4108,7 +4090,6 @@ public final class FilterProtos { } private int bitField0_; - // required .hbase.pb.CompareFilter compare_filter = 1; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter compareFilter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilterOrBuilder> compareFilterBuilder_; @@ -4217,7 +4198,7 @@ public final class FilterProtos { if (compareFilterBuilder_ == null) { compareFilterBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilterOrBuilder>( - compareFilter_, + getCompareFilter(), getParentForChildren(), isClean()); compareFilter_ = null; @@ -4225,7 +4206,6 @@ public final class FilterProtos { return compareFilterBuilder_; } - // optional bytes column_family = 2; private com.google.protobuf.ByteString columnFamily_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes column_family = 2; @@ -4261,7 +4241,6 @@ public final class FilterProtos { return this; } - // optional bytes column_qualifier = 3; private com.google.protobuf.ByteString columnQualifier_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes column_qualifier = 3; @@ -4297,7 +4276,6 @@ public final class FilterProtos { return this; } - // optional bool drop_dependent_column = 4; private boolean dropDependentColumn_ ; /** * optional bool drop_dependent_column = 4; @@ -4341,10 +4319,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.DependentColumnFilter) } - public interface FamilyFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface FamilyFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.FamilyFilter) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.CompareFilter compare_filter = 1; /** * required .hbase.pb.CompareFilter compare_filter = 1; */ @@ -4362,8 +4340,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.FamilyFilter} */ public static final class FamilyFilter extends - com.google.protobuf.GeneratedMessage - implements FamilyFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.FamilyFilter) + FamilyFilterOrBuilder { // Use FamilyFilter.newBuilder() to construct. private FamilyFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -4462,7 +4441,6 @@ public final class FilterProtos { } private int bitField0_; - // required .hbase.pb.CompareFilter compare_filter = 1; public static final int COMPARE_FILTER_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter compareFilter_; /** @@ -4490,7 +4468,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasCompareFilter()) { memoizedIsInitialized = 0; @@ -4556,7 +4535,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -4643,8 +4621,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.FamilyFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FamilyFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.FamilyFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FamilyFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_FamilyFilter_descriptor; @@ -4774,7 +4753,6 @@ public final class FilterProtos { } private int bitField0_; - // required .hbase.pb.CompareFilter compare_filter = 1; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter compareFilter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilterOrBuilder> compareFilterBuilder_; @@ -4883,7 +4861,7 @@ public final class FilterProtos { if (compareFilterBuilder_ == null) { compareFilterBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilterOrBuilder>( - compareFilter_, + getCompareFilter(), getParentForChildren(), isClean()); compareFilter_ = null; @@ -4902,10 +4880,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.FamilyFilter) } - public interface FilterListOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface FilterListOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.FilterList) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.FilterList.Operator operator = 1; /** * required .hbase.pb.FilterList.Operator operator = 1; */ @@ -4915,7 +4893,6 @@ public final class FilterProtos { */ org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterList.Operator getOperator(); - // repeated .hbase.pb.Filter filters = 2; /** * repeated .hbase.pb.Filter filters = 2; */ @@ -4944,8 +4921,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.FilterList} */ public static final class FilterList extends - com.google.protobuf.GeneratedMessage - implements FilterListOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.FilterList) + FilterListOrBuilder { // Use FilterList.newBuilder() to construct. private FilterList(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -5135,7 +5113,6 @@ public final class FilterProtos { } private int bitField0_; - // required .hbase.pb.FilterList.Operator operator = 1; public static final int OPERATOR_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterList.Operator operator_; /** @@ -5151,7 +5128,6 @@ public final class FilterProtos { return operator_; } - // repeated .hbase.pb.Filter filters = 2; public static final int FILTERS_FIELD_NUMBER = 2; private java.util.List filters_; /** @@ -5194,7 +5170,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasOperator()) { memoizedIsInitialized = 0; @@ -5271,7 +5248,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -5281,7 +5257,8 @@ public final class FilterProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasOperator()) { hash = (37 * hash) + OPERATOR_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getOperator()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getOperator()); } if (getFiltersCount() > 0) { hash = (37 * hash) + FILTERS_FIELD_NUMBER; @@ -5362,8 +5339,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.FilterList} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterListOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.FilterList) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterListOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_FilterList_descriptor; @@ -5528,7 +5506,6 @@ public final class FilterProtos { } private int bitField0_; - // required .hbase.pb.FilterList.Operator operator = 1; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterList.Operator operator_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterList.Operator.MUST_PASS_ALL; /** * required .hbase.pb.FilterList.Operator operator = 1; @@ -5564,7 +5541,6 @@ public final class FilterProtos { return this; } - // repeated .hbase.pb.Filter filters = 2; private java.util.List filters_ = java.util.Collections.emptyList(); private void ensureFiltersIsMutable() { @@ -5706,7 +5682,8 @@ public final class FilterProtos { java.lang.Iterable values) { if (filtersBuilder_ == null) { ensureFiltersIsMutable(); - super.addAll(values, filters_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, filters_); onChanged(); } else { filtersBuilder_.addAllMessages(values); @@ -5815,10 +5792,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.FilterList) } - public interface FilterWrapperOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface FilterWrapperOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.FilterWrapper) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.Filter filter = 1; /** * required .hbase.pb.Filter filter = 1; */ @@ -5836,8 +5813,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.FilterWrapper} */ public static final class FilterWrapper extends - com.google.protobuf.GeneratedMessage - implements FilterWrapperOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.FilterWrapper) + FilterWrapperOrBuilder { // Use FilterWrapper.newBuilder() to construct. private FilterWrapper(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -5936,7 +5914,6 @@ public final class FilterProtos { } private int bitField0_; - // required .hbase.pb.Filter filter = 1; public static final int FILTER_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter filter_; /** @@ -5964,7 +5941,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasFilter()) { memoizedIsInitialized = 0; @@ -6030,7 +6008,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -6117,8 +6094,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.FilterWrapper} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterWrapperOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.FilterWrapper) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterWrapperOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_FilterWrapper_descriptor; @@ -6248,7 +6226,6 @@ public final class FilterProtos { } private int bitField0_; - // required .hbase.pb.Filter filter = 1; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter filter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder> filterBuilder_; @@ -6357,7 +6334,7 @@ public final class FilterProtos { if (filterBuilder_ == null) { filterBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder>( - filter_, + getFilter(), getParentForChildren(), isClean()); filter_ = null; @@ -6376,15 +6353,17 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.FilterWrapper) } - public interface FirstKeyOnlyFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface FirstKeyOnlyFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.FirstKeyOnlyFilter) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.FirstKeyOnlyFilter} */ public static final class FirstKeyOnlyFilter extends - com.google.protobuf.GeneratedMessage - implements FirstKeyOnlyFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.FirstKeyOnlyFilter) + FirstKeyOnlyFilterOrBuilder { // Use FirstKeyOnlyFilter.newBuilder() to construct. private FirstKeyOnlyFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -6473,7 +6452,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -6519,7 +6499,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -6602,8 +6581,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.FirstKeyOnlyFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FirstKeyOnlyFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.FirstKeyOnlyFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FirstKeyOnlyFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_FirstKeyOnlyFilter_descriptor; @@ -6714,10 +6694,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.FirstKeyOnlyFilter) } - public interface FirstKeyValueMatchingQualifiersFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface FirstKeyValueMatchingQualifiersFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.FirstKeyValueMatchingQualifiersFilter) + com.google.protobuf.MessageOrBuilder { - // repeated bytes qualifiers = 1; /** * repeated bytes qualifiers = 1; */ @@ -6735,8 +6715,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.FirstKeyValueMatchingQualifiersFilter} */ public static final class FirstKeyValueMatchingQualifiersFilter extends - com.google.protobuf.GeneratedMessage - implements FirstKeyValueMatchingQualifiersFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.FirstKeyValueMatchingQualifiersFilter) + FirstKeyValueMatchingQualifiersFilterOrBuilder { // Use FirstKeyValueMatchingQualifiersFilter.newBuilder() to construct. private FirstKeyValueMatchingQualifiersFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -6832,7 +6813,6 @@ public final class FilterProtos { return PARSER; } - // repeated bytes qualifiers = 1; public static final int QUALIFIERS_FIELD_NUMBER = 1; private java.util.List qualifiers_; /** @@ -6861,7 +6841,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -6921,7 +6902,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -7008,8 +6988,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.FirstKeyValueMatchingQualifiersFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FirstKeyValueMatchingQualifiersFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.FirstKeyValueMatchingQualifiersFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FirstKeyValueMatchingQualifiersFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_FirstKeyValueMatchingQualifiersFilter_descriptor; @@ -7128,7 +7109,6 @@ public final class FilterProtos { } private int bitField0_; - // repeated bytes qualifiers = 1; private java.util.List qualifiers_ = java.util.Collections.emptyList(); private void ensureQualifiersIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { @@ -7186,7 +7166,8 @@ public final class FilterProtos { public Builder addAllQualifiers( java.lang.Iterable values) { ensureQualifiersIsMutable(); - super.addAll(values, qualifiers_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, qualifiers_); onChanged(); return this; } @@ -7211,10 +7192,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.FirstKeyValueMatchingQualifiersFilter) } - public interface FuzzyRowFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface FuzzyRowFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.FuzzyRowFilter) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.BytesBytesPair fuzzy_keys_data = 1; /** * repeated .hbase.pb.BytesBytesPair fuzzy_keys_data = 1; */ @@ -7243,8 +7224,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.FuzzyRowFilter} */ public static final class FuzzyRowFilter extends - com.google.protobuf.GeneratedMessage - implements FuzzyRowFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.FuzzyRowFilter) + FuzzyRowFilterOrBuilder { // Use FuzzyRowFilter.newBuilder() to construct. private FuzzyRowFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -7340,7 +7322,6 @@ public final class FilterProtos { return PARSER; } - // repeated .hbase.pb.BytesBytesPair fuzzy_keys_data = 1; public static final int FUZZY_KEYS_DATA_FIELD_NUMBER = 1; private java.util.List fuzzyKeysData_; /** @@ -7382,7 +7363,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getFuzzyKeysDataCount(); i++) { if (!getFuzzyKeysData(i).isInitialized()) { @@ -7443,7 +7425,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -7530,8 +7511,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.FuzzyRowFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FuzzyRowFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.FuzzyRowFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FuzzyRowFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_FuzzyRowFilter_descriptor; @@ -7681,7 +7663,6 @@ public final class FilterProtos { } private int bitField0_; - // repeated .hbase.pb.BytesBytesPair fuzzy_keys_data = 1; private java.util.List fuzzyKeysData_ = java.util.Collections.emptyList(); private void ensureFuzzyKeysDataIsMutable() { @@ -7823,7 +7804,8 @@ public final class FilterProtos { java.lang.Iterable values) { if (fuzzyKeysDataBuilder_ == null) { ensureFuzzyKeysDataIsMutable(); - super.addAll(values, fuzzyKeysData_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, fuzzyKeysData_); onChanged(); } else { fuzzyKeysDataBuilder_.addAllMessages(values); @@ -7932,10 +7914,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.FuzzyRowFilter) } - public interface InclusiveStopFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface InclusiveStopFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.InclusiveStopFilter) + com.google.protobuf.MessageOrBuilder { - // optional bytes stop_row_key = 1; /** * optional bytes stop_row_key = 1; */ @@ -7949,8 +7931,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.InclusiveStopFilter} */ public static final class InclusiveStopFilter extends - com.google.protobuf.GeneratedMessage - implements InclusiveStopFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.InclusiveStopFilter) + InclusiveStopFilterOrBuilder { // Use InclusiveStopFilter.newBuilder() to construct. private InclusiveStopFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -8041,7 +8024,6 @@ public final class FilterProtos { } private int bitField0_; - // optional bytes stop_row_key = 1; public static final int STOP_ROW_KEY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString stopRowKey_; /** @@ -8063,7 +8045,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -8121,7 +8104,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -8208,8 +8190,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.InclusiveStopFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.InclusiveStopFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.InclusiveStopFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.InclusiveStopFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_InclusiveStopFilter_descriptor; @@ -8322,7 +8305,6 @@ public final class FilterProtos { } private int bitField0_; - // optional bytes stop_row_key = 1; private com.google.protobuf.ByteString stopRowKey_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes stop_row_key = 1; @@ -8369,10 +8351,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.InclusiveStopFilter) } - public interface KeyOnlyFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface KeyOnlyFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.KeyOnlyFilter) + com.google.protobuf.MessageOrBuilder { - // required bool len_as_val = 1; /** * required bool len_as_val = 1; */ @@ -8386,8 +8368,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.KeyOnlyFilter} */ public static final class KeyOnlyFilter extends - com.google.protobuf.GeneratedMessage - implements KeyOnlyFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.KeyOnlyFilter) + KeyOnlyFilterOrBuilder { // Use KeyOnlyFilter.newBuilder() to construct. private KeyOnlyFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -8478,7 +8461,6 @@ public final class FilterProtos { } private int bitField0_; - // required bool len_as_val = 1; public static final int LEN_AS_VAL_FIELD_NUMBER = 1; private boolean lenAsVal_; /** @@ -8500,7 +8482,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasLenAsVal()) { memoizedIsInitialized = 0; @@ -8562,7 +8545,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -8572,7 +8554,8 @@ public final class FilterProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasLenAsVal()) { hash = (37 * hash) + LEN_AS_VAL_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getLenAsVal()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getLenAsVal()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -8649,8 +8632,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.KeyOnlyFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.KeyOnlyFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.KeyOnlyFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.KeyOnlyFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_KeyOnlyFilter_descriptor; @@ -8767,7 +8751,6 @@ public final class FilterProtos { } private int bitField0_; - // required bool len_as_val = 1; private boolean lenAsVal_ ; /** * required bool len_as_val = 1; @@ -8811,10 +8794,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.KeyOnlyFilter) } - public interface MultipleColumnPrefixFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface MultipleColumnPrefixFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.MultipleColumnPrefixFilter) + com.google.protobuf.MessageOrBuilder { - // repeated bytes sorted_prefixes = 1; /** * repeated bytes sorted_prefixes = 1; */ @@ -8832,8 +8815,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.MultipleColumnPrefixFilter} */ public static final class MultipleColumnPrefixFilter extends - com.google.protobuf.GeneratedMessage - implements MultipleColumnPrefixFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.MultipleColumnPrefixFilter) + MultipleColumnPrefixFilterOrBuilder { // Use MultipleColumnPrefixFilter.newBuilder() to construct. private MultipleColumnPrefixFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -8929,7 +8913,6 @@ public final class FilterProtos { return PARSER; } - // repeated bytes sorted_prefixes = 1; public static final int SORTED_PREFIXES_FIELD_NUMBER = 1; private java.util.List sortedPrefixes_; /** @@ -8958,7 +8941,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -9018,7 +9002,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -9105,8 +9088,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.MultipleColumnPrefixFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.MultipleColumnPrefixFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.MultipleColumnPrefixFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.MultipleColumnPrefixFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_MultipleColumnPrefixFilter_descriptor; @@ -9225,7 +9209,6 @@ public final class FilterProtos { } private int bitField0_; - // repeated bytes sorted_prefixes = 1; private java.util.List sortedPrefixes_ = java.util.Collections.emptyList(); private void ensureSortedPrefixesIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { @@ -9283,7 +9266,8 @@ public final class FilterProtos { public Builder addAllSortedPrefixes( java.lang.Iterable values) { ensureSortedPrefixesIsMutable(); - super.addAll(values, sortedPrefixes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, sortedPrefixes_); onChanged(); return this; } @@ -9308,10 +9292,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.MultipleColumnPrefixFilter) } - public interface PageFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface PageFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.PageFilter) + com.google.protobuf.MessageOrBuilder { - // required int64 page_size = 1; /** * required int64 page_size = 1; */ @@ -9325,8 +9309,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.PageFilter} */ public static final class PageFilter extends - com.google.protobuf.GeneratedMessage - implements PageFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.PageFilter) + PageFilterOrBuilder { // Use PageFilter.newBuilder() to construct. private PageFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -9417,7 +9402,6 @@ public final class FilterProtos { } private int bitField0_; - // required int64 page_size = 1; public static final int PAGE_SIZE_FIELD_NUMBER = 1; private long pageSize_; /** @@ -9439,7 +9423,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasPageSize()) { memoizedIsInitialized = 0; @@ -9501,7 +9486,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -9511,7 +9495,8 @@ public final class FilterProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasPageSize()) { hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getPageSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPageSize()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -9588,8 +9573,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.PageFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.PageFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.PageFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.PageFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_PageFilter_descriptor; @@ -9706,7 +9692,6 @@ public final class FilterProtos { } private int bitField0_; - // required int64 page_size = 1; private long pageSize_ ; /** * required int64 page_size = 1; @@ -9750,10 +9735,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.PageFilter) } - public interface PrefixFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface PrefixFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.PrefixFilter) + com.google.protobuf.MessageOrBuilder { - // optional bytes prefix = 1; /** * optional bytes prefix = 1; */ @@ -9767,8 +9752,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.PrefixFilter} */ public static final class PrefixFilter extends - com.google.protobuf.GeneratedMessage - implements PrefixFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.PrefixFilter) + PrefixFilterOrBuilder { // Use PrefixFilter.newBuilder() to construct. private PrefixFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -9859,7 +9845,6 @@ public final class FilterProtos { } private int bitField0_; - // optional bytes prefix = 1; public static final int PREFIX_FIELD_NUMBER = 1; private com.google.protobuf.ByteString prefix_; /** @@ -9881,7 +9866,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -9939,7 +9925,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -10026,8 +10011,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.PrefixFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.PrefixFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.PrefixFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.PrefixFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_PrefixFilter_descriptor; @@ -10140,7 +10126,6 @@ public final class FilterProtos { } private int bitField0_; - // optional bytes prefix = 1; private com.google.protobuf.ByteString prefix_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes prefix = 1; @@ -10187,10 +10172,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.PrefixFilter) } - public interface QualifierFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface QualifierFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.QualifierFilter) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.CompareFilter compare_filter = 1; /** * required .hbase.pb.CompareFilter compare_filter = 1; */ @@ -10208,8 +10193,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.QualifierFilter} */ public static final class QualifierFilter extends - com.google.protobuf.GeneratedMessage - implements QualifierFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.QualifierFilter) + QualifierFilterOrBuilder { // Use QualifierFilter.newBuilder() to construct. private QualifierFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -10308,7 +10294,6 @@ public final class FilterProtos { } private int bitField0_; - // required .hbase.pb.CompareFilter compare_filter = 1; public static final int COMPARE_FILTER_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter compareFilter_; /** @@ -10336,7 +10321,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasCompareFilter()) { memoizedIsInitialized = 0; @@ -10402,7 +10388,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -10489,8 +10474,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.QualifierFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.QualifierFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.QualifierFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.QualifierFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_QualifierFilter_descriptor; @@ -10620,7 +10606,6 @@ public final class FilterProtos { } private int bitField0_; - // required .hbase.pb.CompareFilter compare_filter = 1; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter compareFilter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilterOrBuilder> compareFilterBuilder_; @@ -10729,7 +10714,7 @@ public final class FilterProtos { if (compareFilterBuilder_ == null) { compareFilterBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilterOrBuilder>( - compareFilter_, + getCompareFilter(), getParentForChildren(), isClean()); compareFilter_ = null; @@ -10748,10 +10733,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.QualifierFilter) } - public interface RandomRowFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RandomRowFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.RandomRowFilter) + com.google.protobuf.MessageOrBuilder { - // required float chance = 1; /** * required float chance = 1; */ @@ -10765,8 +10750,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.RandomRowFilter} */ public static final class RandomRowFilter extends - com.google.protobuf.GeneratedMessage - implements RandomRowFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.RandomRowFilter) + RandomRowFilterOrBuilder { // Use RandomRowFilter.newBuilder() to construct. private RandomRowFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -10857,7 +10843,6 @@ public final class FilterProtos { } private int bitField0_; - // required float chance = 1; public static final int CHANCE_FIELD_NUMBER = 1; private float chance_; /** @@ -10879,7 +10864,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasChance()) { memoizedIsInitialized = 0; @@ -10933,14 +10919,16 @@ public final class FilterProtos { boolean result = true; result = result && (hasChance() == other.hasChance()); if (hasChance()) { - result = result && (Float.floatToIntBits(getChance()) == Float.floatToIntBits(other.getChance())); + result = result && ( + java.lang.Float.floatToIntBits(getChance()) + == java.lang.Float.floatToIntBits( + other.getChance())); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -10950,7 +10938,7 @@ public final class FilterProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasChance()) { hash = (37 * hash) + CHANCE_FIELD_NUMBER; - hash = (53 * hash) + Float.floatToIntBits( + hash = (53 * hash) + java.lang.Float.floatToIntBits( getChance()); } hash = (29 * hash) + getUnknownFields().hashCode(); @@ -11028,8 +11016,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.RandomRowFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.RandomRowFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.RandomRowFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.RandomRowFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_RandomRowFilter_descriptor; @@ -11146,7 +11135,6 @@ public final class FilterProtos { } private int bitField0_; - // required float chance = 1; private float chance_ ; /** * required float chance = 1; @@ -11190,10 +11178,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.RandomRowFilter) } - public interface RowFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RowFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.RowFilter) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.CompareFilter compare_filter = 1; /** * required .hbase.pb.CompareFilter compare_filter = 1; */ @@ -11211,8 +11199,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.RowFilter} */ public static final class RowFilter extends - com.google.protobuf.GeneratedMessage - implements RowFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.RowFilter) + RowFilterOrBuilder { // Use RowFilter.newBuilder() to construct. private RowFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -11311,7 +11300,6 @@ public final class FilterProtos { } private int bitField0_; - // required .hbase.pb.CompareFilter compare_filter = 1; public static final int COMPARE_FILTER_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter compareFilter_; /** @@ -11339,7 +11327,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasCompareFilter()) { memoizedIsInitialized = 0; @@ -11405,7 +11394,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -11492,8 +11480,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.RowFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.RowFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.RowFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.RowFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_RowFilter_descriptor; @@ -11623,7 +11612,6 @@ public final class FilterProtos { } private int bitField0_; - // required .hbase.pb.CompareFilter compare_filter = 1; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter compareFilter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilterOrBuilder> compareFilterBuilder_; @@ -11732,7 +11720,7 @@ public final class FilterProtos { if (compareFilterBuilder_ == null) { compareFilterBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilterOrBuilder>( - compareFilter_, + getCompareFilter(), getParentForChildren(), isClean()); compareFilter_ = null; @@ -11751,10 +11739,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.RowFilter) } - public interface SingleColumnValueExcludeFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface SingleColumnValueExcludeFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.SingleColumnValueExcludeFilter) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.SingleColumnValueFilter single_column_value_filter = 1; /** * required .hbase.pb.SingleColumnValueFilter single_column_value_filter = 1; */ @@ -11772,8 +11760,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.SingleColumnValueExcludeFilter} */ public static final class SingleColumnValueExcludeFilter extends - com.google.protobuf.GeneratedMessage - implements SingleColumnValueExcludeFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.SingleColumnValueExcludeFilter) + SingleColumnValueExcludeFilterOrBuilder { // Use SingleColumnValueExcludeFilter.newBuilder() to construct. private SingleColumnValueExcludeFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -11872,7 +11861,6 @@ public final class FilterProtos { } private int bitField0_; - // required .hbase.pb.SingleColumnValueFilter single_column_value_filter = 1; public static final int SINGLE_COLUMN_VALUE_FILTER_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.SingleColumnValueFilter singleColumnValueFilter_; /** @@ -11900,7 +11888,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasSingleColumnValueFilter()) { memoizedIsInitialized = 0; @@ -11966,7 +11955,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -12053,8 +12041,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.SingleColumnValueExcludeFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.SingleColumnValueExcludeFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.SingleColumnValueExcludeFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.SingleColumnValueExcludeFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_SingleColumnValueExcludeFilter_descriptor; @@ -12184,7 +12173,6 @@ public final class FilterProtos { } private int bitField0_; - // required .hbase.pb.SingleColumnValueFilter single_column_value_filter = 1; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.SingleColumnValueFilter singleColumnValueFilter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.SingleColumnValueFilter.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.SingleColumnValueFilter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.SingleColumnValueFilter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.SingleColumnValueFilterOrBuilder> singleColumnValueFilterBuilder_; @@ -12293,7 +12281,7 @@ public final class FilterProtos { if (singleColumnValueFilterBuilder_ == null) { singleColumnValueFilterBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.SingleColumnValueFilter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.SingleColumnValueFilter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.SingleColumnValueFilterOrBuilder>( - singleColumnValueFilter_, + getSingleColumnValueFilter(), getParentForChildren(), isClean()); singleColumnValueFilter_ = null; @@ -12312,10 +12300,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.SingleColumnValueExcludeFilter) } - public interface SingleColumnValueFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface SingleColumnValueFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.SingleColumnValueFilter) + com.google.protobuf.MessageOrBuilder { - // optional bytes column_family = 1; /** * optional bytes column_family = 1; */ @@ -12325,7 +12313,6 @@ public final class FilterProtos { */ com.google.protobuf.ByteString getColumnFamily(); - // optional bytes column_qualifier = 2; /** * optional bytes column_qualifier = 2; */ @@ -12335,7 +12322,6 @@ public final class FilterProtos { */ com.google.protobuf.ByteString getColumnQualifier(); - // required .hbase.pb.CompareType compare_op = 3; /** * required .hbase.pb.CompareType compare_op = 3; */ @@ -12345,7 +12331,6 @@ public final class FilterProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType getCompareOp(); - // required .hbase.pb.Comparator comparator = 4; /** * required .hbase.pb.Comparator comparator = 4; */ @@ -12359,7 +12344,6 @@ public final class FilterProtos { */ org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ComparatorOrBuilder getComparatorOrBuilder(); - // optional bool filter_if_missing = 5; /** * optional bool filter_if_missing = 5; */ @@ -12369,7 +12353,6 @@ public final class FilterProtos { */ boolean getFilterIfMissing(); - // optional bool latest_version_only = 6; /** * optional bool latest_version_only = 6; */ @@ -12383,8 +12366,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.SingleColumnValueFilter} */ public static final class SingleColumnValueFilter extends - com.google.protobuf.GeneratedMessage - implements SingleColumnValueFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.SingleColumnValueFilter) + SingleColumnValueFilterOrBuilder { // Use SingleColumnValueFilter.newBuilder() to construct. private SingleColumnValueFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -12514,7 +12498,6 @@ public final class FilterProtos { } private int bitField0_; - // optional bytes column_family = 1; public static final int COLUMN_FAMILY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString columnFamily_; /** @@ -12530,7 +12513,6 @@ public final class FilterProtos { return columnFamily_; } - // optional bytes column_qualifier = 2; public static final int COLUMN_QUALIFIER_FIELD_NUMBER = 2; private com.google.protobuf.ByteString columnQualifier_; /** @@ -12546,7 +12528,6 @@ public final class FilterProtos { return columnQualifier_; } - // required .hbase.pb.CompareType compare_op = 3; public static final int COMPARE_OP_FIELD_NUMBER = 3; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType compareOp_; /** @@ -12562,7 +12543,6 @@ public final class FilterProtos { return compareOp_; } - // required .hbase.pb.Comparator comparator = 4; public static final int COMPARATOR_FIELD_NUMBER = 4; private org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator comparator_; /** @@ -12584,7 +12564,6 @@ public final class FilterProtos { return comparator_; } - // optional bool filter_if_missing = 5; public static final int FILTER_IF_MISSING_FIELD_NUMBER = 5; private boolean filterIfMissing_; /** @@ -12600,7 +12579,6 @@ public final class FilterProtos { return filterIfMissing_; } - // optional bool latest_version_only = 6; public static final int LATEST_VERSION_ONLY_FIELD_NUMBER = 6; private boolean latestVersionOnly_; /** @@ -12627,7 +12605,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasCompareOp()) { memoizedIsInitialized = 0; @@ -12757,7 +12736,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -12775,7 +12753,8 @@ public final class FilterProtos { } if (hasCompareOp()) { hash = (37 * hash) + COMPARE_OP_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getCompareOp()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getCompareOp()); } if (hasComparator()) { hash = (37 * hash) + COMPARATOR_FIELD_NUMBER; @@ -12783,11 +12762,13 @@ public final class FilterProtos { } if (hasFilterIfMissing()) { hash = (37 * hash) + FILTER_IF_MISSING_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getFilterIfMissing()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getFilterIfMissing()); } if (hasLatestVersionOnly()) { hash = (37 * hash) + LATEST_VERSION_ONLY_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getLatestVersionOnly()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getLatestVersionOnly()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -12864,8 +12845,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.SingleColumnValueFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.SingleColumnValueFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.SingleColumnValueFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.SingleColumnValueFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_SingleColumnValueFilter_descriptor; @@ -13044,7 +13026,6 @@ public final class FilterProtos { } private int bitField0_; - // optional bytes column_family = 1; private com.google.protobuf.ByteString columnFamily_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes column_family = 1; @@ -13080,7 +13061,6 @@ public final class FilterProtos { return this; } - // optional bytes column_qualifier = 2; private com.google.protobuf.ByteString columnQualifier_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes column_qualifier = 2; @@ -13116,7 +13096,6 @@ public final class FilterProtos { return this; } - // required .hbase.pb.CompareType compare_op = 3; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType compareOp_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CompareType.LESS; /** * required .hbase.pb.CompareType compare_op = 3; @@ -13152,7 +13131,6 @@ public final class FilterProtos { return this; } - // required .hbase.pb.Comparator comparator = 4; private org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator comparator_ = org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator.Builder, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ComparatorOrBuilder> comparatorBuilder_; @@ -13261,7 +13239,7 @@ public final class FilterProtos { if (comparatorBuilder_ == null) { comparatorBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.Comparator.Builder, org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.ComparatorOrBuilder>( - comparator_, + getComparator(), getParentForChildren(), isClean()); comparator_ = null; @@ -13269,7 +13247,6 @@ public final class FilterProtos { return comparatorBuilder_; } - // optional bool filter_if_missing = 5; private boolean filterIfMissing_ ; /** * optional bool filter_if_missing = 5; @@ -13302,7 +13279,6 @@ public final class FilterProtos { return this; } - // optional bool latest_version_only = 6; private boolean latestVersionOnly_ ; /** * optional bool latest_version_only = 6; @@ -13346,10 +13322,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.SingleColumnValueFilter) } - public interface SkipFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface SkipFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.SkipFilter) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.Filter filter = 1; /** * required .hbase.pb.Filter filter = 1; */ @@ -13367,8 +13343,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.SkipFilter} */ public static final class SkipFilter extends - com.google.protobuf.GeneratedMessage - implements SkipFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.SkipFilter) + SkipFilterOrBuilder { // Use SkipFilter.newBuilder() to construct. private SkipFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -13467,7 +13444,6 @@ public final class FilterProtos { } private int bitField0_; - // required .hbase.pb.Filter filter = 1; public static final int FILTER_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter filter_; /** @@ -13495,7 +13471,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasFilter()) { memoizedIsInitialized = 0; @@ -13561,7 +13538,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -13648,8 +13624,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.SkipFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.SkipFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.SkipFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.SkipFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_SkipFilter_descriptor; @@ -13779,7 +13756,6 @@ public final class FilterProtos { } private int bitField0_; - // required .hbase.pb.Filter filter = 1; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter filter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder> filterBuilder_; @@ -13888,7 +13864,7 @@ public final class FilterProtos { if (filterBuilder_ == null) { filterBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder>( - filter_, + getFilter(), getParentForChildren(), isClean()); filter_ = null; @@ -13907,10 +13883,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.SkipFilter) } - public interface TimestampsFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface TimestampsFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.TimestampsFilter) + com.google.protobuf.MessageOrBuilder { - // repeated int64 timestamps = 1 [packed = true]; /** * repeated int64 timestamps = 1 [packed = true]; */ @@ -13924,7 +13900,6 @@ public final class FilterProtos { */ long getTimestamps(int index); - // optional bool can_hint = 2; /** * optional bool can_hint = 2; */ @@ -13938,8 +13913,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.TimestampsFilter} */ public static final class TimestampsFilter extends - com.google.protobuf.GeneratedMessage - implements TimestampsFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.TimestampsFilter) + TimestampsFilterOrBuilder { // Use TimestampsFilter.newBuilder() to construct. private TimestampsFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -14054,7 +14030,6 @@ public final class FilterProtos { } private int bitField0_; - // repeated int64 timestamps = 1 [packed = true]; public static final int TIMESTAMPS_FIELD_NUMBER = 1; private java.util.List timestamps_; /** @@ -14078,7 +14053,6 @@ public final class FilterProtos { } private int timestampsMemoizedSerializedSize = -1; - // optional bool can_hint = 2; public static final int CAN_HINT_FIELD_NUMBER = 2; private boolean canHint_; /** @@ -14101,7 +14075,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -14182,7 +14157,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -14196,7 +14170,8 @@ public final class FilterProtos { } if (hasCanHint()) { hash = (37 * hash) + CAN_HINT_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getCanHint()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCanHint()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -14273,8 +14248,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.TimestampsFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.TimestampsFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.TimestampsFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.TimestampsFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_TimestampsFilter_descriptor; @@ -14404,7 +14380,6 @@ public final class FilterProtos { } private int bitField0_; - // repeated int64 timestamps = 1 [packed = true]; private java.util.List timestamps_ = java.util.Collections.emptyList(); private void ensureTimestampsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { @@ -14456,7 +14431,8 @@ public final class FilterProtos { public Builder addAllTimestamps( java.lang.Iterable values) { ensureTimestampsIsMutable(); - super.addAll(values, timestamps_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, timestamps_); onChanged(); return this; } @@ -14470,7 +14446,6 @@ public final class FilterProtos { return this; } - // optional bool can_hint = 2; private boolean canHint_ ; /** * optional bool can_hint = 2; @@ -14514,10 +14489,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.TimestampsFilter) } - public interface ValueFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ValueFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ValueFilter) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.CompareFilter compare_filter = 1; /** * required .hbase.pb.CompareFilter compare_filter = 1; */ @@ -14535,8 +14510,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.ValueFilter} */ public static final class ValueFilter extends - com.google.protobuf.GeneratedMessage - implements ValueFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ValueFilter) + ValueFilterOrBuilder { // Use ValueFilter.newBuilder() to construct. private ValueFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -14635,7 +14611,6 @@ public final class FilterProtos { } private int bitField0_; - // required .hbase.pb.CompareFilter compare_filter = 1; public static final int COMPARE_FILTER_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter compareFilter_; /** @@ -14663,7 +14638,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasCompareFilter()) { memoizedIsInitialized = 0; @@ -14729,7 +14705,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -14816,8 +14791,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.ValueFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.ValueFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ValueFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.ValueFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_ValueFilter_descriptor; @@ -14947,7 +14923,6 @@ public final class FilterProtos { } private int bitField0_; - // required .hbase.pb.CompareFilter compare_filter = 1; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter compareFilter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilterOrBuilder> compareFilterBuilder_; @@ -15056,7 +15031,7 @@ public final class FilterProtos { if (compareFilterBuilder_ == null) { compareFilterBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.CompareFilterOrBuilder>( - compareFilter_, + getCompareFilter(), getParentForChildren(), isClean()); compareFilter_ = null; @@ -15075,10 +15050,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ValueFilter) } - public interface WhileMatchFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface WhileMatchFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.WhileMatchFilter) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.Filter filter = 1; /** * required .hbase.pb.Filter filter = 1; */ @@ -15096,8 +15071,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.WhileMatchFilter} */ public static final class WhileMatchFilter extends - com.google.protobuf.GeneratedMessage - implements WhileMatchFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.WhileMatchFilter) + WhileMatchFilterOrBuilder { // Use WhileMatchFilter.newBuilder() to construct. private WhileMatchFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -15196,7 +15172,6 @@ public final class FilterProtos { } private int bitField0_; - // required .hbase.pb.Filter filter = 1; public static final int FILTER_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter filter_; /** @@ -15224,7 +15199,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasFilter()) { memoizedIsInitialized = 0; @@ -15290,7 +15266,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -15377,8 +15352,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.WhileMatchFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.WhileMatchFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.WhileMatchFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.WhileMatchFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_WhileMatchFilter_descriptor; @@ -15508,7 +15484,6 @@ public final class FilterProtos { } private int bitField0_; - // required .hbase.pb.Filter filter = 1; private org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter filter_ = org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder> filterBuilder_; @@ -15617,7 +15592,7 @@ public final class FilterProtos { if (filterBuilder_ == null) { filterBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.Filter.Builder, org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterOrBuilder>( - filter_, + getFilter(), getParentForChildren(), isClean()); filter_ = null; @@ -15636,15 +15611,17 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.WhileMatchFilter) } - public interface FilterAllFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface FilterAllFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.FilterAllFilter) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.FilterAllFilter} */ public static final class FilterAllFilter extends - com.google.protobuf.GeneratedMessage - implements FilterAllFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.FilterAllFilter) + FilterAllFilterOrBuilder { // Use FilterAllFilter.newBuilder() to construct. private FilterAllFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -15733,7 +15710,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -15779,7 +15757,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -15862,8 +15839,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.FilterAllFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterAllFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.FilterAllFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.FilterAllFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_FilterAllFilter_descriptor; @@ -15974,10 +15952,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.FilterAllFilter) } - public interface RowRangeOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RowRangeOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.RowRange) + com.google.protobuf.MessageOrBuilder { - // optional bytes start_row = 1; /** * optional bytes start_row = 1; */ @@ -15987,7 +15965,6 @@ public final class FilterProtos { */ com.google.protobuf.ByteString getStartRow(); - // optional bool start_row_inclusive = 2; /** * optional bool start_row_inclusive = 2; */ @@ -15997,7 +15974,6 @@ public final class FilterProtos { */ boolean getStartRowInclusive(); - // optional bytes stop_row = 3; /** * optional bytes stop_row = 3; */ @@ -16007,7 +15983,6 @@ public final class FilterProtos { */ com.google.protobuf.ByteString getStopRow(); - // optional bool stop_row_inclusive = 4; /** * optional bool stop_row_inclusive = 4; */ @@ -16021,8 +15996,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.RowRange} */ public static final class RowRange extends - com.google.protobuf.GeneratedMessage - implements RowRangeOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.RowRange) + RowRangeOrBuilder { // Use RowRange.newBuilder() to construct. private RowRange(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -16128,7 +16104,6 @@ public final class FilterProtos { } private int bitField0_; - // optional bytes start_row = 1; public static final int START_ROW_FIELD_NUMBER = 1; private com.google.protobuf.ByteString startRow_; /** @@ -16144,7 +16119,6 @@ public final class FilterProtos { return startRow_; } - // optional bool start_row_inclusive = 2; public static final int START_ROW_INCLUSIVE_FIELD_NUMBER = 2; private boolean startRowInclusive_; /** @@ -16160,7 +16134,6 @@ public final class FilterProtos { return startRowInclusive_; } - // optional bytes stop_row = 3; public static final int STOP_ROW_FIELD_NUMBER = 3; private com.google.protobuf.ByteString stopRow_; /** @@ -16176,7 +16149,6 @@ public final class FilterProtos { return stopRow_; } - // optional bool stop_row_inclusive = 4; public static final int STOP_ROW_INCLUSIVE_FIELD_NUMBER = 4; private boolean stopRowInclusive_; /** @@ -16201,7 +16173,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -16295,7 +16268,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -16309,7 +16281,8 @@ public final class FilterProtos { } if (hasStartRowInclusive()) { hash = (37 * hash) + START_ROW_INCLUSIVE_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getStartRowInclusive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStartRowInclusive()); } if (hasStopRow()) { hash = (37 * hash) + STOP_ROW_FIELD_NUMBER; @@ -16317,7 +16290,8 @@ public final class FilterProtos { } if (hasStopRowInclusive()) { hash = (37 * hash) + STOP_ROW_INCLUSIVE_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getStopRowInclusive()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getStopRowInclusive()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -16394,8 +16368,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.RowRange} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.RowRangeOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.RowRange) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.RowRangeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_RowRange_descriptor; @@ -16535,7 +16510,6 @@ public final class FilterProtos { } private int bitField0_; - // optional bytes start_row = 1; private com.google.protobuf.ByteString startRow_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes start_row = 1; @@ -16571,7 +16545,6 @@ public final class FilterProtos { return this; } - // optional bool start_row_inclusive = 2; private boolean startRowInclusive_ ; /** * optional bool start_row_inclusive = 2; @@ -16604,7 +16577,6 @@ public final class FilterProtos { return this; } - // optional bytes stop_row = 3; private com.google.protobuf.ByteString stopRow_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes stop_row = 3; @@ -16640,7 +16612,6 @@ public final class FilterProtos { return this; } - // optional bool stop_row_inclusive = 4; private boolean stopRowInclusive_ ; /** * optional bool stop_row_inclusive = 4; @@ -16684,10 +16655,10 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.RowRange) } - public interface MultiRowRangeFilterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface MultiRowRangeFilterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.MultiRowRangeFilter) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.RowRange row_range_list = 1; /** * repeated .hbase.pb.RowRange row_range_list = 1; */ @@ -16716,8 +16687,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.MultiRowRangeFilter} */ public static final class MultiRowRangeFilter extends - com.google.protobuf.GeneratedMessage - implements MultiRowRangeFilterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.MultiRowRangeFilter) + MultiRowRangeFilterOrBuilder { // Use MultiRowRangeFilter.newBuilder() to construct. private MultiRowRangeFilter(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -16813,7 +16785,6 @@ public final class FilterProtos { return PARSER; } - // repeated .hbase.pb.RowRange row_range_list = 1; public static final int ROW_RANGE_LIST_FIELD_NUMBER = 1; private java.util.List rowRangeList_; /** @@ -16855,7 +16826,8 @@ public final class FilterProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -16910,7 +16882,6 @@ public final class FilterProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -16997,8 +16968,9 @@ public final class FilterProtos { * Protobuf type {@code hbase.pb.MultiRowRangeFilter} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.FilterProtos.MultiRowRangeFilterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.MultiRowRangeFilter) + org.apache.hadoop.hbase.protobuf.generated.FilterProtos.MultiRowRangeFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.FilterProtos.internal_static_hbase_pb_MultiRowRangeFilter_descriptor; @@ -17142,7 +17114,6 @@ public final class FilterProtos { } private int bitField0_; - // repeated .hbase.pb.RowRange row_range_list = 1; private java.util.List rowRangeList_ = java.util.Collections.emptyList(); private void ensureRowRangeListIsMutable() { @@ -17284,7 +17255,8 @@ public final class FilterProtos { java.lang.Iterable values) { if (rowRangeListBuilder_ == null) { ensureRowRangeListIsMutable(); - super.addAll(values, rowRangeList_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, rowRangeList_); onChanged(); } else { rowRangeListBuilder_.addAllMessages(values); @@ -17393,152 +17365,152 @@ public final class FilterProtos { // @@protoc_insertion_point(class_scope:hbase.pb.MultiRowRangeFilter) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Filter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Filter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ColumnCountGetFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ColumnCountGetFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ColumnPaginationFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ColumnPaginationFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ColumnPrefixFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ColumnPrefixFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ColumnRangeFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ColumnRangeFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CompareFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_CompareFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_DependentColumnFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_DependentColumnFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_FamilyFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_FamilyFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_FilterList_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_FilterList_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_FilterWrapper_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_FilterWrapper_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_FirstKeyOnlyFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_FirstKeyOnlyFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_FirstKeyValueMatchingQualifiersFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_FirstKeyValueMatchingQualifiersFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_FuzzyRowFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_FuzzyRowFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_InclusiveStopFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_InclusiveStopFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_KeyOnlyFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_KeyOnlyFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MultipleColumnPrefixFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_MultipleColumnPrefixFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_PageFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_PageFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_PrefixFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_PrefixFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_QualifierFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_QualifierFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RandomRowFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_RandomRowFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RowFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_RowFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_SingleColumnValueExcludeFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_SingleColumnValueExcludeFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_SingleColumnValueFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_SingleColumnValueFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_SkipFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_SkipFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_TimestampsFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_TimestampsFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ValueFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ValueFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_WhileMatchFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_WhileMatchFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_FilterAllFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_FilterAllFilter_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RowRange_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_RowRange_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MultiRowRangeFilter_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -17610,199 +17582,201 @@ public final class FilterProtos { "obuf.generatedB\014FilterProtosH\001\210\001\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_Filter_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_Filter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_Filter_descriptor, - new java.lang.String[] { "Name", "SerializedFilter", }); - internal_static_hbase_pb_ColumnCountGetFilter_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_hbase_pb_ColumnCountGetFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ColumnCountGetFilter_descriptor, - new java.lang.String[] { "Limit", }); - internal_static_hbase_pb_ColumnPaginationFilter_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_hbase_pb_ColumnPaginationFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ColumnPaginationFilter_descriptor, - new java.lang.String[] { "Limit", "Offset", "ColumnOffset", }); - internal_static_hbase_pb_ColumnPrefixFilter_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_hbase_pb_ColumnPrefixFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ColumnPrefixFilter_descriptor, - new java.lang.String[] { "Prefix", }); - internal_static_hbase_pb_ColumnRangeFilter_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_hbase_pb_ColumnRangeFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ColumnRangeFilter_descriptor, - new java.lang.String[] { "MinColumn", "MinColumnInclusive", "MaxColumn", "MaxColumnInclusive", }); - internal_static_hbase_pb_CompareFilter_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_hbase_pb_CompareFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_CompareFilter_descriptor, - new java.lang.String[] { "CompareOp", "Comparator", }); - internal_static_hbase_pb_DependentColumnFilter_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_hbase_pb_DependentColumnFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_DependentColumnFilter_descriptor, - new java.lang.String[] { "CompareFilter", "ColumnFamily", "ColumnQualifier", "DropDependentColumn", }); - internal_static_hbase_pb_FamilyFilter_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_hbase_pb_FamilyFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_FamilyFilter_descriptor, - new java.lang.String[] { "CompareFilter", }); - internal_static_hbase_pb_FilterList_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_hbase_pb_FilterList_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_FilterList_descriptor, - new java.lang.String[] { "Operator", "Filters", }); - internal_static_hbase_pb_FilterWrapper_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_hbase_pb_FilterWrapper_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_FilterWrapper_descriptor, - new java.lang.String[] { "Filter", }); - internal_static_hbase_pb_FirstKeyOnlyFilter_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_hbase_pb_FirstKeyOnlyFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_FirstKeyOnlyFilter_descriptor, - new java.lang.String[] { }); - internal_static_hbase_pb_FirstKeyValueMatchingQualifiersFilter_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_hbase_pb_FirstKeyValueMatchingQualifiersFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_FirstKeyValueMatchingQualifiersFilter_descriptor, - new java.lang.String[] { "Qualifiers", }); - internal_static_hbase_pb_FuzzyRowFilter_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_hbase_pb_FuzzyRowFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_FuzzyRowFilter_descriptor, - new java.lang.String[] { "FuzzyKeysData", }); - internal_static_hbase_pb_InclusiveStopFilter_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_hbase_pb_InclusiveStopFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_InclusiveStopFilter_descriptor, - new java.lang.String[] { "StopRowKey", }); - internal_static_hbase_pb_KeyOnlyFilter_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_hbase_pb_KeyOnlyFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_KeyOnlyFilter_descriptor, - new java.lang.String[] { "LenAsVal", }); - internal_static_hbase_pb_MultipleColumnPrefixFilter_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_hbase_pb_MultipleColumnPrefixFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_MultipleColumnPrefixFilter_descriptor, - new java.lang.String[] { "SortedPrefixes", }); - internal_static_hbase_pb_PageFilter_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_hbase_pb_PageFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_PageFilter_descriptor, - new java.lang.String[] { "PageSize", }); - internal_static_hbase_pb_PrefixFilter_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_hbase_pb_PrefixFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_PrefixFilter_descriptor, - new java.lang.String[] { "Prefix", }); - internal_static_hbase_pb_QualifierFilter_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_hbase_pb_QualifierFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_QualifierFilter_descriptor, - new java.lang.String[] { "CompareFilter", }); - internal_static_hbase_pb_RandomRowFilter_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_hbase_pb_RandomRowFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_RandomRowFilter_descriptor, - new java.lang.String[] { "Chance", }); - internal_static_hbase_pb_RowFilter_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_hbase_pb_RowFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_RowFilter_descriptor, - new java.lang.String[] { "CompareFilter", }); - internal_static_hbase_pb_SingleColumnValueExcludeFilter_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_hbase_pb_SingleColumnValueExcludeFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_SingleColumnValueExcludeFilter_descriptor, - new java.lang.String[] { "SingleColumnValueFilter", }); - internal_static_hbase_pb_SingleColumnValueFilter_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_hbase_pb_SingleColumnValueFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_SingleColumnValueFilter_descriptor, - new java.lang.String[] { "ColumnFamily", "ColumnQualifier", "CompareOp", "Comparator", "FilterIfMissing", "LatestVersionOnly", }); - internal_static_hbase_pb_SkipFilter_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_hbase_pb_SkipFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_SkipFilter_descriptor, - new java.lang.String[] { "Filter", }); - internal_static_hbase_pb_TimestampsFilter_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_hbase_pb_TimestampsFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_TimestampsFilter_descriptor, - new java.lang.String[] { "Timestamps", "CanHint", }); - internal_static_hbase_pb_ValueFilter_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_hbase_pb_ValueFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ValueFilter_descriptor, - new java.lang.String[] { "CompareFilter", }); - internal_static_hbase_pb_WhileMatchFilter_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_hbase_pb_WhileMatchFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_WhileMatchFilter_descriptor, - new java.lang.String[] { "Filter", }); - internal_static_hbase_pb_FilterAllFilter_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_hbase_pb_FilterAllFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_FilterAllFilter_descriptor, - new java.lang.String[] { }); - internal_static_hbase_pb_RowRange_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_hbase_pb_RowRange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_RowRange_descriptor, - new java.lang.String[] { "StartRow", "StartRowInclusive", "StopRow", "StopRowInclusive", }); - internal_static_hbase_pb_MultiRowRangeFilter_descriptor = - getDescriptor().getMessageTypes().get(29); - internal_static_hbase_pb_MultiRowRangeFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_MultiRowRangeFilter_descriptor, - new java.lang.String[] { "RowRangeList", }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(), org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.getDescriptor(), }, assigner); + internal_static_hbase_pb_Filter_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_Filter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_Filter_descriptor, + new java.lang.String[] { "Name", "SerializedFilter", }); + internal_static_hbase_pb_ColumnCountGetFilter_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_hbase_pb_ColumnCountGetFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ColumnCountGetFilter_descriptor, + new java.lang.String[] { "Limit", }); + internal_static_hbase_pb_ColumnPaginationFilter_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_hbase_pb_ColumnPaginationFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ColumnPaginationFilter_descriptor, + new java.lang.String[] { "Limit", "Offset", "ColumnOffset", }); + internal_static_hbase_pb_ColumnPrefixFilter_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_hbase_pb_ColumnPrefixFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ColumnPrefixFilter_descriptor, + new java.lang.String[] { "Prefix", }); + internal_static_hbase_pb_ColumnRangeFilter_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_hbase_pb_ColumnRangeFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ColumnRangeFilter_descriptor, + new java.lang.String[] { "MinColumn", "MinColumnInclusive", "MaxColumn", "MaxColumnInclusive", }); + internal_static_hbase_pb_CompareFilter_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_hbase_pb_CompareFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_CompareFilter_descriptor, + new java.lang.String[] { "CompareOp", "Comparator", }); + internal_static_hbase_pb_DependentColumnFilter_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_hbase_pb_DependentColumnFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_DependentColumnFilter_descriptor, + new java.lang.String[] { "CompareFilter", "ColumnFamily", "ColumnQualifier", "DropDependentColumn", }); + internal_static_hbase_pb_FamilyFilter_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_hbase_pb_FamilyFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_FamilyFilter_descriptor, + new java.lang.String[] { "CompareFilter", }); + internal_static_hbase_pb_FilterList_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_hbase_pb_FilterList_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_FilterList_descriptor, + new java.lang.String[] { "Operator", "Filters", }); + internal_static_hbase_pb_FilterWrapper_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_hbase_pb_FilterWrapper_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_FilterWrapper_descriptor, + new java.lang.String[] { "Filter", }); + internal_static_hbase_pb_FirstKeyOnlyFilter_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_hbase_pb_FirstKeyOnlyFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_FirstKeyOnlyFilter_descriptor, + new java.lang.String[] { }); + internal_static_hbase_pb_FirstKeyValueMatchingQualifiersFilter_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_hbase_pb_FirstKeyValueMatchingQualifiersFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_FirstKeyValueMatchingQualifiersFilter_descriptor, + new java.lang.String[] { "Qualifiers", }); + internal_static_hbase_pb_FuzzyRowFilter_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_hbase_pb_FuzzyRowFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_FuzzyRowFilter_descriptor, + new java.lang.String[] { "FuzzyKeysData", }); + internal_static_hbase_pb_InclusiveStopFilter_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_hbase_pb_InclusiveStopFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_InclusiveStopFilter_descriptor, + new java.lang.String[] { "StopRowKey", }); + internal_static_hbase_pb_KeyOnlyFilter_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_hbase_pb_KeyOnlyFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_KeyOnlyFilter_descriptor, + new java.lang.String[] { "LenAsVal", }); + internal_static_hbase_pb_MultipleColumnPrefixFilter_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_hbase_pb_MultipleColumnPrefixFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_MultipleColumnPrefixFilter_descriptor, + new java.lang.String[] { "SortedPrefixes", }); + internal_static_hbase_pb_PageFilter_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_hbase_pb_PageFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_PageFilter_descriptor, + new java.lang.String[] { "PageSize", }); + internal_static_hbase_pb_PrefixFilter_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_hbase_pb_PrefixFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_PrefixFilter_descriptor, + new java.lang.String[] { "Prefix", }); + internal_static_hbase_pb_QualifierFilter_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_hbase_pb_QualifierFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_QualifierFilter_descriptor, + new java.lang.String[] { "CompareFilter", }); + internal_static_hbase_pb_RandomRowFilter_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_hbase_pb_RandomRowFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_RandomRowFilter_descriptor, + new java.lang.String[] { "Chance", }); + internal_static_hbase_pb_RowFilter_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_hbase_pb_RowFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_RowFilter_descriptor, + new java.lang.String[] { "CompareFilter", }); + internal_static_hbase_pb_SingleColumnValueExcludeFilter_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_hbase_pb_SingleColumnValueExcludeFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_SingleColumnValueExcludeFilter_descriptor, + new java.lang.String[] { "SingleColumnValueFilter", }); + internal_static_hbase_pb_SingleColumnValueFilter_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_hbase_pb_SingleColumnValueFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_SingleColumnValueFilter_descriptor, + new java.lang.String[] { "ColumnFamily", "ColumnQualifier", "CompareOp", "Comparator", "FilterIfMissing", "LatestVersionOnly", }); + internal_static_hbase_pb_SkipFilter_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_hbase_pb_SkipFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_SkipFilter_descriptor, + new java.lang.String[] { "Filter", }); + internal_static_hbase_pb_TimestampsFilter_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_hbase_pb_TimestampsFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_TimestampsFilter_descriptor, + new java.lang.String[] { "Timestamps", "CanHint", }); + internal_static_hbase_pb_ValueFilter_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_hbase_pb_ValueFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ValueFilter_descriptor, + new java.lang.String[] { "CompareFilter", }); + internal_static_hbase_pb_WhileMatchFilter_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_hbase_pb_WhileMatchFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_WhileMatchFilter_descriptor, + new java.lang.String[] { "Filter", }); + internal_static_hbase_pb_FilterAllFilter_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_hbase_pb_FilterAllFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_FilterAllFilter_descriptor, + new java.lang.String[] { }); + internal_static_hbase_pb_RowRange_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_hbase_pb_RowRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_RowRange_descriptor, + new java.lang.String[] { "StartRow", "StartRowInclusive", "StopRow", "StopRowInclusive", }); + internal_static_hbase_pb_MultiRowRangeFilter_descriptor = + getDescriptor().getMessageTypes().get(29); + internal_static_hbase_pb_MultiRowRangeFilter_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_MultiRowRangeFilter_descriptor, + new java.lang.String[] { "RowRangeList", }); + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(); + org.apache.hadoop.hbase.protobuf.generated.ComparatorProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/HBaseProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/HBaseProtos.java index 72fc7b7..9fa604d 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/HBaseProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/HBaseProtos.java @@ -266,10 +266,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(enum_scope:hbase.pb.TimeUnit) } - public interface TableNameOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface TableNameOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.TableName) + com.google.protobuf.MessageOrBuilder { - // required bytes namespace = 1; /** * required bytes namespace = 1; */ @@ -279,7 +279,6 @@ public final class HBaseProtos { */ com.google.protobuf.ByteString getNamespace(); - // required bytes qualifier = 2; /** * required bytes qualifier = 2; */ @@ -298,8 +297,9 @@ public final class HBaseProtos { * */ public static final class TableName extends - com.google.protobuf.GeneratedMessage - implements TableNameOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.TableName) + TableNameOrBuilder { // Use TableName.newBuilder() to construct. private TableName(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -395,7 +395,6 @@ public final class HBaseProtos { } private int bitField0_; - // required bytes namespace = 1; public static final int NAMESPACE_FIELD_NUMBER = 1; private com.google.protobuf.ByteString namespace_; /** @@ -411,7 +410,6 @@ public final class HBaseProtos { return namespace_; } - // required bytes qualifier = 2; public static final int QUALIFIER_FIELD_NUMBER = 2; private com.google.protobuf.ByteString qualifier_; /** @@ -434,7 +432,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasNamespace()) { memoizedIsInitialized = 0; @@ -512,7 +511,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -608,8 +606,9 @@ public final class HBaseProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.TableName) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_TableName_descriptor; @@ -739,7 +738,6 @@ public final class HBaseProtos { } private int bitField0_; - // required bytes namespace = 1; private com.google.protobuf.ByteString namespace_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes namespace = 1; @@ -775,7 +773,6 @@ public final class HBaseProtos { return this; } - // required bytes qualifier = 2; private com.google.protobuf.ByteString qualifier_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes qualifier = 2; @@ -822,10 +819,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.TableName) } - public interface TableSchemaOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface TableSchemaOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.TableSchema) + com.google.protobuf.MessageOrBuilder { - // optional .hbase.pb.TableName table_name = 1; /** * optional .hbase.pb.TableName table_name = 1; */ @@ -839,7 +836,6 @@ public final class HBaseProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder getTableNameOrBuilder(); - // repeated .hbase.pb.BytesBytesPair attributes = 2; /** * repeated .hbase.pb.BytesBytesPair attributes = 2; */ @@ -864,7 +860,6 @@ public final class HBaseProtos { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.BytesBytesPairOrBuilder getAttributesOrBuilder( int index); - // repeated .hbase.pb.ColumnFamilySchema column_families = 3; /** * repeated .hbase.pb.ColumnFamilySchema column_families = 3; */ @@ -889,7 +884,6 @@ public final class HBaseProtos { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilySchemaOrBuilder getColumnFamiliesOrBuilder( int index); - // repeated .hbase.pb.NameStringPair configuration = 4; /** * repeated .hbase.pb.NameStringPair configuration = 4; */ @@ -924,8 +918,9 @@ public final class HBaseProtos { * */ public static final class TableSchema extends - com.google.protobuf.GeneratedMessage - implements TableSchemaOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.TableSchema) + TableSchemaOrBuilder { // Use TableSchema.newBuilder() to construct. private TableSchema(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1057,7 +1052,6 @@ public final class HBaseProtos { } private int bitField0_; - // optional .hbase.pb.TableName table_name = 1; public static final int TABLE_NAME_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName tableName_; /** @@ -1079,7 +1073,6 @@ public final class HBaseProtos { return tableName_; } - // repeated .hbase.pb.BytesBytesPair attributes = 2; public static final int ATTRIBUTES_FIELD_NUMBER = 2; private java.util.List attributes_; /** @@ -1115,7 +1108,6 @@ public final class HBaseProtos { return attributes_.get(index); } - // repeated .hbase.pb.ColumnFamilySchema column_families = 3; public static final int COLUMN_FAMILIES_FIELD_NUMBER = 3; private java.util.List columnFamilies_; /** @@ -1151,7 +1143,6 @@ public final class HBaseProtos { return columnFamilies_.get(index); } - // repeated .hbase.pb.NameStringPair configuration = 4; public static final int CONFIGURATION_FIELD_NUMBER = 4; private java.util.List configuration_; /** @@ -1196,7 +1187,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (hasTableName()) { if (!getTableName().isInitialized()) { @@ -1305,7 +1297,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1410,8 +1401,9 @@ public final class HBaseProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchemaOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.TableSchema) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchemaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_TableSchema_descriptor; @@ -1683,7 +1675,6 @@ public final class HBaseProtos { } private int bitField0_; - // optional .hbase.pb.TableName table_name = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName tableName_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder> tableNameBuilder_; @@ -1792,7 +1783,7 @@ public final class HBaseProtos { if (tableNameBuilder_ == null) { tableNameBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder>( - tableName_, + getTableName(), getParentForChildren(), isClean()); tableName_ = null; @@ -1800,7 +1791,6 @@ public final class HBaseProtos { return tableNameBuilder_; } - // repeated .hbase.pb.BytesBytesPair attributes = 2; private java.util.List attributes_ = java.util.Collections.emptyList(); private void ensureAttributesIsMutable() { @@ -1942,7 +1932,8 @@ public final class HBaseProtos { java.lang.Iterable values) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); - super.addAll(values, attributes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, attributes_); onChanged(); } else { attributesBuilder_.addAllMessages(values); @@ -2040,7 +2031,6 @@ public final class HBaseProtos { return attributesBuilder_; } - // repeated .hbase.pb.ColumnFamilySchema column_families = 3; private java.util.List columnFamilies_ = java.util.Collections.emptyList(); private void ensureColumnFamiliesIsMutable() { @@ -2182,7 +2172,8 @@ public final class HBaseProtos { java.lang.Iterable values) { if (columnFamiliesBuilder_ == null) { ensureColumnFamiliesIsMutable(); - super.addAll(values, columnFamilies_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, columnFamilies_); onChanged(); } else { columnFamiliesBuilder_.addAllMessages(values); @@ -2280,7 +2271,6 @@ public final class HBaseProtos { return columnFamiliesBuilder_; } - // repeated .hbase.pb.NameStringPair configuration = 4; private java.util.List configuration_ = java.util.Collections.emptyList(); private void ensureConfigurationIsMutable() { @@ -2422,7 +2412,8 @@ public final class HBaseProtos { java.lang.Iterable values) { if (configurationBuilder_ == null) { ensureConfigurationIsMutable(); - super.addAll(values, configuration_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, configuration_); onChanged(); } else { configurationBuilder_.addAllMessages(values); @@ -2531,10 +2522,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.TableSchema) } - public interface TableStateOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface TableStateOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.TableState) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.TableState.State state = 1; /** * required .hbase.pb.TableState.State state = 1; * @@ -2560,8 +2551,9 @@ public final class HBaseProtos { * */ public static final class TableState extends - com.google.protobuf.GeneratedMessage - implements TableStateOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.TableState) + TableStateOrBuilder { // Use TableState.newBuilder() to construct. private TableState(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2762,7 +2754,6 @@ public final class HBaseProtos { } private int bitField0_; - // required .hbase.pb.TableState.State state = 1; public static final int STATE_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableState.State state_; /** @@ -2792,7 +2783,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasState()) { memoizedIsInitialized = 0; @@ -2854,7 +2846,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2864,7 +2855,8 @@ public final class HBaseProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasState()) { hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getState()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getState()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -2945,8 +2937,9 @@ public final class HBaseProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableStateOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.TableState) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableStateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_TableState_descriptor; @@ -3063,7 +3056,6 @@ public final class HBaseProtos { } private int bitField0_; - // required .hbase.pb.TableState.State state = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableState.State state_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableState.State.ENABLED; /** * required .hbase.pb.TableState.State state = 1; @@ -3126,10 +3118,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.TableState) } - public interface ColumnFamilySchemaOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ColumnFamilySchemaOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ColumnFamilySchema) + com.google.protobuf.MessageOrBuilder { - // required bytes name = 1; /** * required bytes name = 1; */ @@ -3139,7 +3131,6 @@ public final class HBaseProtos { */ com.google.protobuf.ByteString getName(); - // repeated .hbase.pb.BytesBytesPair attributes = 2; /** * repeated .hbase.pb.BytesBytesPair attributes = 2; */ @@ -3164,7 +3155,6 @@ public final class HBaseProtos { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.BytesBytesPairOrBuilder getAttributesOrBuilder( int index); - // repeated .hbase.pb.NameStringPair configuration = 3; /** * repeated .hbase.pb.NameStringPair configuration = 3; */ @@ -3199,8 +3189,9 @@ public final class HBaseProtos { * */ public static final class ColumnFamilySchema extends - com.google.protobuf.GeneratedMessage - implements ColumnFamilySchemaOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ColumnFamilySchema) + ColumnFamilySchemaOrBuilder { // Use ColumnFamilySchema.newBuilder() to construct. private ColumnFamilySchema(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -3313,7 +3304,6 @@ public final class HBaseProtos { } private int bitField0_; - // required bytes name = 1; public static final int NAME_FIELD_NUMBER = 1; private com.google.protobuf.ByteString name_; /** @@ -3329,7 +3319,6 @@ public final class HBaseProtos { return name_; } - // repeated .hbase.pb.BytesBytesPair attributes = 2; public static final int ATTRIBUTES_FIELD_NUMBER = 2; private java.util.List attributes_; /** @@ -3365,7 +3354,6 @@ public final class HBaseProtos { return attributes_.get(index); } - // repeated .hbase.pb.NameStringPair configuration = 3; public static final int CONFIGURATION_FIELD_NUMBER = 3; private java.util.List configuration_; /** @@ -3409,7 +3397,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasName()) { memoizedIsInitialized = 0; @@ -3501,7 +3490,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -3602,8 +3590,9 @@ public final class HBaseProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilySchemaOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ColumnFamilySchema) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilySchemaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_ColumnFamilySchema_descriptor; @@ -3816,7 +3805,6 @@ public final class HBaseProtos { } private int bitField0_; - // required bytes name = 1; private com.google.protobuf.ByteString name_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes name = 1; @@ -3852,7 +3840,6 @@ public final class HBaseProtos { return this; } - // repeated .hbase.pb.BytesBytesPair attributes = 2; private java.util.List attributes_ = java.util.Collections.emptyList(); private void ensureAttributesIsMutable() { @@ -3994,7 +3981,8 @@ public final class HBaseProtos { java.lang.Iterable values) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); - super.addAll(values, attributes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, attributes_); onChanged(); } else { attributesBuilder_.addAllMessages(values); @@ -4092,7 +4080,6 @@ public final class HBaseProtos { return attributesBuilder_; } - // repeated .hbase.pb.NameStringPair configuration = 3; private java.util.List configuration_ = java.util.Collections.emptyList(); private void ensureConfigurationIsMutable() { @@ -4234,7 +4221,8 @@ public final class HBaseProtos { java.lang.Iterable values) { if (configurationBuilder_ == null) { ensureConfigurationIsMutable(); - super.addAll(values, configuration_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, configuration_); onChanged(); } else { configurationBuilder_.addAllMessages(values); @@ -4343,10 +4331,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ColumnFamilySchema) } - public interface RegionInfoOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RegionInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.RegionInfo) + com.google.protobuf.MessageOrBuilder { - // required uint64 region_id = 1; /** * required uint64 region_id = 1; */ @@ -4356,7 +4344,6 @@ public final class HBaseProtos { */ long getRegionId(); - // required .hbase.pb.TableName table_name = 2; /** * required .hbase.pb.TableName table_name = 2; */ @@ -4370,7 +4357,6 @@ public final class HBaseProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder getTableNameOrBuilder(); - // optional bytes start_key = 3; /** * optional bytes start_key = 3; */ @@ -4380,7 +4366,6 @@ public final class HBaseProtos { */ com.google.protobuf.ByteString getStartKey(); - // optional bytes end_key = 4; /** * optional bytes end_key = 4; */ @@ -4390,7 +4375,6 @@ public final class HBaseProtos { */ com.google.protobuf.ByteString getEndKey(); - // optional bool offline = 5; /** * optional bool offline = 5; */ @@ -4400,7 +4384,6 @@ public final class HBaseProtos { */ boolean getOffline(); - // optional bool split = 6; /** * optional bool split = 6; */ @@ -4410,7 +4393,6 @@ public final class HBaseProtos { */ boolean getSplit(); - // optional int32 replica_id = 7 [default = 0]; /** * optional int32 replica_id = 7 [default = 0]; */ @@ -4429,8 +4411,9 @@ public final class HBaseProtos { * */ public static final class RegionInfo extends - com.google.protobuf.GeneratedMessage - implements RegionInfoOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.RegionInfo) + RegionInfoOrBuilder { // Use RegionInfo.newBuilder() to construct. private RegionInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -4559,7 +4542,6 @@ public final class HBaseProtos { } private int bitField0_; - // required uint64 region_id = 1; public static final int REGION_ID_FIELD_NUMBER = 1; private long regionId_; /** @@ -4575,7 +4557,6 @@ public final class HBaseProtos { return regionId_; } - // required .hbase.pb.TableName table_name = 2; public static final int TABLE_NAME_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName tableName_; /** @@ -4597,7 +4578,6 @@ public final class HBaseProtos { return tableName_; } - // optional bytes start_key = 3; public static final int START_KEY_FIELD_NUMBER = 3; private com.google.protobuf.ByteString startKey_; /** @@ -4613,7 +4593,6 @@ public final class HBaseProtos { return startKey_; } - // optional bytes end_key = 4; public static final int END_KEY_FIELD_NUMBER = 4; private com.google.protobuf.ByteString endKey_; /** @@ -4629,7 +4608,6 @@ public final class HBaseProtos { return endKey_; } - // optional bool offline = 5; public static final int OFFLINE_FIELD_NUMBER = 5; private boolean offline_; /** @@ -4645,7 +4623,6 @@ public final class HBaseProtos { return offline_; } - // optional bool split = 6; public static final int SPLIT_FIELD_NUMBER = 6; private boolean split_; /** @@ -4661,7 +4638,6 @@ public final class HBaseProtos { return split_; } - // optional int32 replica_id = 7 [default = 0]; public static final int REPLICA_ID_FIELD_NUMBER = 7; private int replicaId_; /** @@ -4689,7 +4665,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRegionId()) { memoizedIsInitialized = 0; @@ -4831,7 +4808,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -4841,7 +4817,8 @@ public final class HBaseProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasRegionId()) { hash = (37 * hash) + REGION_ID_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getRegionId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getRegionId()); } if (hasTableName()) { hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER; @@ -4857,11 +4834,13 @@ public final class HBaseProtos { } if (hasOffline()) { hash = (37 * hash) + OFFLINE_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getOffline()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getOffline()); } if (hasSplit()) { hash = (37 * hash) + SPLIT_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getSplit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSplit()); } if (hasReplicaId()) { hash = (37 * hash) + REPLICA_ID_FIELD_NUMBER; @@ -4947,8 +4926,9 @@ public final class HBaseProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.RegionInfo) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_RegionInfo_descriptor; @@ -5136,7 +5116,6 @@ public final class HBaseProtos { } private int bitField0_; - // required uint64 region_id = 1; private long regionId_ ; /** * required uint64 region_id = 1; @@ -5169,7 +5148,6 @@ public final class HBaseProtos { return this; } - // required .hbase.pb.TableName table_name = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName tableName_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder> tableNameBuilder_; @@ -5278,7 +5256,7 @@ public final class HBaseProtos { if (tableNameBuilder_ == null) { tableNameBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder>( - tableName_, + getTableName(), getParentForChildren(), isClean()); tableName_ = null; @@ -5286,7 +5264,6 @@ public final class HBaseProtos { return tableNameBuilder_; } - // optional bytes start_key = 3; private com.google.protobuf.ByteString startKey_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes start_key = 3; @@ -5322,7 +5299,6 @@ public final class HBaseProtos { return this; } - // optional bytes end_key = 4; private com.google.protobuf.ByteString endKey_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes end_key = 4; @@ -5358,7 +5334,6 @@ public final class HBaseProtos { return this; } - // optional bool offline = 5; private boolean offline_ ; /** * optional bool offline = 5; @@ -5391,7 +5366,6 @@ public final class HBaseProtos { return this; } - // optional bool split = 6; private boolean split_ ; /** * optional bool split = 6; @@ -5424,7 +5398,6 @@ public final class HBaseProtos { return this; } - // optional int32 replica_id = 7 [default = 0]; private int replicaId_ ; /** * optional int32 replica_id = 7 [default = 0]; @@ -5468,10 +5441,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.RegionInfo) } - public interface FavoredNodesOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface FavoredNodesOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.FavoredNodes) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.ServerName favored_node = 1; /** * repeated .hbase.pb.ServerName favored_node = 1; */ @@ -5505,8 +5478,9 @@ public final class HBaseProtos { * */ public static final class FavoredNodes extends - com.google.protobuf.GeneratedMessage - implements FavoredNodesOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.FavoredNodes) + FavoredNodesOrBuilder { // Use FavoredNodes.newBuilder() to construct. private FavoredNodes(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -5602,7 +5576,6 @@ public final class HBaseProtos { return PARSER; } - // repeated .hbase.pb.ServerName favored_node = 1; public static final int FAVORED_NODE_FIELD_NUMBER = 1; private java.util.List favoredNode_; /** @@ -5644,7 +5617,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getFavoredNodeCount(); i++) { if (!getFavoredNode(i).isInitialized()) { @@ -5705,7 +5679,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -5797,8 +5770,9 @@ public final class HBaseProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.FavoredNodesOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.FavoredNodes) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.FavoredNodesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_FavoredNodes_descriptor; @@ -5948,7 +5922,6 @@ public final class HBaseProtos { } private int bitField0_; - // repeated .hbase.pb.ServerName favored_node = 1; private java.util.List favoredNode_ = java.util.Collections.emptyList(); private void ensureFavoredNodeIsMutable() { @@ -6090,7 +6063,8 @@ public final class HBaseProtos { java.lang.Iterable values) { if (favoredNodeBuilder_ == null) { ensureFavoredNodeIsMutable(); - super.addAll(values, favoredNode_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, favoredNode_); onChanged(); } else { favoredNodeBuilder_.addAllMessages(values); @@ -6199,10 +6173,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.FavoredNodes) } - public interface RegionSpecifierOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RegionSpecifierOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.RegionSpecifier) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.RegionSpecifier.RegionSpecifierType type = 1; /** * required .hbase.pb.RegionSpecifier.RegionSpecifierType type = 1; */ @@ -6212,7 +6186,6 @@ public final class HBaseProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.RegionSpecifierType getType(); - // required bytes value = 2; /** * required bytes value = 2; */ @@ -6234,8 +6207,9 @@ public final class HBaseProtos { * */ public static final class RegionSpecifier extends - com.google.protobuf.GeneratedMessage - implements RegionSpecifierOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.RegionSpecifier) + RegionSpecifierOrBuilder { // Use RegionSpecifier.newBuilder() to construct. private RegionSpecifier(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -6435,7 +6409,6 @@ public final class HBaseProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier.RegionSpecifierType type = 1; public static final int TYPE_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.RegionSpecifierType type_; /** @@ -6451,7 +6424,6 @@ public final class HBaseProtos { return type_; } - // required bytes value = 2; public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_; /** @@ -6474,7 +6446,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasType()) { memoizedIsInitialized = 0; @@ -6552,7 +6525,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -6562,7 +6534,8 @@ public final class HBaseProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getType()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getType()); } if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; @@ -6651,8 +6624,9 @@ public final class HBaseProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.RegionSpecifier) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_RegionSpecifier_descriptor; @@ -6782,7 +6756,6 @@ public final class HBaseProtos { } private int bitField0_; - // required .hbase.pb.RegionSpecifier.RegionSpecifierType type = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.RegionSpecifierType type_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.RegionSpecifierType.REGION_NAME; /** * required .hbase.pb.RegionSpecifier.RegionSpecifierType type = 1; @@ -6818,7 +6791,6 @@ public final class HBaseProtos { return this; } - // required bytes value = 2; private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes value = 2; @@ -6865,10 +6837,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.RegionSpecifier) } - public interface TimeRangeOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface TimeRangeOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.TimeRange) + com.google.protobuf.MessageOrBuilder { - // optional uint64 from = 1; /** * optional uint64 from = 1; */ @@ -6878,7 +6850,6 @@ public final class HBaseProtos { */ long getFrom(); - // optional uint64 to = 2; /** * optional uint64 to = 2; */ @@ -6900,8 +6871,9 @@ public final class HBaseProtos { * */ public static final class TimeRange extends - com.google.protobuf.GeneratedMessage - implements TimeRangeOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.TimeRange) + TimeRangeOrBuilder { // Use TimeRange.newBuilder() to construct. private TimeRange(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -6997,7 +6969,6 @@ public final class HBaseProtos { } private int bitField0_; - // optional uint64 from = 1; public static final int FROM_FIELD_NUMBER = 1; private long from_; /** @@ -7013,7 +6984,6 @@ public final class HBaseProtos { return from_; } - // optional uint64 to = 2; public static final int TO_FIELD_NUMBER = 2; private long to_; /** @@ -7036,7 +7006,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -7106,7 +7077,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -7116,11 +7086,13 @@ public final class HBaseProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasFrom()) { hash = (37 * hash) + FROM_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getFrom()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getFrom()); } if (hasTo()) { hash = (37 * hash) + TO_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getTo()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTo()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -7205,8 +7177,9 @@ public final class HBaseProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.TimeRange) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_TimeRange_descriptor; @@ -7328,7 +7301,6 @@ public final class HBaseProtos { } private int bitField0_; - // optional uint64 from = 1; private long from_ ; /** * optional uint64 from = 1; @@ -7361,7 +7333,6 @@ public final class HBaseProtos { return this; } - // optional uint64 to = 2; private long to_ ; /** * optional uint64 to = 2; @@ -7405,10 +7376,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.TimeRange) } - public interface ColumnFamilyTimeRangeOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ColumnFamilyTimeRangeOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ColumnFamilyTimeRange) + com.google.protobuf.MessageOrBuilder { - // required bytes column_family = 1; /** * required bytes column_family = 1; */ @@ -7418,7 +7389,6 @@ public final class HBaseProtos { */ com.google.protobuf.ByteString getColumnFamily(); - // required .hbase.pb.TimeRange time_range = 2; /** * required .hbase.pb.TimeRange time_range = 2; */ @@ -7440,8 +7410,9 @@ public final class HBaseProtos { * */ public static final class ColumnFamilyTimeRange extends - com.google.protobuf.GeneratedMessage - implements ColumnFamilyTimeRangeOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ColumnFamilyTimeRange) + ColumnFamilyTimeRangeOrBuilder { // Use ColumnFamilyTimeRange.newBuilder() to construct. private ColumnFamilyTimeRange(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -7545,7 +7516,6 @@ public final class HBaseProtos { } private int bitField0_; - // required bytes column_family = 1; public static final int COLUMN_FAMILY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString columnFamily_; /** @@ -7561,7 +7531,6 @@ public final class HBaseProtos { return columnFamily_; } - // required .hbase.pb.TimeRange time_range = 2; public static final int TIME_RANGE_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange timeRange_; /** @@ -7590,7 +7559,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasColumnFamily()) { memoizedIsInitialized = 0; @@ -7668,7 +7638,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -7763,8 +7732,9 @@ public final class HBaseProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRangeOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ColumnFamilyTimeRange) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ColumnFamilyTimeRangeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_ColumnFamilyTimeRange_descriptor; @@ -7903,7 +7873,6 @@ public final class HBaseProtos { } private int bitField0_; - // required bytes column_family = 1; private com.google.protobuf.ByteString columnFamily_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes column_family = 1; @@ -7939,7 +7908,6 @@ public final class HBaseProtos { return this; } - // required .hbase.pb.TimeRange time_range = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange timeRange_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder> timeRangeBuilder_; @@ -8048,7 +8016,7 @@ public final class HBaseProtos { if (timeRangeBuilder_ == null) { timeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRange.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeRangeOrBuilder>( - timeRange_, + getTimeRange(), getParentForChildren(), isClean()); timeRange_ = null; @@ -8067,10 +8035,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ColumnFamilyTimeRange) } - public interface ServerNameOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ServerNameOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ServerName) + com.google.protobuf.MessageOrBuilder { - // required string host_name = 1; /** * required string host_name = 1; */ @@ -8085,7 +8053,6 @@ public final class HBaseProtos { com.google.protobuf.ByteString getHostNameBytes(); - // optional uint32 port = 2; /** * optional uint32 port = 2; */ @@ -8095,7 +8062,6 @@ public final class HBaseProtos { */ int getPort(); - // optional uint64 start_code = 3; /** * optional uint64 start_code = 3; */ @@ -8114,8 +8080,9 @@ public final class HBaseProtos { * */ public static final class ServerName extends - com.google.protobuf.GeneratedMessage - implements ServerNameOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ServerName) + ServerNameOrBuilder { // Use ServerName.newBuilder() to construct. private ServerName(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -8162,8 +8129,9 @@ public final class HBaseProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - hostName_ = input.readBytes(); + hostName_ = bs; break; } case 16: { @@ -8216,7 +8184,6 @@ public final class HBaseProtos { } private int bitField0_; - // required string host_name = 1; public static final int HOST_NAME_FIELD_NUMBER = 1; private java.lang.Object hostName_; /** @@ -8259,7 +8226,6 @@ public final class HBaseProtos { } } - // optional uint32 port = 2; public static final int PORT_FIELD_NUMBER = 2; private int port_; /** @@ -8275,7 +8241,6 @@ public final class HBaseProtos { return port_; } - // optional uint64 start_code = 3; public static final int START_CODE_FIELD_NUMBER = 3; private long startCode_; /** @@ -8299,7 +8264,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasHostName()) { memoizedIsInitialized = 0; @@ -8385,7 +8351,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -8403,7 +8368,8 @@ public final class HBaseProtos { } if (hasStartCode()) { hash = (37 * hash) + START_CODE_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getStartCode()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getStartCode()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -8485,8 +8451,9 @@ public final class HBaseProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ServerName) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_ServerName_descriptor; @@ -8623,7 +8590,6 @@ public final class HBaseProtos { } private int bitField0_; - // required string host_name = 1; private java.lang.Object hostName_ = ""; /** * required string host_name = 1; @@ -8637,9 +8603,12 @@ public final class HBaseProtos { public java.lang.String getHostName() { java.lang.Object ref = hostName_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - hostName_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + hostName_ = s; + } return s; } else { return (java.lang.String) ref; @@ -8697,7 +8666,6 @@ public final class HBaseProtos { return this; } - // optional uint32 port = 2; private int port_ ; /** * optional uint32 port = 2; @@ -8730,7 +8698,6 @@ public final class HBaseProtos { return this; } - // optional uint64 start_code = 3; private long startCode_ ; /** * optional uint64 start_code = 3; @@ -8774,10 +8741,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ServerName) } - public interface CoprocessorOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface CoprocessorOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.Coprocessor) + com.google.protobuf.MessageOrBuilder { - // required string name = 1; /** * required string name = 1; */ @@ -8796,8 +8763,9 @@ public final class HBaseProtos { * Protobuf type {@code hbase.pb.Coprocessor} */ public static final class Coprocessor extends - com.google.protobuf.GeneratedMessage - implements CoprocessorOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.Coprocessor) + CoprocessorOrBuilder { // Use Coprocessor.newBuilder() to construct. private Coprocessor(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -8844,8 +8812,9 @@ public final class HBaseProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - name_ = input.readBytes(); + name_ = bs; break; } } @@ -8888,7 +8857,6 @@ public final class HBaseProtos { } private int bitField0_; - // required string name = 1; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; /** @@ -8937,7 +8905,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasName()) { memoizedIsInitialized = 0; @@ -8999,7 +8968,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -9086,8 +9054,9 @@ public final class HBaseProtos { * Protobuf type {@code hbase.pb.Coprocessor} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.Coprocessor) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.CoprocessorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_Coprocessor_descriptor; @@ -9206,7 +9175,6 @@ public final class HBaseProtos { } private int bitField0_; - // required string name = 1; private java.lang.Object name_ = ""; /** * required string name = 1; @@ -9220,9 +9188,12 @@ public final class HBaseProtos { public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - name_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } return s; } else { return (java.lang.String) ref; @@ -9291,10 +9262,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.Coprocessor) } - public interface NameStringPairOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface NameStringPairOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.NameStringPair) + com.google.protobuf.MessageOrBuilder { - // required string name = 1; /** * required string name = 1; */ @@ -9309,7 +9280,6 @@ public final class HBaseProtos { com.google.protobuf.ByteString getNameBytes(); - // required string value = 2; /** * required string value = 2; */ @@ -9328,8 +9298,9 @@ public final class HBaseProtos { * Protobuf type {@code hbase.pb.NameStringPair} */ public static final class NameStringPair extends - com.google.protobuf.GeneratedMessage - implements NameStringPairOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.NameStringPair) + NameStringPairOrBuilder { // Use NameStringPair.newBuilder() to construct. private NameStringPair(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -9376,13 +9347,15 @@ public final class HBaseProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - name_ = input.readBytes(); + name_ = bs; break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - value_ = input.readBytes(); + value_ = bs; break; } } @@ -9425,7 +9398,6 @@ public final class HBaseProtos { } private int bitField0_; - // required string name = 1; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; /** @@ -9468,7 +9440,6 @@ public final class HBaseProtos { } } - // required string value = 2; public static final int VALUE_FIELD_NUMBER = 2; private java.lang.Object value_; /** @@ -9518,7 +9489,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasName()) { memoizedIsInitialized = 0; @@ -9596,7 +9568,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -9687,8 +9658,9 @@ public final class HBaseProtos { * Protobuf type {@code hbase.pb.NameStringPair} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameStringPairOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.NameStringPair) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameStringPairOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_NameStringPair_descriptor; @@ -9822,7 +9794,6 @@ public final class HBaseProtos { } private int bitField0_; - // required string name = 1; private java.lang.Object name_ = ""; /** * required string name = 1; @@ -9836,9 +9807,12 @@ public final class HBaseProtos { public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - name_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } return s; } else { return (java.lang.String) ref; @@ -9896,7 +9870,6 @@ public final class HBaseProtos { return this; } - // required string value = 2; private java.lang.Object value_ = ""; /** * required string value = 2; @@ -9910,9 +9883,12 @@ public final class HBaseProtos { public java.lang.String getValue() { java.lang.Object ref = value_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - value_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + value_ = s; + } return s; } else { return (java.lang.String) ref; @@ -9981,10 +9957,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.NameStringPair) } - public interface NameBytesPairOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface NameBytesPairOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.NameBytesPair) + com.google.protobuf.MessageOrBuilder { - // required string name = 1; /** * required string name = 1; */ @@ -9999,7 +9975,6 @@ public final class HBaseProtos { com.google.protobuf.ByteString getNameBytes(); - // optional bytes value = 2; /** * optional bytes value = 2; */ @@ -10013,8 +9988,9 @@ public final class HBaseProtos { * Protobuf type {@code hbase.pb.NameBytesPair} */ public static final class NameBytesPair extends - com.google.protobuf.GeneratedMessage - implements NameBytesPairOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.NameBytesPair) + NameBytesPairOrBuilder { // Use NameBytesPair.newBuilder() to construct. private NameBytesPair(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -10061,8 +10037,9 @@ public final class HBaseProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - name_ = input.readBytes(); + name_ = bs; break; } case 18: { @@ -10110,7 +10087,6 @@ public final class HBaseProtos { } private int bitField0_; - // required string name = 1; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; /** @@ -10153,7 +10129,6 @@ public final class HBaseProtos { } } - // optional bytes value = 2; public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_; /** @@ -10176,7 +10151,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasName()) { memoizedIsInitialized = 0; @@ -10250,7 +10226,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -10341,8 +10316,9 @@ public final class HBaseProtos { * Protobuf type {@code hbase.pb.NameBytesPair} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.NameBytesPair) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameBytesPairOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_NameBytesPair_descriptor; @@ -10470,7 +10446,6 @@ public final class HBaseProtos { } private int bitField0_; - // required string name = 1; private java.lang.Object name_ = ""; /** * required string name = 1; @@ -10484,9 +10459,12 @@ public final class HBaseProtos { public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - name_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } return s; } else { return (java.lang.String) ref; @@ -10544,7 +10522,6 @@ public final class HBaseProtos { return this; } - // optional bytes value = 2; private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes value = 2; @@ -10591,10 +10568,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.NameBytesPair) } - public interface BytesBytesPairOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface BytesBytesPairOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.BytesBytesPair) + com.google.protobuf.MessageOrBuilder { - // required bytes first = 1; /** * required bytes first = 1; */ @@ -10604,7 +10581,6 @@ public final class HBaseProtos { */ com.google.protobuf.ByteString getFirst(); - // required bytes second = 2; /** * required bytes second = 2; */ @@ -10618,8 +10594,9 @@ public final class HBaseProtos { * Protobuf type {@code hbase.pb.BytesBytesPair} */ public static final class BytesBytesPair extends - com.google.protobuf.GeneratedMessage - implements BytesBytesPairOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.BytesBytesPair) + BytesBytesPairOrBuilder { // Use BytesBytesPair.newBuilder() to construct. private BytesBytesPair(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -10715,7 +10692,6 @@ public final class HBaseProtos { } private int bitField0_; - // required bytes first = 1; public static final int FIRST_FIELD_NUMBER = 1; private com.google.protobuf.ByteString first_; /** @@ -10731,7 +10707,6 @@ public final class HBaseProtos { return first_; } - // required bytes second = 2; public static final int SECOND_FIELD_NUMBER = 2; private com.google.protobuf.ByteString second_; /** @@ -10754,7 +10729,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasFirst()) { memoizedIsInitialized = 0; @@ -10832,7 +10808,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -10923,8 +10898,9 @@ public final class HBaseProtos { * Protobuf type {@code hbase.pb.BytesBytesPair} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.BytesBytesPairOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.BytesBytesPair) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.BytesBytesPairOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_BytesBytesPair_descriptor; @@ -11054,7 +11030,6 @@ public final class HBaseProtos { } private int bitField0_; - // required bytes first = 1; private com.google.protobuf.ByteString first_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes first = 1; @@ -11090,7 +11065,6 @@ public final class HBaseProtos { return this; } - // required bytes second = 2; private com.google.protobuf.ByteString second_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes second = 2; @@ -11137,10 +11111,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.BytesBytesPair) } - public interface NameInt64PairOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface NameInt64PairOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.NameInt64Pair) + com.google.protobuf.MessageOrBuilder { - // optional string name = 1; /** * optional string name = 1; */ @@ -11155,7 +11129,6 @@ public final class HBaseProtos { com.google.protobuf.ByteString getNameBytes(); - // optional int64 value = 2; /** * optional int64 value = 2; */ @@ -11169,8 +11142,9 @@ public final class HBaseProtos { * Protobuf type {@code hbase.pb.NameInt64Pair} */ public static final class NameInt64Pair extends - com.google.protobuf.GeneratedMessage - implements NameInt64PairOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.NameInt64Pair) + NameInt64PairOrBuilder { // Use NameInt64Pair.newBuilder() to construct. private NameInt64Pair(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -11217,8 +11191,9 @@ public final class HBaseProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - name_ = input.readBytes(); + name_ = bs; break; } case 16: { @@ -11266,7 +11241,6 @@ public final class HBaseProtos { } private int bitField0_; - // optional string name = 1; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; /** @@ -11309,7 +11283,6 @@ public final class HBaseProtos { } } - // optional int64 value = 2; public static final int VALUE_FIELD_NUMBER = 2; private long value_; /** @@ -11332,7 +11305,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -11402,7 +11376,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -11416,7 +11389,8 @@ public final class HBaseProtos { } if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getValue()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getValue()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -11493,8 +11467,9 @@ public final class HBaseProtos { * Protobuf type {@code hbase.pb.NameInt64Pair} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameInt64PairOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.NameInt64Pair) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameInt64PairOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_NameInt64Pair_descriptor; @@ -11618,7 +11593,6 @@ public final class HBaseProtos { } private int bitField0_; - // optional string name = 1; private java.lang.Object name_ = ""; /** * optional string name = 1; @@ -11632,9 +11606,12 @@ public final class HBaseProtos { public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - name_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } return s; } else { return (java.lang.String) ref; @@ -11692,7 +11669,6 @@ public final class HBaseProtos { return this; } - // optional int64 value = 2; private long value_ ; /** * optional int64 value = 2; @@ -11736,10 +11712,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.NameInt64Pair) } - public interface SnapshotDescriptionOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface SnapshotDescriptionOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.SnapshotDescription) + com.google.protobuf.MessageOrBuilder { - // required string name = 1; /** * required string name = 1; */ @@ -11754,7 +11730,6 @@ public final class HBaseProtos { com.google.protobuf.ByteString getNameBytes(); - // optional string table = 2; /** * optional string table = 2; * @@ -11781,7 +11756,6 @@ public final class HBaseProtos { com.google.protobuf.ByteString getTableBytes(); - // optional int64 creation_time = 3 [default = 0]; /** * optional int64 creation_time = 3 [default = 0]; */ @@ -11791,7 +11765,6 @@ public final class HBaseProtos { */ long getCreationTime(); - // optional .hbase.pb.SnapshotDescription.Type type = 4 [default = FLUSH]; /** * optional .hbase.pb.SnapshotDescription.Type type = 4 [default = FLUSH]; */ @@ -11801,7 +11774,6 @@ public final class HBaseProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Type getType(); - // optional int32 version = 5; /** * optional int32 version = 5; */ @@ -11811,7 +11783,6 @@ public final class HBaseProtos { */ int getVersion(); - // optional string owner = 6; /** * optional string owner = 6; */ @@ -11835,8 +11806,9 @@ public final class HBaseProtos { * */ public static final class SnapshotDescription extends - com.google.protobuf.GeneratedMessage - implements SnapshotDescriptionOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.SnapshotDescription) + SnapshotDescriptionOrBuilder { // Use SnapshotDescription.newBuilder() to construct. private SnapshotDescription(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -11883,13 +11855,15 @@ public final class HBaseProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - name_ = input.readBytes(); + name_ = bs; break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - table_ = input.readBytes(); + table_ = bs; break; } case 24: { @@ -11914,8 +11888,9 @@ public final class HBaseProtos { break; } case 50: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; - owner_ = input.readBytes(); + owner_ = bs; break; } } @@ -12049,7 +12024,6 @@ public final class HBaseProtos { } private int bitField0_; - // required string name = 1; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; /** @@ -12092,7 +12066,6 @@ public final class HBaseProtos { } } - // optional string table = 2; public static final int TABLE_FIELD_NUMBER = 2; private java.lang.Object table_; /** @@ -12147,7 +12120,6 @@ public final class HBaseProtos { } } - // optional int64 creation_time = 3 [default = 0]; public static final int CREATION_TIME_FIELD_NUMBER = 3; private long creationTime_; /** @@ -12163,7 +12135,6 @@ public final class HBaseProtos { return creationTime_; } - // optional .hbase.pb.SnapshotDescription.Type type = 4 [default = FLUSH]; public static final int TYPE_FIELD_NUMBER = 4; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Type type_; /** @@ -12179,7 +12150,6 @@ public final class HBaseProtos { return type_; } - // optional int32 version = 5; public static final int VERSION_FIELD_NUMBER = 5; private int version_; /** @@ -12195,7 +12165,6 @@ public final class HBaseProtos { return version_; } - // optional string owner = 6; public static final int OWNER_FIELD_NUMBER = 6; private java.lang.Object owner_; /** @@ -12249,7 +12218,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasName()) { memoizedIsInitialized = 0; @@ -12371,7 +12341,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -12389,11 +12358,13 @@ public final class HBaseProtos { } if (hasCreationTime()) { hash = (37 * hash) + CREATION_TIME_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getCreationTime()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCreationTime()); } if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getType()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getType()); } if (hasVersion()) { hash = (37 * hash) + VERSION_FIELD_NUMBER; @@ -12483,8 +12454,9 @@ public final class HBaseProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescriptionOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.SnapshotDescription) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_SnapshotDescription_descriptor; @@ -12652,7 +12624,6 @@ public final class HBaseProtos { } private int bitField0_; - // required string name = 1; private java.lang.Object name_ = ""; /** * required string name = 1; @@ -12666,9 +12637,12 @@ public final class HBaseProtos { public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - name_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } return s; } else { return (java.lang.String) ref; @@ -12726,7 +12700,6 @@ public final class HBaseProtos { return this; } - // optional string table = 2; private java.lang.Object table_ = ""; /** * optional string table = 2; @@ -12748,9 +12721,12 @@ public final class HBaseProtos { public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - table_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + table_ = s; + } return s; } else { return (java.lang.String) ref; @@ -12824,7 +12800,6 @@ public final class HBaseProtos { return this; } - // optional int64 creation_time = 3 [default = 0]; private long creationTime_ ; /** * optional int64 creation_time = 3 [default = 0]; @@ -12857,7 +12832,6 @@ public final class HBaseProtos { return this; } - // optional .hbase.pb.SnapshotDescription.Type type = 4 [default = FLUSH]; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Type type_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription.Type.FLUSH; /** * optional .hbase.pb.SnapshotDescription.Type type = 4 [default = FLUSH]; @@ -12893,7 +12867,6 @@ public final class HBaseProtos { return this; } - // optional int32 version = 5; private int version_ ; /** * optional int32 version = 5; @@ -12926,7 +12899,6 @@ public final class HBaseProtos { return this; } - // optional string owner = 6; private java.lang.Object owner_ = ""; /** * optional string owner = 6; @@ -12940,9 +12912,12 @@ public final class HBaseProtos { public java.lang.String getOwner() { java.lang.Object ref = owner_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - owner_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + owner_ = s; + } return s; } else { return (java.lang.String) ref; @@ -13011,10 +12986,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.SnapshotDescription) } - public interface ProcedureDescriptionOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ProcedureDescriptionOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ProcedureDescription) + com.google.protobuf.MessageOrBuilder { - // required string signature = 1; /** * required string signature = 1; * @@ -13041,7 +13016,6 @@ public final class HBaseProtos { com.google.protobuf.ByteString getSignatureBytes(); - // optional string instance = 2; /** * optional string instance = 2; * @@ -13068,7 +13042,6 @@ public final class HBaseProtos { com.google.protobuf.ByteString getInstanceBytes(); - // optional int64 creation_time = 3 [default = 0]; /** * optional int64 creation_time = 3 [default = 0]; */ @@ -13078,7 +13051,6 @@ public final class HBaseProtos { */ long getCreationTime(); - // repeated .hbase.pb.NameStringPair configuration = 4; /** * repeated .hbase.pb.NameStringPair configuration = 4; */ @@ -13112,8 +13084,9 @@ public final class HBaseProtos { * */ public static final class ProcedureDescription extends - com.google.protobuf.GeneratedMessage - implements ProcedureDescriptionOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ProcedureDescription) + ProcedureDescriptionOrBuilder { // Use ProcedureDescription.newBuilder() to construct. private ProcedureDescription(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -13160,13 +13133,15 @@ public final class HBaseProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - signature_ = input.readBytes(); + signature_ = bs; break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - instance_ = input.readBytes(); + instance_ = bs; break; } case 24: { @@ -13225,7 +13200,6 @@ public final class HBaseProtos { } private int bitField0_; - // required string signature = 1; public static final int SIGNATURE_FIELD_NUMBER = 1; private java.lang.Object signature_; /** @@ -13280,7 +13254,6 @@ public final class HBaseProtos { } } - // optional string instance = 2; public static final int INSTANCE_FIELD_NUMBER = 2; private java.lang.Object instance_; /** @@ -13335,7 +13308,6 @@ public final class HBaseProtos { } } - // optional int64 creation_time = 3 [default = 0]; public static final int CREATION_TIME_FIELD_NUMBER = 3; private long creationTime_; /** @@ -13351,7 +13323,6 @@ public final class HBaseProtos { return creationTime_; } - // repeated .hbase.pb.NameStringPair configuration = 4; public static final int CONFIGURATION_FIELD_NUMBER = 4; private java.util.List configuration_; /** @@ -13396,7 +13367,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasSignature()) { memoizedIsInitialized = 0; @@ -13497,7 +13469,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -13515,7 +13486,8 @@ public final class HBaseProtos { } if (hasCreationTime()) { hash = (37 * hash) + CREATION_TIME_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getCreationTime()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getCreationTime()); } if (getConfigurationCount() > 0) { hash = (37 * hash) + CONFIGURATION_FIELD_NUMBER; @@ -13601,8 +13573,9 @@ public final class HBaseProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ProcedureDescriptionOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ProcedureDescription) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ProcedureDescriptionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_ProcedureDescription_descriptor; @@ -13789,7 +13762,6 @@ public final class HBaseProtos { } private int bitField0_; - // required string signature = 1; private java.lang.Object signature_ = ""; /** * required string signature = 1; @@ -13811,9 +13783,12 @@ public final class HBaseProtos { public java.lang.String getSignature() { java.lang.Object ref = signature_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - signature_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + signature_ = s; + } return s; } else { return (java.lang.String) ref; @@ -13887,7 +13862,6 @@ public final class HBaseProtos { return this; } - // optional string instance = 2; private java.lang.Object instance_ = ""; /** * optional string instance = 2; @@ -13909,9 +13883,12 @@ public final class HBaseProtos { public java.lang.String getInstance() { java.lang.Object ref = instance_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - instance_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + instance_ = s; + } return s; } else { return (java.lang.String) ref; @@ -13985,7 +13962,6 @@ public final class HBaseProtos { return this; } - // optional int64 creation_time = 3 [default = 0]; private long creationTime_ ; /** * optional int64 creation_time = 3 [default = 0]; @@ -14018,7 +13994,6 @@ public final class HBaseProtos { return this; } - // repeated .hbase.pb.NameStringPair configuration = 4; private java.util.List configuration_ = java.util.Collections.emptyList(); private void ensureConfigurationIsMutable() { @@ -14160,7 +14135,8 @@ public final class HBaseProtos { java.lang.Iterable values) { if (configurationBuilder_ == null) { ensureConfigurationIsMutable(); - super.addAll(values, configuration_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, configuration_); onChanged(); } else { configurationBuilder_.addAllMessages(values); @@ -14269,15 +14245,17 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ProcedureDescription) } - public interface EmptyMsgOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface EmptyMsgOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.EmptyMsg) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.EmptyMsg} */ public static final class EmptyMsg extends - com.google.protobuf.GeneratedMessage - implements EmptyMsgOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.EmptyMsg) + EmptyMsgOrBuilder { // Use EmptyMsg.newBuilder() to construct. private EmptyMsg(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -14366,7 +14344,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -14412,7 +14391,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -14495,8 +14473,9 @@ public final class HBaseProtos { * Protobuf type {@code hbase.pb.EmptyMsg} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.EmptyMsgOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.EmptyMsg) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.EmptyMsgOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_EmptyMsg_descriptor; @@ -14607,10 +14586,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.EmptyMsg) } - public interface LongMsgOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface LongMsgOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.LongMsg) + com.google.protobuf.MessageOrBuilder { - // required int64 long_msg = 1; /** * required int64 long_msg = 1; */ @@ -14624,8 +14603,9 @@ public final class HBaseProtos { * Protobuf type {@code hbase.pb.LongMsg} */ public static final class LongMsg extends - com.google.protobuf.GeneratedMessage - implements LongMsgOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.LongMsg) + LongMsgOrBuilder { // Use LongMsg.newBuilder() to construct. private LongMsg(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -14716,7 +14696,6 @@ public final class HBaseProtos { } private int bitField0_; - // required int64 long_msg = 1; public static final int LONG_MSG_FIELD_NUMBER = 1; private long longMsg_; /** @@ -14738,7 +14717,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasLongMsg()) { memoizedIsInitialized = 0; @@ -14800,7 +14780,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -14810,7 +14789,8 @@ public final class HBaseProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasLongMsg()) { hash = (37 * hash) + LONG_MSG_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getLongMsg()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLongMsg()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -14887,8 +14867,9 @@ public final class HBaseProtos { * Protobuf type {@code hbase.pb.LongMsg} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.LongMsgOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.LongMsg) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.LongMsgOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_LongMsg_descriptor; @@ -15005,7 +14986,6 @@ public final class HBaseProtos { } private int bitField0_; - // required int64 long_msg = 1; private long longMsg_ ; /** * required int64 long_msg = 1; @@ -15049,10 +15029,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.LongMsg) } - public interface DoubleMsgOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface DoubleMsgOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.DoubleMsg) + com.google.protobuf.MessageOrBuilder { - // required double double_msg = 1; /** * required double double_msg = 1; */ @@ -15066,8 +15046,9 @@ public final class HBaseProtos { * Protobuf type {@code hbase.pb.DoubleMsg} */ public static final class DoubleMsg extends - com.google.protobuf.GeneratedMessage - implements DoubleMsgOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.DoubleMsg) + DoubleMsgOrBuilder { // Use DoubleMsg.newBuilder() to construct. private DoubleMsg(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -15158,7 +15139,6 @@ public final class HBaseProtos { } private int bitField0_; - // required double double_msg = 1; public static final int DOUBLE_MSG_FIELD_NUMBER = 1; private double doubleMsg_; /** @@ -15180,7 +15160,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasDoubleMsg()) { memoizedIsInitialized = 0; @@ -15234,14 +15215,16 @@ public final class HBaseProtos { boolean result = true; result = result && (hasDoubleMsg() == other.hasDoubleMsg()); if (hasDoubleMsg()) { - result = result && (Double.doubleToLongBits(getDoubleMsg()) == Double.doubleToLongBits(other.getDoubleMsg())); + result = result && ( + java.lang.Double.doubleToLongBits(getDoubleMsg()) + == java.lang.Double.doubleToLongBits( + other.getDoubleMsg())); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -15251,8 +15234,8 @@ public final class HBaseProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasDoubleMsg()) { hash = (37 * hash) + DOUBLE_MSG_FIELD_NUMBER; - hash = (53 * hash) + hashLong( - Double.doubleToLongBits(getDoubleMsg())); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getDoubleMsg())); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -15329,8 +15312,9 @@ public final class HBaseProtos { * Protobuf type {@code hbase.pb.DoubleMsg} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.DoubleMsgOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.DoubleMsg) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.DoubleMsgOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_DoubleMsg_descriptor; @@ -15447,7 +15431,6 @@ public final class HBaseProtos { } private int bitField0_; - // required double double_msg = 1; private double doubleMsg_ ; /** * required double double_msg = 1; @@ -15491,10 +15474,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.DoubleMsg) } - public interface BigDecimalMsgOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface BigDecimalMsgOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.BigDecimalMsg) + com.google.protobuf.MessageOrBuilder { - // required bytes bigdecimal_msg = 1; /** * required bytes bigdecimal_msg = 1; */ @@ -15508,8 +15491,9 @@ public final class HBaseProtos { * Protobuf type {@code hbase.pb.BigDecimalMsg} */ public static final class BigDecimalMsg extends - com.google.protobuf.GeneratedMessage - implements BigDecimalMsgOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.BigDecimalMsg) + BigDecimalMsgOrBuilder { // Use BigDecimalMsg.newBuilder() to construct. private BigDecimalMsg(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -15600,7 +15584,6 @@ public final class HBaseProtos { } private int bitField0_; - // required bytes bigdecimal_msg = 1; public static final int BIGDECIMAL_MSG_FIELD_NUMBER = 1; private com.google.protobuf.ByteString bigdecimalMsg_; /** @@ -15622,7 +15605,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasBigdecimalMsg()) { memoizedIsInitialized = 0; @@ -15684,7 +15668,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -15771,8 +15754,9 @@ public final class HBaseProtos { * Protobuf type {@code hbase.pb.BigDecimalMsg} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.BigDecimalMsgOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.BigDecimalMsg) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.BigDecimalMsgOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_BigDecimalMsg_descriptor; @@ -15889,7 +15873,6 @@ public final class HBaseProtos { } private int bitField0_; - // required bytes bigdecimal_msg = 1; private com.google.protobuf.ByteString bigdecimalMsg_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes bigdecimal_msg = 1; @@ -15936,10 +15919,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.BigDecimalMsg) } - public interface UUIDOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface UUIDOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.UUID) + com.google.protobuf.MessageOrBuilder { - // required uint64 least_sig_bits = 1; /** * required uint64 least_sig_bits = 1; */ @@ -15949,7 +15932,6 @@ public final class HBaseProtos { */ long getLeastSigBits(); - // required uint64 most_sig_bits = 2; /** * required uint64 most_sig_bits = 2; */ @@ -15963,8 +15945,9 @@ public final class HBaseProtos { * Protobuf type {@code hbase.pb.UUID} */ public static final class UUID extends - com.google.protobuf.GeneratedMessage - implements UUIDOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.UUID) + UUIDOrBuilder { // Use UUID.newBuilder() to construct. private UUID(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -16060,7 +16043,6 @@ public final class HBaseProtos { } private int bitField0_; - // required uint64 least_sig_bits = 1; public static final int LEAST_SIG_BITS_FIELD_NUMBER = 1; private long leastSigBits_; /** @@ -16076,7 +16058,6 @@ public final class HBaseProtos { return leastSigBits_; } - // required uint64 most_sig_bits = 2; public static final int MOST_SIG_BITS_FIELD_NUMBER = 2; private long mostSigBits_; /** @@ -16099,7 +16080,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasLeastSigBits()) { memoizedIsInitialized = 0; @@ -16177,7 +16159,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -16187,11 +16168,13 @@ public final class HBaseProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasLeastSigBits()) { hash = (37 * hash) + LEAST_SIG_BITS_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getLeastSigBits()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLeastSigBits()); } if (hasMostSigBits()) { hash = (37 * hash) + MOST_SIG_BITS_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getMostSigBits()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getMostSigBits()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -16268,8 +16251,9 @@ public final class HBaseProtos { * Protobuf type {@code hbase.pb.UUID} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.UUIDOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.UUID) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.UUIDOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_UUID_descriptor; @@ -16399,7 +16383,6 @@ public final class HBaseProtos { } private int bitField0_; - // required uint64 least_sig_bits = 1; private long leastSigBits_ ; /** * required uint64 least_sig_bits = 1; @@ -16432,7 +16415,6 @@ public final class HBaseProtos { return this; } - // required uint64 most_sig_bits = 2; private long mostSigBits_ ; /** * required uint64 most_sig_bits = 2; @@ -16476,10 +16458,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.UUID) } - public interface NamespaceDescriptorOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface NamespaceDescriptorOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.NamespaceDescriptor) + com.google.protobuf.MessageOrBuilder { - // required bytes name = 1; /** * required bytes name = 1; */ @@ -16489,7 +16471,6 @@ public final class HBaseProtos { */ com.google.protobuf.ByteString getName(); - // repeated .hbase.pb.NameStringPair configuration = 2; /** * repeated .hbase.pb.NameStringPair configuration = 2; */ @@ -16518,8 +16499,9 @@ public final class HBaseProtos { * Protobuf type {@code hbase.pb.NamespaceDescriptor} */ public static final class NamespaceDescriptor extends - com.google.protobuf.GeneratedMessage - implements NamespaceDescriptorOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.NamespaceDescriptor) + NamespaceDescriptorOrBuilder { // Use NamespaceDescriptor.newBuilder() to construct. private NamespaceDescriptor(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -16621,7 +16603,6 @@ public final class HBaseProtos { } private int bitField0_; - // required bytes name = 1; public static final int NAME_FIELD_NUMBER = 1; private com.google.protobuf.ByteString name_; /** @@ -16637,7 +16618,6 @@ public final class HBaseProtos { return name_; } - // repeated .hbase.pb.NameStringPair configuration = 2; public static final int CONFIGURATION_FIELD_NUMBER = 2; private java.util.List configuration_; /** @@ -16680,7 +16660,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasName()) { memoizedIsInitialized = 0; @@ -16757,7 +16738,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -16848,8 +16828,9 @@ public final class HBaseProtos { * Protobuf type {@code hbase.pb.NamespaceDescriptor} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NamespaceDescriptorOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.NamespaceDescriptor) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NamespaceDescriptorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_NamespaceDescriptor_descriptor; @@ -17014,7 +16995,6 @@ public final class HBaseProtos { } private int bitField0_; - // required bytes name = 1; private com.google.protobuf.ByteString name_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes name = 1; @@ -17050,7 +17030,6 @@ public final class HBaseProtos { return this; } - // repeated .hbase.pb.NameStringPair configuration = 2; private java.util.List configuration_ = java.util.Collections.emptyList(); private void ensureConfigurationIsMutable() { @@ -17192,7 +17171,8 @@ public final class HBaseProtos { java.lang.Iterable values) { if (configurationBuilder_ == null) { ensureConfigurationIsMutable(); - super.addAll(values, configuration_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, configuration_); onChanged(); } else { configurationBuilder_.addAllMessages(values); @@ -17301,10 +17281,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.NamespaceDescriptor) } - public interface VersionInfoOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface VersionInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.VersionInfo) + com.google.protobuf.MessageOrBuilder { - // required string version = 1; /** * required string version = 1; */ @@ -17319,7 +17299,6 @@ public final class HBaseProtos { com.google.protobuf.ByteString getVersionBytes(); - // required string url = 2; /** * required string url = 2; */ @@ -17334,7 +17313,6 @@ public final class HBaseProtos { com.google.protobuf.ByteString getUrlBytes(); - // required string revision = 3; /** * required string revision = 3; */ @@ -17349,7 +17327,6 @@ public final class HBaseProtos { com.google.protobuf.ByteString getRevisionBytes(); - // required string user = 4; /** * required string user = 4; */ @@ -17364,7 +17341,6 @@ public final class HBaseProtos { com.google.protobuf.ByteString getUserBytes(); - // required string date = 5; /** * required string date = 5; */ @@ -17379,7 +17355,6 @@ public final class HBaseProtos { com.google.protobuf.ByteString getDateBytes(); - // required string src_checksum = 6; /** * required string src_checksum = 6; */ @@ -17394,7 +17369,6 @@ public final class HBaseProtos { com.google.protobuf.ByteString getSrcChecksumBytes(); - // optional uint32 version_major = 7; /** * optional uint32 version_major = 7; */ @@ -17404,7 +17378,6 @@ public final class HBaseProtos { */ int getVersionMajor(); - // optional uint32 version_minor = 8; /** * optional uint32 version_minor = 8; */ @@ -17422,8 +17395,9 @@ public final class HBaseProtos { * */ public static final class VersionInfo extends - com.google.protobuf.GeneratedMessage - implements VersionInfoOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.VersionInfo) + VersionInfoOrBuilder { // Use VersionInfo.newBuilder() to construct. private VersionInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -17470,33 +17444,39 @@ public final class HBaseProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - version_ = input.readBytes(); + version_ = bs; break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - url_ = input.readBytes(); + url_ = bs; break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; - revision_ = input.readBytes(); + revision_ = bs; break; } case 34: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; - user_ = input.readBytes(); + user_ = bs; break; } case 42: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; - date_ = input.readBytes(); + date_ = bs; break; } case 50: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; - srcChecksum_ = input.readBytes(); + srcChecksum_ = bs; break; } case 56: { @@ -17549,7 +17529,6 @@ public final class HBaseProtos { } private int bitField0_; - // required string version = 1; public static final int VERSION_FIELD_NUMBER = 1; private java.lang.Object version_; /** @@ -17592,7 +17571,6 @@ public final class HBaseProtos { } } - // required string url = 2; public static final int URL_FIELD_NUMBER = 2; private java.lang.Object url_; /** @@ -17635,7 +17613,6 @@ public final class HBaseProtos { } } - // required string revision = 3; public static final int REVISION_FIELD_NUMBER = 3; private java.lang.Object revision_; /** @@ -17678,7 +17655,6 @@ public final class HBaseProtos { } } - // required string user = 4; public static final int USER_FIELD_NUMBER = 4; private java.lang.Object user_; /** @@ -17721,7 +17697,6 @@ public final class HBaseProtos { } } - // required string date = 5; public static final int DATE_FIELD_NUMBER = 5; private java.lang.Object date_; /** @@ -17764,7 +17739,6 @@ public final class HBaseProtos { } } - // required string src_checksum = 6; public static final int SRC_CHECKSUM_FIELD_NUMBER = 6; private java.lang.Object srcChecksum_; /** @@ -17807,7 +17781,6 @@ public final class HBaseProtos { } } - // optional uint32 version_major = 7; public static final int VERSION_MAJOR_FIELD_NUMBER = 7; private int versionMajor_; /** @@ -17823,7 +17796,6 @@ public final class HBaseProtos { return versionMajor_; } - // optional uint32 version_minor = 8; public static final int VERSION_MINOR_FIELD_NUMBER = 8; private int versionMinor_; /** @@ -17852,7 +17824,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasVersion()) { memoizedIsInitialized = 0; @@ -18018,7 +17991,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -18137,8 +18109,9 @@ public final class HBaseProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.VersionInfoOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.VersionInfo) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.VersionInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_VersionInfo_descriptor; @@ -18350,7 +18323,6 @@ public final class HBaseProtos { } private int bitField0_; - // required string version = 1; private java.lang.Object version_ = ""; /** * required string version = 1; @@ -18364,9 +18336,12 @@ public final class HBaseProtos { public java.lang.String getVersion() { java.lang.Object ref = version_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - version_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + version_ = s; + } return s; } else { return (java.lang.String) ref; @@ -18424,7 +18399,6 @@ public final class HBaseProtos { return this; } - // required string url = 2; private java.lang.Object url_ = ""; /** * required string url = 2; @@ -18438,9 +18412,12 @@ public final class HBaseProtos { public java.lang.String getUrl() { java.lang.Object ref = url_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - url_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + url_ = s; + } return s; } else { return (java.lang.String) ref; @@ -18498,7 +18475,6 @@ public final class HBaseProtos { return this; } - // required string revision = 3; private java.lang.Object revision_ = ""; /** * required string revision = 3; @@ -18512,9 +18488,12 @@ public final class HBaseProtos { public java.lang.String getRevision() { java.lang.Object ref = revision_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - revision_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + revision_ = s; + } return s; } else { return (java.lang.String) ref; @@ -18572,7 +18551,6 @@ public final class HBaseProtos { return this; } - // required string user = 4; private java.lang.Object user_ = ""; /** * required string user = 4; @@ -18586,9 +18564,12 @@ public final class HBaseProtos { public java.lang.String getUser() { java.lang.Object ref = user_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - user_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + user_ = s; + } return s; } else { return (java.lang.String) ref; @@ -18646,7 +18627,6 @@ public final class HBaseProtos { return this; } - // required string date = 5; private java.lang.Object date_ = ""; /** * required string date = 5; @@ -18660,9 +18640,12 @@ public final class HBaseProtos { public java.lang.String getDate() { java.lang.Object ref = date_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - date_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + date_ = s; + } return s; } else { return (java.lang.String) ref; @@ -18720,7 +18703,6 @@ public final class HBaseProtos { return this; } - // required string src_checksum = 6; private java.lang.Object srcChecksum_ = ""; /** * required string src_checksum = 6; @@ -18734,9 +18716,12 @@ public final class HBaseProtos { public java.lang.String getSrcChecksum() { java.lang.Object ref = srcChecksum_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - srcChecksum_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + srcChecksum_ = s; + } return s; } else { return (java.lang.String) ref; @@ -18794,7 +18779,6 @@ public final class HBaseProtos { return this; } - // optional uint32 version_major = 7; private int versionMajor_ ; /** * optional uint32 version_major = 7; @@ -18827,7 +18811,6 @@ public final class HBaseProtos { return this; } - // optional uint32 version_minor = 8; private int versionMinor_ ; /** * optional uint32 version_minor = 8; @@ -18871,10 +18854,10 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.VersionInfo) } - public interface RegionServerInfoOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RegionServerInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.RegionServerInfo) + com.google.protobuf.MessageOrBuilder { - // optional int32 infoPort = 1; /** * optional int32 infoPort = 1; */ @@ -18884,7 +18867,6 @@ public final class HBaseProtos { */ int getInfoPort(); - // optional .hbase.pb.VersionInfo version_info = 2; /** * optional .hbase.pb.VersionInfo version_info = 2; */ @@ -18907,8 +18889,9 @@ public final class HBaseProtos { * */ public static final class RegionServerInfo extends - com.google.protobuf.GeneratedMessage - implements RegionServerInfoOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.RegionServerInfo) + RegionServerInfoOrBuilder { // Use RegionServerInfo.newBuilder() to construct. private RegionServerInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -19012,7 +18995,6 @@ public final class HBaseProtos { } private int bitField0_; - // optional int32 infoPort = 1; public static final int INFOPORT_FIELD_NUMBER = 1; private int infoPort_; /** @@ -19028,7 +19010,6 @@ public final class HBaseProtos { return infoPort_; } - // optional .hbase.pb.VersionInfo version_info = 2; public static final int VERSION_INFO_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.VersionInfo versionInfo_; /** @@ -19057,7 +19038,8 @@ public final class HBaseProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (hasVersionInfo()) { if (!getVersionInfo().isInitialized()) { @@ -19133,7 +19115,6 @@ public final class HBaseProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -19229,8 +19210,9 @@ public final class HBaseProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionServerInfoOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.RegionServerInfo) + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionServerInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.internal_static_hbase_pb_RegionServerInfo_descriptor; @@ -19367,7 +19349,6 @@ public final class HBaseProtos { } private int bitField0_; - // optional int32 infoPort = 1; private int infoPort_ ; /** * optional int32 infoPort = 1; @@ -19400,7 +19381,6 @@ public final class HBaseProtos { return this; } - // optional .hbase.pb.VersionInfo version_info = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.VersionInfo versionInfo_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.VersionInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.VersionInfo, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.VersionInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.VersionInfoOrBuilder> versionInfoBuilder_; @@ -19509,7 +19489,7 @@ public final class HBaseProtos { if (versionInfoBuilder_ == null) { versionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.VersionInfo, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.VersionInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.VersionInfoOrBuilder>( - versionInfo_, + getVersionInfo(), getParentForChildren(), isClean()); versionInfo_ = null; @@ -19528,127 +19508,127 @@ public final class HBaseProtos { // @@protoc_insertion_point(class_scope:hbase.pb.RegionServerInfo) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_TableName_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_TableName_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_TableSchema_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_TableSchema_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_TableState_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_TableState_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ColumnFamilySchema_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ColumnFamilySchema_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RegionInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_RegionInfo_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_FavoredNodes_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_FavoredNodes_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RegionSpecifier_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_RegionSpecifier_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_TimeRange_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_TimeRange_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ColumnFamilyTimeRange_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ColumnFamilyTimeRange_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ServerName_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ServerName_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Coprocessor_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Coprocessor_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_NameStringPair_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_NameStringPair_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_NameBytesPair_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_NameBytesPair_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_BytesBytesPair_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_BytesBytesPair_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_NameInt64Pair_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_NameInt64Pair_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_SnapshotDescription_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_SnapshotDescription_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ProcedureDescription_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ProcedureDescription_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_EmptyMsg_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_EmptyMsg_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_LongMsg_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_LongMsg_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_DoubleMsg_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_DoubleMsg_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_BigDecimalMsg_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_BigDecimalMsg_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_UUID_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_UUID_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_NamespaceDescriptor_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_NamespaceDescriptor_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_VersionInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_VersionInfo_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RegionServerInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -19726,167 +19706,167 @@ public final class HBaseProtos { "e.protobuf.generatedB\013HBaseProtosH\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_TableName_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_TableName_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_TableName_descriptor, - new java.lang.String[] { "Namespace", "Qualifier", }); - internal_static_hbase_pb_TableSchema_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_hbase_pb_TableSchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_TableSchema_descriptor, - new java.lang.String[] { "TableName", "Attributes", "ColumnFamilies", "Configuration", }); - internal_static_hbase_pb_TableState_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_hbase_pb_TableState_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_TableState_descriptor, - new java.lang.String[] { "State", }); - internal_static_hbase_pb_ColumnFamilySchema_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_hbase_pb_ColumnFamilySchema_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ColumnFamilySchema_descriptor, - new java.lang.String[] { "Name", "Attributes", "Configuration", }); - internal_static_hbase_pb_RegionInfo_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_hbase_pb_RegionInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_RegionInfo_descriptor, - new java.lang.String[] { "RegionId", "TableName", "StartKey", "EndKey", "Offline", "Split", "ReplicaId", }); - internal_static_hbase_pb_FavoredNodes_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_hbase_pb_FavoredNodes_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_FavoredNodes_descriptor, - new java.lang.String[] { "FavoredNode", }); - internal_static_hbase_pb_RegionSpecifier_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_hbase_pb_RegionSpecifier_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_RegionSpecifier_descriptor, - new java.lang.String[] { "Type", "Value", }); - internal_static_hbase_pb_TimeRange_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_hbase_pb_TimeRange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_TimeRange_descriptor, - new java.lang.String[] { "From", "To", }); - internal_static_hbase_pb_ColumnFamilyTimeRange_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_hbase_pb_ColumnFamilyTimeRange_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ColumnFamilyTimeRange_descriptor, - new java.lang.String[] { "ColumnFamily", "TimeRange", }); - internal_static_hbase_pb_ServerName_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_hbase_pb_ServerName_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ServerName_descriptor, - new java.lang.String[] { "HostName", "Port", "StartCode", }); - internal_static_hbase_pb_Coprocessor_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_hbase_pb_Coprocessor_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_Coprocessor_descriptor, - new java.lang.String[] { "Name", }); - internal_static_hbase_pb_NameStringPair_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_hbase_pb_NameStringPair_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_NameStringPair_descriptor, - new java.lang.String[] { "Name", "Value", }); - internal_static_hbase_pb_NameBytesPair_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_hbase_pb_NameBytesPair_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_NameBytesPair_descriptor, - new java.lang.String[] { "Name", "Value", }); - internal_static_hbase_pb_BytesBytesPair_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_hbase_pb_BytesBytesPair_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_BytesBytesPair_descriptor, - new java.lang.String[] { "First", "Second", }); - internal_static_hbase_pb_NameInt64Pair_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_hbase_pb_NameInt64Pair_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_NameInt64Pair_descriptor, - new java.lang.String[] { "Name", "Value", }); - internal_static_hbase_pb_SnapshotDescription_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_hbase_pb_SnapshotDescription_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_SnapshotDescription_descriptor, - new java.lang.String[] { "Name", "Table", "CreationTime", "Type", "Version", "Owner", }); - internal_static_hbase_pb_ProcedureDescription_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_hbase_pb_ProcedureDescription_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ProcedureDescription_descriptor, - new java.lang.String[] { "Signature", "Instance", "CreationTime", "Configuration", }); - internal_static_hbase_pb_EmptyMsg_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_hbase_pb_EmptyMsg_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_EmptyMsg_descriptor, - new java.lang.String[] { }); - internal_static_hbase_pb_LongMsg_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_hbase_pb_LongMsg_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_LongMsg_descriptor, - new java.lang.String[] { "LongMsg", }); - internal_static_hbase_pb_DoubleMsg_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_hbase_pb_DoubleMsg_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_DoubleMsg_descriptor, - new java.lang.String[] { "DoubleMsg", }); - internal_static_hbase_pb_BigDecimalMsg_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_hbase_pb_BigDecimalMsg_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_BigDecimalMsg_descriptor, - new java.lang.String[] { "BigdecimalMsg", }); - internal_static_hbase_pb_UUID_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_hbase_pb_UUID_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_UUID_descriptor, - new java.lang.String[] { "LeastSigBits", "MostSigBits", }); - internal_static_hbase_pb_NamespaceDescriptor_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_hbase_pb_NamespaceDescriptor_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_NamespaceDescriptor_descriptor, - new java.lang.String[] { "Name", "Configuration", }); - internal_static_hbase_pb_VersionInfo_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_hbase_pb_VersionInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_VersionInfo_descriptor, - new java.lang.String[] { "Version", "Url", "Revision", "User", "Date", "SrcChecksum", "VersionMajor", "VersionMinor", }); - internal_static_hbase_pb_RegionServerInfo_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_hbase_pb_RegionServerInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_RegionServerInfo_descriptor, - new java.lang.String[] { "InfoPort", "VersionInfo", }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); + internal_static_hbase_pb_TableName_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_TableName_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_TableName_descriptor, + new java.lang.String[] { "Namespace", "Qualifier", }); + internal_static_hbase_pb_TableSchema_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_hbase_pb_TableSchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_TableSchema_descriptor, + new java.lang.String[] { "TableName", "Attributes", "ColumnFamilies", "Configuration", }); + internal_static_hbase_pb_TableState_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_hbase_pb_TableState_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_TableState_descriptor, + new java.lang.String[] { "State", }); + internal_static_hbase_pb_ColumnFamilySchema_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_hbase_pb_ColumnFamilySchema_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ColumnFamilySchema_descriptor, + new java.lang.String[] { "Name", "Attributes", "Configuration", }); + internal_static_hbase_pb_RegionInfo_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_hbase_pb_RegionInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_RegionInfo_descriptor, + new java.lang.String[] { "RegionId", "TableName", "StartKey", "EndKey", "Offline", "Split", "ReplicaId", }); + internal_static_hbase_pb_FavoredNodes_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_hbase_pb_FavoredNodes_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_FavoredNodes_descriptor, + new java.lang.String[] { "FavoredNode", }); + internal_static_hbase_pb_RegionSpecifier_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_hbase_pb_RegionSpecifier_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_RegionSpecifier_descriptor, + new java.lang.String[] { "Type", "Value", }); + internal_static_hbase_pb_TimeRange_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_hbase_pb_TimeRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_TimeRange_descriptor, + new java.lang.String[] { "From", "To", }); + internal_static_hbase_pb_ColumnFamilyTimeRange_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_hbase_pb_ColumnFamilyTimeRange_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ColumnFamilyTimeRange_descriptor, + new java.lang.String[] { "ColumnFamily", "TimeRange", }); + internal_static_hbase_pb_ServerName_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_hbase_pb_ServerName_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ServerName_descriptor, + new java.lang.String[] { "HostName", "Port", "StartCode", }); + internal_static_hbase_pb_Coprocessor_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_hbase_pb_Coprocessor_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_Coprocessor_descriptor, + new java.lang.String[] { "Name", }); + internal_static_hbase_pb_NameStringPair_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_hbase_pb_NameStringPair_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_NameStringPair_descriptor, + new java.lang.String[] { "Name", "Value", }); + internal_static_hbase_pb_NameBytesPair_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_hbase_pb_NameBytesPair_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_NameBytesPair_descriptor, + new java.lang.String[] { "Name", "Value", }); + internal_static_hbase_pb_BytesBytesPair_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_hbase_pb_BytesBytesPair_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_BytesBytesPair_descriptor, + new java.lang.String[] { "First", "Second", }); + internal_static_hbase_pb_NameInt64Pair_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_hbase_pb_NameInt64Pair_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_NameInt64Pair_descriptor, + new java.lang.String[] { "Name", "Value", }); + internal_static_hbase_pb_SnapshotDescription_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_hbase_pb_SnapshotDescription_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_SnapshotDescription_descriptor, + new java.lang.String[] { "Name", "Table", "CreationTime", "Type", "Version", "Owner", }); + internal_static_hbase_pb_ProcedureDescription_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_hbase_pb_ProcedureDescription_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ProcedureDescription_descriptor, + new java.lang.String[] { "Signature", "Instance", "CreationTime", "Configuration", }); + internal_static_hbase_pb_EmptyMsg_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_hbase_pb_EmptyMsg_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_EmptyMsg_descriptor, + new java.lang.String[] { }); + internal_static_hbase_pb_LongMsg_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_hbase_pb_LongMsg_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_LongMsg_descriptor, + new java.lang.String[] { "LongMsg", }); + internal_static_hbase_pb_DoubleMsg_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_hbase_pb_DoubleMsg_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_DoubleMsg_descriptor, + new java.lang.String[] { "DoubleMsg", }); + internal_static_hbase_pb_BigDecimalMsg_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_hbase_pb_BigDecimalMsg_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_BigDecimalMsg_descriptor, + new java.lang.String[] { "BigdecimalMsg", }); + internal_static_hbase_pb_UUID_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_hbase_pb_UUID_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_UUID_descriptor, + new java.lang.String[] { "LeastSigBits", "MostSigBits", }); + internal_static_hbase_pb_NamespaceDescriptor_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_hbase_pb_NamespaceDescriptor_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_NamespaceDescriptor_descriptor, + new java.lang.String[] { "Name", "Configuration", }); + internal_static_hbase_pb_VersionInfo_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_hbase_pb_VersionInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_VersionInfo_descriptor, + new java.lang.String[] { "Version", "Url", "Revision", "User", "Date", "SrcChecksum", "VersionMajor", "VersionMinor", }); + internal_static_hbase_pb_RegionServerInfo_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_hbase_pb_RegionServerInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_RegionServerInfo_descriptor, + new java.lang.String[] { "InfoPort", "VersionInfo", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/HFileProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/HFileProtos.java index 5b6f2f4..962df13 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/HFileProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/HFileProtos.java @@ -8,10 +8,10 @@ public final class HFileProtos { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } - public interface FileInfoProtoOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface FileInfoProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.FileInfoProto) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.BytesBytesPair map_entry = 1; /** * repeated .hbase.pb.BytesBytesPair map_entry = 1; */ @@ -44,8 +44,9 @@ public final class HFileProtos { * */ public static final class FileInfoProto extends - com.google.protobuf.GeneratedMessage - implements FileInfoProtoOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.FileInfoProto) + FileInfoProtoOrBuilder { // Use FileInfoProto.newBuilder() to construct. private FileInfoProto(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -141,7 +142,6 @@ public final class HFileProtos { return PARSER; } - // repeated .hbase.pb.BytesBytesPair map_entry = 1; public static final int MAP_ENTRY_FIELD_NUMBER = 1; private java.util.List mapEntry_; /** @@ -183,7 +183,8 @@ public final class HFileProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getMapEntryCount(); i++) { if (!getMapEntry(i).isInitialized()) { @@ -244,7 +245,6 @@ public final class HFileProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -335,8 +335,9 @@ public final class HFileProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HFileProtos.FileInfoProtoOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.FileInfoProto) + org.apache.hadoop.hbase.protobuf.generated.HFileProtos.FileInfoProtoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HFileProtos.internal_static_hbase_pb_FileInfoProto_descriptor; @@ -486,7 +487,6 @@ public final class HFileProtos { } private int bitField0_; - // repeated .hbase.pb.BytesBytesPair map_entry = 1; private java.util.List mapEntry_ = java.util.Collections.emptyList(); private void ensureMapEntryIsMutable() { @@ -628,7 +628,8 @@ public final class HFileProtos { java.lang.Iterable values) { if (mapEntryBuilder_ == null) { ensureMapEntryIsMutable(); - super.addAll(values, mapEntry_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, mapEntry_); onChanged(); } else { mapEntryBuilder_.addAllMessages(values); @@ -737,10 +738,10 @@ public final class HFileProtos { // @@protoc_insertion_point(class_scope:hbase.pb.FileInfoProto) } - public interface FileTrailerProtoOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface FileTrailerProtoOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.FileTrailerProto) + com.google.protobuf.MessageOrBuilder { - // optional uint64 file_info_offset = 1; /** * optional uint64 file_info_offset = 1; */ @@ -750,7 +751,6 @@ public final class HFileProtos { */ long getFileInfoOffset(); - // optional uint64 load_on_open_data_offset = 2; /** * optional uint64 load_on_open_data_offset = 2; */ @@ -760,7 +760,6 @@ public final class HFileProtos { */ long getLoadOnOpenDataOffset(); - // optional uint64 uncompressed_data_index_size = 3; /** * optional uint64 uncompressed_data_index_size = 3; */ @@ -770,7 +769,6 @@ public final class HFileProtos { */ long getUncompressedDataIndexSize(); - // optional uint64 total_uncompressed_bytes = 4; /** * optional uint64 total_uncompressed_bytes = 4; */ @@ -780,7 +778,6 @@ public final class HFileProtos { */ long getTotalUncompressedBytes(); - // optional uint32 data_index_count = 5; /** * optional uint32 data_index_count = 5; */ @@ -790,7 +787,6 @@ public final class HFileProtos { */ int getDataIndexCount(); - // optional uint32 meta_index_count = 6; /** * optional uint32 meta_index_count = 6; */ @@ -800,7 +796,6 @@ public final class HFileProtos { */ int getMetaIndexCount(); - // optional uint64 entry_count = 7; /** * optional uint64 entry_count = 7; */ @@ -810,7 +805,6 @@ public final class HFileProtos { */ long getEntryCount(); - // optional uint32 num_data_index_levels = 8; /** * optional uint32 num_data_index_levels = 8; */ @@ -820,7 +814,6 @@ public final class HFileProtos { */ int getNumDataIndexLevels(); - // optional uint64 first_data_block_offset = 9; /** * optional uint64 first_data_block_offset = 9; */ @@ -830,7 +823,6 @@ public final class HFileProtos { */ long getFirstDataBlockOffset(); - // optional uint64 last_data_block_offset = 10; /** * optional uint64 last_data_block_offset = 10; */ @@ -840,7 +832,6 @@ public final class HFileProtos { */ long getLastDataBlockOffset(); - // optional string comparator_class_name = 11; /** * optional string comparator_class_name = 11; */ @@ -855,7 +846,6 @@ public final class HFileProtos { com.google.protobuf.ByteString getComparatorClassNameBytes(); - // optional uint32 compression_codec = 12; /** * optional uint32 compression_codec = 12; */ @@ -865,7 +855,6 @@ public final class HFileProtos { */ int getCompressionCodec(); - // optional bytes encryption_key = 13; /** * optional bytes encryption_key = 13; */ @@ -883,8 +872,9 @@ public final class HFileProtos { * */ public static final class FileTrailerProto extends - com.google.protobuf.GeneratedMessage - implements FileTrailerProtoOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.FileTrailerProto) + FileTrailerProtoOrBuilder { // Use FileTrailerProto.newBuilder() to construct. private FileTrailerProto(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -981,8 +971,9 @@ public final class HFileProtos { break; } case 90: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000400; - comparatorClassName_ = input.readBytes(); + comparatorClassName_ = bs; break; } case 96: { @@ -1035,7 +1026,6 @@ public final class HFileProtos { } private int bitField0_; - // optional uint64 file_info_offset = 1; public static final int FILE_INFO_OFFSET_FIELD_NUMBER = 1; private long fileInfoOffset_; /** @@ -1051,7 +1041,6 @@ public final class HFileProtos { return fileInfoOffset_; } - // optional uint64 load_on_open_data_offset = 2; public static final int LOAD_ON_OPEN_DATA_OFFSET_FIELD_NUMBER = 2; private long loadOnOpenDataOffset_; /** @@ -1067,7 +1056,6 @@ public final class HFileProtos { return loadOnOpenDataOffset_; } - // optional uint64 uncompressed_data_index_size = 3; public static final int UNCOMPRESSED_DATA_INDEX_SIZE_FIELD_NUMBER = 3; private long uncompressedDataIndexSize_; /** @@ -1083,7 +1071,6 @@ public final class HFileProtos { return uncompressedDataIndexSize_; } - // optional uint64 total_uncompressed_bytes = 4; public static final int TOTAL_UNCOMPRESSED_BYTES_FIELD_NUMBER = 4; private long totalUncompressedBytes_; /** @@ -1099,7 +1086,6 @@ public final class HFileProtos { return totalUncompressedBytes_; } - // optional uint32 data_index_count = 5; public static final int DATA_INDEX_COUNT_FIELD_NUMBER = 5; private int dataIndexCount_; /** @@ -1115,7 +1101,6 @@ public final class HFileProtos { return dataIndexCount_; } - // optional uint32 meta_index_count = 6; public static final int META_INDEX_COUNT_FIELD_NUMBER = 6; private int metaIndexCount_; /** @@ -1131,7 +1116,6 @@ public final class HFileProtos { return metaIndexCount_; } - // optional uint64 entry_count = 7; public static final int ENTRY_COUNT_FIELD_NUMBER = 7; private long entryCount_; /** @@ -1147,7 +1131,6 @@ public final class HFileProtos { return entryCount_; } - // optional uint32 num_data_index_levels = 8; public static final int NUM_DATA_INDEX_LEVELS_FIELD_NUMBER = 8; private int numDataIndexLevels_; /** @@ -1163,7 +1146,6 @@ public final class HFileProtos { return numDataIndexLevels_; } - // optional uint64 first_data_block_offset = 9; public static final int FIRST_DATA_BLOCK_OFFSET_FIELD_NUMBER = 9; private long firstDataBlockOffset_; /** @@ -1179,7 +1161,6 @@ public final class HFileProtos { return firstDataBlockOffset_; } - // optional uint64 last_data_block_offset = 10; public static final int LAST_DATA_BLOCK_OFFSET_FIELD_NUMBER = 10; private long lastDataBlockOffset_; /** @@ -1195,7 +1176,6 @@ public final class HFileProtos { return lastDataBlockOffset_; } - // optional string comparator_class_name = 11; public static final int COMPARATOR_CLASS_NAME_FIELD_NUMBER = 11; private java.lang.Object comparatorClassName_; /** @@ -1238,7 +1218,6 @@ public final class HFileProtos { } } - // optional uint32 compression_codec = 12; public static final int COMPRESSION_CODEC_FIELD_NUMBER = 12; private int compressionCodec_; /** @@ -1254,7 +1233,6 @@ public final class HFileProtos { return compressionCodec_; } - // optional bytes encryption_key = 13; public static final int ENCRYPTION_KEY_FIELD_NUMBER = 13; private com.google.protobuf.ByteString encryptionKey_; /** @@ -1288,7 +1266,8 @@ public final class HFileProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -1490,7 +1469,6 @@ public final class HFileProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1500,19 +1478,23 @@ public final class HFileProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasFileInfoOffset()) { hash = (37 * hash) + FILE_INFO_OFFSET_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getFileInfoOffset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getFileInfoOffset()); } if (hasLoadOnOpenDataOffset()) { hash = (37 * hash) + LOAD_ON_OPEN_DATA_OFFSET_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getLoadOnOpenDataOffset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLoadOnOpenDataOffset()); } if (hasUncompressedDataIndexSize()) { hash = (37 * hash) + UNCOMPRESSED_DATA_INDEX_SIZE_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getUncompressedDataIndexSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getUncompressedDataIndexSize()); } if (hasTotalUncompressedBytes()) { hash = (37 * hash) + TOTAL_UNCOMPRESSED_BYTES_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getTotalUncompressedBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTotalUncompressedBytes()); } if (hasDataIndexCount()) { hash = (37 * hash) + DATA_INDEX_COUNT_FIELD_NUMBER; @@ -1524,7 +1506,8 @@ public final class HFileProtos { } if (hasEntryCount()) { hash = (37 * hash) + ENTRY_COUNT_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getEntryCount()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getEntryCount()); } if (hasNumDataIndexLevels()) { hash = (37 * hash) + NUM_DATA_INDEX_LEVELS_FIELD_NUMBER; @@ -1532,11 +1515,13 @@ public final class HFileProtos { } if (hasFirstDataBlockOffset()) { hash = (37 * hash) + FIRST_DATA_BLOCK_OFFSET_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getFirstDataBlockOffset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getFirstDataBlockOffset()); } if (hasLastDataBlockOffset()) { hash = (37 * hash) + LAST_DATA_BLOCK_OFFSET_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getLastDataBlockOffset()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLastDataBlockOffset()); } if (hasComparatorClassName()) { hash = (37 * hash) + COMPARATOR_CLASS_NAME_FIELD_NUMBER; @@ -1629,8 +1614,9 @@ public final class HFileProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.HFileProtos.FileTrailerProtoOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.FileTrailerProto) + org.apache.hadoop.hbase.protobuf.generated.HFileProtos.FileTrailerProtoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.HFileProtos.internal_static_hbase_pb_FileTrailerProto_descriptor; @@ -1853,7 +1839,6 @@ public final class HFileProtos { } private int bitField0_; - // optional uint64 file_info_offset = 1; private long fileInfoOffset_ ; /** * optional uint64 file_info_offset = 1; @@ -1886,7 +1871,6 @@ public final class HFileProtos { return this; } - // optional uint64 load_on_open_data_offset = 2; private long loadOnOpenDataOffset_ ; /** * optional uint64 load_on_open_data_offset = 2; @@ -1919,7 +1903,6 @@ public final class HFileProtos { return this; } - // optional uint64 uncompressed_data_index_size = 3; private long uncompressedDataIndexSize_ ; /** * optional uint64 uncompressed_data_index_size = 3; @@ -1952,7 +1935,6 @@ public final class HFileProtos { return this; } - // optional uint64 total_uncompressed_bytes = 4; private long totalUncompressedBytes_ ; /** * optional uint64 total_uncompressed_bytes = 4; @@ -1985,7 +1967,6 @@ public final class HFileProtos { return this; } - // optional uint32 data_index_count = 5; private int dataIndexCount_ ; /** * optional uint32 data_index_count = 5; @@ -2018,7 +1999,6 @@ public final class HFileProtos { return this; } - // optional uint32 meta_index_count = 6; private int metaIndexCount_ ; /** * optional uint32 meta_index_count = 6; @@ -2051,7 +2031,6 @@ public final class HFileProtos { return this; } - // optional uint64 entry_count = 7; private long entryCount_ ; /** * optional uint64 entry_count = 7; @@ -2084,7 +2063,6 @@ public final class HFileProtos { return this; } - // optional uint32 num_data_index_levels = 8; private int numDataIndexLevels_ ; /** * optional uint32 num_data_index_levels = 8; @@ -2117,7 +2095,6 @@ public final class HFileProtos { return this; } - // optional uint64 first_data_block_offset = 9; private long firstDataBlockOffset_ ; /** * optional uint64 first_data_block_offset = 9; @@ -2150,7 +2127,6 @@ public final class HFileProtos { return this; } - // optional uint64 last_data_block_offset = 10; private long lastDataBlockOffset_ ; /** * optional uint64 last_data_block_offset = 10; @@ -2183,7 +2159,6 @@ public final class HFileProtos { return this; } - // optional string comparator_class_name = 11; private java.lang.Object comparatorClassName_ = ""; /** * optional string comparator_class_name = 11; @@ -2197,9 +2172,12 @@ public final class HFileProtos { public java.lang.String getComparatorClassName() { java.lang.Object ref = comparatorClassName_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - comparatorClassName_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + comparatorClassName_ = s; + } return s; } else { return (java.lang.String) ref; @@ -2257,7 +2235,6 @@ public final class HFileProtos { return this; } - // optional uint32 compression_codec = 12; private int compressionCodec_ ; /** * optional uint32 compression_codec = 12; @@ -2290,7 +2267,6 @@ public final class HFileProtos { return this; } - // optional bytes encryption_key = 13; private com.google.protobuf.ByteString encryptionKey_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes encryption_key = 13; @@ -2337,12 +2313,12 @@ public final class HFileProtos { // @@protoc_insertion_point(class_scope:hbase.pb.FileTrailerProto) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_FileInfoProto_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_FileInfoProto_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_FileTrailerProto_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -2373,30 +2349,31 @@ public final class HFileProtos { "sH\001\210\001\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_FileInfoProto_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_FileInfoProto_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_FileInfoProto_descriptor, - new java.lang.String[] { "MapEntry", }); - internal_static_hbase_pb_FileTrailerProto_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_hbase_pb_FileTrailerProto_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_FileTrailerProto_descriptor, - new java.lang.String[] { "FileInfoOffset", "LoadOnOpenDataOffset", "UncompressedDataIndexSize", "TotalUncompressedBytes", "DataIndexCount", "MetaIndexCount", "EntryCount", "NumDataIndexLevels", "FirstDataBlockOffset", "LastDataBlockOffset", "ComparatorClassName", "CompressionCodec", "EncryptionKey", }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(), }, assigner); + internal_static_hbase_pb_FileInfoProto_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_FileInfoProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_FileInfoProto_descriptor, + new java.lang.String[] { "MapEntry", }); + internal_static_hbase_pb_FileTrailerProto_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_hbase_pb_FileTrailerProto_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_FileTrailerProto_descriptor, + new java.lang.String[] { "FileInfoOffset", "LoadOnOpenDataOffset", "UncompressedDataIndexSize", "TotalUncompressedBytes", "DataIndexCount", "MetaIndexCount", "EntryCount", "NumDataIndexLevels", "FirstDataBlockOffset", "LastDataBlockOffset", "ComparatorClassName", "CompressionCodec", "EncryptionKey", }); + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/LoadBalancerProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/LoadBalancerProtos.java index 56ff356..fa9f144 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/LoadBalancerProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/LoadBalancerProtos.java @@ -8,10 +8,10 @@ public final class LoadBalancerProtos { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } - public interface LoadBalancerStateOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface LoadBalancerStateOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.LoadBalancerState) + com.google.protobuf.MessageOrBuilder { - // optional bool balancer_on = 1; /** * optional bool balancer_on = 1; */ @@ -25,8 +25,9 @@ public final class LoadBalancerProtos { * Protobuf type {@code hbase.pb.LoadBalancerState} */ public static final class LoadBalancerState extends - com.google.protobuf.GeneratedMessage - implements LoadBalancerStateOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.LoadBalancerState) + LoadBalancerStateOrBuilder { // Use LoadBalancerState.newBuilder() to construct. private LoadBalancerState(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -117,7 +118,6 @@ public final class LoadBalancerProtos { } private int bitField0_; - // optional bool balancer_on = 1; public static final int BALANCER_ON_FIELD_NUMBER = 1; private boolean balancerOn_; /** @@ -139,7 +139,8 @@ public final class LoadBalancerProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -197,7 +198,6 @@ public final class LoadBalancerProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -207,7 +207,8 @@ public final class LoadBalancerProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasBalancerOn()) { hash = (37 * hash) + BALANCER_ON_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getBalancerOn()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getBalancerOn()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -284,8 +285,9 @@ public final class LoadBalancerProtos { * Protobuf type {@code hbase.pb.LoadBalancerState} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.LoadBalancerProtos.LoadBalancerStateOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.LoadBalancerState) + org.apache.hadoop.hbase.protobuf.generated.LoadBalancerProtos.LoadBalancerStateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.LoadBalancerProtos.internal_static_hbase_pb_LoadBalancerState_descriptor; @@ -398,7 +400,6 @@ public final class LoadBalancerProtos { } private int bitField0_; - // optional bool balancer_on = 1; private boolean balancerOn_ ; /** * optional bool balancer_on = 1; @@ -442,7 +443,7 @@ public final class LoadBalancerProtos { // @@protoc_insertion_point(class_scope:hbase.pb.LoadBalancerState) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_LoadBalancerState_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -462,23 +463,23 @@ public final class LoadBalancerProtos { "LoadBalancerProtosH\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_LoadBalancerState_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_LoadBalancerState_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_LoadBalancerState_descriptor, - new java.lang.String[] { "BalancerOn", }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); + internal_static_hbase_pb_LoadBalancerState_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_LoadBalancerState_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_LoadBalancerState_descriptor, + new java.lang.String[] { "BalancerOn", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/MapReduceProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/MapReduceProtos.java index 5d07808..109e536 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/MapReduceProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/MapReduceProtos.java @@ -8,10 +8,10 @@ public final class MapReduceProtos { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } - public interface ScanMetricsOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ScanMetricsOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ScanMetrics) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.NameInt64Pair metrics = 1; /** * repeated .hbase.pb.NameInt64Pair metrics = 1; */ @@ -40,8 +40,9 @@ public final class MapReduceProtos { * Protobuf type {@code hbase.pb.ScanMetrics} */ public static final class ScanMetrics extends - com.google.protobuf.GeneratedMessage - implements ScanMetricsOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ScanMetrics) + ScanMetricsOrBuilder { // Use ScanMetrics.newBuilder() to construct. private ScanMetrics(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -137,7 +138,6 @@ public final class MapReduceProtos { return PARSER; } - // repeated .hbase.pb.NameInt64Pair metrics = 1; public static final int METRICS_FIELD_NUMBER = 1; private java.util.List metrics_; /** @@ -179,7 +179,8 @@ public final class MapReduceProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -234,7 +235,6 @@ public final class MapReduceProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -321,8 +321,9 @@ public final class MapReduceProtos { * Protobuf type {@code hbase.pb.ScanMetrics} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetricsOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ScanMetrics) + org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.ScanMetricsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.internal_static_hbase_pb_ScanMetrics_descriptor; @@ -466,7 +467,6 @@ public final class MapReduceProtos { } private int bitField0_; - // repeated .hbase.pb.NameInt64Pair metrics = 1; private java.util.List metrics_ = java.util.Collections.emptyList(); private void ensureMetricsIsMutable() { @@ -608,7 +608,8 @@ public final class MapReduceProtos { java.lang.Iterable values) { if (metricsBuilder_ == null) { ensureMetricsIsMutable(); - super.addAll(values, metrics_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, metrics_); onChanged(); } else { metricsBuilder_.addAllMessages(values); @@ -717,15 +718,15 @@ public final class MapReduceProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ScanMetrics) } - public interface TableSnapshotRegionSplitOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface TableSnapshotRegionSplitOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.TableSnapshotRegionSplit) + com.google.protobuf.MessageOrBuilder { - // repeated string locations = 2; /** * repeated string locations = 2; */ - java.util.List - getLocationsList(); + com.google.protobuf.ProtocolStringList + getLocationsList(); /** * repeated string locations = 2; */ @@ -740,7 +741,6 @@ public final class MapReduceProtos { com.google.protobuf.ByteString getLocationsBytes(int index); - // optional .hbase.pb.TableSchema table = 3; /** * optional .hbase.pb.TableSchema table = 3; */ @@ -754,7 +754,6 @@ public final class MapReduceProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchemaOrBuilder getTableOrBuilder(); - // optional .hbase.pb.RegionInfo region = 4; /** * optional .hbase.pb.RegionInfo region = 4; */ @@ -772,8 +771,9 @@ public final class MapReduceProtos { * Protobuf type {@code hbase.pb.TableSnapshotRegionSplit} */ public static final class TableSnapshotRegionSplit extends - com.google.protobuf.GeneratedMessage - implements TableSnapshotRegionSplitOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.TableSnapshotRegionSplit) + TableSnapshotRegionSplitOrBuilder { // Use TableSnapshotRegionSplit.newBuilder() to construct. private TableSnapshotRegionSplit(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -820,11 +820,12 @@ public final class MapReduceProtos { break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { locations_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } - locations_.add(input.readBytes()); + locations_.add(bs); break; } case 26: { @@ -862,7 +863,7 @@ public final class MapReduceProtos { e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - locations_ = new com.google.protobuf.UnmodifiableLazyStringList(locations_); + locations_ = locations_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -896,13 +897,12 @@ public final class MapReduceProtos { } private int bitField0_; - // repeated string locations = 2; public static final int LOCATIONS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList locations_; /** * repeated string locations = 2; */ - public java.util.List + public com.google.protobuf.ProtocolStringList getLocationsList() { return locations_; } @@ -926,7 +926,6 @@ public final class MapReduceProtos { return locations_.getByteString(index); } - // optional .hbase.pb.TableSchema table = 3; public static final int TABLE_FIELD_NUMBER = 3; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema table_; /** @@ -948,7 +947,6 @@ public final class MapReduceProtos { return table_; } - // optional .hbase.pb.RegionInfo region = 4; public static final int REGION_FIELD_NUMBER = 4; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo region_; /** @@ -978,7 +976,8 @@ public final class MapReduceProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (hasTable()) { if (!getTable().isInitialized()) { @@ -1074,7 +1073,6 @@ public final class MapReduceProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1169,8 +1167,9 @@ public final class MapReduceProtos { * Protobuf type {@code hbase.pb.TableSnapshotRegionSplit} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.TableSnapshotRegionSplitOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.TableSnapshotRegionSplit) + org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.TableSnapshotRegionSplitOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.MapReduceProtos.internal_static_hbase_pb_TableSnapshotRegionSplit_descriptor; @@ -1248,8 +1247,7 @@ public final class MapReduceProtos { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { - locations_ = new com.google.protobuf.UnmodifiableLazyStringList( - locations_); + locations_ = locations_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.locations_ = locations_; @@ -1340,7 +1338,6 @@ public final class MapReduceProtos { } private int bitField0_; - // repeated string locations = 2; private com.google.protobuf.LazyStringList locations_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureLocationsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { @@ -1351,9 +1348,9 @@ public final class MapReduceProtos { /** * repeated string locations = 2; */ - public java.util.List + public com.google.protobuf.ProtocolStringList getLocationsList() { - return java.util.Collections.unmodifiableList(locations_); + return locations_.getUnmodifiableView(); } /** * repeated string locations = 2; @@ -1406,7 +1403,8 @@ public final class MapReduceProtos { public Builder addAllLocations( java.lang.Iterable values) { ensureLocationsIsMutable(); - super.addAll(values, locations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, locations_); onChanged(); return this; } @@ -1433,7 +1431,6 @@ public final class MapReduceProtos { return this; } - // optional .hbase.pb.TableSchema table = 3; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema table_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchemaOrBuilder> tableBuilder_; @@ -1542,7 +1539,7 @@ public final class MapReduceProtos { if (tableBuilder_ == null) { tableBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchemaOrBuilder>( - table_, + getTable(), getParentForChildren(), isClean()); table_ = null; @@ -1550,7 +1547,6 @@ public final class MapReduceProtos { return tableBuilder_; } - // optional .hbase.pb.RegionInfo region = 4; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder> regionBuilder_; @@ -1659,7 +1655,7 @@ public final class MapReduceProtos { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder>( - region_, + getRegion(), getParentForChildren(), isClean()); region_ = null; @@ -1678,12 +1674,12 @@ public final class MapReduceProtos { // @@protoc_insertion_point(class_scope:hbase.pb.TableSnapshotRegionSplit) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ScanMetrics_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ScanMetrics_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_TableSnapshotRegionSplit_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -1707,30 +1703,31 @@ public final class MapReduceProtos { "tosH\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_ScanMetrics_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_ScanMetrics_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ScanMetrics_descriptor, - new java.lang.String[] { "Metrics", }); - internal_static_hbase_pb_TableSnapshotRegionSplit_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_hbase_pb_TableSnapshotRegionSplit_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_TableSnapshotRegionSplit_descriptor, - new java.lang.String[] { "Locations", "Table", "Region", }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(), }, assigner); + internal_static_hbase_pb_ScanMetrics_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_ScanMetrics_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ScanMetrics_descriptor, + new java.lang.String[] { "Metrics", }); + internal_static_hbase_pb_TableSnapshotRegionSplit_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_hbase_pb_TableSnapshotRegionSplit_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_TableSnapshotRegionSplit_descriptor, + new java.lang.String[] { "Locations", "Table", "Region", }); + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/MultiRowMutationProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/MultiRowMutationProtos.java index 40495d8..fe38f0d 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/MultiRowMutationProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/MultiRowMutationProtos.java @@ -8,15 +8,17 @@ public final class MultiRowMutationProtos { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } - public interface MultiRowMutationProcessorRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface MultiRowMutationProcessorRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.MultiRowMutationProcessorRequest) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.MultiRowMutationProcessorRequest} */ public static final class MultiRowMutationProcessorRequest extends - com.google.protobuf.GeneratedMessage - implements MultiRowMutationProcessorRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.MultiRowMutationProcessorRequest) + MultiRowMutationProcessorRequestOrBuilder { // Use MultiRowMutationProcessorRequest.newBuilder() to construct. private MultiRowMutationProcessorRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -105,7 +107,8 @@ public final class MultiRowMutationProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -151,7 +154,6 @@ public final class MultiRowMutationProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -234,8 +236,9 @@ public final class MultiRowMutationProtos { * Protobuf type {@code hbase.pb.MultiRowMutationProcessorRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.MultiRowMutationProtos.MultiRowMutationProcessorRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.MultiRowMutationProcessorRequest) + org.apache.hadoop.hbase.protobuf.generated.MultiRowMutationProtos.MultiRowMutationProcessorRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.MultiRowMutationProtos.internal_static_hbase_pb_MultiRowMutationProcessorRequest_descriptor; @@ -346,15 +349,17 @@ public final class MultiRowMutationProtos { // @@protoc_insertion_point(class_scope:hbase.pb.MultiRowMutationProcessorRequest) } - public interface MultiRowMutationProcessorResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface MultiRowMutationProcessorResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.MultiRowMutationProcessorResponse) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.MultiRowMutationProcessorResponse} */ public static final class MultiRowMutationProcessorResponse extends - com.google.protobuf.GeneratedMessage - implements MultiRowMutationProcessorResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.MultiRowMutationProcessorResponse) + MultiRowMutationProcessorResponseOrBuilder { // Use MultiRowMutationProcessorResponse.newBuilder() to construct. private MultiRowMutationProcessorResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -443,7 +448,8 @@ public final class MultiRowMutationProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -489,7 +495,6 @@ public final class MultiRowMutationProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -572,8 +577,9 @@ public final class MultiRowMutationProtos { * Protobuf type {@code hbase.pb.MultiRowMutationProcessorResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.MultiRowMutationProtos.MultiRowMutationProcessorResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.MultiRowMutationProcessorResponse) + org.apache.hadoop.hbase.protobuf.generated.MultiRowMutationProtos.MultiRowMutationProcessorResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.MultiRowMutationProtos.internal_static_hbase_pb_MultiRowMutationProcessorResponse_descriptor; @@ -684,10 +690,10 @@ public final class MultiRowMutationProtos { // @@protoc_insertion_point(class_scope:hbase.pb.MultiRowMutationProcessorResponse) } - public interface MutateRowsRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface MutateRowsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.MutateRowsRequest) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.MutationProto mutation_request = 1; /** * repeated .hbase.pb.MutationProto mutation_request = 1; */ @@ -712,7 +718,6 @@ public final class MultiRowMutationProtos { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.MutationProtoOrBuilder getMutationRequestOrBuilder( int index); - // optional uint64 nonce_group = 2; /** * optional uint64 nonce_group = 2; */ @@ -722,7 +727,6 @@ public final class MultiRowMutationProtos { */ long getNonceGroup(); - // optional uint64 nonce = 3; /** * optional uint64 nonce = 3; */ @@ -732,7 +736,6 @@ public final class MultiRowMutationProtos { */ long getNonce(); - // optional .hbase.pb.RegionSpecifier region = 4; /** * optional .hbase.pb.RegionSpecifier region = 4; */ @@ -750,8 +753,9 @@ public final class MultiRowMutationProtos { * Protobuf type {@code hbase.pb.MutateRowsRequest} */ public static final class MutateRowsRequest extends - com.google.protobuf.GeneratedMessage - implements MutateRowsRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.MutateRowsRequest) + MutateRowsRequestOrBuilder { // Use MutateRowsRequest.newBuilder() to construct. private MutateRowsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -871,7 +875,6 @@ public final class MultiRowMutationProtos { } private int bitField0_; - // repeated .hbase.pb.MutationProto mutation_request = 1; public static final int MUTATION_REQUEST_FIELD_NUMBER = 1; private java.util.List mutationRequest_; /** @@ -907,7 +910,6 @@ public final class MultiRowMutationProtos { return mutationRequest_.get(index); } - // optional uint64 nonce_group = 2; public static final int NONCE_GROUP_FIELD_NUMBER = 2; private long nonceGroup_; /** @@ -923,7 +925,6 @@ public final class MultiRowMutationProtos { return nonceGroup_; } - // optional uint64 nonce = 3; public static final int NONCE_FIELD_NUMBER = 3; private long nonce_; /** @@ -939,7 +940,6 @@ public final class MultiRowMutationProtos { return nonce_; } - // optional .hbase.pb.RegionSpecifier region = 4; public static final int REGION_FIELD_NUMBER = 4; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_; /** @@ -970,7 +970,8 @@ public final class MultiRowMutationProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getMutationRequestCount(); i++) { if (!getMutationRequest(i).isInitialized()) { @@ -1073,7 +1074,6 @@ public final class MultiRowMutationProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1087,11 +1087,13 @@ public final class MultiRowMutationProtos { } if (hasNonceGroup()) { hash = (37 * hash) + NONCE_GROUP_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getNonceGroup()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNonceGroup()); } if (hasNonce()) { hash = (37 * hash) + NONCE_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getNonce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNonce()); } if (hasRegion()) { hash = (37 * hash) + REGION_FIELD_NUMBER; @@ -1172,8 +1174,9 @@ public final class MultiRowMutationProtos { * Protobuf type {@code hbase.pb.MutateRowsRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.MultiRowMutationProtos.MutateRowsRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.MutateRowsRequest) + org.apache.hadoop.hbase.protobuf.generated.MultiRowMutationProtos.MutateRowsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.MultiRowMutationProtos.internal_static_hbase_pb_MutateRowsRequest_descriptor; @@ -1367,7 +1370,6 @@ public final class MultiRowMutationProtos { } private int bitField0_; - // repeated .hbase.pb.MutationProto mutation_request = 1; private java.util.List mutationRequest_ = java.util.Collections.emptyList(); private void ensureMutationRequestIsMutable() { @@ -1509,7 +1511,8 @@ public final class MultiRowMutationProtos { java.lang.Iterable values) { if (mutationRequestBuilder_ == null) { ensureMutationRequestIsMutable(); - super.addAll(values, mutationRequest_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, mutationRequest_); onChanged(); } else { mutationRequestBuilder_.addAllMessages(values); @@ -1607,7 +1610,6 @@ public final class MultiRowMutationProtos { return mutationRequestBuilder_; } - // optional uint64 nonce_group = 2; private long nonceGroup_ ; /** * optional uint64 nonce_group = 2; @@ -1640,7 +1642,6 @@ public final class MultiRowMutationProtos { return this; } - // optional uint64 nonce = 3; private long nonce_ ; /** * optional uint64 nonce = 3; @@ -1673,7 +1674,6 @@ public final class MultiRowMutationProtos { return this; } - // optional .hbase.pb.RegionSpecifier region = 4; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier region_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder> regionBuilder_; @@ -1782,7 +1782,7 @@ public final class MultiRowMutationProtos { if (regionBuilder_ == null) { regionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifier.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionSpecifierOrBuilder>( - region_, + getRegion(), getParentForChildren(), isClean()); region_ = null; @@ -1801,15 +1801,17 @@ public final class MultiRowMutationProtos { // @@protoc_insertion_point(class_scope:hbase.pb.MutateRowsRequest) } - public interface MutateRowsResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface MutateRowsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.MutateRowsResponse) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.MutateRowsResponse} */ public static final class MutateRowsResponse extends - com.google.protobuf.GeneratedMessage - implements MutateRowsResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.MutateRowsResponse) + MutateRowsResponseOrBuilder { // Use MutateRowsResponse.newBuilder() to construct. private MutateRowsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1898,7 +1900,8 @@ public final class MultiRowMutationProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -1944,7 +1947,6 @@ public final class MultiRowMutationProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2027,8 +2029,9 @@ public final class MultiRowMutationProtos { * Protobuf type {@code hbase.pb.MutateRowsResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.MultiRowMutationProtos.MutateRowsResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.MutateRowsResponse) + org.apache.hadoop.hbase.protobuf.generated.MultiRowMutationProtos.MutateRowsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.MultiRowMutationProtos.internal_static_hbase_pb_MutateRowsResponse_descriptor; @@ -2371,22 +2374,22 @@ public final class MultiRowMutationProtos { // @@protoc_insertion_point(class_scope:hbase.pb.MultiRowMutationService) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MultiRowMutationProcessorRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_MultiRowMutationProcessorRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MultiRowMutationProcessorResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_MultiRowMutationProcessorResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MutateRowsRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_MutateRowsRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MutateRowsResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -2415,43 +2418,45 @@ public final class MultiRowMutationProtos { "\210\001\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_MultiRowMutationProcessorRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_MultiRowMutationProcessorRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_MultiRowMutationProcessorRequest_descriptor, - new java.lang.String[] { }); - internal_static_hbase_pb_MultiRowMutationProcessorResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_hbase_pb_MultiRowMutationProcessorResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_MultiRowMutationProcessorResponse_descriptor, - new java.lang.String[] { }); - internal_static_hbase_pb_MutateRowsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_hbase_pb_MutateRowsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_MutateRowsRequest_descriptor, - new java.lang.String[] { "MutationRequest", "NonceGroup", "Nonce", "Region", }); - internal_static_hbase_pb_MutateRowsResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_hbase_pb_MutateRowsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_MutateRowsResponse_descriptor, - new java.lang.String[] { }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.getDescriptor(), org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(), }, assigner); + internal_static_hbase_pb_MultiRowMutationProcessorRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_MultiRowMutationProcessorRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_MultiRowMutationProcessorRequest_descriptor, + new java.lang.String[] { }); + internal_static_hbase_pb_MultiRowMutationProcessorResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_hbase_pb_MultiRowMutationProcessorResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_MultiRowMutationProcessorResponse_descriptor, + new java.lang.String[] { }); + internal_static_hbase_pb_MutateRowsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_hbase_pb_MutateRowsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_MutateRowsRequest_descriptor, + new java.lang.String[] { "MutationRequest", "NonceGroup", "Nonce", "Region", }); + internal_static_hbase_pb_MutateRowsResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_hbase_pb_MutateRowsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_MutateRowsResponse_descriptor, + new java.lang.String[] { }); + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.getDescriptor(); + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/QuotaProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/QuotaProtos.java index 05894b9..fcf7f91 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/QuotaProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/QuotaProtos.java @@ -281,10 +281,10 @@ public final class QuotaProtos { // @@protoc_insertion_point(enum_scope:hbase.pb.QuotaType) } - public interface TimedQuotaOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface TimedQuotaOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.TimedQuota) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.TimeUnit time_unit = 1; /** * required .hbase.pb.TimeUnit time_unit = 1; */ @@ -294,7 +294,6 @@ public final class QuotaProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeUnit getTimeUnit(); - // optional uint64 soft_limit = 2; /** * optional uint64 soft_limit = 2; */ @@ -304,7 +303,6 @@ public final class QuotaProtos { */ long getSoftLimit(); - // optional float share = 3; /** * optional float share = 3; */ @@ -314,7 +312,6 @@ public final class QuotaProtos { */ float getShare(); - // optional .hbase.pb.QuotaScope scope = 4 [default = MACHINE]; /** * optional .hbase.pb.QuotaScope scope = 4 [default = MACHINE]; */ @@ -328,8 +325,9 @@ public final class QuotaProtos { * Protobuf type {@code hbase.pb.TimedQuota} */ public static final class TimedQuota extends - com.google.protobuf.GeneratedMessage - implements TimedQuotaOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.TimedQuota) + TimedQuotaOrBuilder { // Use TimedQuota.newBuilder() to construct. private TimedQuota(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -447,7 +445,6 @@ public final class QuotaProtos { } private int bitField0_; - // required .hbase.pb.TimeUnit time_unit = 1; public static final int TIME_UNIT_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeUnit timeUnit_; /** @@ -463,7 +460,6 @@ public final class QuotaProtos { return timeUnit_; } - // optional uint64 soft_limit = 2; public static final int SOFT_LIMIT_FIELD_NUMBER = 2; private long softLimit_; /** @@ -479,7 +475,6 @@ public final class QuotaProtos { return softLimit_; } - // optional float share = 3; public static final int SHARE_FIELD_NUMBER = 3; private float share_; /** @@ -495,7 +490,6 @@ public final class QuotaProtos { return share_; } - // optional .hbase.pb.QuotaScope scope = 4 [default = MACHINE]; public static final int SCOPE_FIELD_NUMBER = 4; private org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.QuotaScope scope_; /** @@ -520,7 +514,8 @@ public final class QuotaProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasTimeUnit()) { memoizedIsInitialized = 0; @@ -605,7 +600,10 @@ public final class QuotaProtos { } result = result && (hasShare() == other.hasShare()); if (hasShare()) { - result = result && (Float.floatToIntBits(getShare()) == Float.floatToIntBits(other.getShare())); + result = result && ( + java.lang.Float.floatToIntBits(getShare()) + == java.lang.Float.floatToIntBits( + other.getShare())); } result = result && (hasScope() == other.hasScope()); if (hasScope()) { @@ -617,7 +615,6 @@ public final class QuotaProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -627,20 +624,23 @@ public final class QuotaProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasTimeUnit()) { hash = (37 * hash) + TIME_UNIT_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getTimeUnit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getTimeUnit()); } if (hasSoftLimit()) { hash = (37 * hash) + SOFT_LIMIT_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getSoftLimit()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSoftLimit()); } if (hasShare()) { hash = (37 * hash) + SHARE_FIELD_NUMBER; - hash = (53 * hash) + Float.floatToIntBits( + hash = (53 * hash) + java.lang.Float.floatToIntBits( getShare()); } if (hasScope()) { hash = (37 * hash) + SCOPE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getScope()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getScope()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -717,8 +717,9 @@ public final class QuotaProtos { * Protobuf type {@code hbase.pb.TimedQuota} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.TimedQuota) + org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.internal_static_hbase_pb_TimedQuota_descriptor; @@ -862,7 +863,6 @@ public final class QuotaProtos { } private int bitField0_; - // required .hbase.pb.TimeUnit time_unit = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeUnit timeUnit_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TimeUnit.NANOSECONDS; /** * required .hbase.pb.TimeUnit time_unit = 1; @@ -898,7 +898,6 @@ public final class QuotaProtos { return this; } - // optional uint64 soft_limit = 2; private long softLimit_ ; /** * optional uint64 soft_limit = 2; @@ -931,7 +930,6 @@ public final class QuotaProtos { return this; } - // optional float share = 3; private float share_ ; /** * optional float share = 3; @@ -964,7 +962,6 @@ public final class QuotaProtos { return this; } - // optional .hbase.pb.QuotaScope scope = 4 [default = MACHINE]; private org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.QuotaScope scope_ = org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.QuotaScope.MACHINE; /** * optional .hbase.pb.QuotaScope scope = 4 [default = MACHINE]; @@ -1011,10 +1008,10 @@ public final class QuotaProtos { // @@protoc_insertion_point(class_scope:hbase.pb.TimedQuota) } - public interface ThrottleOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ThrottleOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.Throttle) + com.google.protobuf.MessageOrBuilder { - // optional .hbase.pb.TimedQuota req_num = 1; /** * optional .hbase.pb.TimedQuota req_num = 1; */ @@ -1028,7 +1025,6 @@ public final class QuotaProtos { */ org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder getReqNumOrBuilder(); - // optional .hbase.pb.TimedQuota req_size = 2; /** * optional .hbase.pb.TimedQuota req_size = 2; */ @@ -1042,7 +1038,6 @@ public final class QuotaProtos { */ org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder getReqSizeOrBuilder(); - // optional .hbase.pb.TimedQuota write_num = 3; /** * optional .hbase.pb.TimedQuota write_num = 3; */ @@ -1056,7 +1051,6 @@ public final class QuotaProtos { */ org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder getWriteNumOrBuilder(); - // optional .hbase.pb.TimedQuota write_size = 4; /** * optional .hbase.pb.TimedQuota write_size = 4; */ @@ -1070,7 +1064,6 @@ public final class QuotaProtos { */ org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder getWriteSizeOrBuilder(); - // optional .hbase.pb.TimedQuota read_num = 5; /** * optional .hbase.pb.TimedQuota read_num = 5; */ @@ -1084,7 +1077,6 @@ public final class QuotaProtos { */ org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder getReadNumOrBuilder(); - // optional .hbase.pb.TimedQuota read_size = 6; /** * optional .hbase.pb.TimedQuota read_size = 6; */ @@ -1102,8 +1094,9 @@ public final class QuotaProtos { * Protobuf type {@code hbase.pb.Throttle} */ public static final class Throttle extends - com.google.protobuf.GeneratedMessage - implements ThrottleOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.Throttle) + ThrottleOrBuilder { // Use Throttle.newBuilder() to construct. private Throttle(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1267,7 +1260,6 @@ public final class QuotaProtos { } private int bitField0_; - // optional .hbase.pb.TimedQuota req_num = 1; public static final int REQ_NUM_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota reqNum_; /** @@ -1289,7 +1281,6 @@ public final class QuotaProtos { return reqNum_; } - // optional .hbase.pb.TimedQuota req_size = 2; public static final int REQ_SIZE_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota reqSize_; /** @@ -1311,7 +1302,6 @@ public final class QuotaProtos { return reqSize_; } - // optional .hbase.pb.TimedQuota write_num = 3; public static final int WRITE_NUM_FIELD_NUMBER = 3; private org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota writeNum_; /** @@ -1333,7 +1323,6 @@ public final class QuotaProtos { return writeNum_; } - // optional .hbase.pb.TimedQuota write_size = 4; public static final int WRITE_SIZE_FIELD_NUMBER = 4; private org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota writeSize_; /** @@ -1355,7 +1344,6 @@ public final class QuotaProtos { return writeSize_; } - // optional .hbase.pb.TimedQuota read_num = 5; public static final int READ_NUM_FIELD_NUMBER = 5; private org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota readNum_; /** @@ -1377,7 +1365,6 @@ public final class QuotaProtos { return readNum_; } - // optional .hbase.pb.TimedQuota read_size = 6; public static final int READ_SIZE_FIELD_NUMBER = 6; private org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota readSize_; /** @@ -1410,7 +1397,8 @@ public final class QuotaProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (hasReqNum()) { if (!getReqNum().isInitialized()) { @@ -1564,7 +1552,6 @@ public final class QuotaProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1671,8 +1658,9 @@ public final class QuotaProtos { * Protobuf type {@code hbase.pb.Throttle} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.ThrottleOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.Throttle) + org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.ThrottleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.internal_static_hbase_pb_Throttle_descriptor; @@ -1920,7 +1908,6 @@ public final class QuotaProtos { } private int bitField0_; - // optional .hbase.pb.TimedQuota req_num = 1; private org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota reqNum_ = org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder> reqNumBuilder_; @@ -2029,7 +2016,7 @@ public final class QuotaProtos { if (reqNumBuilder_ == null) { reqNumBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder>( - reqNum_, + getReqNum(), getParentForChildren(), isClean()); reqNum_ = null; @@ -2037,7 +2024,6 @@ public final class QuotaProtos { return reqNumBuilder_; } - // optional .hbase.pb.TimedQuota req_size = 2; private org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota reqSize_ = org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder> reqSizeBuilder_; @@ -2146,7 +2132,7 @@ public final class QuotaProtos { if (reqSizeBuilder_ == null) { reqSizeBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder>( - reqSize_, + getReqSize(), getParentForChildren(), isClean()); reqSize_ = null; @@ -2154,7 +2140,6 @@ public final class QuotaProtos { return reqSizeBuilder_; } - // optional .hbase.pb.TimedQuota write_num = 3; private org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota writeNum_ = org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder> writeNumBuilder_; @@ -2263,7 +2248,7 @@ public final class QuotaProtos { if (writeNumBuilder_ == null) { writeNumBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder>( - writeNum_, + getWriteNum(), getParentForChildren(), isClean()); writeNum_ = null; @@ -2271,7 +2256,6 @@ public final class QuotaProtos { return writeNumBuilder_; } - // optional .hbase.pb.TimedQuota write_size = 4; private org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota writeSize_ = org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder> writeSizeBuilder_; @@ -2380,7 +2364,7 @@ public final class QuotaProtos { if (writeSizeBuilder_ == null) { writeSizeBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder>( - writeSize_, + getWriteSize(), getParentForChildren(), isClean()); writeSize_ = null; @@ -2388,7 +2372,6 @@ public final class QuotaProtos { return writeSizeBuilder_; } - // optional .hbase.pb.TimedQuota read_num = 5; private org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota readNum_ = org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder> readNumBuilder_; @@ -2497,7 +2480,7 @@ public final class QuotaProtos { if (readNumBuilder_ == null) { readNumBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder>( - readNum_, + getReadNum(), getParentForChildren(), isClean()); readNum_ = null; @@ -2505,7 +2488,6 @@ public final class QuotaProtos { return readNumBuilder_; } - // optional .hbase.pb.TimedQuota read_size = 6; private org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota readSize_ = org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder> readSizeBuilder_; @@ -2614,7 +2596,7 @@ public final class QuotaProtos { if (readSizeBuilder_ == null) { readSizeBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder>( - readSize_, + getReadSize(), getParentForChildren(), isClean()); readSize_ = null; @@ -2633,10 +2615,10 @@ public final class QuotaProtos { // @@protoc_insertion_point(class_scope:hbase.pb.Throttle) } - public interface ThrottleRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ThrottleRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ThrottleRequest) + com.google.protobuf.MessageOrBuilder { - // optional .hbase.pb.ThrottleType type = 1; /** * optional .hbase.pb.ThrottleType type = 1; */ @@ -2646,7 +2628,6 @@ public final class QuotaProtos { */ org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.ThrottleType getType(); - // optional .hbase.pb.TimedQuota timed_quota = 2; /** * optional .hbase.pb.TimedQuota timed_quota = 2; */ @@ -2664,8 +2645,9 @@ public final class QuotaProtos { * Protobuf type {@code hbase.pb.ThrottleRequest} */ public static final class ThrottleRequest extends - com.google.protobuf.GeneratedMessage - implements ThrottleRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ThrottleRequest) + ThrottleRequestOrBuilder { // Use ThrottleRequest.newBuilder() to construct. private ThrottleRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2775,7 +2757,6 @@ public final class QuotaProtos { } private int bitField0_; - // optional .hbase.pb.ThrottleType type = 1; public static final int TYPE_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.ThrottleType type_; /** @@ -2791,7 +2772,6 @@ public final class QuotaProtos { return type_; } - // optional .hbase.pb.TimedQuota timed_quota = 2; public static final int TIMED_QUOTA_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota timedQuota_; /** @@ -2820,7 +2800,8 @@ public final class QuotaProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (hasTimedQuota()) { if (!getTimedQuota().isInitialized()) { @@ -2896,7 +2877,6 @@ public final class QuotaProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2906,7 +2886,8 @@ public final class QuotaProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getType()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getType()); } if (hasTimedQuota()) { hash = (37 * hash) + TIMED_QUOTA_FIELD_NUMBER; @@ -2987,8 +2968,9 @@ public final class QuotaProtos { * Protobuf type {@code hbase.pb.ThrottleRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.ThrottleRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ThrottleRequest) + org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.ThrottleRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.internal_static_hbase_pb_ThrottleRequest_descriptor; @@ -3125,7 +3107,6 @@ public final class QuotaProtos { } private int bitField0_; - // optional .hbase.pb.ThrottleType type = 1; private org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.ThrottleType type_ = org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.ThrottleType.REQUEST_NUMBER; /** * optional .hbase.pb.ThrottleType type = 1; @@ -3161,7 +3142,6 @@ public final class QuotaProtos { return this; } - // optional .hbase.pb.TimedQuota timed_quota = 2; private org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota timedQuota_ = org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder> timedQuotaBuilder_; @@ -3270,7 +3250,7 @@ public final class QuotaProtos { if (timedQuotaBuilder_ == null) { timedQuotaBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuota.Builder, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.TimedQuotaOrBuilder>( - timedQuota_, + getTimedQuota(), getParentForChildren(), isClean()); timedQuota_ = null; @@ -3289,10 +3269,10 @@ public final class QuotaProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ThrottleRequest) } - public interface QuotasOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface QuotasOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.Quotas) + com.google.protobuf.MessageOrBuilder { - // optional bool bypass_globals = 1 [default = false]; /** * optional bool bypass_globals = 1 [default = false]; */ @@ -3302,7 +3282,6 @@ public final class QuotaProtos { */ boolean getBypassGlobals(); - // optional .hbase.pb.Throttle throttle = 2; /** * optional .hbase.pb.Throttle throttle = 2; */ @@ -3320,8 +3299,9 @@ public final class QuotaProtos { * Protobuf type {@code hbase.pb.Quotas} */ public static final class Quotas extends - com.google.protobuf.GeneratedMessage - implements QuotasOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.Quotas) + QuotasOrBuilder { // Use Quotas.newBuilder() to construct. private Quotas(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -3425,7 +3405,6 @@ public final class QuotaProtos { } private int bitField0_; - // optional bool bypass_globals = 1 [default = false]; public static final int BYPASS_GLOBALS_FIELD_NUMBER = 1; private boolean bypassGlobals_; /** @@ -3441,7 +3420,6 @@ public final class QuotaProtos { return bypassGlobals_; } - // optional .hbase.pb.Throttle throttle = 2; public static final int THROTTLE_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.Throttle throttle_; /** @@ -3470,7 +3448,8 @@ public final class QuotaProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (hasThrottle()) { if (!getThrottle().isInitialized()) { @@ -3546,7 +3525,6 @@ public final class QuotaProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -3556,7 +3534,8 @@ public final class QuotaProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasBypassGlobals()) { hash = (37 * hash) + BYPASS_GLOBALS_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getBypassGlobals()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getBypassGlobals()); } if (hasThrottle()) { hash = (37 * hash) + THROTTLE_FIELD_NUMBER; @@ -3637,8 +3616,9 @@ public final class QuotaProtos { * Protobuf type {@code hbase.pb.Quotas} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.QuotasOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.Quotas) + org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.QuotasOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.internal_static_hbase_pb_Quotas_descriptor; @@ -3775,7 +3755,6 @@ public final class QuotaProtos { } private int bitField0_; - // optional bool bypass_globals = 1 [default = false]; private boolean bypassGlobals_ ; /** * optional bool bypass_globals = 1 [default = false]; @@ -3808,7 +3787,6 @@ public final class QuotaProtos { return this; } - // optional .hbase.pb.Throttle throttle = 2; private org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.Throttle throttle_ = org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.Throttle.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.Throttle, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.Throttle.Builder, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.ThrottleOrBuilder> throttleBuilder_; @@ -3917,7 +3895,7 @@ public final class QuotaProtos { if (throttleBuilder_ == null) { throttleBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.Throttle, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.Throttle.Builder, org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.ThrottleOrBuilder>( - throttle_, + getThrottle(), getParentForChildren(), isClean()); throttle_ = null; @@ -3936,15 +3914,17 @@ public final class QuotaProtos { // @@protoc_insertion_point(class_scope:hbase.pb.Quotas) } - public interface QuotaUsageOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface QuotaUsageOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.QuotaUsage) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.QuotaUsage} */ public static final class QuotaUsage extends - com.google.protobuf.GeneratedMessage - implements QuotaUsageOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.QuotaUsage) + QuotaUsageOrBuilder { // Use QuotaUsage.newBuilder() to construct. private QuotaUsage(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -4033,7 +4013,8 @@ public final class QuotaProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -4079,7 +4060,6 @@ public final class QuotaProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -4162,8 +4142,9 @@ public final class QuotaProtos { * Protobuf type {@code hbase.pb.QuotaUsage} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.QuotaUsageOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.QuotaUsage) + org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.QuotaUsageOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.QuotaProtos.internal_static_hbase_pb_QuotaUsage_descriptor; @@ -4274,27 +4255,27 @@ public final class QuotaProtos { // @@protoc_insertion_point(class_scope:hbase.pb.QuotaUsage) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_TimedQuota_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_TimedQuota_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Throttle_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Throttle_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ThrottleRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ThrottleRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Quotas_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Quotas_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_QuotaUsage_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -4332,48 +4313,49 @@ public final class QuotaProtos { "buf.generatedB\013QuotaProtosH\001\210\001\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_TimedQuota_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_TimedQuota_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_TimedQuota_descriptor, - new java.lang.String[] { "TimeUnit", "SoftLimit", "Share", "Scope", }); - internal_static_hbase_pb_Throttle_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_hbase_pb_Throttle_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_Throttle_descriptor, - new java.lang.String[] { "ReqNum", "ReqSize", "WriteNum", "WriteSize", "ReadNum", "ReadSize", }); - internal_static_hbase_pb_ThrottleRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_hbase_pb_ThrottleRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ThrottleRequest_descriptor, - new java.lang.String[] { "Type", "TimedQuota", }); - internal_static_hbase_pb_Quotas_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_hbase_pb_Quotas_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_Quotas_descriptor, - new java.lang.String[] { "BypassGlobals", "Throttle", }); - internal_static_hbase_pb_QuotaUsage_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_hbase_pb_QuotaUsage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_QuotaUsage_descriptor, - new java.lang.String[] { }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(), }, assigner); + internal_static_hbase_pb_TimedQuota_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_TimedQuota_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_TimedQuota_descriptor, + new java.lang.String[] { "TimeUnit", "SoftLimit", "Share", "Scope", }); + internal_static_hbase_pb_Throttle_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_hbase_pb_Throttle_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_Throttle_descriptor, + new java.lang.String[] { "ReqNum", "ReqSize", "WriteNum", "WriteSize", "ReadNum", "ReadSize", }); + internal_static_hbase_pb_ThrottleRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_hbase_pb_ThrottleRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ThrottleRequest_descriptor, + new java.lang.String[] { "Type", "TimedQuota", }); + internal_static_hbase_pb_Quotas_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_hbase_pb_Quotas_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_Quotas_descriptor, + new java.lang.String[] { "BypassGlobals", "Throttle", }); + internal_static_hbase_pb_QuotaUsage_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_hbase_pb_QuotaUsage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_QuotaUsage_descriptor, + new java.lang.String[] { }); + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/RPCProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/RPCProtos.java index d05eb57..f97fd33 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/RPCProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/RPCProtos.java @@ -8,10 +8,10 @@ public final class RPCProtos { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } - public interface UserInformationOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface UserInformationOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.UserInformation) + com.google.protobuf.MessageOrBuilder { - // required string effective_user = 1; /** * required string effective_user = 1; */ @@ -26,7 +26,6 @@ public final class RPCProtos { com.google.protobuf.ByteString getEffectiveUserBytes(); - // optional string real_user = 2; /** * optional string real_user = 2; */ @@ -49,8 +48,9 @@ public final class RPCProtos { * */ public static final class UserInformation extends - com.google.protobuf.GeneratedMessage - implements UserInformationOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.UserInformation) + UserInformationOrBuilder { // Use UserInformation.newBuilder() to construct. private UserInformation(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -97,13 +97,15 @@ public final class RPCProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - effectiveUser_ = input.readBytes(); + effectiveUser_ = bs; break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - realUser_ = input.readBytes(); + realUser_ = bs; break; } } @@ -146,7 +148,6 @@ public final class RPCProtos { } private int bitField0_; - // required string effective_user = 1; public static final int EFFECTIVE_USER_FIELD_NUMBER = 1; private java.lang.Object effectiveUser_; /** @@ -189,7 +190,6 @@ public final class RPCProtos { } } - // optional string real_user = 2; public static final int REAL_USER_FIELD_NUMBER = 2; private java.lang.Object realUser_; /** @@ -239,7 +239,8 @@ public final class RPCProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasEffectiveUser()) { memoizedIsInitialized = 0; @@ -313,7 +314,6 @@ public final class RPCProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -408,8 +408,9 @@ public final class RPCProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.RPCProtos.UserInformationOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.UserInformation) + org.apache.hadoop.hbase.protobuf.generated.RPCProtos.UserInformationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.RPCProtos.internal_static_hbase_pb_UserInformation_descriptor; @@ -539,7 +540,6 @@ public final class RPCProtos { } private int bitField0_; - // required string effective_user = 1; private java.lang.Object effectiveUser_ = ""; /** * required string effective_user = 1; @@ -553,9 +553,12 @@ public final class RPCProtos { public java.lang.String getEffectiveUser() { java.lang.Object ref = effectiveUser_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - effectiveUser_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + effectiveUser_ = s; + } return s; } else { return (java.lang.String) ref; @@ -613,7 +616,6 @@ public final class RPCProtos { return this; } - // optional string real_user = 2; private java.lang.Object realUser_ = ""; /** * optional string real_user = 2; @@ -627,9 +629,12 @@ public final class RPCProtos { public java.lang.String getRealUser() { java.lang.Object ref = realUser_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - realUser_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + realUser_ = s; + } return s; } else { return (java.lang.String) ref; @@ -698,10 +703,10 @@ public final class RPCProtos { // @@protoc_insertion_point(class_scope:hbase.pb.UserInformation) } - public interface ConnectionHeaderOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ConnectionHeaderOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ConnectionHeader) + com.google.protobuf.MessageOrBuilder { - // optional .hbase.pb.UserInformation user_info = 1; /** * optional .hbase.pb.UserInformation user_info = 1; */ @@ -715,7 +720,6 @@ public final class RPCProtos { */ org.apache.hadoop.hbase.protobuf.generated.RPCProtos.UserInformationOrBuilder getUserInfoOrBuilder(); - // optional string service_name = 2; /** * optional string service_name = 2; */ @@ -730,7 +734,6 @@ public final class RPCProtos { com.google.protobuf.ByteString getServiceNameBytes(); - // optional string cell_block_codec_class = 3; /** * optional string cell_block_codec_class = 3; * @@ -760,7 +763,6 @@ public final class RPCProtos { com.google.protobuf.ByteString getCellBlockCodecClassBytes(); - // optional string cell_block_compressor_class = 4; /** * optional string cell_block_compressor_class = 4; * @@ -790,7 +792,6 @@ public final class RPCProtos { com.google.protobuf.ByteString getCellBlockCompressorClassBytes(); - // optional .hbase.pb.VersionInfo version_info = 5; /** * optional .hbase.pb.VersionInfo version_info = 5; */ @@ -812,8 +813,9 @@ public final class RPCProtos { * */ public static final class ConnectionHeader extends - com.google.protobuf.GeneratedMessage - implements ConnectionHeaderOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ConnectionHeader) + ConnectionHeaderOrBuilder { // Use ConnectionHeader.newBuilder() to construct. private ConnectionHeader(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -873,18 +875,21 @@ public final class RPCProtos { break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - serviceName_ = input.readBytes(); + serviceName_ = bs; break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; - cellBlockCodecClass_ = input.readBytes(); + cellBlockCodecClass_ = bs; break; } case 34: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; - cellBlockCompressorClass_ = input.readBytes(); + cellBlockCompressorClass_ = bs; break; } case 42: { @@ -940,7 +945,6 @@ public final class RPCProtos { } private int bitField0_; - // optional .hbase.pb.UserInformation user_info = 1; public static final int USER_INFO_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.RPCProtos.UserInformation userInfo_; /** @@ -962,7 +966,6 @@ public final class RPCProtos { return userInfo_; } - // optional string service_name = 2; public static final int SERVICE_NAME_FIELD_NUMBER = 2; private java.lang.Object serviceName_; /** @@ -1005,7 +1008,6 @@ public final class RPCProtos { } } - // optional string cell_block_codec_class = 3; public static final int CELL_BLOCK_CODEC_CLASS_FIELD_NUMBER = 3; private java.lang.Object cellBlockCodecClass_; /** @@ -1063,7 +1065,6 @@ public final class RPCProtos { } } - // optional string cell_block_compressor_class = 4; public static final int CELL_BLOCK_COMPRESSOR_CLASS_FIELD_NUMBER = 4; private java.lang.Object cellBlockCompressorClass_; /** @@ -1121,7 +1122,6 @@ public final class RPCProtos { } } - // optional .hbase.pb.VersionInfo version_info = 5; public static final int VERSION_INFO_FIELD_NUMBER = 5; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.VersionInfo versionInfo_; /** @@ -1153,7 +1153,8 @@ public final class RPCProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (hasUserInfo()) { if (!getUserInfo().isInitialized()) { @@ -1271,7 +1272,6 @@ public final class RPCProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1378,8 +1378,9 @@ public final class RPCProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.RPCProtos.ConnectionHeaderOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ConnectionHeader) + org.apache.hadoop.hbase.protobuf.generated.RPCProtos.ConnectionHeaderOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.RPCProtos.internal_static_hbase_pb_ConnectionHeader_descriptor; @@ -1564,7 +1565,6 @@ public final class RPCProtos { } private int bitField0_; - // optional .hbase.pb.UserInformation user_info = 1; private org.apache.hadoop.hbase.protobuf.generated.RPCProtos.UserInformation userInfo_ = org.apache.hadoop.hbase.protobuf.generated.RPCProtos.UserInformation.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.RPCProtos.UserInformation, org.apache.hadoop.hbase.protobuf.generated.RPCProtos.UserInformation.Builder, org.apache.hadoop.hbase.protobuf.generated.RPCProtos.UserInformationOrBuilder> userInfoBuilder_; @@ -1673,7 +1673,7 @@ public final class RPCProtos { if (userInfoBuilder_ == null) { userInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.RPCProtos.UserInformation, org.apache.hadoop.hbase.protobuf.generated.RPCProtos.UserInformation.Builder, org.apache.hadoop.hbase.protobuf.generated.RPCProtos.UserInformationOrBuilder>( - userInfo_, + getUserInfo(), getParentForChildren(), isClean()); userInfo_ = null; @@ -1681,7 +1681,6 @@ public final class RPCProtos { return userInfoBuilder_; } - // optional string service_name = 2; private java.lang.Object serviceName_ = ""; /** * optional string service_name = 2; @@ -1695,9 +1694,12 @@ public final class RPCProtos { public java.lang.String getServiceName() { java.lang.Object ref = serviceName_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - serviceName_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + serviceName_ = s; + } return s; } else { return (java.lang.String) ref; @@ -1755,7 +1757,6 @@ public final class RPCProtos { return this; } - // optional string cell_block_codec_class = 3; private java.lang.Object cellBlockCodecClass_ = ""; /** * optional string cell_block_codec_class = 3; @@ -1779,9 +1780,12 @@ public final class RPCProtos { public java.lang.String getCellBlockCodecClass() { java.lang.Object ref = cellBlockCodecClass_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - cellBlockCodecClass_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + cellBlockCodecClass_ = s; + } return s; } else { return (java.lang.String) ref; @@ -1859,7 +1863,6 @@ public final class RPCProtos { return this; } - // optional string cell_block_compressor_class = 4; private java.lang.Object cellBlockCompressorClass_ = ""; /** * optional string cell_block_compressor_class = 4; @@ -1883,9 +1886,12 @@ public final class RPCProtos { public java.lang.String getCellBlockCompressorClass() { java.lang.Object ref = cellBlockCompressorClass_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - cellBlockCompressorClass_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + cellBlockCompressorClass_ = s; + } return s; } else { return (java.lang.String) ref; @@ -1963,7 +1969,6 @@ public final class RPCProtos { return this; } - // optional .hbase.pb.VersionInfo version_info = 5; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.VersionInfo versionInfo_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.VersionInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.VersionInfo, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.VersionInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.VersionInfoOrBuilder> versionInfoBuilder_; @@ -2072,7 +2077,7 @@ public final class RPCProtos { if (versionInfoBuilder_ == null) { versionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.VersionInfo, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.VersionInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.VersionInfoOrBuilder>( - versionInfo_, + getVersionInfo(), getParentForChildren(), isClean()); versionInfo_ = null; @@ -2091,10 +2096,10 @@ public final class RPCProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ConnectionHeader) } - public interface CellBlockMetaOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface CellBlockMetaOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.CellBlockMeta) + com.google.protobuf.MessageOrBuilder { - // optional uint32 length = 1; /** * optional uint32 length = 1; * @@ -2120,8 +2125,9 @@ public final class RPCProtos { * */ public static final class CellBlockMeta extends - com.google.protobuf.GeneratedMessage - implements CellBlockMetaOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.CellBlockMeta) + CellBlockMetaOrBuilder { // Use CellBlockMeta.newBuilder() to construct. private CellBlockMeta(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2212,7 +2218,6 @@ public final class RPCProtos { } private int bitField0_; - // optional uint32 length = 1; public static final int LENGTH_FIELD_NUMBER = 1; private int length_; /** @@ -2242,7 +2247,8 @@ public final class RPCProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -2300,7 +2306,6 @@ public final class RPCProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2391,8 +2396,9 @@ public final class RPCProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.RPCProtos.CellBlockMetaOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.CellBlockMeta) + org.apache.hadoop.hbase.protobuf.generated.RPCProtos.CellBlockMetaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.RPCProtos.internal_static_hbase_pb_CellBlockMeta_descriptor; @@ -2505,7 +2511,6 @@ public final class RPCProtos { } private int bitField0_; - // optional uint32 length = 1; private int length_ ; /** * optional uint32 length = 1; @@ -2565,10 +2570,10 @@ public final class RPCProtos { // @@protoc_insertion_point(class_scope:hbase.pb.CellBlockMeta) } - public interface ExceptionResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ExceptionResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ExceptionResponse) + com.google.protobuf.MessageOrBuilder { - // optional string exception_class_name = 1; /** * optional string exception_class_name = 1; * @@ -2595,7 +2600,6 @@ public final class RPCProtos { com.google.protobuf.ByteString getExceptionClassNameBytes(); - // optional string stack_trace = 2; /** * optional string stack_trace = 2; * @@ -2622,7 +2626,6 @@ public final class RPCProtos { com.google.protobuf.ByteString getStackTraceBytes(); - // optional string hostname = 3; /** * optional string hostname = 3; * @@ -2652,7 +2655,6 @@ public final class RPCProtos { com.google.protobuf.ByteString getHostnameBytes(); - // optional int32 port = 4; /** * optional int32 port = 4; */ @@ -2662,7 +2664,6 @@ public final class RPCProtos { */ int getPort(); - // optional bool do_not_retry = 5; /** * optional bool do_not_retry = 5; * @@ -2689,8 +2690,9 @@ public final class RPCProtos { * */ public static final class ExceptionResponse extends - com.google.protobuf.GeneratedMessage - implements ExceptionResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ExceptionResponse) + ExceptionResponseOrBuilder { // Use ExceptionResponse.newBuilder() to construct. private ExceptionResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2737,18 +2739,21 @@ public final class RPCProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - exceptionClassName_ = input.readBytes(); + exceptionClassName_ = bs; break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - stackTrace_ = input.readBytes(); + stackTrace_ = bs; break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; - hostname_ = input.readBytes(); + hostname_ = bs; break; } case 32: { @@ -2801,7 +2806,6 @@ public final class RPCProtos { } private int bitField0_; - // optional string exception_class_name = 1; public static final int EXCEPTION_CLASS_NAME_FIELD_NUMBER = 1; private java.lang.Object exceptionClassName_; /** @@ -2856,7 +2860,6 @@ public final class RPCProtos { } } - // optional string stack_trace = 2; public static final int STACK_TRACE_FIELD_NUMBER = 2; private java.lang.Object stackTrace_; /** @@ -2911,7 +2914,6 @@ public final class RPCProtos { } } - // optional string hostname = 3; public static final int HOSTNAME_FIELD_NUMBER = 3; private java.lang.Object hostname_; /** @@ -2969,7 +2971,6 @@ public final class RPCProtos { } } - // optional int32 port = 4; public static final int PORT_FIELD_NUMBER = 4; private int port_; /** @@ -2985,7 +2986,6 @@ public final class RPCProtos { return port_; } - // optional bool do_not_retry = 5; public static final int DO_NOT_RETRY_FIELD_NUMBER = 5; private boolean doNotRetry_; /** @@ -3019,7 +3019,8 @@ public final class RPCProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -3125,7 +3126,6 @@ public final class RPCProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -3151,7 +3151,8 @@ public final class RPCProtos { } if (hasDoNotRetry()) { hash = (37 * hash) + DO_NOT_RETRY_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getDoNotRetry()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getDoNotRetry()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -3233,8 +3234,9 @@ public final class RPCProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.RPCProtos.ExceptionResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ExceptionResponse) + org.apache.hadoop.hbase.protobuf.generated.RPCProtos.ExceptionResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.RPCProtos.internal_static_hbase_pb_ExceptionResponse_descriptor; @@ -3389,7 +3391,6 @@ public final class RPCProtos { } private int bitField0_; - // optional string exception_class_name = 1; private java.lang.Object exceptionClassName_ = ""; /** * optional string exception_class_name = 1; @@ -3411,9 +3412,12 @@ public final class RPCProtos { public java.lang.String getExceptionClassName() { java.lang.Object ref = exceptionClassName_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - exceptionClassName_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + exceptionClassName_ = s; + } return s; } else { return (java.lang.String) ref; @@ -3487,7 +3491,6 @@ public final class RPCProtos { return this; } - // optional string stack_trace = 2; private java.lang.Object stackTrace_ = ""; /** * optional string stack_trace = 2; @@ -3509,9 +3512,12 @@ public final class RPCProtos { public java.lang.String getStackTrace() { java.lang.Object ref = stackTrace_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - stackTrace_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + stackTrace_ = s; + } return s; } else { return (java.lang.String) ref; @@ -3585,7 +3591,6 @@ public final class RPCProtos { return this; } - // optional string hostname = 3; private java.lang.Object hostname_ = ""; /** * optional string hostname = 3; @@ -3609,9 +3614,12 @@ public final class RPCProtos { public java.lang.String getHostname() { java.lang.Object ref = hostname_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - hostname_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + hostname_ = s; + } return s; } else { return (java.lang.String) ref; @@ -3689,7 +3697,6 @@ public final class RPCProtos { return this; } - // optional int32 port = 4; private int port_ ; /** * optional int32 port = 4; @@ -3722,7 +3729,6 @@ public final class RPCProtos { return this; } - // optional bool do_not_retry = 5; private boolean doNotRetry_ ; /** * optional bool do_not_retry = 5; @@ -3782,10 +3788,10 @@ public final class RPCProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ExceptionResponse) } - public interface RequestHeaderOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RequestHeaderOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.RequestHeader) + com.google.protobuf.MessageOrBuilder { - // optional uint32 call_id = 1; /** * optional uint32 call_id = 1; * @@ -3803,7 +3809,6 @@ public final class RPCProtos { */ int getCallId(); - // optional .hbase.pb.RPCTInfo trace_info = 2; /** * optional .hbase.pb.RPCTInfo trace_info = 2; */ @@ -3817,7 +3822,6 @@ public final class RPCProtos { */ org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfoOrBuilder getTraceInfoOrBuilder(); - // optional string method_name = 3; /** * optional string method_name = 3; */ @@ -3832,7 +3836,6 @@ public final class RPCProtos { com.google.protobuf.ByteString getMethodNameBytes(); - // optional bool request_param = 4; /** * optional bool request_param = 4; * @@ -3850,7 +3853,6 @@ public final class RPCProtos { */ boolean getRequestParam(); - // optional .hbase.pb.CellBlockMeta cell_block_meta = 5; /** * optional .hbase.pb.CellBlockMeta cell_block_meta = 5; * @@ -3876,7 +3878,6 @@ public final class RPCProtos { */ org.apache.hadoop.hbase.protobuf.generated.RPCProtos.CellBlockMetaOrBuilder getCellBlockMetaOrBuilder(); - // optional uint32 priority = 6; /** * optional uint32 priority = 6; * @@ -3896,7 +3897,6 @@ public final class RPCProtos { */ int getPriority(); - // optional uint32 timeout = 7; /** * optional uint32 timeout = 7; */ @@ -3914,8 +3914,9 @@ public final class RPCProtos { * */ public static final class RequestHeader extends - com.google.protobuf.GeneratedMessage - implements RequestHeaderOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.RequestHeader) + RequestHeaderOrBuilder { // Use RequestHeader.newBuilder() to construct. private RequestHeader(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -3980,8 +3981,9 @@ public final class RPCProtos { break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; - methodName_ = input.readBytes(); + methodName_ = bs; break; } case 32: { @@ -4052,7 +4054,6 @@ public final class RPCProtos { } private int bitField0_; - // optional uint32 call_id = 1; public static final int CALL_ID_FIELD_NUMBER = 1; private int callId_; /** @@ -4076,7 +4077,6 @@ public final class RPCProtos { return callId_; } - // optional .hbase.pb.RPCTInfo trace_info = 2; public static final int TRACE_INFO_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfo traceInfo_; /** @@ -4098,7 +4098,6 @@ public final class RPCProtos { return traceInfo_; } - // optional string method_name = 3; public static final int METHOD_NAME_FIELD_NUMBER = 3; private java.lang.Object methodName_; /** @@ -4141,7 +4140,6 @@ public final class RPCProtos { } } - // optional bool request_param = 4; public static final int REQUEST_PARAM_FIELD_NUMBER = 4; private boolean requestParam_; /** @@ -4165,7 +4163,6 @@ public final class RPCProtos { return requestParam_; } - // optional .hbase.pb.CellBlockMeta cell_block_meta = 5; public static final int CELL_BLOCK_META_FIELD_NUMBER = 5; private org.apache.hadoop.hbase.protobuf.generated.RPCProtos.CellBlockMeta cellBlockMeta_; /** @@ -4199,7 +4196,6 @@ public final class RPCProtos { return cellBlockMeta_; } - // optional uint32 priority = 6; public static final int PRIORITY_FIELD_NUMBER = 6; private int priority_; /** @@ -4225,7 +4221,6 @@ public final class RPCProtos { return priority_; } - // optional uint32 timeout = 7; public static final int TIMEOUT_FIELD_NUMBER = 7; private int timeout_; /** @@ -4253,7 +4248,8 @@ public final class RPCProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -4383,7 +4379,6 @@ public final class RPCProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -4405,7 +4400,8 @@ public final class RPCProtos { } if (hasRequestParam()) { hash = (37 * hash) + REQUEST_PARAM_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getRequestParam()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequestParam()); } if (hasCellBlockMeta()) { hash = (37 * hash) + CELL_BLOCK_META_FIELD_NUMBER; @@ -4498,8 +4494,9 @@ public final class RPCProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.RPCProtos.RequestHeaderOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.RequestHeader) + org.apache.hadoop.hbase.protobuf.generated.RPCProtos.RequestHeaderOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.RPCProtos.internal_static_hbase_pb_RequestHeader_descriptor; @@ -4686,7 +4683,6 @@ public final class RPCProtos { } private int bitField0_; - // optional uint32 call_id = 1; private int callId_ ; /** * optional uint32 call_id = 1; @@ -4735,7 +4731,6 @@ public final class RPCProtos { return this; } - // optional .hbase.pb.RPCTInfo trace_info = 2; private org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfo traceInfo_ = org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfo, org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfoOrBuilder> traceInfoBuilder_; @@ -4844,7 +4839,7 @@ public final class RPCProtos { if (traceInfoBuilder_ == null) { traceInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfo, org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfoOrBuilder>( - traceInfo_, + getTraceInfo(), getParentForChildren(), isClean()); traceInfo_ = null; @@ -4852,7 +4847,6 @@ public final class RPCProtos { return traceInfoBuilder_; } - // optional string method_name = 3; private java.lang.Object methodName_ = ""; /** * optional string method_name = 3; @@ -4866,9 +4860,12 @@ public final class RPCProtos { public java.lang.String getMethodName() { java.lang.Object ref = methodName_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - methodName_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + methodName_ = s; + } return s; } else { return (java.lang.String) ref; @@ -4926,7 +4923,6 @@ public final class RPCProtos { return this; } - // optional bool request_param = 4; private boolean requestParam_ ; /** * optional bool request_param = 4; @@ -4975,7 +4971,6 @@ public final class RPCProtos { return this; } - // optional .hbase.pb.CellBlockMeta cell_block_meta = 5; private org.apache.hadoop.hbase.protobuf.generated.RPCProtos.CellBlockMeta cellBlockMeta_ = org.apache.hadoop.hbase.protobuf.generated.RPCProtos.CellBlockMeta.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.RPCProtos.CellBlockMeta, org.apache.hadoop.hbase.protobuf.generated.RPCProtos.CellBlockMeta.Builder, org.apache.hadoop.hbase.protobuf.generated.RPCProtos.CellBlockMetaOrBuilder> cellBlockMetaBuilder_; @@ -5120,7 +5115,7 @@ public final class RPCProtos { if (cellBlockMetaBuilder_ == null) { cellBlockMetaBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.RPCProtos.CellBlockMeta, org.apache.hadoop.hbase.protobuf.generated.RPCProtos.CellBlockMeta.Builder, org.apache.hadoop.hbase.protobuf.generated.RPCProtos.CellBlockMetaOrBuilder>( - cellBlockMeta_, + getCellBlockMeta(), getParentForChildren(), isClean()); cellBlockMeta_ = null; @@ -5128,7 +5123,6 @@ public final class RPCProtos { return cellBlockMetaBuilder_; } - // optional uint32 priority = 6; private int priority_ ; /** * optional uint32 priority = 6; @@ -5181,7 +5175,6 @@ public final class RPCProtos { return this; } - // optional uint32 timeout = 7; private int timeout_ ; /** * optional uint32 timeout = 7; @@ -5225,10 +5218,10 @@ public final class RPCProtos { // @@protoc_insertion_point(class_scope:hbase.pb.RequestHeader) } - public interface ResponseHeaderOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ResponseHeaderOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ResponseHeader) + com.google.protobuf.MessageOrBuilder { - // optional uint32 call_id = 1; /** * optional uint32 call_id = 1; */ @@ -5238,7 +5231,6 @@ public final class RPCProtos { */ int getCallId(); - // optional .hbase.pb.ExceptionResponse exception = 2; /** * optional .hbase.pb.ExceptionResponse exception = 2; * @@ -5264,7 +5256,6 @@ public final class RPCProtos { */ org.apache.hadoop.hbase.protobuf.generated.RPCProtos.ExceptionResponseOrBuilder getExceptionOrBuilder(); - // optional .hbase.pb.CellBlockMeta cell_block_meta = 3; /** * optional .hbase.pb.CellBlockMeta cell_block_meta = 3; * @@ -5294,8 +5285,9 @@ public final class RPCProtos { * Protobuf type {@code hbase.pb.ResponseHeader} */ public static final class ResponseHeader extends - com.google.protobuf.GeneratedMessage - implements ResponseHeaderOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ResponseHeader) + ResponseHeaderOrBuilder { // Use ResponseHeader.newBuilder() to construct. private ResponseHeader(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -5412,7 +5404,6 @@ public final class RPCProtos { } private int bitField0_; - // optional uint32 call_id = 1; public static final int CALL_ID_FIELD_NUMBER = 1; private int callId_; /** @@ -5428,7 +5419,6 @@ public final class RPCProtos { return callId_; } - // optional .hbase.pb.ExceptionResponse exception = 2; public static final int EXCEPTION_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.RPCProtos.ExceptionResponse exception_; /** @@ -5462,7 +5452,6 @@ public final class RPCProtos { return exception_; } - // optional .hbase.pb.CellBlockMeta cell_block_meta = 3; public static final int CELL_BLOCK_META_FIELD_NUMBER = 3; private org.apache.hadoop.hbase.protobuf.generated.RPCProtos.CellBlockMeta cellBlockMeta_; /** @@ -5504,7 +5493,8 @@ public final class RPCProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -5586,7 +5576,6 @@ public final class RPCProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -5681,8 +5670,9 @@ public final class RPCProtos { * Protobuf type {@code hbase.pb.ResponseHeader} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.RPCProtos.ResponseHeaderOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ResponseHeader) + org.apache.hadoop.hbase.protobuf.generated.RPCProtos.ResponseHeaderOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.RPCProtos.internal_static_hbase_pb_ResponseHeader_descriptor; @@ -5831,7 +5821,6 @@ public final class RPCProtos { } private int bitField0_; - // optional uint32 call_id = 1; private int callId_ ; /** * optional uint32 call_id = 1; @@ -5864,7 +5853,6 @@ public final class RPCProtos { return this; } - // optional .hbase.pb.ExceptionResponse exception = 2; private org.apache.hadoop.hbase.protobuf.generated.RPCProtos.ExceptionResponse exception_ = org.apache.hadoop.hbase.protobuf.generated.RPCProtos.ExceptionResponse.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.RPCProtos.ExceptionResponse, org.apache.hadoop.hbase.protobuf.generated.RPCProtos.ExceptionResponse.Builder, org.apache.hadoop.hbase.protobuf.generated.RPCProtos.ExceptionResponseOrBuilder> exceptionBuilder_; @@ -6009,7 +5997,7 @@ public final class RPCProtos { if (exceptionBuilder_ == null) { exceptionBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.RPCProtos.ExceptionResponse, org.apache.hadoop.hbase.protobuf.generated.RPCProtos.ExceptionResponse.Builder, org.apache.hadoop.hbase.protobuf.generated.RPCProtos.ExceptionResponseOrBuilder>( - exception_, + getException(), getParentForChildren(), isClean()); exception_ = null; @@ -6017,7 +6005,6 @@ public final class RPCProtos { return exceptionBuilder_; } - // optional .hbase.pb.CellBlockMeta cell_block_meta = 3; private org.apache.hadoop.hbase.protobuf.generated.RPCProtos.CellBlockMeta cellBlockMeta_ = org.apache.hadoop.hbase.protobuf.generated.RPCProtos.CellBlockMeta.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.RPCProtos.CellBlockMeta, org.apache.hadoop.hbase.protobuf.generated.RPCProtos.CellBlockMeta.Builder, org.apache.hadoop.hbase.protobuf.generated.RPCProtos.CellBlockMetaOrBuilder> cellBlockMetaBuilder_; @@ -6162,7 +6149,7 @@ public final class RPCProtos { if (cellBlockMetaBuilder_ == null) { cellBlockMetaBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.RPCProtos.CellBlockMeta, org.apache.hadoop.hbase.protobuf.generated.RPCProtos.CellBlockMeta.Builder, org.apache.hadoop.hbase.protobuf.generated.RPCProtos.CellBlockMetaOrBuilder>( - cellBlockMeta_, + getCellBlockMeta(), getParentForChildren(), isClean()); cellBlockMeta_ = null; @@ -6181,32 +6168,32 @@ public final class RPCProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ResponseHeader) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_UserInformation_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_UserInformation_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ConnectionHeader_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ConnectionHeader_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CellBlockMeta_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_CellBlockMeta_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ExceptionResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ExceptionResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RequestHeader_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_RequestHeader_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ResponseHeader_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -6244,55 +6231,57 @@ public final class RPCProtos { "rotobuf.generatedB\tRPCProtosH\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_UserInformation_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_UserInformation_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_UserInformation_descriptor, - new java.lang.String[] { "EffectiveUser", "RealUser", }); - internal_static_hbase_pb_ConnectionHeader_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_hbase_pb_ConnectionHeader_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ConnectionHeader_descriptor, - new java.lang.String[] { "UserInfo", "ServiceName", "CellBlockCodecClass", "CellBlockCompressorClass", "VersionInfo", }); - internal_static_hbase_pb_CellBlockMeta_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_hbase_pb_CellBlockMeta_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_CellBlockMeta_descriptor, - new java.lang.String[] { "Length", }); - internal_static_hbase_pb_ExceptionResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_hbase_pb_ExceptionResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ExceptionResponse_descriptor, - new java.lang.String[] { "ExceptionClassName", "StackTrace", "Hostname", "Port", "DoNotRetry", }); - internal_static_hbase_pb_RequestHeader_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_hbase_pb_RequestHeader_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_RequestHeader_descriptor, - new java.lang.String[] { "CallId", "TraceInfo", "MethodName", "RequestParam", "CellBlockMeta", "Priority", "Timeout", }); - internal_static_hbase_pb_ResponseHeader_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_hbase_pb_ResponseHeader_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ResponseHeader_descriptor, - new java.lang.String[] { "CallId", "Exception", "CellBlockMeta", }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { org.apache.hadoop.hbase.protobuf.generated.TracingProtos.getDescriptor(), org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(), }, assigner); + internal_static_hbase_pb_UserInformation_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_UserInformation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_UserInformation_descriptor, + new java.lang.String[] { "EffectiveUser", "RealUser", }); + internal_static_hbase_pb_ConnectionHeader_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_hbase_pb_ConnectionHeader_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ConnectionHeader_descriptor, + new java.lang.String[] { "UserInfo", "ServiceName", "CellBlockCodecClass", "CellBlockCompressorClass", "VersionInfo", }); + internal_static_hbase_pb_CellBlockMeta_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_hbase_pb_CellBlockMeta_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_CellBlockMeta_descriptor, + new java.lang.String[] { "Length", }); + internal_static_hbase_pb_ExceptionResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_hbase_pb_ExceptionResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ExceptionResponse_descriptor, + new java.lang.String[] { "ExceptionClassName", "StackTrace", "Hostname", "Port", "DoNotRetry", }); + internal_static_hbase_pb_RequestHeader_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_hbase_pb_RequestHeader_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_RequestHeader_descriptor, + new java.lang.String[] { "CallId", "TraceInfo", "MethodName", "RequestParam", "CellBlockMeta", "Priority", "Timeout", }); + internal_static_hbase_pb_ResponseHeader_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_hbase_pb_ResponseHeader_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ResponseHeader_descriptor, + new java.lang.String[] { "CallId", "Exception", "CellBlockMeta", }); + org.apache.hadoop.hbase.protobuf.generated.TracingProtos.getDescriptor(); + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/RowProcessorProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/RowProcessorProtos.java index ac97334..6ed11dc 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/RowProcessorProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/RowProcessorProtos.java @@ -8,10 +8,10 @@ public final class RowProcessorProtos { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } - public interface ProcessRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ProcessRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ProcessRequest) + com.google.protobuf.MessageOrBuilder { - // required string row_processor_class_name = 1; /** * required string row_processor_class_name = 1; */ @@ -26,7 +26,6 @@ public final class RowProcessorProtos { com.google.protobuf.ByteString getRowProcessorClassNameBytes(); - // optional string row_processor_initializer_message_name = 2; /** * optional string row_processor_initializer_message_name = 2; */ @@ -41,7 +40,6 @@ public final class RowProcessorProtos { com.google.protobuf.ByteString getRowProcessorInitializerMessageNameBytes(); - // optional bytes row_processor_initializer_message = 3; /** * optional bytes row_processor_initializer_message = 3; */ @@ -51,7 +49,6 @@ public final class RowProcessorProtos { */ com.google.protobuf.ByteString getRowProcessorInitializerMessage(); - // optional uint64 nonce_group = 4; /** * optional uint64 nonce_group = 4; */ @@ -61,7 +58,6 @@ public final class RowProcessorProtos { */ long getNonceGroup(); - // optional uint64 nonce = 5; /** * optional uint64 nonce = 5; */ @@ -75,8 +71,9 @@ public final class RowProcessorProtos { * Protobuf type {@code hbase.pb.ProcessRequest} */ public static final class ProcessRequest extends - com.google.protobuf.GeneratedMessage - implements ProcessRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ProcessRequest) + ProcessRequestOrBuilder { // Use ProcessRequest.newBuilder() to construct. private ProcessRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -123,13 +120,15 @@ public final class RowProcessorProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - rowProcessorClassName_ = input.readBytes(); + rowProcessorClassName_ = bs; break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - rowProcessorInitializerMessageName_ = input.readBytes(); + rowProcessorInitializerMessageName_ = bs; break; } case 26: { @@ -187,7 +186,6 @@ public final class RowProcessorProtos { } private int bitField0_; - // required string row_processor_class_name = 1; public static final int ROW_PROCESSOR_CLASS_NAME_FIELD_NUMBER = 1; private java.lang.Object rowProcessorClassName_; /** @@ -230,7 +228,6 @@ public final class RowProcessorProtos { } } - // optional string row_processor_initializer_message_name = 2; public static final int ROW_PROCESSOR_INITIALIZER_MESSAGE_NAME_FIELD_NUMBER = 2; private java.lang.Object rowProcessorInitializerMessageName_; /** @@ -273,7 +270,6 @@ public final class RowProcessorProtos { } } - // optional bytes row_processor_initializer_message = 3; public static final int ROW_PROCESSOR_INITIALIZER_MESSAGE_FIELD_NUMBER = 3; private com.google.protobuf.ByteString rowProcessorInitializerMessage_; /** @@ -289,7 +285,6 @@ public final class RowProcessorProtos { return rowProcessorInitializerMessage_; } - // optional uint64 nonce_group = 4; public static final int NONCE_GROUP_FIELD_NUMBER = 4; private long nonceGroup_; /** @@ -305,7 +300,6 @@ public final class RowProcessorProtos { return nonceGroup_; } - // optional uint64 nonce = 5; public static final int NONCE_FIELD_NUMBER = 5; private long nonce_; /** @@ -331,7 +325,8 @@ public final class RowProcessorProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRowProcessorClassName()) { memoizedIsInitialized = 0; @@ -441,7 +436,6 @@ public final class RowProcessorProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -463,11 +457,13 @@ public final class RowProcessorProtos { } if (hasNonceGroup()) { hash = (37 * hash) + NONCE_GROUP_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getNonceGroup()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNonceGroup()); } if (hasNonce()) { hash = (37 * hash) + NONCE_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getNonce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNonce()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -544,8 +540,9 @@ public final class RowProcessorProtos { * Protobuf type {@code hbase.pb.ProcessRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.RowProcessorProtos.ProcessRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ProcessRequest) + org.apache.hadoop.hbase.protobuf.generated.RowProcessorProtos.ProcessRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.RowProcessorProtos.internal_static_hbase_pb_ProcessRequest_descriptor; @@ -702,7 +699,6 @@ public final class RowProcessorProtos { } private int bitField0_; - // required string row_processor_class_name = 1; private java.lang.Object rowProcessorClassName_ = ""; /** * required string row_processor_class_name = 1; @@ -716,9 +712,12 @@ public final class RowProcessorProtos { public java.lang.String getRowProcessorClassName() { java.lang.Object ref = rowProcessorClassName_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - rowProcessorClassName_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + rowProcessorClassName_ = s; + } return s; } else { return (java.lang.String) ref; @@ -776,7 +775,6 @@ public final class RowProcessorProtos { return this; } - // optional string row_processor_initializer_message_name = 2; private java.lang.Object rowProcessorInitializerMessageName_ = ""; /** * optional string row_processor_initializer_message_name = 2; @@ -790,9 +788,12 @@ public final class RowProcessorProtos { public java.lang.String getRowProcessorInitializerMessageName() { java.lang.Object ref = rowProcessorInitializerMessageName_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - rowProcessorInitializerMessageName_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + rowProcessorInitializerMessageName_ = s; + } return s; } else { return (java.lang.String) ref; @@ -850,7 +851,6 @@ public final class RowProcessorProtos { return this; } - // optional bytes row_processor_initializer_message = 3; private com.google.protobuf.ByteString rowProcessorInitializerMessage_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes row_processor_initializer_message = 3; @@ -886,7 +886,6 @@ public final class RowProcessorProtos { return this; } - // optional uint64 nonce_group = 4; private long nonceGroup_ ; /** * optional uint64 nonce_group = 4; @@ -919,7 +918,6 @@ public final class RowProcessorProtos { return this; } - // optional uint64 nonce = 5; private long nonce_ ; /** * optional uint64 nonce = 5; @@ -963,10 +961,10 @@ public final class RowProcessorProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ProcessRequest) } - public interface ProcessResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ProcessResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ProcessResponse) + com.google.protobuf.MessageOrBuilder { - // required bytes row_processor_result = 1; /** * required bytes row_processor_result = 1; */ @@ -980,8 +978,9 @@ public final class RowProcessorProtos { * Protobuf type {@code hbase.pb.ProcessResponse} */ public static final class ProcessResponse extends - com.google.protobuf.GeneratedMessage - implements ProcessResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ProcessResponse) + ProcessResponseOrBuilder { // Use ProcessResponse.newBuilder() to construct. private ProcessResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1072,7 +1071,6 @@ public final class RowProcessorProtos { } private int bitField0_; - // required bytes row_processor_result = 1; public static final int ROW_PROCESSOR_RESULT_FIELD_NUMBER = 1; private com.google.protobuf.ByteString rowProcessorResult_; /** @@ -1094,7 +1092,8 @@ public final class RowProcessorProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRowProcessorResult()) { memoizedIsInitialized = 0; @@ -1156,7 +1155,6 @@ public final class RowProcessorProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1243,8 +1241,9 @@ public final class RowProcessorProtos { * Protobuf type {@code hbase.pb.ProcessResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.RowProcessorProtos.ProcessResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ProcessResponse) + org.apache.hadoop.hbase.protobuf.generated.RowProcessorProtos.ProcessResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.RowProcessorProtos.internal_static_hbase_pb_ProcessResponse_descriptor; @@ -1361,7 +1360,6 @@ public final class RowProcessorProtos { } private int bitField0_; - // required bytes row_processor_result = 1; private com.google.protobuf.ByteString rowProcessorResult_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes row_processor_result = 1; @@ -1640,12 +1638,12 @@ public final class RowProcessorProtos { // @@protoc_insertion_point(class_scope:hbase.pb.RowProcessorService) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ProcessRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ProcessRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ProcessResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -1672,29 +1670,29 @@ public final class RowProcessorProtos { "cessorProtosH\001\210\001\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_ProcessRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_ProcessRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ProcessRequest_descriptor, - new java.lang.String[] { "RowProcessorClassName", "RowProcessorInitializerMessageName", "RowProcessorInitializerMessage", "NonceGroup", "Nonce", }); - internal_static_hbase_pb_ProcessResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_hbase_pb_ProcessResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ProcessResponse_descriptor, - new java.lang.String[] { "RowProcessorResult", }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); + internal_static_hbase_pb_ProcessRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_ProcessRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ProcessRequest_descriptor, + new java.lang.String[] { "RowProcessorClassName", "RowProcessorInitializerMessageName", "RowProcessorInitializerMessage", "NonceGroup", "Nonce", }); + internal_static_hbase_pb_ProcessResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_hbase_pb_ProcessResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ProcessResponse_descriptor, + new java.lang.String[] { "RowProcessorResult", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/SnapshotProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/SnapshotProtos.java index 9805d50..140f5c4 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/SnapshotProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/SnapshotProtos.java @@ -8,10 +8,10 @@ public final class SnapshotProtos { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } - public interface SnapshotFileInfoOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface SnapshotFileInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.SnapshotFileInfo) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.SnapshotFileInfo.Type type = 1; /** * required .hbase.pb.SnapshotFileInfo.Type type = 1; */ @@ -21,7 +21,6 @@ public final class SnapshotProtos { */ org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.SnapshotFileInfo.Type getType(); - // optional string hfile = 3; /** * optional string hfile = 3; */ @@ -36,7 +35,6 @@ public final class SnapshotProtos { com.google.protobuf.ByteString getHfileBytes(); - // optional string wal_server = 4; /** * optional string wal_server = 4; */ @@ -51,7 +49,6 @@ public final class SnapshotProtos { com.google.protobuf.ByteString getWalServerBytes(); - // optional string wal_name = 5; /** * optional string wal_name = 5; */ @@ -70,8 +67,9 @@ public final class SnapshotProtos { * Protobuf type {@code hbase.pb.SnapshotFileInfo} */ public static final class SnapshotFileInfo extends - com.google.protobuf.GeneratedMessage - implements SnapshotFileInfoOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.SnapshotFileInfo) + SnapshotFileInfoOrBuilder { // Use SnapshotFileInfo.newBuilder() to construct. private SnapshotFileInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -129,18 +127,21 @@ public final class SnapshotProtos { break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - hfile_ = input.readBytes(); + hfile_ = bs; break; } case 34: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; - walServer_ = input.readBytes(); + walServer_ = bs; break; } case 42: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; - walName_ = input.readBytes(); + walName_ = bs; break; } } @@ -265,7 +266,6 @@ public final class SnapshotProtos { } private int bitField0_; - // required .hbase.pb.SnapshotFileInfo.Type type = 1; public static final int TYPE_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.SnapshotFileInfo.Type type_; /** @@ -281,7 +281,6 @@ public final class SnapshotProtos { return type_; } - // optional string hfile = 3; public static final int HFILE_FIELD_NUMBER = 3; private java.lang.Object hfile_; /** @@ -324,7 +323,6 @@ public final class SnapshotProtos { } } - // optional string wal_server = 4; public static final int WAL_SERVER_FIELD_NUMBER = 4; private java.lang.Object walServer_; /** @@ -367,7 +365,6 @@ public final class SnapshotProtos { } } - // optional string wal_name = 5; public static final int WAL_NAME_FIELD_NUMBER = 5; private java.lang.Object walName_; /** @@ -419,7 +416,8 @@ public final class SnapshotProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasType()) { memoizedIsInitialized = 0; @@ -517,7 +515,6 @@ public final class SnapshotProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -527,7 +524,8 @@ public final class SnapshotProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasType()) { hash = (37 * hash) + TYPE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getType()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getType()); } if (hasHfile()) { hash = (37 * hash) + HFILE_FIELD_NUMBER; @@ -616,8 +614,9 @@ public final class SnapshotProtos { * Protobuf type {@code hbase.pb.SnapshotFileInfo} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.SnapshotFileInfoOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.SnapshotFileInfo) + org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.SnapshotFileInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.internal_static_hbase_pb_SnapshotFileInfo_descriptor; @@ -767,7 +766,6 @@ public final class SnapshotProtos { } private int bitField0_; - // required .hbase.pb.SnapshotFileInfo.Type type = 1; private org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.SnapshotFileInfo.Type type_ = org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.SnapshotFileInfo.Type.HFILE; /** * required .hbase.pb.SnapshotFileInfo.Type type = 1; @@ -803,7 +801,6 @@ public final class SnapshotProtos { return this; } - // optional string hfile = 3; private java.lang.Object hfile_ = ""; /** * optional string hfile = 3; @@ -817,9 +814,12 @@ public final class SnapshotProtos { public java.lang.String getHfile() { java.lang.Object ref = hfile_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - hfile_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + hfile_ = s; + } return s; } else { return (java.lang.String) ref; @@ -877,7 +877,6 @@ public final class SnapshotProtos { return this; } - // optional string wal_server = 4; private java.lang.Object walServer_ = ""; /** * optional string wal_server = 4; @@ -891,9 +890,12 @@ public final class SnapshotProtos { public java.lang.String getWalServer() { java.lang.Object ref = walServer_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - walServer_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + walServer_ = s; + } return s; } else { return (java.lang.String) ref; @@ -951,7 +953,6 @@ public final class SnapshotProtos { return this; } - // optional string wal_name = 5; private java.lang.Object walName_ = ""; /** * optional string wal_name = 5; @@ -965,9 +966,12 @@ public final class SnapshotProtos { public java.lang.String getWalName() { java.lang.Object ref = walName_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - walName_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + walName_ = s; + } return s; } else { return (java.lang.String) ref; @@ -1036,10 +1040,10 @@ public final class SnapshotProtos { // @@protoc_insertion_point(class_scope:hbase.pb.SnapshotFileInfo) } - public interface SnapshotRegionManifestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface SnapshotRegionManifestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.SnapshotRegionManifest) + com.google.protobuf.MessageOrBuilder { - // optional int32 version = 1; /** * optional int32 version = 1; */ @@ -1049,7 +1053,6 @@ public final class SnapshotProtos { */ int getVersion(); - // required .hbase.pb.RegionInfo region_info = 2; /** * required .hbase.pb.RegionInfo region_info = 2; */ @@ -1063,7 +1066,6 @@ public final class SnapshotProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder getRegionInfoOrBuilder(); - // repeated .hbase.pb.SnapshotRegionManifest.FamilyFiles family_files = 3; /** * repeated .hbase.pb.SnapshotRegionManifest.FamilyFiles family_files = 3; */ @@ -1092,8 +1094,9 @@ public final class SnapshotProtos { * Protobuf type {@code hbase.pb.SnapshotRegionManifest} */ public static final class SnapshotRegionManifest extends - com.google.protobuf.GeneratedMessage - implements SnapshotRegionManifestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.SnapshotRegionManifest) + SnapshotRegionManifestOrBuilder { // Use SnapshotRegionManifest.newBuilder() to construct. private SnapshotRegionManifest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1207,10 +1210,10 @@ public final class SnapshotProtos { return PARSER; } - public interface StoreFileOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface StoreFileOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.SnapshotRegionManifest.StoreFile) + com.google.protobuf.MessageOrBuilder { - // required string name = 1; /** * required string name = 1; */ @@ -1225,7 +1228,6 @@ public final class SnapshotProtos { com.google.protobuf.ByteString getNameBytes(); - // optional .hbase.pb.Reference reference = 2; /** * optional .hbase.pb.Reference reference = 2; */ @@ -1239,7 +1241,6 @@ public final class SnapshotProtos { */ org.apache.hadoop.hbase.protobuf.generated.FSProtos.ReferenceOrBuilder getReferenceOrBuilder(); - // optional uint64 file_size = 3; /** * optional uint64 file_size = 3; * @@ -1261,8 +1262,9 @@ public final class SnapshotProtos { * Protobuf type {@code hbase.pb.SnapshotRegionManifest.StoreFile} */ public static final class StoreFile extends - com.google.protobuf.GeneratedMessage - implements StoreFileOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.SnapshotRegionManifest.StoreFile) + StoreFileOrBuilder { // Use StoreFile.newBuilder() to construct. private StoreFile(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1309,8 +1311,9 @@ public final class SnapshotProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - name_ = input.readBytes(); + name_ = bs; break; } case 18: { @@ -1371,7 +1374,6 @@ public final class SnapshotProtos { } private int bitField0_; - // required string name = 1; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; /** @@ -1414,7 +1416,6 @@ public final class SnapshotProtos { } } - // optional .hbase.pb.Reference reference = 2; public static final int REFERENCE_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.FSProtos.Reference reference_; /** @@ -1436,7 +1437,6 @@ public final class SnapshotProtos { return reference_; } - // optional uint64 file_size = 3; public static final int FILE_SIZE_FIELD_NUMBER = 3; private long fileSize_; /** @@ -1468,7 +1468,8 @@ public final class SnapshotProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasName()) { memoizedIsInitialized = 0; @@ -1560,7 +1561,6 @@ public final class SnapshotProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1578,7 +1578,8 @@ public final class SnapshotProtos { } if (hasFileSize()) { hash = (37 * hash) + FILE_SIZE_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getFileSize()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getFileSize()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -1655,8 +1656,9 @@ public final class SnapshotProtos { * Protobuf type {@code hbase.pb.SnapshotRegionManifest.StoreFile} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.StoreFileOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.SnapshotRegionManifest.StoreFile) + org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.StoreFileOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.internal_static_hbase_pb_SnapshotRegionManifest_StoreFile_descriptor; @@ -1808,7 +1810,6 @@ public final class SnapshotProtos { } private int bitField0_; - // required string name = 1; private java.lang.Object name_ = ""; /** * required string name = 1; @@ -1822,9 +1823,12 @@ public final class SnapshotProtos { public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - name_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + name_ = s; + } return s; } else { return (java.lang.String) ref; @@ -1882,7 +1886,6 @@ public final class SnapshotProtos { return this; } - // optional .hbase.pb.Reference reference = 2; private org.apache.hadoop.hbase.protobuf.generated.FSProtos.Reference reference_ = org.apache.hadoop.hbase.protobuf.generated.FSProtos.Reference.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FSProtos.Reference, org.apache.hadoop.hbase.protobuf.generated.FSProtos.Reference.Builder, org.apache.hadoop.hbase.protobuf.generated.FSProtos.ReferenceOrBuilder> referenceBuilder_; @@ -1991,7 +1994,7 @@ public final class SnapshotProtos { if (referenceBuilder_ == null) { referenceBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.FSProtos.Reference, org.apache.hadoop.hbase.protobuf.generated.FSProtos.Reference.Builder, org.apache.hadoop.hbase.protobuf.generated.FSProtos.ReferenceOrBuilder>( - reference_, + getReference(), getParentForChildren(), isClean()); reference_ = null; @@ -1999,7 +2002,6 @@ public final class SnapshotProtos { return referenceBuilder_; } - // optional uint64 file_size = 3; private long fileSize_ ; /** * optional uint64 file_size = 3; @@ -2059,10 +2061,10 @@ public final class SnapshotProtos { // @@protoc_insertion_point(class_scope:hbase.pb.SnapshotRegionManifest.StoreFile) } - public interface FamilyFilesOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface FamilyFilesOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.SnapshotRegionManifest.FamilyFiles) + com.google.protobuf.MessageOrBuilder { - // required bytes family_name = 1; /** * required bytes family_name = 1; */ @@ -2072,7 +2074,6 @@ public final class SnapshotProtos { */ com.google.protobuf.ByteString getFamilyName(); - // repeated .hbase.pb.SnapshotRegionManifest.StoreFile store_files = 2; /** * repeated .hbase.pb.SnapshotRegionManifest.StoreFile store_files = 2; */ @@ -2101,8 +2102,9 @@ public final class SnapshotProtos { * Protobuf type {@code hbase.pb.SnapshotRegionManifest.FamilyFiles} */ public static final class FamilyFiles extends - com.google.protobuf.GeneratedMessage - implements FamilyFilesOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.SnapshotRegionManifest.FamilyFiles) + FamilyFilesOrBuilder { // Use FamilyFiles.newBuilder() to construct. private FamilyFiles(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2204,7 +2206,6 @@ public final class SnapshotProtos { } private int bitField0_; - // required bytes family_name = 1; public static final int FAMILY_NAME_FIELD_NUMBER = 1; private com.google.protobuf.ByteString familyName_; /** @@ -2220,7 +2221,6 @@ public final class SnapshotProtos { return familyName_; } - // repeated .hbase.pb.SnapshotRegionManifest.StoreFile store_files = 2; public static final int STORE_FILES_FIELD_NUMBER = 2; private java.util.List storeFiles_; /** @@ -2263,7 +2263,8 @@ public final class SnapshotProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasFamilyName()) { memoizedIsInitialized = 0; @@ -2340,7 +2341,6 @@ public final class SnapshotProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2431,8 +2431,9 @@ public final class SnapshotProtos { * Protobuf type {@code hbase.pb.SnapshotRegionManifest.FamilyFiles} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.FamilyFilesOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.SnapshotRegionManifest.FamilyFiles) + org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.FamilyFilesOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.internal_static_hbase_pb_SnapshotRegionManifest_FamilyFiles_descriptor; @@ -2597,7 +2598,6 @@ public final class SnapshotProtos { } private int bitField0_; - // required bytes family_name = 1; private com.google.protobuf.ByteString familyName_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes family_name = 1; @@ -2633,7 +2633,6 @@ public final class SnapshotProtos { return this; } - // repeated .hbase.pb.SnapshotRegionManifest.StoreFile store_files = 2; private java.util.List storeFiles_ = java.util.Collections.emptyList(); private void ensureStoreFilesIsMutable() { @@ -2775,7 +2774,8 @@ public final class SnapshotProtos { java.lang.Iterable values) { if (storeFilesBuilder_ == null) { ensureStoreFilesIsMutable(); - super.addAll(values, storeFiles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, storeFiles_); onChanged(); } else { storeFilesBuilder_.addAllMessages(values); @@ -2885,7 +2885,6 @@ public final class SnapshotProtos { } private int bitField0_; - // optional int32 version = 1; public static final int VERSION_FIELD_NUMBER = 1; private int version_; /** @@ -2901,7 +2900,6 @@ public final class SnapshotProtos { return version_; } - // required .hbase.pb.RegionInfo region_info = 2; public static final int REGION_INFO_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo regionInfo_; /** @@ -2923,7 +2921,6 @@ public final class SnapshotProtos { return regionInfo_; } - // repeated .hbase.pb.SnapshotRegionManifest.FamilyFiles family_files = 3; public static final int FAMILY_FILES_FIELD_NUMBER = 3; private java.util.List familyFiles_; /** @@ -2967,7 +2964,8 @@ public final class SnapshotProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasRegionInfo()) { memoizedIsInitialized = 0; @@ -3060,7 +3058,6 @@ public final class SnapshotProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -3155,8 +3152,9 @@ public final class SnapshotProtos { * Protobuf type {@code hbase.pb.SnapshotRegionManifest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.SnapshotRegionManifestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.SnapshotRegionManifest) + org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.SnapshotRegionManifestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.internal_static_hbase_pb_SnapshotRegionManifest_descriptor; @@ -3343,7 +3341,6 @@ public final class SnapshotProtos { } private int bitField0_; - // optional int32 version = 1; private int version_ ; /** * optional int32 version = 1; @@ -3376,7 +3373,6 @@ public final class SnapshotProtos { return this; } - // required .hbase.pb.RegionInfo region_info = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo regionInfo_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder> regionInfoBuilder_; @@ -3485,7 +3481,7 @@ public final class SnapshotProtos { if (regionInfoBuilder_ == null) { regionInfoBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfo.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.RegionInfoOrBuilder>( - regionInfo_, + getRegionInfo(), getParentForChildren(), isClean()); regionInfo_ = null; @@ -3493,7 +3489,6 @@ public final class SnapshotProtos { return regionInfoBuilder_; } - // repeated .hbase.pb.SnapshotRegionManifest.FamilyFiles family_files = 3; private java.util.List familyFiles_ = java.util.Collections.emptyList(); private void ensureFamilyFilesIsMutable() { @@ -3635,7 +3630,8 @@ public final class SnapshotProtos { java.lang.Iterable values) { if (familyFilesBuilder_ == null) { ensureFamilyFilesIsMutable(); - super.addAll(values, familyFiles_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, familyFiles_); onChanged(); } else { familyFilesBuilder_.addAllMessages(values); @@ -3744,10 +3740,10 @@ public final class SnapshotProtos { // @@protoc_insertion_point(class_scope:hbase.pb.SnapshotRegionManifest) } - public interface SnapshotDataManifestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface SnapshotDataManifestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.SnapshotDataManifest) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.TableSchema table_schema = 1; /** * required .hbase.pb.TableSchema table_schema = 1; */ @@ -3761,7 +3757,6 @@ public final class SnapshotProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchemaOrBuilder getTableSchemaOrBuilder(); - // repeated .hbase.pb.SnapshotRegionManifest region_manifests = 2; /** * repeated .hbase.pb.SnapshotRegionManifest region_manifests = 2; */ @@ -3790,8 +3785,9 @@ public final class SnapshotProtos { * Protobuf type {@code hbase.pb.SnapshotDataManifest} */ public static final class SnapshotDataManifest extends - com.google.protobuf.GeneratedMessage - implements SnapshotDataManifestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.SnapshotDataManifest) + SnapshotDataManifestOrBuilder { // Use SnapshotDataManifest.newBuilder() to construct. private SnapshotDataManifest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -3901,7 +3897,6 @@ public final class SnapshotProtos { } private int bitField0_; - // required .hbase.pb.TableSchema table_schema = 1; public static final int TABLE_SCHEMA_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema tableSchema_; /** @@ -3923,7 +3918,6 @@ public final class SnapshotProtos { return tableSchema_; } - // repeated .hbase.pb.SnapshotRegionManifest region_manifests = 2; public static final int REGION_MANIFESTS_FIELD_NUMBER = 2; private java.util.List regionManifests_; /** @@ -3966,7 +3960,8 @@ public final class SnapshotProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasTableSchema()) { memoizedIsInitialized = 0; @@ -4047,7 +4042,6 @@ public final class SnapshotProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -4138,8 +4132,9 @@ public final class SnapshotProtos { * Protobuf type {@code hbase.pb.SnapshotDataManifest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.SnapshotDataManifestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.SnapshotDataManifest) + org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.SnapshotDataManifestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.SnapshotProtos.internal_static_hbase_pb_SnapshotDataManifest_descriptor; @@ -4317,7 +4312,6 @@ public final class SnapshotProtos { } private int bitField0_; - // required .hbase.pb.TableSchema table_schema = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema tableSchema_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchemaOrBuilder> tableSchemaBuilder_; @@ -4426,7 +4420,7 @@ public final class SnapshotProtos { if (tableSchemaBuilder_ == null) { tableSchemaBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchema.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableSchemaOrBuilder>( - tableSchema_, + getTableSchema(), getParentForChildren(), isClean()); tableSchema_ = null; @@ -4434,7 +4428,6 @@ public final class SnapshotProtos { return tableSchemaBuilder_; } - // repeated .hbase.pb.SnapshotRegionManifest region_manifests = 2; private java.util.List regionManifests_ = java.util.Collections.emptyList(); private void ensureRegionManifestsIsMutable() { @@ -4576,7 +4569,8 @@ public final class SnapshotProtos { java.lang.Iterable values) { if (regionManifestsBuilder_ == null) { ensureRegionManifestsIsMutable(); - super.addAll(values, regionManifests_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, regionManifests_); onChanged(); } else { regionManifestsBuilder_.addAllMessages(values); @@ -4685,27 +4679,27 @@ public final class SnapshotProtos { // @@protoc_insertion_point(class_scope:hbase.pb.SnapshotDataManifest) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_SnapshotFileInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_SnapshotFileInfo_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_SnapshotRegionManifest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_SnapshotRegionManifest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_SnapshotRegionManifest_StoreFile_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_SnapshotRegionManifest_StoreFile_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_SnapshotRegionManifest_FamilyFiles_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_SnapshotRegionManifest_FamilyFiles_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_SnapshotDataManifest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -4740,49 +4734,51 @@ public final class SnapshotProtos { "pshotProtosH\001\210\001\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_SnapshotFileInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_SnapshotFileInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_SnapshotFileInfo_descriptor, - new java.lang.String[] { "Type", "Hfile", "WalServer", "WalName", }); - internal_static_hbase_pb_SnapshotRegionManifest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_hbase_pb_SnapshotRegionManifest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_SnapshotRegionManifest_descriptor, - new java.lang.String[] { "Version", "RegionInfo", "FamilyFiles", }); - internal_static_hbase_pb_SnapshotRegionManifest_StoreFile_descriptor = - internal_static_hbase_pb_SnapshotRegionManifest_descriptor.getNestedTypes().get(0); - internal_static_hbase_pb_SnapshotRegionManifest_StoreFile_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_SnapshotRegionManifest_StoreFile_descriptor, - new java.lang.String[] { "Name", "Reference", "FileSize", }); - internal_static_hbase_pb_SnapshotRegionManifest_FamilyFiles_descriptor = - internal_static_hbase_pb_SnapshotRegionManifest_descriptor.getNestedTypes().get(1); - internal_static_hbase_pb_SnapshotRegionManifest_FamilyFiles_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_SnapshotRegionManifest_FamilyFiles_descriptor, - new java.lang.String[] { "FamilyName", "StoreFiles", }); - internal_static_hbase_pb_SnapshotDataManifest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_hbase_pb_SnapshotDataManifest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_SnapshotDataManifest_descriptor, - new java.lang.String[] { "TableSchema", "RegionManifests", }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { org.apache.hadoop.hbase.protobuf.generated.FSProtos.getDescriptor(), org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(), }, assigner); + internal_static_hbase_pb_SnapshotFileInfo_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_SnapshotFileInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_SnapshotFileInfo_descriptor, + new java.lang.String[] { "Type", "Hfile", "WalServer", "WalName", }); + internal_static_hbase_pb_SnapshotRegionManifest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_hbase_pb_SnapshotRegionManifest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_SnapshotRegionManifest_descriptor, + new java.lang.String[] { "Version", "RegionInfo", "FamilyFiles", }); + internal_static_hbase_pb_SnapshotRegionManifest_StoreFile_descriptor = + internal_static_hbase_pb_SnapshotRegionManifest_descriptor.getNestedTypes().get(0); + internal_static_hbase_pb_SnapshotRegionManifest_StoreFile_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_SnapshotRegionManifest_StoreFile_descriptor, + new java.lang.String[] { "Name", "Reference", "FileSize", }); + internal_static_hbase_pb_SnapshotRegionManifest_FamilyFiles_descriptor = + internal_static_hbase_pb_SnapshotRegionManifest_descriptor.getNestedTypes().get(1); + internal_static_hbase_pb_SnapshotRegionManifest_FamilyFiles_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_SnapshotRegionManifest_FamilyFiles_descriptor, + new java.lang.String[] { "FamilyName", "StoreFiles", }); + internal_static_hbase_pb_SnapshotDataManifest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_hbase_pb_SnapshotDataManifest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_SnapshotDataManifest_descriptor, + new java.lang.String[] { "TableSchema", "RegionManifests", }); + org.apache.hadoop.hbase.protobuf.generated.FSProtos.getDescriptor(); + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/TracingProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/TracingProtos.java index 9a12a5b..c81d810 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/TracingProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/TracingProtos.java @@ -8,10 +8,10 @@ public final class TracingProtos { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } - public interface RPCTInfoOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RPCTInfoOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.RPCTInfo) + com.google.protobuf.MessageOrBuilder { - // optional int64 trace_id = 1; /** * optional int64 trace_id = 1; */ @@ -21,7 +21,6 @@ public final class TracingProtos { */ long getTraceId(); - // optional int64 parent_id = 2; /** * optional int64 parent_id = 2; */ @@ -43,8 +42,9 @@ public final class TracingProtos { * */ public static final class RPCTInfo extends - com.google.protobuf.GeneratedMessage - implements RPCTInfoOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.RPCTInfo) + RPCTInfoOrBuilder { // Use RPCTInfo.newBuilder() to construct. private RPCTInfo(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -140,7 +140,6 @@ public final class TracingProtos { } private int bitField0_; - // optional int64 trace_id = 1; public static final int TRACE_ID_FIELD_NUMBER = 1; private long traceId_; /** @@ -156,7 +155,6 @@ public final class TracingProtos { return traceId_; } - // optional int64 parent_id = 2; public static final int PARENT_ID_FIELD_NUMBER = 2; private long parentId_; /** @@ -179,7 +177,8 @@ public final class TracingProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -249,7 +248,6 @@ public final class TracingProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -259,11 +257,13 @@ public final class TracingProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasTraceId()) { hash = (37 * hash) + TRACE_ID_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getTraceId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getTraceId()); } if (hasParentId()) { hash = (37 * hash) + PARENT_ID_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getParentId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getParentId()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -348,8 +348,9 @@ public final class TracingProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfoOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.RPCTInfo) + org.apache.hadoop.hbase.protobuf.generated.TracingProtos.RPCTInfoOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.TracingProtos.internal_static_hbase_pb_RPCTInfo_descriptor; @@ -471,7 +472,6 @@ public final class TracingProtos { } private int bitField0_; - // optional int64 trace_id = 1; private long traceId_ ; /** * optional int64 trace_id = 1; @@ -504,7 +504,6 @@ public final class TracingProtos { return this; } - // optional int64 parent_id = 2; private long parentId_ ; /** * optional int64 parent_id = 2; @@ -548,7 +547,7 @@ public final class TracingProtos { // @@protoc_insertion_point(class_scope:hbase.pb.RPCTInfo) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RPCTInfo_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -568,23 +567,23 @@ public final class TracingProtos { "B\rTracingProtosH\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_RPCTInfo_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_RPCTInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_RPCTInfo_descriptor, - new java.lang.String[] { "TraceId", "ParentId", }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); + internal_static_hbase_pb_RPCTInfo_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_RPCTInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_RPCTInfo_descriptor, + new java.lang.String[] { "TraceId", "ParentId", }); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/VisibilityLabelsProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/VisibilityLabelsProtos.java index 3810071..adb30c7 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/VisibilityLabelsProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/VisibilityLabelsProtos.java @@ -8,10 +8,10 @@ public final class VisibilityLabelsProtos { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } - public interface VisibilityLabelsRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface VisibilityLabelsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.VisibilityLabelsRequest) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.VisibilityLabel visLabel = 1; /** * repeated .hbase.pb.VisibilityLabel visLabel = 1; */ @@ -40,8 +40,9 @@ public final class VisibilityLabelsProtos { * Protobuf type {@code hbase.pb.VisibilityLabelsRequest} */ public static final class VisibilityLabelsRequest extends - com.google.protobuf.GeneratedMessage - implements VisibilityLabelsRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.VisibilityLabelsRequest) + VisibilityLabelsRequestOrBuilder { // Use VisibilityLabelsRequest.newBuilder() to construct. private VisibilityLabelsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -137,7 +138,6 @@ public final class VisibilityLabelsProtos { return PARSER; } - // repeated .hbase.pb.VisibilityLabel visLabel = 1; public static final int VISLABEL_FIELD_NUMBER = 1; private java.util.List visLabel_; /** @@ -179,7 +179,8 @@ public final class VisibilityLabelsProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getVisLabelCount(); i++) { if (!getVisLabel(i).isInitialized()) { @@ -240,7 +241,6 @@ public final class VisibilityLabelsProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -327,8 +327,9 @@ public final class VisibilityLabelsProtos { * Protobuf type {@code hbase.pb.VisibilityLabelsRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.VisibilityLabelsRequest) + org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_VisibilityLabelsRequest_descriptor; @@ -478,7 +479,6 @@ public final class VisibilityLabelsProtos { } private int bitField0_; - // repeated .hbase.pb.VisibilityLabel visLabel = 1; private java.util.List visLabel_ = java.util.Collections.emptyList(); private void ensureVisLabelIsMutable() { @@ -620,7 +620,8 @@ public final class VisibilityLabelsProtos { java.lang.Iterable values) { if (visLabelBuilder_ == null) { ensureVisLabelIsMutable(); - super.addAll(values, visLabel_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, visLabel_); onChanged(); } else { visLabelBuilder_.addAllMessages(values); @@ -729,10 +730,10 @@ public final class VisibilityLabelsProtos { // @@protoc_insertion_point(class_scope:hbase.pb.VisibilityLabelsRequest) } - public interface VisibilityLabelOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface VisibilityLabelOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.VisibilityLabel) + com.google.protobuf.MessageOrBuilder { - // required bytes label = 1; /** * required bytes label = 1; */ @@ -742,7 +743,6 @@ public final class VisibilityLabelsProtos { */ com.google.protobuf.ByteString getLabel(); - // optional uint32 ordinal = 2; /** * optional uint32 ordinal = 2; */ @@ -756,8 +756,9 @@ public final class VisibilityLabelsProtos { * Protobuf type {@code hbase.pb.VisibilityLabel} */ public static final class VisibilityLabel extends - com.google.protobuf.GeneratedMessage - implements VisibilityLabelOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.VisibilityLabel) + VisibilityLabelOrBuilder { // Use VisibilityLabel.newBuilder() to construct. private VisibilityLabel(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -853,7 +854,6 @@ public final class VisibilityLabelsProtos { } private int bitField0_; - // required bytes label = 1; public static final int LABEL_FIELD_NUMBER = 1; private com.google.protobuf.ByteString label_; /** @@ -869,7 +869,6 @@ public final class VisibilityLabelsProtos { return label_; } - // optional uint32 ordinal = 2; public static final int ORDINAL_FIELD_NUMBER = 2; private int ordinal_; /** @@ -892,7 +891,8 @@ public final class VisibilityLabelsProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasLabel()) { memoizedIsInitialized = 0; @@ -966,7 +966,6 @@ public final class VisibilityLabelsProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1057,8 +1056,9 @@ public final class VisibilityLabelsProtos { * Protobuf type {@code hbase.pb.VisibilityLabel} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.VisibilityLabel) + org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_VisibilityLabel_descriptor; @@ -1184,7 +1184,6 @@ public final class VisibilityLabelsProtos { } private int bitField0_; - // required bytes label = 1; private com.google.protobuf.ByteString label_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes label = 1; @@ -1220,7 +1219,6 @@ public final class VisibilityLabelsProtos { return this; } - // optional uint32 ordinal = 2; private int ordinal_ ; /** * optional uint32 ordinal = 2; @@ -1264,10 +1262,10 @@ public final class VisibilityLabelsProtos { // @@protoc_insertion_point(class_scope:hbase.pb.VisibilityLabel) } - public interface VisibilityLabelsResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface VisibilityLabelsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.VisibilityLabelsResponse) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.RegionActionResult result = 1; /** * repeated .hbase.pb.RegionActionResult result = 1; */ @@ -1296,8 +1294,9 @@ public final class VisibilityLabelsProtos { * Protobuf type {@code hbase.pb.VisibilityLabelsResponse} */ public static final class VisibilityLabelsResponse extends - com.google.protobuf.GeneratedMessage - implements VisibilityLabelsResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.VisibilityLabelsResponse) + VisibilityLabelsResponseOrBuilder { // Use VisibilityLabelsResponse.newBuilder() to construct. private VisibilityLabelsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1393,7 +1392,6 @@ public final class VisibilityLabelsProtos { return PARSER; } - // repeated .hbase.pb.RegionActionResult result = 1; public static final int RESULT_FIELD_NUMBER = 1; private java.util.List result_; /** @@ -1435,7 +1433,8 @@ public final class VisibilityLabelsProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getResultCount(); i++) { if (!getResult(i).isInitialized()) { @@ -1496,7 +1495,6 @@ public final class VisibilityLabelsProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1583,8 +1581,9 @@ public final class VisibilityLabelsProtos { * Protobuf type {@code hbase.pb.VisibilityLabelsResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.VisibilityLabelsResponse) + org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.VisibilityLabelsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_VisibilityLabelsResponse_descriptor; @@ -1734,7 +1733,6 @@ public final class VisibilityLabelsProtos { } private int bitField0_; - // repeated .hbase.pb.RegionActionResult result = 1; private java.util.List result_ = java.util.Collections.emptyList(); private void ensureResultIsMutable() { @@ -1876,7 +1874,8 @@ public final class VisibilityLabelsProtos { java.lang.Iterable values) { if (resultBuilder_ == null) { ensureResultIsMutable(); - super.addAll(values, result_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, result_); onChanged(); } else { resultBuilder_.addAllMessages(values); @@ -1985,10 +1984,10 @@ public final class VisibilityLabelsProtos { // @@protoc_insertion_point(class_scope:hbase.pb.VisibilityLabelsResponse) } - public interface SetAuthsRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface SetAuthsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.SetAuthsRequest) + com.google.protobuf.MessageOrBuilder { - // required bytes user = 1; /** * required bytes user = 1; */ @@ -1998,7 +1997,6 @@ public final class VisibilityLabelsProtos { */ com.google.protobuf.ByteString getUser(); - // repeated bytes auth = 2; /** * repeated bytes auth = 2; */ @@ -2016,8 +2014,9 @@ public final class VisibilityLabelsProtos { * Protobuf type {@code hbase.pb.SetAuthsRequest} */ public static final class SetAuthsRequest extends - com.google.protobuf.GeneratedMessage - implements SetAuthsRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.SetAuthsRequest) + SetAuthsRequestOrBuilder { // Use SetAuthsRequest.newBuilder() to construct. private SetAuthsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2119,7 +2118,6 @@ public final class VisibilityLabelsProtos { } private int bitField0_; - // required bytes user = 1; public static final int USER_FIELD_NUMBER = 1; private com.google.protobuf.ByteString user_; /** @@ -2135,7 +2133,6 @@ public final class VisibilityLabelsProtos { return user_; } - // repeated bytes auth = 2; public static final int AUTH_FIELD_NUMBER = 2; private java.util.List auth_; /** @@ -2165,7 +2162,8 @@ public final class VisibilityLabelsProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasUser()) { memoizedIsInitialized = 0; @@ -2241,7 +2239,6 @@ public final class VisibilityLabelsProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2332,8 +2329,9 @@ public final class VisibilityLabelsProtos { * Protobuf type {@code hbase.pb.SetAuthsRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.SetAuthsRequest) + org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.SetAuthsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_SetAuthsRequest_descriptor; @@ -2467,7 +2465,6 @@ public final class VisibilityLabelsProtos { } private int bitField0_; - // required bytes user = 1; private com.google.protobuf.ByteString user_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes user = 1; @@ -2503,7 +2500,6 @@ public final class VisibilityLabelsProtos { return this; } - // repeated bytes auth = 2; private java.util.List auth_ = java.util.Collections.emptyList(); private void ensureAuthIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { @@ -2561,7 +2557,8 @@ public final class VisibilityLabelsProtos { public Builder addAllAuth( java.lang.Iterable values) { ensureAuthIsMutable(); - super.addAll(values, auth_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, auth_); onChanged(); return this; } @@ -2586,10 +2583,10 @@ public final class VisibilityLabelsProtos { // @@protoc_insertion_point(class_scope:hbase.pb.SetAuthsRequest) } - public interface UserAuthorizationsOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface UserAuthorizationsOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.UserAuthorizations) + com.google.protobuf.MessageOrBuilder { - // required bytes user = 1; /** * required bytes user = 1; */ @@ -2599,7 +2596,6 @@ public final class VisibilityLabelsProtos { */ com.google.protobuf.ByteString getUser(); - // repeated uint32 auth = 2; /** * repeated uint32 auth = 2; */ @@ -2617,8 +2613,9 @@ public final class VisibilityLabelsProtos { * Protobuf type {@code hbase.pb.UserAuthorizations} */ public static final class UserAuthorizations extends - com.google.protobuf.GeneratedMessage - implements UserAuthorizationsOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.UserAuthorizations) + UserAuthorizationsOrBuilder { // Use UserAuthorizations.newBuilder() to construct. private UserAuthorizations(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2733,7 +2730,6 @@ public final class VisibilityLabelsProtos { } private int bitField0_; - // required bytes user = 1; public static final int USER_FIELD_NUMBER = 1; private com.google.protobuf.ByteString user_; /** @@ -2749,7 +2745,6 @@ public final class VisibilityLabelsProtos { return user_; } - // repeated uint32 auth = 2; public static final int AUTH_FIELD_NUMBER = 2; private java.util.List auth_; /** @@ -2779,7 +2774,8 @@ public final class VisibilityLabelsProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasUser()) { memoizedIsInitialized = 0; @@ -2855,7 +2851,6 @@ public final class VisibilityLabelsProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2946,8 +2941,9 @@ public final class VisibilityLabelsProtos { * Protobuf type {@code hbase.pb.UserAuthorizations} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizationsOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.UserAuthorizations) + org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.UserAuthorizationsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_UserAuthorizations_descriptor; @@ -3081,7 +3077,6 @@ public final class VisibilityLabelsProtos { } private int bitField0_; - // required bytes user = 1; private com.google.protobuf.ByteString user_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes user = 1; @@ -3117,7 +3112,6 @@ public final class VisibilityLabelsProtos { return this; } - // repeated uint32 auth = 2; private java.util.List auth_ = java.util.Collections.emptyList(); private void ensureAuthIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { @@ -3169,7 +3163,8 @@ public final class VisibilityLabelsProtos { public Builder addAllAuth( java.lang.Iterable values) { ensureAuthIsMutable(); - super.addAll(values, auth_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, auth_); onChanged(); return this; } @@ -3194,10 +3189,10 @@ public final class VisibilityLabelsProtos { // @@protoc_insertion_point(class_scope:hbase.pb.UserAuthorizations) } - public interface MultiUserAuthorizationsOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface MultiUserAuthorizationsOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.MultiUserAuthorizations) + com.google.protobuf.MessageOrBuilder { - // repeated .hbase.pb.UserAuthorizations userAuths = 1; /** * repeated .hbase.pb.UserAuthorizations userAuths = 1; */ @@ -3226,8 +3221,9 @@ public final class VisibilityLabelsProtos { * Protobuf type {@code hbase.pb.MultiUserAuthorizations} */ public static final class MultiUserAuthorizations extends - com.google.protobuf.GeneratedMessage - implements MultiUserAuthorizationsOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.MultiUserAuthorizations) + MultiUserAuthorizationsOrBuilder { // Use MultiUserAuthorizations.newBuilder() to construct. private MultiUserAuthorizations(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -3323,7 +3319,6 @@ public final class VisibilityLabelsProtos { return PARSER; } - // repeated .hbase.pb.UserAuthorizations userAuths = 1; public static final int USERAUTHS_FIELD_NUMBER = 1; private java.util.List userAuths_; /** @@ -3365,7 +3360,8 @@ public final class VisibilityLabelsProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; for (int i = 0; i < getUserAuthsCount(); i++) { if (!getUserAuths(i).isInitialized()) { @@ -3426,7 +3422,6 @@ public final class VisibilityLabelsProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -3513,8 +3508,9 @@ public final class VisibilityLabelsProtos { * Protobuf type {@code hbase.pb.MultiUserAuthorizations} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizationsOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.MultiUserAuthorizations) + org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.MultiUserAuthorizationsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_MultiUserAuthorizations_descriptor; @@ -3664,7 +3660,6 @@ public final class VisibilityLabelsProtos { } private int bitField0_; - // repeated .hbase.pb.UserAuthorizations userAuths = 1; private java.util.List userAuths_ = java.util.Collections.emptyList(); private void ensureUserAuthsIsMutable() { @@ -3806,7 +3801,8 @@ public final class VisibilityLabelsProtos { java.lang.Iterable values) { if (userAuthsBuilder_ == null) { ensureUserAuthsIsMutable(); - super.addAll(values, userAuths_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, userAuths_); onChanged(); } else { userAuthsBuilder_.addAllMessages(values); @@ -3915,10 +3911,10 @@ public final class VisibilityLabelsProtos { // @@protoc_insertion_point(class_scope:hbase.pb.MultiUserAuthorizations) } - public interface GetAuthsRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface GetAuthsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.GetAuthsRequest) + com.google.protobuf.MessageOrBuilder { - // required bytes user = 1; /** * required bytes user = 1; */ @@ -3932,8 +3928,9 @@ public final class VisibilityLabelsProtos { * Protobuf type {@code hbase.pb.GetAuthsRequest} */ public static final class GetAuthsRequest extends - com.google.protobuf.GeneratedMessage - implements GetAuthsRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.GetAuthsRequest) + GetAuthsRequestOrBuilder { // Use GetAuthsRequest.newBuilder() to construct. private GetAuthsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -4024,7 +4021,6 @@ public final class VisibilityLabelsProtos { } private int bitField0_; - // required bytes user = 1; public static final int USER_FIELD_NUMBER = 1; private com.google.protobuf.ByteString user_; /** @@ -4046,7 +4042,8 @@ public final class VisibilityLabelsProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasUser()) { memoizedIsInitialized = 0; @@ -4108,7 +4105,6 @@ public final class VisibilityLabelsProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -4195,8 +4191,9 @@ public final class VisibilityLabelsProtos { * Protobuf type {@code hbase.pb.GetAuthsRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.GetAuthsRequest) + org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_GetAuthsRequest_descriptor; @@ -4313,7 +4310,6 @@ public final class VisibilityLabelsProtos { } private int bitField0_; - // required bytes user = 1; private com.google.protobuf.ByteString user_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes user = 1; @@ -4360,10 +4356,10 @@ public final class VisibilityLabelsProtos { // @@protoc_insertion_point(class_scope:hbase.pb.GetAuthsRequest) } - public interface GetAuthsResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface GetAuthsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.GetAuthsResponse) + com.google.protobuf.MessageOrBuilder { - // required bytes user = 1; /** * required bytes user = 1; */ @@ -4373,7 +4369,6 @@ public final class VisibilityLabelsProtos { */ com.google.protobuf.ByteString getUser(); - // repeated bytes auth = 2; /** * repeated bytes auth = 2; */ @@ -4391,8 +4386,9 @@ public final class VisibilityLabelsProtos { * Protobuf type {@code hbase.pb.GetAuthsResponse} */ public static final class GetAuthsResponse extends - com.google.protobuf.GeneratedMessage - implements GetAuthsResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.GetAuthsResponse) + GetAuthsResponseOrBuilder { // Use GetAuthsResponse.newBuilder() to construct. private GetAuthsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -4494,7 +4490,6 @@ public final class VisibilityLabelsProtos { } private int bitField0_; - // required bytes user = 1; public static final int USER_FIELD_NUMBER = 1; private com.google.protobuf.ByteString user_; /** @@ -4510,7 +4505,6 @@ public final class VisibilityLabelsProtos { return user_; } - // repeated bytes auth = 2; public static final int AUTH_FIELD_NUMBER = 2; private java.util.List auth_; /** @@ -4540,7 +4534,8 @@ public final class VisibilityLabelsProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasUser()) { memoizedIsInitialized = 0; @@ -4616,7 +4611,6 @@ public final class VisibilityLabelsProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -4707,8 +4701,9 @@ public final class VisibilityLabelsProtos { * Protobuf type {@code hbase.pb.GetAuthsResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.GetAuthsResponse) + org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.GetAuthsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_GetAuthsResponse_descriptor; @@ -4842,7 +4837,6 @@ public final class VisibilityLabelsProtos { } private int bitField0_; - // required bytes user = 1; private com.google.protobuf.ByteString user_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes user = 1; @@ -4878,7 +4872,6 @@ public final class VisibilityLabelsProtos { return this; } - // repeated bytes auth = 2; private java.util.List auth_ = java.util.Collections.emptyList(); private void ensureAuthIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { @@ -4936,7 +4929,8 @@ public final class VisibilityLabelsProtos { public Builder addAllAuth( java.lang.Iterable values) { ensureAuthIsMutable(); - super.addAll(values, auth_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, auth_); onChanged(); return this; } @@ -4961,10 +4955,10 @@ public final class VisibilityLabelsProtos { // @@protoc_insertion_point(class_scope:hbase.pb.GetAuthsResponse) } - public interface ListLabelsRequestOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ListLabelsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ListLabelsRequest) + com.google.protobuf.MessageOrBuilder { - // optional string regex = 1; /** * optional string regex = 1; */ @@ -4983,8 +4977,9 @@ public final class VisibilityLabelsProtos { * Protobuf type {@code hbase.pb.ListLabelsRequest} */ public static final class ListLabelsRequest extends - com.google.protobuf.GeneratedMessage - implements ListLabelsRequestOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ListLabelsRequest) + ListLabelsRequestOrBuilder { // Use ListLabelsRequest.newBuilder() to construct. private ListLabelsRequest(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -5031,8 +5026,9 @@ public final class VisibilityLabelsProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - regex_ = input.readBytes(); + regex_ = bs; break; } } @@ -5075,7 +5071,6 @@ public final class VisibilityLabelsProtos { } private int bitField0_; - // optional string regex = 1; public static final int REGEX_FIELD_NUMBER = 1; private java.lang.Object regex_; /** @@ -5124,7 +5119,8 @@ public final class VisibilityLabelsProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -5182,7 +5178,6 @@ public final class VisibilityLabelsProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -5269,8 +5264,9 @@ public final class VisibilityLabelsProtos { * Protobuf type {@code hbase.pb.ListLabelsRequest} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequestOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ListLabelsRequest) + org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_ListLabelsRequest_descriptor; @@ -5385,7 +5381,6 @@ public final class VisibilityLabelsProtos { } private int bitField0_; - // optional string regex = 1; private java.lang.Object regex_ = ""; /** * optional string regex = 1; @@ -5399,9 +5394,12 @@ public final class VisibilityLabelsProtos { public java.lang.String getRegex() { java.lang.Object ref = regex_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - regex_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + regex_ = s; + } return s; } else { return (java.lang.String) ref; @@ -5470,10 +5468,10 @@ public final class VisibilityLabelsProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ListLabelsRequest) } - public interface ListLabelsResponseOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ListLabelsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ListLabelsResponse) + com.google.protobuf.MessageOrBuilder { - // repeated bytes label = 1; /** * repeated bytes label = 1; */ @@ -5491,8 +5489,9 @@ public final class VisibilityLabelsProtos { * Protobuf type {@code hbase.pb.ListLabelsResponse} */ public static final class ListLabelsResponse extends - com.google.protobuf.GeneratedMessage - implements ListLabelsResponseOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ListLabelsResponse) + ListLabelsResponseOrBuilder { // Use ListLabelsResponse.newBuilder() to construct. private ListLabelsResponse(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -5588,7 +5587,6 @@ public final class VisibilityLabelsProtos { return PARSER; } - // repeated bytes label = 1; public static final int LABEL_FIELD_NUMBER = 1; private java.util.List label_; /** @@ -5617,7 +5615,8 @@ public final class VisibilityLabelsProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -5677,7 +5676,6 @@ public final class VisibilityLabelsProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -5764,8 +5762,9 @@ public final class VisibilityLabelsProtos { * Protobuf type {@code hbase.pb.ListLabelsResponse} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponseOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ListLabelsResponse) + org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.ListLabelsResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos.internal_static_hbase_pb_ListLabelsResponse_descriptor; @@ -5884,7 +5883,6 @@ public final class VisibilityLabelsProtos { } private int bitField0_; - // repeated bytes label = 1; private java.util.List label_ = java.util.Collections.emptyList(); private void ensureLabelIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { @@ -5942,7 +5940,8 @@ public final class VisibilityLabelsProtos { public Builder addAllLabel( java.lang.Iterable values) { ensureLabelIsMutable(); - super.addAll(values, label_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, label_); onChanged(); return this; } @@ -6483,52 +6482,52 @@ public final class VisibilityLabelsProtos { // @@protoc_insertion_point(class_scope:hbase.pb.VisibilityLabelsService) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_VisibilityLabelsRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_VisibilityLabelsRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_VisibilityLabel_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_VisibilityLabel_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_VisibilityLabelsResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_VisibilityLabelsResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_SetAuthsRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_SetAuthsRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_UserAuthorizations_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_UserAuthorizations_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MultiUserAuthorizations_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_MultiUserAuthorizations_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GetAuthsRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_GetAuthsRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_GetAuthsResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_GetAuthsResponse_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ListLabelsRequest_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ListLabelsRequest_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ListLabelsResponse_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -6571,78 +6570,79 @@ public final class VisibilityLabelsProtos { "ProtosH\001\210\001\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_VisibilityLabelsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_VisibilityLabelsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_VisibilityLabelsRequest_descriptor, - new java.lang.String[] { "VisLabel", }); - internal_static_hbase_pb_VisibilityLabel_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_hbase_pb_VisibilityLabel_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_VisibilityLabel_descriptor, - new java.lang.String[] { "Label", "Ordinal", }); - internal_static_hbase_pb_VisibilityLabelsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_hbase_pb_VisibilityLabelsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_VisibilityLabelsResponse_descriptor, - new java.lang.String[] { "Result", }); - internal_static_hbase_pb_SetAuthsRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_hbase_pb_SetAuthsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_SetAuthsRequest_descriptor, - new java.lang.String[] { "User", "Auth", }); - internal_static_hbase_pb_UserAuthorizations_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_hbase_pb_UserAuthorizations_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_UserAuthorizations_descriptor, - new java.lang.String[] { "User", "Auth", }); - internal_static_hbase_pb_MultiUserAuthorizations_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_hbase_pb_MultiUserAuthorizations_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_MultiUserAuthorizations_descriptor, - new java.lang.String[] { "UserAuths", }); - internal_static_hbase_pb_GetAuthsRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_hbase_pb_GetAuthsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_GetAuthsRequest_descriptor, - new java.lang.String[] { "User", }); - internal_static_hbase_pb_GetAuthsResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_hbase_pb_GetAuthsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_GetAuthsResponse_descriptor, - new java.lang.String[] { "User", "Auth", }); - internal_static_hbase_pb_ListLabelsRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_hbase_pb_ListLabelsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ListLabelsRequest_descriptor, - new java.lang.String[] { "Regex", }); - internal_static_hbase_pb_ListLabelsResponse_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_hbase_pb_ListLabelsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ListLabelsResponse_descriptor, - new java.lang.String[] { "Label", }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { org.apache.hadoop.hbase.protobuf.generated.ClientProtos.getDescriptor(), }, assigner); + internal_static_hbase_pb_VisibilityLabelsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_VisibilityLabelsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_VisibilityLabelsRequest_descriptor, + new java.lang.String[] { "VisLabel", }); + internal_static_hbase_pb_VisibilityLabel_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_hbase_pb_VisibilityLabel_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_VisibilityLabel_descriptor, + new java.lang.String[] { "Label", "Ordinal", }); + internal_static_hbase_pb_VisibilityLabelsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_hbase_pb_VisibilityLabelsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_VisibilityLabelsResponse_descriptor, + new java.lang.String[] { "Result", }); + internal_static_hbase_pb_SetAuthsRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_hbase_pb_SetAuthsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_SetAuthsRequest_descriptor, + new java.lang.String[] { "User", "Auth", }); + internal_static_hbase_pb_UserAuthorizations_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_hbase_pb_UserAuthorizations_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_UserAuthorizations_descriptor, + new java.lang.String[] { "User", "Auth", }); + internal_static_hbase_pb_MultiUserAuthorizations_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_hbase_pb_MultiUserAuthorizations_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_MultiUserAuthorizations_descriptor, + new java.lang.String[] { "UserAuths", }); + internal_static_hbase_pb_GetAuthsRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_hbase_pb_GetAuthsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_GetAuthsRequest_descriptor, + new java.lang.String[] { "User", }); + internal_static_hbase_pb_GetAuthsResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_hbase_pb_GetAuthsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_GetAuthsResponse_descriptor, + new java.lang.String[] { "User", "Auth", }); + internal_static_hbase_pb_ListLabelsRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_hbase_pb_ListLabelsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ListLabelsRequest_descriptor, + new java.lang.String[] { "Regex", }); + internal_static_hbase_pb_ListLabelsResponse_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_hbase_pb_ListLabelsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ListLabelsResponse_descriptor, + new java.lang.String[] { "Label", }); + org.apache.hadoop.hbase.protobuf.generated.ClientProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/WALProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/WALProtos.java index a675b12..7643504 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/WALProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/WALProtos.java @@ -99,10 +99,10 @@ public final class WALProtos { // @@protoc_insertion_point(enum_scope:hbase.pb.ScopeType) } - public interface WALHeaderOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface WALHeaderOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.WALHeader) + com.google.protobuf.MessageOrBuilder { - // optional bool has_compression = 1; /** * optional bool has_compression = 1; */ @@ -112,7 +112,6 @@ public final class WALProtos { */ boolean getHasCompression(); - // optional bytes encryption_key = 2; /** * optional bytes encryption_key = 2; */ @@ -122,7 +121,6 @@ public final class WALProtos { */ com.google.protobuf.ByteString getEncryptionKey(); - // optional bool has_tag_compression = 3; /** * optional bool has_tag_compression = 3; */ @@ -132,7 +130,6 @@ public final class WALProtos { */ boolean getHasTagCompression(); - // optional string writer_cls_name = 4; /** * optional string writer_cls_name = 4; */ @@ -147,7 +144,6 @@ public final class WALProtos { com.google.protobuf.ByteString getWriterClsNameBytes(); - // optional string cell_codec_cls_name = 5; /** * optional string cell_codec_cls_name = 5; */ @@ -166,8 +162,9 @@ public final class WALProtos { * Protobuf type {@code hbase.pb.WALHeader} */ public static final class WALHeader extends - com.google.protobuf.GeneratedMessage - implements WALHeaderOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.WALHeader) + WALHeaderOrBuilder { // Use WALHeader.newBuilder() to construct. private WALHeader(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -229,13 +226,15 @@ public final class WALProtos { break; } case 34: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; - writerClsName_ = input.readBytes(); + writerClsName_ = bs; break; } case 42: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; - cellCodecClsName_ = input.readBytes(); + cellCodecClsName_ = bs; break; } } @@ -278,7 +277,6 @@ public final class WALProtos { } private int bitField0_; - // optional bool has_compression = 1; public static final int HAS_COMPRESSION_FIELD_NUMBER = 1; private boolean hasCompression_; /** @@ -294,7 +292,6 @@ public final class WALProtos { return hasCompression_; } - // optional bytes encryption_key = 2; public static final int ENCRYPTION_KEY_FIELD_NUMBER = 2; private com.google.protobuf.ByteString encryptionKey_; /** @@ -310,7 +307,6 @@ public final class WALProtos { return encryptionKey_; } - // optional bool has_tag_compression = 3; public static final int HAS_TAG_COMPRESSION_FIELD_NUMBER = 3; private boolean hasTagCompression_; /** @@ -326,7 +322,6 @@ public final class WALProtos { return hasTagCompression_; } - // optional string writer_cls_name = 4; public static final int WRITER_CLS_NAME_FIELD_NUMBER = 4; private java.lang.Object writerClsName_; /** @@ -369,7 +364,6 @@ public final class WALProtos { } } - // optional string cell_codec_cls_name = 5; public static final int CELL_CODEC_CLS_NAME_FIELD_NUMBER = 5; private java.lang.Object cellCodecClsName_; /** @@ -422,7 +416,8 @@ public final class WALProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -528,7 +523,6 @@ public final class WALProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -538,7 +532,8 @@ public final class WALProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasHasCompression()) { hash = (37 * hash) + HAS_COMPRESSION_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getHasCompression()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getHasCompression()); } if (hasEncryptionKey()) { hash = (37 * hash) + ENCRYPTION_KEY_FIELD_NUMBER; @@ -546,7 +541,8 @@ public final class WALProtos { } if (hasHasTagCompression()) { hash = (37 * hash) + HAS_TAG_COMPRESSION_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getHasTagCompression()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getHasTagCompression()); } if (hasWriterClsName()) { hash = (37 * hash) + WRITER_CLS_NAME_FIELD_NUMBER; @@ -631,8 +627,9 @@ public final class WALProtos { * Protobuf type {@code hbase.pb.WALHeader} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.WALProtos.WALHeaderOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.WALHeader) + org.apache.hadoop.hbase.protobuf.generated.WALProtos.WALHeaderOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.WALProtos.internal_static_hbase_pb_WALHeader_descriptor; @@ -785,7 +782,6 @@ public final class WALProtos { } private int bitField0_; - // optional bool has_compression = 1; private boolean hasCompression_ ; /** * optional bool has_compression = 1; @@ -818,7 +814,6 @@ public final class WALProtos { return this; } - // optional bytes encryption_key = 2; private com.google.protobuf.ByteString encryptionKey_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes encryption_key = 2; @@ -854,7 +849,6 @@ public final class WALProtos { return this; } - // optional bool has_tag_compression = 3; private boolean hasTagCompression_ ; /** * optional bool has_tag_compression = 3; @@ -887,7 +881,6 @@ public final class WALProtos { return this; } - // optional string writer_cls_name = 4; private java.lang.Object writerClsName_ = ""; /** * optional string writer_cls_name = 4; @@ -901,9 +894,12 @@ public final class WALProtos { public java.lang.String getWriterClsName() { java.lang.Object ref = writerClsName_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - writerClsName_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + writerClsName_ = s; + } return s; } else { return (java.lang.String) ref; @@ -961,7 +957,6 @@ public final class WALProtos { return this; } - // optional string cell_codec_cls_name = 5; private java.lang.Object cellCodecClsName_ = ""; /** * optional string cell_codec_cls_name = 5; @@ -975,9 +970,12 @@ public final class WALProtos { public java.lang.String getCellCodecClsName() { java.lang.Object ref = cellCodecClsName_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - cellCodecClsName_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + cellCodecClsName_ = s; + } return s; } else { return (java.lang.String) ref; @@ -1046,10 +1044,10 @@ public final class WALProtos { // @@protoc_insertion_point(class_scope:hbase.pb.WALHeader) } - public interface WALKeyOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface WALKeyOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.WALKey) + com.google.protobuf.MessageOrBuilder { - // required bytes encoded_region_name = 1; /** * required bytes encoded_region_name = 1; */ @@ -1059,7 +1057,6 @@ public final class WALProtos { */ com.google.protobuf.ByteString getEncodedRegionName(); - // required bytes table_name = 2; /** * required bytes table_name = 2; */ @@ -1069,7 +1066,6 @@ public final class WALProtos { */ com.google.protobuf.ByteString getTableName(); - // required uint64 log_sequence_number = 3; /** * required uint64 log_sequence_number = 3; */ @@ -1079,7 +1075,6 @@ public final class WALProtos { */ long getLogSequenceNumber(); - // required uint64 write_time = 4; /** * required uint64 write_time = 4; */ @@ -1089,12 +1084,10 @@ public final class WALProtos { */ long getWriteTime(); - // optional .hbase.pb.UUID cluster_id = 5 [deprecated = true]; /** * optional .hbase.pb.UUID cluster_id = 5 [deprecated = true]; * *
-     *
      *This parameter is deprecated in favor of clusters which
      *contains the list of clusters that have consumed the change.
      *It is retained so that the log created by earlier releases (0.94)
@@ -1106,7 +1099,6 @@ public final class WALProtos {
      * optional .hbase.pb.UUID cluster_id = 5 [deprecated = true];
      *
      * 
-     *
      *This parameter is deprecated in favor of clusters which
      *contains the list of clusters that have consumed the change.
      *It is retained so that the log created by earlier releases (0.94)
@@ -1118,7 +1110,6 @@ public final class WALProtos {
      * optional .hbase.pb.UUID cluster_id = 5 [deprecated = true];
      *
      * 
-     *
      *This parameter is deprecated in favor of clusters which
      *contains the list of clusters that have consumed the change.
      *It is retained so that the log created by earlier releases (0.94)
@@ -1127,7 +1118,6 @@ public final class WALProtos {
      */
     @java.lang.Deprecated org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.UUIDOrBuilder getClusterIdOrBuilder();
 
-    // repeated .hbase.pb.FamilyScope scopes = 6;
     /**
      * repeated .hbase.pb.FamilyScope scopes = 6;
      */
@@ -1152,7 +1142,6 @@ public final class WALProtos {
     org.apache.hadoop.hbase.protobuf.generated.WALProtos.FamilyScopeOrBuilder getScopesOrBuilder(
         int index);
 
-    // optional uint32 following_kv_count = 7;
     /**
      * optional uint32 following_kv_count = 7;
      */
@@ -1162,12 +1151,10 @@ public final class WALProtos {
      */
     int getFollowingKvCount();
 
-    // repeated .hbase.pb.UUID cluster_ids = 8;
     /**
      * repeated .hbase.pb.UUID cluster_ids = 8;
      *
      * 
-     *
      *This field contains the list of clusters that have
      *consumed the change
      * 
@@ -1178,7 +1165,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-     *
      *This field contains the list of clusters that have
      *consumed the change
      * 
@@ -1188,7 +1174,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-     *
      *This field contains the list of clusters that have
      *consumed the change
      * 
@@ -1198,7 +1183,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-     *
      *This field contains the list of clusters that have
      *consumed the change
      * 
@@ -1209,7 +1193,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-     *
      *This field contains the list of clusters that have
      *consumed the change
      * 
@@ -1217,7 +1200,6 @@ public final class WALProtos { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.UUIDOrBuilder getClusterIdsOrBuilder( int index); - // optional uint64 nonceGroup = 9; /** * optional uint64 nonceGroup = 9; */ @@ -1227,7 +1209,6 @@ public final class WALProtos { */ long getNonceGroup(); - // optional uint64 nonce = 10; /** * optional uint64 nonce = 10; */ @@ -1237,7 +1218,6 @@ public final class WALProtos { */ long getNonce(); - // optional uint64 orig_sequence_number = 11; /** * optional uint64 orig_sequence_number = 11; */ @@ -1251,14 +1231,14 @@ public final class WALProtos { * Protobuf type {@code hbase.pb.WALKey} * *
-   *
    * Protocol buffer version of WALKey; see WALKey comment, not really a key but WALEdit header
    * for some KVs
    * 
*/ public static final class WALKey extends - com.google.protobuf.GeneratedMessage - implements WALKeyOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.WALKey) + WALKeyOrBuilder { // Use WALKey.newBuilder() to construct. private WALKey(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1419,7 +1399,6 @@ public final class WALProtos { } private int bitField0_; - // required bytes encoded_region_name = 1; public static final int ENCODED_REGION_NAME_FIELD_NUMBER = 1; private com.google.protobuf.ByteString encodedRegionName_; /** @@ -1435,7 +1414,6 @@ public final class WALProtos { return encodedRegionName_; } - // required bytes table_name = 2; public static final int TABLE_NAME_FIELD_NUMBER = 2; private com.google.protobuf.ByteString tableName_; /** @@ -1451,7 +1429,6 @@ public final class WALProtos { return tableName_; } - // required uint64 log_sequence_number = 3; public static final int LOG_SEQUENCE_NUMBER_FIELD_NUMBER = 3; private long logSequenceNumber_; /** @@ -1467,7 +1444,6 @@ public final class WALProtos { return logSequenceNumber_; } - // required uint64 write_time = 4; public static final int WRITE_TIME_FIELD_NUMBER = 4; private long writeTime_; /** @@ -1483,14 +1459,12 @@ public final class WALProtos { return writeTime_; } - // optional .hbase.pb.UUID cluster_id = 5 [deprecated = true]; public static final int CLUSTER_ID_FIELD_NUMBER = 5; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.UUID clusterId_; /** * optional .hbase.pb.UUID cluster_id = 5 [deprecated = true]; * *
-     *
      *This parameter is deprecated in favor of clusters which
      *contains the list of clusters that have consumed the change.
      *It is retained so that the log created by earlier releases (0.94)
@@ -1504,7 +1478,6 @@ public final class WALProtos {
      * optional .hbase.pb.UUID cluster_id = 5 [deprecated = true];
      *
      * 
-     *
      *This parameter is deprecated in favor of clusters which
      *contains the list of clusters that have consumed the change.
      *It is retained so that the log created by earlier releases (0.94)
@@ -1518,7 +1491,6 @@ public final class WALProtos {
      * optional .hbase.pb.UUID cluster_id = 5 [deprecated = true];
      *
      * 
-     *
      *This parameter is deprecated in favor of clusters which
      *contains the list of clusters that have consumed the change.
      *It is retained so that the log created by earlier releases (0.94)
@@ -1529,7 +1501,6 @@ public final class WALProtos {
       return clusterId_;
     }
 
-    // repeated .hbase.pb.FamilyScope scopes = 6;
     public static final int SCOPES_FIELD_NUMBER = 6;
     private java.util.List scopes_;
     /**
@@ -1565,7 +1536,6 @@ public final class WALProtos {
       return scopes_.get(index);
     }
 
-    // optional uint32 following_kv_count = 7;
     public static final int FOLLOWING_KV_COUNT_FIELD_NUMBER = 7;
     private int followingKvCount_;
     /**
@@ -1581,14 +1551,12 @@ public final class WALProtos {
       return followingKvCount_;
     }
 
-    // repeated .hbase.pb.UUID cluster_ids = 8;
     public static final int CLUSTER_IDS_FIELD_NUMBER = 8;
     private java.util.List clusterIds_;
     /**
      * repeated .hbase.pb.UUID cluster_ids = 8;
      *
      * 
-     *
      *This field contains the list of clusters that have
      *consumed the change
      * 
@@ -1600,7 +1568,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-     *
      *This field contains the list of clusters that have
      *consumed the change
      * 
@@ -1613,7 +1580,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-     *
      *This field contains the list of clusters that have
      *consumed the change
      * 
@@ -1625,7 +1591,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-     *
      *This field contains the list of clusters that have
      *consumed the change
      * 
@@ -1637,7 +1602,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-     *
      *This field contains the list of clusters that have
      *consumed the change
      * 
@@ -1647,7 +1611,6 @@ public final class WALProtos { return clusterIds_.get(index); } - // optional uint64 nonceGroup = 9; public static final int NONCEGROUP_FIELD_NUMBER = 9; private long nonceGroup_; /** @@ -1663,7 +1626,6 @@ public final class WALProtos { return nonceGroup_; } - // optional uint64 nonce = 10; public static final int NONCE_FIELD_NUMBER = 10; private long nonce_; /** @@ -1679,7 +1641,6 @@ public final class WALProtos { return nonce_; } - // optional uint64 orig_sequence_number = 11; public static final int ORIG_SEQUENCE_NUMBER_FIELD_NUMBER = 11; private long origSequenceNumber_; /** @@ -1711,7 +1672,8 @@ public final class WALProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasEncodedRegionName()) { memoizedIsInitialized = 0; @@ -1917,7 +1879,6 @@ public final class WALProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1935,11 +1896,13 @@ public final class WALProtos { } if (hasLogSequenceNumber()) { hash = (37 * hash) + LOG_SEQUENCE_NUMBER_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getLogSequenceNumber()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLogSequenceNumber()); } if (hasWriteTime()) { hash = (37 * hash) + WRITE_TIME_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getWriteTime()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getWriteTime()); } if (hasClusterId()) { hash = (37 * hash) + CLUSTER_ID_FIELD_NUMBER; @@ -1959,15 +1922,18 @@ public final class WALProtos { } if (hasNonceGroup()) { hash = (37 * hash) + NONCEGROUP_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getNonceGroup()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNonceGroup()); } if (hasNonce()) { hash = (37 * hash) + NONCE_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getNonce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getNonce()); } if (hasOrigSequenceNumber()) { hash = (37 * hash) + ORIG_SEQUENCE_NUMBER_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getOrigSequenceNumber()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getOrigSequenceNumber()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -2044,14 +2010,14 @@ public final class WALProtos { * Protobuf type {@code hbase.pb.WALKey} * *
-     *
      * Protocol buffer version of WALKey; see WALKey comment, not really a key but WALEdit header
      * for some KVs
      * 
*/ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.WALProtos.WALKeyOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.WALKey) + org.apache.hadoop.hbase.protobuf.generated.WALProtos.WALKeyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.WALProtos.internal_static_hbase_pb_WALKey_descriptor; @@ -2363,7 +2329,6 @@ public final class WALProtos { } private int bitField0_; - // required bytes encoded_region_name = 1; private com.google.protobuf.ByteString encodedRegionName_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes encoded_region_name = 1; @@ -2399,7 +2364,6 @@ public final class WALProtos { return this; } - // required bytes table_name = 2; private com.google.protobuf.ByteString tableName_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes table_name = 2; @@ -2435,7 +2399,6 @@ public final class WALProtos { return this; } - // required uint64 log_sequence_number = 3; private long logSequenceNumber_ ; /** * required uint64 log_sequence_number = 3; @@ -2468,7 +2431,6 @@ public final class WALProtos { return this; } - // required uint64 write_time = 4; private long writeTime_ ; /** * required uint64 write_time = 4; @@ -2501,7 +2463,6 @@ public final class WALProtos { return this; } - // optional .hbase.pb.UUID cluster_id = 5 [deprecated = true]; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.UUID clusterId_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.UUID.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.UUID, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.UUID.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.UUIDOrBuilder> clusterIdBuilder_; @@ -2509,7 +2470,6 @@ public final class WALProtos { * optional .hbase.pb.UUID cluster_id = 5 [deprecated = true]; * *
-       *
        *This parameter is deprecated in favor of clusters which
        *contains the list of clusters that have consumed the change.
        *It is retained so that the log created by earlier releases (0.94)
@@ -2523,7 +2483,6 @@ public final class WALProtos {
        * optional .hbase.pb.UUID cluster_id = 5 [deprecated = true];
        *
        * 
-       *
        *This parameter is deprecated in favor of clusters which
        *contains the list of clusters that have consumed the change.
        *It is retained so that the log created by earlier releases (0.94)
@@ -2541,7 +2500,6 @@ public final class WALProtos {
        * optional .hbase.pb.UUID cluster_id = 5 [deprecated = true];
        *
        * 
-       *
        *This parameter is deprecated in favor of clusters which
        *contains the list of clusters that have consumed the change.
        *It is retained so that the log created by earlier releases (0.94)
@@ -2565,7 +2523,6 @@ public final class WALProtos {
        * optional .hbase.pb.UUID cluster_id = 5 [deprecated = true];
        *
        * 
-       *
        *This parameter is deprecated in favor of clusters which
        *contains the list of clusters that have consumed the change.
        *It is retained so that the log created by earlier releases (0.94)
@@ -2587,7 +2544,6 @@ public final class WALProtos {
        * optional .hbase.pb.UUID cluster_id = 5 [deprecated = true];
        *
        * 
-       *
        *This parameter is deprecated in favor of clusters which
        *contains the list of clusters that have consumed the change.
        *It is retained so that the log created by earlier releases (0.94)
@@ -2614,7 +2570,6 @@ public final class WALProtos {
        * optional .hbase.pb.UUID cluster_id = 5 [deprecated = true];
        *
        * 
-       *
        *This parameter is deprecated in favor of clusters which
        *contains the list of clusters that have consumed the change.
        *It is retained so that the log created by earlier releases (0.94)
@@ -2635,7 +2590,6 @@ public final class WALProtos {
        * optional .hbase.pb.UUID cluster_id = 5 [deprecated = true];
        *
        * 
-       *
        *This parameter is deprecated in favor of clusters which
        *contains the list of clusters that have consumed the change.
        *It is retained so that the log created by earlier releases (0.94)
@@ -2651,7 +2605,6 @@ public final class WALProtos {
        * optional .hbase.pb.UUID cluster_id = 5 [deprecated = true];
        *
        * 
-       *
        *This parameter is deprecated in favor of clusters which
        *contains the list of clusters that have consumed the change.
        *It is retained so that the log created by earlier releases (0.94)
@@ -2669,7 +2622,6 @@ public final class WALProtos {
        * optional .hbase.pb.UUID cluster_id = 5 [deprecated = true];
        *
        * 
-       *
        *This parameter is deprecated in favor of clusters which
        *contains the list of clusters that have consumed the change.
        *It is retained so that the log created by earlier releases (0.94)
@@ -2682,7 +2634,7 @@ public final class WALProtos {
         if (clusterIdBuilder_ == null) {
           clusterIdBuilder_ = new com.google.protobuf.SingleFieldBuilder<
               org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.UUID, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.UUID.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.UUIDOrBuilder>(
-                  clusterId_,
+                  getClusterId(),
                   getParentForChildren(),
                   isClean());
           clusterId_ = null;
@@ -2690,7 +2642,6 @@ public final class WALProtos {
         return clusterIdBuilder_;
       }
 
-      // repeated .hbase.pb.FamilyScope scopes = 6;
       private java.util.List scopes_ =
         java.util.Collections.emptyList();
       private void ensureScopesIsMutable() {
@@ -2832,7 +2783,8 @@ public final class WALProtos {
           java.lang.Iterable values) {
         if (scopesBuilder_ == null) {
           ensureScopesIsMutable();
-          super.addAll(values, scopes_);
+          com.google.protobuf.AbstractMessageLite.Builder.addAll(
+              values, scopes_);
           onChanged();
         } else {
           scopesBuilder_.addAllMessages(values);
@@ -2930,7 +2882,6 @@ public final class WALProtos {
         return scopesBuilder_;
       }
 
-      // optional uint32 following_kv_count = 7;
       private int followingKvCount_ ;
       /**
        * optional uint32 following_kv_count = 7;
@@ -2963,7 +2914,6 @@ public final class WALProtos {
         return this;
       }
 
-      // repeated .hbase.pb.UUID cluster_ids = 8;
       private java.util.List clusterIds_ =
         java.util.Collections.emptyList();
       private void ensureClusterIdsIsMutable() {
@@ -2980,7 +2930,6 @@ public final class WALProtos {
        * repeated .hbase.pb.UUID cluster_ids = 8;
        *
        * 
-       *
        *This field contains the list of clusters that have
        *consumed the change
        * 
@@ -2996,7 +2945,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-       *
        *This field contains the list of clusters that have
        *consumed the change
        * 
@@ -3012,7 +2960,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-       *
        *This field contains the list of clusters that have
        *consumed the change
        * 
@@ -3028,7 +2975,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-       *
        *This field contains the list of clusters that have
        *consumed the change
        * 
@@ -3051,7 +2997,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-       *
        *This field contains the list of clusters that have
        *consumed the change
        * 
@@ -3071,7 +3016,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-       *
        *This field contains the list of clusters that have
        *consumed the change
        * 
@@ -3093,7 +3037,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-       *
        *This field contains the list of clusters that have
        *consumed the change
        * 
@@ -3116,7 +3059,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-       *
        *This field contains the list of clusters that have
        *consumed the change
        * 
@@ -3136,7 +3078,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-       *
        *This field contains the list of clusters that have
        *consumed the change
        * 
@@ -3156,7 +3097,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-       *
        *This field contains the list of clusters that have
        *consumed the change
        * 
@@ -3165,7 +3105,8 @@ public final class WALProtos { java.lang.Iterable values) { if (clusterIdsBuilder_ == null) { ensureClusterIdsIsMutable(); - super.addAll(values, clusterIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, clusterIds_); onChanged(); } else { clusterIdsBuilder_.addAllMessages(values); @@ -3176,7 +3117,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-       *
        *This field contains the list of clusters that have
        *consumed the change
        * 
@@ -3195,7 +3135,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-       *
        *This field contains the list of clusters that have
        *consumed the change
        * 
@@ -3214,7 +3153,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-       *
        *This field contains the list of clusters that have
        *consumed the change
        * 
@@ -3227,7 +3165,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-       *
        *This field contains the list of clusters that have
        *consumed the change
        * 
@@ -3243,7 +3180,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-       *
        *This field contains the list of clusters that have
        *consumed the change
        * 
@@ -3260,7 +3196,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-       *
        *This field contains the list of clusters that have
        *consumed the change
        * 
@@ -3273,7 +3208,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-       *
        *This field contains the list of clusters that have
        *consumed the change
        * 
@@ -3287,7 +3221,6 @@ public final class WALProtos { * repeated .hbase.pb.UUID cluster_ids = 8; * *
-       *
        *This field contains the list of clusters that have
        *consumed the change
        * 
@@ -3311,7 +3244,6 @@ public final class WALProtos { return clusterIdsBuilder_; } - // optional uint64 nonceGroup = 9; private long nonceGroup_ ; /** * optional uint64 nonceGroup = 9; @@ -3344,7 +3276,6 @@ public final class WALProtos { return this; } - // optional uint64 nonce = 10; private long nonce_ ; /** * optional uint64 nonce = 10; @@ -3377,7 +3308,6 @@ public final class WALProtos { return this; } - // optional uint64 orig_sequence_number = 11; private long origSequenceNumber_ ; /** * optional uint64 orig_sequence_number = 11; @@ -3421,10 +3351,10 @@ public final class WALProtos { // @@protoc_insertion_point(class_scope:hbase.pb.WALKey) } - public interface FamilyScopeOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface FamilyScopeOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.FamilyScope) + com.google.protobuf.MessageOrBuilder { - // required bytes family = 1; /** * required bytes family = 1; */ @@ -3434,7 +3364,6 @@ public final class WALProtos { */ com.google.protobuf.ByteString getFamily(); - // required .hbase.pb.ScopeType scope_type = 2; /** * required .hbase.pb.ScopeType scope_type = 2; */ @@ -3448,8 +3377,9 @@ public final class WALProtos { * Protobuf type {@code hbase.pb.FamilyScope} */ public static final class FamilyScope extends - com.google.protobuf.GeneratedMessage - implements FamilyScopeOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.FamilyScope) + FamilyScopeOrBuilder { // Use FamilyScope.newBuilder() to construct. private FamilyScope(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -3551,7 +3481,6 @@ public final class WALProtos { } private int bitField0_; - // required bytes family = 1; public static final int FAMILY_FIELD_NUMBER = 1; private com.google.protobuf.ByteString family_; /** @@ -3567,7 +3496,6 @@ public final class WALProtos { return family_; } - // required .hbase.pb.ScopeType scope_type = 2; public static final int SCOPE_TYPE_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.WALProtos.ScopeType scopeType_; /** @@ -3590,7 +3518,8 @@ public final class WALProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasFamily()) { memoizedIsInitialized = 0; @@ -3668,7 +3597,6 @@ public final class WALProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -3682,7 +3610,8 @@ public final class WALProtos { } if (hasScopeType()) { hash = (37 * hash) + SCOPE_TYPE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getScopeType()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getScopeType()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -3759,8 +3688,9 @@ public final class WALProtos { * Protobuf type {@code hbase.pb.FamilyScope} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.WALProtos.FamilyScopeOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.FamilyScope) + org.apache.hadoop.hbase.protobuf.generated.WALProtos.FamilyScopeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.WALProtos.internal_static_hbase_pb_FamilyScope_descriptor; @@ -3890,7 +3820,6 @@ public final class WALProtos { } private int bitField0_; - // required bytes family = 1; private com.google.protobuf.ByteString family_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes family = 1; @@ -3926,7 +3855,6 @@ public final class WALProtos { return this; } - // required .hbase.pb.ScopeType scope_type = 2; private org.apache.hadoop.hbase.protobuf.generated.WALProtos.ScopeType scopeType_ = org.apache.hadoop.hbase.protobuf.generated.WALProtos.ScopeType.REPLICATION_SCOPE_LOCAL; /** * required .hbase.pb.ScopeType scope_type = 2; @@ -3973,10 +3901,10 @@ public final class WALProtos { // @@protoc_insertion_point(class_scope:hbase.pb.FamilyScope) } - public interface CompactionDescriptorOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface CompactionDescriptorOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.CompactionDescriptor) + com.google.protobuf.MessageOrBuilder { - // required bytes table_name = 1; /** * required bytes table_name = 1; * @@ -3994,7 +3922,6 @@ public final class WALProtos { */ com.google.protobuf.ByteString getTableName(); - // required bytes encoded_region_name = 2; /** * required bytes encoded_region_name = 2; */ @@ -4004,7 +3931,6 @@ public final class WALProtos { */ com.google.protobuf.ByteString getEncodedRegionName(); - // required bytes family_name = 3; /** * required bytes family_name = 3; */ @@ -4014,7 +3940,6 @@ public final class WALProtos { */ com.google.protobuf.ByteString getFamilyName(); - // repeated string compaction_input = 4; /** * repeated string compaction_input = 4; * @@ -4022,8 +3947,8 @@ public final class WALProtos { * relative to store dir *
*/ - java.util.List - getCompactionInputList(); + com.google.protobuf.ProtocolStringList + getCompactionInputList(); /** * repeated string compaction_input = 4; * @@ -4050,12 +3975,11 @@ public final class WALProtos { com.google.protobuf.ByteString getCompactionInputBytes(int index); - // repeated string compaction_output = 5; /** * repeated string compaction_output = 5; */ - java.util.List - getCompactionOutputList(); + com.google.protobuf.ProtocolStringList + getCompactionOutputList(); /** * repeated string compaction_output = 5; */ @@ -4070,7 +3994,6 @@ public final class WALProtos { com.google.protobuf.ByteString getCompactionOutputBytes(int index); - // required string store_home_dir = 6; /** * required string store_home_dir = 6; * @@ -4097,7 +4020,6 @@ public final class WALProtos { com.google.protobuf.ByteString getStoreHomeDirBytes(); - // optional bytes region_name = 7; /** * optional bytes region_name = 7; * @@ -4127,8 +4049,9 @@ public final class WALProtos { *
*/ public static final class CompactionDescriptor extends - com.google.protobuf.GeneratedMessage - implements CompactionDescriptorOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.CompactionDescriptor) + CompactionDescriptorOrBuilder { // Use CompactionDescriptor.newBuilder() to construct. private CompactionDescriptor(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -4190,24 +4113,27 @@ public final class WALProtos { break; } case 34: { + com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { compactionInput_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000008; } - compactionInput_.add(input.readBytes()); + compactionInput_.add(bs); break; } case 42: { + com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { compactionOutput_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000010; } - compactionOutput_.add(input.readBytes()); + compactionOutput_.add(bs); break; } case 50: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; - storeHomeDir_ = input.readBytes(); + storeHomeDir_ = bs; break; } case 58: { @@ -4224,10 +4150,10 @@ public final class WALProtos { e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { - compactionInput_ = new com.google.protobuf.UnmodifiableLazyStringList(compactionInput_); + compactionInput_ = compactionInput_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { - compactionOutput_ = new com.google.protobuf.UnmodifiableLazyStringList(compactionOutput_); + compactionOutput_ = compactionOutput_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -4261,7 +4187,6 @@ public final class WALProtos { } private int bitField0_; - // required bytes table_name = 1; public static final int TABLE_NAME_FIELD_NUMBER = 1; private com.google.protobuf.ByteString tableName_; /** @@ -4285,7 +4210,6 @@ public final class WALProtos { return tableName_; } - // required bytes encoded_region_name = 2; public static final int ENCODED_REGION_NAME_FIELD_NUMBER = 2; private com.google.protobuf.ByteString encodedRegionName_; /** @@ -4301,7 +4225,6 @@ public final class WALProtos { return encodedRegionName_; } - // required bytes family_name = 3; public static final int FAMILY_NAME_FIELD_NUMBER = 3; private com.google.protobuf.ByteString familyName_; /** @@ -4317,7 +4240,6 @@ public final class WALProtos { return familyName_; } - // repeated string compaction_input = 4; public static final int COMPACTION_INPUT_FIELD_NUMBER = 4; private com.google.protobuf.LazyStringList compactionInput_; /** @@ -4327,7 +4249,7 @@ public final class WALProtos { * relative to store dir *
*/ - public java.util.List + public com.google.protobuf.ProtocolStringList getCompactionInputList() { return compactionInput_; } @@ -4363,13 +4285,12 @@ public final class WALProtos { return compactionInput_.getByteString(index); } - // repeated string compaction_output = 5; public static final int COMPACTION_OUTPUT_FIELD_NUMBER = 5; private com.google.protobuf.LazyStringList compactionOutput_; /** * repeated string compaction_output = 5; */ - public java.util.List + public com.google.protobuf.ProtocolStringList getCompactionOutputList() { return compactionOutput_; } @@ -4393,7 +4314,6 @@ public final class WALProtos { return compactionOutput_.getByteString(index); } - // required string store_home_dir = 6; public static final int STORE_HOME_DIR_FIELD_NUMBER = 6; private java.lang.Object storeHomeDir_; /** @@ -4448,7 +4368,6 @@ public final class WALProtos { } } - // optional bytes region_name = 7; public static final int REGION_NAME_FIELD_NUMBER = 7; private com.google.protobuf.ByteString regionName_; /** @@ -4484,7 +4403,8 @@ public final class WALProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasTableName()) { memoizedIsInitialized = 0; @@ -4634,7 +4554,6 @@ public final class WALProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -4753,8 +4672,9 @@ public final class WALProtos { *
*/ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.WALProtos.CompactionDescriptorOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.CompactionDescriptor) + org.apache.hadoop.hbase.protobuf.generated.WALProtos.CompactionDescriptorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.WALProtos.internal_static_hbase_pb_CompactionDescriptor_descriptor; @@ -4842,14 +4762,12 @@ public final class WALProtos { } result.familyName_ = familyName_; if (((bitField0_ & 0x00000008) == 0x00000008)) { - compactionInput_ = new com.google.protobuf.UnmodifiableLazyStringList( - compactionInput_); + compactionInput_ = compactionInput_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000008); } result.compactionInput_ = compactionInput_; if (((bitField0_ & 0x00000010) == 0x00000010)) { - compactionOutput_ = new com.google.protobuf.UnmodifiableLazyStringList( - compactionOutput_); + compactionOutput_ = compactionOutput_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000010); } result.compactionOutput_ = compactionOutput_; @@ -4957,7 +4875,6 @@ public final class WALProtos { } private int bitField0_; - // required bytes table_name = 1; private com.google.protobuf.ByteString tableName_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes table_name = 1; @@ -5009,7 +4926,6 @@ public final class WALProtos { return this; } - // required bytes encoded_region_name = 2; private com.google.protobuf.ByteString encodedRegionName_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes encoded_region_name = 2; @@ -5045,7 +4961,6 @@ public final class WALProtos { return this; } - // required bytes family_name = 3; private com.google.protobuf.ByteString familyName_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes family_name = 3; @@ -5081,7 +4996,6 @@ public final class WALProtos { return this; } - // repeated string compaction_input = 4; private com.google.protobuf.LazyStringList compactionInput_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCompactionInputIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { @@ -5096,9 +5010,9 @@ public final class WALProtos { * relative to store dir *
*/ - public java.util.List + public com.google.protobuf.ProtocolStringList getCompactionInputList() { - return java.util.Collections.unmodifiableList(compactionInput_); + return compactionInput_.getUnmodifiableView(); } /** * repeated string compaction_input = 4; @@ -5175,7 +5089,8 @@ public final class WALProtos { public Builder addAllCompactionInput( java.lang.Iterable values) { ensureCompactionInputIsMutable(); - super.addAll(values, compactionInput_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, compactionInput_); onChanged(); return this; } @@ -5210,7 +5125,6 @@ public final class WALProtos { return this; } - // repeated string compaction_output = 5; private com.google.protobuf.LazyStringList compactionOutput_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureCompactionOutputIsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { @@ -5221,9 +5135,9 @@ public final class WALProtos { /** * repeated string compaction_output = 5; */ - public java.util.List + public com.google.protobuf.ProtocolStringList getCompactionOutputList() { - return java.util.Collections.unmodifiableList(compactionOutput_); + return compactionOutput_.getUnmodifiableView(); } /** * repeated string compaction_output = 5; @@ -5276,7 +5190,8 @@ public final class WALProtos { public Builder addAllCompactionOutput( java.lang.Iterable values) { ensureCompactionOutputIsMutable(); - super.addAll(values, compactionOutput_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, compactionOutput_); onChanged(); return this; } @@ -5303,7 +5218,6 @@ public final class WALProtos { return this; } - // required string store_home_dir = 6; private java.lang.Object storeHomeDir_ = ""; /** * required string store_home_dir = 6; @@ -5325,9 +5239,12 @@ public final class WALProtos { public java.lang.String getStoreHomeDir() { java.lang.Object ref = storeHomeDir_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - storeHomeDir_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + storeHomeDir_ = s; + } return s; } else { return (java.lang.String) ref; @@ -5401,7 +5318,6 @@ public final class WALProtos { return this; } - // optional bytes region_name = 7; private com.google.protobuf.ByteString regionName_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes region_name = 7; @@ -5464,10 +5380,10 @@ public final class WALProtos { // @@protoc_insertion_point(class_scope:hbase.pb.CompactionDescriptor) } - public interface FlushDescriptorOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface FlushDescriptorOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.FlushDescriptor) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.FlushDescriptor.FlushAction action = 1; /** * required .hbase.pb.FlushDescriptor.FlushAction action = 1; */ @@ -5477,7 +5393,6 @@ public final class WALProtos { */ org.apache.hadoop.hbase.protobuf.generated.WALProtos.FlushDescriptor.FlushAction getAction(); - // required bytes table_name = 2; /** * required bytes table_name = 2; */ @@ -5487,7 +5402,6 @@ public final class WALProtos { */ com.google.protobuf.ByteString getTableName(); - // required bytes encoded_region_name = 3; /** * required bytes encoded_region_name = 3; */ @@ -5497,7 +5411,6 @@ public final class WALProtos { */ com.google.protobuf.ByteString getEncodedRegionName(); - // optional uint64 flush_sequence_number = 4; /** * optional uint64 flush_sequence_number = 4; */ @@ -5507,7 +5420,6 @@ public final class WALProtos { */ long getFlushSequenceNumber(); - // repeated .hbase.pb.FlushDescriptor.StoreFlushDescriptor store_flushes = 5; /** * repeated .hbase.pb.FlushDescriptor.StoreFlushDescriptor store_flushes = 5; */ @@ -5532,7 +5444,6 @@ public final class WALProtos { org.apache.hadoop.hbase.protobuf.generated.WALProtos.FlushDescriptor.StoreFlushDescriptorOrBuilder getStoreFlushesOrBuilder( int index); - // optional bytes region_name = 6; /** * optional bytes region_name = 6; * @@ -5559,8 +5470,9 @@ public final class WALProtos { *
*/ public static final class FlushDescriptor extends - com.google.protobuf.GeneratedMessage - implements FlushDescriptorOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.FlushDescriptor) + FlushDescriptorOrBuilder { // Use FlushDescriptor.newBuilder() to construct. private FlushDescriptor(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -5795,10 +5707,10 @@ public final class WALProtos { // @@protoc_insertion_point(enum_scope:hbase.pb.FlushDescriptor.FlushAction) } - public interface StoreFlushDescriptorOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface StoreFlushDescriptorOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.FlushDescriptor.StoreFlushDescriptor) + com.google.protobuf.MessageOrBuilder { - // required bytes family_name = 1; /** * required bytes family_name = 1; */ @@ -5808,7 +5720,6 @@ public final class WALProtos { */ com.google.protobuf.ByteString getFamilyName(); - // required string store_home_dir = 2; /** * required string store_home_dir = 2; * @@ -5835,7 +5746,6 @@ public final class WALProtos { com.google.protobuf.ByteString getStoreHomeDirBytes(); - // repeated string flush_output = 3; /** * repeated string flush_output = 3; * @@ -5843,8 +5753,8 @@ public final class WALProtos { * relative to store dir (if this is a COMMIT_FLUSH) *
*/ - java.util.List - getFlushOutputList(); + com.google.protobuf.ProtocolStringList + getFlushOutputList(); /** * repeated string flush_output = 3; * @@ -5875,8 +5785,9 @@ public final class WALProtos { * Protobuf type {@code hbase.pb.FlushDescriptor.StoreFlushDescriptor} */ public static final class StoreFlushDescriptor extends - com.google.protobuf.GeneratedMessage - implements StoreFlushDescriptorOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.FlushDescriptor.StoreFlushDescriptor) + StoreFlushDescriptorOrBuilder { // Use StoreFlushDescriptor.newBuilder() to construct. private StoreFlushDescriptor(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -5928,16 +5839,18 @@ public final class WALProtos { break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - storeHomeDir_ = input.readBytes(); + storeHomeDir_ = bs; break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { flushOutput_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } - flushOutput_.add(input.readBytes()); + flushOutput_.add(bs); break; } } @@ -5949,7 +5862,7 @@ public final class WALProtos { e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { - flushOutput_ = new com.google.protobuf.UnmodifiableLazyStringList(flushOutput_); + flushOutput_ = flushOutput_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -5983,7 +5896,6 @@ public final class WALProtos { } private int bitField0_; - // required bytes family_name = 1; public static final int FAMILY_NAME_FIELD_NUMBER = 1; private com.google.protobuf.ByteString familyName_; /** @@ -5999,7 +5911,6 @@ public final class WALProtos { return familyName_; } - // required string store_home_dir = 2; public static final int STORE_HOME_DIR_FIELD_NUMBER = 2; private java.lang.Object storeHomeDir_; /** @@ -6054,7 +5965,6 @@ public final class WALProtos { } } - // repeated string flush_output = 3; public static final int FLUSH_OUTPUT_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList flushOutput_; /** @@ -6064,7 +5974,7 @@ public final class WALProtos { * relative to store dir (if this is a COMMIT_FLUSH) *
*/ - public java.util.List + public com.google.protobuf.ProtocolStringList getFlushOutputList() { return flushOutput_; } @@ -6108,7 +6018,8 @@ public final class WALProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasFamilyName()) { memoizedIsInitialized = 0; @@ -6200,7 +6111,6 @@ public final class WALProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -6295,8 +6205,9 @@ public final class WALProtos { * Protobuf type {@code hbase.pb.FlushDescriptor.StoreFlushDescriptor} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.WALProtos.FlushDescriptor.StoreFlushDescriptorOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.FlushDescriptor.StoreFlushDescriptor) + org.apache.hadoop.hbase.protobuf.generated.WALProtos.FlushDescriptor.StoreFlushDescriptorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.WALProtos.internal_static_hbase_pb_FlushDescriptor_StoreFlushDescriptor_descriptor; @@ -6372,8 +6283,7 @@ public final class WALProtos { } result.storeHomeDir_ = storeHomeDir_; if (((bitField0_ & 0x00000004) == 0x00000004)) { - flushOutput_ = new com.google.protobuf.UnmodifiableLazyStringList( - flushOutput_); + flushOutput_ = flushOutput_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } result.flushOutput_ = flushOutput_; @@ -6446,7 +6356,6 @@ public final class WALProtos { } private int bitField0_; - // required bytes family_name = 1; private com.google.protobuf.ByteString familyName_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes family_name = 1; @@ -6482,7 +6391,6 @@ public final class WALProtos { return this; } - // required string store_home_dir = 2; private java.lang.Object storeHomeDir_ = ""; /** * required string store_home_dir = 2; @@ -6504,9 +6412,12 @@ public final class WALProtos { public java.lang.String getStoreHomeDir() { java.lang.Object ref = storeHomeDir_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - storeHomeDir_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + storeHomeDir_ = s; + } return s; } else { return (java.lang.String) ref; @@ -6580,7 +6491,6 @@ public final class WALProtos { return this; } - // repeated string flush_output = 3; private com.google.protobuf.LazyStringList flushOutput_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFlushOutputIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { @@ -6595,9 +6505,9 @@ public final class WALProtos { * relative to store dir (if this is a COMMIT_FLUSH) *
*/ - public java.util.List + public com.google.protobuf.ProtocolStringList getFlushOutputList() { - return java.util.Collections.unmodifiableList(flushOutput_); + return flushOutput_.getUnmodifiableView(); } /** * repeated string flush_output = 3; @@ -6674,7 +6584,8 @@ public final class WALProtos { public Builder addAllFlushOutput( java.lang.Iterable values) { ensureFlushOutputIsMutable(); - super.addAll(values, flushOutput_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, flushOutput_); onChanged(); return this; } @@ -6721,7 +6632,6 @@ public final class WALProtos { } private int bitField0_; - // required .hbase.pb.FlushDescriptor.FlushAction action = 1; public static final int ACTION_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.WALProtos.FlushDescriptor.FlushAction action_; /** @@ -6737,7 +6647,6 @@ public final class WALProtos { return action_; } - // required bytes table_name = 2; public static final int TABLE_NAME_FIELD_NUMBER = 2; private com.google.protobuf.ByteString tableName_; /** @@ -6753,7 +6662,6 @@ public final class WALProtos { return tableName_; } - // required bytes encoded_region_name = 3; public static final int ENCODED_REGION_NAME_FIELD_NUMBER = 3; private com.google.protobuf.ByteString encodedRegionName_; /** @@ -6769,7 +6677,6 @@ public final class WALProtos { return encodedRegionName_; } - // optional uint64 flush_sequence_number = 4; public static final int FLUSH_SEQUENCE_NUMBER_FIELD_NUMBER = 4; private long flushSequenceNumber_; /** @@ -6785,7 +6692,6 @@ public final class WALProtos { return flushSequenceNumber_; } - // repeated .hbase.pb.FlushDescriptor.StoreFlushDescriptor store_flushes = 5; public static final int STORE_FLUSHES_FIELD_NUMBER = 5; private java.util.List storeFlushes_; /** @@ -6821,7 +6727,6 @@ public final class WALProtos { return storeFlushes_.get(index); } - // optional bytes region_name = 6; public static final int REGION_NAME_FIELD_NUMBER = 6; private com.google.protobuf.ByteString regionName_; /** @@ -6856,7 +6761,8 @@ public final class WALProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasAction()) { memoizedIsInitialized = 0; @@ -6989,7 +6895,6 @@ public final class WALProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -6999,7 +6904,8 @@ public final class WALProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasAction()) { hash = (37 * hash) + ACTION_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getAction()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getAction()); } if (hasTableName()) { hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER; @@ -7011,7 +6917,8 @@ public final class WALProtos { } if (hasFlushSequenceNumber()) { hash = (37 * hash) + FLUSH_SEQUENCE_NUMBER_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getFlushSequenceNumber()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getFlushSequenceNumber()); } if (getStoreFlushesCount() > 0) { hash = (37 * hash) + STORE_FLUSHES_FIELD_NUMBER; @@ -7101,8 +7008,9 @@ public final class WALProtos { *
*/ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.WALProtos.FlushDescriptorOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.FlushDescriptor) + org.apache.hadoop.hbase.protobuf.generated.WALProtos.FlushDescriptorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.WALProtos.internal_static_hbase_pb_FlushDescriptor_descriptor; @@ -7311,7 +7219,6 @@ public final class WALProtos { } private int bitField0_; - // required .hbase.pb.FlushDescriptor.FlushAction action = 1; private org.apache.hadoop.hbase.protobuf.generated.WALProtos.FlushDescriptor.FlushAction action_ = org.apache.hadoop.hbase.protobuf.generated.WALProtos.FlushDescriptor.FlushAction.START_FLUSH; /** * required .hbase.pb.FlushDescriptor.FlushAction action = 1; @@ -7347,7 +7254,6 @@ public final class WALProtos { return this; } - // required bytes table_name = 2; private com.google.protobuf.ByteString tableName_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes table_name = 2; @@ -7383,7 +7289,6 @@ public final class WALProtos { return this; } - // required bytes encoded_region_name = 3; private com.google.protobuf.ByteString encodedRegionName_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes encoded_region_name = 3; @@ -7419,7 +7324,6 @@ public final class WALProtos { return this; } - // optional uint64 flush_sequence_number = 4; private long flushSequenceNumber_ ; /** * optional uint64 flush_sequence_number = 4; @@ -7452,7 +7356,6 @@ public final class WALProtos { return this; } - // repeated .hbase.pb.FlushDescriptor.StoreFlushDescriptor store_flushes = 5; private java.util.List storeFlushes_ = java.util.Collections.emptyList(); private void ensureStoreFlushesIsMutable() { @@ -7594,7 +7497,8 @@ public final class WALProtos { java.lang.Iterable values) { if (storeFlushesBuilder_ == null) { ensureStoreFlushesIsMutable(); - super.addAll(values, storeFlushes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, storeFlushes_); onChanged(); } else { storeFlushesBuilder_.addAllMessages(values); @@ -7692,7 +7596,6 @@ public final class WALProtos { return storeFlushesBuilder_; } - // optional bytes region_name = 6; private com.google.protobuf.ByteString regionName_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes region_name = 6; @@ -7755,10 +7658,10 @@ public final class WALProtos { // @@protoc_insertion_point(class_scope:hbase.pb.FlushDescriptor) } - public interface StoreDescriptorOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface StoreDescriptorOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.StoreDescriptor) + com.google.protobuf.MessageOrBuilder { - // required bytes family_name = 1; /** * required bytes family_name = 1; */ @@ -7768,7 +7671,6 @@ public final class WALProtos { */ com.google.protobuf.ByteString getFamilyName(); - // required string store_home_dir = 2; /** * required string store_home_dir = 2; * @@ -7795,7 +7697,6 @@ public final class WALProtos { com.google.protobuf.ByteString getStoreHomeDirBytes(); - // repeated string store_file = 3; /** * repeated string store_file = 3; * @@ -7803,8 +7704,8 @@ public final class WALProtos { * relative to store dir *
*/ - java.util.List - getStoreFileList(); + com.google.protobuf.ProtocolStringList + getStoreFileList(); /** * repeated string store_file = 3; * @@ -7831,7 +7732,6 @@ public final class WALProtos { com.google.protobuf.ByteString getStoreFileBytes(int index); - // optional uint64 store_file_size_bytes = 4; /** * optional uint64 store_file_size_bytes = 4; * @@ -7853,8 +7753,9 @@ public final class WALProtos { * Protobuf type {@code hbase.pb.StoreDescriptor} */ public static final class StoreDescriptor extends - com.google.protobuf.GeneratedMessage - implements StoreDescriptorOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.StoreDescriptor) + StoreDescriptorOrBuilder { // Use StoreDescriptor.newBuilder() to construct. private StoreDescriptor(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -7906,16 +7807,18 @@ public final class WALProtos { break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - storeHomeDir_ = input.readBytes(); + storeHomeDir_ = bs; break; } case 26: { + com.google.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { storeFile_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } - storeFile_.add(input.readBytes()); + storeFile_.add(bs); break; } case 32: { @@ -7932,7 +7835,7 @@ public final class WALProtos { e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { - storeFile_ = new com.google.protobuf.UnmodifiableLazyStringList(storeFile_); + storeFile_ = storeFile_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -7966,7 +7869,6 @@ public final class WALProtos { } private int bitField0_; - // required bytes family_name = 1; public static final int FAMILY_NAME_FIELD_NUMBER = 1; private com.google.protobuf.ByteString familyName_; /** @@ -7982,7 +7884,6 @@ public final class WALProtos { return familyName_; } - // required string store_home_dir = 2; public static final int STORE_HOME_DIR_FIELD_NUMBER = 2; private java.lang.Object storeHomeDir_; /** @@ -8037,7 +7938,6 @@ public final class WALProtos { } } - // repeated string store_file = 3; public static final int STORE_FILE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList storeFile_; /** @@ -8047,7 +7947,7 @@ public final class WALProtos { * relative to store dir *
*/ - public java.util.List + public com.google.protobuf.ProtocolStringList getStoreFileList() { return storeFile_; } @@ -8083,7 +7983,6 @@ public final class WALProtos { return storeFile_.getByteString(index); } - // optional uint64 store_file_size_bytes = 4; public static final int STORE_FILE_SIZE_BYTES_FIELD_NUMBER = 4; private long storeFileSizeBytes_; /** @@ -8116,7 +8015,8 @@ public final class WALProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasFamilyName()) { memoizedIsInitialized = 0; @@ -8220,7 +8120,6 @@ public final class WALProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -8242,7 +8141,8 @@ public final class WALProtos { } if (hasStoreFileSizeBytes()) { hash = (37 * hash) + STORE_FILE_SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getStoreFileSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getStoreFileSizeBytes()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -8319,8 +8219,9 @@ public final class WALProtos { * Protobuf type {@code hbase.pb.StoreDescriptor} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.WALProtos.StoreDescriptorOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.StoreDescriptor) + org.apache.hadoop.hbase.protobuf.generated.WALProtos.StoreDescriptorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.WALProtos.internal_static_hbase_pb_StoreDescriptor_descriptor; @@ -8398,8 +8299,7 @@ public final class WALProtos { } result.storeHomeDir_ = storeHomeDir_; if (((bitField0_ & 0x00000004) == 0x00000004)) { - storeFile_ = new com.google.protobuf.UnmodifiableLazyStringList( - storeFile_); + storeFile_ = storeFile_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } result.storeFile_ = storeFile_; @@ -8479,7 +8379,6 @@ public final class WALProtos { } private int bitField0_; - // required bytes family_name = 1; private com.google.protobuf.ByteString familyName_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes family_name = 1; @@ -8515,7 +8414,6 @@ public final class WALProtos { return this; } - // required string store_home_dir = 2; private java.lang.Object storeHomeDir_ = ""; /** * required string store_home_dir = 2; @@ -8537,9 +8435,12 @@ public final class WALProtos { public java.lang.String getStoreHomeDir() { java.lang.Object ref = storeHomeDir_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - storeHomeDir_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + storeHomeDir_ = s; + } return s; } else { return (java.lang.String) ref; @@ -8613,7 +8514,6 @@ public final class WALProtos { return this; } - // repeated string store_file = 3; private com.google.protobuf.LazyStringList storeFile_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureStoreFileIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { @@ -8628,9 +8528,9 @@ public final class WALProtos { * relative to store dir *
*/ - public java.util.List + public com.google.protobuf.ProtocolStringList getStoreFileList() { - return java.util.Collections.unmodifiableList(storeFile_); + return storeFile_.getUnmodifiableView(); } /** * repeated string store_file = 3; @@ -8707,7 +8607,8 @@ public final class WALProtos { public Builder addAllStoreFile( java.lang.Iterable values) { ensureStoreFileIsMutable(); - super.addAll(values, storeFile_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, storeFile_); onChanged(); return this; } @@ -8742,7 +8643,6 @@ public final class WALProtos { return this; } - // optional uint64 store_file_size_bytes = 4; private long storeFileSizeBytes_ ; /** * optional uint64 store_file_size_bytes = 4; @@ -8802,10 +8702,10 @@ public final class WALProtos { // @@protoc_insertion_point(class_scope:hbase.pb.StoreDescriptor) } - public interface BulkLoadDescriptorOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface BulkLoadDescriptorOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.BulkLoadDescriptor) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.TableName table_name = 1; /** * required .hbase.pb.TableName table_name = 1; */ @@ -8819,7 +8719,6 @@ public final class WALProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder getTableNameOrBuilder(); - // required bytes encoded_region_name = 2; /** * required bytes encoded_region_name = 2; */ @@ -8829,7 +8728,6 @@ public final class WALProtos { */ com.google.protobuf.ByteString getEncodedRegionName(); - // repeated .hbase.pb.StoreDescriptor stores = 3; /** * repeated .hbase.pb.StoreDescriptor stores = 3; */ @@ -8854,7 +8752,6 @@ public final class WALProtos { org.apache.hadoop.hbase.protobuf.generated.WALProtos.StoreDescriptorOrBuilder getStoresOrBuilder( int index); - // required int64 bulkload_seq_num = 4; /** * required int64 bulkload_seq_num = 4; */ @@ -8873,8 +8770,9 @@ public final class WALProtos { *
*/ public static final class BulkLoadDescriptor extends - com.google.protobuf.GeneratedMessage - implements BulkLoadDescriptorOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.BulkLoadDescriptor) + BulkLoadDescriptorOrBuilder { // Use BulkLoadDescriptor.newBuilder() to construct. private BulkLoadDescriptor(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -8994,7 +8892,6 @@ public final class WALProtos { } private int bitField0_; - // required .hbase.pb.TableName table_name = 1; public static final int TABLE_NAME_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName tableName_; /** @@ -9016,7 +8913,6 @@ public final class WALProtos { return tableName_; } - // required bytes encoded_region_name = 2; public static final int ENCODED_REGION_NAME_FIELD_NUMBER = 2; private com.google.protobuf.ByteString encodedRegionName_; /** @@ -9032,7 +8928,6 @@ public final class WALProtos { return encodedRegionName_; } - // repeated .hbase.pb.StoreDescriptor stores = 3; public static final int STORES_FIELD_NUMBER = 3; private java.util.List stores_; /** @@ -9068,7 +8963,6 @@ public final class WALProtos { return stores_.get(index); } - // required int64 bulkload_seq_num = 4; public static final int BULKLOAD_SEQ_NUM_FIELD_NUMBER = 4; private long bulkloadSeqNum_; /** @@ -9093,7 +8987,8 @@ public final class WALProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasTableName()) { memoizedIsInitialized = 0; @@ -9206,7 +9101,6 @@ public final class WALProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -9228,7 +9122,8 @@ public final class WALProtos { } if (hasBulkloadSeqNum()) { hash = (37 * hash) + BULKLOAD_SEQ_NUM_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getBulkloadSeqNum()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBulkloadSeqNum()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -9310,8 +9205,9 @@ public final class WALProtos { *
*/ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.WALProtos.BulkLoadDescriptorOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.BulkLoadDescriptor) + org.apache.hadoop.hbase.protobuf.generated.WALProtos.BulkLoadDescriptorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.WALProtos.internal_static_hbase_pb_BulkLoadDescriptor_descriptor; @@ -9515,7 +9411,6 @@ public final class WALProtos { } private int bitField0_; - // required .hbase.pb.TableName table_name = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName tableName_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder> tableNameBuilder_; @@ -9624,7 +9519,7 @@ public final class WALProtos { if (tableNameBuilder_ == null) { tableNameBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder>( - tableName_, + getTableName(), getParentForChildren(), isClean()); tableName_ = null; @@ -9632,7 +9527,6 @@ public final class WALProtos { return tableNameBuilder_; } - // required bytes encoded_region_name = 2; private com.google.protobuf.ByteString encodedRegionName_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes encoded_region_name = 2; @@ -9668,7 +9562,6 @@ public final class WALProtos { return this; } - // repeated .hbase.pb.StoreDescriptor stores = 3; private java.util.List stores_ = java.util.Collections.emptyList(); private void ensureStoresIsMutable() { @@ -9810,7 +9703,8 @@ public final class WALProtos { java.lang.Iterable values) { if (storesBuilder_ == null) { ensureStoresIsMutable(); - super.addAll(values, stores_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, stores_); onChanged(); } else { storesBuilder_.addAllMessages(values); @@ -9908,7 +9802,6 @@ public final class WALProtos { return storesBuilder_; } - // required int64 bulkload_seq_num = 4; private long bulkloadSeqNum_ ; /** * required int64 bulkload_seq_num = 4; @@ -9952,10 +9845,10 @@ public final class WALProtos { // @@protoc_insertion_point(class_scope:hbase.pb.BulkLoadDescriptor) } - public interface RegionEventDescriptorOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface RegionEventDescriptorOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.RegionEventDescriptor) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.RegionEventDescriptor.EventType event_type = 1; /** * required .hbase.pb.RegionEventDescriptor.EventType event_type = 1; */ @@ -9965,7 +9858,6 @@ public final class WALProtos { */ org.apache.hadoop.hbase.protobuf.generated.WALProtos.RegionEventDescriptor.EventType getEventType(); - // required bytes table_name = 2; /** * required bytes table_name = 2; */ @@ -9975,7 +9867,6 @@ public final class WALProtos { */ com.google.protobuf.ByteString getTableName(); - // required bytes encoded_region_name = 3; /** * required bytes encoded_region_name = 3; */ @@ -9985,7 +9876,6 @@ public final class WALProtos { */ com.google.protobuf.ByteString getEncodedRegionName(); - // optional uint64 log_sequence_number = 4; /** * optional uint64 log_sequence_number = 4; */ @@ -9995,7 +9885,6 @@ public final class WALProtos { */ long getLogSequenceNumber(); - // repeated .hbase.pb.StoreDescriptor stores = 5; /** * repeated .hbase.pb.StoreDescriptor stores = 5; */ @@ -10020,7 +9909,6 @@ public final class WALProtos { org.apache.hadoop.hbase.protobuf.generated.WALProtos.StoreDescriptorOrBuilder getStoresOrBuilder( int index); - // optional .hbase.pb.ServerName server = 6; /** * optional .hbase.pb.ServerName server = 6; * @@ -10046,7 +9934,6 @@ public final class WALProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder getServerOrBuilder(); - // optional bytes region_name = 7; /** * optional bytes region_name = 7; * @@ -10073,8 +9960,9 @@ public final class WALProtos { * */ public static final class RegionEventDescriptor extends - com.google.protobuf.GeneratedMessage - implements RegionEventDescriptorOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.RegionEventDescriptor) + RegionEventDescriptorOrBuilder { // Use RegionEventDescriptor.newBuilder() to construct. private RegionEventDescriptor(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -10297,7 +10185,6 @@ public final class WALProtos { } private int bitField0_; - // required .hbase.pb.RegionEventDescriptor.EventType event_type = 1; public static final int EVENT_TYPE_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.WALProtos.RegionEventDescriptor.EventType eventType_; /** @@ -10313,7 +10200,6 @@ public final class WALProtos { return eventType_; } - // required bytes table_name = 2; public static final int TABLE_NAME_FIELD_NUMBER = 2; private com.google.protobuf.ByteString tableName_; /** @@ -10329,7 +10215,6 @@ public final class WALProtos { return tableName_; } - // required bytes encoded_region_name = 3; public static final int ENCODED_REGION_NAME_FIELD_NUMBER = 3; private com.google.protobuf.ByteString encodedRegionName_; /** @@ -10345,7 +10230,6 @@ public final class WALProtos { return encodedRegionName_; } - // optional uint64 log_sequence_number = 4; public static final int LOG_SEQUENCE_NUMBER_FIELD_NUMBER = 4; private long logSequenceNumber_; /** @@ -10361,7 +10245,6 @@ public final class WALProtos { return logSequenceNumber_; } - // repeated .hbase.pb.StoreDescriptor stores = 5; public static final int STORES_FIELD_NUMBER = 5; private java.util.List stores_; /** @@ -10397,7 +10280,6 @@ public final class WALProtos { return stores_.get(index); } - // optional .hbase.pb.ServerName server = 6; public static final int SERVER_FIELD_NUMBER = 6; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName server_; /** @@ -10431,7 +10313,6 @@ public final class WALProtos { return server_; } - // optional bytes region_name = 7; public static final int REGION_NAME_FIELD_NUMBER = 7; private com.google.protobuf.ByteString regionName_; /** @@ -10467,7 +10348,8 @@ public final class WALProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasEventType()) { memoizedIsInitialized = 0; @@ -10618,7 +10500,6 @@ public final class WALProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -10628,7 +10509,8 @@ public final class WALProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasEventType()) { hash = (37 * hash) + EVENT_TYPE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getEventType()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getEventType()); } if (hasTableName()) { hash = (37 * hash) + TABLE_NAME_FIELD_NUMBER; @@ -10640,7 +10522,8 @@ public final class WALProtos { } if (hasLogSequenceNumber()) { hash = (37 * hash) + LOG_SEQUENCE_NUMBER_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getLogSequenceNumber()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLogSequenceNumber()); } if (getStoresCount() > 0) { hash = (37 * hash) + STORES_FIELD_NUMBER; @@ -10734,8 +10617,9 @@ public final class WALProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.WALProtos.RegionEventDescriptorOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.RegionEventDescriptor) + org.apache.hadoop.hbase.protobuf.generated.WALProtos.RegionEventDescriptorOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.WALProtos.internal_static_hbase_pb_RegionEventDescriptor_descriptor; @@ -10968,7 +10852,6 @@ public final class WALProtos { } private int bitField0_; - // required .hbase.pb.RegionEventDescriptor.EventType event_type = 1; private org.apache.hadoop.hbase.protobuf.generated.WALProtos.RegionEventDescriptor.EventType eventType_ = org.apache.hadoop.hbase.protobuf.generated.WALProtos.RegionEventDescriptor.EventType.REGION_OPEN; /** * required .hbase.pb.RegionEventDescriptor.EventType event_type = 1; @@ -11004,7 +10887,6 @@ public final class WALProtos { return this; } - // required bytes table_name = 2; private com.google.protobuf.ByteString tableName_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes table_name = 2; @@ -11040,7 +10922,6 @@ public final class WALProtos { return this; } - // required bytes encoded_region_name = 3; private com.google.protobuf.ByteString encodedRegionName_ = com.google.protobuf.ByteString.EMPTY; /** * required bytes encoded_region_name = 3; @@ -11076,7 +10957,6 @@ public final class WALProtos { return this; } - // optional uint64 log_sequence_number = 4; private long logSequenceNumber_ ; /** * optional uint64 log_sequence_number = 4; @@ -11109,7 +10989,6 @@ public final class WALProtos { return this; } - // repeated .hbase.pb.StoreDescriptor stores = 5; private java.util.List stores_ = java.util.Collections.emptyList(); private void ensureStoresIsMutable() { @@ -11251,7 +11130,8 @@ public final class WALProtos { java.lang.Iterable values) { if (storesBuilder_ == null) { ensureStoresIsMutable(); - super.addAll(values, stores_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, stores_); onChanged(); } else { storesBuilder_.addAllMessages(values); @@ -11349,7 +11229,6 @@ public final class WALProtos { return storesBuilder_; } - // optional .hbase.pb.ServerName server = 6; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName server_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder> serverBuilder_; @@ -11494,7 +11373,7 @@ public final class WALProtos { if (serverBuilder_ == null) { serverBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder>( - server_, + getServer(), getParentForChildren(), isClean()); server_ = null; @@ -11502,7 +11381,6 @@ public final class WALProtos { return serverBuilder_; } - // optional bytes region_name = 7; private com.google.protobuf.ByteString regionName_ = com.google.protobuf.ByteString.EMPTY; /** * optional bytes region_name = 7; @@ -11565,8 +11443,9 @@ public final class WALProtos { // @@protoc_insertion_point(class_scope:hbase.pb.RegionEventDescriptor) } - public interface WALTrailerOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface WALTrailerOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.WALTrailer) + com.google.protobuf.MessageOrBuilder { } /** * Protobuf type {@code hbase.pb.WALTrailer} @@ -11580,8 +11459,9 @@ public final class WALProtos { * */ public static final class WALTrailer extends - com.google.protobuf.GeneratedMessage - implements WALTrailerOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.WALTrailer) + WALTrailerOrBuilder { // Use WALTrailer.newBuilder() to construct. private WALTrailer(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -11670,7 +11550,8 @@ public final class WALProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -11716,7 +11597,6 @@ public final class WALProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -11807,8 +11687,9 @@ public final class WALProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.WALProtos.WALTrailerOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.WALTrailer) + org.apache.hadoop.hbase.protobuf.generated.WALProtos.WALTrailerOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.WALProtos.internal_static_hbase_pb_WALTrailer_descriptor; @@ -11919,52 +11800,52 @@ public final class WALProtos { // @@protoc_insertion_point(class_scope:hbase.pb.WALTrailer) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_WALHeader_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_WALHeader_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_WALKey_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_WALKey_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_FamilyScope_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_FamilyScope_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_CompactionDescriptor_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_CompactionDescriptor_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_FlushDescriptor_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_FlushDescriptor_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_FlushDescriptor_StoreFlushDescriptor_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_FlushDescriptor_StoreFlushDescriptor_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_StoreDescriptor_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_StoreDescriptor_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_BulkLoadDescriptor_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_BulkLoadDescriptor_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_RegionEventDescriptor_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_RegionEventDescriptor_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_WALTrailer_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -12030,78 +11911,79 @@ public final class WALProtos { "\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_WALHeader_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_WALHeader_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_WALHeader_descriptor, - new java.lang.String[] { "HasCompression", "EncryptionKey", "HasTagCompression", "WriterClsName", "CellCodecClsName", }); - internal_static_hbase_pb_WALKey_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_hbase_pb_WALKey_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_WALKey_descriptor, - new java.lang.String[] { "EncodedRegionName", "TableName", "LogSequenceNumber", "WriteTime", "ClusterId", "Scopes", "FollowingKvCount", "ClusterIds", "NonceGroup", "Nonce", "OrigSequenceNumber", }); - internal_static_hbase_pb_FamilyScope_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_hbase_pb_FamilyScope_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_FamilyScope_descriptor, - new java.lang.String[] { "Family", "ScopeType", }); - internal_static_hbase_pb_CompactionDescriptor_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_hbase_pb_CompactionDescriptor_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_CompactionDescriptor_descriptor, - new java.lang.String[] { "TableName", "EncodedRegionName", "FamilyName", "CompactionInput", "CompactionOutput", "StoreHomeDir", "RegionName", }); - internal_static_hbase_pb_FlushDescriptor_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_hbase_pb_FlushDescriptor_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_FlushDescriptor_descriptor, - new java.lang.String[] { "Action", "TableName", "EncodedRegionName", "FlushSequenceNumber", "StoreFlushes", "RegionName", }); - internal_static_hbase_pb_FlushDescriptor_StoreFlushDescriptor_descriptor = - internal_static_hbase_pb_FlushDescriptor_descriptor.getNestedTypes().get(0); - internal_static_hbase_pb_FlushDescriptor_StoreFlushDescriptor_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_FlushDescriptor_StoreFlushDescriptor_descriptor, - new java.lang.String[] { "FamilyName", "StoreHomeDir", "FlushOutput", }); - internal_static_hbase_pb_StoreDescriptor_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_hbase_pb_StoreDescriptor_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_StoreDescriptor_descriptor, - new java.lang.String[] { "FamilyName", "StoreHomeDir", "StoreFile", "StoreFileSizeBytes", }); - internal_static_hbase_pb_BulkLoadDescriptor_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_hbase_pb_BulkLoadDescriptor_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_BulkLoadDescriptor_descriptor, - new java.lang.String[] { "TableName", "EncodedRegionName", "Stores", "BulkloadSeqNum", }); - internal_static_hbase_pb_RegionEventDescriptor_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_hbase_pb_RegionEventDescriptor_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_RegionEventDescriptor_descriptor, - new java.lang.String[] { "EventType", "TableName", "EncodedRegionName", "LogSequenceNumber", "Stores", "Server", "RegionName", }); - internal_static_hbase_pb_WALTrailer_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_hbase_pb_WALTrailer_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_WALTrailer_descriptor, - new java.lang.String[] { }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(), }, assigner); + internal_static_hbase_pb_WALHeader_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_WALHeader_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_WALHeader_descriptor, + new java.lang.String[] { "HasCompression", "EncryptionKey", "HasTagCompression", "WriterClsName", "CellCodecClsName", }); + internal_static_hbase_pb_WALKey_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_hbase_pb_WALKey_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_WALKey_descriptor, + new java.lang.String[] { "EncodedRegionName", "TableName", "LogSequenceNumber", "WriteTime", "ClusterId", "Scopes", "FollowingKvCount", "ClusterIds", "NonceGroup", "Nonce", "OrigSequenceNumber", }); + internal_static_hbase_pb_FamilyScope_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_hbase_pb_FamilyScope_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_FamilyScope_descriptor, + new java.lang.String[] { "Family", "ScopeType", }); + internal_static_hbase_pb_CompactionDescriptor_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_hbase_pb_CompactionDescriptor_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_CompactionDescriptor_descriptor, + new java.lang.String[] { "TableName", "EncodedRegionName", "FamilyName", "CompactionInput", "CompactionOutput", "StoreHomeDir", "RegionName", }); + internal_static_hbase_pb_FlushDescriptor_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_hbase_pb_FlushDescriptor_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_FlushDescriptor_descriptor, + new java.lang.String[] { "Action", "TableName", "EncodedRegionName", "FlushSequenceNumber", "StoreFlushes", "RegionName", }); + internal_static_hbase_pb_FlushDescriptor_StoreFlushDescriptor_descriptor = + internal_static_hbase_pb_FlushDescriptor_descriptor.getNestedTypes().get(0); + internal_static_hbase_pb_FlushDescriptor_StoreFlushDescriptor_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_FlushDescriptor_StoreFlushDescriptor_descriptor, + new java.lang.String[] { "FamilyName", "StoreHomeDir", "FlushOutput", }); + internal_static_hbase_pb_StoreDescriptor_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_hbase_pb_StoreDescriptor_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_StoreDescriptor_descriptor, + new java.lang.String[] { "FamilyName", "StoreHomeDir", "StoreFile", "StoreFileSizeBytes", }); + internal_static_hbase_pb_BulkLoadDescriptor_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_hbase_pb_BulkLoadDescriptor_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_BulkLoadDescriptor_descriptor, + new java.lang.String[] { "TableName", "EncodedRegionName", "Stores", "BulkloadSeqNum", }); + internal_static_hbase_pb_RegionEventDescriptor_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_hbase_pb_RegionEventDescriptor_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_RegionEventDescriptor_descriptor, + new java.lang.String[] { "EventType", "TableName", "EncodedRegionName", "LogSequenceNumber", "Stores", "Server", "RegionName", }); + internal_static_hbase_pb_WALTrailer_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_hbase_pb_WALTrailer_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_WALTrailer_descriptor, + new java.lang.String[] { }); + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ZooKeeperProtos.java b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ZooKeeperProtos.java index 81cc69b..d5ea6e1 100644 --- a/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ZooKeeperProtos.java +++ b/hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/generated/ZooKeeperProtos.java @@ -8,10 +8,10 @@ public final class ZooKeeperProtos { public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } - public interface MetaRegionServerOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface MetaRegionServerOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.MetaRegionServer) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.ServerName server = 1; /** * required .hbase.pb.ServerName server = 1; * @@ -40,7 +40,6 @@ public final class ZooKeeperProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder getServerOrBuilder(); - // optional uint32 rpc_version = 2; /** * optional uint32 rpc_version = 2; * @@ -62,7 +61,6 @@ public final class ZooKeeperProtos { */ int getRpcVersion(); - // optional .hbase.pb.RegionState.State state = 3; /** * optional .hbase.pb.RegionState.State state = 3; * @@ -89,8 +87,9 @@ public final class ZooKeeperProtos { * */ public static final class MetaRegionServer extends - com.google.protobuf.GeneratedMessage - implements MetaRegionServerOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.MetaRegionServer) + MetaRegionServerOrBuilder { // Use MetaRegionServer.newBuilder() to construct. private MetaRegionServer(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -205,7 +204,6 @@ public final class ZooKeeperProtos { } private int bitField0_; - // required .hbase.pb.ServerName server = 1; public static final int SERVER_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName server_; /** @@ -242,7 +240,6 @@ public final class ZooKeeperProtos { return server_; } - // optional uint32 rpc_version = 2; public static final int RPC_VERSION_FIELD_NUMBER = 2; private int rpcVersion_; /** @@ -270,7 +267,6 @@ public final class ZooKeeperProtos { return rpcVersion_; } - // optional .hbase.pb.RegionState.State state = 3; public static final int STATE_FIELD_NUMBER = 3; private org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.State state_; /** @@ -302,7 +298,8 @@ public final class ZooKeeperProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasServer()) { memoizedIsInitialized = 0; @@ -392,7 +389,6 @@ public final class ZooKeeperProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -410,7 +406,8 @@ public final class ZooKeeperProtos { } if (hasState()) { hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getState()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getState()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -492,8 +489,9 @@ public final class ZooKeeperProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.MetaRegionServerOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.MetaRegionServer) + org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.MetaRegionServerOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.internal_static_hbase_pb_MetaRegionServer_descriptor; @@ -641,7 +639,6 @@ public final class ZooKeeperProtos { } private int bitField0_; - // required .hbase.pb.ServerName server = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName server_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder> serverBuilder_; @@ -795,7 +792,7 @@ public final class ZooKeeperProtos { if (serverBuilder_ == null) { serverBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder>( - server_, + getServer(), getParentForChildren(), isClean()); server_ = null; @@ -803,7 +800,6 @@ public final class ZooKeeperProtos { return serverBuilder_; } - // optional uint32 rpc_version = 2; private int rpcVersion_ ; /** * optional uint32 rpc_version = 2; @@ -860,7 +856,6 @@ public final class ZooKeeperProtos { return this; } - // optional .hbase.pb.RegionState.State state = 3; private org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.State state_ = org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.RegionState.State.OFFLINE; /** * optional .hbase.pb.RegionState.State state = 3; @@ -923,10 +918,10 @@ public final class ZooKeeperProtos { // @@protoc_insertion_point(class_scope:hbase.pb.MetaRegionServer) } - public interface MasterOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface MasterOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.Master) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.ServerName master = 1; /** * required .hbase.pb.ServerName master = 1; * @@ -952,7 +947,6 @@ public final class ZooKeeperProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder getMasterOrBuilder(); - // optional uint32 rpc_version = 2; /** * optional uint32 rpc_version = 2; * @@ -970,7 +964,6 @@ public final class ZooKeeperProtos { */ int getRpcVersion(); - // optional uint32 info_port = 3; /** * optional uint32 info_port = 3; */ @@ -989,8 +982,9 @@ public final class ZooKeeperProtos { * */ public static final class Master extends - com.google.protobuf.GeneratedMessage - implements MasterOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.Master) + MasterOrBuilder { // Use Master.newBuilder() to construct. private Master(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1099,7 +1093,6 @@ public final class ZooKeeperProtos { } private int bitField0_; - // required .hbase.pb.ServerName master = 1; public static final int MASTER_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName master_; /** @@ -1133,7 +1126,6 @@ public final class ZooKeeperProtos { return master_; } - // optional uint32 rpc_version = 2; public static final int RPC_VERSION_FIELD_NUMBER = 2; private int rpcVersion_; /** @@ -1157,7 +1149,6 @@ public final class ZooKeeperProtos { return rpcVersion_; } - // optional uint32 info_port = 3; public static final int INFO_PORT_FIELD_NUMBER = 3; private int infoPort_; /** @@ -1181,7 +1172,8 @@ public final class ZooKeeperProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasMaster()) { memoizedIsInitialized = 0; @@ -1271,7 +1263,6 @@ public final class ZooKeeperProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1371,8 +1362,9 @@ public final class ZooKeeperProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.MasterOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.Master) + org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.MasterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.internal_static_hbase_pb_Master_descriptor; @@ -1520,7 +1512,6 @@ public final class ZooKeeperProtos { } private int bitField0_; - // required .hbase.pb.ServerName master = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName master_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder> masterBuilder_; @@ -1665,7 +1656,7 @@ public final class ZooKeeperProtos { if (masterBuilder_ == null) { masterBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder>( - master_, + getMaster(), getParentForChildren(), isClean()); master_ = null; @@ -1673,7 +1664,6 @@ public final class ZooKeeperProtos { return masterBuilder_; } - // optional uint32 rpc_version = 2; private int rpcVersion_ ; /** * optional uint32 rpc_version = 2; @@ -1722,7 +1712,6 @@ public final class ZooKeeperProtos { return this; } - // optional uint32 info_port = 3; private int infoPort_ ; /** * optional uint32 info_port = 3; @@ -1766,10 +1755,10 @@ public final class ZooKeeperProtos { // @@protoc_insertion_point(class_scope:hbase.pb.Master) } - public interface ClusterUpOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ClusterUpOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ClusterUp) + com.google.protobuf.MessageOrBuilder { - // required string start_date = 1; /** * required string start_date = 1; * @@ -1808,8 +1797,9 @@ public final class ZooKeeperProtos { * */ public static final class ClusterUp extends - com.google.protobuf.GeneratedMessage - implements ClusterUpOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ClusterUp) + ClusterUpOrBuilder { // Use ClusterUp.newBuilder() to construct. private ClusterUp(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -1856,8 +1846,9 @@ public final class ZooKeeperProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - startDate_ = input.readBytes(); + startDate_ = bs; break; } } @@ -1900,7 +1891,6 @@ public final class ZooKeeperProtos { } private int bitField0_; - // required string start_date = 1; public static final int START_DATE_FIELD_NUMBER = 1; private java.lang.Object startDate_; /** @@ -1964,7 +1954,8 @@ public final class ZooKeeperProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasStartDate()) { memoizedIsInitialized = 0; @@ -2026,7 +2017,6 @@ public final class ZooKeeperProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2118,8 +2108,9 @@ public final class ZooKeeperProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.ClusterUpOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ClusterUp) + org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.ClusterUpOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.internal_static_hbase_pb_ClusterUp_descriptor; @@ -2238,7 +2229,6 @@ public final class ZooKeeperProtos { } private int bitField0_; - // required string start_date = 1; private java.lang.Object startDate_ = ""; /** * required string start_date = 1; @@ -2262,9 +2252,12 @@ public final class ZooKeeperProtos { public java.lang.String getStartDate() { java.lang.Object ref = startDate_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - startDate_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + startDate_ = s; + } return s; } else { return (java.lang.String) ref; @@ -2353,10 +2346,10 @@ public final class ZooKeeperProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ClusterUp) } - public interface SplitLogTaskOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface SplitLogTaskOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.SplitLogTask) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.SplitLogTask.State state = 1; /** * required .hbase.pb.SplitLogTask.State state = 1; */ @@ -2366,7 +2359,6 @@ public final class ZooKeeperProtos { */ org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.SplitLogTask.State getState(); - // required .hbase.pb.ServerName server_name = 2; /** * required .hbase.pb.ServerName server_name = 2; */ @@ -2380,7 +2372,6 @@ public final class ZooKeeperProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder getServerNameOrBuilder(); - // optional .hbase.pb.SplitLogTask.RecoveryMode mode = 3 [default = UNKNOWN]; /** * optional .hbase.pb.SplitLogTask.RecoveryMode mode = 3 [default = UNKNOWN]; */ @@ -2400,8 +2391,9 @@ public final class ZooKeeperProtos { * */ public static final class SplitLogTask extends - com.google.protobuf.GeneratedMessage - implements SplitLogTaskOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.SplitLogTask) + SplitLogTaskOrBuilder { // Use SplitLogTask.newBuilder() to construct. private SplitLogTask(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -2722,7 +2714,6 @@ public final class ZooKeeperProtos { } private int bitField0_; - // required .hbase.pb.SplitLogTask.State state = 1; public static final int STATE_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.SplitLogTask.State state_; /** @@ -2738,7 +2729,6 @@ public final class ZooKeeperProtos { return state_; } - // required .hbase.pb.ServerName server_name = 2; public static final int SERVER_NAME_FIELD_NUMBER = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName serverName_; /** @@ -2760,7 +2750,6 @@ public final class ZooKeeperProtos { return serverName_; } - // optional .hbase.pb.SplitLogTask.RecoveryMode mode = 3 [default = UNKNOWN]; public static final int MODE_FIELD_NUMBER = 3; private org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.SplitLogTask.RecoveryMode mode_; /** @@ -2784,7 +2773,8 @@ public final class ZooKeeperProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasState()) { memoizedIsInitialized = 0; @@ -2878,7 +2868,6 @@ public final class ZooKeeperProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2888,7 +2877,8 @@ public final class ZooKeeperProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasState()) { hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getState()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getState()); } if (hasServerName()) { hash = (37 * hash) + SERVER_NAME_FIELD_NUMBER; @@ -2896,7 +2886,8 @@ public final class ZooKeeperProtos { } if (hasMode()) { hash = (37 * hash) + MODE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getMode()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getMode()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -2979,8 +2970,9 @@ public final class ZooKeeperProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.SplitLogTaskOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.SplitLogTask) + org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.SplitLogTaskOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.internal_static_hbase_pb_SplitLogTask_descriptor; @@ -3132,7 +3124,6 @@ public final class ZooKeeperProtos { } private int bitField0_; - // required .hbase.pb.SplitLogTask.State state = 1; private org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.SplitLogTask.State state_ = org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.SplitLogTask.State.UNASSIGNED; /** * required .hbase.pb.SplitLogTask.State state = 1; @@ -3168,7 +3159,6 @@ public final class ZooKeeperProtos { return this; } - // required .hbase.pb.ServerName server_name = 2; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName serverName_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder> serverNameBuilder_; @@ -3277,7 +3267,7 @@ public final class ZooKeeperProtos { if (serverNameBuilder_ == null) { serverNameBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.ServerNameOrBuilder>( - serverName_, + getServerName(), getParentForChildren(), isClean()); serverName_ = null; @@ -3285,7 +3275,6 @@ public final class ZooKeeperProtos { return serverNameBuilder_; } - // optional .hbase.pb.SplitLogTask.RecoveryMode mode = 3 [default = UNKNOWN]; private org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.SplitLogTask.RecoveryMode mode_ = org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.SplitLogTask.RecoveryMode.UNKNOWN; /** * optional .hbase.pb.SplitLogTask.RecoveryMode mode = 3 [default = UNKNOWN]; @@ -3332,10 +3321,10 @@ public final class ZooKeeperProtos { // @@protoc_insertion_point(class_scope:hbase.pb.SplitLogTask) } - public interface DeprecatedTableStateOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface DeprecatedTableStateOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.DeprecatedTableState) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.DeprecatedTableState.State state = 1 [default = ENABLED]; /** * required .hbase.pb.DeprecatedTableState.State state = 1 [default = ENABLED]; * @@ -3367,8 +3356,9 @@ public final class ZooKeeperProtos { * */ public static final class DeprecatedTableState extends - com.google.protobuf.GeneratedMessage - implements DeprecatedTableStateOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.DeprecatedTableState) + DeprecatedTableStateOrBuilder { // Use DeprecatedTableState.newBuilder() to construct. private DeprecatedTableState(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -3569,7 +3559,6 @@ public final class ZooKeeperProtos { } private int bitField0_; - // required .hbase.pb.DeprecatedTableState.State state = 1 [default = ENABLED]; public static final int STATE_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.DeprecatedTableState.State state_; /** @@ -3603,7 +3592,8 @@ public final class ZooKeeperProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasState()) { memoizedIsInitialized = 0; @@ -3665,7 +3655,6 @@ public final class ZooKeeperProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -3675,7 +3664,8 @@ public final class ZooKeeperProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasState()) { hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getState()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getState()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -3758,8 +3748,9 @@ public final class ZooKeeperProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.DeprecatedTableStateOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.DeprecatedTableState) + org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.DeprecatedTableStateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.internal_static_hbase_pb_DeprecatedTableState_descriptor; @@ -3876,7 +3867,6 @@ public final class ZooKeeperProtos { } private int bitField0_; - // required .hbase.pb.DeprecatedTableState.State state = 1 [default = ENABLED]; private org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.DeprecatedTableState.State state_ = org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.DeprecatedTableState.State.ENABLED; /** * required .hbase.pb.DeprecatedTableState.State state = 1 [default = ENABLED]; @@ -3947,10 +3937,10 @@ public final class ZooKeeperProtos { // @@protoc_insertion_point(class_scope:hbase.pb.DeprecatedTableState) } - public interface TableCFOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface TableCFOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.TableCF) + com.google.protobuf.MessageOrBuilder { - // optional .hbase.pb.TableName table_name = 1; /** * optional .hbase.pb.TableName table_name = 1; */ @@ -3964,7 +3954,6 @@ public final class ZooKeeperProtos { */ org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder getTableNameOrBuilder(); - // repeated bytes families = 2; /** * repeated bytes families = 2; */ @@ -3982,8 +3971,9 @@ public final class ZooKeeperProtos { * Protobuf type {@code hbase.pb.TableCF} */ public static final class TableCF extends - com.google.protobuf.GeneratedMessage - implements TableCFOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.TableCF) + TableCFOrBuilder { // Use TableCF.newBuilder() to construct. private TableCF(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -4093,7 +4083,6 @@ public final class ZooKeeperProtos { } private int bitField0_; - // optional .hbase.pb.TableName table_name = 1; public static final int TABLE_NAME_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName tableName_; /** @@ -4115,7 +4104,6 @@ public final class ZooKeeperProtos { return tableName_; } - // repeated bytes families = 2; public static final int FAMILIES_FIELD_NUMBER = 2; private java.util.List families_; /** @@ -4145,7 +4133,8 @@ public final class ZooKeeperProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (hasTableName()) { if (!getTableName().isInitialized()) { @@ -4223,7 +4212,6 @@ public final class ZooKeeperProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -4314,8 +4302,9 @@ public final class ZooKeeperProtos { * Protobuf type {@code hbase.pb.TableCF} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.TableCFOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.TableCF) + org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.TableCFOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.internal_static_hbase_pb_TableCF_descriptor; @@ -4460,7 +4449,6 @@ public final class ZooKeeperProtos { } private int bitField0_; - // optional .hbase.pb.TableName table_name = 1; private org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName tableName_ = org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.getDefaultInstance(); private com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder> tableNameBuilder_; @@ -4569,7 +4557,7 @@ public final class ZooKeeperProtos { if (tableNameBuilder_ == null) { tableNameBuilder_ = new com.google.protobuf.SingleFieldBuilder< org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableName.Builder, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.TableNameOrBuilder>( - tableName_, + getTableName(), getParentForChildren(), isClean()); tableName_ = null; @@ -4577,7 +4565,6 @@ public final class ZooKeeperProtos { return tableNameBuilder_; } - // repeated bytes families = 2; private java.util.List families_ = java.util.Collections.emptyList(); private void ensureFamiliesIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { @@ -4635,7 +4622,8 @@ public final class ZooKeeperProtos { public Builder addAllFamilies( java.lang.Iterable values) { ensureFamiliesIsMutable(); - super.addAll(values, families_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, families_); onChanged(); return this; } @@ -4660,10 +4648,10 @@ public final class ZooKeeperProtos { // @@protoc_insertion_point(class_scope:hbase.pb.TableCF) } - public interface ReplicationPeerOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ReplicationPeerOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ReplicationPeer) + com.google.protobuf.MessageOrBuilder { - // required string clusterkey = 1; /** * required string clusterkey = 1; * @@ -4693,7 +4681,6 @@ public final class ZooKeeperProtos { com.google.protobuf.ByteString getClusterkeyBytes(); - // optional string replicationEndpointImpl = 2; /** * optional string replicationEndpointImpl = 2; */ @@ -4708,7 +4695,6 @@ public final class ZooKeeperProtos { com.google.protobuf.ByteString getReplicationEndpointImplBytes(); - // repeated .hbase.pb.BytesBytesPair data = 3; /** * repeated .hbase.pb.BytesBytesPair data = 3; */ @@ -4733,7 +4719,6 @@ public final class ZooKeeperProtos { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.BytesBytesPairOrBuilder getDataOrBuilder( int index); - // repeated .hbase.pb.NameStringPair configuration = 4; /** * repeated .hbase.pb.NameStringPair configuration = 4; */ @@ -4758,7 +4743,6 @@ public final class ZooKeeperProtos { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.NameStringPairOrBuilder getConfigurationOrBuilder( int index); - // repeated .hbase.pb.TableCF table_cfs = 5; /** * repeated .hbase.pb.TableCF table_cfs = 5; */ @@ -4783,7 +4767,6 @@ public final class ZooKeeperProtos { org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.TableCFOrBuilder getTableCfsOrBuilder( int index); - // repeated bytes namespaces = 6; /** * repeated bytes namespaces = 6; */ @@ -4797,7 +4780,6 @@ public final class ZooKeeperProtos { */ com.google.protobuf.ByteString getNamespaces(int index); - // optional int64 bandwidth = 7; /** * optional int64 bandwidth = 7; */ @@ -4816,8 +4798,9 @@ public final class ZooKeeperProtos { * */ public static final class ReplicationPeer extends - com.google.protobuf.GeneratedMessage - implements ReplicationPeerOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ReplicationPeer) + ReplicationPeerOrBuilder { // Use ReplicationPeer.newBuilder() to construct. private ReplicationPeer(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -4864,13 +4847,15 @@ public final class ZooKeeperProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - clusterkey_ = input.readBytes(); + clusterkey_ = bs; break; } case 18: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; - replicationEndpointImpl_ = input.readBytes(); + replicationEndpointImpl_ = bs; break; } case 26: { @@ -4962,7 +4947,6 @@ public final class ZooKeeperProtos { } private int bitField0_; - // required string clusterkey = 1; public static final int CLUSTERKEY_FIELD_NUMBER = 1; private java.lang.Object clusterkey_; /** @@ -5020,7 +5004,6 @@ public final class ZooKeeperProtos { } } - // optional string replicationEndpointImpl = 2; public static final int REPLICATIONENDPOINTIMPL_FIELD_NUMBER = 2; private java.lang.Object replicationEndpointImpl_; /** @@ -5063,7 +5046,6 @@ public final class ZooKeeperProtos { } } - // repeated .hbase.pb.BytesBytesPair data = 3; public static final int DATA_FIELD_NUMBER = 3; private java.util.List data_; /** @@ -5099,7 +5081,6 @@ public final class ZooKeeperProtos { return data_.get(index); } - // repeated .hbase.pb.NameStringPair configuration = 4; public static final int CONFIGURATION_FIELD_NUMBER = 4; private java.util.List configuration_; /** @@ -5135,7 +5116,6 @@ public final class ZooKeeperProtos { return configuration_.get(index); } - // repeated .hbase.pb.TableCF table_cfs = 5; public static final int TABLE_CFS_FIELD_NUMBER = 5; private java.util.List tableCfs_; /** @@ -5171,7 +5151,6 @@ public final class ZooKeeperProtos { return tableCfs_.get(index); } - // repeated bytes namespaces = 6; public static final int NAMESPACES_FIELD_NUMBER = 6; private java.util.List namespaces_; /** @@ -5194,7 +5173,6 @@ public final class ZooKeeperProtos { return namespaces_.get(index); } - // optional int64 bandwidth = 7; public static final int BANDWIDTH_FIELD_NUMBER = 7; private long bandwidth_; /** @@ -5222,7 +5200,8 @@ public final class ZooKeeperProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasClusterkey()) { memoizedIsInitialized = 0; @@ -5367,7 +5346,6 @@ public final class ZooKeeperProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -5401,7 +5379,8 @@ public final class ZooKeeperProtos { } if (hasBandwidth()) { hash = (37 * hash) + BANDWIDTH_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getBandwidth()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getBandwidth()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -5483,8 +5462,9 @@ public final class ZooKeeperProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.ReplicationPeerOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ReplicationPeer) + org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.ReplicationPeerOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.internal_static_hbase_pb_ReplicationPeer_descriptor; @@ -5784,7 +5764,6 @@ public final class ZooKeeperProtos { } private int bitField0_; - // required string clusterkey = 1; private java.lang.Object clusterkey_ = ""; /** * required string clusterkey = 1; @@ -5808,9 +5787,12 @@ public final class ZooKeeperProtos { public java.lang.String getClusterkey() { java.lang.Object ref = clusterkey_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - clusterkey_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + clusterkey_ = s; + } return s; } else { return (java.lang.String) ref; @@ -5888,7 +5870,6 @@ public final class ZooKeeperProtos { return this; } - // optional string replicationEndpointImpl = 2; private java.lang.Object replicationEndpointImpl_ = ""; /** * optional string replicationEndpointImpl = 2; @@ -5902,9 +5883,12 @@ public final class ZooKeeperProtos { public java.lang.String getReplicationEndpointImpl() { java.lang.Object ref = replicationEndpointImpl_; if (!(ref instanceof java.lang.String)) { - java.lang.String s = ((com.google.protobuf.ByteString) ref) - .toStringUtf8(); - replicationEndpointImpl_ = s; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + if (bs.isValidUtf8()) { + replicationEndpointImpl_ = s; + } return s; } else { return (java.lang.String) ref; @@ -5962,7 +5946,6 @@ public final class ZooKeeperProtos { return this; } - // repeated .hbase.pb.BytesBytesPair data = 3; private java.util.List data_ = java.util.Collections.emptyList(); private void ensureDataIsMutable() { @@ -6104,7 +6087,8 @@ public final class ZooKeeperProtos { java.lang.Iterable values) { if (dataBuilder_ == null) { ensureDataIsMutable(); - super.addAll(values, data_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, data_); onChanged(); } else { dataBuilder_.addAllMessages(values); @@ -6202,7 +6186,6 @@ public final class ZooKeeperProtos { return dataBuilder_; } - // repeated .hbase.pb.NameStringPair configuration = 4; private java.util.List configuration_ = java.util.Collections.emptyList(); private void ensureConfigurationIsMutable() { @@ -6344,7 +6327,8 @@ public final class ZooKeeperProtos { java.lang.Iterable values) { if (configurationBuilder_ == null) { ensureConfigurationIsMutable(); - super.addAll(values, configuration_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, configuration_); onChanged(); } else { configurationBuilder_.addAllMessages(values); @@ -6442,7 +6426,6 @@ public final class ZooKeeperProtos { return configurationBuilder_; } - // repeated .hbase.pb.TableCF table_cfs = 5; private java.util.List tableCfs_ = java.util.Collections.emptyList(); private void ensureTableCfsIsMutable() { @@ -6584,7 +6567,8 @@ public final class ZooKeeperProtos { java.lang.Iterable values) { if (tableCfsBuilder_ == null) { ensureTableCfsIsMutable(); - super.addAll(values, tableCfs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tableCfs_); onChanged(); } else { tableCfsBuilder_.addAllMessages(values); @@ -6682,7 +6666,6 @@ public final class ZooKeeperProtos { return tableCfsBuilder_; } - // repeated bytes namespaces = 6; private java.util.List namespaces_ = java.util.Collections.emptyList(); private void ensureNamespacesIsMutable() { if (!((bitField0_ & 0x00000020) == 0x00000020)) { @@ -6740,7 +6723,8 @@ public final class ZooKeeperProtos { public Builder addAllNamespaces( java.lang.Iterable values) { ensureNamespacesIsMutable(); - super.addAll(values, namespaces_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, namespaces_); onChanged(); return this; } @@ -6754,7 +6738,6 @@ public final class ZooKeeperProtos { return this; } - // optional int64 bandwidth = 7; private long bandwidth_ ; /** * optional int64 bandwidth = 7; @@ -6798,10 +6781,10 @@ public final class ZooKeeperProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ReplicationPeer) } - public interface ReplicationStateOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ReplicationStateOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ReplicationState) + com.google.protobuf.MessageOrBuilder { - // required .hbase.pb.ReplicationState.State state = 1; /** * required .hbase.pb.ReplicationState.State state = 1; */ @@ -6820,8 +6803,9 @@ public final class ZooKeeperProtos { * */ public static final class ReplicationState extends - com.google.protobuf.GeneratedMessage - implements ReplicationStateOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ReplicationState) + ReplicationStateOrBuilder { // Use ReplicationState.newBuilder() to construct. private ReplicationState(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -7000,7 +6984,6 @@ public final class ZooKeeperProtos { } private int bitField0_; - // required .hbase.pb.ReplicationState.State state = 1; public static final int STATE_FIELD_NUMBER = 1; private org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.ReplicationState.State state_; /** @@ -7022,7 +7005,8 @@ public final class ZooKeeperProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasState()) { memoizedIsInitialized = 0; @@ -7084,7 +7068,6 @@ public final class ZooKeeperProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -7094,7 +7077,8 @@ public final class ZooKeeperProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasState()) { hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getState()); + hash = (53 * hash) + com.google.protobuf.Internal.hashEnum( + getState()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -7176,8 +7160,9 @@ public final class ZooKeeperProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.ReplicationStateOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ReplicationState) + org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.ReplicationStateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.internal_static_hbase_pb_ReplicationState_descriptor; @@ -7294,7 +7279,6 @@ public final class ZooKeeperProtos { } private int bitField0_; - // required .hbase.pb.ReplicationState.State state = 1; private org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.ReplicationState.State state_ = org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.ReplicationState.State.ENABLED; /** * required .hbase.pb.ReplicationState.State state = 1; @@ -7341,10 +7325,10 @@ public final class ZooKeeperProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ReplicationState) } - public interface ReplicationHLogPositionOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ReplicationHLogPositionOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.ReplicationHLogPosition) + com.google.protobuf.MessageOrBuilder { - // required int64 position = 1; /** * required int64 position = 1; */ @@ -7363,8 +7347,9 @@ public final class ZooKeeperProtos { * */ public static final class ReplicationHLogPosition extends - com.google.protobuf.GeneratedMessage - implements ReplicationHLogPositionOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.ReplicationHLogPosition) + ReplicationHLogPositionOrBuilder { // Use ReplicationHLogPosition.newBuilder() to construct. private ReplicationHLogPosition(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -7455,7 +7440,6 @@ public final class ZooKeeperProtos { } private int bitField0_; - // required int64 position = 1; public static final int POSITION_FIELD_NUMBER = 1; private long position_; /** @@ -7477,7 +7461,8 @@ public final class ZooKeeperProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; if (!hasPosition()) { memoizedIsInitialized = 0; @@ -7539,7 +7524,6 @@ public final class ZooKeeperProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -7549,7 +7533,8 @@ public final class ZooKeeperProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasPosition()) { hash = (37 * hash) + POSITION_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getPosition()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getPosition()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -7631,8 +7616,9 @@ public final class ZooKeeperProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.ReplicationHLogPositionOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.ReplicationHLogPosition) + org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.ReplicationHLogPositionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.internal_static_hbase_pb_ReplicationHLogPosition_descriptor; @@ -7749,7 +7735,6 @@ public final class ZooKeeperProtos { } private int bitField0_; - // required int64 position = 1; private long position_ ; /** * required int64 position = 1; @@ -7793,10 +7778,10 @@ public final class ZooKeeperProtos { // @@protoc_insertion_point(class_scope:hbase.pb.ReplicationHLogPosition) } - public interface SwitchStateOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface SwitchStateOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.SwitchState) + com.google.protobuf.MessageOrBuilder { - // optional bool enabled = 1; /** * optional bool enabled = 1; */ @@ -7815,8 +7800,9 @@ public final class ZooKeeperProtos { * */ public static final class SwitchState extends - com.google.protobuf.GeneratedMessage - implements SwitchStateOrBuilder { + com.google.protobuf.GeneratedMessage implements + // @@protoc_insertion_point(message_implements:hbase.pb.SwitchState) + SwitchStateOrBuilder { // Use SwitchState.newBuilder() to construct. private SwitchState(com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); @@ -7907,7 +7893,6 @@ public final class ZooKeeperProtos { } private int bitField0_; - // optional bool enabled = 1; public static final int ENABLED_FIELD_NUMBER = 1; private boolean enabled_; /** @@ -7929,7 +7914,8 @@ public final class ZooKeeperProtos { private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -7987,7 +7973,6 @@ public final class ZooKeeperProtos { return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -7997,7 +7982,8 @@ public final class ZooKeeperProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasEnabled()) { hash = (37 * hash) + ENABLED_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getEnabled()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getEnabled()); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -8079,8 +8065,9 @@ public final class ZooKeeperProtos { * */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.SwitchStateOrBuilder { + com.google.protobuf.GeneratedMessage.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.SwitchState) + org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.SwitchStateOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.protobuf.generated.ZooKeeperProtos.internal_static_hbase_pb_SwitchState_descriptor; @@ -8193,7 +8180,6 @@ public final class ZooKeeperProtos { } private int bitField0_; - // optional bool enabled = 1; private boolean enabled_ ; /** * optional bool enabled = 1; @@ -8237,52 +8223,52 @@ public final class ZooKeeperProtos { // @@protoc_insertion_point(class_scope:hbase.pb.SwitchState) } - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_MetaRegionServer_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_MetaRegionServer_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_Master_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_Master_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ClusterUp_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ClusterUp_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_SplitLogTask_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_SplitLogTask_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_DeprecatedTableState_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_DeprecatedTableState_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_TableCF_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_TableCF_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ReplicationPeer_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ReplicationPeer_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ReplicationState_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ReplicationState_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_ReplicationHLogPosition_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_hbase_pb_ReplicationHLogPosition_fieldAccessorTable; - private static com.google.protobuf.Descriptors.Descriptor + private static final com.google.protobuf.Descriptors.Descriptor internal_static_hbase_pb_SwitchState_descriptor; private static com.google.protobuf.GeneratedMessage.FieldAccessorTable @@ -8331,79 +8317,81 @@ public final class ZooKeeperProtos { "uf.generatedB\017ZooKeeperProtosH\001\210\001\001\240\001\001" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = - new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { - public com.google.protobuf.ExtensionRegistry assignDescriptors( - com.google.protobuf.Descriptors.FileDescriptor root) { - descriptor = root; - internal_static_hbase_pb_MetaRegionServer_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_hbase_pb_MetaRegionServer_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_MetaRegionServer_descriptor, - new java.lang.String[] { "Server", "RpcVersion", "State", }); - internal_static_hbase_pb_Master_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_hbase_pb_Master_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_Master_descriptor, - new java.lang.String[] { "Master", "RpcVersion", "InfoPort", }); - internal_static_hbase_pb_ClusterUp_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_hbase_pb_ClusterUp_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ClusterUp_descriptor, - new java.lang.String[] { "StartDate", }); - internal_static_hbase_pb_SplitLogTask_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_hbase_pb_SplitLogTask_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_SplitLogTask_descriptor, - new java.lang.String[] { "State", "ServerName", "Mode", }); - internal_static_hbase_pb_DeprecatedTableState_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_hbase_pb_DeprecatedTableState_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_DeprecatedTableState_descriptor, - new java.lang.String[] { "State", }); - internal_static_hbase_pb_TableCF_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_hbase_pb_TableCF_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_TableCF_descriptor, - new java.lang.String[] { "TableName", "Families", }); - internal_static_hbase_pb_ReplicationPeer_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_hbase_pb_ReplicationPeer_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ReplicationPeer_descriptor, - new java.lang.String[] { "Clusterkey", "ReplicationEndpointImpl", "Data", "Configuration", "TableCfs", "Namespaces", "Bandwidth", }); - internal_static_hbase_pb_ReplicationState_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_hbase_pb_ReplicationState_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ReplicationState_descriptor, - new java.lang.String[] { "State", }); - internal_static_hbase_pb_ReplicationHLogPosition_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_hbase_pb_ReplicationHLogPosition_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_ReplicationHLogPosition_descriptor, - new java.lang.String[] { "Position", }); - internal_static_hbase_pb_SwitchState_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_hbase_pb_SwitchState_fieldAccessorTable = new - com.google.protobuf.GeneratedMessage.FieldAccessorTable( - internal_static_hbase_pb_SwitchState_descriptor, - new java.lang.String[] { "Enabled", }); - return null; - } - }; + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(), org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.getDescriptor(), }, assigner); + internal_static_hbase_pb_MetaRegionServer_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_hbase_pb_MetaRegionServer_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_MetaRegionServer_descriptor, + new java.lang.String[] { "Server", "RpcVersion", "State", }); + internal_static_hbase_pb_Master_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_hbase_pb_Master_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_Master_descriptor, + new java.lang.String[] { "Master", "RpcVersion", "InfoPort", }); + internal_static_hbase_pb_ClusterUp_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_hbase_pb_ClusterUp_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ClusterUp_descriptor, + new java.lang.String[] { "StartDate", }); + internal_static_hbase_pb_SplitLogTask_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_hbase_pb_SplitLogTask_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_SplitLogTask_descriptor, + new java.lang.String[] { "State", "ServerName", "Mode", }); + internal_static_hbase_pb_DeprecatedTableState_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_hbase_pb_DeprecatedTableState_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_DeprecatedTableState_descriptor, + new java.lang.String[] { "State", }); + internal_static_hbase_pb_TableCF_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_hbase_pb_TableCF_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_TableCF_descriptor, + new java.lang.String[] { "TableName", "Families", }); + internal_static_hbase_pb_ReplicationPeer_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_hbase_pb_ReplicationPeer_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ReplicationPeer_descriptor, + new java.lang.String[] { "Clusterkey", "ReplicationEndpointImpl", "Data", "Configuration", "TableCfs", "Namespaces", "Bandwidth", }); + internal_static_hbase_pb_ReplicationState_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_hbase_pb_ReplicationState_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ReplicationState_descriptor, + new java.lang.String[] { "State", }); + internal_static_hbase_pb_ReplicationHLogPosition_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_hbase_pb_ReplicationHLogPosition_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_ReplicationHLogPosition_descriptor, + new java.lang.String[] { "Position", }); + internal_static_hbase_pb_SwitchState_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_hbase_pb_SwitchState_fieldAccessorTable = new + com.google.protobuf.GeneratedMessage.FieldAccessorTable( + internal_static_hbase_pb_SwitchState_descriptor, + new java.lang.String[] { "Enabled", }); + org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.getDescriptor(); + org.apache.hadoop.hbase.protobuf.generated.ClusterStatusProtos.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/RowResourceBase.java b/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/RowResourceBase.java index b4b00a9..33ad2a4 100644 --- a/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/RowResourceBase.java +++ b/hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/RowResourceBase.java @@ -22,7 +22,8 @@ import static org.junit.Assert.assertEquals; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.StringWriter; -import java.util.*; +import java.util.HashMap; +import java.util.Map; import javax.ws.rs.core.MediaType; import javax.xml.bind.JAXBContext; @@ -30,7 +31,6 @@ import javax.xml.bind.JAXBException; import javax.xml.bind.Marshaller; import javax.xml.bind.Unmarshaller; -import org.apache.commons.collections.keyvalue.AbstractMapEntry; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseTestingUtility; import org.apache.hadoop.hbase.HColumnDescriptor; @@ -177,7 +177,7 @@ public class RowResourceBase { } protected static Response getValuePB(String url) throws IOException { - Response response = client.get(url, Constants.MIMETYPE_PROTOBUF); + Response response = client.get(url, Constants.MIMETYPE_PROTOBUF); return response; } diff --git a/hbase-rsgroup/pom.xml b/hbase-rsgroup/pom.xml index c9d6095..d38ea26 100644 --- a/hbase-rsgroup/pom.xml +++ b/hbase-rsgroup/pom.xml @@ -129,10 +129,6 @@
- commons-codec - commons-codec - - commons-io commons-io diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml index 10093cb..80c73e9 100644 --- a/hbase-server/pom.xml +++ b/hbase-server/pom.xml @@ -402,14 +402,6 @@ ${project.version} true - - commons-codec - commons-codec - - - commons-collections - commons-collections - org.apache.hbase hbase-hadoop-compat diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java index 3cced66..4221d4f 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java @@ -442,6 +442,7 @@ public class LruBlockCache implements ResizableBlockCache, HeapSize { * @param cacheKey block's cache key * @param buf block buffer */ + @Override public void cacheBlock(BlockCacheKey cacheKey, Cacheable buf) { cacheBlock(cacheKey, buf, false, false); } @@ -788,6 +789,7 @@ public class LruBlockCache implements ResizableBlockCache, HeapSize { return totalSize; } + @Override public int compareTo(BlockBucket that) { return Long.compare(this.overflow(), that.overflow()); } @@ -952,6 +954,7 @@ public class LruBlockCache implements ResizableBlockCache, HeapSize { *

Includes: total accesses, hits, misses, evicted blocks, and runs * of the eviction processes. */ + @Override public CacheStats getStats() { return this.stats; } @@ -1078,6 +1081,7 @@ public class LruBlockCache implements ResizableBlockCache, HeapSize { return (long) Math.floor(this.maxSize * this.memoryFactor * this.minFactor); } + @Override public void shutdown() { if (victimHandler != null) { victimHandler.shutdown(); diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketAllocator.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketAllocator.java index d9ee64c..5883043 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketAllocator.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketAllocator.java @@ -24,13 +24,13 @@ import java.util.Arrays; import java.util.Comparator; import java.util.HashSet; import java.util.Iterator; +import java.util.LinkedHashSet; import java.util.Map; import java.util.Queue; import java.util.Set; import java.util.concurrent.atomic.AtomicLong; import com.google.common.collect.MinMaxPriorityQueue; -import org.apache.commons.collections.map.LinkedMap; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.hbase.classification.InterfaceAudience; @@ -73,7 +73,7 @@ public final class BucketAllocator { Preconditions.checkElementIndex(sizeIndex, bucketSizes.length); this.sizeIndex = sizeIndex; itemAllocationSize = bucketSizes[sizeIndex]; - itemCount = (int) (bucketCapacity / (long) itemAllocationSize); + itemCount = (int) (bucketCapacity / itemAllocationSize); freeCount = itemCount; usedCount = 0; freeList = new int[itemCount]; @@ -161,7 +161,7 @@ public final class BucketAllocator { assert offset % itemAllocationSize == 0; assert usedCount > 0; assert freeCount < itemCount; // Else duplicate free - int item = (int) (offset / (long) itemAllocationSize); + int item = (int) (offset / itemAllocationSize); assert !freeListContains(item); --usedCount; freeList[freeCount++] = item; @@ -178,22 +178,22 @@ public final class BucketAllocator { final class BucketSizeInfo { // Free bucket means it has space to allocate a block; // Completely free bucket means it has no block. - private LinkedMap bucketList, freeBuckets, completelyFreeBuckets; + private Set bucketList, freeBuckets, completelyFreeBuckets; private int sizeIndex; BucketSizeInfo(int sizeIndex) { - bucketList = new LinkedMap(); - freeBuckets = new LinkedMap(); - completelyFreeBuckets = new LinkedMap(); + bucketList = new LinkedHashSet<>(); + freeBuckets = new LinkedHashSet<>(); + completelyFreeBuckets = new LinkedHashSet<>(); this.sizeIndex = sizeIndex; } public synchronized void instantiateBucket(Bucket b) { assert b.isUninstantiated() || b.isCompletelyFree(); b.reconfigure(sizeIndex, bucketSizes, bucketCapacity); - bucketList.put(b, b); - freeBuckets.put(b, b); - completelyFreeBuckets.put(b, b); + bucketList.add(b); + freeBuckets.add(b); + completelyFreeBuckets.add(b); } public int sizeIndex() { @@ -208,7 +208,7 @@ public final class BucketAllocator { Bucket b = null; if (freeBuckets.size() > 0) { // Use up an existing one first... - b = (Bucket) freeBuckets.lastKey(); + b = freeBuckets.iterator().next(); } if (b == null) { b = grabGlobalCompletelyFreeBucket(); @@ -234,7 +234,7 @@ public final class BucketAllocator { } if (completelyFreeBuckets.size() > 0) { - b = (Bucket) completelyFreeBuckets.firstKey(); + b = completelyFreeBuckets.iterator().next(); removeBucket(b); } return b; @@ -248,18 +248,17 @@ public final class BucketAllocator { } public void freeBlock(Bucket b, long offset) { - assert bucketList.containsKey(b); + assert bucketList.contains(b); // else we shouldn't have anything to free... - assert (!completelyFreeBuckets.containsKey(b)); + assert (!completelyFreeBuckets.contains(b)); b.free(offset); - if (!freeBuckets.containsKey(b)) freeBuckets.put(b, b); - if (b.isCompletelyFree()) completelyFreeBuckets.put(b, b); + if (!freeBuckets.contains(b)) freeBuckets.add(b); + if (b.isCompletelyFree()) completelyFreeBuckets.add(b); } public synchronized IndexStatistics statistics() { long free = 0, used = 0; - for (Object obj : bucketList.keySet()) { - Bucket b = (Bucket) obj; + for (Bucket b : bucketList) { free += b.freeCount(); used += b.usedCount(); } @@ -329,7 +328,7 @@ public final class BucketAllocator { bucketSizeInfos[i < this.bucketSizes.length ? i : this.bucketSizes.length - 1] .instantiateBucket(buckets[i]); } - this.totalSize = ((long) buckets.length) * bucketCapacity; + this.totalSize = (buckets.length) * bucketCapacity; if (LOG.isInfoEnabled()) { LOG.info("Cache totalSize=" + this.totalSize + ", buckets=" + this.buckets.length + ", bucket capacity=" + this.bucketCapacity + @@ -414,6 +413,7 @@ public final class BucketAllocator { } } + @Override public String toString() { StringBuilder sb = new StringBuilder(1024); for (int i = 0; i < buckets.length; ++i) { diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/SyncTable.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/SyncTable.java index 954194e..1f003f4 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/SyncTable.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/SyncTable.java @@ -51,7 +51,7 @@ import org.apache.hadoop.util.Tool; import org.apache.hadoop.util.ToolRunner; import com.google.common.base.Throwables; -import com.google.common.collect.Iterators; +import com.google.common.collect.ImmutableSet; public class SyncTable extends Configured implements Tool { @@ -302,7 +302,7 @@ public class SyncTable extends Configured implements Tool { } private static final CellScanner EMPTY_CELL_SCANNER - = new CellScanner(Iterators.emptyIterator()); + = new CellScanner(ImmutableSet.of().iterator()); /** * Rescan the given range directly from the source and target tables. diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/monitoring/TaskMonitor.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/monitoring/TaskMonitor.java index ff92704..6cbe246 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/monitoring/TaskMonitor.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/monitoring/TaskMonitor.java @@ -27,12 +27,12 @@ import java.util.ArrayList; import java.util.Iterator; import java.util.List; -import org.apache.commons.collections.buffer.CircularFifoBuffer; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.hbase.classification.InterfaceAudience; import com.google.common.annotations.VisibleForTesting; +import com.google.common.collect.EvictingQueue; import com.google.common.collect.Lists; /** @@ -50,9 +50,9 @@ public class TaskMonitor { @VisibleForTesting static final int MAX_TASKS = 1000; - + private static TaskMonitor instance; - private CircularFifoBuffer tasks = new CircularFifoBuffer(MAX_TASKS); + private EvictingQueue tasks = EvictingQueue.create(MAX_TASKS); private List rpcTasks = Lists.newArrayList(); /** @@ -65,7 +65,7 @@ public class TaskMonitor { } return instance; } - + public synchronized MonitoredTask createStatus(String description) { MonitoredTask stat = new MonitoredTaskImpl(); stat.setDescription(description); @@ -74,7 +74,7 @@ public class TaskMonitor { new Class[] { MonitoredTask.class }, new PassthroughInvocationHandler<>(stat)); TaskAndWeakRefPair pair = new TaskAndWeakRefPair(stat, proxy); - if (tasks.isFull()) { + if (tasks.size() == MAX_TASKS) { purgeExpiredTasks(); } tasks.add(pair); @@ -98,7 +98,7 @@ public class TaskMonitor { it.hasNext();) { TaskAndWeakRefPair pair = it.next(); MonitoredTask stat = pair.get(); - + if (pair.isDead()) { // The class who constructed this leaked it. So we can // assume it's done. @@ -107,7 +107,7 @@ public class TaskMonitor { stat.cleanup(); } } - + if (canPurge(stat)) { it.remove(); } @@ -115,7 +115,7 @@ public class TaskMonitor { } /** - * Produces a list containing copies of the current state of all non-expired + * Produces a list containing copies of the current state of all non-expired * MonitoredTasks handled by this TaskMonitor. * @return A complete list of MonitoredTasks. */ @@ -141,11 +141,11 @@ public class TaskMonitor { long cts = stat.getCompletionTimestamp(); return (cts > 0 && System.currentTimeMillis() - cts > EXPIRATION_TIME); } - + public void dumpAsText(PrintWriter out) { long now = System.currentTimeMillis(); - + List tasks = getTasks(); for (MonitoredTask task : tasks) { out.println("Task: " + task.getDescription()); @@ -173,7 +173,7 @@ public class TaskMonitor { * v \ * PassthroughInvocationHandler | weak reference * | / - * MonitoredTaskImpl / + * MonitoredTaskImpl / * | / * StatAndWeakRefProxy ------/ * @@ -185,29 +185,29 @@ public class TaskMonitor { private static class TaskAndWeakRefPair { private MonitoredTask impl; private WeakReference weakProxy; - + public TaskAndWeakRefPair(MonitoredTask stat, MonitoredTask proxy) { this.impl = stat; this.weakProxy = new WeakReference<>(proxy); } - + public MonitoredTask get() { return impl; } - + public boolean isDead() { return weakProxy.get() == null; } } - + /** - * An InvocationHandler that simply passes through calls to the original + * An InvocationHandler that simply passes through calls to the original * object. */ private static class PassthroughInvocationHandler implements InvocationHandler { private T delegatee; - + public PassthroughInvocationHandler(T delegatee) { this.delegatee = delegatee; } @@ -216,6 +216,6 @@ public class TaskMonitor { public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { return method.invoke(delegatee, args); - } + } } } diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java index a87b679..c980679 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java @@ -1700,7 +1700,7 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi this.metricsRegion.close(); } if (this.metricsRegionWrapper != null) { - Closeables.closeQuietly(this.metricsRegionWrapper); + Closeables.close(this.metricsRegionWrapper, true); } status.markComplete("Closed"); LOG.info("Closed " + this); @@ -7440,7 +7440,7 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi long deltaAmount = getLongValue(delta); apply = deltaAmount != 0; newCell = reckonIncrement(delta, deltaAmount, currentValue, columnFamily, now, - (Increment)mutation); + mutation); break; case APPEND: mutationType = MutationType.APPEND; diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MultiVersionConcurrencyControl.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MultiVersionConcurrencyControl.java index ffcc834..f185658 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MultiVersionConcurrencyControl.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/MultiVersionConcurrencyControl.java @@ -238,6 +238,7 @@ public class MultiVersionConcurrencyControl { } } + @Override @VisibleForTesting public String toString() { return Objects.toStringHelper(this) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java index 64823b6..e3ac11b 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionCoprocessorHost.java @@ -27,10 +27,9 @@ import java.util.NavigableSet; import java.util.UUID; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; +import java.util.concurrent.ExecutionException; import java.util.regex.Matcher; -import org.apache.commons.collections.map.AbstractReferenceMap; -import org.apache.commons.collections.map.ReferenceMap; import org.apache.commons.lang.ClassUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; @@ -80,6 +79,9 @@ import org.apache.hadoop.hbase.util.CoprocessorClassLoader; import org.apache.hadoop.hbase.util.Pair; import org.apache.hadoop.hbase.wal.WALKey; +import com.google.common.cache.CacheBuilder; +import com.google.common.cache.CacheLoader; +import com.google.common.cache.LoadingCache; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import com.google.protobuf.Message; @@ -96,14 +98,24 @@ public class RegionCoprocessorHost private static final Log LOG = LogFactory.getLog(RegionCoprocessorHost.class); // The shared data map - private static ReferenceMap sharedDataMap = - new ReferenceMap(AbstractReferenceMap.HARD, AbstractReferenceMap.WEAK); + private static final LoadingCache> sharedDataMap; // optimization: no need to call postScannerFilterRow, if no coprocessor implements it private final boolean hasCustomPostScannerFilterRow; + static { + sharedDataMap = CacheBuilder.newBuilder().weakValues().build( + new CacheLoader>() { + @Override + public ConcurrentHashMap load(String key) + throws Exception { + return new ConcurrentHashMap<>(); + } + }); + } + /** - * + * * Encapsulation of the environment of each coprocessor */ static class RegionEnvironment extends CoprocessorHost.Environment @@ -142,6 +154,7 @@ public class RegionCoprocessorHost return rsServices; } + @Override public void shutdown() { super.shutdown(); MetricsCoprocessor.removeRegistry(this.metricRegistry); @@ -362,7 +375,7 @@ public class RegionCoprocessorHost // scan the table attributes for coprocessor load specifications // initialize the coprocessors List configured = new ArrayList<>(); - for (TableCoprocessorAttribute attr: getTableCoprocessorAttrsFromSchema(conf, + for (TableCoprocessorAttribute attr: getTableCoprocessorAttrsFromSchema(conf, region.getTableDesc())) { // Load encompasses classloading and coprocessor initialization try { @@ -398,19 +411,15 @@ public class RegionCoprocessorHost region.registerService( ((CoprocessorService)instance).getService() ); } } - ConcurrentMap classData; - // make sure only one thread can add maps - synchronized (sharedDataMap) { - // as long as at least one RegionEnvironment holds on to its classData it will - // remain in this map - classData = (ConcurrentMap)sharedDataMap.get(implClass.getName()); - if (classData == null) { - classData = new ConcurrentHashMap<>(); - sharedDataMap.put(implClass.getName(), classData); - } + // as long as at least one RegionEnvironment holds on to its classData it will + // remain in this map + try { + ConcurrentMap classData = sharedDataMap.get(implClass.getName()); + return new RegionEnvironment(instance, priority, seq, conf, region, + rsServices, classData); + } catch (ExecutionException e) { + throw new IllegalStateException("Could not get class data.", e.getCause()); } - return new RegionEnvironment(instance, priority, seq, conf, region, - rsServices, classData); } /** @@ -488,6 +497,7 @@ public class RegionCoprocessorHost throws IOException { oserver.postClose(ctx, abortRequested); } + @Override public void postEnvCall(RegionEnvironment env) { shutdown(env); } @@ -1653,10 +1663,12 @@ public class RegionCoprocessorHost public abstract void call(RegionObserver observer, ObserverContext ctx) throws IOException; + @Override public boolean hasCall(Coprocessor observer) { return observer instanceof RegionObserver; } + @Override public void call(Coprocessor observer, ObserverContext ctx) throws IOException { call((RegionObserver)observer, ctx); @@ -1680,10 +1692,12 @@ public class RegionCoprocessorHost public abstract void call(EndpointObserver observer, ObserverContext ctx) throws IOException; + @Override public boolean hasCall(Coprocessor observer) { return observer instanceof EndpointObserver; } + @Override public void call(Coprocessor observer, ObserverContext ctx) throws IOException { call((EndpointObserver)observer, ctx); diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/HBaseInterClusterReplicationEndpoint.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/HBaseInterClusterReplicationEndpoint.java index 97f28b4..dd067a1 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/HBaseInterClusterReplicationEndpoint.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/HBaseInterClusterReplicationEndpoint.java @@ -19,7 +19,6 @@ package org.apache.hadoop.hbase.replication.regionserver; import com.google.common.annotations.VisibleForTesting; - import java.io.IOException; import java.net.ConnectException; import java.net.SocketTimeoutException; @@ -353,13 +352,6 @@ public class HBaseInterClusterReplicationEndpoint extends HBaseReplicationEndpoi notifyStopped(); } - // is this needed? Nobody else will call doStop() otherwise - @Override - public State stopAndWait() { - doStop(); - return super.stopAndWait(); - } - @VisibleForTesting protected Replicator createReplicator(List entries, int ordinal) { return new Replicator(entries, ordinal); diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSource.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSource.java index 72da9bd..ac92b50 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSource.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSource.java @@ -22,7 +22,6 @@ import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.google.common.cache.LoadingCache; import com.google.common.collect.Lists; -import com.google.common.util.concurrent.ListenableFuture; import com.google.common.util.concurrent.Service; import java.io.IOException; @@ -189,7 +188,7 @@ public class ReplicationSource extends Thread implements ReplicationSourceInterf defaultBandwidth = this.conf.getLong("replication.source.per.peer.node.bandwidth", 0); currentBandwidth = getCurrentBandwidth(); - this.throttler = new ReplicationThrottler((double) currentBandwidth / 10.0); + this.throttler = new ReplicationThrottler(currentBandwidth / 10.0); this.totalBufferUsed = manager.getTotalBufferUsed(); LOG.info("peerClusterZnode=" + peerClusterZnode + ", ReplicationSource : " + peerId + ", currentBandwidth=" + this.currentBandwidth); @@ -267,7 +266,7 @@ public class ReplicationSource extends Thread implements ReplicationSourceInterf metrics.clear(); if (replicationEndpoint.state() == Service.State.STARTING || replicationEndpoint.state() == Service.State.RUNNING) { - replicationEndpoint.stopAndWait(); + replicationEndpoint.stopAsync().awaitTerminated(); } } @@ -277,7 +276,8 @@ public class ReplicationSource extends Thread implements ReplicationSourceInterf this.sourceRunning = true; try { // start the endpoint, connect to the cluster - Service.State state = replicationEndpoint.start().get(); + replicationEndpoint.startAsync().awaitRunning(); + Service.State state = replicationEndpoint.state(); if (state != Service.State.RUNNING) { LOG.warn("ReplicationEndpoint was not started. Exiting"); uninitialize(); @@ -401,18 +401,18 @@ public class ReplicationSource extends Thread implements ReplicationSourceInterf worker.entryReader.interrupt(); worker.interrupt(); } - ListenableFuture future = null; if (this.replicationEndpoint != null) { - future = this.replicationEndpoint.stop(); + this.replicationEndpoint.stopAsync(); } if (join) { for (ReplicationSourceShipperThread worker : workers) { Threads.shutdown(worker, this.sleepForRetries); LOG.info("ReplicationSourceWorker " + worker.getName() + " terminated"); } - if (future != null) { + if (this.replicationEndpoint != null) { try { - future.get(sleepForRetries * maxRetriesMultiplier, TimeUnit.MILLISECONDS); + this.replicationEndpoint.awaitTerminated( + sleepForRetries * maxRetriesMultiplier, TimeUnit.MILLISECONDS); } catch (Exception e) { LOG.warn("Got exception while waiting for endpoint to shutdown for replication source :" + this.peerClusterZnode, @@ -655,7 +655,7 @@ public class ReplicationSource extends Thread implements ReplicationSourceInterf long peerBandwidth = getCurrentBandwidth(); if (peerBandwidth != currentBandwidth) { currentBandwidth = peerBandwidth; - throttler.setBandwidth((double) currentBandwidth / 10.0); + throttler.setBandwidth(currentBandwidth / 10.0); LOG.info("ReplicationSource : " + peerId + " bandwidth throttling changed, currentBandWidth=" + currentBandwidth); } diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityReplicationEndpoint.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityReplicationEndpoint.java index c77b776..8526f64 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityReplicationEndpoint.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityReplicationEndpoint.java @@ -21,6 +21,9 @@ import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.UUID; +import java.util.concurrent.Executor; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.TimeoutException; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; @@ -37,6 +40,7 @@ import org.apache.hadoop.hbase.replication.WALEntryFilter; import org.apache.hadoop.hbase.wal.WAL.Entry; import com.google.common.util.concurrent.ListenableFuture; +import com.google.common.util.concurrent.Service; @InterfaceAudience.Private public class VisibilityReplicationEndpoint implements ReplicationEndpoint { @@ -163,4 +167,46 @@ public class VisibilityReplicationEndpoint implements ReplicationEndpoint { return delegator.stopAndWait(); } + @Override + public Service startAsync() { + return delegator.startAsync(); + } + + @Override + public Service stopAsync() { + return delegator.stopAsync(); + } + + @Override + public void awaitRunning() { + delegator.awaitRunning(); + } + + @Override + public void awaitRunning(long timeout, TimeUnit unit) + throws TimeoutException { + delegator.awaitRunning(timeout, unit); + } + + @Override + public void awaitTerminated() { + delegator.awaitTerminated(); + } + + @Override + public void awaitTerminated(long timeout, TimeUnit unit) + throws TimeoutException { + delegator.awaitTerminated(timeout, unit); + } + + @Override + public Throwable failureCause() { + return delegator.failureCause(); + } + + @Override + public void addListener(Listener listener, Executor executor) { + delegator.addListener(listener, executor); + } + } diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JvmPauseMonitor.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JvmPauseMonitor.java index 9288a45..b5000ef 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JvmPauseMonitor.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/JvmPauseMonitor.java @@ -22,6 +22,7 @@ import java.lang.management.ManagementFactory; import java.util.List; import java.util.Map; import java.util.Set; +import java.util.concurrent.TimeUnit; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; @@ -54,13 +55,13 @@ public class JvmPauseMonitor { /** The target sleep time */ private static final long SLEEP_INTERVAL_MS = 500; - + /** log WARN if we detect a pause longer than this threshold */ private final long warnThresholdMs; public static final String WARN_THRESHOLD_KEY = "jvm.pause.warn-threshold.ms"; private static final long WARN_THRESHOLD_DEFAULT = 10000; - + /** log INFO if we detect a pause longer than this threshold */ private final long infoThresholdMs; public static final String INFO_THRESHOLD_KEY = @@ -80,7 +81,7 @@ public class JvmPauseMonitor { this.infoThresholdMs = conf.getLong(INFO_THRESHOLD_KEY, INFO_THRESHOLD_DEFAULT); this.metricsSource = metricsSource; } - + public void start() { Preconditions.checkState(monitorThread == null, "Already started"); monitorThread = new Thread(new Monitor(), "JvmPauseMonitor"); @@ -97,7 +98,7 @@ public class JvmPauseMonitor { Thread.currentThread().interrupt(); } } - + private String formatMessage(long extraSleepTime, List gcDiffs) { String ret = "Detected pause in JVM or host machine (eg GC): " + "pause of approximately " + extraSleepTime + "ms\n"; @@ -108,7 +109,7 @@ public class JvmPauseMonitor { } return ret; } - + private Map getGcTimes() { Map map = Maps.newHashMap(); List gcBeans = ManagementFactory.getGarbageCollectorMXBeans(); @@ -145,7 +146,7 @@ public class JvmPauseMonitor { private class Monitor implements Runnable { @Override public void run() { - Stopwatch sw = new Stopwatch(); + Stopwatch sw = Stopwatch.createUnstarted(); Map gcTimesBeforeSleep = getGcTimes(); while (shouldRun) { sw.reset().start(); @@ -155,7 +156,7 @@ public class JvmPauseMonitor { return; } - long extraSleepTime = sw.elapsedMillis() - SLEEP_INTERVAL_MS; + long extraSleepTime = sw.elapsed(TimeUnit.MILLISECONDS) - SLEEP_INTERVAL_MS; Map gcTimesAfterSleep = getGcTimes(); if (extraSleepTime > infoThresholdMs) { @@ -207,7 +208,7 @@ public class JvmPauseMonitor { /** * Simple 'main' to facilitate manual testing of the pause monitor. - * + * * This main function just leaks memory into a list. Running this class * with a 1GB heap will very quickly go into "GC hell" and result in * log messages about the GC pauses. diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/ScanPerformanceEvaluation.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/ScanPerformanceEvaluation.java index 24e9590..46b67fa 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/ScanPerformanceEvaluation.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/ScanPerformanceEvaluation.java @@ -102,8 +102,8 @@ public class ScanPerformanceEvaluation extends AbstractHBaseTool { FileSystem fs = filename.getFileSystem(getConf()); // read the file from start to finish - Stopwatch fileOpenTimer = new Stopwatch(); - Stopwatch streamTimer = new Stopwatch(); + Stopwatch fileOpenTimer = Stopwatch.createUnstarted(); + Stopwatch streamTimer = Stopwatch.createUnstarted(); fileOpenTimer.start(); FSDataInputStream in = fs.open(filename); @@ -120,11 +120,11 @@ public class ScanPerformanceEvaluation extends AbstractHBaseTool { } streamTimer.stop(); - double throughput = (double)totalBytes / streamTimer.elapsedTime(TimeUnit.SECONDS); + double throughput = (double)totalBytes / streamTimer.elapsed(TimeUnit.SECONDS); System.out.println("HDFS streaming: "); - System.out.println("total time to open: " + fileOpenTimer.elapsedMillis() + " ms"); - System.out.println("total time to read: " + streamTimer.elapsedMillis() + " ms"); + System.out.println("total time to open: " + fileOpenTimer.elapsed(TimeUnit.MILLISECONDS) + " ms"); + System.out.println("total time to read: " + streamTimer.elapsed(TimeUnit.MILLISECONDS) + " ms"); System.out.println("total bytes: " + totalBytes + " bytes (" + StringUtils.humanReadableInt(totalBytes) + ")"); System.out.println("throghput : " + StringUtils.humanReadableInt((long)throughput) + "B/s"); @@ -143,9 +143,9 @@ public class ScanPerformanceEvaluation extends AbstractHBaseTool { } public void testScan() throws IOException { - Stopwatch tableOpenTimer = new Stopwatch(); - Stopwatch scanOpenTimer = new Stopwatch(); - Stopwatch scanTimer = new Stopwatch(); + Stopwatch tableOpenTimer = Stopwatch.createUnstarted(); + Stopwatch scanOpenTimer = Stopwatch.createUnstarted(); + Stopwatch scanTimer = Stopwatch.createUnstarted(); tableOpenTimer.start(); Connection connection = ConnectionFactory.createConnection(getConf()); @@ -176,14 +176,14 @@ public class ScanPerformanceEvaluation extends AbstractHBaseTool { ScanMetrics metrics = scan.getScanMetrics(); long totalBytes = metrics.countOfBytesInResults.get(); - double throughput = (double)totalBytes / scanTimer.elapsedTime(TimeUnit.SECONDS); - double throughputRows = (double)numRows / scanTimer.elapsedTime(TimeUnit.SECONDS); - double throughputCells = (double)numCells / scanTimer.elapsedTime(TimeUnit.SECONDS); + double throughput = (double)totalBytes / scanTimer.elapsed(TimeUnit.SECONDS); + double throughputRows = (double)numRows / scanTimer.elapsed(TimeUnit.SECONDS); + double throughputCells = (double)numCells / scanTimer.elapsed(TimeUnit.SECONDS); System.out.println("HBase scan: "); - System.out.println("total time to open table: " + tableOpenTimer.elapsedMillis() + " ms"); - System.out.println("total time to open scanner: " + scanOpenTimer.elapsedMillis() + " ms"); - System.out.println("total time to scan: " + scanTimer.elapsedMillis() + " ms"); + System.out.println("total time to open table: " + tableOpenTimer.elapsed(TimeUnit.MILLISECONDS) + " ms"); + System.out.println("total time to open scanner: " + scanOpenTimer.elapsed(TimeUnit.MILLISECONDS) + " ms"); + System.out.println("total time to scan: " + scanTimer.elapsed(TimeUnit.MILLISECONDS) + " ms"); System.out.println("Scan metrics:\n" + metrics.getMetricsMap()); @@ -198,9 +198,9 @@ public class ScanPerformanceEvaluation extends AbstractHBaseTool { public void testSnapshotScan() throws IOException { - Stopwatch snapshotRestoreTimer = new Stopwatch(); - Stopwatch scanOpenTimer = new Stopwatch(); - Stopwatch scanTimer = new Stopwatch(); + Stopwatch snapshotRestoreTimer = Stopwatch.createUnstarted(); + Stopwatch scanOpenTimer = Stopwatch.createUnstarted(); + Stopwatch scanTimer = Stopwatch.createUnstarted(); Path restoreDir = new Path(this.restoreDir); @@ -230,14 +230,14 @@ public class ScanPerformanceEvaluation extends AbstractHBaseTool { ScanMetrics metrics = scanner.getScanMetrics(); long totalBytes = metrics.countOfBytesInResults.get(); - double throughput = (double)totalBytes / scanTimer.elapsedTime(TimeUnit.SECONDS); - double throughputRows = (double)numRows / scanTimer.elapsedTime(TimeUnit.SECONDS); - double throughputCells = (double)numCells / scanTimer.elapsedTime(TimeUnit.SECONDS); + double throughput = (double)totalBytes / scanTimer.elapsed(TimeUnit.SECONDS); + double throughputRows = (double)numRows / scanTimer.elapsed(TimeUnit.SECONDS); + double throughputCells = (double)numCells / scanTimer.elapsed(TimeUnit.SECONDS); System.out.println("HBase scan snapshot: "); - System.out.println("total time to restore snapshot: " + snapshotRestoreTimer.elapsedMillis() + " ms"); - System.out.println("total time to open scanner: " + scanOpenTimer.elapsedMillis() + " ms"); - System.out.println("total time to scan: " + scanTimer.elapsedMillis() + " ms"); + System.out.println("total time to restore snapshot: " + snapshotRestoreTimer.elapsed(TimeUnit.MILLISECONDS) + " ms"); + System.out.println("total time to open scanner: " + scanOpenTimer.elapsed(TimeUnit.MILLISECONDS) + " ms"); + System.out.println("total time to scan: " + scanTimer.elapsed(TimeUnit.MILLISECONDS) + " ms"); System.out.println("Scan metrics:\n" + metrics.getMetricsMap()); @@ -267,8 +267,8 @@ public class ScanPerformanceEvaluation extends AbstractHBaseTool { } public void testScanMapReduce() throws IOException, InterruptedException, ClassNotFoundException { - Stopwatch scanOpenTimer = new Stopwatch(); - Stopwatch scanTimer = new Stopwatch(); + Stopwatch scanOpenTimer = Stopwatch.createUnstarted(); + Stopwatch scanTimer = Stopwatch.createUnstarted(); Scan scan = getScan(); @@ -302,13 +302,13 @@ public class ScanPerformanceEvaluation extends AbstractHBaseTool { long numCells = counters.findCounter(ScanCounter.NUM_CELLS).getValue(); long totalBytes = counters.findCounter(HBASE_COUNTER_GROUP_NAME, "BYTES_IN_RESULTS").getValue(); - double throughput = (double)totalBytes / scanTimer.elapsedTime(TimeUnit.SECONDS); - double throughputRows = (double)numRows / scanTimer.elapsedTime(TimeUnit.SECONDS); - double throughputCells = (double)numCells / scanTimer.elapsedTime(TimeUnit.SECONDS); + double throughput = (double)totalBytes / scanTimer.elapsed(TimeUnit.SECONDS); + double throughputRows = (double)numRows / scanTimer.elapsed(TimeUnit.SECONDS); + double throughputCells = (double)numCells / scanTimer.elapsed(TimeUnit.SECONDS); System.out.println("HBase scan mapreduce: "); - System.out.println("total time to open scanner: " + scanOpenTimer.elapsedMillis() + " ms"); - System.out.println("total time to scan: " + scanTimer.elapsedMillis() + " ms"); + System.out.println("total time to open scanner: " + scanOpenTimer.elapsed(TimeUnit.MILLISECONDS) + " ms"); + System.out.println("total time to scan: " + scanTimer.elapsed(TimeUnit.MILLISECONDS) + " ms"); System.out.println("total bytes: " + totalBytes + " bytes (" + StringUtils.humanReadableInt(totalBytes) + ")"); @@ -320,8 +320,8 @@ public class ScanPerformanceEvaluation extends AbstractHBaseTool { } public void testSnapshotScanMapReduce() throws IOException, InterruptedException, ClassNotFoundException { - Stopwatch scanOpenTimer = new Stopwatch(); - Stopwatch scanTimer = new Stopwatch(); + Stopwatch scanOpenTimer = Stopwatch.createUnstarted(); + Stopwatch scanTimer = Stopwatch.createUnstarted(); Scan scan = getScan(); @@ -357,13 +357,13 @@ public class ScanPerformanceEvaluation extends AbstractHBaseTool { long numCells = counters.findCounter(ScanCounter.NUM_CELLS).getValue(); long totalBytes = counters.findCounter(HBASE_COUNTER_GROUP_NAME, "BYTES_IN_RESULTS").getValue(); - double throughput = (double)totalBytes / scanTimer.elapsedTime(TimeUnit.SECONDS); - double throughputRows = (double)numRows / scanTimer.elapsedTime(TimeUnit.SECONDS); - double throughputCells = (double)numCells / scanTimer.elapsedTime(TimeUnit.SECONDS); + double throughput = (double)totalBytes / scanTimer.elapsed(TimeUnit.SECONDS); + double throughputRows = (double)numRows / scanTimer.elapsed(TimeUnit.SECONDS); + double throughputCells = (double)numCells / scanTimer.elapsed(TimeUnit.SECONDS); System.out.println("HBase scan mapreduce: "); - System.out.println("total time to open scanner: " + scanOpenTimer.elapsedMillis() + " ms"); - System.out.println("total time to scan: " + scanTimer.elapsedMillis() + " ms"); + System.out.println("total time to open scanner: " + scanOpenTimer.elapsed(TimeUnit.MILLISECONDS) + " ms"); + System.out.println("total time to scan: " + scanTimer.elapsed(TimeUnit.MILLISECONDS) + " ms"); System.out.println("total bytes: " + totalBytes + " bytes (" + StringUtils.humanReadableInt(totalBytes) + ")"); diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/compactions/MockStoreFileGenerator.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/compactions/MockStoreFileGenerator.java index cb97d27..25655fd 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/compactions/MockStoreFileGenerator.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/compactions/MockStoreFileGenerator.java @@ -23,6 +23,7 @@ import java.util.List; import java.util.Random; import com.google.common.base.Objects; + import org.apache.commons.lang.RandomStringUtils; import org.apache.hadoop.fs.Path; import org.apache.hadoop.hbase.regionserver.StoreFile; diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationSource.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationSource.java index 7461edb..67f9c57 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationSource.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationSource.java @@ -54,8 +54,6 @@ import org.junit.Test; import org.junit.experimental.categories.Category; import org.mockito.Mockito; -import static org.mockito.Mockito.mock; - @Category({ReplicationTests.class, MediumTests.class}) public class TestReplicationSource { @@ -142,7 +140,7 @@ public class TestReplicationSource { // completes } }; - replicationEndpoint.start(); + replicationEndpoint.startAsync(); ReplicationPeers mockPeers = Mockito.mock(ReplicationPeers.class); ReplicationPeer mockPeer = Mockito.mock(ReplicationPeer.class); Mockito.when(mockPeer.getPeerBandwidth()).thenReturn(0L); diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestRegionReplicaReplicationEndpointNoMaster.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestRegionReplicaReplicationEndpointNoMaster.java index ad5063a..860ccaa 100644 --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestRegionReplicaReplicationEndpointNoMaster.java +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestRegionReplicaReplicationEndpointNoMaster.java @@ -250,7 +250,7 @@ public class TestRegionReplicaReplicationEndpointNoMaster { when(context.getMetrics()).thenReturn(mock(MetricsSource.class)); replicator.init(context); - replicator.start(); + replicator.startAsync(); //load some data to primary HTU.loadNumericRows(table, f, 0, 1000); @@ -287,7 +287,7 @@ public class TestRegionReplicaReplicationEndpointNoMaster { when(context.getReplicationPeer()).thenReturn(mockPeer); replicator.init(context); - replicator.start(); + replicator.startAsync(); // test the filter for the RE, not actual replication WALEntryFilter filter = replicator.getWALEntryfilter(); diff --git a/hbase-thrift/pom.xml b/hbase-thrift/pom.xml index dcc8dc7..29e3190 100644 --- a/hbase-thrift/pom.xml +++ b/hbase-thrift/pom.xml @@ -233,10 +233,6 @@ commons-logging - commons-net - commons-net - - commons-cli commons-cli diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftUtilities.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftUtilities.java index 69015ab..eee8144 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftUtilities.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftUtilities.java @@ -26,7 +26,6 @@ import java.util.ArrayList; import java.util.List; import java.util.Map; -import org.apache.commons.collections.MapUtils; import org.apache.hadoop.hbase.HRegionInfo; import org.apache.hadoop.hbase.HRegionLocation; import org.apache.hadoop.hbase.ServerName; @@ -115,7 +114,7 @@ public class ThriftUtilities { if (in.isSetAuthorizations()) { out.setAuthorizations(new Authorizations(in.getAuthorizations().getLabels())); } - + if (!in.isSetColumns()) { return out; } @@ -230,7 +229,7 @@ public class ThriftUtilities { if (in.isSetAttributes()) { addAttributes(out,in.getAttributes()); } - + if (in.getCellVisibility() != null) { out.setCellVisibility(new CellVisibility(in.getCellVisibility().getExpression())); } @@ -424,7 +423,7 @@ public class ThriftUtilities { if (in.isSetAttributes()) { addAttributes(out,in.getAttributes()); } - + if (in.isSetAuthorizations()) { out.setAuthorizations(new Authorizations(in.getAuthorizations().getLabels())); } @@ -439,7 +438,7 @@ public class ThriftUtilities { if (in.isSetColFamTimeRangeMap()) { Map colFamTimeRangeMap = in.getColFamTimeRangeMap(); - if (MapUtils.isNotEmpty(colFamTimeRangeMap)) { + if (!colFamTimeRangeMap.isEmpty()) { for (Map.Entry entry : colFamTimeRangeMap.entrySet()) { out.setColumnFamilyTimeRange(Bytes.toBytes(entry.getKey()), entry.getValue().getMinStamp(), entry.getValue().getMaxStamp()); @@ -471,7 +470,7 @@ public class ThriftUtilities { if (in.isSetDurability()) { out.setDurability(durabilityFromThrift(in.getDurability())); } - + if(in.getCellVisibility() != null) { out.setCellVisibility(new CellVisibility(in.getCellVisibility().getExpression())); } @@ -492,7 +491,7 @@ public class ThriftUtilities { if (append.isSetDurability()) { out.setDurability(durabilityFromThrift(append.getDurability())); } - + if(append.getCellVisibility() != null) { out.setCellVisibility(new CellVisibility(append.getCellVisibility().getExpression())); } diff --git a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandler.java b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandler.java index c3f59f6..af35274 100644 --- a/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandler.java +++ b/hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift2/TestThriftHBaseServiceHandler.java @@ -19,7 +19,6 @@ package org.apache.hadoop.hbase.thrift2; import com.google.common.collect.Lists; -import org.apache.commons.collections.CollectionUtils; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.conf.Configuration; @@ -75,11 +74,8 @@ import org.junit.Before; import org.junit.BeforeClass; import org.junit.Rule; import org.junit.Test; -import org.junit.Rule; import org.junit.rules.TestName; import org.junit.experimental.categories.Category; -import org.junit.rules.TestName; - import java.io.IOException; import java.io.InterruptedIOException; import java.nio.ByteBuffer; @@ -827,7 +823,7 @@ public class TestThriftHBaseServiceHandler { int familyBCount = 0; for (TResult result : results) { List columnValues = result.getColumnValues(); - if (CollectionUtils.isNotEmpty(columnValues)) { + if (!columnValues.isEmpty()) { if (Bytes.equals(familyAname, columnValues.get(0).getFamily())) { familyACount++; } else if (Bytes.equals(familyBname, columnValues.get(0).getFamily())) { diff --git a/pom.xml b/pom.xml index dcfd848..ef76097 100644 --- a/pom.xml +++ b/pom.xml @@ -1229,7 +1229,7 @@ 3.0.4 ${compileSource} - 2.7.1 + 2.8.0 3.0.0-alpha2 - 1.3.1 - 1.9 + 1.4 - 2.4 + 2.5 2.6 1.2 2.2 - 3.1 3.3.6 3.2.2 - 4.5.2 - 4.4.4 - 3.1.2 - 12.0.1 + 4.5.3 + 4.4.6 + 3.2.1 + 15.0 2.23.2 5.5.23 - 2.2.2 - 9.3.8.v20160314 + 2.2.12 + 9.4.3.v20170317 9.2.19.v20160908 1.9.13 3.1.0 - 2.22.2 - 6.1.26 + 2.25.1 6.1.14 - 1.6.8 + 1.7.26 4.12 1.3 - 3.1.0-incubating + 3.2.0-incubating 1.2.17 - 1.10.8 + 1.10.19 - 2.5.0 + 2.6.1 0.5.0 thrift - 0.9.3 - 3.4.8 - 1.7.7 + 0.10.0 + 3.4.9 + 1.7.24 4.0.3 2.4.1 - 1.3.3 - 4.1.1.Final + 1.3.8 + 4.1.9.Final 3.6.2.Final - 2.1.2 - 1.0.8 - 2.11.6 + 2.1.11 + 1.0.18 + 2.12.2 1.46 1.0.0-RC2 1.0.0 - 2.11.0 + 2.12.0 2.4 1.8 @@ -1584,11 +1581,6 @@ - commons-collections - commons-collections - ${collections.version} - - org.apache.httpcomponents httpclient ${httpclient.version} @@ -1604,11 +1596,6 @@ ${commons-cli.version} - commons-codec - commons-codec - ${commons-codec.version} - - commons-io commons-io ${commons-io.version} @@ -1624,11 +1611,6 @@ ${commons-logging.version} - commons-net - commons-net - ${commons-net.version} - - org.apache.commons commons-math ${commons-math.version} -- 2.10.1 (Apple Git-78)