Class IngestConversationsRequest.ConversationConfig (2.53.0)

public static final class IngestConversationsRequest.ConversationConfig extends GeneratedMessageV3 implements IngestConversationsRequest.ConversationConfigOrBuilder

Configuration that applies to all conversations.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > IngestConversationsRequest.ConversationConfig

Static Fields

AGENT_CHANNEL_FIELD_NUMBER

public static final int AGENT_CHANNEL_FIELD_NUMBER
Field Value
Type Description
int

AGENT_ID_FIELD_NUMBER

public static final int AGENT_ID_FIELD_NUMBER
Field Value
Type Description
int

CUSTOMER_CHANNEL_FIELD_NUMBER

public static final int CUSTOMER_CHANNEL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IngestConversationsRequest.ConversationConfig getDefaultInstance()
Returns
Type Description
IngestConversationsRequest.ConversationConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static IngestConversationsRequest.ConversationConfig.Builder newBuilder()
Returns
Type Description
IngestConversationsRequest.ConversationConfig.Builder

newBuilder(IngestConversationsRequest.ConversationConfig prototype)

public static IngestConversationsRequest.ConversationConfig.Builder newBuilder(IngestConversationsRequest.ConversationConfig prototype)
Parameter
Name Description
prototype IngestConversationsRequest.ConversationConfig
Returns
Type Description
IngestConversationsRequest.ConversationConfig.Builder

parseDelimitedFrom(InputStream input)

public static IngestConversationsRequest.ConversationConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IngestConversationsRequest.ConversationConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestConversationsRequest.ConversationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestConversationsRequest.ConversationConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static IngestConversationsRequest.ConversationConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
IngestConversationsRequest.ConversationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IngestConversationsRequest.ConversationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestConversationsRequest.ConversationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IngestConversationsRequest.ConversationConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
IngestConversationsRequest.ConversationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IngestConversationsRequest.ConversationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestConversationsRequest.ConversationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IngestConversationsRequest.ConversationConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
IngestConversationsRequest.ConversationConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestConversationsRequest.ConversationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestConversationsRequest.ConversationConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static IngestConversationsRequest.ConversationConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IngestConversationsRequest.ConversationConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestConversationsRequest.ConversationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestConversationsRequest.ConversationConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static IngestConversationsRequest.ConversationConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
IngestConversationsRequest.ConversationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IngestConversationsRequest.ConversationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IngestConversationsRequest.ConversationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<IngestConversationsRequest.ConversationConfig> parser()
Returns
Type Description
Parser<ConversationConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getParserForType()

public Parser<IngestConversationsRequest.ConversationConfig> getParserForType()
Returns
Type Description
Parser<ConversationConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public IngestConversationsRequest.ConversationConfig.Builder newBuilderForType()
Returns
Type Description
IngestConversationsRequest.ConversationConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IngestConversationsRequest.ConversationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IngestConversationsRequest.ConversationConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public IngestConversationsRequest.ConversationConfig.Builder toBuilder()
Returns
Type Description
IngestConversationsRequest.ConversationConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException