public static final class CreatePhraseMatcherRequest.Builder extends GeneratedMessage.Builder<CreatePhraseMatcherRequest.Builder> implements CreatePhraseMatcherRequestOrBuilderRequest to create a phrase matcher.
Protobuf type google.cloud.contactcenterinsights.v1.CreatePhraseMatcherRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreatePhraseMatcherRequest.BuilderImplements
CreatePhraseMatcherRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreatePhraseMatcherRequest build()| Returns | |
|---|---|
| Type | Description |
CreatePhraseMatcherRequest |
|
buildPartial()
public CreatePhraseMatcherRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreatePhraseMatcherRequest |
|
clear()
public CreatePhraseMatcherRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreatePhraseMatcherRequest.Builder |
|
clearParent()
public CreatePhraseMatcherRequest.Builder clearParent() Required. The parent resource of the phrase matcher. Required. The location
to create a phrase matcher for. Format: projects/<Project
ID>/locations/<Location ID> or projects/<Project
Number>/locations/<Location ID>
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreatePhraseMatcherRequest.Builder |
This builder for chaining. |
clearPhraseMatcher()
public CreatePhraseMatcherRequest.Builder clearPhraseMatcher()Required. The phrase matcher resource to create.
.google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreatePhraseMatcherRequest.Builder |
|
getDefaultInstanceForType()
public CreatePhraseMatcherRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreatePhraseMatcherRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The parent resource of the phrase matcher. Required. The location
to create a phrase matcher for. Format: projects/<Project
ID>/locations/<Location ID> or projects/<Project
Number>/locations/<Location ID>
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The parent resource of the phrase matcher. Required. The location
to create a phrase matcher for. Format: projects/<Project
ID>/locations/<Location ID> or projects/<Project
Number>/locations/<Location ID>
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getPhraseMatcher()
public PhraseMatcher getPhraseMatcher()Required. The phrase matcher resource to create.
.google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PhraseMatcher |
The phraseMatcher. |
getPhraseMatcherBuilder()
public PhraseMatcher.Builder getPhraseMatcherBuilder()Required. The phrase matcher resource to create.
.google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PhraseMatcher.Builder |
|
getPhraseMatcherOrBuilder()
public PhraseMatcherOrBuilder getPhraseMatcherOrBuilder()Required. The phrase matcher resource to create.
.google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PhraseMatcherOrBuilder |
|
hasPhraseMatcher()
public boolean hasPhraseMatcher()Required. The phrase matcher resource to create.
.google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the phraseMatcher field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreatePhraseMatcherRequest other)
public CreatePhraseMatcherRequest.Builder mergeFrom(CreatePhraseMatcherRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreatePhraseMatcherRequest |
| Returns | |
|---|---|
| Type | Description |
CreatePhraseMatcherRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreatePhraseMatcherRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreatePhraseMatcherRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreatePhraseMatcherRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreatePhraseMatcherRequest.Builder |
|
mergePhraseMatcher(PhraseMatcher value)
public CreatePhraseMatcherRequest.Builder mergePhraseMatcher(PhraseMatcher value)Required. The phrase matcher resource to create.
.google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
PhraseMatcher |
| Returns | |
|---|---|
| Type | Description |
CreatePhraseMatcherRequest.Builder |
|
setParent(String value)
public CreatePhraseMatcherRequest.Builder setParent(String value) Required. The parent resource of the phrase matcher. Required. The location
to create a phrase matcher for. Format: projects/<Project
ID>/locations/<Location ID> or projects/<Project
Number>/locations/<Location ID>
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreatePhraseMatcherRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreatePhraseMatcherRequest.Builder setParentBytes(ByteString value) Required. The parent resource of the phrase matcher. Required. The location
to create a phrase matcher for. Format: projects/<Project
ID>/locations/<Location ID> or projects/<Project
Number>/locations/<Location ID>
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreatePhraseMatcherRequest.Builder |
This builder for chaining. |
setPhraseMatcher(PhraseMatcher value)
public CreatePhraseMatcherRequest.Builder setPhraseMatcher(PhraseMatcher value)Required. The phrase matcher resource to create.
.google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
PhraseMatcher |
| Returns | |
|---|---|
| Type | Description |
CreatePhraseMatcherRequest.Builder |
|
setPhraseMatcher(PhraseMatcher.Builder builderForValue)
public CreatePhraseMatcherRequest.Builder setPhraseMatcher(PhraseMatcher.Builder builderForValue)Required. The phrase matcher resource to create.
.google.cloud.contactcenterinsights.v1.PhraseMatcher phrase_matcher = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PhraseMatcher.Builder |
| Returns | |
|---|---|
| Type | Description |
CreatePhraseMatcherRequest.Builder |
|