Class Settings.Builder (2.34.0)

public static final class Settings.Builder extends GeneratedMessageV3.Builder<Settings.Builder> implements SettingsOrBuilder

The settings resource.

Protobuf type google.cloud.contactcenterinsights.v1.Settings

Implements

SettingsOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Settings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Settings.Builder
Overrides

build()

public Settings build()
Returns
TypeDescription
Settings

buildPartial()

public Settings buildPartial()
Returns
TypeDescription
Settings

clear()

public Settings.Builder clear()
Returns
TypeDescription
Settings.Builder
Overrides

clearAnalysisConfig()

public Settings.Builder clearAnalysisConfig()

Default analysis settings.

.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7;

Returns
TypeDescription
Settings.Builder

clearConversationTtl()

public Settings.Builder clearConversationTtl()

The default TTL for newly-created conversations. If a conversation has a specified expiration, that value will be used instead. Changing this value will not change the expiration of existing conversations. Conversations with no expire time persist until they are deleted.

.google.protobuf.Duration conversation_ttl = 5;

Returns
TypeDescription
Settings.Builder

clearCreateTime()

public Settings.Builder clearCreateTime()

Output only. The time at which the settings was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Settings.Builder

clearField(Descriptors.FieldDescriptor field)

public Settings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Settings.Builder
Overrides

clearLanguageCode()

public Settings.Builder clearLanguageCode()

A language code to be applied to each transcript segment unless the segment already specifies a language code. Language code defaults to "en-US" if it is neither specified on the segment nor here.

string language_code = 4;

Returns
TypeDescription
Settings.Builder

This builder for chaining.

clearName()

public Settings.Builder clearName()

Immutable. The resource name of the settings resource. Format: projects/{project}/locations/{location}/settings

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
Settings.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Settings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Settings.Builder
Overrides

clearPubsubNotificationSettings()

public Settings.Builder clearPubsubNotificationSettings()
Returns
TypeDescription
Settings.Builder

clearRedactionConfig()

public Settings.Builder clearRedactionConfig()

Default DLP redaction resources to be applied while ingesting conversations.

.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 10;

Returns
TypeDescription
Settings.Builder

clearSpeechConfig()

public Settings.Builder clearSpeechConfig()

Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided.

.google.cloud.contactcenterinsights.v1.SpeechConfig speech_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Settings.Builder

clearUpdateTime()

public Settings.Builder clearUpdateTime()

Output only. The time at which the settings were last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Settings.Builder

clone()

public Settings.Builder clone()
Returns
TypeDescription
Settings.Builder
Overrides

containsPubsubNotificationSettings(String key)

public boolean containsPubsubNotificationSettings(String key)

A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic.

Keys are notification triggers. Supported keys are:

  • "all-triggers": Notify each time any of the supported triggers occurs.
  • "create-analysis": Notify each time an analysis is created.
  • "create-conversation": Notify each time a conversation is created.
  • "export-insights-data": Notify each time an export is complete.
  • "update-conversation": Notify each time a conversation is updated via UpdateConversation.

    Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}

map<string, string> pubsub_notification_settings = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAnalysisConfig()

public Settings.AnalysisConfig getAnalysisConfig()

Default analysis settings.

.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7;

Returns
TypeDescription
Settings.AnalysisConfig

The analysisConfig.

getAnalysisConfigBuilder()

public Settings.AnalysisConfig.Builder getAnalysisConfigBuilder()

Default analysis settings.

.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7;

Returns
TypeDescription
Settings.AnalysisConfig.Builder

getAnalysisConfigOrBuilder()

public Settings.AnalysisConfigOrBuilder getAnalysisConfigOrBuilder()

Default analysis settings.

.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7;

Returns
TypeDescription
Settings.AnalysisConfigOrBuilder

getConversationTtl()

public Duration getConversationTtl()

The default TTL for newly-created conversations. If a conversation has a specified expiration, that value will be used instead. Changing this value will not change the expiration of existing conversations. Conversations with no expire time persist until they are deleted.

.google.protobuf.Duration conversation_ttl = 5;

Returns
TypeDescription
Duration

The conversationTtl.

getConversationTtlBuilder()

public Duration.Builder getConversationTtlBuilder()

The default TTL for newly-created conversations. If a conversation has a specified expiration, that value will be used instead. Changing this value will not change the expiration of existing conversations. Conversations with no expire time persist until they are deleted.

.google.protobuf.Duration conversation_ttl = 5;

Returns
TypeDescription
Builder

getConversationTtlOrBuilder()

public DurationOrBuilder getConversationTtlOrBuilder()

The default TTL for newly-created conversations. If a conversation has a specified expiration, that value will be used instead. Changing this value will not change the expiration of existing conversations. Conversations with no expire time persist until they are deleted.

