Class Conversation.CallMetadata.Builder (2.83.0)

public static final class Conversation.CallMetadata.Builder extends GeneratedMessage.Builder<Conversation.CallMetadata.Builder> implements Conversation.CallMetadataOrBuilder

Call-specific metadata.

Protobuf type google.cloud.contactcenterinsights.v1.Conversation.CallMetadata

Static Methods

getDescriptor()

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

Methods

build()

public Conversation.CallMetadata build()
Returns
Type Description
Conversation.CallMetadata

buildPartial()

public Conversation.CallMetadata buildPartial()
Returns
Type Description
Conversation.CallMetadata

clear()

public Conversation.CallMetadata.Builder clear()
Returns
Type Description
Conversation.CallMetadata.Builder
Overrides

clearAgentChannel()

public Conversation.CallMetadata.Builder clearAgentChannel()

The audio channel that contains the agent.

int32 agent_channel = 2;

Returns
Type Description
Conversation.CallMetadata.Builder

This builder for chaining.

clearCustomerChannel()

public Conversation.CallMetadata.Builder clearCustomerChannel()

The audio channel that contains the customer.

int32 customer_channel = 1;

Returns
Type Description
Conversation.CallMetadata.Builder

This builder for chaining.

getAgentChannel()

public int getAgentChannel()

The audio channel that contains the agent.

int32 agent_channel = 2;

Returns
Type Description
int

The agentChannel.

getCustomerChannel()

public int getCustomerChannel()

The audio channel that contains the customer.

int32 customer_channel = 1;

Returns
Type Description
int

The customerChannel.

getDefaultInstanceForType()

public Conversation.CallMetadata getDefaultInstanceForType()
Returns
Type Description
Conversation.CallMetadata

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Conversation.CallMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAgentChannel(int value)

public Conversation.CallMetadata.Builder setAgentChannel(int value)

The audio channel that contains the agent.

int32 agent_channel = 2;

Parameter
Name Description
value int

The agentChannel to set.

Returns
Type Description
Conversation.CallMetadata.Builder

This builder for chaining.

setCustomerChannel(int value)

public Conversation.CallMetadata.Builder setCustomerChannel(int value)

The audio channel that contains the customer.

int32 customer_channel = 1;

Parameter
Name Description
value int

The customerChannel to set.

Returns
Type Description
Conversation.CallMetadata.Builder

This builder for chaining.