public static final class DeleteAllContextsRequest.Builder extends GeneratedMessage.Builder<DeleteAllContextsRequest.Builder> implements DeleteAllContextsRequestOrBuilderThe request message for Contexts.DeleteAllContexts.
Protobuf type google.cloud.dialogflow.v2beta1.DeleteAllContextsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeleteAllContextsRequest.BuilderImplements
DeleteAllContextsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeleteAllContextsRequest build()| Returns | |
|---|---|
| Type | Description |
DeleteAllContextsRequest |
|
buildPartial()
public DeleteAllContextsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
DeleteAllContextsRequest |
|
clear()
public DeleteAllContextsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeleteAllContextsRequest.Builder |
|
clearParent()
public DeleteAllContextsRequest.Builder clearParent()Required. The name of the session to delete all contexts from. Supported formats:
projects/<Project ID>/agent/sessions/<Session ID>,- projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
ID>
, - projects/<Project ID>/agent/environments/<Environment ID>/users/<User
ID>/sessions/<Session ID>
, projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>
,IfLocation IDis not specified we assume default 'us' location. IfEnvironment IDis not specified we assume default 'draft' environment. IfUser ID` is not specified, we assume default '-' user.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DeleteAllContextsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeleteAllContextsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeleteAllContextsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent()Required. The name of the session to delete all contexts from. Supported formats:
projects/<Project ID>/agent/sessions/<Session ID>,- projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
ID>
, - projects/<Project ID>/agent/environments/<Environment ID>/users/<User
ID>/sessions/<Session ID>
, projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>
,IfLocation IDis not specified we assume default 'us' location. IfEnvironment IDis not specified we assume default 'draft' environment. IfUser ID` is not specified, we assume default '-' user.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. The name of the session to delete all contexts from. Supported formats:
projects/<Project ID>/agent/sessions/<Session ID>,- projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
ID>
, - projects/<Project ID>/agent/environments/<Environment ID>/users/<User
ID>/sessions/<Session ID>
, projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>
,IfLocation IDis not specified we assume default 'us' location. IfEnvironment IDis not specified we assume default 'draft' environment. IfUser ID` is not specified, we assume default '-' user.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeleteAllContextsRequest other)
public DeleteAllContextsRequest.Builder mergeFrom(DeleteAllContextsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeleteAllContextsRequest |
| Returns | |
|---|---|
| Type | Description |
DeleteAllContextsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteAllContextsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeleteAllContextsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeleteAllContextsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeleteAllContextsRequest.Builder |
|
setParent(String value)
public DeleteAllContextsRequest.Builder setParent(String value)Required. The name of the session to delete all contexts from. Supported formats:
projects/<Project ID>/agent/sessions/<Session ID>,- projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
ID>
, - projects/<Project ID>/agent/environments/<Environment ID>/users/<User
ID>/sessions/<Session ID>
, projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>
,IfLocation IDis not specified we assume default 'us' location. IfEnvironment IDis not specified we assume default 'draft' environment. IfUser ID` is not specified, we assume default '-' user.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteAllContextsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public DeleteAllContextsRequest.Builder setParentBytes(ByteString value)Required. The name of the session to delete all contexts from. Supported formats:
projects/<Project ID>/agent/sessions/<Session ID>,- projects/<Project ID>/locations/<Location ID>/agent/sessions/<Session
ID>
, - projects/<Project ID>/agent/environments/<Environment ID>/users/<User
ID>/sessions/<Session ID>
, projects/<Project ID>/locations/<Location ID>/agent/environments/<Environment ID>/users/<User ID>/sessions/<Session ID>
,IfLocation IDis not specified we assume default 'us' location. IfEnvironment IDis not specified we assume default 'draft' environment. IfUser ID` is not specified, we assume default '-' user.
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 |
DeleteAllContextsRequest.Builder |
This builder for chaining. |