Class IngestConversationsRequest.ConversationConfig (2.35.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
TypeDescription
int

AGENT_ID_FIELD_NUMBER

public static final int AGENT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

CUSTOMER_CHANNEL_FIELD_NUMBER

public static final int CUSTOMER_CHANNEL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static IngestConversationsRequest.ConversationConfig getDefaultInstance()
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig

getDescriptor()

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

newBuilder()

public static IngestConversationsRequest.ConversationConfig.Builder newBuilder()
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder

newBuilder(IngestConversationsRequest.ConversationConfig prototype)

public static IngestConversationsRequest.ConversationConfig.Builder newBuilder(IngestConversationsRequest.ConversationConfig prototype)
Parameter
NameDescription
prototypeIngestConversationsRequest.ConversationConfig
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder

parseDelimitedFrom(InputStream input)

public static IngestConversationsRequest.ConversationConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestConversationsRequest.ConversationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static IngestConversationsRequest.ConversationConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IngestConversationsRequest.ConversationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IngestConversationsRequest.ConversationConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IngestConversationsRequest.ConversationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IngestConversationsRequest.ConversationConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestConversationsRequest.ConversationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static IngestConversationsRequest.ConversationConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IngestConversationsRequest.ConversationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static IngestConversationsRequest.ConversationConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IngestConversationsRequest.ConversationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
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. 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
TypeDescription
int

The customerChannel.

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public IngestConversationsRequest.ConversationConfig.Builder newBuilderForType()
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IngestConversationsRequest.ConversationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public IngestConversationsRequest.ConversationConfig.Builder toBuilder()
Returns
TypeDescription
IngestConversationsRequest.ConversationConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException