Class PhraseMatchRuleGroup (2.55.0)

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

PHRASE_MATCH_RULES_FIELD_NUMBER

public static final int PHRASE_MATCH_RULES_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PhraseMatchRuleGroup getDefaultInstance()
Returns
Type Description
PhraseMatchRuleGroup

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PhraseMatchRuleGroup.Builder newBuilder()
Returns
Type Description
PhraseMatchRuleGroup.Builder

newBuilder(PhraseMatchRuleGroup prototype)

public static PhraseMatchRuleGroup.Builder newBuilder(PhraseMatchRuleGroup prototype)
Parameter
Name Description
prototype PhraseMatchRuleGroup
Returns
Type Description
PhraseMatchRuleGroup.Builder

parseDelimitedFrom(InputStream input)

public static PhraseMatchRuleGroup parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PhraseMatchRuleGroup
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PhraseMatchRuleGroup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PhraseMatchRuleGroup
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PhraseMatchRuleGroup parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PhraseMatchRuleGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PhraseMatchRuleGroup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PhraseMatchRuleGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PhraseMatchRuleGroup parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PhraseMatchRuleGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PhraseMatchRuleGroup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PhraseMatchRuleGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PhraseMatchRuleGroup parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PhraseMatchRuleGroup
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PhraseMatchRuleGroup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PhraseMatchRuleGroup
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PhraseMatchRuleGroup parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PhraseMatchRuleGroup
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PhraseMatchRuleGroup parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PhraseMatchRuleGroup
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PhraseMatchRuleGroup parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PhraseMatchRuleGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PhraseMatchRuleGroup parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PhraseMatchRuleGroup
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PhraseMatchRuleGroup> parser()
Returns
Type Description
Parser<PhraseMatchRuleGroup>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PhraseMatchRuleGroup getDefaultInstanceForType()
Returns
Type Description
PhraseMatchRuleGroup

getParserForType()

public Parser<PhraseMatchRuleGroup> getParserForType()
Returns
Type Description
Parser<PhraseMatchRuleGroup>
Overrides

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

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>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PhraseMatchRuleGroup.Builder newBuilderForType()
Returns
Type Description
PhraseMatchRuleGroup.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PhraseMatchRuleGroup.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PhraseMatchRuleGroup.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PhraseMatchRuleGroup.Builder toBuilder()
Returns
Type Description
PhraseMatchRuleGroup.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException