Interface RemoveBroker.BrokerRemovalStateRecordProtoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RemoveBroker.BrokerRemovalStateRecordProto, RemoveBroker.BrokerRemovalStateRecordProto.Builder
Enclosing class:
RemoveBroker

public static interface RemoveBroker.BrokerRemovalStateRecordProtoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    V1-only: when only one broker could be removed at a time.
    int
    getBrokerIds(int index)
    V2+: supporting multiple-broker removal
    int
    V2+: supporting multiple-broker removal
    V2+: supporting multiple-broker removal
    exception serialized as Base64 string
    com.google.protobuf.ByteString
    exception serialized as Base64 string
    long
    int64 lastUpdateTime = 6;
    the state of the broker removal operation
    int
    the state of the broker removal operation
    boolean
    bool shouldShutDown = 7;
    long
    int64 startTime = 5;
    int
    Version to allow change in exception/state serialization if needed.

    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 Details

    • getVersion

      int getVersion()
       Version to allow change in exception/state serialization if needed.
       
      int32 version = 1;
      Returns:
      The version.
    • getBrokerId

      int getBrokerId()
       V1-only: when only one broker could be removed at a time.
       
      int32 brokerId = 2;
      Returns:
      The brokerId.
    • getBrokerIdsList

      List<Integer> getBrokerIdsList()
       V2+: supporting multiple-broker removal
       
      repeated int32 brokerIds = 8;
      Returns:
      A list containing the brokerIds.
    • getBrokerIdsCount

      int getBrokerIdsCount()
       V2+: supporting multiple-broker removal
       
      repeated int32 brokerIds = 8;
      Returns:
      The count of brokerIds.
    • getBrokerIds

      int getBrokerIds(int index)
       V2+: supporting multiple-broker removal
       
      repeated int32 brokerIds = 8;
      Parameters:
      index - The index of the element to return.
      Returns:
      The brokerIds at the given index.
    • getError

      String getError()
       exception serialized as Base64 string
       
      string error = 3;
      Returns:
      The error.
    • getErrorBytes

      com.google.protobuf.ByteString getErrorBytes()
       exception serialized as Base64 string
       
      string error = 3;
      Returns:
      The bytes for error.
    • getRemovalStateValue

      int getRemovalStateValue()
       the state of the broker removal operation
       
      .databalancer.RemovalState removal_state = 4;
      Returns:
      The enum numeric value on the wire for removalState.
    • getRemovalState

      RemoveBroker.RemovalState getRemovalState()
       the state of the broker removal operation
       
      .databalancer.RemovalState removal_state = 4;
      Returns:
      The removalState.
    • getStartTime

      long getStartTime()
      int64 startTime = 5;
      Returns:
      The startTime.
    • getLastUpdateTime

      long getLastUpdateTime()
      int64 lastUpdateTime = 6;
      Returns:
      The lastUpdateTime.
    • getShouldShutDown

      boolean getShouldShutDown()
      bool shouldShutDown = 7;
      Returns:
      The shouldShutDown.