Class IngestConversationsRequest.ConversationConfig.Builder (2.55.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IngestConversationsRequest.ConversationConfig build()
Returns
Type Description
IngestConversationsRequest.ConversationConfig

buildPartial()

public IngestConversationsRequest.ConversationConfig buildPartial()
Returns
Type Description
IngestConversationsRequest.ConversationConfig

clear()

public IngestConversationsRequest.ConversationConfig.Builder clear()
Returns
Type Description
IngestConversationsRequest.ConversationConfig.Builder
Overrides

clearAgentChannel()

public IngestConversationsRequest.ConversationConfig.Builder clearAgentChannel()

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

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

Returns
Type Description
IngestConversationsRequest.ConversationConfig.Builder

This builder for chaining.

clearAgentId()

public IngestConversationsRequest.ConversationConfig.Builder clearAgentId()

Optional. An opaque, user-specified string representing a human agent who handled all conversations in the import. Note that this will be overridden if per-conversation metadata is provided through the metadata_bucket_uri.

string agent_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
IngestConversationsRequest.ConversationConfig.Builder

This builder for chaining.

clearCustomerChannel()

public IngestConversationsRequest.ConversationConfig.Builder clearCustomerChannel()

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

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

Returns
Type Description
IngestConversationsRequest.ConversationConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public IngestConversationsRequest.ConversationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
IngestConversationsRequest.ConversationConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public IngestConversationsRequest.ConversationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
IngestConversationsRequest.ConversationConfig.Builder
Overrides

clone()

public IngestConversationsRequest.ConversationConfig.Builder clone()
Returns
Type Description
IngestConversationsRequest.ConversationConfig.Builder
Overrides

getAgentChannel()

public int getAgentChannel()

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

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

Returns
Type Description
int

The agentChannel.

getAgentId()

public String getAgentId()

Optional. An opaque, user-specified string representing a human agent who handled all conversations in the import. Note that this will be overridden if per-conversation metadata is provided through the metadata_bucket_uri.

string agent_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The agentId.

getAgentIdBytes()

public ByteString getAgentIdBytes()

Optional. An opaque, user-specified string representing a human agent who handled all conversations in the import. Note that this will be overridden if per-conversation metadata is provided through the metadata_bucket_uri.

string agent_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for agentId.

getCustomerChannel()

public int getCustomerChannel()

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

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

Returns
Type Description
int

The customerChannel.

getDefaultInstanceForType()

public IngestConversationsRequest.ConversationConfig getDefaultInstanceForType()
Returns
Type Description
IngestConversationsRequest.ConversationConfig

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IngestConversationsRequest.ConversationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IngestConversationsRequest.ConversationConfig.Builder
Overrides

setAgentChannel(int value)

public IngestConversationsRequest.ConversationConfig.Builder setAgentChannel(int value)

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

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

Parameter
Name Description
value int

The agentChannel to set.

Returns
Type Description
IngestConversationsRequest.ConversationConfig.Builder

This builder for chaining.

setAgentId(String value)

public IngestConversationsRequest.ConversationConfig.Builder setAgentId(String value)

Optional. An opaque, user-specified string representing a human agent who handled all conversations in the import. Note that this will be overridden if per-conversation metadata is provided through the metadata_bucket_uri.

string agent_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The agentId to set.

Returns
Type Description
IngestConversationsRequest.ConversationConfig.Builder

This builder for chaining.

setAgentIdBytes(ByteString value)

public IngestConversationsRequest.ConversationConfig.Builder setAgentIdBytes(ByteString value)

Optional. An opaque, user-specified string representing a human agent who handled all conversations in the import. Note that this will be overridden if per-conversation metadata is provided through the metadata_bucket_uri.

string agent_id = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for agentId to set.

Returns
Type Description
IngestConversationsRequest.ConversationConfig.Builder

This builder for chaining.

setCustomerChannel(int value)

public IngestConversationsRequest.ConversationConfig.Builder setCustomerChannel(int value)

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

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

Parameter
Name Description
value int

The customerChannel to set.

Returns
Type Description
IngestConversationsRequest.ConversationConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public IngestConversationsRequest.ConversationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
IngestConversationsRequest.ConversationConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final IngestConversationsRequest.ConversationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
IngestConversationsRequest.ConversationConfig.Builder
Overrides