public static final class DataStoreConnectionSignals.SafetySignals.Builder extends GeneratedMessage.Builder<DataStoreConnectionSignals.SafetySignals.Builder> implements DataStoreConnectionSignals.SafetySignalsOrBuilderSafety check results.
Protobuf type google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataStoreConnectionSignals.SafetySignals.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DataStoreConnectionSignals.SafetySignals build()| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionSignals.SafetySignals |
|
buildPartial()
public DataStoreConnectionSignals.SafetySignals buildPartial()| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionSignals.SafetySignals |
|
clear()
public DataStoreConnectionSignals.SafetySignals.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionSignals.SafetySignals.Builder |
|
clearBannedPhraseMatch()
public DataStoreConnectionSignals.SafetySignals.Builder clearBannedPhraseMatch()Specifies banned phrase match subject.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals.BannedPhraseMatch banned_phrase_match = 2;
| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionSignals.SafetySignals.Builder |
This builder for chaining. |
clearDecision()
public DataStoreConnectionSignals.SafetySignals.Builder clearDecision()Safety decision.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals.SafetyDecision decision = 1;
| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionSignals.SafetySignals.Builder |
This builder for chaining. |
clearMatchedBannedPhrase()
public DataStoreConnectionSignals.SafetySignals.Builder clearMatchedBannedPhrase()The matched banned phrase if there was a match.
string matched_banned_phrase = 3;
| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionSignals.SafetySignals.Builder |
This builder for chaining. |
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DataStoreConnectionSignals.SafetySignals other)
public DataStoreConnectionSignals.SafetySignals.Builder mergeFrom(DataStoreConnectionSignals.SafetySignals other)| Parameter | |
|---|---|
| Name | Description |
other |
DataStoreConnectionSignals.SafetySignals |
| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionSignals.SafetySignals.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataStoreConnectionSignals.SafetySignals.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionSignals.SafetySignals.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataStoreConnectionSignals.SafetySignals.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionSignals.SafetySignals.Builder |
|
setBannedPhraseMatch(DataStoreConnectionSignals.SafetySignals.BannedPhraseMatch value)
public DataStoreConnectionSignals.SafetySignals.Builder setBannedPhraseMatch(DataStoreConnectionSignals.SafetySignals.BannedPhraseMatch value)Specifies banned phrase match subject.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals.BannedPhraseMatch banned_phrase_match = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
DataStoreConnectionSignals.SafetySignals.BannedPhraseMatchThe bannedPhraseMatch to set. |
| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionSignals.SafetySignals.Builder |
This builder for chaining. |
setBannedPhraseMatchValue(int value)
public DataStoreConnectionSignals.SafetySignals.Builder setBannedPhraseMatchValue(int value)Specifies banned phrase match subject.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals.BannedPhraseMatch banned_phrase_match = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for bannedPhraseMatch to set. |
| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionSignals.SafetySignals.Builder |
This builder for chaining. |
setDecision(DataStoreConnectionSignals.SafetySignals.SafetyDecision value)
public DataStoreConnectionSignals.SafetySignals.Builder setDecision(DataStoreConnectionSignals.SafetySignals.SafetyDecision value)Safety decision.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals.SafetyDecision decision = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
DataStoreConnectionSignals.SafetySignals.SafetyDecisionThe decision to set. |
| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionSignals.SafetySignals.Builder |
This builder for chaining. |
setDecisionValue(int value)
public DataStoreConnectionSignals.SafetySignals.Builder setDecisionValue(int value)Safety decision.
.google.cloud.dialogflow.cx.v3.DataStoreConnectionSignals.SafetySignals.SafetyDecision decision = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for decision to set. |
| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionSignals.SafetySignals.Builder |
This builder for chaining. |
setMatchedBannedPhrase(String value)
public DataStoreConnectionSignals.SafetySignals.Builder setMatchedBannedPhrase(String value)The matched banned phrase if there was a match.
string matched_banned_phrase = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe matchedBannedPhrase to set. |
| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionSignals.SafetySignals.Builder |
This builder for chaining. |
setMatchedBannedPhraseBytes(ByteString value)
public DataStoreConnectionSignals.SafetySignals.Builder setMatchedBannedPhraseBytes(ByteString value)The matched banned phrase if there was a match.
string matched_banned_phrase = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for matchedBannedPhrase to set. |
| Returns | |
|---|---|
| Type | Description |
DataStoreConnectionSignals.SafetySignals.Builder |
This builder for chaining. |