public final class Settings extends GeneratedMessageV3 implements SettingsOrBuilder
The settings resource.
Protobuf type google.cloud.contactcenterinsights.v1.Settings
Static Fields
public static final int ANALYSIS_CONFIG_FIELD_NUMBER
Field Value
public static final int CONVERSATION_TTL_FIELD_NUMBER
Field Value
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
public static final int LANGUAGE_CODE_FIELD_NUMBER
Field Value
public static final int NAME_FIELD_NUMBER
Field Value
public static final int PUBSUB_NOTIFICATION_SETTINGS_FIELD_NUMBER
Field Value
public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Static Methods
public static Settings getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static Settings.Builder newBuilder()
Returns
public static Settings.Builder newBuilder(Settings prototype)
Parameter
Returns
public static Settings parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Settings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Settings parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static Settings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Settings parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static Settings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Settings parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Settings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Settings parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Settings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Settings parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static Settings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<Settings> parser()
Returns
Methods
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
Returns
public boolean equals(Object obj)
Parameter
Returns
Overrides
public Settings.AnalysisConfig getAnalysisConfig()
Default analysis settings.
.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7;
Returns
public Settings.AnalysisConfigOrBuilder getAnalysisConfigOrBuilder()
Default analysis settings.
.google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7;
Returns
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.
|
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
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
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
public Settings getDefaultInstanceForType()
Returns
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.
|
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.
|
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.
|
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
public Parser<Settings> getParserForType()
Returns
Overrides
public Map<String,String> getPubsubNotificationSettings()
Returns
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
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
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
Returns
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
Returns
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
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
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.
|
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.
|
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.
|
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public Settings.Builder newBuilderForType()
Returns
protected Settings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public Settings.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions