Interface SafetySettingsOrBuilder (0.65.0)

public interface SafetySettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBannedPhrases(int index)

public abstract SafetySettings.Phrase getBannedPhrases(int index)

Banned phrases for generated text.

repeated .google.cloud.dialogflow.cx.v3.SafetySettings.Phrase banned_phrases = 1;

Parameter
Name Description
index int
Returns
Type Description
SafetySettings.Phrase

getBannedPhrasesCount()

public abstract int getBannedPhrasesCount()

Banned phrases for generated text.

repeated .google.cloud.dialogflow.cx.v3.SafetySettings.Phrase banned_phrases = 1;

Returns
Type Description
int

getBannedPhrasesList()

public abstract List<SafetySettings.Phrase> getBannedPhrasesList()

Banned phrases for generated text.

repeated .google.cloud.dialogflow.cx.v3.SafetySettings.Phrase banned_phrases = 1;

Returns
Type Description
List<Phrase>

getBannedPhrasesOrBuilder(int index)

public abstract SafetySettings.PhraseOrBuilder getBannedPhrasesOrBuilder(int index)

Banned phrases for generated text.

repeated .google.cloud.dialogflow.cx.v3.SafetySettings.Phrase banned_phrases = 1;

Parameter
Name Description
index int
Returns
Type Description
SafetySettings.PhraseOrBuilder

getBannedPhrasesOrBuilderList()

public abstract List<? extends SafetySettings.PhraseOrBuilder> getBannedPhrasesOrBuilderList()

Banned phrases for generated text.

repeated .google.cloud.dialogflow.cx.v3.SafetySettings.Phrase banned_phrases = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3.SafetySettings.PhraseOrBuilder>