Class TransferRule.DisablePlannerTransfer.Builder (0.1.0)

public static final class TransferRule.DisablePlannerTransfer.Builder extends GeneratedMessage.Builder<TransferRule.DisablePlannerTransfer.Builder> implements TransferRule.DisablePlannerTransferOrBuilder

A rule that prevents the planner from transferring to the target agent.

Protobuf type google.cloud.ces.v1.TransferRule.DisablePlannerTransfer

Static Methods

getDescriptor()

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

Methods

build()

public TransferRule.DisablePlannerTransfer build()
Returns
Type Description
TransferRule.DisablePlannerTransfer

buildPartial()

public TransferRule.DisablePlannerTransfer buildPartial()
Returns
Type Description
TransferRule.DisablePlannerTransfer

clear()

public TransferRule.DisablePlannerTransfer.Builder clear()
Returns
Type Description
TransferRule.DisablePlannerTransfer.Builder
Overrides

clearExpressionCondition()

public TransferRule.DisablePlannerTransfer.Builder clearExpressionCondition()

Required. If the condition evaluates to true, planner will not be allowed to transfer to the target agent.

.google.cloud.ces.v1.ExpressionCondition expression_condition = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TransferRule.DisablePlannerTransfer.Builder

getDefaultInstanceForType()

public TransferRule.DisablePlannerTransfer getDefaultInstanceForType()
Returns
Type Description
TransferRule.DisablePlannerTransfer

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExpressionCondition()

public ExpressionCondition getExpressionCondition()

Required. If the condition evaluates to true, planner will not be allowed to transfer to the target agent.

.google.cloud.ces.v1.ExpressionCondition expression_condition = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExpressionCondition

The expressionCondition.

getExpressionConditionBuilder()

public ExpressionCondition.Builder getExpressionConditionBuilder()

Required. If the condition evaluates to true, planner will not be allowed to transfer to the target agent.

.google.cloud.ces.v1.ExpressionCondition expression_condition = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExpressionCondition.Builder

getExpressionConditionOrBuilder()

public ExpressionConditionOrBuilder getExpressionConditionOrBuilder()

Required. If the condition evaluates to true, planner will not be allowed to transfer to the target agent.

.google.cloud.ces.v1.ExpressionCondition expression_condition = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExpressionConditionOrBuilder

hasExpressionCondition()

public boolean hasExpressionCondition()

Required. If the condition evaluates to true, planner will not be allowed to transfer to the target agent.

.google.cloud.ces.v1.ExpressionCondition expression_condition = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the expressionCondition field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExpressionCondition(ExpressionCondition value)

public TransferRule.DisablePlannerTransfer.Builder mergeExpressionCondition(ExpressionCondition value)

Required. If the condition evaluates to true, planner will not be allowed to transfer to the target agent.

.google.cloud.ces.v1.ExpressionCondition expression_condition = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ExpressionCondition
Returns
Type Description
TransferRule.DisablePlannerTransfer.Builder

mergeFrom(TransferRule.DisablePlannerTransfer other)

public TransferRule.DisablePlannerTransfer.Builder mergeFrom(TransferRule.DisablePlannerTransfer other)
Parameter
Name Description
other TransferRule.DisablePlannerTransfer
Returns
Type Description
TransferRule.DisablePlannerTransfer.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TransferRule.DisablePlannerTransfer.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferRule.DisablePlannerTransfer.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TransferRule.DisablePlannerTransfer.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TransferRule.DisablePlannerTransfer.Builder
Overrides

setExpressionCondition(ExpressionCondition value)

public TransferRule.DisablePlannerTransfer.Builder setExpressionCondition(ExpressionCondition value)

Required. If the condition evaluates to true, planner will not be allowed to transfer to the target agent.

.google.cloud.ces.v1.ExpressionCondition expression_condition = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ExpressionCondition
Returns
Type Description
TransferRule.DisablePlannerTransfer.Builder

setExpressionCondition(ExpressionCondition.Builder builderForValue)

public TransferRule.DisablePlannerTransfer.Builder setExpressionCondition(ExpressionCondition.Builder builderForValue)

Required. If the condition evaluates to true, planner will not be allowed to transfer to the target agent.

.google.cloud.ces.v1.ExpressionCondition expression_condition = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ExpressionCondition.Builder
Returns
Type Description
TransferRule.DisablePlannerTransfer.Builder