Interface Topology.PartitionStateOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Topology.PartitionState,Topology.PartitionState.Builder
- Enclosing class:
Topology
public static interface Topology.PartitionStateOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.topology_protocol.PartitionConfig config = 3;.topology_protocol.PartitionConfig config = 3;intint32 priority = 2;getState().topology_protocol.State state = 1;int.topology_protocol.State state = 1;boolean.topology_protocol.PartitionConfig config = 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
-
getStateValue
int getStateValue().topology_protocol.State state = 1;- Returns:
- The enum numeric value on the wire for state.
-
getState
Topology.State getState().topology_protocol.State state = 1;- Returns:
- The state.
-
getPriority
int getPriority()int32 priority = 2;- Returns:
- The priority.
-
hasConfig
boolean hasConfig().topology_protocol.PartitionConfig config = 3;- Returns:
- Whether the config field is set.
-
getConfig
Topology.PartitionConfig getConfig().topology_protocol.PartitionConfig config = 3;- Returns:
- The config.
-
getConfigOrBuilder
Topology.PartitionConfigOrBuilder getConfigOrBuilder().topology_protocol.PartitionConfig config = 3;
-