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.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 value)
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(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.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(PhraseMatcher other)
PhraseMatcher.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
PhraseMatcher.Builder
mergeFrom(com.google.protobuf.Message 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 value)
Output only.PhraseMatcher.Builder
setActivationUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
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 value)
A list of phase match rule groups that are included in this matcher.PhraseMatcher.Builder
setPhraseMatchRuleGroups(int index, PhraseMatchRuleGroup.Builder builderForValue)
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 value)
Output only.PhraseMatcher.Builder
setRevisionCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
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 value)
Output only.PhraseMatcher.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
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.-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
clear
public PhraseMatcher.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
getDefaultInstanceForType
public PhraseMatcher getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PhraseMatcher build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PhraseMatcher buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PhraseMatcher.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
setField
public PhraseMatcher.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
clearField
public PhraseMatcher.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
clearOneof
public PhraseMatcher.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
setRepeatedField
public PhraseMatcher.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
addRepeatedField
public PhraseMatcher.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
mergeFrom
public PhraseMatcher.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PhraseMatcher.Builder>
-
mergeFrom
public PhraseMatcher.Builder mergeFrom(PhraseMatcher other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
getRevisionId
in 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:
getRevisionIdBytes
in 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:
getVersionTag
in 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:
getVersionTagBytes
in 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:
hasRevisionCreateTime
in 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:
getRevisionCreateTime
in 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:
getRevisionCreateTimeOrBuilder
in interfacePhraseMatcherOrBuilder
-
getDisplayName
public String getDisplayName()
The human-readable name of the phrase matcher.
string display_name = 5;
- Specified by:
getDisplayName
in 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:
getDisplayNameBytes
in 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:
getTypeValue
in 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:
getType
in 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:
getActive
in 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:
getPhraseMatchRuleGroupsList
in 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:
getPhraseMatchRuleGroupsCount
in 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:
getPhraseMatchRuleGroups
in 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:
getPhraseMatchRuleGroupsOrBuilder
in 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:
getPhraseMatchRuleGroupsOrBuilderList
in 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:
hasActivationUpdateTime
in 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:
getActivationUpdateTime
in 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:
getActivationUpdateTimeOrBuilder
in 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:
getRoleMatchValue
in 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:
getRoleMatch
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in interfacePhraseMatcherOrBuilder
-
setUnknownFields
public final PhraseMatcher.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
mergeUnknownFields
public final PhraseMatcher.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PhraseMatcher.Builder>
-
-