0.10.0 (latest) 0.9.0 0.7.0 0.4.0 0.3.0 0.1.0

    public interface EvaluationOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### containsLabels(String key)

    public abstract boolean containsLabels(String key)

Labels as key value pairs.

`map<string, string> labels = 9;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getBigQueryDestination()

    public abstract BigQueryDestination getBigQueryDestination()

Optional. The BigQuery destination for detailed evaluation results.
If this field is specified, the results of each evaluation execution are
exported to BigQuery.

`
.google.cloud.workloadmanager.v1.BigQueryDestination big_query_destination = 13 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-workloadmanager/latest/com.google.cloud.workloadmanager.v1.BigQueryDestination` | The bigQueryDestination. |

### getBigQueryDestinationOrBuilder()

    public abstract BigQueryDestinationOrBuilder getBigQueryDestinationOrBuilder()

Optional. The BigQuery destination for detailed evaluation results.
If this field is specified, the results of each evaluation execution are
exported to BigQuery.

`
.google.cloud.workloadmanager.v1.BigQueryDestination big_query_destination = 13 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-workloadmanager/latest/com.google.cloud.workloadmanager.v1.BigQueryDestinationOrBuilder` |   |

### getCreateTime()

    public abstract Timestamp getCreateTime()

Output only. \[Output only\] Create time stamp.

`.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The createTime. |

### getCreateTimeOrBuilder()

    public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. \[Output only\] Create time stamp.

`.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getCustomRulesBucket()

    public abstract String getCustomRulesBucket()

The Cloud Storage bucket name for custom rules.

`string custom_rules_bucket = 11;`

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

### getCustomRulesBucketBytes()

    public abstract ByteString getCustomRulesBucketBytes()

The Cloud Storage bucket name for custom rules.

`string custom_rules_bucket = 11;`

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

### getDescription()

    public abstract String getDescription()

Description of the Evaluation.

`string description = 2;`

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

### getDescriptionBytes()

    public abstract ByteString getDescriptionBytes()

Description of the Evaluation.

`string description = 2;`

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

### getEvaluationType()

    public abstract Evaluation.EvaluationType getEvaluationType()

Evaluation type.

`.google.cloud.workloadmanager.v1.Evaluation.EvaluationType evaluation_type = 12;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-workloadmanager/latest/com.google.cloud.workloadmanager.v1.Evaluation.EvaluationType` | The evaluationType. |

### getEvaluationTypeValue()

    public abstract int getEvaluationTypeValue()

Evaluation type.

`.google.cloud.workloadmanager.v1.Evaluation.EvaluationType evaluation_type = 12;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for evaluationType. |

### getKmsKey()

    public abstract String getKmsKey()

Optional. Immutable. Customer-managed encryption key name, in the format
projects/\*/locations/\*/keyRings/\*/cryptoKeys/\*.
The key will be used for CMEK encryption of the evaluation resource.

`
string kms_key = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
`

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

### getKmsKeyBytes()

    public abstract ByteString getKmsKeyBytes()

Optional. Immutable. Customer-managed encryption key name, in the format
projects/\*/locations/\*/keyRings/\*/cryptoKeys/\*.
The key will be used for CMEK encryption of the evaluation resource.

`
string kms_key = 15 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
`

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

### getLabels() (deprecated)

    public abstract Map<String,String> getLabels()

