Interface FlowControlRequestOrBuilder (1.14.0)

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.