public static final class PhraseMatchRuleGroup.Builder extends GeneratedMessageV3.Builder<PhraseMatchRuleGroup.Builder> implements PhraseMatchRuleGroupOrBuilder
A message representing a rule in the phrase matcher.
Protobuf type google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.contactcenterinsights.v1.PhraseMatchRule>
|
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(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 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.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 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;
Parameter |
Name |
Description |
index |
int
|
public PhraseMatchRuleGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public PhraseMatchRuleGroup build()
public PhraseMatchRuleGroup buildPartial()
public PhraseMatchRuleGroup.Builder clear()
Overrides
public PhraseMatchRuleGroup.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public PhraseMatchRuleGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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 clearType()
Required. The type of this phrase match rule group.
.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED];
public PhraseMatchRuleGroup.Builder clone()
Overrides
public PhraseMatchRuleGroup getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public 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;
Parameter |
Name |
Description |
index |
int
|
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;
Parameter |
Name |
Description |
index |
int
|
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 int getPhraseMatchRulesCount()
A list of phrase match rules that are included in this group.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2;
Returns |
Type |
Description |
int |
|
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;
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;
Parameter |
Name |
Description |
index |
int
|
public 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;
Returns |
Type |
Description |
List<? extends com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleOrBuilder> |
|
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];
public int getTypeValue()
Required. The type of this phrase match rule group.
.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup.PhraseMatchRuleGroupType type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for type.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public PhraseMatchRuleGroup.Builder mergeFrom(PhraseMatchRuleGroup other)
public PhraseMatchRuleGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public PhraseMatchRuleGroup.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final PhraseMatchRuleGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
Parameter |
Name |
Description |
index |
int
|
public PhraseMatchRuleGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public 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 setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public 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];
public 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];
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for type to set.
|
public final PhraseMatchRuleGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides