Class DataStoreConnectionSignals.SafetySignals (0.58.0)

public static final class DataStoreConnectionSignals.SafetySignals extends GeneratedMessageV3 implements DataStoreConnectionSignals.SafetySignalsOrBuilder

Safety check results.

Protobuf type google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DataStoreConnectionSignals.SafetySignals

Static Fields

BANNED_PHRASE_MATCH_FIELD_NUMBER

public static final int BANNED_PHRASE_MATCH_FIELD_NUMBER
Field Value
Type Description
int

DECISION_FIELD_NUMBER

public static final int DECISION_FIELD_NUMBER
Field Value
Type Description
int

MATCHED_BANNED_PHRASE_FIELD_NUMBER

public static final int MATCHED_BANNED_PHRASE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataStoreConnectionSignals.SafetySignals getDefaultInstance()
Returns
Type Description
DataStoreConnectionSignals.SafetySignals

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DataStoreConnectionSignals.SafetySignals.Builder newBuilder()
Returns
Type Description
DataStoreConnectionSignals.SafetySignals.Builder

newBuilder(DataStoreConnectionSignals.SafetySignals prototype)

public static DataStoreConnectionSignals.SafetySignals.Builder newBuilder(DataStoreConnectionSignals.SafetySignals prototype)
Parameter
Name Description
prototype DataStoreConnectionSignals.SafetySignals
Returns
Type Description
DataStoreConnectionSignals.SafetySignals.Builder

parseDelimitedFrom(InputStream input)

public static DataStoreConnectionSignals.SafetySignals parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataStoreConnectionSignals.SafetySignals
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataStoreConnectionSignals.SafetySignals parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataStoreConnectionSignals.SafetySignals
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DataStoreConnectionSignals.SafetySignals parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DataStoreConnectionSignals.SafetySignals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataStoreConnectionSignals.SafetySignals parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataStoreConnectionSignals.SafetySignals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataStoreConnectionSignals.SafetySignals parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataStoreConnectionSignals.SafetySignals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataStoreConnectionSignals.SafetySignals parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataStoreConnectionSignals.SafetySignals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataStoreConnectionSignals.SafetySignals parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataStoreConnectionSignals.SafetySignals
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataStoreConnectionSignals.SafetySignals parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataStoreConnectionSignals.SafetySignals
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DataStoreConnectionSignals.SafetySignals parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataStoreConnectionSignals.SafetySignals
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataStoreConnectionSignals.SafetySignals parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataStoreConnectionSignals.SafetySignals
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DataStoreConnectionSignals.SafetySignals parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataStoreConnectionSignals.SafetySignals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataStoreConnectionSignals.SafetySignals parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataStoreConnectionSignals.SafetySignals
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DataStoreConnectionSignals.SafetySignals> parser()
Returns
Type Description
Parser<SafetySignals>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBannedPhraseMatch()

public DataStoreConnectionSignals.SafetySignals.BannedPhraseMatch getBannedPhraseMatch()

Specifies banned phrase match subject.

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

Returns
Type Description
DataStoreConnectionSignals.SafetySignals.BannedPhraseMatch

The bannedPhraseMatch.

getBannedPhraseMatchValue()

public int getBannedPhraseMatchValue()

Specifies banned phrase match subject.

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

Returns
Type Description
int

The enum numeric value on the wire for bannedPhraseMatch.

getDecision()

public DataStoreConnectionSignals.SafetySignals.SafetyDecision getDecision()

Safety decision.

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

Returns
Type Description
DataStoreConnectionSignals.SafetySignals.SafetyDecision

The decision.

getDecisionValue()

public int getDecisionValue()

Safety decision.

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

Returns
Type Description
int

The enum numeric value on the wire for decision.

getDefaultInstanceForType()

public DataStoreConnectionSignals.SafetySignals getDefaultInstanceForType()
Returns
Type Description
DataStoreConnectionSignals.SafetySignals

getMatchedBannedPhrase()

public String getMatchedBannedPhrase()

The matched banned phrase if there was a match.

string matched_banned_phrase = 3;

Returns
Type Description
String

The matchedBannedPhrase.

getMatchedBannedPhraseBytes()

public ByteString getMatchedBannedPhraseBytes()

The matched banned phrase if there was a match.

string matched_banned_phrase = 3;

Returns
Type Description
ByteString

The bytes for matchedBannedPhrase.

getParserForType()

public Parser<DataStoreConnectionSignals.SafetySignals> getParserForType()
Returns
Type Description
Parser<SafetySignals>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DataStoreConnectionSignals.SafetySignals.Builder newBuilderForType()
Returns
Type Description
DataStoreConnectionSignals.SafetySignals.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataStoreConnectionSignals.SafetySignals.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DataStoreConnectionSignals.SafetySignals.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DataStoreConnectionSignals.SafetySignals.Builder toBuilder()
Returns
Type Description
DataStoreConnectionSignals.SafetySignals.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException