Class ConversationLoggingSettings.Builder (0.9.0)

public static final class ConversationLoggingSettings.Builder extends GeneratedMessage.Builder<ConversationLoggingSettings.Builder> implements ConversationLoggingSettingsOrBuilder

Settings to describe the conversation logging behaviors for the app.

Protobuf type google.cloud.ces.v1beta.ConversationLoggingSettings

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ConversationLoggingSettings build()
Returns
Type Description
ConversationLoggingSettings

buildPartial()

public ConversationLoggingSettings buildPartial()
Returns
Type Description
ConversationLoggingSettings

clear()

public ConversationLoggingSettings.Builder clear()
Returns
Type Description
ConversationLoggingSettings.Builder
Overrides

clearDisableConversationLogging()

public ConversationLoggingSettings.Builder clearDisableConversationLogging()

Optional. Whether to disable conversation logging for the sessions.

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

Returns
Type Description
ConversationLoggingSettings.Builder

This builder for chaining.

clearRetentionWindow()

public ConversationLoggingSettings.Builder clearRetentionWindow()

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
ConversationLoggingSettings.Builder

getDefaultInstanceForType()

public ConversationLoggingSettings getDefaultInstanceForType()
Returns
Type Description
ConversationLoggingSettings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisableConversationLogging()

public boolean getDisableConversationLogging()

Optional. Whether to disable conversation logging for the sessions.

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

Returns
Type Description
boolean

The disableConversationLogging.

getRetentionWindow()

public 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
Duration

The retentionWindow.

getRetentionWindowBuilder()

public Duration.Builder getRetentionWindowBuilder()

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
Builder

getRetentionWindowOrBuilder()

public 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
DurationOrBuilder

hasRetentionWindow()

public 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
boolean

Whether the retentionWindow field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ConversationLoggingSettings other)

public ConversationLoggingSettings.Builder mergeFrom(ConversationLoggingSettings other)
Parameter
Name Description
other ConversationLoggingSettings
Returns
Type Description
ConversationLoggingSettings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConversationLoggingSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConversationLoggingSettings.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ConversationLoggingSettings.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ConversationLoggingSettings.Builder
Overrides

mergeRetentionWindow(Duration value)

public ConversationLoggingSettings.Builder mergeRetentionWindow(Duration value)

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];

Parameter
Name Description
value Duration
Returns
Type Description
ConversationLoggingSettings.Builder

setDisableConversationLogging(boolean value)

public ConversationLoggingSettings.Builder setDisableConversationLogging(boolean value)

Optional. Whether to disable conversation logging for the sessions.

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

Parameter
Name Description
value boolean

The disableConversationLogging to set.

Returns
Type Description
ConversationLoggingSettings.Builder

This builder for chaining.

setRetentionWindow(Duration value)

public ConversationLoggingSettings.Builder setRetentionWindow(Duration value)

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];

Parameter
Name Description
value Duration
Returns
Type Description
ConversationLoggingSettings.Builder

setRetentionWindow(Duration.Builder builderForValue)

public ConversationLoggingSettings.Builder setRetentionWindow(Duration.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ConversationLoggingSettings.Builder