Interface BatchingSettingsProtoOrBuilder (2.72.0)

public interface BatchingSettingsProtoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDelayThreshold()

public abstract Duration getDelayThreshold()

The duration after which a batch should be sent, starting from the addition of the first message to that batch.

.google.protobuf.Duration delay_threshold = 3;

Returns
Type Description
Duration

The delayThreshold.

getDelayThresholdOrBuilder()

public abstract DurationOrBuilder getDelayThresholdOrBuilder()

The duration after which a batch should be sent, starting from the addition of the first message to that batch.

.google.protobuf.Duration delay_threshold = 3;

Returns
Type Description
DurationOrBuilder

getElementCountLimit()

public abstract int getElementCountLimit()

The maximum number of elements collected in a batch that could be accepted by server.

int32 element_count_limit = 4;

Returns
Type Description
int

The elementCountLimit.

getElementCountThreshold()

public abstract int getElementCountThreshold()

The number of elements of a field collected into a batch which, if exceeded, causes the batch to be sent.

int32 element_count_threshold = 1;

Returns
Type Description
int

The elementCountThreshold.

getFlowControlByteLimit()

public abstract int getFlowControlByteLimit()

The maximum size of data allowed by flow control.

int32 flow_control_byte_limit = 7;

Returns
Type Description
int

The flowControlByteLimit.

getFlowControlElementLimit()

public abstract int getFlowControlElementLimit()

The maximum number of elements allowed by flow control.

int32 flow_control_element_limit = 6;

Returns
Type Description
int

The flowControlElementLimit.

getFlowControlLimitExceededBehavior()

public abstract FlowControlLimitExceededBehaviorProto getFlowControlLimitExceededBehavior()

The behavior to take when the flow control limit is exceeded.

.google.api.FlowControlLimitExceededBehaviorProto flow_control_limit_exceeded_behavior = 8;

Returns
Type Description
FlowControlLimitExceededBehaviorProto

The flowControlLimitExceededBehavior.

getFlowControlLimitExceededBehaviorValue()

public abstract int getFlowControlLimitExceededBehaviorValue()

The behavior to take when the flow control limit is exceeded.

.google.api.FlowControlLimitExceededBehaviorProto flow_control_limit_exceeded_behavior = 8;

Returns
Type Description
int

The enum numeric value on the wire for flowControlLimitExceededBehavior.

getRequestByteLimit()

public abstract int getRequestByteLimit()

The maximum size of the request that could be accepted by server.

int32 request_byte_limit = 5;

Returns
Type Description
int

The requestByteLimit.

getRequestByteThreshold()

public abstract long getRequestByteThreshold()

The aggregated size of the batched field which, if exceeded, causes the batch to be sent. This size is computed by aggregating the sizes of the request field to be batched, not of the entire request message.

int64 request_byte_threshold = 2;

Returns
Type Description
long

The requestByteThreshold.

hasDelayThreshold()

public abstract boolean hasDelayThreshold()

The duration after which a batch should be sent, starting from the addition of the first message to that batch.

.google.protobuf.Duration delay_threshold = 3;

Returns
Type Description
boolean

Whether the delayThreshold field is set.