Interface GatewayOuterClass.PartitionOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getPartitionId()
      the unique ID of this partition
      GatewayOuterClass.Partition.PartitionBrokerRole getRole()
      the role of the broker for this partition
      int getRoleValue()
      the role of the broker for this partition
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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.