Class Conversation.CallMetadata.Builder (2.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Conversation.CallMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Conversation.CallMetadata.Builder
Overrides

build()

public Conversation.CallMetadata build()
Returns
TypeDescription
Conversation.CallMetadata

buildPartial()

public Conversation.CallMetadata buildPartial()
Returns
TypeDescription
Conversation.CallMetadata

clear()

public Conversation.CallMetadata.Builder clear()
Returns
TypeDescription
Conversation.CallMetadata.Builder
Overrides

clearAgentChannel()

public Conversation.CallMetadata.Builder clearAgentChannel()

The audio channel that contains the agent.

int32 agent_channel = 2;

Returns
TypeDescription
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
TypeDescription
Conversation.CallMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Conversation.CallMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Conversation.CallMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Conversation.CallMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Conversation.CallMetadata.Builder
Overrides

clone()

public Conversation.CallMetadata.Builder clone()
Returns
TypeDescription
Conversation.CallMetadata.Builder
Overrides

getAgentChannel()

public int getAgentChannel()

The audio channel that contains the agent.

int32 agent_channel = 2;

Returns
TypeDescription
int

The agentChannel.

getCustomerChannel()

public int getCustomerChannel()

The audio channel that contains the customer.

int32 customer_channel = 1;

Returns
TypeDescription
int

The customerChannel.

getDefaultInstanceForType()

public Conversation.CallMetadata getDefaultInstanceForType()
Returns
TypeDescription
Conversation.CallMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Conversation.CallMetadata other)

public Conversation.CallMetadata.Builder mergeFrom(Conversation.CallMetadata other)
Parameter
NameDescription
otherConversation.CallMetadata
Returns
TypeDescription
Conversation.CallMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Conversation.CallMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Conversation.CallMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Conversation.CallMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Conversation.CallMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Conversation.CallMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueint

The agentChannel to set.

Returns
TypeDescription
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
NameDescription
valueint

The customerChannel to set.

Returns
TypeDescription
Conversation.CallMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Conversation.CallMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Conversation.CallMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Conversation.CallMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Conversation.CallMetadata.Builder
Overrides