- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.10
- 2.2.7
public static final class PhraseMatcher.Builder extends GeneratedMessageV3.Builder<PhraseMatcher.Builder> implements PhraseMatcherOrBuilder
The phrase matcher resource.
Protobuf type google.cloud.contactcenterinsights.v1.PhraseMatcher
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PhraseMatcher.BuilderImplements
PhraseMatcherOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllPhraseMatchRuleGroups(Iterable<? extends PhraseMatchRuleGroup> values)
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;
Name | Description |
values | Iterable<? extends com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup> |
Type | Description |
PhraseMatcher.Builder |
addPhraseMatchRuleGroups(PhraseMatchRuleGroup value)
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;
Name | Description |
value | PhraseMatchRuleGroup |
Type | Description |
PhraseMatcher.Builder |
addPhraseMatchRuleGroups(PhraseMatchRuleGroup.Builder builderForValue)
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;
Name | Description |
builderForValue | PhraseMatchRuleGroup.Builder |
Type | Description |
PhraseMatcher.Builder |
addPhraseMatchRuleGroups(int index, PhraseMatchRuleGroup value)
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;
Name | Description |
index | int |
value | PhraseMatchRuleGroup |
Type | Description |
PhraseMatcher.Builder |
addPhraseMatchRuleGroups(int index, PhraseMatchRuleGroup.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | PhraseMatchRuleGroup.Builder |
Type | Description |
PhraseMatcher.Builder |
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;
Type | Description |
PhraseMatchRuleGroup.Builder |
addPhraseMatchRuleGroupsBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
PhraseMatchRuleGroup.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PhraseMatcher.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PhraseMatcher.Builder |
build()
public PhraseMatcher build()
Type | Description |
PhraseMatcher |
buildPartial()
public PhraseMatcher buildPartial()
Type | Description |
PhraseMatcher |
clear()
public PhraseMatcher.Builder clear()
Type | Description |
PhraseMatcher.Builder |
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];
Type | Description |
PhraseMatcher.Builder |
clearActive()
public PhraseMatcher.Builder clearActive()
Applies the phrase matcher only when it is active.
bool active = 7;
Type | Description |
PhraseMatcher.Builder | This builder for chaining. |
clearDisplayName()
public PhraseMatcher.Builder clearDisplayName()
The human-readable name of the phrase matcher.
string display_name = 5;
Type | Description |
PhraseMatcher.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PhraseMatcher.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PhraseMatcher.Builder |
clearName()
public PhraseMatcher.Builder clearName()
The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
string name = 1;
Type | Description |
PhraseMatcher.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PhraseMatcher.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PhraseMatcher.Builder |
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;
Type | Description |
PhraseMatcher.Builder |
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];
Type | Description |
PhraseMatcher.Builder |
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];
Type | Description |
PhraseMatcher.Builder | 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;
Type | Description |
PhraseMatcher.Builder | 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];
Type | Description |
PhraseMatcher.Builder | This builder for chaining. |
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];
Type | Description |
PhraseMatcher.Builder |
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;
Type | Description |
PhraseMatcher.Builder | This builder for chaining. |
clone()
public PhraseMatcher.Builder clone()
Type | Description |
PhraseMatcher.Builder |
getActivationUpdateTime()
public 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];
Type | Description |
Timestamp | The activationUpdateTime. |
getActivationUpdateTimeBuilder()
public 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];
Type | Description |
Builder |
getActivationUpdateTimeOrBuilder()
public 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];
Type | Description |
TimestampOrBuilder |
getActive()
public boolean getActive()
Applies the phrase matcher only when it is active.
bool active = 7;
Type | Description |
boolean | The active. |
getDefaultInstanceForType()
public PhraseMatcher getDefaultInstanceForType()
Type | Description |
PhraseMatcher |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
The human-readable name of the phrase matcher.
string display_name = 5;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The human-readable name of the phrase matcher.
string display_name = 5;
Type | Description |
ByteString | The bytes for displayName. |
getName()
public String getName()
The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getPhraseMatchRuleGroups(int index)
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;
Name | Description |
index | int |
Type | Description |
PhraseMatchRuleGroup |
getPhraseMatchRuleGroupsBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
PhraseMatchRuleGroup.Builder |
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;
Type | Description |
List<Builder> |
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;
Type | Description |
int |
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;
Type | Description |
List<PhraseMatchRuleGroup> |
getPhraseMatchRuleGroupsOrBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
PhraseMatchRuleGroupOrBuilder |
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;
Type | Description |
List<? extends com.google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroupOrBuilder> |
getRevisionCreateTime()
public 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];
Type | Description |
Timestamp | The revisionCreateTime. |
getRevisionCreateTimeBuilder()
public 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];
Type | Description |
Builder |
getRevisionCreateTimeOrBuilder()
public 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];
Type | Description |
TimestampOrBuilder |
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];
Type | Description |
String | The revisionId. |
getRevisionIdBytes()
public 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];
Type | Description |
ByteString | The bytes for revisionId. |
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;
Type | Description |
ConversationParticipant.Role | The roleMatch. |
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;
Type | Description |
int | The enum numeric value on the wire for roleMatch. |
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];
Type | Description |
PhraseMatcher.PhraseMatcherType | The type. |
getTypeValue()
public int getTypeValue()
Required. The type of this phrase matcher.
.google.cloud.contactcenterinsights.v1.PhraseMatcher.PhraseMatcherType type = 6 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The enum numeric value on the wire for type. |
getUpdateTime()
public 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];
Type | Description |
Timestamp | The updateTime. |
getUpdateTimeBuilder()
public 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];
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public 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];
Type | Description |
TimestampOrBuilder |
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;
Type | Description |
String | The versionTag. |
getVersionTagBytes()
public 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;
Type | Description |
ByteString | The bytes for versionTag. |
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];
Type | Description |
boolean | Whether the activationUpdateTime field is set. |
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];
Type | Description |
boolean | Whether the revisionCreateTime field is set. |
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];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeActivationUpdateTime(Timestamp value)
public PhraseMatcher.Builder mergeActivationUpdateTime(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];
Name | Description |
value | Timestamp |
Type | Description |
PhraseMatcher.Builder |
mergeFrom(PhraseMatcher other)
public PhraseMatcher.Builder mergeFrom(PhraseMatcher other)
Name | Description |
other | PhraseMatcher |
Type | Description |
PhraseMatcher.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PhraseMatcher.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PhraseMatcher.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public PhraseMatcher.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
PhraseMatcher.Builder |
mergeRevisionCreateTime(Timestamp value)
public PhraseMatcher.Builder mergeRevisionCreateTime(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];
Name | Description |
value | Timestamp |
Type | Description |
PhraseMatcher.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PhraseMatcher.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PhraseMatcher.Builder |
mergeUpdateTime(Timestamp value)
public PhraseMatcher.Builder mergeUpdateTime(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];
Name | Description |
value | Timestamp |
Type | Description |
PhraseMatcher.Builder |
removePhraseMatchRuleGroups(int index)
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;
Name | Description |
index | int |
Type | Description |
PhraseMatcher.Builder |
setActivationUpdateTime(Timestamp value)
public PhraseMatcher.Builder setActivationUpdateTime(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];
Name | Description |
value | Timestamp |
Type | Description |
PhraseMatcher.Builder |
setActivationUpdateTime(Timestamp.Builder builderForValue)
public PhraseMatcher.Builder setActivationUpdateTime(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];
Name | Description |
builderForValue | Builder |
Type | Description |
PhraseMatcher.Builder |
setActive(boolean value)
public PhraseMatcher.Builder setActive(boolean value)
Applies the phrase matcher only when it is active.
bool active = 7;
Name | Description |
value | boolean The active to set. |
Type | Description |
PhraseMatcher.Builder | This builder for chaining. |
setDisplayName(String value)
public PhraseMatcher.Builder setDisplayName(String value)
The human-readable name of the phrase matcher.
string display_name = 5;
Name | Description |
value | String The displayName to set. |
Type | Description |
PhraseMatcher.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public PhraseMatcher.Builder setDisplayNameBytes(ByteString value)
The human-readable name of the phrase matcher.
string display_name = 5;
Name | Description |
value | ByteString The bytes for displayName to set. |
Type | Description |
PhraseMatcher.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PhraseMatcher.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PhraseMatcher.Builder |
setName(String value)
public PhraseMatcher.Builder setName(String value)
The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
PhraseMatcher.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public PhraseMatcher.Builder setNameBytes(ByteString value)
The resource name of the phrase matcher. Format: projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher}
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
PhraseMatcher.Builder | This builder for chaining. |
setPhraseMatchRuleGroups(int index, PhraseMatchRuleGroup value)
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;
Name | Description |
index | int |
value | PhraseMatchRuleGroup |
Type | Description |
PhraseMatcher.Builder |
setPhraseMatchRuleGroups(int index, PhraseMatchRuleGroup.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | PhraseMatchRuleGroup.Builder |
Type | Description |
PhraseMatcher.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PhraseMatcher.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
PhraseMatcher.Builder |
setRevisionCreateTime(Timestamp value)
public PhraseMatcher.Builder setRevisionCreateTime(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];
Name | Description |
value | Timestamp |
Type | Description |
PhraseMatcher.Builder |
setRevisionCreateTime(Timestamp.Builder builderForValue)
public PhraseMatcher.Builder setRevisionCreateTime(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];
Name | Description |
builderForValue | Builder |
Type | Description |
PhraseMatcher.Builder |
setRevisionId(String value)
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];
Name | Description |
value | String The revisionId to set. |
Type | Description |
PhraseMatcher.Builder | This builder for chaining. |
setRevisionIdBytes(ByteString value)
public PhraseMatcher.Builder setRevisionIdBytes(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];
Name | Description |
value | ByteString The bytes for revisionId to set. |
Type | Description |
PhraseMatcher.Builder | This builder for chaining. |
setRoleMatch(ConversationParticipant.Role value)
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;
Name | Description |
value | ConversationParticipant.Role The roleMatch to set. |
Type | Description |
PhraseMatcher.Builder | This builder for chaining. |
setRoleMatchValue(int value)
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;
Name | Description |
value | int The enum numeric value on the wire for roleMatch to set. |
Type | Description |
PhraseMatcher.Builder | This builder for chaining. |
setType(PhraseMatcher.PhraseMatcherType value)
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];
Name | Description |
value | PhraseMatcher.PhraseMatcherType The type to set. |
Type | Description |
PhraseMatcher.Builder | This builder for chaining. |
setTypeValue(int value)
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];
Name | Description |
value | int The enum numeric value on the wire for type to set. |
Type | Description |
PhraseMatcher.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PhraseMatcher.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PhraseMatcher.Builder |
setUpdateTime(Timestamp value)
public PhraseMatcher.Builder setUpdateTime(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];
Name | Description |
value | Timestamp |
Type | Description |
PhraseMatcher.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public PhraseMatcher.Builder setUpdateTime(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];
Name | Description |
builderForValue | Builder |
Type | Description |
PhraseMatcher.Builder |
setVersionTag(String value)
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;
Name | Description |
value | String The versionTag to set. |
Type | Description |
PhraseMatcher.Builder | This builder for chaining. |
setVersionTagBytes(ByteString value)
public PhraseMatcher.Builder setVersionTagBytes(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;
Name | Description |
value | ByteString The bytes for versionTag to set. |
Type | Description |
PhraseMatcher.Builder | This builder for chaining. |