public static final class PhraseMatchRuleGroup.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchRuleGroup.Builder> implements PhraseMatchRuleGroupOrBuilder
A message representing a rule in the phrase matcher.Protobuf type
google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup| Modifier and Type | Method and Description |
|---|---|
PhraseMatchRuleGroup.Builder |
addAllPhraseMatchRules(Iterable<? extends PhraseMatchRule> values)
A list of phrase match rules that are included in this group.
|
PhraseMatchRuleGroup.Builder |
addPhraseMatchRules(int index,
PhraseMatchRule.Builder builderForValue)
A list of phrase match rules that are included in this group.
|
PhraseMatchRuleGroup.Builder |
addPhraseMatchRules(int index,
PhraseMatchRule value)
A list of phrase match rules that are included in this group.
|
PhraseMatchRuleGroup.Builder |
addPhraseMatchRules(PhraseMatchRule.Builder builderForValue)
A list of phrase match rules that are included in this group.
|
PhraseMatchRuleGroup.Builder |
addPhraseMatchRules(PhraseMatchRule value)
A list of phrase match rules that are included in this group.
|
PhraseMatchRule.Builder |
addPhraseMatchRulesBuilder()
A list of phrase match rules that are included in this group.
|
PhraseMatchRule.Builder |
addPhraseMatchRulesBuilder(int index)
A list of phrase match rules that are included in this group.
|
PhraseMatchRuleGroup.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PhraseMatchRuleGroup |
build() |
PhraseMatchRuleGroup |
buildPartial() |
PhraseMatchRuleGroup.Builder |
clear() |
PhraseMatchRuleGroup.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PhraseMatchRuleGroup.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PhraseMatchRuleGroup.Builder |
clearPhraseMatchRules()
A list of phrase match rules that are included in this group.
|
PhraseMatchRuleGroup.Builder |
clearType()
Required.
|
PhraseMatchRuleGroup.Builder |
clone() |
PhraseMatchRuleGroup |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
PhraseMatchRule |
getPhraseMatchRules(int index)
A list of phrase match rules that are included in this group.
|
PhraseMatchRule.Builder |
getPhraseMatchRulesBuilder(int index)
A list of phrase match rules that are included in this group.
|
List<PhraseMatchRule.Builder> |
getPhraseMatchRulesBuilderList()
A list of phrase match rules that are included in this group.
|
int |
getPhraseMatchRulesCount()
A list of phrase match rules that are included in this group.
|
List<PhraseMatchRule> |
getPhraseMatchRulesList()
A list of phrase match rules that are included in this group.
|
PhraseMatchRuleOrBuilder |
getPhraseMatchRulesOrBuilder(int index)
A list of phrase match rules that are included in this group.
|
List<? extends PhraseMatchRuleOrBuilder> |
getPhraseMatchRulesOrBuilderList()
A list of phrase match rules that are included in this group.
|
PhraseMatchRuleGroup.PhraseMatchRuleGroupType |
getType()
Required.
|
int |
getTypeValue()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PhraseMatchRuleGroup.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PhraseMatchRuleGroup.Builder |
mergeFrom(com.google.protobuf.Message other) |
PhraseMatchRuleGroup.Builder |
mergeFrom(PhraseMatchRuleGroup other) |
PhraseMatchRuleGroup.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PhraseMatchRuleGroup.Builder |
removePhraseMatchRules(int index)
A list of phrase match rules that are included in this group.
|
PhraseMatchRuleGroup.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PhraseMatchRuleGroup.Builder |
setPhraseMatchRules(int index,
PhraseMatchRule.Builder builderForValue)
A list of phrase match rules that are included in this group.
|
PhraseMatchRuleGroup.Builder |
setPhraseMatchRules(int index,
PhraseMatchRule value)
A list of phrase match rules that are included in this group.
|
PhraseMatchRuleGroup.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PhraseMatchRuleGroup.Builder |
setType(PhraseMatchRuleGroup.PhraseMatchRuleGroupType value)
Required.
|
PhraseMatchRuleGroup.Builder |
setTypeValue(int value)
Required.
|
PhraseMatchRuleGroup.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<PhraseMatchRuleGroup.Builder>public PhraseMatchRuleGroup.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchRuleGroup.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<PhraseMatchRuleGroup.Builder>public PhraseMatchRuleGroup getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PhraseMatchRuleGroup build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PhraseMatchRuleGroup buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PhraseMatchRuleGroup.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchRuleGroup.Builder>public PhraseMatchRuleGroup.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<PhraseMatchRuleGroup.Builder>public PhraseMatchRuleGroup.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchRuleGroup.Builder>public PhraseMatchRuleGroup.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchRuleGroup.Builder>public PhraseMatchRuleGroup.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<PhraseMatchRuleGroup.Builder>public PhraseMatchRuleGroup.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<PhraseMatchRuleGroup.Builder>public PhraseMatchRuleGroup.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PhraseMatchRuleGroup.Builder>public PhraseMatchRuleGroup.Builder mergeFrom(PhraseMatchRuleGroup other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchRuleGroup.Builder>public PhraseMatchRuleGroup.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<PhraseMatchRuleGroup.Builder>IOExceptionpublic int getTypeValue()
Required. The type of this phrase match rule group.
.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED];
getTypeValue in interface PhraseMatchRuleGroupOrBuilderpublic PhraseMatchRuleGroup.Builder setTypeValue(int value)
Required. The type of this phrase match rule group.
.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED];
value - The enum numeric value on the wire for type to set.public PhraseMatchRuleGroup.PhraseMatchRuleGroupType getType()
Required. The type of this phrase match rule group.
.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED];
getType in interface PhraseMatchRuleGroupOrBuilderpublic PhraseMatchRuleGroup.Builder setType(PhraseMatchRuleGroup.PhraseMatchRuleGroupType value)
Required. The type of this phrase match rule group.
.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED];
value - The type to set.public PhraseMatchRuleGroup.Builder clearType()
Required. The type of this phrase match rule group.
.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED];
public List<PhraseMatchRule> getPhraseMatchRulesList()
A list of phrase match rules that are included in this group.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2;
getPhraseMatchRulesList in interface PhraseMatchRuleGroupOrBuilderpublic int getPhraseMatchRulesCount()
A list of phrase match rules that are included in this group.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2;
getPhraseMatchRulesCount in interface PhraseMatchRuleGroupOrBuilderpublic PhraseMatchRule getPhraseMatchRules(int index)
A list of phrase match rules that are included in this group.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2;
getPhraseMatchRules in interface PhraseMatchRuleGroupOrBuilderpublic PhraseMatchRuleGroup.Builder setPhraseMatchRules(int index, PhraseMatchRule value)
A list of phrase match rules that are included in this group.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2;
public PhraseMatchRuleGroup.Builder setPhraseMatchRules(int index, PhraseMatchRule.Builder builderForValue)
A list of phrase match rules that are included in this group.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2;
public PhraseMatchRuleGroup.Builder addPhraseMatchRules(PhraseMatchRule value)
A list of phrase match rules that are included in this group.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2;
public PhraseMatchRuleGroup.Builder addPhraseMatchRules(int index, PhraseMatchRule value)
A list of phrase match rules that are included in this group.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2;
public PhraseMatchRuleGroup.Builder addPhraseMatchRules(PhraseMatchRule.Builder builderForValue)
A list of phrase match rules that are included in this group.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2;
public PhraseMatchRuleGroup.Builder addPhraseMatchRules(int index, PhraseMatchRule.Builder builderForValue)
A list of phrase match rules that are included in this group.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2;
public PhraseMatchRuleGroup.Builder addAllPhraseMatchRules(Iterable<? extends PhraseMatchRule> values)
A list of phrase match rules that are included in this group.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2;
public PhraseMatchRuleGroup.Builder clearPhraseMatchRules()
A list of phrase match rules that are included in this group.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2;
public PhraseMatchRuleGroup.Builder removePhraseMatchRules(int index)
A list of phrase match rules that are included in this group.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2;
public PhraseMatchRule.Builder getPhraseMatchRulesBuilder(int index)
A list of phrase match rules that are included in this group.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2;
public PhraseMatchRuleOrBuilder getPhraseMatchRulesOrBuilder(int index)
A list of phrase match rules that are included in this group.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2;
getPhraseMatchRulesOrBuilder in interface PhraseMatchRuleGroupOrBuilderpublic List<? extends PhraseMatchRuleOrBuilder> getPhraseMatchRulesOrBuilderList()
A list of phrase match rules that are included in this group.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2;
getPhraseMatchRulesOrBuilderList in interface PhraseMatchRuleGroupOrBuilderpublic PhraseMatchRule.Builder addPhraseMatchRulesBuilder()
A list of phrase match rules that are included in this group.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2;
public PhraseMatchRule.Builder addPhraseMatchRulesBuilder(int index)
A list of phrase match rules that are included in this group.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2;
public List<PhraseMatchRule.Builder> getPhraseMatchRulesBuilderList()
A list of phrase match rules that are included in this group.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2;
public final PhraseMatchRuleGroup.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchRuleGroup.Builder>public final PhraseMatchRuleGroup.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatchRuleGroup.Builder>Copyright © 2023 Google LLC. All rights reserved.