Class GetConversationRequest.Builder (0.1.0)

public static final class GetConversationRequest.Builder extends GeneratedMessage.Builder<GetConversationRequest.Builder> implements GetConversationRequestOrBuilder

Request message for AgentService.GetConversation.

Protobuf type google.cloud.ces.v1.GetConversationRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public GetConversationRequest build()
Returns
Type Description
GetConversationRequest

buildPartial()

public GetConversationRequest buildPartial()
Returns
Type Description
GetConversationRequest

clear()

public GetConversationRequest.Builder clear()
Returns
Type Description
GetConversationRequest.Builder
Overrides

clearName()

public GetConversationRequest.Builder clearName()

Required. The resource name of the conversation to retrieve.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GetConversationRequest.Builder

This builder for chaining.

clearSource() (deprecated)

public GetConversationRequest.Builder clearSource()

Deprecated. google.cloud.ces.v1.GetConversationRequest.source is deprecated. See google/cloud/ces/v1/agent_service.proto;l=1141

Optional. Indicate the source of the conversation. If not set, all source will be searched.

.google.cloud.ces.v1.Conversation.Source source = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GetConversationRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetConversationRequest getDefaultInstanceForType()
Returns
Type Description
GetConversationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The resource name of the conversation to retrieve.

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 retrieve.

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.GetConversationRequest.source is deprecated. See google/cloud/ces/v1/agent_service.proto;l=1141

Optional. Indicate the source of the conversation. If not set, all source will be searched.

.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.GetConversationRequest.source is deprecated. See google/cloud/ces/v1/agent_service.proto;l=1141

Optional. Indicate the source of the conversation. If not set, all source will be searched.

.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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetConversationRequest other)

public GetConversationRequest.Builder mergeFrom(GetConversationRequest other)
Parameter
Name Description
other GetConversationRequest
Returns
Type Description
GetConversationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GetConversationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GetConversationRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GetConversationRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GetConversationRequest.Builder
Overrides

setName(String value)

public GetConversationRequest.Builder setName(String value)

Required. The resource name of the conversation to retrieve.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetConversationRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetConversationRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the conversation to retrieve.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetConversationRequest.Builder

This builder for chaining.

setSource(Conversation.Source value) (deprecated)

public GetConversationRequest.Builder setSource(Conversation.Source value)

Deprecated. google.cloud.ces.v1.GetConversationRequest.source is deprecated. See google/cloud/ces/v1/agent_service.proto;l=1141

Optional. Indicate the source of the conversation. If not set, all source will be searched.

.google.cloud.ces.v1.Conversation.Source source = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Conversation.Source

The source to set.

Returns
Type Description
GetConversationRequest.Builder

This builder for chaining.

setSourceValue(int value) (deprecated)

public GetConversationRequest.Builder setSourceValue(int value)

Deprecated. google.cloud.ces.v1.GetConversationRequest.source is deprecated. See google/cloud/ces/v1/agent_service.proto;l=1141

Optional. Indicate the source of the conversation. If not set, all source will be searched.

.google.cloud.ces.v1.Conversation.Source source = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for source to set.

Returns
Type Description
GetConversationRequest.Builder

This builder for chaining.