Class Conversation.CallMetadata.Builder (2.53.0)

public static final class Conversation.CallMetadata.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Conversation.CallMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Conversation.CallMetadata.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public Conversation.CallMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Conversation.CallMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Conversation.CallMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Conversation.CallMetadata.Builder
Overrides

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Conversation.CallMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public Conversation.CallMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Conversation.CallMetadata.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Conversation.CallMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Conversation.CallMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Conversation.CallMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Conversation.CallMetadata.Builder
Overrides