Interface GatewayOuterClass.PartitionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GatewayOuterClass.Partition,GatewayOuterClass.Partition.Builder
- Enclosing class:
- GatewayOuterClass
public static interface GatewayOuterClass.PartitionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionthe health of this partitionintthe health of this partitionintthe unique ID of this partitiongetRole()the role of the broker for this partitionintthe role of the broker for this partitionMethods 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
-
getPartitionId
int getPartitionId()the unique ID of this partition
int32 partitionId = 1;- Returns:
- The partitionId.
-
getRoleValue
int getRoleValue()the role of the broker for this partition
.gateway_protocol.Partition.PartitionBrokerRole role = 2;- Returns:
- The enum numeric value on the wire for role.
-
getRole
the role of the broker for this partition
.gateway_protocol.Partition.PartitionBrokerRole role = 2;- Returns:
- The role.
-
getHealthValue
int getHealthValue()the health of this partition
.gateway_protocol.Partition.PartitionBrokerHealth health = 3;- Returns:
- The enum numeric value on the wire for health.
-
getHealth
the health of this partition
.gateway_protocol.Partition.PartitionBrokerHealth health = 3;- Returns:
- The health.
-