public static final class PhraseMatchRuleGroup.Builder extends GeneratedMessage.Builder<PhraseMatchRuleGroup.Builder> implements PhraseMatchRuleGroupOrBuilderA message representing a rule in the phrase matcher.
Protobuf type google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PhraseMatchRuleGroup.BuilderImplements
PhraseMatchRuleGroupOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllPhraseMatchRules(Iterable<? extends PhraseMatchRule> values)
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> |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchRuleGroup.Builder |
|
addPhraseMatchRules(PhraseMatchRule value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
PhraseMatchRule |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchRuleGroup.Builder |
|
addPhraseMatchRules(PhraseMatchRule.Builder builderForValue)
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PhraseMatchRule.Builder |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchRuleGroup.Builder |
|
addPhraseMatchRules(int index, PhraseMatchRule value)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
PhraseMatchRule |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchRuleGroup.Builder |
|
addPhraseMatchRules(int index, PhraseMatchRule.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
PhraseMatchRule.Builder |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchRuleGroup.Builder |
|
addPhraseMatchRulesBuilder()
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;
| Returns | |
|---|---|
| Type | Description |
PhraseMatchRule.Builder |
|
addPhraseMatchRulesBuilder(int index)
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 |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchRule.Builder |
|
build()
public PhraseMatchRuleGroup build()| Returns | |
|---|---|
| Type | Description |
PhraseMatchRuleGroup |
|
buildPartial()
public PhraseMatchRuleGroup buildPartial()| Returns | |
|---|---|
| Type | Description |
PhraseMatchRuleGroup |
|
clear()
public PhraseMatchRuleGroup.Builder clear()| Returns | |
|---|---|
| Type | Description |
PhraseMatchRuleGroup.Builder |
|
clearPhraseMatchRules()
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;
| Returns | |
|---|---|
| Type | Description |
PhraseMatchRuleGroup.Builder |
|
clearType()
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];
| Returns | |
|---|---|
| Type | Description |
PhraseMatchRuleGroup.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public PhraseMatchRuleGroup getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PhraseMatchRuleGroup |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getPhraseMatchRules(int index)
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 |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchRule |
|
getPhraseMatchRulesBuilder(int index)
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 |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchRule.Builder |
|
getPhraseMatchRulesBuilderList()
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;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getPhraseMatchRulesCount()
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 |
|
getPhraseMatchRulesList()
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;
| Returns | |
|---|---|
| Type | Description |
List<PhraseMatchRule> |
|
getPhraseMatchRulesOrBuilder(int index)
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 |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchRuleOrBuilder |
|
getPhraseMatchRulesOrBuilderList()
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> |
|
getType()
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];
| Returns | |
|---|---|
| Type | Description |
PhraseMatchRuleGroup.PhraseMatchRuleGroupType |
The type. |
getTypeValue()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PhraseMatchRuleGroup other)
public PhraseMatchRuleGroup.Builder mergeFrom(PhraseMatchRuleGroup other)| Parameter | |
|---|---|
| Name | Description |
other |
PhraseMatchRuleGroup |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchRuleGroup.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PhraseMatchRuleGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchRuleGroup.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PhraseMatchRuleGroup.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchRuleGroup.Builder |
|
removePhraseMatchRules(int index)
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 |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchRuleGroup.Builder |
|
setPhraseMatchRules(int index, PhraseMatchRule value)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
PhraseMatchRule |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchRuleGroup.Builder |
|
setPhraseMatchRules(int index, PhraseMatchRule.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
PhraseMatchRule.Builder |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchRuleGroup.Builder |
|
setType(PhraseMatchRuleGroup.PhraseMatchRuleGroupType value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
PhraseMatchRuleGroup.PhraseMatchRuleGroupTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchRuleGroup.Builder |
This builder for chaining. |
setTypeValue(int value)
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 |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchRuleGroup.Builder |
This builder for chaining. |