public final class PhraseMatchRuleGroup extends GeneratedMessageV3 implements PhraseMatchRuleGroupOrBuilder
A message representing a rule in the phrase matcher.
Protobuf type google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup
Static Fields
public static final int PHRASE_MATCH_RULES_FIELD_NUMBER
Field Value
public static final int TYPE_FIELD_NUMBER
Field Value
Static Methods
public static PhraseMatchRuleGroup getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static PhraseMatchRuleGroup.Builder newBuilder()
Returns
public static PhraseMatchRuleGroup.Builder newBuilder(PhraseMatchRuleGroup prototype)
Parameter
Returns
public static PhraseMatchRuleGroup parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PhraseMatchRuleGroup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PhraseMatchRuleGroup parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static PhraseMatchRuleGroup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PhraseMatchRuleGroup parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static PhraseMatchRuleGroup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PhraseMatchRuleGroup parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PhraseMatchRuleGroup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PhraseMatchRuleGroup parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PhraseMatchRuleGroup parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PhraseMatchRuleGroup parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static PhraseMatchRuleGroup parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<PhraseMatchRuleGroup> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public PhraseMatchRuleGroup getDefaultInstanceForType()
Returns
public Parser<PhraseMatchRuleGroup> getParserForType()
Returns
Overrides
public PhraseMatchRule getPhraseMatchRules(int index)
A list of phase match rules that are included in this group.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2;
Parameter
Returns
public int getPhraseMatchRulesCount()
A list of phase match rules that are included in this group.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2;
Returns
public List<PhraseMatchRule> getPhraseMatchRulesList()
A list of phase match rules that are included in this group.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2;
Returns
public PhraseMatchRuleOrBuilder getPhraseMatchRulesOrBuilder(int index)
A list of phase match rules that are included in this group.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRule phrase_match_rules = 2;
Parameter
Returns
public List<? extends PhraseMatchRuleOrBuilder> getPhraseMatchRulesOrBuilderList()
A list of phase 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 int getSerializedSize()
Returns
Overrides
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
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.
|
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public PhraseMatchRuleGroup.Builder newBuilderForType()
Returns
protected PhraseMatchRuleGroup.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public PhraseMatchRuleGroup.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions