public static final class DeleteConversationRequest.Builder extends GeneratedMessage.Builder<DeleteConversationRequest.Builder> implements DeleteConversationRequestOrBuilderRequest message for AgentService.DeleteConversation.
Protobuf type google.cloud.ces.v1.DeleteConversationRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DeleteConversationRequest.BuilderImplements
DeleteConversationRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DeleteConversationRequest build()| Returns | |
|---|---|
| Type | Description |
DeleteConversationRequest |
|
buildPartial()
public DeleteConversationRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
DeleteConversationRequest |
|
clear()
public DeleteConversationRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
DeleteConversationRequest.Builder |
|
clearName()
public DeleteConversationRequest.Builder clearName()Required. The resource name of the conversation to delete.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
DeleteConversationRequest.Builder |
This builder for chaining. |
clearSource() (deprecated)
public DeleteConversationRequest.Builder clearSource()Deprecated. google.cloud.ces.v1.DeleteConversationRequest.source is deprecated. See google/cloud/ces/v1/agent_service.proto;l=1158
Optional. Indicate the source of the conversation. If not set, Source.Live will be applied by default.
.google.cloud.ces.v1.Conversation.Source source = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DeleteConversationRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public DeleteConversationRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DeleteConversationRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. The resource name of the conversation to delete.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The resource name of the conversation to delete.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getSource() (deprecated)
public Conversation.Source getSource()Deprecated. google.cloud.ces.v1.DeleteConversationRequest.source is deprecated. See google/cloud/ces/v1/agent_service.proto;l=1158
Optional. Indicate the source of the conversation. If not set, Source.Live will be applied by default.
.google.cloud.ces.v1.Conversation.Source source = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Conversation.Source |
The source. |
getSourceValue() (deprecated)
public int getSourceValue()Deprecated. google.cloud.ces.v1.DeleteConversationRequest.source is deprecated. See google/cloud/ces/v1/agent_service.proto;l=1158
Optional. Indicate the source of the conversation. If not set, Source.Live will be applied by default.
.google.cloud.ces.v1.Conversation.Source source = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for source. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DeleteConversationRequest other)
public DeleteConversationRequest.Builder mergeFrom(DeleteConversationRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
DeleteConversationRequest |
| Returns | |
|---|---|
| Type | Description |
DeleteConversationRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteConversationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DeleteConversationRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DeleteConversationRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DeleteConversationRequest.Builder |
|
setName(String value)
public DeleteConversationRequest.Builder setName(String value)Required. The resource name of the conversation to delete.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteConversationRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public DeleteConversationRequest.Builder setNameBytes(ByteString value)Required. The resource name of the conversation to delete.
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 |
DeleteConversationRequest.Builder |
This builder for chaining. |
setSource(Conversation.Source value) (deprecated)
public DeleteConversationRequest.Builder setSource(Conversation.Source value)Deprecated. google.cloud.ces.v1.DeleteConversationRequest.source is deprecated. See google/cloud/ces/v1/agent_service.proto;l=1158
Optional. Indicate the source of the conversation. If not set, Source.Live will be applied by default.
.google.cloud.ces.v1.Conversation.Source source = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Conversation.SourceThe source to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteConversationRequest.Builder |
This builder for chaining. |
setSourceValue(int value) (deprecated)
public DeleteConversationRequest.Builder setSourceValue(int value)Deprecated. google.cloud.ces.v1.DeleteConversationRequest.source is deprecated. See google/cloud/ces/v1/agent_service.proto;l=1158
Optional. Indicate the source of the conversation. If not set, Source.Live will be applied by default.
.google.cloud.ces.v1.Conversation.Source source = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for source to set. |
| Returns | |
|---|---|
| Type | Description |
DeleteConversationRequest.Builder |
This builder for chaining. |