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