- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.10
- 2.2.7
public static final class Settings.Builder extends GeneratedMessageV3.Builder<Settings.Builder> implements SettingsOrBuilder
The settings resource.
Protobuf type google.cloud.contactcenterinsights.v1.Settings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Settings.BuilderImplements
SettingsOrBuilderStatic 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 |
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 |
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 |
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 |
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.
.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 10;
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 |
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 | |
---|---|
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 |
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()
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()
public Map<String,String> getPubsubNotificationSettings()
Use #getPubsubNotificationSettingsMap() instead.
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.
- "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 | |
---|---|
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.
- "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 | |
---|---|
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.
- "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 | |
---|---|
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.
- "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 | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getRedactionConfig()
public RedactionConfig getRedactionConfig()
Default DLP redaction resources to be applied while ingesting conversations.
.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.
.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.
.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 10;
Returns | |
---|---|
Type | Description |
RedactionConfigOrBuilder |
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.
.google.cloud.contactcenterinsights.v1.RedactionConfig redaction_config = 10;
Returns | |
---|---|
Type | Description |
boolean | Whether the redactionConfig 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 |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Settings.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Settings.Builder |
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 | |
---|---|
Name | Description |
value | RedactionConfig |
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 |
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.
- "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 | |
---|---|
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.
- "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 | |
---|---|
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.
- "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 | |
---|---|
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 |
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.
.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.
.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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final Settings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Settings.Builder |
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 |