Class TransferRule (0.1.0)

public final class TransferRule extends GeneratedMessage implements TransferRuleOrBuilder

Rule for transferring to a specific agent.

Protobuf type google.cloud.ces.v1.TransferRule

Static Fields

CHILD_AGENT_FIELD_NUMBER

public static final int CHILD_AGENT_FIELD_NUMBER
Field Value
Type Description
int

DETERMINISTIC_TRANSFER_FIELD_NUMBER

public static final int DETERMINISTIC_TRANSFER_FIELD_NUMBER
Field Value
Type Description
int

DIRECTION_FIELD_NUMBER

public static final int DIRECTION_FIELD_NUMBER
Field Value
Type Description
int

DISABLE_PLANNER_TRANSFER_FIELD_NUMBER

public static final int DISABLE_PLANNER_TRANSFER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TransferRule getDefaultInstance()
Returns
Type Description
TransferRule

getDescriptor()

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

newBuilder()

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

newBuilder(TransferRule prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getChildAgent()

public String getChildAgent()

Required. The resource name of the child agent the rule applies to. Format: projects/{project}/locations/{location}/apps/{app}/agents/{agent}

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

Returns
Type Description
String

The childAgent.

getChildAgentBytes()

public ByteString getChildAgentBytes()

Required. The resource name of the child agent the rule applies to. Format: projects/{project}/locations/{location}/apps/{app}/agents/{agent}

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

Returns
Type Description
ByteString

The bytes for childAgent.

getDefaultInstanceForType()

public TransferRule getDefaultInstanceForType()
Returns
Type Description
TransferRule

getDeterministicTransfer()

public TransferRule.DeterministicTransfer getDeterministicTransfer()

Optional. A rule that immediately transfers to the target agent when the condition is met.

.google.cloud.ces.v1.TransferRule.DeterministicTransfer deterministic_transfer = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TransferRule.DeterministicTransfer

The deterministicTransfer.

getDeterministicTransferOrBuilder()

public TransferRule.DeterministicTransferOrBuilder getDeterministicTransferOrBuilder()

Optional. A rule that immediately transfers to the target agent when the condition is met.

.google.cloud.ces.v1.TransferRule.DeterministicTransfer deterministic_transfer = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TransferRule.DeterministicTransferOrBuilder

getDirection()

public TransferRule.Direction getDirection()

Required. The direction of the transfer.

.google.cloud.ces.v1.TransferRule.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TransferRule.Direction

The direction.

getDirectionValue()

public int getDirectionValue()

Required. The direction of the transfer.

.google.cloud.ces.v1.TransferRule.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for direction.

getDisablePlannerTransfer()

public TransferRule.DisablePlannerTransfer getDisablePlannerTransfer()

Optional. Rule that prevents the planner from transferring to the target agent.

.google.cloud.ces.v1.TransferRule.DisablePlannerTransfer disable_planner_transfer = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TransferRule.DisablePlannerTransfer

The disablePlannerTransfer.

getDisablePlannerTransferOrBuilder()

public TransferRule.DisablePlannerTransferOrBuilder getDisablePlannerTransferOrBuilder()

Optional. Rule that prevents the planner from transferring to the target agent.

.google.cloud.ces.v1.TransferRule.DisablePlannerTransfer disable_planner_transfer = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TransferRule.DisablePlannerTransferOrBuilder

getParserForType()

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

getRuleTypeCase()

public TransferRule.RuleTypeCase getRuleTypeCase()
Returns
Type Description
TransferRule.RuleTypeCase

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDeterministicTransfer()

public boolean hasDeterministicTransfer()

Optional. A rule that immediately transfers to the target agent when the condition is met.

.google.cloud.ces.v1.TransferRule.DeterministicTransfer deterministic_transfer = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the deterministicTransfer field is set.

hasDisablePlannerTransfer()

public boolean hasDisablePlannerTransfer()

Optional. Rule that prevents the planner from transferring to the target agent.

.google.cloud.ces.v1.TransferRule.DisablePlannerTransfer disable_planner_transfer = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the disablePlannerTransfer field is set.

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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