Package io.dingodb.raft
Class Raft.PrepareMergeRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dingodb.raft.Raft.PrepareMergeRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Raft.PrepareMergeRequestOrBuilder,Serializable
- Enclosing class:
- Raft
public static final class Raft.PrepareMergeRequest
extends com.google.protobuf.GeneratedMessageV3
implements Raft.PrepareMergeRequestOrBuilder
Protobuf type
dingodb.pb.raft.PrepareMergeRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typedingodb.pb.raft.PrepareMergeRequestNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Raft.PrepareMergeRequeststatic final com.google.protobuf.Descriptors.DescriptorlonggetJobId()the merge job idlongleader/follower min applied log idcom.google.protobuf.Parser<Raft.PrepareMergeRequest>inttarget region epochtarget region epochlongtarget region idtarget region rangetarget region rangeinthashCode()booleantarget region epochbooleantarget region rangeprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(Raft.PrepareMergeRequest prototype) protected Raft.PrepareMergeRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Raft.PrepareMergeRequestparseDelimitedFrom(InputStream input) static Raft.PrepareMergeRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Raft.PrepareMergeRequestparseFrom(byte[] data) static Raft.PrepareMergeRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Raft.PrepareMergeRequestparseFrom(com.google.protobuf.ByteString data) static Raft.PrepareMergeRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Raft.PrepareMergeRequestparseFrom(com.google.protobuf.CodedInputStream input) static Raft.PrepareMergeRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Raft.PrepareMergeRequestparseFrom(InputStream input) static Raft.PrepareMergeRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Raft.PrepareMergeRequestparseFrom(ByteBuffer data) static Raft.PrepareMergeRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Raft.PrepareMergeRequest>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
JOB_ID_FIELD_NUMBER
public static final int JOB_ID_FIELD_NUMBER- See Also:
-
MIN_APPLIED_LOG_ID_FIELD_NUMBER
public static final int MIN_APPLIED_LOG_ID_FIELD_NUMBER- See Also:
-
TARGET_REGION_ID_FIELD_NUMBER
public static final int TARGET_REGION_ID_FIELD_NUMBER- See Also:
-
TARGET_REGION_EPOCH_FIELD_NUMBER
public static final int TARGET_REGION_EPOCH_FIELD_NUMBER- See Also:
-
TARGET_REGION_RANGE_FIELD_NUMBER
public static final int TARGET_REGION_RANGE_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getJobId
public long getJobId()the merge job id
int64 job_id = 1;- Specified by:
getJobIdin interfaceRaft.PrepareMergeRequestOrBuilder- Returns:
- The jobId.
-
getMinAppliedLogId
public long getMinAppliedLogId()leader/follower min applied log id
int64 min_applied_log_id = 2;- Specified by:
getMinAppliedLogIdin interfaceRaft.PrepareMergeRequestOrBuilder- Returns:
- The minAppliedLogId.
-
getTargetRegionId
public long getTargetRegionId()target region id
int64 target_region_id = 3;- Specified by:
getTargetRegionIdin interfaceRaft.PrepareMergeRequestOrBuilder- Returns:
- The targetRegionId.
-
hasTargetRegionEpoch
public boolean hasTargetRegionEpoch()target region epoch
.dingodb.pb.common.RegionEpoch target_region_epoch = 4;- Specified by:
hasTargetRegionEpochin interfaceRaft.PrepareMergeRequestOrBuilder- Returns:
- Whether the targetRegionEpoch field is set.
-
getTargetRegionEpoch
target region epoch
.dingodb.pb.common.RegionEpoch target_region_epoch = 4;- Specified by:
getTargetRegionEpochin interfaceRaft.PrepareMergeRequestOrBuilder- Returns:
- The targetRegionEpoch.
-
getTargetRegionEpochOrBuilder
target region epoch
.dingodb.pb.common.RegionEpoch target_region_epoch = 4;- Specified by:
getTargetRegionEpochOrBuilderin interfaceRaft.PrepareMergeRequestOrBuilder
-
hasTargetRegionRange
public boolean hasTargetRegionRange()target region range
.dingodb.pb.common.Range target_region_range = 5;- Specified by:
hasTargetRegionRangein interfaceRaft.PrepareMergeRequestOrBuilder- Returns:
- Whether the targetRegionRange field is set.
-
getTargetRegionRange
target region range
.dingodb.pb.common.Range target_region_range = 5;- Specified by:
getTargetRegionRangein interfaceRaft.PrepareMergeRequestOrBuilder- Returns:
- The targetRegionRange.
-
getTargetRegionRangeOrBuilder
target region range
.dingodb.pb.common.Range target_region_range = 5;- Specified by:
getTargetRegionRangeOrBuilderin interfaceRaft.PrepareMergeRequestOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Raft.PrepareMergeRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Raft.PrepareMergeRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Raft.PrepareMergeRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Raft.PrepareMergeRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Raft.PrepareMergeRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Raft.PrepareMergeRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Raft.PrepareMergeRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Raft.PrepareMergeRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Raft.PrepareMergeRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Raft.PrepareMergeRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Raft.PrepareMergeRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-