Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EDEFB200BA0 for ; Fri, 30 Sep 2016 02:30:35 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id EC868160AEB; Fri, 30 Sep 2016 00:30:35 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8156F160AEF for ; Fri, 30 Sep 2016 02:30:33 +0200 (CEST) Received: (qmail 50095 invoked by uid 500); 30 Sep 2016 00:30:31 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 48616 invoked by uid 99); 30 Sep 2016 00:30:30 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Sep 2016 00:30:30 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5FE87E08DD; Fri, 30 Sep 2016 00:30:30 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: stack@apache.org To: commits@hbase.apache.org Date: Fri, 30 Sep 2016 00:30:39 -0000 Message-Id: <1180fb289f204d1590eb117d0078ef14@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [10/29] hbase git commit: HBASE-16567 Upgrade to protobuf-3.1.x Regenerate all protos in this module with protoc3. Redo ByteStringer to use new pb3.1.0 unsafebytesutil instead of HBaseZeroCopyByteString archived-at: Fri, 30 Sep 2016 00:30:36 -0000 http://git-wip-us.apache.org/repos/asf/hbase/blob/b4a729ed/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/generated/ProcedureProtos.java ---------------------------------------------------------------------- diff --git a/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/generated/ProcedureProtos.java b/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/generated/ProcedureProtos.java index 58a6cf5..40e4611 100644 --- a/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/generated/ProcedureProtos.java +++ b/hbase-protocol-shaded/src/main/java/org/apache/hadoop/hbase/shaded/protobuf/generated/ProcedureProtos.java @@ -6,7 +6,13 @@ package org.apache.hadoop.hbase.shaded.protobuf.generated; public final class ProcedureProtos { private ProcedureProtos() {} public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); } /** * Protobuf enum {@code hbase.pb.ProcedureState} @@ -14,108 +20,118 @@ public final class ProcedureProtos { public enum ProcedureState implements com.google.protobuf.ProtocolMessageEnum { /** - * INITIALIZING = 1; - * *
      * Procedure in construction, not yet added to the executor
      * 
+ * + * INITIALIZING = 1; */ - INITIALIZING(0, 1), + INITIALIZING(1), /** - * RUNNABLE = 2; - * *
      * Procedure added to the executor, and ready to be executed
      * 
+ * + * RUNNABLE = 2; */ - RUNNABLE(1, 2), + RUNNABLE(2), /** - * WAITING = 3; - * *
      * The procedure is waiting on children to be completed
      * 
+ * + * WAITING = 3; */ - WAITING(2, 3), + WAITING(3), /** - * WAITING_TIMEOUT = 4; - * *
      * The procedure is waiting a timout or an external event
      * 
+ * + * WAITING_TIMEOUT = 4; */ - WAITING_TIMEOUT(3, 4), + WAITING_TIMEOUT(4), /** - * ROLLEDBACK = 5; - * *
      * The procedure failed and was rolledback
      * 
+ * + * ROLLEDBACK = 5; */ - ROLLEDBACK(4, 5), + ROLLEDBACK(5), /** - * FINISHED = 6; - * *
      * The procedure execution is completed. may need a rollback if failed.
      * 
+ * + * FINISHED = 6; */ - FINISHED(5, 6), + FINISHED(6), ; /** - * INITIALIZING = 1; - * *
      * Procedure in construction, not yet added to the executor
      * 
+ * + * INITIALIZING = 1; */ public static final int INITIALIZING_VALUE = 1; /** - * RUNNABLE = 2; - * *
      * Procedure added to the executor, and ready to be executed
      * 
+ * + * RUNNABLE = 2; */ public static final int RUNNABLE_VALUE = 2; /** - * WAITING = 3; - * *
      * The procedure is waiting on children to be completed
      * 
+ * + * WAITING = 3; */ public static final int WAITING_VALUE = 3; /** - * WAITING_TIMEOUT = 4; - * *
      * The procedure is waiting a timout or an external event
      * 
+ * + * WAITING_TIMEOUT = 4; */ public static final int WAITING_TIMEOUT_VALUE = 4; /** - * ROLLEDBACK = 5; - * *
      * The procedure failed and was rolledback
      * 
+ * + * ROLLEDBACK = 5; */ public static final int ROLLEDBACK_VALUE = 5; /** - * FINISHED = 6; - * *
      * The procedure execution is completed. may need a rollback if failed.
      * 
+ * + * FINISHED = 6; */ public static final int FINISHED_VALUE = 6; - public final int getNumber() { return value; } + public final int getNumber() { + return value; + } + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated public static ProcedureState valueOf(int value) { + return forNumber(value); + } + + public static ProcedureState forNumber(int value) { switch (value) { case 1: return INITIALIZING; case 2: return RUNNABLE; @@ -131,17 +147,17 @@ public final class ProcedureProtos { internalGetValueMap() { return internalValueMap; } - private static com.google.protobuf.Internal.EnumLiteMap - internalValueMap = + private static final com.google.protobuf.Internal.EnumLiteMap< + ProcedureState> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public ProcedureState findValueByNumber(int number) { - return ProcedureState.valueOf(number); + return ProcedureState.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - return getDescriptor().getValues().get(index); + return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { @@ -163,66 +179,62 @@ public final class ProcedureProtos { return VALUES[desc.getIndex()]; } - private final int index; private final int value; - private ProcedureState(int index, int value) { - this.index = index; + private ProcedureState(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:hbase.pb.ProcedureState) } - public interface ProcedureOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface ProcedureOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.Procedure) + com.google.protobuf.MessageOrBuilder { - // required string class_name = 1; /** - * required string class_name = 1; - * *
      * internal "static" state
      * 
+ * + * required string class_name = 1; */ boolean hasClassName(); /** - * required string class_name = 1; - * *
      * internal "static" state
      * 
+ * + * required string class_name = 1; */ java.lang.String getClassName(); /** - * required string class_name = 1; - * *
      * internal "static" state
      * 
+ * + * required string class_name = 1; */ com.google.protobuf.ByteString getClassNameBytes(); - // optional uint64 parent_id = 2; /** - * optional uint64 parent_id = 2; - * *
      * parent if not a root-procedure otherwise not set
      * 
+ * + * optional uint64 parent_id = 2; */ boolean hasParentId(); /** - * optional uint64 parent_id = 2; - * *
      * parent if not a root-procedure otherwise not set
      * 
+ * + * optional uint64 parent_id = 2; */ long getParentId(); - // required uint64 proc_id = 3; /** * required uint64 proc_id = 3; */ @@ -232,7 +244,6 @@ public final class ProcedureProtos { */ long getProcId(); - // required uint64 start_time = 4; /** * required uint64 start_time = 4; */ @@ -242,7 +253,6 @@ public final class ProcedureProtos { */ long getStartTime(); - // optional string owner = 5; /** * optional string owner = 5; */ @@ -257,51 +267,48 @@ public final class ProcedureProtos { com.google.protobuf.ByteString getOwnerBytes(); - // required .hbase.pb.ProcedureState state = 6; /** - * required .hbase.pb.ProcedureState state = 6; - * *
      * internal "runtime" state
      * 
+ * + * required .hbase.pb.ProcedureState state = 6; */ boolean hasState(); /** - * required .hbase.pb.ProcedureState state = 6; - * *
      * internal "runtime" state
      * 
+ * + * required .hbase.pb.ProcedureState state = 6; */ org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureState getState(); - // repeated uint32 stack_id = 7; /** - * repeated uint32 stack_id = 7; - * *
      * stack indices in case the procedure was running
      * 
+ * + * repeated uint32 stack_id = 7; */ java.util.List getStackIdList(); /** - * repeated uint32 stack_id = 7; - * *
      * stack indices in case the procedure was running
      * 
+ * + * repeated uint32 stack_id = 7; */ int getStackIdCount(); /** - * repeated uint32 stack_id = 7; - * *
      * stack indices in case the procedure was running
      * 
+ * + * repeated uint32 stack_id = 7; */ int getStackId(int index); - // required uint64 last_update = 8; /** * required uint64 last_update = 8; */ @@ -311,7 +318,6 @@ public final class ProcedureProtos { */ long getLastUpdate(); - // optional uint32 timeout = 9; /** * optional uint32 timeout = 9; */ @@ -321,87 +327,82 @@ public final class ProcedureProtos { */ int getTimeout(); - // optional .hbase.pb.ForeignExceptionMessage exception = 10; /** - * optional .hbase.pb.ForeignExceptionMessage exception = 10; - * *
      * user state/results
      * 
+ * + * optional .hbase.pb.ForeignExceptionMessage exception = 10; */ boolean hasException(); /** - * optional .hbase.pb.ForeignExceptionMessage exception = 10; - * *
      * user state/results
      * 
+ * + * optional .hbase.pb.ForeignExceptionMessage exception = 10; */ org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage getException(); /** - * optional .hbase.pb.ForeignExceptionMessage exception = 10; - * *
      * user state/results
      * 
+ * + * optional .hbase.pb.ForeignExceptionMessage exception = 10; */ org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessageOrBuilder getExceptionOrBuilder(); - // optional bytes result = 11; /** - * optional bytes result = 11; - * *
      * opaque (user) result structure
      * 
+ * + * optional bytes result = 11; */ boolean hasResult(); /** - * optional bytes result = 11; - * *
      * opaque (user) result structure
      * 
+ * + * optional bytes result = 11; */ com.google.protobuf.ByteString getResult(); - // optional bytes state_data = 12; /** - * optional bytes state_data = 12; - * *
      * opaque (user) procedure internal-state
      * 
+ * + * optional bytes state_data = 12; */ boolean hasStateData(); /** - * optional bytes state_data = 12; - * *
      * opaque (user) procedure internal-state
      * 
+ * + * optional bytes state_data = 12; */ com.google.protobuf.ByteString getStateData(); - // optional uint64 nonce_group = 13 [default = 0]; /** - * optional uint64 nonce_group = 13 [default = 0]; - * *
      * Nonce to prevent same procedure submit by multiple times
      * 
+ * + * optional uint64 nonce_group = 13 [default = 0]; */ boolean hasNonceGroup(); /** - * optional uint64 nonce_group = 13 [default = 0]; - * *
      * Nonce to prevent same procedure submit by multiple times
      * 
+ * + * optional uint64 nonce_group = 13 [default = 0]; */ long getNonceGroup(); - // optional uint64 nonce = 14 [default = 0]; /** * optional uint64 nonce = 14 [default = 0]; */ @@ -412,43 +413,47 @@ public final class ProcedureProtos { long getNonce(); } /** - * Protobuf type {@code hbase.pb.Procedure} - * *
    **
    * Procedure metadata, serialized by the ProcedureStore to be able to recover the old state.
    * 
+ * + * Protobuf type {@code hbase.pb.Procedure} */ - public static final class Procedure extends - com.google.protobuf.GeneratedMessage - implements ProcedureOrBuilder { + public static final class Procedure extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:hbase.pb.Procedure) + ProcedureOrBuilder { // Use Procedure.newBuilder() to construct. - private Procedure(com.google.protobuf.GeneratedMessage.Builder builder) { + private Procedure(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private Procedure(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final Procedure defaultInstance; - public static Procedure getDefaultInstance() { - return defaultInstance; } - - public Procedure getDefaultInstanceForType() { - return defaultInstance; + private Procedure() { + className_ = ""; + parentId_ = 0L; + procId_ = 0L; + startTime_ = 0L; + owner_ = ""; + state_ = 1; + stackId_ = java.util.Collections.emptyList(); + lastUpdate_ = 0L; + timeout_ = 0; + result_ = com.google.protobuf.ByteString.EMPTY; + stateData_ = com.google.protobuf.ByteString.EMPTY; + nonceGroup_ = 0L; + nonce_ = 0L; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private Procedure( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -468,8 +473,9 @@ public final class ProcedureProtos { break; } case 10: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; - className_ = input.readBytes(); + className_ = bs; break; } case 16: { @@ -488,8 +494,9 @@ public final class ProcedureProtos { break; } case 42: { + com.google.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; - owner_ = input.readBytes(); + owner_ = bs; break; } case 48: { @@ -499,7 +506,7 @@ public final class ProcedureProtos { unknownFields.mergeVarintField(6, rawValue); } else { bitField0_ |= 0x00000020; - state_ = value; + state_ = rawValue; } break; } @@ -573,7 +580,7 @@ public final class ProcedureProtos { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { stackId_ = java.util.Collections.unmodifiableList(stackId_); @@ -587,48 +594,32 @@ public final class ProcedureProtos { return org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.internal_static_hbase_pb_Procedure_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.internal_static_hbase_pb_Procedure_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure.class, org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure.Builder.class); } - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public Procedure parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Procedure(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - private int bitField0_; - // required string class_name = 1; public static final int CLASS_NAME_FIELD_NUMBER = 1; - private java.lang.Object className_; + private volatile java.lang.Object className_; /** - * required string class_name = 1; - * *
      * internal "static" state
      * 
+ * + * required string class_name = 1; */ public boolean hasClassName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required string class_name = 1; - * *
      * internal "static" state
      * 
+ * + * required string class_name = 1; */ public java.lang.String getClassName() { java.lang.Object ref = className_; @@ -645,11 +636,11 @@ public final class ProcedureProtos { } } /** - * required string class_name = 1; - * *
      * internal "static" state
      * 
+ * + * required string class_name = 1; */ public com.google.protobuf.ByteString getClassNameBytes() { @@ -665,31 +656,29 @@ public final class ProcedureProtos { } } - // optional uint64 parent_id = 2; public static final int PARENT_ID_FIELD_NUMBER = 2; private long parentId_; /** - * optional uint64 parent_id = 2; - * *
      * parent if not a root-procedure otherwise not set
      * 
+ * + * optional uint64 parent_id = 2; */ public boolean hasParentId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * optional uint64 parent_id = 2; - * *
      * parent if not a root-procedure otherwise not set
      * 
+ * + * optional uint64 parent_id = 2; */ public long getParentId() { return parentId_; } - // required uint64 proc_id = 3; public static final int PROC_ID_FIELD_NUMBER = 3; private long procId_; /** @@ -705,7 +694,6 @@ public final class ProcedureProtos { return procId_; } - // required uint64 start_time = 4; public static final int START_TIME_FIELD_NUMBER = 4; private long startTime_; /** @@ -721,9 +709,8 @@ public final class ProcedureProtos { return startTime_; } - // optional string owner = 5; public static final int OWNER_FIELD_NUMBER = 5; - private java.lang.Object owner_; + private volatile java.lang.Object owner_; /** * optional string owner = 5; */ @@ -764,66 +751,64 @@ public final class ProcedureProtos { } } - // required .hbase.pb.ProcedureState state = 6; public static final int STATE_FIELD_NUMBER = 6; - private org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureState state_; + private int state_; /** - * required .hbase.pb.ProcedureState state = 6; - * *
      * internal "runtime" state
      * 
+ * + * required .hbase.pb.ProcedureState state = 6; */ public boolean hasState() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** - * required .hbase.pb.ProcedureState state = 6; - * *
      * internal "runtime" state
      * 
+ * + * required .hbase.pb.ProcedureState state = 6; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureState getState() { - return state_; + org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureState result = org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureState.valueOf(state_); + return result == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureState.INITIALIZING : result; } - // repeated uint32 stack_id = 7; public static final int STACK_ID_FIELD_NUMBER = 7; private java.util.List stackId_; /** - * repeated uint32 stack_id = 7; - * *
      * stack indices in case the procedure was running
      * 
+ * + * repeated uint32 stack_id = 7; */ public java.util.List getStackIdList() { return stackId_; } /** - * repeated uint32 stack_id = 7; - * *
      * stack indices in case the procedure was running
      * 
+ * + * repeated uint32 stack_id = 7; */ public int getStackIdCount() { return stackId_.size(); } /** - * repeated uint32 stack_id = 7; - * *
      * stack indices in case the procedure was running
      * 
+ * + * repeated uint32 stack_id = 7; */ public int getStackId(int index) { return stackId_.get(index); } - // required uint64 last_update = 8; public static final int LAST_UPDATE_FIELD_NUMBER = 8; private long lastUpdate_; /** @@ -839,7 +824,6 @@ public final class ProcedureProtos { return lastUpdate_; } - // optional uint32 timeout = 9; public static final int TIMEOUT_FIELD_NUMBER = 9; private int timeout_; /** @@ -855,113 +839,108 @@ public final class ProcedureProtos { return timeout_; } - // optional .hbase.pb.ForeignExceptionMessage exception = 10; public static final int EXCEPTION_FIELD_NUMBER = 10; private org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage exception_; /** - * optional .hbase.pb.ForeignExceptionMessage exception = 10; - * *
      * user state/results
      * 
+ * + * optional .hbase.pb.ForeignExceptionMessage exception = 10; */ public boolean hasException() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** - * optional .hbase.pb.ForeignExceptionMessage exception = 10; - * *
      * user state/results
      * 
+ * + * optional .hbase.pb.ForeignExceptionMessage exception = 10; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage getException() { - return exception_; + return exception_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.getDefaultInstance() : exception_; } /** - * optional .hbase.pb.ForeignExceptionMessage exception = 10; - * *
      * user state/results
      * 
+ * + * optional .hbase.pb.ForeignExceptionMessage exception = 10; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessageOrBuilder getExceptionOrBuilder() { - return exception_; + return exception_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.getDefaultInstance() : exception_; } - // optional bytes result = 11; public static final int RESULT_FIELD_NUMBER = 11; private com.google.protobuf.ByteString result_; /** - * optional bytes result = 11; - * *
      * opaque (user) result structure
      * 
+ * + * optional bytes result = 11; */ public boolean hasResult() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** - * optional bytes result = 11; - * *
      * opaque (user) result structure
      * 
+ * + * optional bytes result = 11; */ public com.google.protobuf.ByteString getResult() { return result_; } - // optional bytes state_data = 12; public static final int STATE_DATA_FIELD_NUMBER = 12; private com.google.protobuf.ByteString stateData_; /** - * optional bytes state_data = 12; - * *
      * opaque (user) procedure internal-state
      * 
+ * + * optional bytes state_data = 12; */ public boolean hasStateData() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** - * optional bytes state_data = 12; - * *
      * opaque (user) procedure internal-state
      * 
+ * + * optional bytes state_data = 12; */ public com.google.protobuf.ByteString getStateData() { return stateData_; } - // optional uint64 nonce_group = 13 [default = 0]; public static final int NONCE_GROUP_FIELD_NUMBER = 13; private long nonceGroup_; /** - * optional uint64 nonce_group = 13 [default = 0]; - * *
      * Nonce to prevent same procedure submit by multiple times
      * 
+ * + * optional uint64 nonce_group = 13 [default = 0]; */ public boolean hasNonceGroup() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** - * optional uint64 nonce_group = 13 [default = 0]; - * *
      * Nonce to prevent same procedure submit by multiple times
      * 
+ * + * optional uint64 nonce_group = 13 [default = 0]; */ public long getNonceGroup() { return nonceGroup_; } - // optional uint64 nonce = 14 [default = 0]; public static final int NONCE_FIELD_NUMBER = 14; private long nonce_; /** @@ -977,26 +956,11 @@ public final class ProcedureProtos { return nonce_; } - private void initFields() { - className_ = ""; - parentId_ = 0L; - procId_ = 0L; - startTime_ = 0L; - owner_ = ""; - state_ = org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureState.INITIALIZING; - stackId_ = java.util.Collections.emptyList(); - lastUpdate_ = 0L; - timeout_ = 0; - exception_ = org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.getDefaultInstance(); - result_ = com.google.protobuf.ByteString.EMPTY; - stateData_ = com.google.protobuf.ByteString.EMPTY; - nonceGroup_ = 0L; - nonce_ = 0L; - } 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 (!hasClassName()) { memoizedIsInitialized = 0; @@ -1024,9 +988,8 @@ public final class ProcedureProtos { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeBytes(1, getClassNameBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, className_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt64(2, parentId_); @@ -1038,10 +1001,10 @@ public final class ProcedureProtos { output.writeUInt64(4, startTime_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { - output.writeBytes(5, getOwnerBytes()); + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, owner_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { - output.writeEnum(6, state_.getNumber()); + output.writeEnum(6, state_); } for (int i = 0; i < stackId_.size(); i++) { output.writeUInt32(7, stackId_.get(i)); @@ -1053,7 +1016,7 @@ public final class ProcedureProtos { output.writeUInt32(9, timeout_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { - output.writeMessage(10, exception_); + output.writeMessage(10, getException()); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeBytes(11, result_); @@ -1067,18 +1030,16 @@ public final class ProcedureProtos { if (((bitField0_ & 0x00001000) == 0x00001000)) { output.writeUInt64(14, nonce_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, getClassNameBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, className_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream @@ -1093,12 +1054,11 @@ public final class ProcedureProtos { .computeUInt64Size(4, startTime_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(5, getOwnerBytes()); + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, owner_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, state_.getNumber()); + .computeEnumSize(6, state_); } { int dataSize = 0; @@ -1119,7 +1079,7 @@ public final class ProcedureProtos { } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, exception_); + .computeMessageSize(10, getException()); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.google.protobuf.CodedOutputStream @@ -1137,19 +1097,13 @@ public final class ProcedureProtos { size += com.google.protobuf.CodedOutputStream .computeUInt64Size(14, nonce_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; @@ -1187,8 +1141,7 @@ public final class ProcedureProtos { } result = result && (hasState() == other.hasState()); if (hasState()) { - result = result && - (getState() == other.getState()); + result = result && state_ == other.state_; } result = result && getStackIdList() .equals(other.getStackIdList()); @@ -1227,12 +1180,10 @@ public final class ProcedureProtos { result = result && (getNonce() == other.getNonce()); } - result = result && - getUnknownFields().equals(other.getUnknownFields()); + result = result && unknownFields.equals(other.unknownFields); return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -1246,15 +1197,18 @@ public final class ProcedureProtos { } if (hasParentId()) { hash = (37 * hash) + PARENT_ID_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getParentId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getParentId()); } if (hasProcId()) { hash = (37 * hash) + PROC_ID_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getProcId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getProcId()); } if (hasStartTime()) { hash = (37 * hash) + START_TIME_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getStartTime()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getStartTime()); } if (hasOwner()) { hash = (37 * hash) + OWNER_FIELD_NUMBER; @@ -1262,7 +1216,7 @@ public final class ProcedureProtos { } if (hasState()) { hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + hashEnum(getState()); + hash = (53 * hash) + state_; } if (getStackIdCount() > 0) { hash = (37 * hash) + STACK_ID_FIELD_NUMBER; @@ -1270,7 +1224,8 @@ public final class ProcedureProtos { } if (hasLastUpdate()) { hash = (37 * hash) + LAST_UPDATE_FIELD_NUMBER; - hash = (53 * hash) + hashLong(getLastUpdate()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLastUpdate()); } if (hasTimeout()) { hash = (37 * hash) + TIMEOUT_FIELD_NUMBER; @@ -1290,13 +1245,15 @@ public final class ProcedureProtos { } 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(); + hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } @@ -1324,66 +1281,78 @@ public final class ProcedureProtos { } public static org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * Protobuf type {@code hbase.pb.Procedure} - * *
      **
      * Procedure metadata, serialized by the ProcedureStore to be able to recover the old state.
      * 
+ * + * Protobuf type {@code hbase.pb.Procedure} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.Procedure) + org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.internal_static_hbase_pb_Procedure_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.internal_static_hbase_pb_Procedure_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -1396,19 +1365,16 @@ public final class ProcedureProtos { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getExceptionFieldBuilder(); } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); className_ = ""; @@ -1421,7 +1387,7 @@ public final class ProcedureProtos { bitField0_ = (bitField0_ & ~0x00000008); owner_ = ""; bitField0_ = (bitField0_ & ~0x00000010); - state_ = org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureState.INITIALIZING; + state_ = 1; bitField0_ = (bitField0_ & ~0x00000020); stackId_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); @@ -1430,7 +1396,7 @@ public final class ProcedureProtos { timeout_ = 0; bitField0_ = (bitField0_ & ~0x00000100); if (exceptionBuilder_ == null) { - exception_ = org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.getDefaultInstance(); + exception_ = null; } else { exceptionBuilder_.clear(); } @@ -1446,10 +1412,6 @@ public final class ProcedureProtos { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.internal_static_hbase_pb_Procedure_descriptor; @@ -1537,6 +1499,32 @@ public final class ProcedureProtos { return result; } + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return (Builder) super.addRepeatedField(field, value); + } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure) { return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure)other); @@ -1601,29 +1589,25 @@ public final class ProcedureProtos { if (other.hasNonce()) { setNonce(other.getNonce()); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } public final boolean isInitialized() { if (!hasClassName()) { - return false; } if (!hasProcId()) { - return false; } if (!hasStartTime()) { - return false; } if (!hasState()) { - return false; } if (!hasLastUpdate()) { - return false; } return true; @@ -1638,7 +1622,7 @@ public final class ProcedureProtos { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -1648,42 +1632,44 @@ public final class ProcedureProtos { } private int bitField0_; - // required string class_name = 1; private java.lang.Object className_ = ""; /** - * required string class_name = 1; - * *
        * internal "static" state
        * 
+ * + * required string class_name = 1; */ public boolean hasClassName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** - * required string class_name = 1; - * *
        * internal "static" state
        * 
+ * + * required string class_name = 1; */ 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; } } /** - * required string class_name = 1; - * *
        * internal "static" state
        * 
+ * + * required string class_name = 1; */ public com.google.protobuf.ByteString getClassNameBytes() { @@ -1699,11 +1685,11 @@ public final class ProcedureProtos { } } /** - * required string class_name = 1; - * *
        * internal "static" state
        * 
+ * + * required string class_name = 1; */ public Builder setClassName( java.lang.String value) { @@ -1716,11 +1702,11 @@ public final class ProcedureProtos { return this; } /** - * required string class_name = 1; - * *
        * internal "static" state
        * 
+ * + * required string class_name = 1; */ public Builder clearClassName() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1729,11 +1715,11 @@ public final class ProcedureProtos { return this; } /** - * required string class_name = 1; - * *
        * internal "static" state
        * 
+ * + * required string class_name = 1; */ public Builder setClassNameBytes( com.google.protobuf.ByteString value) { @@ -1746,34 +1732,33 @@ public final class ProcedureProtos { return this; } - // optional uint64 parent_id = 2; private long parentId_ ; /** - * optional uint64 parent_id = 2; - * *
        * parent if not a root-procedure otherwise not set
        * 
+ * + * optional uint64 parent_id = 2; */ public boolean hasParentId() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** - * optional uint64 parent_id = 2; - * *
        * parent if not a root-procedure otherwise not set
        * 
+ * + * optional uint64 parent_id = 2; */ public long getParentId() { return parentId_; } /** - * optional uint64 parent_id = 2; - * *
        * parent if not a root-procedure otherwise not set
        * 
+ * + * optional uint64 parent_id = 2; */ public Builder setParentId(long value) { bitField0_ |= 0x00000002; @@ -1782,11 +1767,11 @@ public final class ProcedureProtos { return this; } /** - * optional uint64 parent_id = 2; - * *
        * parent if not a root-procedure otherwise not set
        * 
+ * + * optional uint64 parent_id = 2; */ public Builder clearParentId() { bitField0_ = (bitField0_ & ~0x00000002); @@ -1795,7 +1780,6 @@ public final class ProcedureProtos { return this; } - // required uint64 proc_id = 3; private long procId_ ; /** * required uint64 proc_id = 3; @@ -1828,7 +1812,6 @@ public final class ProcedureProtos { return this; } - // required uint64 start_time = 4; private long startTime_ ; /** * required uint64 start_time = 4; @@ -1861,7 +1844,6 @@ public final class ProcedureProtos { return this; } - // optional string owner = 5; private java.lang.Object owner_ = ""; /** * optional string owner = 5; @@ -1875,9 +1857,12 @@ public final class ProcedureProtos { 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; @@ -1935,59 +1920,58 @@ public final class ProcedureProtos { return this; } - // required .hbase.pb.ProcedureState state = 6; - private org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureState state_ = org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureState.INITIALIZING; + private int state_ = 1; /** - * required .hbase.pb.ProcedureState state = 6; - * *
        * internal "runtime" state
        * 
+ * + * required .hbase.pb.ProcedureState state = 6; */ public boolean hasState() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** - * required .hbase.pb.ProcedureState state = 6; - * *
        * internal "runtime" state
        * 
+ * + * required .hbase.pb.ProcedureState state = 6; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureState getState() { - return state_; + org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureState result = org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureState.valueOf(state_); + return result == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureState.INITIALIZING : result; } /** - * required .hbase.pb.ProcedureState state = 6; - * *
        * internal "runtime" state
        * 
+ * + * required .hbase.pb.ProcedureState state = 6; */ public Builder setState(org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureState value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; - state_ = value; + state_ = value.getNumber(); onChanged(); return this; } /** - * required .hbase.pb.ProcedureState state = 6; - * *
        * internal "runtime" state
        * 
+ * + * required .hbase.pb.ProcedureState state = 6; */ public Builder clearState() { bitField0_ = (bitField0_ & ~0x00000020); - state_ = org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.ProcedureState.INITIALIZING; + state_ = 1; onChanged(); return this; } - // repeated uint32 stack_id = 7; private java.util.List stackId_ = java.util.Collections.emptyList(); private void ensureStackIdIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { @@ -1996,42 +1980,42 @@ public final class ProcedureProtos { } } /** - * repeated uint32 stack_id = 7; - * *
        * stack indices in case the procedure was running
        * 
+ * + * repeated uint32 stack_id = 7; */ public java.util.List getStackIdList() { return java.util.Collections.unmodifiableList(stackId_); } /** - * repeated uint32 stack_id = 7; - * *
        * stack indices in case the procedure was running
        * 
+ * + * repeated uint32 stack_id = 7; */ public int getStackIdCount() { return stackId_.size(); } /** - * repeated uint32 stack_id = 7; - * *
        * stack indices in case the procedure was running
        * 
+ * + * repeated uint32 stack_id = 7; */ public int getStackId(int index) { return stackId_.get(index); } /** - * repeated uint32 stack_id = 7; - * *
        * stack indices in case the procedure was running
        * 
+ * + * repeated uint32 stack_id = 7; */ public Builder setStackId( int index, int value) { @@ -2041,11 +2025,11 @@ public final class ProcedureProtos { return this; } /** - * repeated uint32 stack_id = 7; - * *
        * stack indices in case the procedure was running
        * 
+ * + * repeated uint32 stack_id = 7; */ public Builder addStackId(int value) { ensureStackIdIsMutable(); @@ -2054,25 +2038,26 @@ public final class ProcedureProtos { return this; } /** - * repeated uint32 stack_id = 7; - * *
        * stack indices in case the procedure was running
        * 
+ * + * repeated uint32 stack_id = 7; */ public Builder addAllStackId( java.lang.Iterable values) { ensureStackIdIsMutable(); - super.addAll(values, stackId_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, stackId_); onChanged(); return this; } /** - * repeated uint32 stack_id = 7; - * *
        * stack indices in case the procedure was running
        * 
+ * + * repeated uint32 stack_id = 7; */ public Builder clearStackId() { stackId_ = java.util.Collections.emptyList(); @@ -2081,7 +2066,6 @@ public final class ProcedureProtos { return this; } - // required uint64 last_update = 8; private long lastUpdate_ ; /** * required uint64 last_update = 8; @@ -2114,7 +2098,6 @@ public final class ProcedureProtos { return this; } - // optional uint32 timeout = 9; private int timeout_ ; /** * optional uint32 timeout = 9; @@ -2147,40 +2130,39 @@ public final class ProcedureProtos { return this; } - // optional .hbase.pb.ForeignExceptionMessage exception = 10; - private org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage exception_ = org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.getDefaultInstance(); - private com.google.protobuf.SingleFieldBuilder< + private org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage exception_ = null; + private com.google.protobuf.SingleFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage, org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessageOrBuilder> exceptionBuilder_; /** - * optional .hbase.pb.ForeignExceptionMessage exception = 10; - * *
        * user state/results
        * 
+ * + * optional .hbase.pb.ForeignExceptionMessage exception = 10; */ public boolean hasException() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** - * optional .hbase.pb.ForeignExceptionMessage exception = 10; - * *
        * user state/results
        * 
+ * + * optional .hbase.pb.ForeignExceptionMessage exception = 10; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage getException() { if (exceptionBuilder_ == null) { - return exception_; + return exception_ == null ? org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.getDefaultInstance() : exception_; } else { return exceptionBuilder_.getMessage(); } } /** - * optional .hbase.pb.ForeignExceptionMessage exception = 10; - * *
        * user state/results
        * 
+ * + * optional .hbase.pb.ForeignExceptionMessage exception = 10; */ public Builder setException(org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage value) { if (exceptionBuilder_ == null) { @@ -2196,11 +2178,11 @@ public final class ProcedureProtos { return this; } /** - * optional .hbase.pb.ForeignExceptionMessage exception = 10; - * *
        * user state/results
        * 
+ * + * optional .hbase.pb.ForeignExceptionMessage exception = 10; */ public Builder setException( org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.Builder builderForValue) { @@ -2214,15 +2196,16 @@ public final class ProcedureProtos { return this; } /** - * optional .hbase.pb.ForeignExceptionMessage exception = 10; - * *
        * user state/results
        * 
+ * + * optional .hbase.pb.ForeignExceptionMessage exception = 10; */ public Builder mergeException(org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage value) { if (exceptionBuilder_ == null) { if (((bitField0_ & 0x00000200) == 0x00000200) && + exception_ != null && exception_ != org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.getDefaultInstance()) { exception_ = org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.newBuilder(exception_).mergeFrom(value).buildPartial(); @@ -2237,15 +2220,15 @@ public final class ProcedureProtos { return this; } /** - * optional .hbase.pb.ForeignExceptionMessage exception = 10; - * *
        * user state/results
        * 
+ * + * optional .hbase.pb.ForeignExceptionMessage exception = 10; */ public Builder clearException() { if (exceptionBuilder_ == null) { - exception_ = org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.getDefaultInstance(); + exception_ = null; onChanged(); } else { exceptionBuilder_.clear(); @@ -2254,11 +2237,11 @@ public final class ProcedureProtos { return this; } /** - * optional .hbase.pb.ForeignExceptionMessage exception = 10; - * *
        * user state/results
        * 
+ * + * optional .hbase.pb.ForeignExceptionMessage exception = 10; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.Builder getExceptionBuilder() { bitField0_ |= 0x00000200; @@ -2266,33 +2249,34 @@ public final class ProcedureProtos { return getExceptionFieldBuilder().getBuilder(); } /** - * optional .hbase.pb.ForeignExceptionMessage exception = 10; - * *
        * user state/results
        * 
+ * + * optional .hbase.pb.ForeignExceptionMessage exception = 10; */ public org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessageOrBuilder getExceptionOrBuilder() { if (exceptionBuilder_ != null) { return exceptionBuilder_.getMessageOrBuilder(); } else { - return exception_; + return exception_ == null ? + org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.getDefaultInstance() : exception_; } } /** - * optional .hbase.pb.ForeignExceptionMessage exception = 10; - * *
        * user state/results
        * 
+ * + * optional .hbase.pb.ForeignExceptionMessage exception = 10; */ - private com.google.protobuf.SingleFieldBuilder< + private com.google.protobuf.SingleFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage, org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessageOrBuilder> getExceptionFieldBuilder() { if (exceptionBuilder_ == null) { - exceptionBuilder_ = new com.google.protobuf.SingleFieldBuilder< + exceptionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage, org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessage.Builder, org.apache.hadoop.hbase.shaded.protobuf.generated.ErrorHandlingProtos.ForeignExceptionMessageOrBuilder>( - exception_, + getException(), getParentForChildren(), isClean()); exception_ = null; @@ -2300,34 +2284,33 @@ public final class ProcedureProtos { return exceptionBuilder_; } - // optional bytes result = 11; private com.google.protobuf.ByteString result_ = com.google.protobuf.ByteString.EMPTY; /** - * optional bytes result = 11; - * *
        * opaque (user) result structure
        * 
+ * + * optional bytes result = 11; */ public boolean hasResult() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** - * optional bytes result = 11; - * *
        * opaque (user) result structure
        * 
+ * + * optional bytes result = 11; */ public com.google.protobuf.ByteString getResult() { return result_; } /** - * optional bytes result = 11; - * *
        * opaque (user) result structure
        * 
+ * + * optional bytes result = 11; */ public Builder setResult(com.google.protobuf.ByteString value) { if (value == null) { @@ -2339,11 +2322,11 @@ public final class ProcedureProtos { return this; } /** - * optional bytes result = 11; - * *
        * opaque (user) result structure
        * 
+ * + * optional bytes result = 11; */ public Builder clearResult() { bitField0_ = (bitField0_ & ~0x00000400); @@ -2352,34 +2335,33 @@ public final class ProcedureProtos { return this; } - // optional bytes state_data = 12; private com.google.protobuf.ByteString stateData_ = com.google.protobuf.ByteString.EMPTY; /** - * optional bytes state_data = 12; - * *
        * opaque (user) procedure internal-state
        * 
+ * + * optional bytes state_data = 12; */ public boolean hasStateData() { return ((bitField0_ & 0x00000800) == 0x00000800); } /** - * optional bytes state_data = 12; - * *
        * opaque (user) procedure internal-state
        * 
+ * + * optional bytes state_data = 12; */ public com.google.protobuf.ByteString getStateData() { return stateData_; } /** - * optional bytes state_data = 12; - * *
        * opaque (user) procedure internal-state
        * 
+ * + * optional bytes state_data = 12; */ public Builder setStateData(com.google.protobuf.ByteString value) { if (value == null) { @@ -2391,11 +2373,11 @@ public final class ProcedureProtos { return this; } /** - * optional bytes state_data = 12; - * *
        * opaque (user) procedure internal-state
        * 
+ * + * optional bytes state_data = 12; */ public Builder clearStateData() { bitField0_ = (bitField0_ & ~0x00000800); @@ -2404,34 +2386,33 @@ public final class ProcedureProtos { return this; } - // optional uint64 nonce_group = 13 [default = 0]; private long nonceGroup_ ; /** - * optional uint64 nonce_group = 13 [default = 0]; - * *
        * Nonce to prevent same procedure submit by multiple times
        * 
+ * + * optional uint64 nonce_group = 13 [default = 0]; */ public boolean hasNonceGroup() { return ((bitField0_ & 0x00001000) == 0x00001000); } /** - * optional uint64 nonce_group = 13 [default = 0]; - * *
        * Nonce to prevent same procedure submit by multiple times
        * 
+ * + * optional uint64 nonce_group = 13 [default = 0]; */ public long getNonceGroup() { return nonceGroup_; } /** - * optional uint64 nonce_group = 13 [default = 0]; - * *
        * Nonce to prevent same procedure submit by multiple times
        * 
+ * + * optional uint64 nonce_group = 13 [default = 0]; */ public Builder setNonceGroup(long value) { bitField0_ |= 0x00001000; @@ -2440,11 +2421,11 @@ public final class ProcedureProtos { return this; } /** - * optional uint64 nonce_group = 13 [default = 0]; - * *
        * Nonce to prevent same procedure submit by multiple times
        * 
+ * + * optional uint64 nonce_group = 13 [default = 0]; */ public Builder clearNonceGroup() { bitField0_ = (bitField0_ & ~0x00001000); @@ -2453,7 +2434,6 @@ public final class ProcedureProtos { return this; } - // optional uint64 nonce = 14 [default = 0]; private long nonce_ ; /** * optional uint64 nonce = 14 [default = 0]; @@ -2485,22 +2465,59 @@ public final class ProcedureProtos { onChanged(); return this; } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:hbase.pb.Procedure) + } + + // @@protoc_insertion_point(class_scope:hbase.pb.Procedure) + private static final org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure(); + } + + public static org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + @java.lang.Deprecated public static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + public Procedure parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Procedure(input, extensionRegistry); + } + }; - // @@protoc_insertion_point(builder_scope:hbase.pb.Procedure) + public static com.google.protobuf.Parser parser() { + return PARSER; } - static { - defaultInstance = new Procedure(true); - defaultInstance.initFields(); + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + public org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.Procedure getDefaultInstanceForType() { + return DEFAULT_INSTANCE; } - // @@protoc_insertion_point(class_scope:hbase.pb.Procedure) } - public interface SequentialProcedureDataOrBuilder - extends com.google.protobuf.MessageOrBuilder { + public interface SequentialProcedureDataOrBuilder extends + // @@protoc_insertion_point(interface_extends:hbase.pb.SequentialProcedureData) + com.google.protobuf.MessageOrBuilder { - // required bool executed = 1; /** * required bool executed = 1; */ @@ -2511,43 +2528,35 @@ public final class ProcedureProtos { boolean getExecuted(); } /** - * Protobuf type {@code hbase.pb.SequentialProcedureData} - * *
    **
    * SequentialProcedure data
    * 
+ * + * Protobuf type {@code hbase.pb.SequentialProcedureData} */ - public static final class SequentialProcedureData extends - com.google.protobuf.GeneratedMessage - implements SequentialProcedureDataOrBuilder { + public static final class SequentialProcedureData extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:hbase.pb.SequentialProcedureData) + SequentialProcedureDataOrBuilder { // Use SequentialProcedureData.newBuilder() to construct. - private SequentialProcedureData(com.google.protobuf.GeneratedMessage.Builder builder) { + private SequentialProcedureData(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private SequentialProcedureData(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final SequentialProcedureData defaultInstance; - public static SequentialProcedureData getDefaultInstance() { - return defaultInstance; } - - public SequentialProcedureData getDefaultInstanceForType() { - return defaultInstance; + private SequentialProcedureData() { + executed_ = false; } - private final com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + getUnknownFields() { return this.unknownFields; } private SequentialProcedureData( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); + this(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); @@ -2577,7 +2586,7 @@ public final class ProcedureProtos { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); @@ -2588,30 +2597,14 @@ public final class ProcedureProtos { return org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.internal_static_hbase_pb_SequentialProcedureData_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.internal_static_hbase_pb_SequentialProcedureData_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.SequentialProcedureData.class, org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.SequentialProcedureData.Builder.class); } - public static com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - public SequentialProcedureData parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new SequentialProcedureData(input, extensionRegistry); - } - }; - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - private int bitField0_; - // required bool executed = 1; public static final int EXECUTED_FIELD_NUMBER = 1; private boolean executed_; /** @@ -2627,13 +2620,11 @@ public final class ProcedureProtos { return executed_; } - private void initFields() { - executed_ = false; - } 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 (!hasExecuted()) { memoizedIsInitialized = 0; @@ -2645,16 +2636,14 @@ public final class ProcedureProtos { public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBool(1, executed_); } - getUnknownFields().writeTo(output); + unknownFields.writeTo(output); } - private int memoizedSerializedSize = -1; public int getSerializedSize() { - int size = memoizedSerializedSize; + int size = memoizedSize; if (size != -1) return size; size = 0; @@ -2662,19 +2651,13 @@ public final class ProcedureProtos { size += com.google.protobuf.CodedOutputStream .computeBoolSize(1, executed_); } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; + size += unknownFields.getSerializedSize(); + memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; @@ -2690,12 +2673,10 @@ public final class ProcedureProtos { result = result && (getExecuted() == other.getExecuted()); } - result = result && - getUnknownFields().equals(other.getUnknownFields()); + result = result && unknownFields.equals(other.unknownFields); return result; } - private int memoizedHashCode = 0; @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { @@ -2705,9 +2686,10 @@ public final class ProcedureProtos { hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasExecuted()) { hash = (37 * hash) + EXECUTED_FIELD_NUMBER; - hash = (53 * hash) + hashBoolean(getExecuted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getExecuted()); } - hash = (29 * hash) + getUnknownFields().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } @@ -2735,66 +2717,78 @@ public final class ProcedureProtos { } public static org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.SequentialProcedureData parseFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.SequentialProcedureData parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.SequentialProcedureData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.SequentialProcedureData parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.SequentialProcedureData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return PARSER.parseFrom(input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } public static org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.SequentialProcedureData parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.SequentialProcedureData prototype) { - return newBuilder().mergeFrom(prototype); + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } - public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * Protobuf type {@code hbase.pb.SequentialProcedureData} - * *
      **
      * SequentialProcedure data
      * 
+ * + * Protobuf type {@code hbase.pb.SequentialProcedureData} */ public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder - implements org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.SequentialProcedureDataOrBuilder { + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:hbase.pb.SequentialProcedureData) + org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.SequentialProcedureDataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.internal_static_hbase_pb_SequentialProcedureData_descriptor; } - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.internal_static_hbase_pb_SequentialProcedureData_fieldAccessorTable .ensureFieldAccessorsInitialized( @@ -2807,18 +2801,15 @@ public final class ProcedureProtos { } private Builder( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { } } - private static Builder create() { - return new Builder(); - } - public Builder clear() { super.clear(); executed_ = false; @@ -2826,10 +2817,6 @@ public final class ProcedureProtos { return this; } - public Builder clone() { - return create().mergeFrom(buildPartial()); - } - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.internal_static_hbase_pb_SequentialProcedureData_descriptor; @@ -2860,6 +2847,32 @@ public final class ProcedureProtos { return result; } + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + Object value) { + return (Builder) super.addRepeatedField(field, value); + } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.SequentialProcedureData) { return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.SequentialProcedureData)other); @@ -2874,13 +2887,13 @@ public final class ProcedureProtos { if (other.hasExecuted()) { setExecuted(other.getExecuted()); } - this.mergeUnknownFields(other.getUnknownFields()); + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } public final boolean isInitialized() { if (!hasExecuted()) { - return false; } return true; @@ -2895,7 +2908,7 @@ public final class ProcedureProtos { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.ProcedureProtos.SequentialProcedureData) e.getUnfinishedMessage(); - throw e; + throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); @@ -2905,7 +2918,6 @@ public final class ProcedureProtos { } private int bitField0_; - // required bool executed = 1; private boolean executed_ ; /** * required bool executed = 1; @@ -2937,22 +2949,59 @@ public final class ProcedureProtos { onChanged(); return this; } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknow