public final class PhraseMatcher extends com.google.protobuf.GeneratedMessageV3 implements PhraseMatcherOrBuilder
The phrase matcher resource.Protobuf type
google.cloud.contactcenterinsights.v1.PhraseMatcher| Modifier and Type | Class and Description |
|---|---|
static class |
PhraseMatcher.Builder
The phrase matcher resource.
|
static class |
PhraseMatcher.PhraseMatcherType
Specifies how to combine each phrase match rule group to determine whether
there is a match.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVATION_UPDATE_TIME_FIELD_NUMBER |
static int |
ACTIVE_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PHRASE_MATCH_RULE_GROUPS_FIELD_NUMBER |
static int |
REVISION_CREATE_TIME_FIELD_NUMBER |
static int |
REVISION_ID_FIELD_NUMBER |
static int |
ROLE_MATCH_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
static int |
VERSION_TAG_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getActivationUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getActivationUpdateTimeOrBuilder()
Output only.
|
boolean |
getActive()
Applies the phrase matcher only when it is active.
|
static PhraseMatcher |
getDefaultInstance() |
PhraseMatcher |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
The human-readable name of the phrase matcher.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
The human-readable name of the phrase matcher.
|
String |
getName()
The resource name of the phrase matcher.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name of the phrase matcher.
|
com.google.protobuf.Parser<PhraseMatcher> |
getParserForType() |
PhraseMatchRuleGroup |
getPhraseMatchRuleGroups(int index)
A list of phase match rule groups that are included in this matcher.
|
int |
getPhraseMatchRuleGroupsCount()
A list of phase match rule groups that are included in this matcher.
|
List<PhraseMatchRuleGroup> |
getPhraseMatchRuleGroupsList()
A list of phase match rule groups that are included in this matcher.
|
PhraseMatchRuleGroupOrBuilder |
getPhraseMatchRuleGroupsOrBuilder(int index)
A list of phase match rule groups that are included in this matcher.
|
List<? extends PhraseMatchRuleGroupOrBuilder> |
getPhraseMatchRuleGroupsOrBuilderList()
A list of phase match rule groups that are included in this matcher.
|
com.google.protobuf.Timestamp |
getRevisionCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getRevisionCreateTimeOrBuilder()
Output only.
|
String |
getRevisionId()
Output only.
|
com.google.protobuf.ByteString |
getRevisionIdBytes()
Output only.
|
ConversationParticipant.Role |
getRoleMatch()
The role whose utterances the phrase matcher should be matched
against.
|
int |
getRoleMatchValue()
The role whose utterances the phrase matcher should be matched
against.
|
int |
getSerializedSize() |
PhraseMatcher.PhraseMatcherType |
getType()
Required.
|
int |
getTypeValue()
Required.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
String |
getVersionTag()
The customized version tag to use for the phrase matcher.
|
com.google.protobuf.ByteString |
getVersionTagBytes()
The customized version tag to use for the phrase matcher.
|
boolean |
hasActivationUpdateTime()
Output only.
|
int |
hashCode() |
boolean |
hasRevisionCreateTime()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PhraseMatcher.Builder |
newBuilder() |
static PhraseMatcher.Builder |
newBuilder(PhraseMatcher prototype) |
PhraseMatcher.Builder |
newBuilderForType() |
protected PhraseMatcher.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static PhraseMatcher |
parseDelimitedFrom(InputStream input) |
static PhraseMatcher |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PhraseMatcher |
parseFrom(byte[] data) |
static PhraseMatcher |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PhraseMatcher |
parseFrom(ByteBuffer data) |
static PhraseMatcher |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PhraseMatcher |
parseFrom(com.google.protobuf.ByteString data) |
static PhraseMatcher |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PhraseMatcher |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PhraseMatcher |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PhraseMatcher |
parseFrom(InputStream input) |
static PhraseMatcher |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PhraseMatcher> |
parser() |
PhraseMatcher.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int REVISION_ID_FIELD_NUMBER
public static final int VERSION_TAG_FIELD_NUMBER
public static final int REVISION_CREATE_TIME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int ACTIVE_FIELD_NUMBER
public static final int PHRASE_MATCH_RULE_GROUPS_FIELD_NUMBER
public static final int ACTIVATION_UPDATE_TIME_FIELD_NUMBER
public static final int ROLE_MATCH_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
The resource name of the phrase matcher.
Format:
projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
string name = 1;getName in interface PhraseMatcherOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The resource name of the phrase matcher.
Format:
projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
string name = 1;getNameBytes in interface PhraseMatcherOrBuilderpublic String getRevisionId()
Output only. Immutable. The revision ID of the phrase matcher. A new revision is committed whenever the matcher is changed, except when it is activated or deactivated. A server generated random ID will be used. Example: locations/global/phraseMatchers/my-first-matcher@1234567
string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
getRevisionId in interface PhraseMatcherOrBuilderpublic com.google.protobuf.ByteString getRevisionIdBytes()
Output only. Immutable. The revision ID of the phrase matcher. A new revision is committed whenever the matcher is changed, except when it is activated or deactivated. A server generated random ID will be used. Example: locations/global/phraseMatchers/my-first-matcher@1234567
string revision_id = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];
getRevisionIdBytes in interface PhraseMatcherOrBuilderpublic String getVersionTag()
The customized version tag to use for the phrase matcher. If not specified, it will default to `revision_id`.
string version_tag = 3;getVersionTag in interface PhraseMatcherOrBuilderpublic com.google.protobuf.ByteString getVersionTagBytes()
The customized version tag to use for the phrase matcher. If not specified, it will default to `revision_id`.
string version_tag = 3;getVersionTagBytes in interface PhraseMatcherOrBuilderpublic boolean hasRevisionCreateTime()
Output only. The timestamp of when the revision was created. It is also the create time when a new matcher is added.
.google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasRevisionCreateTime in interface PhraseMatcherOrBuilderpublic com.google.protobuf.Timestamp getRevisionCreateTime()
Output only. The timestamp of when the revision was created. It is also the create time when a new matcher is added.
.google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRevisionCreateTime in interface PhraseMatcherOrBuilderpublic com.google.protobuf.TimestampOrBuilder getRevisionCreateTimeOrBuilder()
Output only. The timestamp of when the revision was created. It is also the create time when a new matcher is added.
.google.protobuf.Timestamp revision_create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRevisionCreateTimeOrBuilder in interface PhraseMatcherOrBuilderpublic String getDisplayName()
The human-readable name of the phrase matcher.
string display_name = 5;getDisplayName in interface PhraseMatcherOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
The human-readable name of the phrase matcher.
string display_name = 5;getDisplayNameBytes in interface PhraseMatcherOrBuilderpublic int getTypeValue()
Required. The type of this phrase matcher.
.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED];
getTypeValue in interface PhraseMatcherOrBuilderpublic PhraseMatcher.PhraseMatcherType getType()
Required. The type of this phrase matcher.
.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED];
getType in interface PhraseMatcherOrBuilderpublic boolean getActive()
Applies the phrase matcher only when it is active.
bool active = 7;getActive in interface PhraseMatcherOrBuilderpublic List<PhraseMatchRuleGroup> getPhraseMatchRuleGroupsList()
A list of phase match rule groups that are included in this matcher.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
getPhraseMatchRuleGroupsList in interface PhraseMatcherOrBuilderpublic List<? extends PhraseMatchRuleGroupOrBuilder> getPhraseMatchRuleGroupsOrBuilderList()
A list of phase match rule groups that are included in this matcher.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
getPhraseMatchRuleGroupsOrBuilderList in interface PhraseMatcherOrBuilderpublic int getPhraseMatchRuleGroupsCount()
A list of phase match rule groups that are included in this matcher.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
getPhraseMatchRuleGroupsCount in interface PhraseMatcherOrBuilderpublic PhraseMatchRuleGroup getPhraseMatchRuleGroups(int index)
A list of phase match rule groups that are included in this matcher.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
getPhraseMatchRuleGroups in interface PhraseMatcherOrBuilderpublic PhraseMatchRuleGroupOrBuilder getPhraseMatchRuleGroupsOrBuilder(int index)
A list of phase match rule groups that are included in this matcher.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
getPhraseMatchRuleGroupsOrBuilder in interface PhraseMatcherOrBuilderpublic boolean hasActivationUpdateTime()
Output only. The most recent time at which the activation status was updated.
.google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasActivationUpdateTime in interface PhraseMatcherOrBuilderpublic com.google.protobuf.Timestamp getActivationUpdateTime()
Output only. The most recent time at which the activation status was updated.
.google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getActivationUpdateTime in interface PhraseMatcherOrBuilderpublic com.google.protobuf.TimestampOrBuilder getActivationUpdateTimeOrBuilder()
Output only. The most recent time at which the activation status was updated.
.google.protobuf.Timestamp activation_update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getActivationUpdateTimeOrBuilder in interface PhraseMatcherOrBuilderpublic int getRoleMatchValue()
The role whose utterances the phrase matcher should be matched against. If the role is ROLE_UNSPECIFIED it will be matched against any utterances in the transcript.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10;
getRoleMatchValue in interface PhraseMatcherOrBuilderpublic ConversationParticipant.Role getRoleMatch()
The role whose utterances the phrase matcher should be matched against. If the role is ROLE_UNSPECIFIED it will be matched against any utterances in the transcript.
.google.cloud.contactcenterinsights.v1.ConversationParticipant.Role role_match = 10;
getRoleMatch in interface PhraseMatcherOrBuilderpublic boolean hasUpdateTime()
Output only. The most recent time at which the phrase matcher was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface PhraseMatcherOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The most recent time at which the phrase matcher was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface PhraseMatcherOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The most recent time at which the phrase matcher was updated.
.google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface PhraseMatcherOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static PhraseMatcher parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PhraseMatcher parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PhraseMatcher parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PhraseMatcher parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PhraseMatcher parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PhraseMatcher parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PhraseMatcher parseFrom(InputStream input) throws IOException
IOExceptionpublic static PhraseMatcher parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PhraseMatcher parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PhraseMatcher parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PhraseMatcher parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PhraseMatcher parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PhraseMatcher.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PhraseMatcher.Builder newBuilder()
public static PhraseMatcher.Builder newBuilder(PhraseMatcher prototype)
public PhraseMatcher.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PhraseMatcher.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PhraseMatcher getDefaultInstance()
public static com.google.protobuf.Parser<PhraseMatcher> parser()
public com.google.protobuf.Parser<PhraseMatcher> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PhraseMatcher getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.