java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.contactcenterinsights.v1.Settings
All Implemented Interfaces:
SettingsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Settings extends com.google.protobuf.GeneratedMessage implements SettingsOrBuilder
 The CCAI Insights project wide settings.
 Use these settings to configure the behavior of Insights.
 View these settings with
 [`getsettings`](https://cloud.google.com/contact-center/insights/docs/reference/rest/v1/projects.locations/getSettings)
 and change the settings with
 [`updateSettings`](https://cloud.google.com/contact-center/insights/docs/reference/rest/v1/projects.locations/updateSettings).
 
Protobuf type google.cloud.contactcenterinsights.v1.Settings
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • UPDATE_TIME_FIELD_NUMBER

      public static final int UPDATE_TIME_FIELD_NUMBER
      See Also:
    • LANGUAGE_CODE_FIELD_NUMBER

      public static final int LANGUAGE_CODE_FIELD_NUMBER
      See Also:
    • CONVERSATION_TTL_FIELD_NUMBER

      public static final int CONVERSATION_TTL_FIELD_NUMBER
      See Also:
    • PUBSUB_NOTIFICATION_SETTINGS_FIELD_NUMBER

      public static final int PUBSUB_NOTIFICATION_SETTINGS_FIELD_NUMBER
      See Also:
    • ANALYSIS_CONFIG_FIELD_NUMBER

      public static final int ANALYSIS_CONFIG_FIELD_NUMBER
      See Also:
    • REDACTION_CONFIG_FIELD_NUMBER

      public static final int REDACTION_CONFIG_FIELD_NUMBER
      See Also:
    • SPEECH_CONFIG_FIELD_NUMBER

      public static final int SPEECH_CONFIG_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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];
      Specified by:
      getName in interface SettingsOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Immutable. The resource name of the settings resource.
       Format:
       projects/{project}/locations/{location}/settings
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getNameBytes in interface SettingsOrBuilder
      Returns:
      The bytes for name.
    • 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];
      Specified by:
      hasCreateTime in interface SettingsOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time at which the settings was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface SettingsOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time at which the settings was created.
       
      .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface SettingsOrBuilder
    • 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];
      Specified by:
      hasUpdateTime in interface SettingsOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.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];
      Specified by:
      getUpdateTime in interface SettingsOrBuilder
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      public com.google.protobuf.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];
      Specified by:
      getUpdateTimeOrBuilder in interface SettingsOrBuilder
    • 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;
      Specified by:
      getLanguageCode in interface SettingsOrBuilder
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      public com.google.protobuf.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;
      Specified by:
      getLanguageCodeBytes in interface SettingsOrBuilder
      Returns:
      The bytes for languageCode.
    • 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;
      Specified by:
      hasConversationTtl in interface SettingsOrBuilder
      Returns:
      Whether the conversationTtl field is set.
    • getConversationTtl

      public com.google.protobuf.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;
      Specified by:
      getConversationTtl in interface SettingsOrBuilder
      Returns:
      The conversationTtl.
    • getConversationTtlOrBuilder

      public com.google.protobuf.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;
      Specified by:
      getConversationTtlOrBuilder in interface SettingsOrBuilder
    • getPubsubNotificationSettingsCount

      public int getPubsubNotificationSettingsCount()
      Description copied from interface: SettingsOrBuilder
       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;
      Specified by:
      getPubsubNotificationSettingsCount in interface SettingsOrBuilder
    • containsPubsubNotificationSettings

      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;
      Specified by:
      containsPubsubNotificationSettings in interface SettingsOrBuilder
    • getPubsubNotificationSettings

      @Deprecated public Map<String,String> getPubsubNotificationSettings()
      Deprecated.
      Specified by:
      getPubsubNotificationSettings in interface SettingsOrBuilder
    • 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;
      Specified by:
      getPubsubNotificationSettingsMap in interface SettingsOrBuilder
    • getPubsubNotificationSettingsOrDefault

      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;
      Specified by:
      getPubsubNotificationSettingsOrDefault in interface SettingsOrBuilder
    • getPubsubNotificationSettingsOrThrow

      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;
      Specified by:
      getPubsubNotificationSettingsOrThrow in interface SettingsOrBuilder
    • hasAnalysisConfig

      public boolean hasAnalysisConfig()
       Default analysis settings.
       
      .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7;
      Specified by:
      hasAnalysisConfig in interface SettingsOrBuilder
      Returns:
      Whether the analysisConfig field is set.
    • getAnalysisConfig

      public Settings.AnalysisConfig getAnalysisConfig()
       Default analysis settings.
       
      .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7;
      Specified by:
      getAnalysisConfig in interface SettingsOrBuilder
      Returns:
      The analysisConfig.
    • getAnalysisConfigOrBuilder

      public Settings.AnalysisConfigOrBuilder getAnalysisConfigOrBuilder()
       Default analysis settings.
       
      .google.cloud.contactcenterinsights.v1.Settings.AnalysisConfig analysis_config = 7;
      Specified by:
      getAnalysisConfigOrBuilder in interface SettingsOrBuilder
    • 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;
      Specified by:
      hasRedactionConfig in interface SettingsOrBuilder
      Returns:
      Whether the redactionConfig field is set.
    • 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;
      Specified by:
      getRedactionConfig in interface SettingsOrBuilder
      Returns:
      The redactionConfig.
    • 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;
      Specified by:
      getRedactionConfigOrBuilder in interface SettingsOrBuilder
    • 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];
      Specified by:
      hasSpeechConfig in interface SettingsOrBuilder
      Returns:
      Whether the speechConfig field is set.
    • 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];
      Specified by:
      getSpeechConfig in interface SettingsOrBuilder
      Returns:
      The speechConfig.
    • 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];
      Specified by:
      getSpeechConfigOrBuilder in interface SettingsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Settings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Settings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Settings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Settings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Settings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Settings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Settings parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Settings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Settings parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Settings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Settings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Settings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Settings.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Settings.Builder newBuilder()
    • newBuilder

      public static Settings.Builder newBuilder(Settings prototype)
    • toBuilder

      public Settings.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Settings.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Settings getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Settings> parser()
    • getParserForType

      public com.google.protobuf.Parser<Settings> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Settings getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder