Interface DataStoreConnectionSignals.SafetySignalsOrBuilder (0.65.0)

public static interface DataStoreConnectionSignals.SafetySignalsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBannedPhraseMatch()

public abstract DataStoreConnectionSignals.SafetySignals.BannedPhraseMatch getBannedPhraseMatch()

Specifies banned phrase match subject.

.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.SafetySignals.BannedPhraseMatch banned_phrase_match = 2;

Returns
Type Description
DataStoreConnectionSignals.SafetySignals.BannedPhraseMatch

The bannedPhraseMatch.

getBannedPhraseMatchValue()

public abstract int getBannedPhraseMatchValue()

Specifies banned phrase match subject.

.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.SafetySignals.BannedPhraseMatch banned_phrase_match = 2;

Returns
Type Description
int

The enum numeric value on the wire for bannedPhraseMatch.

getDecision()

public abstract DataStoreConnectionSignals.SafetySignals.SafetyDecision getDecision()

Safety decision.

.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.SafetySignals.SafetyDecision decision = 1;

Returns
Type Description
DataStoreConnectionSignals.SafetySignals.SafetyDecision

The decision.

getDecisionValue()

public abstract int getDecisionValue()

Safety decision.

.google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.SafetySignals.SafetyDecision decision = 1;

Returns
Type Description
int

The enum numeric value on the wire for decision.

getMatchedBannedPhrase()

public abstract String getMatchedBannedPhrase()

The matched banned phrase if there was a match.

string matched_banned_phrase = 3;

Returns
Type Description
String

The matchedBannedPhrase.

getMatchedBannedPhraseBytes()

public abstract ByteString getMatchedBannedPhraseBytes()

The matched banned phrase if there was a match.

string matched_banned_phrase = 3;

Returns
Type Description
ByteString

The bytes for matchedBannedPhrase.