Interface FlowControlRequestOrBuilder (1.7.0)

Stay organized with collections Save and categorize content based on your preferences.
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.