- 0.65.0 (latest)
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class DataStoreConnectionSignals.SafetySignals.Builder extends GeneratedMessageV3.Builder<DataStoreConnectionSignals.SafetySignals.Builder> implements DataStoreConnectionSignals.SafetySignalsOrBuilder
Safety check results.
Protobuf type
google.cloud.dialogflow.cx.v3beta1.DataStoreConnectionSignals.SafetySignals
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DataStoreConnectionSignals.SafetySignals.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DataStoreConnectionSignals.SafetySignals.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DataStoreConnectionSignals.SafetySignals.Builder |
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.v3beta1.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.v3beta1.DataStoreConnectionSignals.SafetySignals.SafetyDecision decision = 1;
Returns | |
---|---|
Type | Description |
DataStoreConnectionSignals.SafetySignals.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DataStoreConnectionSignals.SafetySignals.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DataStoreConnectionSignals.SafetySignals.Builder |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DataStoreConnectionSignals.SafetySignals.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DataStoreConnectionSignals.SafetySignals.Builder |
clone()
public DataStoreConnectionSignals.SafetySignals.Builder clone()
Returns | |
---|---|
Type | Description |
DataStoreConnectionSignals.SafetySignals.Builder |
getBannedPhraseMatch()
public 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 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 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 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. |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DataStoreConnectionSignals.SafetySignals.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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.v3beta1.DataStoreConnectionSignals.SafetySignals.BannedPhraseMatch banned_phrase_match = 2;
Parameter | |
---|---|
Name | Description |
value |
DataStoreConnectionSignals.SafetySignals.BannedPhraseMatch The 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.v3beta1.DataStoreConnectionSignals.SafetySignals.BannedPhraseMatch banned_phrase_match = 2;
Parameter | |
---|---|
Name | Description |
value |
int The 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.v3beta1.DataStoreConnectionSignals.SafetySignals.SafetyDecision decision = 1;
Parameter | |
---|---|
Name | Description |
value |
DataStoreConnectionSignals.SafetySignals.SafetyDecision The 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.v3beta1.DataStoreConnectionSignals.SafetySignals.SafetyDecision decision = 1;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for decision to set. |
Returns | |
---|---|
Type | Description |
DataStoreConnectionSignals.SafetySignals.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DataStoreConnectionSignals.SafetySignals.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DataStoreConnectionSignals.SafetySignals.Builder |
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 |
String The 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 |
ByteString The bytes for matchedBannedPhrase to set. |
Returns | |
---|---|
Type | Description |
DataStoreConnectionSignals.SafetySignals.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DataStoreConnectionSignals.SafetySignals.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DataStoreConnectionSignals.SafetySignals.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DataStoreConnectionSignals.SafetySignals.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DataStoreConnectionSignals.SafetySignals.Builder |