Class AgentTransfer (0.1.0)

public final class AgentTransfer extends GeneratedMessage implements AgentTransferOrBuilder

Represents an event indicating the transfer of a conversation to a different agent.

Protobuf type google.cloud.ces.v1.AgentTransfer

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

TARGET_AGENT_FIELD_NUMBER

public static final int TARGET_AGENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AgentTransfer getDefaultInstance()
Returns
Type Description
AgentTransfer

getDescriptor()

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

newBuilder()

public static AgentTransfer.Builder newBuilder()
Returns
Type Description
AgentTransfer.Builder

newBuilder(AgentTransfer prototype)

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

parseDelimitedFrom(InputStream input)

public static AgentTransfer parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AgentTransfer
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static AgentTransfer parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AgentTransfer
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static AgentTransfer parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AgentTransfer
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static AgentTransfer parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AgentTransfer
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static AgentTransfer parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AgentTransfer
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<AgentTransfer> parser()
Returns
Type Description
Parser<AgentTransfer>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AgentTransfer getDefaultInstanceForType()
Returns
Type Description
AgentTransfer

getDisplayName()

public String getDisplayName()

Output only. Display name of the agent.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Output only. Display name of the agent.

string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getParserForType()

public Parser<AgentTransfer> getParserForType()
Returns
Type Description
Parser<AgentTransfer>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTargetAgent()

public String getTargetAgent()

Required. The agent to which the conversation is being transferred. The agent will handle the conversation from this point forward. Format: projects/{project}/locations/{location}/apps/{app}/agents/{agent}

string target_agent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The targetAgent.

getTargetAgentBytes()

public ByteString getTargetAgentBytes()

Required. The agent to which the conversation is being transferred. The agent will handle the conversation from this point forward. Format: projects/{project}/locations/{location}/apps/{app}/agents/{agent}

string target_agent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for targetAgent.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AgentTransfer.Builder newBuilderForType()
Returns
Type Description
AgentTransfer.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected AgentTransfer.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AgentTransfer.Builder
Overrides

toBuilder()

public AgentTransfer.Builder toBuilder()
Returns
Type Description
AgentTransfer.Builder

writeTo(CodedOutputStream output)

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