Use [#getLabelsMap()](https://docs.cloud.google.com/java/docs/reference/google-cloud-workloadmanager/latest/com.google.cloud.workloadmanager.v1.EvaluationOrBuilder#com_google_cloud_workloadmanager_v1_EvaluationOrBuilder_getLabelsMap__) instead.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getLabelsCount()

    public abstract int getLabelsCount()

Labels as key value pairs.

`map<string, string> labels = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getLabelsMap()

    public abstract Map<String,String> getLabelsMap()

Labels as key value pairs.

`map<string, string> labels = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getLabelsOrDefault(String key, String defaultValue)

    public abstract String getLabelsOrDefault(String key, String defaultValue)

Labels as key value pairs.

`map<string, string> labels = 9;`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |
| `defaultValue` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

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

### getLabelsOrThrow(String key)

    public abstract String getLabelsOrThrow(String key)

Labels as key value pairs.

`map<string, string> labels = 9;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

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

### getName()

    public abstract String getName()

Name of resource that has the form
`projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`.

`string name = 1;`

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

### getNameBytes()

    public abstract ByteString getNameBytes()

Name of resource that has the form
`projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`.

`string name = 1;`

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

### getResourceFilter()

    public abstract ResourceFilter getResourceFilter()

Resource filter for an evaluation defining the scope of resources to be
evaluated.

`.google.cloud.workloadmanager.v1.ResourceFilter resource_filter = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-workloadmanager/latest/com.google.cloud.workloadmanager.v1.ResourceFilter` | The resourceFilter. |

### getResourceFilterOrBuilder()

    public abstract ResourceFilterOrBuilder getResourceFilterOrBuilder()

Resource filter for an evaluation defining the scope of resources to be
evaluated.

`.google.cloud.workloadmanager.v1.ResourceFilter resource_filter = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-workloadmanager/latest/com.google.cloud.workloadmanager.v1.ResourceFilterOrBuilder` |   |

### getResourceStatus()

    public abstract ResourceStatus getResourceStatus()

Output only. \[Output only\] The current lifecycle state of the evaluation
resource.

`
.google.cloud.workloadmanager.v1.ResourceStatus resource_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-workloadmanager/latest/com.google.cloud.workloadmanager.v1.ResourceStatus` | The resourceStatus. |

### getResourceStatusOrBuilder()

    public abstract ResourceStatusOrBuilder getResourceStatusOrBuilder()

Output only. \[Output only\] The current lifecycle state of the evaluation
resource.

`
.google.cloud.workloadmanager.v1.ResourceStatus resource_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-workloadmanager/latest/com.google.cloud.workloadmanager.v1.ResourceStatusOrBuilder` |   |

### getRuleNames(int index)

    public abstract String getRuleNames(int index)

The names of the rules used for this evaluation.

`repeated string rule_names = 4;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The ruleNames at the given index. |

### getRuleNamesBytes(int index)

    public abstract ByteString getRuleNamesBytes(int index)

The names of the rules used for this evaluation.

`repeated string rule_names = 4;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the ruleNames at the given index. |

### getRuleNamesCount()

    public abstract int getRuleNamesCount()

The names of the rules used for this evaluation.

`repeated string rule_names = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of ruleNames. |

### getRuleNamesList()

    public abstract List<String> getRuleNamesList()

The names of the rules used for this evaluation.

`repeated string rule_names = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the ruleNames. |

### getSchedule()

    public abstract String getSchedule()

Crontab format schedule for scheduled evaluation, currently only supports
the following fixed schedules:

- `0 */1 * * *` # Hourly
- `0 */6 * * *` # Every 6 hours
- `0 */12 * * *` # Every 12 hours
- `0 0 */1 * *` # Daily
- `0 0 */7 * *` # Weekly
- `0 0 */14 * *` # Every 14 days
- `0 0 1 */1 *` # Monthly

`optional string schedule = 10;`

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

### getScheduleBytes()

    public abstract ByteString getScheduleBytes()

Crontab format schedule for scheduled evaluation, currently only supports
the following fixed schedules:

- `0 */1 * * *` # Hourly
- `0 */6 * * *` # Every 6 hours
- `0 */12 * * *` # Every 12 hours
- `0 0 */1 * *` # Daily
- `0 0 */7 * *` # Weekly
- `0 0 */14 * *` # Every 14 days
- `0 0 1 */1 *` # Monthly

`optional string schedule = 10;`

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

### getUpdateTime()

    public abstract Timestamp getUpdateTime()

Output only. \[Output only\] Update time stamp.

`.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The updateTime. |

### getUpdateTimeOrBuilder()

    public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. \[Output only\] Update time stamp.

`.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### hasBigQueryDestination()

    public abstract boolean hasBigQueryDestination()

Optional. The BigQuery destination for detailed evaluation results.
If this field is specified, the results of each evaluation execution are
exported to BigQuery.

`
.google.cloud.workloadmanager.v1.BigQueryDestination big_query_destination = 13 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasCreateTime()

    public abstract boolean hasCreateTime()

Output only. \[Output only\] Create time stamp.

`.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### hasResourceFilter()

    public abstract boolean hasResourceFilter()

Resource filter for an evaluation defining the scope of resources to be
evaluated.

`.google.cloud.workloadmanager.v1.ResourceFilter resource_filter = 3;`

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

### hasResourceStatus()

    public abstract boolean hasResourceStatus()

Output only. \[Output only\] The current lifecycle state of the evaluation
resource.

`
.google.cloud.workloadmanager.v1.ResourceStatus resource_status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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

### hasSchedule()

    public abstract boolean hasSchedule()

Crontab format schedule for scheduled evaluation, currently only supports
the following fixed schedules:

- `0 */1 * * *` # Hourly
- `0 */6 * * *` # Every 6 hours
- `0 */12 * * *` # Every 12 hours
- `0 0 */1 * *` # Daily
- `0 0 */7 * *` # Weekly
- `0 0 */14 * *` # Every 14 days
- `0 0 1 */1 *` # Monthly

`optional string schedule = 10;`

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

### hasUpdateTime()

    public abstract boolean hasUpdateTime()

Output only. \[Output only\] Update time stamp.

`.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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