public static final class DeleteIntentRequest.Builder extends GeneratedMessage.Builder<DeleteIntentRequest.Builder> implements DeleteIntentRequestOrBuilderThe request message for Intents.DeleteIntent.
Protobuf type google.cloud.dialogflow.v2beta1.DeleteIntentRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeleteIntentRequest.BuilderImplements
DeleteIntentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeleteIntentRequest build()| Returns | |
|---|---|
| Type | Description |
DeleteIntentRequest |
|
buildPartial()
public DeleteIntentRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
DeleteIntentRequest |
|
clear()
public DeleteIntentRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeleteIntentRequest.Builder |
|
clearName()
public DeleteIntentRequest.Builder clearName()Required. The name of the intent to delete. If this intent has direct or indirect followup intents, we also delete them.
Supported formats:
projects/<Project ID>/agent/intents/<Intent ID>projects/<Project ID>/locations/<Location ID>/agent/intents/<Intent ID>
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DeleteIntentRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeleteIntentRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeleteIntentRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The name of the intent to delete. If this intent has direct or indirect followup intents, we also delete them.
Supported formats:
projects/<Project ID>/agent/intents/<Intent ID>projects/<Project ID>/locations/<Location ID>/agent/intents/<Intent ID>
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The name of the intent to delete. If this intent has direct or indirect followup intents, we also delete them.
Supported formats:
projects/<Project ID>/agent/intents/<Intent ID>projects/<Project ID>/locations/<Location ID>/agent/intents/<Intent ID>
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeleteIntentRequest other)
public DeleteIntentRequest.Builder mergeFrom(DeleteIntentRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeleteIntentRequest |
| Returns | |
|---|---|
| Type | Description |
DeleteIntentRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteIntentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeleteIntentRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeleteIntentRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeleteIntentRequest.Builder |
|
setName(String value)
public DeleteIntentRequest.Builder setName(String value)Required. The name of the intent to delete. If this intent has direct or indirect followup intents, we also delete them.
Supported formats:
projects/<Project ID>/agent/intents/<Intent ID>projects/<Project ID>/locations/<Location ID>/agent/intents/<Intent ID>
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteIntentRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DeleteIntentRequest.Builder setNameBytes(ByteString value)Required. The name of the intent to delete. If this intent has direct or indirect followup intents, we also delete them.
Supported formats:
projects/<Project ID>/agent/intents/<Intent ID>projects/<Project ID>/locations/<Location ID>/agent/intents/<Intent ID>
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteIntentRequest.Builder |
This builder for chaining. |