Class TriggerAction.TransferAgent (0.1.0)

public static final class TriggerAction.TransferAgent extends GeneratedMessage implements TriggerAction.TransferAgentOrBuilder

The agent will transfer the conversation to a different agent.

Protobuf type google.cloud.ces.v1.TriggerAction.TransferAgent

Static Fields

AGENT_FIELD_NUMBER

public static final int AGENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TriggerAction.TransferAgent getDefaultInstance()
Returns
Type Description
TriggerAction.TransferAgent

getDescriptor()

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

newBuilder()

public static TriggerAction.TransferAgent.Builder newBuilder()
Returns
Type Description
TriggerAction.TransferAgent.Builder

newBuilder(TriggerAction.TransferAgent prototype)

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

parseDelimitedFrom(InputStream input)

public static TriggerAction.TransferAgent parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TriggerAction.TransferAgent
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static TriggerAction.TransferAgent parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TriggerAction.TransferAgent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static TriggerAction.TransferAgent parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TriggerAction.TransferAgent
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static TriggerAction.TransferAgent parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TriggerAction.TransferAgent
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static TriggerAction.TransferAgent parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TriggerAction.TransferAgent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<TriggerAction.TransferAgent> parser()
Returns
Type Description
Parser<TransferAgent>

Methods

equals(Object obj)

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

getAgent()

public String getAgent()

Required. The name of the agent to transfer the conversation to. The agent must be in the same app as the current agent. Format: projects/{project}/locations/{location}/apps/{app}/agents/{agent}

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

Returns
Type Description
String

The agent.

getAgentBytes()

public ByteString getAgentBytes()

Required. The name of the agent to transfer the conversation to. The agent must be in the same app as the current agent. Format: projects/{project}/locations/{location}/apps/{app}/agents/{agent}

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

Returns
Type Description
ByteString

The bytes for agent.

getDefaultInstanceForType()

public TriggerAction.TransferAgent getDefaultInstanceForType()
Returns
Type Description
TriggerAction.TransferAgent

getParserForType()

public Parser<TriggerAction.TransferAgent> getParserForType()
Returns
Type Description
Parser<TransferAgent>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 TriggerAction.TransferAgent.Builder newBuilderForType()
Returns
Type Description
TriggerAction.TransferAgent.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

public TriggerAction.TransferAgent.Builder toBuilder()
Returns
Type Description
TriggerAction.TransferAgent.Builder

writeTo(CodedOutputStream output)

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