Interface Collections.MoveShardOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Collections.MoveShard,Collections.MoveShard.Builder
- Enclosing class:
Collections
public static interface Collections.MoveShardOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlonguint64 from_peer_id = 2;intLocal shard idlonguint64 to_peer_id = 3;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.
-
getFromPeerId
long getFromPeerId()uint64 from_peer_id = 2;- Returns:
- The fromPeerId.
-
getToPeerId
long getToPeerId()uint64 to_peer_id = 3;- Returns:
- The toPeerId.
-