Interface FlowControlRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    FlowControlRequest, FlowControlRequest.Builder

    public interface FlowControlRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getAllowedBytes()
      The number of byte tokens to grant.
      long getAllowedMessages()
      The number of message tokens to grant.
      • 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

      • getAllowedMessages

        long getAllowedMessages()
         The number of message tokens to grant. Must be greater than or equal to 0.
         
        int64 allowed_messages = 1;
        Returns:
        The allowedMessages.
      • getAllowedBytes

        long getAllowedBytes()
         The number of byte tokens to grant. Must be greater than or equal to 0.
         
        int64 allowed_bytes = 2;
        Returns:
        The allowedBytes.