public static final class IngestConversationsRequest.ConversationConfig.Builder extends GeneratedMessage.Builder<IngestConversationsRequest.ConversationConfig.Builder> implements IngestConversationsRequest.ConversationConfigOrBuilderConfiguration that applies to all conversations.
Protobuf type
google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > IngestConversationsRequest.ConversationConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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 |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
intThe 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 |
StringThe 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 |
ByteStringThe 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 |
intThe customerChannel to set. |
| Returns | |
|---|---|
| Type | Description |
IngestConversationsRequest.ConversationConfig.Builder |
This builder for chaining. |