Class TransferRule.DeterministicTransfer.Builder (0.1.0)

public static final class TransferRule.DeterministicTransfer.Builder extends GeneratedMessage.Builder<TransferRule.DeterministicTransfer.Builder> implements TransferRule.DeterministicTransferOrBuilder

Deterministic transfer rule. When the condition evaluates to true, the transfer occurs.

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

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

clearConditionType()

public TransferRule.DeterministicTransfer.Builder clearConditionType()
Returns
Type Description
TransferRule.DeterministicTransfer.Builder

clearExpressionCondition()

public TransferRule.DeterministicTransfer.Builder clearExpressionCondition()

Optional. A rule that evaluates a session state condition. If the condition evaluates to true, the transfer occurs.

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

Returns
Type Description
TransferRule.DeterministicTransfer.Builder

clearPythonCodeCondition()

public TransferRule.DeterministicTransfer.Builder clearPythonCodeCondition()

Optional. A rule that uses Python code block to evaluate the conditions. If the condition evaluates to true, the transfer occurs.

.google.cloud.ces.v1.PythonCodeCondition python_code_condition = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TransferRule.DeterministicTransfer.Builder

getConditionTypeCase()

public TransferRule.DeterministicTransfer.ConditionTypeCase getConditionTypeCase()
Returns
Type Description
TransferRule.DeterministicTransfer.ConditionTypeCase

getDefaultInstanceForType()

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

getDescriptorForType()

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

getExpressionCondition()

public ExpressionCondition getExpressionCondition()

Optional. A rule that evaluates a session state condition. If the condition evaluates to true, the transfer occurs.

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

Returns
Type Description
ExpressionCondition

The expressionCondition.

getExpressionConditionBuilder()

public ExpressionCondition.Builder getExpressionConditionBuilder()

Optional. A rule that evaluates a session state condition. If the condition evaluates to true, the transfer occurs.

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

Returns
Type Description
ExpressionCondition.Builder

getExpressionConditionOrBuilder()

public ExpressionConditionOrBuilder getExpressionConditionOrBuilder()

Optional. A rule that evaluates a session state condition. If the condition evaluates to true, the transfer occurs.

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

Returns
Type Description
ExpressionConditionOrBuilder

getPythonCodeCondition()

public PythonCodeCondition getPythonCodeCondition()

Optional. A rule that uses Python code block to evaluate the conditions. If the condition evaluates to true, the transfer occurs.

.google.cloud.ces.v1.PythonCodeCondition python_code_condition = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PythonCodeCondition

The pythonCodeCondition.

getPythonCodeConditionBuilder()

public PythonCodeCondition.Builder getPythonCodeConditionBuilder()

Optional. A rule that uses Python code block to evaluate the conditions. If the condition evaluates to true, the transfer occurs.

.google.cloud.ces.v1.PythonCodeCondition python_code_condition = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PythonCodeCondition.Builder

getPythonCodeConditionOrBuilder()

public PythonCodeConditionOrBuilder getPythonCodeConditionOrBuilder()

Optional. A rule that uses Python code block to evaluate the conditions. If the condition evaluates to true, the transfer occurs.

.google.cloud.ces.v1.PythonCodeCondition python_code_condition = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PythonCodeConditionOrBuilder

hasExpressionCondition()

public boolean hasExpressionCondition()

Optional. A rule that evaluates a session state condition. If the condition evaluates to true, the transfer occurs.

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

Returns
Type Description
boolean

Whether the expressionCondition field is set.

hasPythonCodeCondition()

public boolean hasPythonCodeCondition()

Optional. A rule that uses Python code block to evaluate the conditions. If the condition evaluates to true, the transfer occurs.

.google.cloud.ces.v1.PythonCodeCondition python_code_condition = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the pythonCodeCondition 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.DeterministicTransfer.Builder mergeExpressionCondition(ExpressionCondition value)

Optional. A rule that evaluates a session state condition. If the condition evaluates to true, the transfer occurs.

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

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

mergeFrom(TransferRule.DeterministicTransfer other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePythonCodeCondition(PythonCodeCondition value)

public TransferRule.DeterministicTransfer.Builder mergePythonCodeCondition(PythonCodeCondition value)

Optional. A rule that uses Python code block to evaluate the conditions. If the condition evaluates to true, the transfer occurs.

.google.cloud.ces.v1.PythonCodeCondition python_code_condition = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value PythonCodeCondition
Returns
Type Description
TransferRule.DeterministicTransfer.Builder

setExpressionCondition(ExpressionCondition value)

public TransferRule.DeterministicTransfer.Builder setExpressionCondition(ExpressionCondition value)

Optional. A rule that evaluates a session state condition. If the condition evaluates to true, the transfer occurs.

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

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

setExpressionCondition(ExpressionCondition.Builder builderForValue)

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

Optional. A rule that evaluates a session state condition. If the condition evaluates to true, the transfer occurs.

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

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

setPythonCodeCondition(PythonCodeCondition value)

public TransferRule.DeterministicTransfer.Builder setPythonCodeCondition(PythonCodeCondition value)

Optional. A rule that uses Python code block to evaluate the conditions. If the condition evaluates to true, the transfer occurs.

.google.cloud.ces.v1.PythonCodeCondition python_code_condition = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value PythonCodeCondition
Returns
Type Description
TransferRule.DeterministicTransfer.Builder

setPythonCodeCondition(PythonCodeCondition.Builder builderForValue)

public TransferRule.DeterministicTransfer.Builder setPythonCodeCondition(PythonCodeCondition.Builder builderForValue)

Optional. A rule that uses Python code block to evaluate the conditions. If the condition evaluates to true, the transfer occurs.

.google.cloud.ces.v1.PythonCodeCondition python_code_condition = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue PythonCodeCondition.Builder
Returns
Type Description
TransferRule.DeterministicTransfer.Builder