public static final class BatchDeleteConversationsRequest.Builder extends GeneratedMessage.Builder<BatchDeleteConversationsRequest.Builder> implements BatchDeleteConversationsRequestOrBuilderRequest message for AgentService.BatchDeleteConversations.
Protobuf type google.cloud.ces.v1.BatchDeleteConversationsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BatchDeleteConversationsRequest.BuilderImplements
BatchDeleteConversationsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllConversations(Iterable<String> values)
public BatchDeleteConversationsRequest.Builder addAllConversations(Iterable<String> values)Required. The resource names of the conversations to delete.
repeated string conversations = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The conversations to add. |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteConversationsRequest.Builder |
This builder for chaining. |
addConversations(String value)
public BatchDeleteConversationsRequest.Builder addConversations(String value)Required. The resource names of the conversations to delete.
repeated string conversations = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe conversations to add. |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteConversationsRequest.Builder |
This builder for chaining. |
addConversationsBytes(ByteString value)
public BatchDeleteConversationsRequest.Builder addConversationsBytes(ByteString value)Required. The resource names of the conversations to delete.
repeated string conversations = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the conversations to add. |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteConversationsRequest.Builder |
This builder for chaining. |
build()
public BatchDeleteConversationsRequest build()| Returns | |
|---|---|
| Type | Description |
BatchDeleteConversationsRequest |
|
buildPartial()
public BatchDeleteConversationsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
BatchDeleteConversationsRequest |
|
clear()
public BatchDeleteConversationsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
BatchDeleteConversationsRequest.Builder |
|
clearConversations()
public BatchDeleteConversationsRequest.Builder clearConversations()Required. The resource names of the conversations to delete.
repeated string conversations = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
BatchDeleteConversationsRequest.Builder |
This builder for chaining. |
clearParent()
public BatchDeleteConversationsRequest.Builder clearParent() Required. The resource name of the app to delete conversations from.
Format:
projects/{project}/locations/{location}/apps/{app}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
BatchDeleteConversationsRequest.Builder |
This builder for chaining. |
getConversations(int index)
public String getConversations(int index)Required. The resource names of the conversations to delete.
repeated string conversations = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The conversations at the given index. |
getConversationsBytes(int index)
public ByteString getConversationsBytes(int index)Required. The resource names of the conversations to delete.
repeated string conversations = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the conversations at the given index. |
getConversationsCount()
public int getConversationsCount()Required. The resource names of the conversations to delete.
repeated string conversations = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
int |
The count of conversations. |
getConversationsList()
public ProtocolStringList getConversationsList()Required. The resource names of the conversations to delete.
repeated string conversations = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the conversations. |
getDefaultInstanceForType()
public BatchDeleteConversationsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BatchDeleteConversationsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The resource name of the app to delete conversations from.
Format:
projects/{project}/locations/{location}/apps/{app}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The resource name of the app to delete conversations from.
Format:
projects/{project}/locations/{location}/apps/{app}
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(BatchDeleteConversationsRequest other)
public BatchDeleteConversationsRequest.Builder mergeFrom(BatchDeleteConversationsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
BatchDeleteConversationsRequest |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteConversationsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BatchDeleteConversationsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteConversationsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BatchDeleteConversationsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteConversationsRequest.Builder |
|
setConversations(int index, String value)
public BatchDeleteConversationsRequest.Builder setConversations(int index, String value)Required. The resource names of the conversations to delete.
repeated string conversations = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe conversations to set. |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteConversationsRequest.Builder |
This builder for chaining. |
setParent(String value)
public BatchDeleteConversationsRequest.Builder setParent(String value) Required. The resource name of the app to delete conversations from.
Format:
projects/{project}/locations/{location}/apps/{app}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
BatchDeleteConversationsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public BatchDeleteConversationsRequest.Builder setParentBytes(ByteString value) Required. The resource name of the app to delete conversations from.
Format:
projects/{project}/locations/{location}/apps/{app}
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 |
BatchDeleteConversationsRequest.Builder |
This builder for chaining. |