public static final class PhraseMatchData.Builder extends GeneratedMessage.Builder<PhraseMatchData.Builder> implements PhraseMatchDataOrBuilderThe data for a matched phrase matcher. Represents information identifying a phrase matcher for a given match.
Protobuf type google.cloud.contactcenterinsights.v1.PhraseMatchData
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PhraseMatchData.BuilderImplements
PhraseMatchDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PhraseMatchData build()| Returns | |
|---|---|
| Type | Description |
PhraseMatchData |
|
buildPartial()
public PhraseMatchData buildPartial()| Returns | |
|---|---|
| Type | Description |
PhraseMatchData |
|
clear()
public PhraseMatchData.Builder clear()| Returns | |
|---|---|
| Type | Description |
PhraseMatchData.Builder |
|
clearDisplayName()
public PhraseMatchData.Builder clearDisplayName()The human-readable name of the phrase matcher.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
PhraseMatchData.Builder |
This builder for chaining. |
clearPhraseMatcher()
public PhraseMatchData.Builder clearPhraseMatcher()The unique identifier (the resource name) of the phrase matcher.
string phrase_matcher = 1;
| Returns | |
|---|---|
| Type | Description |
PhraseMatchData.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public PhraseMatchData getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PhraseMatchData |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()The human-readable name of the phrase matcher.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()The human-readable name of the phrase matcher.
string display_name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getPhraseMatcher()
public String getPhraseMatcher()The unique identifier (the resource name) of the phrase matcher.
string phrase_matcher = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The phraseMatcher. |
getPhraseMatcherBytes()
public ByteString getPhraseMatcherBytes()The unique identifier (the resource name) of the phrase matcher.
string phrase_matcher = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for phraseMatcher. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PhraseMatchData other)
public PhraseMatchData.Builder mergeFrom(PhraseMatchData other)| Parameter | |
|---|---|
| Name | Description |
other |
PhraseMatchData |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchData.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PhraseMatchData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchData.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PhraseMatchData.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchData.Builder |
|
setDisplayName(String value)
public PhraseMatchData.Builder setDisplayName(String value)The human-readable name of the phrase matcher.
string display_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchData.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public PhraseMatchData.Builder setDisplayNameBytes(ByteString value)The human-readable name of the phrase matcher.
string display_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchData.Builder |
This builder for chaining. |
setPhraseMatcher(String value)
public PhraseMatchData.Builder setPhraseMatcher(String value)The unique identifier (the resource name) of the phrase matcher.
string phrase_matcher = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe phraseMatcher to set. |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchData.Builder |
This builder for chaining. |
setPhraseMatcherBytes(ByteString value)
public PhraseMatchData.Builder setPhraseMatcherBytes(ByteString value)The unique identifier (the resource name) of the phrase matcher.
string phrase_matcher = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for phraseMatcher to set. |
| Returns | |
|---|---|
| Type | Description |
PhraseMatchData.Builder |
This builder for chaining. |