public interface EvaluationOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)Labels as key value pairs.
map<string, string> labels = 9;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
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 |
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 |
Timestamp |
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 |
TimestampOrBuilder |
|
getCustomRulesBucket()
public abstract String getCustomRulesBucket()The Cloud Storage bucket name for custom rules.
string custom_rules_bucket = 11;
| Returns | |
|---|---|
| Type | Description |
String |
The customRulesBucket. |
getCustomRulesBucketBytes()
public abstract ByteString getCustomRulesBucketBytes()The Cloud Storage bucket name for custom rules.
string custom_rules_bucket = 11;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for customRulesBucket. |
getDescription()
public abstract String getDescription()Description of the Evaluation.
string description = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()Description of the Evaluation.
string description = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getEvaluationType()
public abstract Evaluation.EvaluationType getEvaluationType()Evaluation type.
.google.cloud.workloadmanager.v1.Evaluation.EvaluationType evaluation_type = 12;
| Returns | |
|---|---|
| Type | Description |
Evaluation.EvaluationType |
The evaluationType. |
getEvaluationTypeValue()
public abstract int getEvaluationTypeValue()Evaluation type.
.google.cloud.workloadmanager.v1.Evaluation.EvaluationType evaluation_type = 12;
| Returns | |
|---|---|
| Type | Description |
int |
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 |
String |
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 |
ByteString |
The bytes for kmsKey. |
getLabels() (deprecated)
public abstract Map<String,String> getLabels()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getLabelsCount()
public abstract int getLabelsCount()Labels as key value pairs.
map<string, string> labels = 9;
| Returns | |
|---|---|
| Type | Description |
int |
|
getLabelsMap()
public abstract Map<String,String> getLabelsMap()Labels as key value pairs.
map<string, string> labels = 9;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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 |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)Labels as key value pairs.
map<string, string> labels = 9;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
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 |
String |
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 |
ByteString |
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 |
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 |
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 |
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 |
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 |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
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 |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
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 |
int |
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 |
List<String> |
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 * * *# Hourly0 */6 * * *# Every 6 hours0 */12 * * *# Every 12 hours0 0 */1 * *# Daily0 0 */7 * *# Weekly0 0 */14 * *# Every 14 days0 0 1 */1 *# Monthly
optional string schedule = 10;
| Returns | |
|---|---|
| Type | Description |
String |
The schedule. |
getScheduleBytes()
public abstract ByteString getScheduleBytes()Crontab format schedule for scheduled evaluation, currently only supports the following fixed schedules:
0 */1 * * *# Hourly0 */6 * * *# Every 6 hours0 */12 * * *# Every 12 hours0 0 */1 * *# Daily0 0 */7 * *# Weekly0 0 */14 * *# Every 14 days0 0 1 */1 *# Monthly
optional string schedule = 10;
| Returns | |
|---|---|
| Type | Description |
ByteString |
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 |
Timestamp |
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 |
TimestampOrBuilder |
|
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 |
boolean |
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 |
boolean |
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 |
boolean |
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 |
boolean |
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 * * *# Hourly0 */6 * * *# Every 6 hours0 */12 * * *# Every 12 hours0 0 */1 * *# Daily0 0 */7 * *# Weekly0 0 */14 * *# Every 14 days0 0 1 */1 *# Monthly
optional string schedule = 10;
| Returns | |
|---|---|
| Type | Description |
boolean |
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 |
boolean |
Whether the updateTime field is set. |