Interface FlowControlRequestOrBuilder (1.13.6)

public interface FlowControlRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowedBytes()

public abstract long getAllowedBytes()

The number of byte tokens to grant. Must be greater than or equal to 0.

int64 allowed_bytes = 2;

Returns
Type Description
long

The allowedBytes.

getAllowedMessages()

public abstract long getAllowedMessages()

The number of message tokens to grant. Must be greater than or equal to 0.

int64 allowed_messages = 1;

Returns
Type Description
long

The allowedMessages.