Package io.zeebe.gateway.protocol
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getPartitionId()
the unique ID of this partitionGatewayOuterClass.Partition.PartitionBrokerRole
getRole()
the role of the broker for this partitionint
getRoleValue()
the role of the broker for this partition-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
GatewayOuterClass.Partition.PartitionBrokerRole getRole()
the role of the broker for this partition
.gateway_protocol.Partition.PartitionBrokerRole role = 2;
- Returns:
- The role.
-
-