public static final class DeleteContextRequest.Builder extends GeneratedMessage.Builder<DeleteContextRequest.Builder> implements DeleteContextRequestOrBuilderThe request message for Contexts.DeleteContext.
Protobuf type google.cloud.dialogflow.v2beta1.DeleteContextRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeleteContextRequest.BuilderImplements
DeleteContextRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeleteContextRequest build()| Returns | |
|---|---|
| Type | Description |
DeleteContextRequest |
|
buildPartial()
public DeleteContextRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
DeleteContextRequest |
|
clear()
public DeleteContextRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeleteContextRequest.Builder |
|
clearName()
public DeleteContextRequest.Builder clearName()Required. The name of the context to delete. Supported formats:
projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>,projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session ID>/contexts/<Context ID>,projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>/contexts/<Context ID>,projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>/contexts/<Context ID>,If
Location IDis not specified we assume default 'us' location. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DeleteContextRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeleteContextRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeleteContextRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The name of the context to delete. Supported formats:
projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>,projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session ID>/contexts/<Context ID>,projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>/contexts/<Context ID>,projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>/contexts/<Context ID>,If
Location IDis not specified we assume default 'us' location. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
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 context to delete. Supported formats:
projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>,projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session ID>/contexts/<Context ID>,projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>/contexts/<Context ID>,projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>/contexts/<Context ID>,If
Location IDis not specified we assume default 'us' location. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
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(DeleteContextRequest other)
public DeleteContextRequest.Builder mergeFrom(DeleteContextRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeleteContextRequest |
| Returns | |
|---|---|
| Type | Description |
DeleteContextRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteContextRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeleteContextRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeleteContextRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeleteContextRequest.Builder |
|
setName(String value)
public DeleteContextRequest.Builder setName(String value)Required. The name of the context to delete. Supported formats:
projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>,projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session ID>/contexts/<Context ID>,projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>/contexts/<Context ID>,projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>/contexts/<Context ID>,If
Location IDis not specified we assume default 'us' location. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteContextRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DeleteContextRequest.Builder setNameBytes(ByteString value)Required. The name of the context to delete. Supported formats:
projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>,projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session ID>/contexts/<Context ID>,projects/<Project ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>/contexts/<Context ID>,projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>/contexts/<Context ID>,If
Location IDis not specified we assume default 'us' location. IfEnvironment IDis not specified, we assume default 'draft' environment. IfUser IDis not specified, we assume default '-' user.
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 |
DeleteContextRequest.Builder |
This builder for chaining. |