public static final class PhraseMatcher.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder> implements PhraseMatcherOrBuilder
The phrase matcher resource.Protobuf type
google.cloud.contactcenterinsights.v1.PhraseMatcher| Modifier and Type | Method and Description |
|---|---|
PhraseMatcher.Builder |
addAllPhraseMatchRuleGroups(Iterable<? extends PhraseMatchRuleGroup> values)
A list of phase match rule groups that are included in this matcher.
|
PhraseMatcher.Builder |
addPhraseMatchRuleGroups(int index,
PhraseMatchRuleGroup.Builder builderForValue)
A list of phase match rule groups that are included in this matcher.
|
PhraseMatcher.Builder |
addPhraseMatchRuleGroups(int index,
PhraseMatchRuleGroup value)
A list of phase match rule groups that are included in this matcher.
|
PhraseMatcher.Builder |
addPhraseMatchRuleGroups(PhraseMatchRuleGroup.Builder builderForValue)
A list of phase match rule groups that are included in this matcher.
|
PhraseMatcher.Builder |
addPhraseMatchRuleGroups(PhraseMatchRuleGroup value)
A list of phase match rule groups that are included in this matcher.
|
PhraseMatchRuleGroup.Builder |
addPhraseMatchRuleGroupsBuilder()
A list of phase match rule groups that are included in this matcher.
|
PhraseMatchRuleGroup.Builder |
addPhraseMatchRuleGroupsBuilder(int index)
A list of phase match rule groups that are included in this matcher.
|
PhraseMatcher.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PhraseMatcher |
build() |
PhraseMatcher |
buildPartial() |
PhraseMatcher.Builder |
clear() |
PhraseMatcher.Builder |
clearActivationUpdateTime()
Output only.
|
PhraseMatcher.Builder |
clearActive()
Applies the phrase matcher only when it is active.
|
PhraseMatcher.Builder |
clearDisplayName()
The human-readable name of the phrase matcher.
|
PhraseMatcher.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PhraseMatcher.Builder |
clearName()
The resource name of the phrase matcher.
|
PhraseMatcher.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PhraseMatcher.Builder |
clearPhraseMatchRuleGroups()
A list of phase match rule groups that are included in this matcher.
|
PhraseMatcher.Builder |
clearRevisionCreateTime()
Output only.
|
PhraseMatcher.Builder |
clearRevisionId()
Output only.
|
PhraseMatcher.Builder |
clearRoleMatch()
The role whose utterances the phrase matcher should be matched
against.
|
PhraseMatcher.Builder |
clearType()
Required.
|
PhraseMatcher.Builder |
clearUpdateTime()
Output only.
|
PhraseMatcher.Builder |
clearVersionTag()
The customized version tag to use for the phrase matcher.
|
PhraseMatcher.Builder |
clone() |
com.google.protobuf.Timestamp |
getActivationUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getActivationUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getActivationUpdateTimeOrBuilder()
Output only.
|
boolean |
getActive()
Applies the phrase matcher only when it is active.
|
PhraseMatcher |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
PhraseMatchRuleGroup |
getPhraseMatchRuleGroups(int index)
A list of phase match rule groups that are included in this matcher.
|
PhraseMatchRuleGroup.Builder |
getPhraseMatchRuleGroupsBuilder(int index)
A list of phase match rule groups that are included in this matcher.
|
List<PhraseMatchRuleGroup.Builder> |
getPhraseMatchRuleGroupsBuilderList()
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.Timestamp.Builder |
getRevisionCreateTimeBuilder()
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.
|
PhraseMatcher.PhraseMatcherType |
getType()
Required.
|
int |
getTypeValue()
Required.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
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.
|
boolean |
hasRevisionCreateTime()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PhraseMatcher.Builder |
mergeActivationUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
PhraseMatcher.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PhraseMatcher.Builder |
mergeFrom(com.google.protobuf.Message other) |
PhraseMatcher.Builder |
mergeFrom(PhraseMatcher other) |
PhraseMatcher.Builder |
mergeRevisionCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
PhraseMatcher.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PhraseMatcher.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
PhraseMatcher.Builder |
removePhraseMatchRuleGroups(int index)
A list of phase match rule groups that are included in this matcher.
|
PhraseMatcher.Builder |
setActivationUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
PhraseMatcher.Builder |
setActivationUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
PhraseMatcher.Builder |
setActive(boolean value)
Applies the phrase matcher only when it is active.
|
PhraseMatcher.Builder |
setDisplayName(String value)
The human-readable name of the phrase matcher.
|
PhraseMatcher.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
The human-readable name of the phrase matcher.
|
PhraseMatcher.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PhraseMatcher.Builder |
setName(String value)
The resource name of the phrase matcher.
|
PhraseMatcher.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The resource name of the phrase matcher.
|
PhraseMatcher.Builder |
setPhraseMatchRuleGroups(int index,
PhraseMatchRuleGroup.Builder builderForValue)
A list of phase match rule groups that are included in this matcher.
|
PhraseMatcher.Builder |
setPhraseMatchRuleGroups(int index,
PhraseMatchRuleGroup value)
A list of phase match rule groups that are included in this matcher.
|
PhraseMatcher.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PhraseMatcher.Builder |
setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
PhraseMatcher.Builder |
setRevisionCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
PhraseMatcher.Builder |
setRevisionId(String value)
Output only.
|
PhraseMatcher.Builder |
setRevisionIdBytes(com.google.protobuf.ByteString value)
Output only.
|
PhraseMatcher.Builder |
setRoleMatch(ConversationParticipant.Role value)
The role whose utterances the phrase matcher should be matched
against.
|
PhraseMatcher.Builder |
setRoleMatchValue(int value)
The role whose utterances the phrase matcher should be matched
against.
|
PhraseMatcher.Builder |
setType(PhraseMatcher.PhraseMatcherType value)
Required.
|
PhraseMatcher.Builder |
setTypeValue(int value)
Required.
|
PhraseMatcher.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PhraseMatcher.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
PhraseMatcher.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
PhraseMatcher.Builder |
setVersionTag(String value)
The customized version tag to use for the phrase matcher.
|
PhraseMatcher.Builder |
setVersionTagBytes(com.google.protobuf.ByteString value)
The customized version tag to use for the phrase matcher.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>public PhraseMatcher.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>public PhraseMatcher getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PhraseMatcher build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PhraseMatcher buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PhraseMatcher.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>public PhraseMatcher.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>public PhraseMatcher.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>public PhraseMatcher.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>public PhraseMatcher.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>public PhraseMatcher.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>public PhraseMatcher.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PhraseMatcher.Builder>public PhraseMatcher.Builder mergeFrom(PhraseMatcher other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>public PhraseMatcher.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PhraseMatcher.Builder>IOExceptionpublic 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 PhraseMatcher.Builder setName(String value)
The resource name of the phrase matcher.
Format:
projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
string name = 1;value - The name to set.public PhraseMatcher.Builder clearName()
The resource name of the phrase matcher.
Format:
projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
string name = 1;public PhraseMatcher.Builder setNameBytes(com.google.protobuf.ByteString value)
The resource name of the phrase matcher.
Format:
projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
string name = 1;value - The bytes for name to set.public 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 PhraseMatcher.Builder setRevisionId(String value)
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];
value - The revisionId to set.public PhraseMatcher.Builder clearRevisionId()
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];
public PhraseMatcher.Builder setRevisionIdBytes(com.google.protobuf.ByteString value)
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];
value - The bytes for revisionId to set.public 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 PhraseMatcher.Builder setVersionTag(String value)
The customized version tag to use for the phrase matcher. If not specified, it will default to `revision_id`.
string version_tag = 3;value - The versionTag to set.public PhraseMatcher.Builder clearVersionTag()
The customized version tag to use for the phrase matcher. If not specified, it will default to `revision_id`.
string version_tag = 3;public PhraseMatcher.Builder setVersionTagBytes(com.google.protobuf.ByteString value)
The customized version tag to use for the phrase matcher. If not specified, it will default to `revision_id`.
string version_tag = 3;value - The bytes for versionTag to set.public 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 PhraseMatcher.Builder setRevisionCreateTime(com.google.protobuf.Timestamp value)
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];
public PhraseMatcher.Builder setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
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];
public PhraseMatcher.Builder mergeRevisionCreateTime(com.google.protobuf.Timestamp value)
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];
public PhraseMatcher.Builder clearRevisionCreateTime()
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];
public com.google.protobuf.Timestamp.Builder getRevisionCreateTimeBuilder()
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];
public 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 PhraseMatcher.Builder setDisplayName(String value)
The human-readable name of the phrase matcher.
string display_name = 5;value - The displayName to set.public PhraseMatcher.Builder clearDisplayName()
The human-readable name of the phrase matcher.
string display_name = 5;public PhraseMatcher.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
The human-readable name of the phrase matcher.
string display_name = 5;value - The bytes for displayName to set.public 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.Builder setTypeValue(int value)
Required. The type of this phrase matcher.
.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED];
value - The enum numeric value on the wire for type to set.public 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 PhraseMatcher.Builder setType(PhraseMatcher.PhraseMatcherType value)
Required. The type of this phrase matcher.
.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED];
value - The type to set.public PhraseMatcher.Builder clearType()
Required. The type of this phrase matcher.
.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED];
public boolean getActive()
Applies the phrase matcher only when it is active.
bool active = 7;getActive in interface PhraseMatcherOrBuilderpublic PhraseMatcher.Builder setActive(boolean value)
Applies the phrase matcher only when it is active.
bool active = 7;value - The active to set.public PhraseMatcher.Builder clearActive()
Applies the phrase matcher only when it is active.
bool active = 7;public 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 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 PhraseMatcher.Builder setPhraseMatchRuleGroups(int index, PhraseMatchRuleGroup value)
A list of phase match rule groups that are included in this matcher.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
public PhraseMatcher.Builder setPhraseMatchRuleGroups(int index, PhraseMatchRuleGroup.Builder builderForValue)
A list of phase match rule groups that are included in this matcher.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
public PhraseMatcher.Builder addPhraseMatchRuleGroups(PhraseMatchRuleGroup value)
A list of phase match rule groups that are included in this matcher.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
public PhraseMatcher.Builder addPhraseMatchRuleGroups(int index, PhraseMatchRuleGroup value)
A list of phase match rule groups that are included in this matcher.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
public PhraseMatcher.Builder addPhraseMatchRuleGroups(PhraseMatchRuleGroup.Builder builderForValue)
A list of phase match rule groups that are included in this matcher.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
public PhraseMatcher.Builder addPhraseMatchRuleGroups(int index, PhraseMatchRuleGroup.Builder builderForValue)
A list of phase match rule groups that are included in this matcher.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
public PhraseMatcher.Builder addAllPhraseMatchRuleGroups(Iterable<? extends PhraseMatchRuleGroup> values)
A list of phase match rule groups that are included in this matcher.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
public PhraseMatcher.Builder clearPhraseMatchRuleGroups()
A list of phase match rule groups that are included in this matcher.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
public PhraseMatcher.Builder removePhraseMatchRuleGroups(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;
public PhraseMatchRuleGroup.Builder getPhraseMatchRuleGroupsBuilder(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;
public 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 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 PhraseMatchRuleGroup.Builder addPhraseMatchRuleGroupsBuilder()
A list of phase match rule groups that are included in this matcher.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
public PhraseMatchRuleGroup.Builder addPhraseMatchRuleGroupsBuilder(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;
public List<PhraseMatchRuleGroup.Builder> getPhraseMatchRuleGroupsBuilderList()
A list of phase match rule groups that are included in this matcher.
repeated .google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup phrase_match_rule_groups = 8;
public 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 PhraseMatcher.Builder setActivationUpdateTime(com.google.protobuf.Timestamp value)
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];
public PhraseMatcher.Builder setActivationUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
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];
public PhraseMatcher.Builder mergeActivationUpdateTime(com.google.protobuf.Timestamp value)
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];
public PhraseMatcher.Builder clearActivationUpdateTime()
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];
public com.google.protobuf.Timestamp.Builder getActivationUpdateTimeBuilder()
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];
public 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 PhraseMatcher.Builder setRoleMatchValue(int value)
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;
value - The enum numeric value on the wire for roleMatch to set.public 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 PhraseMatcher.Builder setRoleMatch(ConversationParticipant.Role value)
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;
value - The roleMatch to set.public PhraseMatcher.Builder clearRoleMatch()
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;
public 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 PhraseMatcher.Builder setUpdateTime(com.google.protobuf.Timestamp value)
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];
public PhraseMatcher.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
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];
public PhraseMatcher.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
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];
public PhraseMatcher.Builder clearUpdateTime()
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];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
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];
public 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 PhraseMatcher.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>public final PhraseMatcher.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>Copyright © 2023 Google LLC. All rights reserved.