Interface BatchingSettingsProtoOrBuilder

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

@Generated public interface BatchingSettingsProtoOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.Duration
    The duration after which a batch should be sent, starting from the addition of the first message to that batch.
    com.google.protobuf.DurationOrBuilder
    The duration after which a batch should be sent, starting from the addition of the first message to that batch.
    int
    The maximum number of elements collected in a batch that could be accepted by server.
    int
    The number of elements of a field collected into a batch which, if exceeded, causes the batch to be sent.
    int
    The maximum size of data allowed by flow control.
    int
    The maximum number of elements allowed by flow control.
    The behavior to take when the flow control limit is exceeded.
    int
    The behavior to take when the flow control limit is exceeded.
    int
    The maximum size of the request that could be accepted by server.
    long
    The aggregated size of the batched field which, if exceeded, causes the batch to be sent.
    boolean
    The duration after which a batch should be sent, starting from the addition of the first message to that batch.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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;
      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;
      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;
      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;
      Returns:
      The delayThreshold.
    • getDelayThresholdOrBuilder

      com.google.protobuf.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;
    • getElementCountLimit

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

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

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

      int getFlowControlByteLimit()
       The maximum size of data allowed by flow control.
       
      int32 flow_control_byte_limit = 7;
      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;
      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;
      Returns:
      The flowControlLimitExceededBehavior.