Interface DataStoreConnectionSignals.SafetySignalsOrBuilder (0.52.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
TypeDescription
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
TypeDescription
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
TypeDescription
DataStoreConnectionSignals.SafetySignals.SafetyDecision

The decision.

getDecisionValue()

public abstract int getDecisionValue()

Safety decision.

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

Returns
TypeDescription
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
TypeDescription
String

The matchedBannedPhrase.

getMatchedBannedPhraseBytes()

public abstract ByteString getMatchedBannedPhraseBytes()

The matched banned phrase if there was a match.

string matched_banned_phrase = 3;

Returns
TypeDescription
ByteString

The bytes for matchedBannedPhrase.