Class PhraseMatcher.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
- com.google.cloud.contactcenterinsights.v1.PhraseMatcher.Builder
-
- All Implemented Interfaces:
PhraseMatcherOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PhraseMatcher
public static final class PhraseMatcher.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder> implements PhraseMatcherOrBuilder
The phrase matcher resource.
Protobuf typegoogle.cloud.contactcenterinsights.v1.PhraseMatcher
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PhraseMatcher.BuilderaddAllPhraseMatchRuleGroups(Iterable<? extends PhraseMatchRuleGroup> values)A list of phase match rule groups that are included in this matcher.PhraseMatcher.BuilderaddPhraseMatchRuleGroups(int index, PhraseMatchRuleGroup value)A list of phase match rule groups that are included in this matcher.PhraseMatcher.BuilderaddPhraseMatchRuleGroups(int index, PhraseMatchRuleGroup.Builder builderForValue)A list of phase match rule groups that are included in this matcher.PhraseMatcher.BuilderaddPhraseMatchRuleGroups(PhraseMatchRuleGroup value)A list of phase match rule groups that are included in this matcher.PhraseMatcher.BuilderaddPhraseMatchRuleGroups(PhraseMatchRuleGroup.Builder builderForValue)A list of phase match rule groups that are included in this matcher.PhraseMatchRuleGroup.BuilderaddPhraseMatchRuleGroupsBuilder()A list of phase match rule groups that are included in this matcher.PhraseMatchRuleGroup.BuilderaddPhraseMatchRuleGroupsBuilder(int index)A list of phase match rule groups that are included in this matcher.PhraseMatcher.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PhraseMatcherbuild()PhraseMatcherbuildPartial()PhraseMatcher.Builderclear()PhraseMatcher.BuilderclearActivationUpdateTime()Output only.PhraseMatcher.BuilderclearActive()Applies the phrase matcher only when it is active.PhraseMatcher.BuilderclearDisplayName()The human-readable name of the phrase matcher.PhraseMatcher.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PhraseMatcher.BuilderclearName()The resource name of the phrase matcher.PhraseMatcher.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PhraseMatcher.BuilderclearPhraseMatchRuleGroups()A list of phase match rule groups that are included in this matcher.PhraseMatcher.BuilderclearRevisionCreateTime()Output only.PhraseMatcher.BuilderclearRevisionId()Output only.PhraseMatcher.BuilderclearRoleMatch()The role whose utterances the phrase matcher should be matched against.PhraseMatcher.BuilderclearType()Required.PhraseMatcher.BuilderclearUpdateTime()Output only.PhraseMatcher.BuilderclearVersionTag()The customized version tag to use for the phrase matcher.PhraseMatcher.Builderclone()com.google.protobuf.TimestampgetActivationUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetActivationUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetActivationUpdateTimeOrBuilder()Output only.booleangetActive()Applies the phrase matcher only when it is active.PhraseMatchergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()The human-readable name of the phrase matcher.com.google.protobuf.ByteStringgetDisplayNameBytes()The human-readable name of the phrase matcher.StringgetName()The resource name of the phrase matcher.com.google.protobuf.ByteStringgetNameBytes()The resource name of the phrase matcher.PhraseMatchRuleGroupgetPhraseMatchRuleGroups(int index)A list of phase match rule groups that are included in this matcher.PhraseMatchRuleGroup.BuildergetPhraseMatchRuleGroupsBuilder(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.intgetPhraseMatchRuleGroupsCount()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.PhraseMatchRuleGroupOrBuildergetPhraseMatchRuleGroupsOrBuilder(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.TimestampgetRevisionCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetRevisionCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetRevisionCreateTimeOrBuilder()Output only.StringgetRevisionId()Output only.com.google.protobuf.ByteStringgetRevisionIdBytes()Output only.ConversationParticipant.RolegetRoleMatch()The role whose utterances the phrase matcher should be matched against.intgetRoleMatchValue()The role whose utterances the phrase matcher should be matched against.PhraseMatcher.PhraseMatcherTypegetType()Required.intgetTypeValue()Required.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.StringgetVersionTag()The customized version tag to use for the phrase matcher.com.google.protobuf.ByteStringgetVersionTagBytes()The customized version tag to use for the phrase matcher.booleanhasActivationUpdateTime()Output only.booleanhasRevisionCreateTime()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()PhraseMatcher.BuildermergeActivationUpdateTime(com.google.protobuf.Timestamp value)Output only.PhraseMatcher.BuildermergeFrom(PhraseMatcher other)PhraseMatcher.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PhraseMatcher.BuildermergeFrom(com.google.protobuf.Message other)PhraseMatcher.BuildermergeRevisionCreateTime(com.google.protobuf.Timestamp value)Output only.PhraseMatcher.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PhraseMatcher.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.PhraseMatcher.BuilderremovePhraseMatchRuleGroups(int index)A list of phase match rule groups that are included in this matcher.PhraseMatcher.BuildersetActivationUpdateTime(com.google.protobuf.Timestamp value)Output only.PhraseMatcher.BuildersetActivationUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.PhraseMatcher.BuildersetActive(boolean value)Applies the phrase matcher only when it is active.PhraseMatcher.BuildersetDisplayName(String value)The human-readable name of the phrase matcher.PhraseMatcher.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)The human-readable name of the phrase matcher.PhraseMatcher.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PhraseMatcher.BuildersetName(String value)The resource name of the phrase matcher.PhraseMatcher.BuildersetNameBytes(com.google.protobuf.ByteString value)The resource name of the phrase matcher.PhraseMatcher.BuildersetPhraseMatchRuleGroups(int index, PhraseMatchRuleGroup value)A list of phase match rule groups that are included in this matcher.PhraseMatcher.BuildersetPhraseMatchRuleGroups(int index, PhraseMatchRuleGroup.Builder builderForValue)A list of phase match rule groups that are included in this matcher.PhraseMatcher.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)PhraseMatcher.BuildersetRevisionCreateTime(com.google.protobuf.Timestamp value)Output only.PhraseMatcher.BuildersetRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.PhraseMatcher.BuildersetRevisionId(String value)Output only.PhraseMatcher.BuildersetRevisionIdBytes(com.google.protobuf.ByteString value)Output only.PhraseMatcher.BuildersetRoleMatch(ConversationParticipant.Role value)The role whose utterances the phrase matcher should be matched against.PhraseMatcher.BuildersetRoleMatchValue(int value)The role whose utterances the phrase matcher should be matched against.PhraseMatcher.BuildersetType(PhraseMatcher.PhraseMatcherType value)Required.PhraseMatcher.BuildersetTypeValue(int value)Required.PhraseMatcher.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PhraseMatcher.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.PhraseMatcher.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.PhraseMatcher.BuildersetVersionTag(String value)The customized version tag to use for the phrase matcher.PhraseMatcher.BuildersetVersionTagBytes(com.google.protobuf.ByteString value)The customized version tag to use for the phrase matcher.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
clear
public PhraseMatcher.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
getDefaultInstanceForType
public PhraseMatcher getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PhraseMatcher build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PhraseMatcher buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PhraseMatcher.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
setField
public PhraseMatcher.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
clearField
public PhraseMatcher.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
clearOneof
public PhraseMatcher.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
setRepeatedField
public PhraseMatcher.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
addRepeatedField
public PhraseMatcher.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
mergeFrom
public PhraseMatcher.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PhraseMatcher.Builder>
-
mergeFrom
public PhraseMatcher.Builder mergeFrom(PhraseMatcher other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
mergeFrom
public PhraseMatcher.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PhraseMatcher.Builder>- Throws:
IOException
-
getName
public String getName()
The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}string name = 1;- Specified by:
getNamein interfacePhraseMatcherOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}string name = 1;- Specified by:
getNameBytesin interfacePhraseMatcherOrBuilder- Returns:
- The bytes for name.
-
setName
public PhraseMatcher.Builder setName(String value)
The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public PhraseMatcher.Builder clearName()
The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getRevisionId
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];- Specified by:
getRevisionIdin interfacePhraseMatcherOrBuilder- Returns:
- The revisionId.
-
getRevisionIdBytes
public 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];- Specified by:
getRevisionIdBytesin interfacePhraseMatcherOrBuilder- Returns:
- The bytes for revisionId.
-
setRevisionId
public 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];- Parameters:
value- The revisionId to set.- Returns:
- This builder for chaining.
-
clearRevisionId
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];- Returns:
- This builder for chaining.
-
setRevisionIdBytes
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];- Parameters:
value- The bytes for revisionId to set.- Returns:
- This builder for chaining.
-
getVersionTag
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;- Specified by:
getVersionTagin interfacePhraseMatcherOrBuilder- Returns:
- The versionTag.
-
getVersionTagBytes
public 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;- Specified by:
getVersionTagBytesin interfacePhraseMatcherOrBuilder- Returns:
- The bytes for versionTag.
-
setVersionTag
public 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;- Parameters:
value- The versionTag to set.- Returns:
- This builder for chaining.
-
clearVersionTag
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;- Returns:
- This builder for chaining.
-
setVersionTagBytes
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;- Parameters:
value- The bytes for versionTag to set.- Returns:
- This builder for chaining.
-
hasRevisionCreateTime
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];- Specified by:
hasRevisionCreateTimein interfacePhraseMatcherOrBuilder- Returns:
- Whether the revisionCreateTime field is set.
-
getRevisionCreateTime
public 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];- Specified by:
getRevisionCreateTimein interfacePhraseMatcherOrBuilder- Returns:
- The revisionCreateTime.
-
setRevisionCreateTime
public 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];
-
setRevisionCreateTime
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];
-
mergeRevisionCreateTime
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];
-
clearRevisionCreateTime
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];
-
getRevisionCreateTimeBuilder
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];
-
getRevisionCreateTimeOrBuilder
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];- Specified by:
getRevisionCreateTimeOrBuilderin interfacePhraseMatcherOrBuilder
-
getDisplayName
public String getDisplayName()
The human-readable name of the phrase matcher.
string display_name = 5;- Specified by:
getDisplayNamein interfacePhraseMatcherOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
The human-readable name of the phrase matcher.
string display_name = 5;- Specified by:
getDisplayNameBytesin interfacePhraseMatcherOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
public PhraseMatcher.Builder setDisplayName(String value)
The human-readable name of the phrase matcher.
string display_name = 5;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public PhraseMatcher.Builder clearDisplayName()
The human-readable name of the phrase matcher.
string display_name = 5;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public PhraseMatcher.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
The human-readable name of the phrase matcher.
string display_name = 5;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()
Required. The type of this phrase matcher.
.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTypeValuein interfacePhraseMatcherOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public 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];- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public PhraseMatcher.PhraseMatcherType getType()
Required. The type of this phrase matcher.
.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTypein interfacePhraseMatcherOrBuilder- Returns:
- The type.
-
setType
public 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];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public PhraseMatcher.Builder clearType()
Required. The type of this phrase matcher.
.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
getActive
public boolean getActive()
Applies the phrase matcher only when it is active.
bool active = 7;- Specified by:
getActivein interfacePhraseMatcherOrBuilder- Returns:
- The active.
-
setActive
public PhraseMatcher.Builder setActive(boolean value)
Applies the phrase matcher only when it is active.
bool active = 7;- Parameters:
value- The active to set.- Returns:
- This builder for chaining.
-
clearActive
public PhraseMatcher.Builder clearActive()
Applies the phrase matcher only when it is active.
bool active = 7;- Returns:
- This builder for chaining.
-
getPhraseMatchRuleGroupsList
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;- Specified by:
getPhraseMatchRuleGroupsListin interfacePhraseMatcherOrBuilder
-
getPhraseMatchRuleGroupsCount
public 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;- Specified by:
getPhraseMatchRuleGroupsCountin interfacePhraseMatcherOrBuilder
-
getPhraseMatchRuleGroups
public 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;- Specified by:
getPhraseMatchRuleGroupsin interfacePhraseMatcherOrBuilder
-
setPhraseMatchRuleGroups
public 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;
-
setPhraseMatchRuleGroups
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;
-
addPhraseMatchRuleGroups
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;
-
addPhraseMatchRuleGroups
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;
-
addPhraseMatchRuleGroups
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;
-
addPhraseMatchRuleGroups
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;
-
addAllPhraseMatchRuleGroups
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;
-
clearPhraseMatchRuleGroups
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;
-
removePhraseMatchRuleGroups
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;
-
getPhraseMatchRuleGroupsBuilder
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;
-
getPhraseMatchRuleGroupsOrBuilder
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;- Specified by:
getPhraseMatchRuleGroupsOrBuilderin interfacePhraseMatcherOrBuilder
-
getPhraseMatchRuleGroupsOrBuilderList
public 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;- Specified by:
getPhraseMatchRuleGroupsOrBuilderListin interfacePhraseMatcherOrBuilder
-
addPhraseMatchRuleGroupsBuilder
public 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;
-
addPhraseMatchRuleGroupsBuilder
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;
-
getPhraseMatchRuleGroupsBuilderList
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;
-
hasActivationUpdateTime
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];- Specified by:
hasActivationUpdateTimein interfacePhraseMatcherOrBuilder- Returns:
- Whether the activationUpdateTime field is set.
-
getActivationUpdateTime
public 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];- Specified by:
getActivationUpdateTimein interfacePhraseMatcherOrBuilder- Returns:
- The activationUpdateTime.
-
setActivationUpdateTime
public 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];
-
setActivationUpdateTime
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];
-
mergeActivationUpdateTime
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];
-
clearActivationUpdateTime
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];
-
getActivationUpdateTimeBuilder
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];
-
getActivationUpdateTimeOrBuilder
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];- Specified by:
getActivationUpdateTimeOrBuilderin interfacePhraseMatcherOrBuilder
-
getRoleMatchValue
public 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;- Specified by:
getRoleMatchValuein interfacePhraseMatcherOrBuilder- Returns:
- The enum numeric value on the wire for roleMatch.
-
setRoleMatchValue
public 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;- Parameters:
value- The enum numeric value on the wire for roleMatch to set.- Returns:
- This builder for chaining.
-
getRoleMatch
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;- Specified by:
getRoleMatchin interfacePhraseMatcherOrBuilder- Returns:
- The roleMatch.
-
setRoleMatch
public 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;- Parameters:
value- The roleMatch to set.- Returns:
- This builder for chaining.
-
clearRoleMatch
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;- Returns:
- This builder for chaining.
-
hasUpdateTime
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];- Specified by:
hasUpdateTimein interfacePhraseMatcherOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfacePhraseMatcherOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public 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];
-
setUpdateTime
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];
-
mergeUpdateTime
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];
-
clearUpdateTime
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];
-
getUpdateTimeBuilder
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];
-
getUpdateTimeOrBuilder
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];- Specified by:
getUpdateTimeOrBuilderin interfacePhraseMatcherOrBuilder
-
setUnknownFields
public final PhraseMatcher.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
mergeUnknownFields
public final PhraseMatcher.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
-