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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public IngestConversationsRequest.ConversationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public IngestConversationsRequest.ConversationConfig build()
public IngestConversationsRequest.ConversationConfig buildPartial()
public IngestConversationsRequest.ConversationConfig.Builder clear()
Overrides
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];
public IngestConversationsRequest.ConversationConfig.Builder clearAgentId()
An opaque, user-specified string representing the human agent who handled
the conversations.
string agent_id = 1;
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];
public IngestConversationsRequest.ConversationConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public IngestConversationsRequest.ConversationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public IngestConversationsRequest.ConversationConfig.Builder clone()
Overrides
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.
|
public String getAgentId()
An opaque, user-specified string representing the human agent who handled
the conversations.
string agent_id = 1;
Returns |
Type |
Description |
String |
The agentId.
|
public ByteString getAgentIdBytes()
An opaque, user-specified string representing the human agent who handled
the conversations.
string agent_id = 1;
Returns |
Type |
Description |
ByteString |
The bytes for agentId.
|
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.
|
public IngestConversationsRequest.ConversationConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public IngestConversationsRequest.ConversationConfig.Builder mergeFrom(IngestConversationsRequest.ConversationConfig other)
public IngestConversationsRequest.ConversationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public IngestConversationsRequest.ConversationConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final IngestConversationsRequest.ConversationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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.
|
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 |
Name |
Description |
value |
String
The agentId to set.
|
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 |
Name |
Description |
value |
ByteString
The bytes for agentId to set.
|
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.
|
public IngestConversationsRequest.ConversationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public IngestConversationsRequest.ConversationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final IngestConversationsRequest.ConversationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides