Interface SettingsOrBuilder (2.9.0)

public interface SettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsPubsubNotificationSettings(String key)

public abstract 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 abstract Settings.AnalysisConfig getAnalysisConfig()

Default analysis settings.

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

Returns
TypeDescription
Settings.AnalysisConfig

The analysisConfig.

getAnalysisConfigOrBuilder()

public abstract Settings.AnalysisConfigOrBuilder getAnalysisConfigOrBuilder()

Default analysis settings.

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

Returns
TypeDescription
Settings.AnalysisConfigOrBuilder

getConversationTtl()

public abstract 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.

getConversationTtlOrBuilder()

public abstract 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 abstract 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.

getCreateTimeOrBuilder()

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

getLanguageCode()

public abstract 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 abstract 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.

getName()

public abstract 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 abstract 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()

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

getPubsubNotificationSettingsCount()

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

getUpdateTime()

public abstract 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.

getUpdateTimeOrBuilder()

public abstract 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 abstract 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 abstract 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 abstract 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.

hasUpdateTime()

public abstract 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.