public static final class PhraseMatchRule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchRule.Builder> implements PhraseMatchRuleOrBuilder
The data for a phrase match rule.Protobuf type
google.cloud.contactcenterinsights.v1.PhraseMatchRule| Modifier and Type | Method and Description |
|---|---|
PhraseMatchRule.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PhraseMatchRule |
build() |
PhraseMatchRule |
buildPartial() |
PhraseMatchRule.Builder |
clear() |
PhraseMatchRule.Builder |
clearConfig()
Provides additional information about the rule that specifies how to apply
the rule.
|
PhraseMatchRule.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PhraseMatchRule.Builder |
clearNegated()
Specifies whether the phrase must be missing from the transcript segment or
present in the transcript segment.
|
PhraseMatchRule.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PhraseMatchRule.Builder |
clearQuery()
Required.
|
PhraseMatchRule.Builder |
clone() |
PhraseMatchRuleConfig |
getConfig()
Provides additional information about the rule that specifies how to apply
the rule.
|
PhraseMatchRuleConfig.Builder |
getConfigBuilder()
Provides additional information about the rule that specifies how to apply
the rule.
|
PhraseMatchRuleConfigOrBuilder |
getConfigOrBuilder()
Provides additional information about the rule that specifies how to apply
the rule.
|
PhraseMatchRule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getNegated()
Specifies whether the phrase must be missing from the transcript segment or
present in the transcript segment.
|
String |
getQuery()
Required.
|
com.google.protobuf.ByteString |
getQueryBytes()
Required.
|
boolean |
hasConfig()
Provides additional information about the rule that specifies how to apply
the rule.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PhraseMatchRule.Builder |
mergeConfig(PhraseMatchRuleConfig value)
Provides additional information about the rule that specifies how to apply
the rule.
|
PhraseMatchRule.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PhraseMatchRule.Builder |
mergeFrom(com.google.protobuf.Message other) |
PhraseMatchRule.Builder |
mergeFrom(PhraseMatchRule other) |
PhraseMatchRule.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PhraseMatchRule.Builder |
setConfig(PhraseMatchRuleConfig.Builder builderForValue)
Provides additional information about the rule that specifies how to apply
the rule.
|
PhraseMatchRule.Builder |
setConfig(PhraseMatchRuleConfig value)
Provides additional information about the rule that specifies how to apply
the rule.
|
PhraseMatchRule.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PhraseMatchRule.Builder |
setNegated(boolean value)
Specifies whether the phrase must be missing from the transcript segment or
present in the transcript segment.
|
PhraseMatchRule.Builder |
setQuery(String value)
Required.
|
PhraseMatchRule.Builder |
setQueryBytes(com.google.protobuf.ByteString value)
Required.
|
PhraseMatchRule.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PhraseMatchRule.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchRule.Builder>public PhraseMatchRule.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchRule.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchRule.Builder>public PhraseMatchRule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PhraseMatchRule build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PhraseMatchRule buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PhraseMatchRule.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchRule.Builder>public PhraseMatchRule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchRule.Builder>public PhraseMatchRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchRule.Builder>public PhraseMatchRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchRule.Builder>public PhraseMatchRule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchRule.Builder>public PhraseMatchRule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchRule.Builder>public PhraseMatchRule.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PhraseMatchRule.Builder>public PhraseMatchRule.Builder mergeFrom(PhraseMatchRule other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchRule.Builder>public PhraseMatchRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PhraseMatchRule.Builder>IOExceptionpublic String getQuery()
Required. The phrase to be matched.
string query = 1 [(.google.api.field_behavior) = REQUIRED];getQuery in interface PhraseMatchRuleOrBuilderpublic com.google.protobuf.ByteString getQueryBytes()
Required. The phrase to be matched.
string query = 1 [(.google.api.field_behavior) = REQUIRED];getQueryBytes in interface PhraseMatchRuleOrBuilderpublic PhraseMatchRule.Builder setQuery(String value)
Required. The phrase to be matched.
string query = 1 [(.google.api.field_behavior) = REQUIRED];value - The query to set.public PhraseMatchRule.Builder clearQuery()
Required. The phrase to be matched.
string query = 1 [(.google.api.field_behavior) = REQUIRED];public PhraseMatchRule.Builder setQueryBytes(com.google.protobuf.ByteString value)
Required. The phrase to be matched.
string query = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for query to set.public boolean getNegated()
Specifies whether the phrase must be missing from the transcript segment or present in the transcript segment.
bool negated = 2;getNegated in interface PhraseMatchRuleOrBuilderpublic PhraseMatchRule.Builder setNegated(boolean value)
Specifies whether the phrase must be missing from the transcript segment or present in the transcript segment.
bool negated = 2;value - The negated to set.public PhraseMatchRule.Builder clearNegated()
Specifies whether the phrase must be missing from the transcript segment or present in the transcript segment.
bool negated = 2;public boolean hasConfig()
Provides additional information about the rule that specifies how to apply the rule.
.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;hasConfig in interface PhraseMatchRuleOrBuilderpublic PhraseMatchRuleConfig getConfig()
Provides additional information about the rule that specifies how to apply the rule.
.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;getConfig in interface PhraseMatchRuleOrBuilderpublic PhraseMatchRule.Builder setConfig(PhraseMatchRuleConfig value)
Provides additional information about the rule that specifies how to apply the rule.
.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;public PhraseMatchRule.Builder setConfig(PhraseMatchRuleConfig.Builder builderForValue)
Provides additional information about the rule that specifies how to apply the rule.
.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;public PhraseMatchRule.Builder mergeConfig(PhraseMatchRuleConfig value)
Provides additional information about the rule that specifies how to apply the rule.
.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;public PhraseMatchRule.Builder clearConfig()
Provides additional information about the rule that specifies how to apply the rule.
.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;public PhraseMatchRuleConfig.Builder getConfigBuilder()
Provides additional information about the rule that specifies how to apply the rule.
.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;public PhraseMatchRuleConfigOrBuilder getConfigOrBuilder()
Provides additional information about the rule that specifies how to apply the rule.
.google.cloud.contactcenterinsights.v1.PhraseMatchRuleConfig config = 3;getConfigOrBuilder in interface PhraseMatchRuleOrBuilderpublic final PhraseMatchRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchRule.Builder>public final PhraseMatchRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchRule.Builder>Copyright © 2023 Google LLC. All rights reserved.