Package io.dingodb.coordinator
Class Coordinator.StoreRegionCheck
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dingodb.coordinator.Coordinator.StoreRegionCheck
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Coordinator.StoreRegionCheckOrBuilder,Serializable
- Enclosing class:
- Coordinator
public static final class Coordinator.StoreRegionCheck
extends com.google.protobuf.GeneratedMessageV3
implements Coordinator.StoreRegionCheckOrBuilder
Protobuf type
dingodb.pb.coordinator.StoreRegionCheck- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typedingodb.pb.coordinator.StoreRegionCheckNested 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 intstatic final intstatic 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 TypeMethodDescriptionbooleanbooleancheck vector index if check_vector_index is true, check vector index status equal to is_hold_vector_index else ignore vector index statusbooleanbool check_vector_index_is_ready = 9;static Coordinator.StoreRegionCheckstatic final com.google.protobuf.Descriptors.Descriptorbooleanbool is_hold_vector_index = 8;booleanbool is_ready = 10;com.google.protobuf.Parser<Coordinator.StoreRegionCheck>getPeers(int index) repeated .dingodb.pb.common.Peer peers = 6;intrepeated .dingodb.pb.common.Peer peers = 6;repeated .dingodb.pb.common.Peer peers = 6;getPeersOrBuilder(int index) repeated .dingodb.pb.common.Peer peers = 6;List<? extends Common.PeerOrBuilder>repeated .dingodb.pb.common.Peer peers = 6;.dingodb.pb.common.RaftNodeState raft_node_status = 5;int.dingodb.pb.common.RaftNodeState raft_node_status = 5;getRange().dingodb.pb.common.Range range = 3;.dingodb.pb.common.Range range = 3;longint64 region_id = 2;intlongint64 store_id = 1;.dingodb.pb.common.StoreRegionState store_region_state = 4;int.dingodb.pb.common.StoreRegionState store_region_state = 4;longcheck if vector index version is equal to this valueinthashCode()booleanhasRange().dingodb.pb.common.Range range = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(Coordinator.StoreRegionCheck prototype) protected Coordinator.StoreRegionCheck.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Coordinator.StoreRegionCheckparseDelimitedFrom(InputStream input) static Coordinator.StoreRegionCheckparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Coordinator.StoreRegionCheckparseFrom(byte[] data) static Coordinator.StoreRegionCheckparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Coordinator.StoreRegionCheckparseFrom(com.google.protobuf.ByteString data) static Coordinator.StoreRegionCheckparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Coordinator.StoreRegionCheckparseFrom(com.google.protobuf.CodedInputStream input) static Coordinator.StoreRegionCheckparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Coordinator.StoreRegionCheckparseFrom(InputStream input) static Coordinator.StoreRegionCheckparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Coordinator.StoreRegionCheckparseFrom(ByteBuffer data) static Coordinator.StoreRegionCheckparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Coordinator.StoreRegionCheck>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
-
STORE_ID_FIELD_NUMBER
public static final int STORE_ID_FIELD_NUMBER- See Also:
-
REGION_ID_FIELD_NUMBER
public static final int REGION_ID_FIELD_NUMBER- See Also:
-
RANGE_FIELD_NUMBER
public static final int RANGE_FIELD_NUMBER- See Also:
-
STORE_REGION_STATE_FIELD_NUMBER
public static final int STORE_REGION_STATE_FIELD_NUMBER- See Also:
-
RAFT_NODE_STATUS_FIELD_NUMBER
public static final int RAFT_NODE_STATUS_FIELD_NUMBER- See Also:
-
PEERS_FIELD_NUMBER
public static final int PEERS_FIELD_NUMBER- See Also:
-
CHECK_VECTOR_INDEX_IS_HOLD_FIELD_NUMBER
public static final int CHECK_VECTOR_INDEX_IS_HOLD_FIELD_NUMBER- See Also:
-
IS_HOLD_VECTOR_INDEX_FIELD_NUMBER
public static final int IS_HOLD_VECTOR_INDEX_FIELD_NUMBER- See Also:
-
CHECK_VECTOR_INDEX_IS_READY_FIELD_NUMBER
public static final int CHECK_VECTOR_INDEX_IS_READY_FIELD_NUMBER- See Also:
-
IS_READY_FIELD_NUMBER
public static final int IS_READY_FIELD_NUMBER- See Also:
-
VECTOR_INDEX_VERSION_FIELD_NUMBER
public static final int VECTOR_INDEX_VERSION_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
-
getStoreId
public long getStoreId()int64 store_id = 1;- Specified by:
getStoreIdin interfaceCoordinator.StoreRegionCheckOrBuilder- Returns:
- The storeId.
-
getRegionId
public long getRegionId()int64 region_id = 2;- Specified by:
getRegionIdin interfaceCoordinator.StoreRegionCheckOrBuilder- Returns:
- The regionId.
-
hasRange
public boolean hasRange().dingodb.pb.common.Range range = 3;- Specified by:
hasRangein interfaceCoordinator.StoreRegionCheckOrBuilder- Returns:
- Whether the range field is set.
-
getRange
.dingodb.pb.common.Range range = 3;- Specified by:
getRangein interfaceCoordinator.StoreRegionCheckOrBuilder- Returns:
- The range.
-
getRangeOrBuilder
.dingodb.pb.common.Range range = 3;- Specified by:
getRangeOrBuilderin interfaceCoordinator.StoreRegionCheckOrBuilder
-
getStoreRegionStateValue
public int getStoreRegionStateValue().dingodb.pb.common.StoreRegionState store_region_state = 4;- Specified by:
getStoreRegionStateValuein interfaceCoordinator.StoreRegionCheckOrBuilder- Returns:
- The enum numeric value on the wire for storeRegionState.
-
getStoreRegionState
.dingodb.pb.common.StoreRegionState store_region_state = 4;- Specified by:
getStoreRegionStatein interfaceCoordinator.StoreRegionCheckOrBuilder- Returns:
- The storeRegionState.
-
getRaftNodeStatusValue
public int getRaftNodeStatusValue().dingodb.pb.common.RaftNodeState raft_node_status = 5;- Specified by:
getRaftNodeStatusValuein interfaceCoordinator.StoreRegionCheckOrBuilder- Returns:
- The enum numeric value on the wire for raftNodeStatus.
-
getRaftNodeStatus
.dingodb.pb.common.RaftNodeState raft_node_status = 5;- Specified by:
getRaftNodeStatusin interfaceCoordinator.StoreRegionCheckOrBuilder- Returns:
- The raftNodeStatus.
-
getPeersList
repeated .dingodb.pb.common.Peer peers = 6;- Specified by:
getPeersListin interfaceCoordinator.StoreRegionCheckOrBuilder
-
getPeersOrBuilderList
repeated .dingodb.pb.common.Peer peers = 6;- Specified by:
getPeersOrBuilderListin interfaceCoordinator.StoreRegionCheckOrBuilder
-
getPeersCount
public int getPeersCount()repeated .dingodb.pb.common.Peer peers = 6;- Specified by:
getPeersCountin interfaceCoordinator.StoreRegionCheckOrBuilder
-
getPeers
repeated .dingodb.pb.common.Peer peers = 6;- Specified by:
getPeersin interfaceCoordinator.StoreRegionCheckOrBuilder
-
getPeersOrBuilder
repeated .dingodb.pb.common.Peer peers = 6;- Specified by:
getPeersOrBuilderin interfaceCoordinator.StoreRegionCheckOrBuilder
-
getCheckVectorIndexIsHold
public boolean getCheckVectorIndexIsHold()check vector index if check_vector_index is true, check vector index status equal to is_hold_vector_index else ignore vector index status
bool check_vector_index_is_hold = 7;- Specified by:
getCheckVectorIndexIsHoldin interfaceCoordinator.StoreRegionCheckOrBuilder- Returns:
- The checkVectorIndexIsHold.
-
getIsHoldVectorIndex
public boolean getIsHoldVectorIndex()bool is_hold_vector_index = 8;- Specified by:
getIsHoldVectorIndexin interfaceCoordinator.StoreRegionCheckOrBuilder- Returns:
- The isHoldVectorIndex.
-
getCheckVectorIndexIsReady
public boolean getCheckVectorIndexIsReady()bool check_vector_index_is_ready = 9;- Specified by:
getCheckVectorIndexIsReadyin interfaceCoordinator.StoreRegionCheckOrBuilder- Returns:
- The checkVectorIndexIsReady.
-
getIsReady
public boolean getIsReady()bool is_ready = 10;- Specified by:
getIsReadyin interfaceCoordinator.StoreRegionCheckOrBuilder- Returns:
- The isReady.
-
getVectorIndexVersion
public long getVectorIndexVersion()check if vector index version is equal to this value
int64 vector_index_version = 11;- Specified by:
getVectorIndexVersionin interfaceCoordinator.StoreRegionCheckOrBuilder- Returns:
- The vectorIndexVersion.
-
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 Coordinator.StoreRegionCheck parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Coordinator.StoreRegionCheck parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Coordinator.StoreRegionCheck parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Coordinator.StoreRegionCheck parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Coordinator.StoreRegionCheck parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Coordinator.StoreRegionCheck parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Coordinator.StoreRegionCheck parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Coordinator.StoreRegionCheck parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Coordinator.StoreRegionCheck parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Coordinator.StoreRegionCheck 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
public static Coordinator.StoreRegionCheck.Builder newBuilder(Coordinator.StoreRegionCheck prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Coordinator.StoreRegionCheck.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
-