Class Settings.Builder (2.53.0)

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

The CCAI Insights project wide settings. Use these settings to configure the behavior of Insights. View these settings with getsettings and change the settings with updateSettings.

Protobuf type google.cloud.contactcenterinsights.v1.Settings

Implements

SettingsOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Settings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Settings.Builder
Overrides

build()

public Settings build()
Returns
Type Description
Settings

buildPartial()

public Settings buildPartial()
Returns
Type Description
Settings

clear()

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

clearAnalysisConfig()

public Settings.Builder clearAnalysisConfig()

Default analysis settings.

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

Returns
Type Description
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
Type Description
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
Type Description
Settings.Builder

clearField(Descriptors.FieldDescriptor field)

public Settings.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
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
Type Description
Settings.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Settings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Settings.Builder
Overrides

clearPubsubNotificationSettings()

public Settings.Builder clearPubsubNotificationSettings()
Returns
Type Description
Settings.Builder

clearRedactionConfig()

public Settings.Builder clearRedactionConfig()

Default DLP redaction resources to be applied while ingesting conversations. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.

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

Returns
Type Description
Settings.Builder

clearSpeechConfig()

public Settings.Builder clearSpeechConfig()

Optional. Default Speech-to-Text resources to use while ingesting audio files. Optional, CCAI Insights will create a default if not provided. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.

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

Returns
Type Description
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
Type Description
Settings.Builder

clone()

public Settings.Builder clone()
Returns
Type Description
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.
  • "ingest-conversations": Notify each time an IngestConversations LRO is complete.
  • "update-conversation": Notify each time a conversation is updated via UpdateConversation.
  • "upload-conversation": Notify when an UploadConversation LRO is complete.

    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
Name Description
key String
Returns
Type Description
boolean

getAnalysisConfig()

public Settings.AnalysisConfig getAnalysisConfig()

Default analysis settings.

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

Returns
Type Description
Settings.AnalysisConfig

The analysisConfig.

getAnalysisConfigBuilder()

public Settings.AnalysisConfig.Builder getAnalysisConfigBuilder()

Default analysis settings.

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

Returns
Type Description
Settings.AnalysisConfig.Builder

getAnalysisConfigOrBuilder()

public Settings.AnalysisConfigOrBuilder getAnalysisConfigOrBuilder()

Default analysis settings.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Settings getDefaultInstanceForType()
Returns
Type Description
Settings

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for languageCode.

getMutablePubsubNotificationSettings() (deprecated)

public Map<String,String> getMutablePubsubNotificationSettings()

Use alternate mutation accessors instead.

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

getPubsubNotificationSettings() (deprecated)

public Map<String,String> getPubsubNotificationSettings()
Returns
Type Description
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.
  • "ingest-conversations": Notify each time an IngestConversations LRO is complete.
  • "update-conversation": Notify each time a conversation is updated via UpdateConversation.
  • "upload-conversation": Notify when an UploadConversation LRO is complete.

    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
Type Description
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.
  • "ingest-conversations": Notify each time an IngestConversations LRO is complete.
  • "update-conversation": Notify each time a conversation is updated via UpdateConversation.
  • "upload-conversation": Notify when an UploadConversation LRO is complete.

    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
Type Description
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.
  • "ingest-conversations": Notify each time an IngestConversations LRO is complete.
  • "update-conversation": Notify each time a conversation is updated via UpdateConversation.
  • "upload-conversation": Notify when an UploadConversation LRO is complete.

    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
Name Description
key String
defaultValue String
Returns
Type Description
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.
  • "ingest-conversations": Notify each time an IngestConversations LRO is complete.
  • "update-conversation": Notify each time a conversation is updated via UpdateConversation.
  • "upload-conversation": Notify when an UploadConversation LRO is complete.

    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
Name Description
key String
Returns
Type Description
String

getRedactionConfig()

public RedactionConfig getRedactionConfig()

Default DLP redaction resources to be applied while ingesting conversations. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.

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

Returns
Type Description
RedactionConfig

The redactionConfig.

getRedactionConfigBuilder()

public RedactionConfig.Builder getRedactionConfigBuilder()

Default DLP redaction resources to be applied while ingesting conversations. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.

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

Returns
Type Description
RedactionConfig.Builder

getRedactionConfigOrBuilder()

public RedactionConfigOrBuilder getRedactionConfigOrBuilder()

Default DLP redaction resources to be applied while ingesting conversations. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.

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

Returns
Type Description
RedactionConfigOrBuilder

getSpeechConfig()

public SpeechConfig getSpeechConfig()

