BatchingSettingsProto specifies a set of batching thresholds, each of
which acts as a trigger to send a batch of messages as a request. At least
one threshold must be positive nonzero.
Generated from protobuf message google.api.BatchingSettingsProto
| Methods |
| public __construct( $data = NULL) Constructor.
|
| public clearDelayThreshold() |
| public getDelayThreshold() The duration after which a batch should be sent, starting from the addition of the first message to that batch. Generated from protobuf field .google.protobuf.Duration delay_threshold = 3;
|
| public getElementCountLimit() The maximum number of elements collected in a batch that could be accepted by server. Generated from protobuf field int32 element_count_limit = 4;
|
| public getElementCountThreshold() The number of elements of a field collected into a batch which, if exceeded, causes the batch to be sent. Generated from protobuf field int32 element_count_threshold = 1;
|
| public getFlowControlByteLimit() The maximum size of data allowed by flow control. Generated from protobuf field int32 flow_control_byte_limit = 7;
|
| public getFlowControlElementLimit() The maximum number of elements allowed by flow control. Generated from protobuf field int32 flow_control_element_limit = 6;
|
| public getFlowControlLimitExceededBehavior() The behavior to take when the flow control limit is exceeded. Generated from protobuf field .google.api.FlowControlLimitExceededBehaviorProto flow_control_limit_exceeded_behavior = 8;
|
| public getRequestByteLimit() The maximum size of the request that could be accepted by server. Generated from protobuf field int32 request_byte_limit = 5;
|
| public 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. Generated from protobuf field int64 request_byte_threshold = 2;
|
| public hasDelayThreshold() |
| public setDelayThreshold( $var) The duration after which a batch should be sent, starting from the addition of the first message to that batch. Generated from protobuf field .google.protobuf.Duration delay_threshold = 3;
|
| public setElementCountLimit( $var) The maximum number of elements collected in a batch that could be accepted by server. Generated from protobuf field int32 element_count_limit = 4;
|
| public setElementCountThreshold( $var) The number of elements of a field collected into a batch which, if exceeded, causes the batch to be sent. Generated from protobuf field int32 element_count_threshold = 1;
|
| public setFlowControlByteLimit( $var) The maximum size of data allowed by flow control. Generated from protobuf field int32 flow_control_byte_limit = 7;
|
| public setFlowControlElementLimit( $var) The maximum number of elements allowed by flow control. Generated from protobuf field int32 flow_control_element_limit = 6;
|
| public setFlowControlLimitExceededBehavior( $var) The behavior to take when the flow control limit is exceeded. Generated from protobuf field .google.api.FlowControlLimitExceededBehaviorProto flow_control_limit_exceeded_behavior = 8;
|
| public setRequestByteLimit( $var) The maximum size of the request that could be accepted by server. Generated from protobuf field int32 request_byte_limit = 5;
|
| public setRequestByteThreshold( $var) 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. Generated from protobuf field int64 request_byte_threshold = 2;
|
| Properties |
| protected $delay_threshold = NULL The duration after which a batch should be sent, starting from the addition of the first message to that batch. Generated from protobuf field .google.protobuf.Duration delay_threshold = 3; |
| protected $element_count_limit = 0 The maximum number of elements collected in a batch that could be accepted by server. Generated from protobuf field int32 element_count_limit = 4; |
| protected $element_count_threshold = 0 The number of elements of a field collected into a batch which, if exceeded, causes the batch to be sent. Generated from protobuf field int32 element_count_threshold = 1; |
| protected $flow_control_byte_limit = 0 The maximum size of data allowed by flow control. Generated from protobuf field int32 flow_control_byte_limit = 7; |
| protected $flow_control_element_limit = 0 The maximum number of elements allowed by flow control. Generated from protobuf field int32 flow_control_element_limit = 6; |
| protected $flow_control_limit_exceeded_behavior = 0 The behavior to take when the flow control limit is exceeded. Generated from protobuf field .google.api.FlowControlLimitExceededBehaviorProto flow_control_limit_exceeded_behavior = 8; |
| protected $request_byte_limit = 0 The maximum size of the request that could be accepted by server. Generated from protobuf field int32 request_byte_limit = 5; |
| protected $request_byte_threshold = 0 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. Generated from protobuf field int64 request_byte_threshold = 2; |
| Methods |