Interface BatchingSettingsProtoOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
BatchingSettingsProto, BatchingSettingsProto.Builder

@Generated public interface BatchingSettingsProtoOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Details

    • getElementCountThreshold

      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 [json_name = "elementCountThreshold"];
      Returns:
      The elementCountThreshold.
    • getRequestByteThreshold

      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 [json_name = "requestByteThreshold"];
      Returns:
      The requestByteThreshold.
    • hasDelayThreshold

      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 [json_name = "delayThreshold"];
      Returns:
      Whether the delayThreshold field is set.
    • getDelayThreshold

      com.google.protobuf.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 [json_name = "delayThreshold"];
      Returns:
      The delayThreshold.
    • getElementCountLimit

      int getElementCountLimit()
       The maximum number of elements collected in a batch that could be accepted
       by server.
       
      int32 element_count_limit = 4 [json_name = "elementCountLimit"];
      Returns:
      The elementCountLimit.
    • getRequestByteLimit

      int getRequestByteLimit()
       The maximum size of the request that could be accepted by server.
       
      int32 request_byte_limit = 5 [json_name = "requestByteLimit"];
      Returns:
      The requestByteLimit.
    • getFlowControlElementLimit

      int getFlowControlElementLimit()
       The maximum number of elements allowed by flow control.
       
      int32 flow_control_element_limit = 6 [json_name = "flowControlElementLimit"];
      Returns:
      The flowControlElementLimit.
    • getFlowControlByteLimit

      int getFlowControlByteLimit()
       The maximum size of data allowed by flow control.
       
      int32 flow_control_byte_limit = 7 [json_name = "flowControlByteLimit"];
      Returns:
      The flowControlByteLimit.
    • getFlowControlLimitExceededBehaviorValue

      int getFlowControlLimitExceededBehaviorValue()
       The behavior to take when the flow control limit is exceeded.
       
      .google.api.FlowControlLimitExceededBehaviorProto flow_control_limit_exceeded_behavior = 8 [json_name = "flowControlLimitExceededBehavior"];
      Returns:
      The enum numeric value on the wire for flowControlLimitExceededBehavior.
    • getFlowControlLimitExceededBehavior

      FlowControlLimitExceededBehaviorProto getFlowControlLimitExceededBehavior()
       The behavior to take when the flow control limit is exceeded.
       
      .google.api.FlowControlLimitExceededBehaviorProto flow_control_limit_exceeded_behavior = 8 [json_name = "flowControlLimitExceededBehavior"];
      Returns:
      The flowControlLimitExceededBehavior.