Class IngestConversationsRequest.ConversationConfig.Builder (2.30.0)

public static final class IngestConversationsRequest.ConversationConfig.Builder extends GeneratedMessageV3.Builder<IngestConversationsRequest.ConversationConfig.Builder> implements IngestConversationsRequest.ConversationConfigOrBuilder

Configuration that applies to all conversations.

Protobuf type google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IngestConversationsRequest.ConversationConfig build()
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig

buildPartial()

public IngestConversationsRequest.ConversationConfig buildPartial()
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig

clear()

public IngestConversationsRequest.ConversationConfig.Builder clear()
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder
Overrides

clearAgentChannel()

public IngestConversationsRequest.ConversationConfig.Builder clearAgentChannel()

Optional. For audio conversations, this field indicates which of the channels, 1 or 2, contains the agent. Note that this must be set for audio conversations to be properly displayed and analyzed.

int32 agent_channel = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder

This builder for chaining.

clearAgentId()

public IngestConversationsRequest.ConversationConfig.Builder clearAgentId()

An opaque, user-specified string representing the human agent who handled the conversations.

string agent_id = 1;

Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder

This builder for chaining.

clearCustomerChannel()

public IngestConversationsRequest.ConversationConfig.Builder clearCustomerChannel()

Optional. For audio conversations, this field indicates which of the channels, 1 or 2, contains the customer. Note that this must be set for audio conversations to be properly displayed and analyzed.

int32 customer_channel = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public IngestConversationsRequest.ConversationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public IngestConversationsRequest.ConversationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder
Overrides

clone()

public IngestConversationsRequest.ConversationConfig.Builder clone()
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder
Overrides

getAgentChannel()

public int getAgentChannel()

Optional. For audio conversations, this field indicates which of the channels, 1 or 2, contains the agent. Note that this must be set for audio conversations to be properly displayed and analyzed.

int32 agent_channel = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The agentChannel.

getAgentId()

public String getAgentId()

An opaque, user-specified string representing the human agent who handled the conversations.

string agent_id = 1;

Returns
TypeDescription
String

The agentId.

getAgentIdBytes()

public ByteString getAgentIdBytes()

An opaque, user-specified string representing the human agent who handled the conversations.

string agent_id = 1;

Returns
TypeDescription
ByteString

The bytes for agentId.

getCustomerChannel()

public int getCustomerChannel()

Optional. For audio conversations, this field indicates which of the channels, 1 or 2, contains the customer. Note that this must be set for audio conversations to be properly displayed and analyzed.

int32 customer_channel = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The customerChannel.

getDefaultInstanceForType()

public IngestConversationsRequest.ConversationConfig getDefaultInstanceForType()
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig

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(IngestConversationsRequest.ConversationConfig other)

public IngestConversationsRequest.ConversationConfig.Builder mergeFrom(IngestConversationsRequest.ConversationConfig other)
Parameter
NameDescription
otherIngestConversationsRequest.ConversationConfig
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public IngestConversationsRequest.ConversationConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IngestConversationsRequest.ConversationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder
Overrides

setAgentChannel(int value)

public IngestConversationsRequest.ConversationConfig.Builder setAgentChannel(int value)

Optional. For audio conversations, this field indicates which of the channels, 1 or 2, contains the agent. Note that this must be set for audio conversations to be properly displayed and analyzed.

int32 agent_channel = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

The agentChannel to set.

Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder

This builder for chaining.

setAgentId(String value)

public IngestConversationsRequest.ConversationConfig.Builder setAgentId(String value)

An opaque, user-specified string representing the human agent who handled the conversations.

string agent_id = 1;

Parameter
NameDescription
valueString

The agentId to set.

Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder

This builder for chaining.

setAgentIdBytes(ByteString value)

public IngestConversationsRequest.ConversationConfig.Builder setAgentIdBytes(ByteString value)

An opaque, user-specified string representing the human agent who handled the conversations.

string agent_id = 1;

Parameter
NameDescription
valueByteString

The bytes for agentId to set.

Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder

This builder for chaining.

setCustomerChannel(int value)

public IngestConversationsRequest.ConversationConfig.Builder setCustomerChannel(int value)

Optional. For audio conversations, this field indicates which of the channels, 1 or 2, contains the customer. Note that this must be set for audio conversations to be properly displayed and analyzed.

int32 customer_channel = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueint

The customerChannel to set.

Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public IngestConversationsRequest.ConversationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder
Overrides

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

public IngestConversationsRequest.ConversationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final IngestConversationsRequest.ConversationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder
Overrides