Interface FlowControlRequestOrBuilder (1.12.2)

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
TypeDescription
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
TypeDescription
long

The allowedMessages.