# Interface CreateEvaluationExpectationRequestOrBuilder (0.9.0)

0.9.0 (latest) 0.7.0 0.4.0 0.3.0 0.1.0

    public interface CreateEvaluationExpectationRequestOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getEvaluationExpectation()

    public abstract EvaluationExpectation getEvaluationExpectation()

Required. The evaluation expectation to create.

`
.google.cloud.ces.v1beta.EvaluationExpectation evaluation_expectation = 3 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.EvaluationExpectation` | The evaluationExpectation. |

### getEvaluationExpectationId()

    public abstract String getEvaluationExpectationId()

Optional. The ID to use for the evaluation expectation, which will become
the final component of the evaluation expectation's resource name. If not
provided, a unique ID will be automatically assigned for the evaluation
expectation.

`string evaluation_expectation_id = 2 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The evaluationExpectationId. |

### getEvaluationExpectationIdBytes()

    public abstract ByteString getEvaluationExpectationIdBytes()

Optional. The ID to use for the evaluation expectation, which will become
the final component of the evaluation expectation's resource name. If not
provided, a unique ID will be automatically assigned for the evaluation
expectation.

`string evaluation_expectation_id = 2 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for evaluationExpectationId. |

### getEvaluationExpectationOrBuilder()

    public abstract EvaluationExpectationOrBuilder getEvaluationExpectationOrBuilder()

Required. The evaluation expectation to create.

`
.google.cloud.ces.v1beta.EvaluationExpectation evaluation_expectation = 3 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-ces/latest/com.google.cloud.ces.v1beta.EvaluationExpectationOrBuilder` |   |

### getParent()

    public abstract String getParent()

Required. The app to create the evaluation expectation for.
Format:
`projects/{project}/locations/{location}/apps/{app}`

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The parent. |

### getParentBytes()

    public abstract ByteString getParentBytes()

Required. The app to create the evaluation expectation for.
Format:
`projects/{project}/locations/{location}/apps/{app}`

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for parent. |

### hasEvaluationExpectation()

    public abstract boolean hasEvaluationExpectation()

Required. The evaluation expectation to create.

`
.google.cloud.ces.v1beta.EvaluationExpectation evaluation_expectation = 3 [(.google.api.field_behavior) = REQUIRED];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the evaluationExpectation field is set. |