Interface EvaluationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Evaluation,Evaluation.Builder
@Generated
public interface EvaluationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labels as key value pairs.Optional.Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.The Cloud Storage bucket name for custom rules.com.google.protobuf.ByteStringThe Cloud Storage bucket name for custom rules.Description of the Evaluation.com.google.protobuf.ByteStringDescription of the Evaluation.Evaluation type.intEvaluation type.Optional.com.google.protobuf.ByteStringOptional.Deprecated.intLabels as key value pairs.Labels as key value pairs.getLabelsOrDefault(String key, String defaultValue) Labels as key value pairs.getLabelsOrThrow(String key) Labels as key value pairs.getName()Name of resource that has the form `projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`.com.google.protobuf.ByteStringName of resource that has the form `projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`.Resource filter for an evaluation defining the scope of resources to be evaluated.Resource filter for an evaluation defining the scope of resources to be evaluated.Output only.Output only.getRuleNames(int index) The names of the rules used for this evaluation.com.google.protobuf.ByteStringgetRuleNamesBytes(int index) The names of the rules used for this evaluation.intThe names of the rules used for this evaluation.The names of the rules used for this evaluation.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 *` # Monthlycom.google.protobuf.ByteStringCrontab 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 *` # Monthlycom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOptional.booleanOutput only.booleanResource filter for an evaluation defining the scope of resources to be evaluated.booleanOutput only.booleanCrontab 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 *` # MonthlybooleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Name of resource that has the form `projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`.string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of resource that has the form `projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`.string name = 1;- Returns:
- The bytes for name.
-
getDescription
String getDescription()Description of the Evaluation.
string description = 2;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Description of the Evaluation.
string description = 2;- Returns:
- The bytes for description.
-
hasResourceFilter
boolean hasResourceFilter()Resource filter for an evaluation defining the scope of resources to be evaluated.
.google.cloud.workloadmanager.v1.ResourceFilter resource_filter = 3;- Returns:
- Whether the resourceFilter field is set.
-
getResourceFilter
ResourceFilter getResourceFilter()Resource filter for an evaluation defining the scope of resources to be evaluated.
.google.cloud.workloadmanager.v1.ResourceFilter resource_filter = 3;- Returns:
- The resourceFilter.
-
getResourceFilterOrBuilder
ResourceFilterOrBuilder getResourceFilterOrBuilder()Resource filter for an evaluation defining the scope of resources to be evaluated.
.google.cloud.workloadmanager.v1.ResourceFilter resource_filter = 3; -
getRuleNamesList
The names of the rules used for this evaluation.
repeated string rule_names = 4;- Returns:
- A list containing the ruleNames.
-
getRuleNamesCount
int getRuleNamesCount()The names of the rules used for this evaluation.
repeated string rule_names = 4;- Returns:
- The count of ruleNames.
-
getRuleNames
The names of the rules used for this evaluation.
repeated string rule_names = 4;- Parameters:
index- The index of the element to return.- Returns:
- The ruleNames at the given index.
-
getRuleNamesBytes
com.google.protobuf.ByteString getRuleNamesBytes(int index) The names of the rules used for this evaluation.
repeated string rule_names = 4;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the ruleNames at the given index.
-
hasResourceStatus
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:
- Whether the resourceStatus field is set.
-
getResourceStatus
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:
- The resourceStatus.
-
getResourceStatusOrBuilder
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]; -
hasCreateTime
boolean hasCreateTime()Output only. [Output only] Create time stamp.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. [Output only] Create time stamp.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. [Output only] Create time stamp.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. [Output only] Update time stamp.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. [Output only] Update time stamp.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. [Output only] Update time stamp.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLabelsCount
int getLabelsCount()Labels as key value pairs.
map<string, string> labels = 9; -
containsLabels
Labels as key value pairs.
map<string, string> labels = 9; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Labels as key value pairs.
map<string, string> labels = 9; -
getLabelsOrDefault
Labels as key value pairs.
map<string, string> labels = 9; -
getLabelsOrThrow
Labels as key value pairs.
map<string, string> labels = 9; -
hasSchedule
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:
- Whether the schedule field is set.
-
getSchedule
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:
- The schedule.
-
getScheduleBytes
com.google.protobuf.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:
- The bytes for schedule.
-
getCustomRulesBucket
String getCustomRulesBucket()The Cloud Storage bucket name for custom rules.
string custom_rules_bucket = 11;- Returns:
- The customRulesBucket.
-
getCustomRulesBucketBytes
com.google.protobuf.ByteString getCustomRulesBucketBytes()The Cloud Storage bucket name for custom rules.
string custom_rules_bucket = 11;- Returns:
- The bytes for customRulesBucket.
-
getEvaluationTypeValue
int getEvaluationTypeValue()Evaluation type.
.google.cloud.workloadmanager.v1.Evaluation.EvaluationType evaluation_type = 12;- Returns:
- The enum numeric value on the wire for evaluationType.
-
getEvaluationType
Evaluation.EvaluationType getEvaluationType()Evaluation type.
.google.cloud.workloadmanager.v1.Evaluation.EvaluationType evaluation_type = 12;- Returns:
- The evaluationType.
-
hasBigQueryDestination
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:
- Whether the bigQueryDestination field is set.
-
getBigQueryDestination
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:
- The bigQueryDestination.
-
getBigQueryDestinationOrBuilder
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]; -
getKmsKey
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:
- The kmsKey.
-
getKmsKeyBytes
com.google.protobuf.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:
- The bytes for kmsKey.
-