Optional. Default Speech-to-Text resources to use while ingesting audio files. Optional, CCAI Insights will create a default if not provided. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.

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

Returns
Type Description
SpeechConfig

The speechConfig.

getSpeechConfigBuilder()

public SpeechConfig.Builder getSpeechConfigBuilder()

Optional. Default Speech-to-Text resources to use while ingesting audio files. Optional, CCAI Insights will create a default if not provided. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.

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

Returns
Type Description
SpeechConfig.Builder

getSpeechConfigOrBuilder()

public SpeechConfigOrBuilder getSpeechConfigOrBuilder()

Optional. Default Speech-to-Text resources to use while ingesting audio files. Optional, CCAI Insights will create a default if not provided. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
TimestampOrBuilder

hasAnalysisConfig()

public boolean hasAnalysisConfig()

Default analysis settings.

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

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the createTime field is set.

hasRedactionConfig()

public boolean hasRedactionConfig()

Default DLP redaction resources to be applied while ingesting conversations. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.

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

Returns
Type Description
boolean

Whether the redactionConfig field is set.

hasSpeechConfig()

public boolean hasSpeechConfig()

Optional. Default Speech-to-Text resources to use while ingesting audio files. Optional, CCAI Insights will create a default if not provided. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.

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

Returns
Type Description
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
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value Settings.AnalysisConfig
Returns
Type Description
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
Name Description
value Duration
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
Settings.Builder

mergeFrom(Settings other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRedactionConfig(RedactionConfig value)

public Settings.Builder mergeRedactionConfig(RedactionConfig value)

Default DLP redaction resources to be applied while ingesting conversations. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.

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

Parameter
Name Description
value RedactionConfig
Returns
Type Description
Settings.Builder

mergeSpeechConfig(SpeechConfig value)

public Settings.Builder mergeSpeechConfig(SpeechConfig value)

Optional. Default Speech-to-Text resources to use while ingesting audio files. Optional, CCAI Insights will create a default if not provided. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.

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

Parameter
Name Description
value SpeechConfig
Returns
Type Description
Settings.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Settings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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.
  • "ingest-conversations": Notify each time an IngestConversations LRO is complete.
  • "update-conversation": Notify each time a conversation is updated via UpdateConversation.
  • "upload-conversation": Notify when an UploadConversation LRO is complete.

    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
Name Description
values Map<String,String>
Returns
Type Description
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.
  • "ingest-conversations": Notify each time an IngestConversations LRO is complete.
  • "update-conversation": Notify each time a conversation is updated via UpdateConversation.
  • "upload-conversation": Notify when an UploadConversation LRO is complete.

    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
Name Description
key String
value String
Returns
Type Description
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.
  • "ingest-conversations": Notify each time an IngestConversations LRO is complete.
  • "update-conversation": Notify each time a conversation is updated via UpdateConversation.
  • "upload-conversation": Notify when an UploadConversation LRO is complete.

    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
Name Description
key String
Returns
Type Description
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
Name Description
value Settings.AnalysisConfig
Returns
Type Description
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
Name Description
builderForValue Settings.AnalysisConfig.Builder
Returns
Type Description
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
Name Description
value Duration
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
Settings.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Settings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The languageCode to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for languageCode to set.

Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.

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

Parameter
Name Description
value RedactionConfig
Returns
Type Description
Settings.Builder

setRedactionConfig(RedactionConfig.Builder builderForValue)

public Settings.Builder setRedactionConfig(RedactionConfig.Builder builderForValue)

Default DLP redaction resources to be applied while ingesting conversations. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.

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

Parameter
Name Description
builderForValue RedactionConfig.Builder
Returns
Type Description
Settings.Builder

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

public Settings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Settings.Builder
Overrides

setSpeechConfig(SpeechConfig value)

public Settings.Builder setSpeechConfig(SpeechConfig value)

Optional. Default Speech-to-Text resources to use while ingesting audio files. Optional, CCAI Insights will create a default if not provided. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.

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

Parameter
Name Description
value SpeechConfig
Returns
Type Description
Settings.Builder

setSpeechConfig(SpeechConfig.Builder builderForValue)

public Settings.Builder setSpeechConfig(SpeechConfig.Builder builderForValue)

Optional. Default Speech-to-Text resources to use while ingesting audio files. Optional, CCAI Insights will create a default if not provided. This applies to conversations ingested from the UploadConversation and IngestConversations endpoints, including conversations coming from CCAI Platform.

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

Parameter
Name Description
builderForValue SpeechConfig.Builder
Returns
Type Description
Settings.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Settings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
Settings.Builder