# Interface ConversationLoggingSettingsOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public interface ConversationLoggingSettingsOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getDisableConversationLogging()

    public abstract boolean getDisableConversationLogging()

Optional. Whether to disable conversation logging for the sessions.

`bool disable_conversation_logging = 1 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The disableConversationLogging. |

### getRetentionWindow()

    public abstract Duration getRetentionWindow()

Optional. Controls the retention window for the conversation.
If not set, the conversation will be retained for 365 days.

`.google.protobuf.Duration retention_window = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Duration.html` | The retentionWindow. |

### getRetentionWindowOrBuilder()

    public abstract DurationOrBuilder getRetentionWindowOrBuilder()

Optional. Controls the retention window for the conversation.
If not set, the conversation will be retained for 365 days.

`.google.protobuf.Duration retention_window = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.DurationOrBuilder.html` |   |

### hasRetentionWindow()

    public abstract boolean hasRetentionWindow()

Optional. Controls the retention window for the conversation.
If not set, the conversation will be retained for 365 days.

`.google.protobuf.Duration retention_window = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the retentionWindow field is set. |