# Interface TransferRule.DeterministicTransferOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public static interface TransferRule.DeterministicTransferOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getConditionTypeCase()

    public abstract TransferRule.DeterministicTransfer.ConditionTypeCase getConditionTypeCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.TransferRule.DeterministicTransfer.ConditionTypeCase` |   |

### getExpressionCondition()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.ExpressionCondition` | The expressionCondition. |

### getExpressionConditionOrBuilder()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.ExpressionConditionOrBuilder` |   |

### getPythonCodeCondition()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.PythonCodeCondition` | The pythonCodeCondition. |

### getPythonCodeConditionOrBuilder()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1.PythonCodeConditionOrBuilder` |   |

### hasExpressionCondition()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the expressionCondition field is set. |

### hasPythonCodeCondition()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the pythonCodeCondition field is set. |