# Class LogbackBatchingSettings (0.142.0-alpha)

0.142.0-alpha (latest) 0.140.0-alpha 0.137.0-alpha 0.136.0-alpha 0.134.0-alpha 0.133.0-alpha 0.132.21-alpha 0.131.17-alpha 0.130.30-alpha 0.129.10-alpha 0.128.0-alpha 0.127.16-alpha 0.126.0-alpha 0.125.3-alpha 0.124.0-alpha 0.123.12-alpha 0.122.9-alpha

    public class LogbackBatchingSettings

This class is used only to provide batch settings configuration in logback.xml since [com.google.api.gax.batching.BatchingSettings](https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.batching.BatchingSettings.html) cannot be used as is with logback configuration
described in <https://logback.qos.ch/manual/configuration.html>. All data members below are simply
copy of [com.google.api.gax.batching.BatchingSettings](https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.batching.BatchingSettings.html) class, so it could be used with
logback.xml.

## Inheritance

java.lang.Object \> LogbackBatchingSettings

## Inherited Members

[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) [Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) [Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

## Constructors

### LogbackBatchingSettings()

    public LogbackBatchingSettings()

## Methods

### build()

    public BatchingSettings build()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.batching.BatchingSettings.html` |   |

### setDelayThreshold(Long value)

    public void setDelayThreshold(Long value)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html` |

### setElementCountThreshold(Long value)

    public void setElementCountThreshold(Long value)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html` |

### setLimitExceededBehavior(FlowController.LimitExceededBehavior value)

    public void setLimitExceededBehavior(FlowController.LimitExceededBehavior value)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `https://docs.cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.batching.FlowController.LimitExceededBehavior.html` |

### setMaxOutstandingElementCount(Long value)

    public void setMaxOutstandingElementCount(Long value)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html` |

### setMaxOutstandingRequestBytes(Long value)

    public void setMaxOutstandingRequestBytes(Long value)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html` |

### setRequestByteThreshold(Long value)

    public void setRequestByteThreshold(Long value)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html` |