public static final class TransferRule.Builder extends GeneratedMessage.Builder<TransferRule.Builder> implements TransferRuleOrBuilderRule for transferring to a specific agent.
Protobuf type google.cloud.ces.v1.TransferRule
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TransferRule.BuilderImplements
TransferRuleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public TransferRule build()| Returns | |
|---|---|
| Type | Description |
TransferRule |
|
buildPartial()
public TransferRule buildPartial()| Returns | |
|---|---|
| Type | Description |
TransferRule |
|
clear()
public TransferRule.Builder clear()| Returns | |
|---|---|
| Type | Description |
TransferRule.Builder |
|
clearChildAgent()
public TransferRule.Builder clearChildAgent() 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 |
TransferRule.Builder |
This builder for chaining. |
clearDeterministicTransfer()
public TransferRule.Builder clearDeterministicTransfer()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.Builder |
|
clearDirection()
public TransferRule.Builder clearDirection()Required. The direction of the transfer.
.google.cloud.ces.v1.TransferRule.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TransferRule.Builder |
This builder for chaining. |
clearDisablePlannerTransfer()
public TransferRule.Builder clearDisablePlannerTransfer()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.Builder |
|
clearRuleType()
public TransferRule.Builder clearRuleType()| Returns | |
|---|---|
| Type | Description |
TransferRule.Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getDeterministicTransferBuilder()
public TransferRule.DeterministicTransfer.Builder getDeterministicTransferBuilder()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.Builder |
|
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. |
getDisablePlannerTransferBuilder()
public TransferRule.DisablePlannerTransfer.Builder getDisablePlannerTransferBuilder()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.Builder |
|
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 |
|
getRuleTypeCase()
public TransferRule.RuleTypeCase getRuleTypeCase()| Returns | |
|---|---|
| Type | Description |
TransferRule.RuleTypeCase |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDeterministicTransfer(TransferRule.DeterministicTransfer value)
public TransferRule.Builder mergeDeterministicTransfer(TransferRule.DeterministicTransfer value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
TransferRule.DeterministicTransfer |
| Returns | |
|---|---|
| Type | Description |
TransferRule.Builder |
|
mergeDisablePlannerTransfer(TransferRule.DisablePlannerTransfer value)
public TransferRule.Builder mergeDisablePlannerTransfer(TransferRule.DisablePlannerTransfer value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
TransferRule.DisablePlannerTransfer |
| Returns | |
|---|---|
| Type | Description |
TransferRule.Builder |
|
mergeFrom(TransferRule other)
public TransferRule.Builder mergeFrom(TransferRule other)| Parameter | |
|---|---|
| Name | Description |
other |
TransferRule |
| Returns | |
|---|---|
| Type | Description |
TransferRule.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TransferRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TransferRule.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TransferRule.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TransferRule.Builder |
|
setChildAgent(String value)
public TransferRule.Builder setChildAgent(String value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe childAgent to set. |
| Returns | |
|---|---|
| Type | Description |
TransferRule.Builder |
This builder for chaining. |
setChildAgentBytes(ByteString value)
public TransferRule.Builder setChildAgentBytes(ByteString value) 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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for childAgent to set. |
| Returns | |
|---|---|
| Type | Description |
TransferRule.Builder |
This builder for chaining. |
setDeterministicTransfer(TransferRule.DeterministicTransfer value)
public TransferRule.Builder setDeterministicTransfer(TransferRule.DeterministicTransfer value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
TransferRule.DeterministicTransfer |
| Returns | |
|---|---|
| Type | Description |
TransferRule.Builder |
|
setDeterministicTransfer(TransferRule.DeterministicTransfer.Builder builderForValue)
public TransferRule.Builder setDeterministicTransfer(TransferRule.DeterministicTransfer.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
TransferRule.DeterministicTransfer.Builder |
| Returns | |
|---|---|
| Type | Description |
TransferRule.Builder |
|
setDirection(TransferRule.Direction value)
public TransferRule.Builder setDirection(TransferRule.Direction value)Required. The direction of the transfer.
.google.cloud.ces.v1.TransferRule.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
TransferRule.DirectionThe direction to set. |
| Returns | |
|---|---|
| Type | Description |
TransferRule.Builder |
This builder for chaining. |
setDirectionValue(int value)
public TransferRule.Builder setDirectionValue(int value)Required. The direction of the transfer.
.google.cloud.ces.v1.TransferRule.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for direction to set. |
| Returns | |
|---|---|
| Type | Description |
TransferRule.Builder |
This builder for chaining. |
setDisablePlannerTransfer(TransferRule.DisablePlannerTransfer value)
public TransferRule.Builder setDisablePlannerTransfer(TransferRule.DisablePlannerTransfer value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
TransferRule.DisablePlannerTransfer |
| Returns | |
|---|---|
| Type | Description |
TransferRule.Builder |
|
setDisablePlannerTransfer(TransferRule.DisablePlannerTransfer.Builder builderForValue)
public TransferRule.Builder setDisablePlannerTransfer(TransferRule.DisablePlannerTransfer.Builder builderForValue)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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
TransferRule.DisablePlannerTransfer.Builder |
| Returns | |
|---|---|
| Type | Description |
TransferRule.Builder |
|