Interface SafetySettingsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
SafetySettings, SafetySettings.Builder

@Generated public interface SafetySettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getDefaultBannedPhraseMatchStrategyValue

      int getDefaultBannedPhraseMatchStrategyValue()
       Optional. Default phrase match strategy for banned phrases.
       
      .google.cloud.dialogflow.cx.v3beta1.SafetySettings.PhraseMatchStrategy default_banned_phrase_match_strategy = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for defaultBannedPhraseMatchStrategy.
    • getDefaultBannedPhraseMatchStrategy

      SafetySettings.PhraseMatchStrategy getDefaultBannedPhraseMatchStrategy()
       Optional. Default phrase match strategy for banned phrases.
       
      .google.cloud.dialogflow.cx.v3beta1.SafetySettings.PhraseMatchStrategy default_banned_phrase_match_strategy = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The defaultBannedPhraseMatchStrategy.
    • getBannedPhrasesList

      List<SafetySettings.Phrase> getBannedPhrasesList()
       Banned phrases for generated text.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.SafetySettings.Phrase banned_phrases = 1;
    • getBannedPhrases

      SafetySettings.Phrase getBannedPhrases(int index)
       Banned phrases for generated text.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.SafetySettings.Phrase banned_phrases = 1;
    • getBannedPhrasesCount

      int getBannedPhrasesCount()
       Banned phrases for generated text.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.SafetySettings.Phrase banned_phrases = 1;
    • getBannedPhrasesOrBuilderList

      List<? extends SafetySettings.PhraseOrBuilder> getBannedPhrasesOrBuilderList()
       Banned phrases for generated text.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.SafetySettings.Phrase banned_phrases = 1;
    • getBannedPhrasesOrBuilder

      SafetySettings.PhraseOrBuilder getBannedPhrasesOrBuilder(int index)
       Banned phrases for generated text.
       
      repeated .google.cloud.dialogflow.cx.v3beta1.SafetySettings.Phrase banned_phrases = 1;
    • hasRaiSettings

      boolean hasRaiSettings()
       Optional. Settings for Responsible AI checks.
       
      .google.cloud.dialogflow.cx.v3beta1.SafetySettings.RaiSettings rai_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the raiSettings field is set.
    • getRaiSettings

      SafetySettings.RaiSettings getRaiSettings()
       Optional. Settings for Responsible AI checks.
       
      .google.cloud.dialogflow.cx.v3beta1.SafetySettings.RaiSettings rai_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The raiSettings.
    • getRaiSettingsOrBuilder

      SafetySettings.RaiSettingsOrBuilder getRaiSettingsOrBuilder()
       Optional. Settings for Responsible AI checks.
       
      .google.cloud.dialogflow.cx.v3beta1.SafetySettings.RaiSettings rai_settings = 2 [(.google.api.field_behavior) = OPTIONAL];
    • hasDefaultRaiSettings

      boolean hasDefaultRaiSettings()
       Optional. Immutable. Default RAI settings to be annotated on the agent, so
       that users will be able to restore their RAI configurations to the default
       settings. Read-only field for the API proto only.
       
      .google.cloud.dialogflow.cx.v3beta1.SafetySettings.RaiSettings default_rai_settings = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      Whether the defaultRaiSettings field is set.
    • getDefaultRaiSettings

      SafetySettings.RaiSettings getDefaultRaiSettings()
       Optional. Immutable. Default RAI settings to be annotated on the agent, so
       that users will be able to restore their RAI configurations to the default
       settings. Read-only field for the API proto only.
       
      .google.cloud.dialogflow.cx.v3beta1.SafetySettings.RaiSettings default_rai_settings = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The defaultRaiSettings.
    • getDefaultRaiSettingsOrBuilder

      SafetySettings.RaiSettingsOrBuilder getDefaultRaiSettingsOrBuilder()
       Optional. Immutable. Default RAI settings to be annotated on the agent, so
       that users will be able to restore their RAI configurations to the default
       settings. Read-only field for the API proto only.
       
      .google.cloud.dialogflow.cx.v3beta1.SafetySettings.RaiSettings default_rai_settings = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
    • hasPromptSecuritySettings

      boolean hasPromptSecuritySettings()
       Optional. Settings for prompt security checks.
       
      .google.cloud.dialogflow.cx.v3beta1.SafetySettings.PromptSecuritySettings prompt_security_settings = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the promptSecuritySettings field is set.
    • getPromptSecuritySettings

      SafetySettings.PromptSecuritySettings getPromptSecuritySettings()
       Optional. Settings for prompt security checks.
       
      .google.cloud.dialogflow.cx.v3beta1.SafetySettings.PromptSecuritySettings prompt_security_settings = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The promptSecuritySettings.
    • getPromptSecuritySettingsOrBuilder

      SafetySettings.PromptSecuritySettingsOrBuilder getPromptSecuritySettingsOrBuilder()
       Optional. Settings for prompt security checks.
       
      .google.cloud.dialogflow.cx.v3beta1.SafetySettings.PromptSecuritySettings prompt_security_settings = 8 [(.google.api.field_behavior) = OPTIONAL];