.google.protobuf.Duration conversation_ttl = 5;

Returns
TypeDescription
DurationOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. The time at which the settings was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time at which the settings was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time at which the settings was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Settings getDefaultInstanceForType()
Returns
TypeDescription
Settings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLanguageCode()

public String getLanguageCode()

A language code to be applied to each transcript segment unless the segment already specifies a language code. Language code defaults to "en-US" if it is neither specified on the segment nor here.

string language_code = 4;

Returns
TypeDescription
String

The languageCode.

getLanguageCodeBytes()

public ByteString getLanguageCodeBytes()

A language code to be applied to each transcript segment unless the segment already specifies a language code. Language code defaults to "en-US" if it is neither specified on the segment nor here.

string language_code = 4;

Returns
TypeDescription
ByteString

The bytes for languageCode.

getMutablePubsubNotificationSettings() (deprecated)

public Map<String,String> getMutablePubsubNotificationSettings()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

Immutable. The resource name of the settings resource. Format: projects/{project}/locations/{location}/settings

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Immutable. The resource name of the settings resource. Format: projects/{project}/locations/{location}/settings

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for name.

getPubsubNotificationSettings() (deprecated)

public Map<String,String> getPubsubNotificationSettings()
Returns
TypeDescription
Map<String,String>

getPubsubNotificationSettingsCount()

public int getPubsubNotificationSettingsCount()

A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic.

Keys are notification triggers. Supported keys are:

  • "all-triggers": Notify each time any of the supported triggers occurs.
  • "create-analysis": Notify each time an analysis is created.
  • "create-conversation": Notify each time a conversation is created.
  • "export-insights-data": Notify each time an export is complete.
  • "update-conversation": Notify each time a conversation is updated via UpdateConversation.

    Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}

map<string, string> pubsub_notification_settings = 6;

Returns
TypeDescription
int

getPubsubNotificationSettingsMap()

public Map<String,String> getPubsubNotificationSettingsMap()

A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic.

Keys are notification triggers. Supported keys are:

  • "all-triggers": Notify each time any of the supported triggers occurs.
  • "create-analysis": Notify each time an analysis is created.
  • "create-conversation": Notify each time a conversation is created.
  • "export-insights-data": Notify each time an export is complete.
  • "update-conversation": Notify each time a conversation is updated via UpdateConversation.

    Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}

map<string, string> pubsub_notification_settings = 6;

Returns
TypeDescription
Map<String,String>

getPubsubNotificationSettingsOrDefault(String key, String defaultValue)

public String getPubsubNotificationSettingsOrDefault(String key, String defaultValue)

A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic.

Keys are notification triggers. Supported keys are:

  • "all-triggers": Notify each time any of the supported triggers occurs.
  • "create-analysis": Notify each time an analysis is created.
  • "create-conversation": Notify each time a conversation is created.
  • "export-insights-data": Notify each time an export is complete.
  • "update-conversation": Notify each time a conversation is updated via UpdateConversation.

    Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}

map<string, string> pubsub_notification_settings = 6;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getPubsubNotificationSettingsOrThrow(String key)

public String getPubsubNotificationSettingsOrThrow(String key)

A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic.

Keys are notification triggers. Supported keys are:

  • "all-triggers": Notify each time any of the supported triggers occurs.
  • "create-analysis": Notify each time an analysis is created.
  • "create-conversation": Notify each time a conversation is created.
  • "export-insights-data": Notify each time an export is complete.
  • "update-conversation": Notify each time a conversation is updated via UpdateConversation.

    Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}

map<string, string> pubsub_notification_settings = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getRedactionConfig()

public RedactionConfig getRedactionConfig()

Default DLP redaction resources to be applied while ingesting conversations.

.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 10;

Returns
TypeDescription
RedactionConfig

The redactionConfig.

getRedactionConfigBuilder()

public RedactionConfig.Builder getRedactionConfigBuilder()

Default DLP redaction resources to be applied while ingesting conversations.

.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 10;

Returns
TypeDescription
RedactionConfig.Builder

getRedactionConfigOrBuilder()

public RedactionConfigOrBuilder getRedactionConfigOrBuilder()

Default DLP redaction resources to be applied while ingesting conversations.

.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 10;

Returns
TypeDescription
RedactionConfigOrBuilder

getSpeechConfig()

public SpeechConfig getSpeechConfig()

Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided.

.google.cloud.contactcenterinsights.v1.SpeechConfig speech_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
SpeechConfig

The speechConfig.

getSpeechConfigBuilder()

public SpeechConfig.Builder getSpeechConfigBuilder()

Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided.

.google.cloud.contactcenterinsights.v1.SpeechConfig speech_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
SpeechConfig.Builder

getSpeechConfigOrBuilder()

public SpeechConfigOrBuilder getSpeechConfigOrBuilder()

Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided.

.google.cloud.contactcenterinsights.v1.SpeechConfig speech_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
SpeechConfigOrBuilder

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time at which the settings were last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. The time at which the settings were last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time at which the settings were last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasAnalysisConfig()

public boolean hasAnalysisConfig()

Default analysis settings.

.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7;

Returns
TypeDescription
boolean

Whether the analysisConfig field is set.

hasConversationTtl()

public boolean hasConversationTtl()

The default TTL for newly-created conversations. If a conversation has a specified expiration, that value will be used instead. Changing this value will not change the expiration of existing conversations. Conversations with no expire time persist until they are deleted.

.google.protobuf.Duration conversation_ttl = 5;

Returns
TypeDescription
boolean

Whether the conversationTtl field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. The time at which the settings was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasRedactionConfig()

public boolean hasRedactionConfig()

Default DLP redaction resources to be applied while ingesting conversations.

.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 10;

Returns
TypeDescription
boolean

Whether the redactionConfig field is set.

hasSpeechConfig()

public boolean hasSpeechConfig()

Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided.

.google.cloud.contactcenterinsights.v1.SpeechConfig speech_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the speechConfig field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The time at which the settings were last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAnalysisConfig(Settings.AnalysisConfig value)

public Settings.Builder mergeAnalysisConfig(Settings.AnalysisConfig value)

Default analysis settings.

.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7;

Parameter
NameDescription
valueSettings.AnalysisConfig
Returns
TypeDescription
Settings.Builder

mergeConversationTtl(Duration value)

public Settings.Builder mergeConversationTtl(Duration value)

The default TTL for newly-created conversations. If a conversation has a specified expiration, that value will be used instead. Changing this value will not change the expiration of existing conversations. Conversations with no expire time persist until they are deleted.

.google.protobuf.Duration conversation_ttl = 5;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
Settings.Builder

mergeCreateTime(Timestamp value)

public Settings.Builder mergeCreateTime(Timestamp value)

Output only. The time at which the settings was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Settings.Builder

mergeFrom(Settings other)

public Settings.Builder mergeFrom(Settings other)
Parameter
NameDescription
otherSettings
Returns
TypeDescription
Settings.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Settings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Settings.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Settings.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Settings.Builder
Overrides

mergeRedactionConfig(RedactionConfig value)

public Settings.Builder mergeRedactionConfig(RedactionConfig value)

Default DLP redaction resources to be applied while ingesting conversations.

.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 10;

Parameter
NameDescription
valueRedactionConfig
Returns
TypeDescription
Settings.Builder

mergeSpeechConfig(SpeechConfig value)

public Settings.Builder mergeSpeechConfig(SpeechConfig value)

Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided.

.google.cloud.contactcenterinsights.v1.SpeechConfig speech_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueSpeechConfig
Returns
TypeDescription
Settings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Settings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Settings.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Settings.Builder mergeUpdateTime(Timestamp value)

Output only. The time at which the settings were last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Settings.Builder

putAllPubsubNotificationSettings(Map<String,String> values)

public Settings.Builder putAllPubsubNotificationSettings(Map<String,String> values)

A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic.

Keys are notification triggers. Supported keys are:

  • "all-triggers": Notify each time any of the supported triggers occurs.
  • "create-analysis": Notify each time an analysis is created.
  • "create-conversation": Notify each time a conversation is created.
  • "export-insights-data": Notify each time an export is complete.
  • "update-conversation": Notify each time a conversation is updated via UpdateConversation.

    Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}

map<string, string> pubsub_notification_settings = 6;

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
Settings.Builder

putPubsubNotificationSettings(String key, String value)

public Settings.Builder putPubsubNotificationSettings(String key, String value)

A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic.

Keys are notification triggers. Supported keys are:

  • "all-triggers": Notify each time any of the supported triggers occurs.
  • "create-analysis": Notify each time an analysis is created.
  • "create-conversation": Notify each time a conversation is created.
  • "export-insights-data": Notify each time an export is complete.
  • "update-conversation": Notify each time a conversation is updated via UpdateConversation.

    Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}

map<string, string> pubsub_notification_settings = 6;

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
Settings.Builder

removePubsubNotificationSettings(String key)

public Settings.Builder removePubsubNotificationSettings(String key)

A map that maps a notification trigger to a Pub/Sub topic. Each time a specified trigger occurs, Insights will notify the corresponding Pub/Sub topic.

Keys are notification triggers. Supported keys are:

  • "all-triggers": Notify each time any of the supported triggers occurs.
  • "create-analysis": Notify each time an analysis is created.
  • "create-conversation": Notify each time a conversation is created.
  • "export-insights-data": Notify each time an export is complete.
  • "update-conversation": Notify each time a conversation is updated via UpdateConversation.

    Values are Pub/Sub topics. The format of each Pub/Sub topic is: projects/{project}/topics/{topic}

map<string, string> pubsub_notification_settings = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
Settings.Builder

setAnalysisConfig(Settings.AnalysisConfig value)

public Settings.Builder setAnalysisConfig(Settings.AnalysisConfig value)

Default analysis settings.

.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7;

Parameter
NameDescription
valueSettings.AnalysisConfig
Returns
TypeDescription
Settings.Builder

setAnalysisConfig(Settings.AnalysisConfig.Builder builderForValue)

public Settings.Builder setAnalysisConfig(Settings.AnalysisConfig.Builder builderForValue)

Default analysis settings.

.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7;

Parameter
NameDescription
builderForValueSettings.AnalysisConfig.Builder
Returns
TypeDescription
Settings.Builder

setConversationTtl(Duration value)

public Settings.Builder setConversationTtl(Duration value)

The default TTL for newly-created conversations. If a conversation has a specified expiration, that value will be used instead. Changing this value will not change the expiration of existing conversations. Conversations with no expire time persist until they are deleted.

.google.protobuf.Duration conversation_ttl = 5;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
Settings.Builder

setConversationTtl(Duration.Builder builderForValue)

public Settings.Builder setConversationTtl(Duration.Builder builderForValue)

The default TTL for newly-created conversations. If a conversation has a specified expiration, that value will be used instead. Changing this value will not change the expiration of existing conversations. Conversations with no expire time persist until they are deleted.

.google.protobuf.Duration conversation_ttl = 5;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Settings.Builder

setCreateTime(Timestamp value)

public Settings.Builder setCreateTime(Timestamp value)

Output only. The time at which the settings was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Settings.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Settings.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time at which the settings was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Settings.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Settings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Settings.Builder
Overrides

setLanguageCode(String value)

public Settings.Builder setLanguageCode(String value)

A language code to be applied to each transcript segment unless the segment already specifies a language code. Language code defaults to "en-US" if it is neither specified on the segment nor here.

string language_code = 4;

Parameter
NameDescription
valueString

The languageCode to set.

Returns
TypeDescription
Settings.Builder

This builder for chaining.

setLanguageCodeBytes(ByteString value)

public Settings.Builder setLanguageCodeBytes(ByteString value)

A language code to be applied to each transcript segment unless the segment already specifies a language code. Language code defaults to "en-US" if it is neither specified on the segment nor here.

string language_code = 4;

Parameter
NameDescription
valueByteString

The bytes for languageCode to set.

Returns
TypeDescription
Settings.Builder

This builder for chaining.

setName(String value)

public Settings.Builder setName(String value)

Immutable. The resource name of the settings resource. Format: projects/{project}/locations/{location}/settings

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Settings.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Settings.Builder setNameBytes(ByteString value)

Immutable. The resource name of the settings resource. Format: projects/{project}/locations/{location}/settings

string name = 1 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Settings.Builder

This builder for chaining.

setRedactionConfig(RedactionConfig value)

public Settings.Builder setRedactionConfig(RedactionConfig value)

Default DLP redaction resources to be applied while ingesting conversations.

.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 10;

Parameter
NameDescription
valueRedactionConfig
Returns
TypeDescription
Settings.Builder

setRedactionConfig(RedactionConfig.Builder builderForValue)

public Settings.Builder setRedactionConfig(RedactionConfig.Builder builderForValue)

Default DLP redaction resources to be applied while ingesting conversations.

.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 10;

Parameter
NameDescription
builderForValueRedactionConfig.Builder
Returns
TypeDescription
Settings.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Settings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Settings.Builder
Overrides

setSpeechConfig(SpeechConfig value)

public Settings.Builder setSpeechConfig(SpeechConfig value)

Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided.

.google.cloud.contactcenterinsights.v1.SpeechConfig speech_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueSpeechConfig
Returns
TypeDescription
Settings.Builder

setSpeechConfig(SpeechConfig.Builder builderForValue)

public Settings.Builder setSpeechConfig(SpeechConfig.Builder builderForValue)

Optional. Default Speech-to-Text resources to be used while ingesting audio files. Optional, CCAI Insights will create a default if not provided.

.google.cloud.contactcenterinsights.v1.SpeechConfig speech_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValueSpeechConfig.Builder
Returns
TypeDescription
Settings.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Settings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Settings.Builder
Overrides

setUpdateTime(Timestamp value)

public Settings.Builder setUpdateTime(Timestamp value)

Output only. The time at which the settings were last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Settings.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Settings.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. The time at which the settings were last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Settings.Builder