Interface Collections.ReplicaOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Collections.Replica,Collections.Replica.Builder
- Enclosing class:
Collections
public static interface Collections.ReplicaOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlonguint64 peer_id = 2;intuint32 shard_id = 1;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()uint32 shard_id = 1;- Returns:
- The shardId.
-
getPeerId
long getPeerId()uint64 peer_id = 2;- Returns:
- The peerId.
-