public static final class ConversationLoggingSettings.Builder extends GeneratedMessage.Builder<ConversationLoggingSettings.Builder> implements ConversationLoggingSettingsOrBuilderSettings to describe the conversation logging behaviors for the app.
Protobuf type google.cloud.ces.v1beta.ConversationLoggingSettings
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ConversationLoggingSettings.BuilderImplements
ConversationLoggingSettingsOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ConversationLoggingSettings.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ConversationLoggingSettings.Builder |
|
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 |
booleanThe 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 |
|