Interface Collections.ShardTransferInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Collections.ShardTransferInfo,Collections.ShardTransferInfo.Builder
- Enclosing class:
Collections
public static interface Collections.ShardTransferInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getShardId
int getShardId()Local shard id
uint32 shard_id = 1;- Returns:
- The shardId.
-
getFrom
long getFrom()uint64 from = 2;- Returns:
- The from.
-
getTo
long getTo()uint64 to = 3;- Returns:
- The to.
-
getSync
boolean getSync()If `true` transfer is a synchronization of a replicas; If `false` transfer is a moving of a shard from one peer to another
bool sync = 4;- Returns:
- The sync.
-