Class Evaluation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Evaluation.Builder>
com.google.cloud.workloadmanager.v1.Evaluation.Builder
- All Implemented Interfaces:
EvaluationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Evaluation
public static final class Evaluation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Evaluation.Builder>
implements EvaluationOrBuilder
Represents a Workload Manager Evaluation configuration. An Evaluation defines a set of rules to be validated against a scope of Cloud resources.Protobuf type
google.cloud.workloadmanager.v1.Evaluation-
Method Summary
Modifier and TypeMethodDescriptionaddAllRuleNames(Iterable<String> values) The names of the rules used for this evaluation.addRuleNames(String value) The names of the rules used for this evaluation.addRuleNamesBytes(com.google.protobuf.ByteString value) The names of the rules used for this evaluation.build()clear()Optional.Output only.The Cloud Storage bucket name for custom rules.Description of the Evaluation.Evaluation type.Optional.Name 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.Output only.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 *` # MonthlyOutput only.booleancontainsLabels(String key) Labels as key value pairs.Optional.Optional.Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput 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.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorEvaluation 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.Deprecated.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.Resource filter for an evaluation defining the scope of resources to be evaluated.Output only.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.com.google.protobuf.ProtocolStringListThe 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.Timestamp.BuilderOutput 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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanOptional.mergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(Evaluation other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Resource filter for an evaluation defining the scope of resources to be evaluated.Output only.mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.putAllLabels(Map<String, String> values) Labels as key value pairs.Labels as key value pairs.removeLabels(String key) Labels as key value pairs.Optional.setBigQueryDestination(BigQueryDestination.Builder builderForValue) Optional.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setCustomRulesBucket(String value) The Cloud Storage bucket name for custom rules.setCustomRulesBucketBytes(com.google.protobuf.ByteString value) The Cloud Storage bucket name for custom rules.setDescription(String value) Description of the Evaluation.setDescriptionBytes(com.google.protobuf.ByteString value) Description of the Evaluation.Evaluation type.setEvaluationTypeValue(int value) Evaluation type.Optional.setKmsKeyBytes(com.google.protobuf.ByteString value) Optional.Name of resource that has the form `projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`.setNameBytes(com.google.protobuf.ByteString value) Name of resource that has the form `projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`.setResourceFilter(ResourceFilter value) Resource filter for an evaluation defining the scope of resources to be evaluated.setResourceFilter(ResourceFilter.Builder builderForValue) Resource filter for an evaluation defining the scope of resources to be evaluated.setResourceStatus(ResourceStatus value) Output only.setResourceStatus(ResourceStatus.Builder builderForValue) Output only.setRuleNames(int index, String value) The names of the rules used for this evaluation.setSchedule(String value) 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 *` # MonthlysetScheduleBytes(com.google.protobuf.ByteString value) 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 *` # MonthlysetUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Evaluation.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Evaluation.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Evaluation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Evaluation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Evaluation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Evaluation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Evaluation.Builder>
-
mergeFrom
public Evaluation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Evaluation.Builder>- Throws:
IOException
-
getName
Name of resource that has the form `projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`.string name = 1;- Specified by:
getNamein interfaceEvaluationOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of resource that has the form `projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`.string name = 1;- Specified by:
getNameBytesin interfaceEvaluationOrBuilder- Returns:
- The bytes for name.
-
setName
Name of resource that has the form `projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`.string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of resource that has the form `projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`.string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
Name of resource that has the form `projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`.string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDescription
Description of the Evaluation.
string description = 2;- Specified by:
getDescriptionin interfaceEvaluationOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Description of the Evaluation.
string description = 2;- Specified by:
getDescriptionBytesin interfaceEvaluationOrBuilder- Returns:
- The bytes for description.
-
setDescription
Description of the Evaluation.
string description = 2;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
Description of the Evaluation.
string description = 2;- Returns:
- This builder for chaining.
-
setDescriptionBytes
Description of the Evaluation.
string description = 2;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasResourceFilter
public boolean hasResourceFilter()Resource filter for an evaluation defining the scope of resources to be evaluated.
.google.cloud.workloadmanager.v1.ResourceFilter resource_filter = 3;- Specified by:
hasResourceFilterin interfaceEvaluationOrBuilder- Returns:
- Whether the resourceFilter field is set.
-
getResourceFilter
Resource filter for an evaluation defining the scope of resources to be evaluated.
.google.cloud.workloadmanager.v1.ResourceFilter resource_filter = 3;- Specified by:
getResourceFilterin interfaceEvaluationOrBuilder- Returns:
- The resourceFilter.
-
setResourceFilter
Resource filter for an evaluation defining the scope of resources to be evaluated.
.google.cloud.workloadmanager.v1.ResourceFilter resource_filter = 3; -
setResourceFilter
Resource filter for an evaluation defining the scope of resources to be evaluated.
.google.cloud.workloadmanager.v1.ResourceFilter resource_filter = 3; -
mergeResourceFilter
Resource filter for an evaluation defining the scope of resources to be evaluated.
.google.cloud.workloadmanager.v1.ResourceFilter resource_filter = 3; -
clearResourceFilter
Resource filter for an evaluation defining the scope of resources to be evaluated.
.google.cloud.workloadmanager.v1.ResourceFilter resource_filter = 3; -
getResourceFilterBuilder
Resource filter for an evaluation defining the scope of resources to be evaluated.
.google.cloud.workloadmanager.v1.ResourceFilter resource_filter = 3; -
getResourceFilterOrBuilder
Resource filter for an evaluation defining the scope of resources to be evaluated.
.google.cloud.workloadmanager.v1.ResourceFilter resource_filter = 3;- Specified by:
getResourceFilterOrBuilderin interfaceEvaluationOrBuilder
-
getRuleNamesList
public com.google.protobuf.ProtocolStringList getRuleNamesList()The names of the rules used for this evaluation.
repeated string rule_names = 4;- Specified by:
getRuleNamesListin interfaceEvaluationOrBuilder- Returns:
- A list containing the ruleNames.
-
getRuleNamesCount
public int getRuleNamesCount()The names of the rules used for this evaluation.
repeated string rule_names = 4;- Specified by:
getRuleNamesCountin interfaceEvaluationOrBuilder- Returns:
- The count of ruleNames.
-
getRuleNames
The names of the rules used for this evaluation.
repeated string rule_names = 4;- Specified by:
getRuleNamesin interfaceEvaluationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The ruleNames at the given index.
-
getRuleNamesBytes
public com.google.protobuf.ByteString getRuleNamesBytes(int index) The names of the rules used for this evaluation.
repeated string rule_names = 4;- Specified by:
getRuleNamesBytesin interfaceEvaluationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the ruleNames at the given index.
-
setRuleNames
The names of the rules used for this evaluation.
repeated string rule_names = 4;- Parameters:
index- The index to set the value at.value- The ruleNames to set.- Returns:
- This builder for chaining.
-
addRuleNames
The names of the rules used for this evaluation.
repeated string rule_names = 4;- Parameters:
value- The ruleNames to add.- Returns:
- This builder for chaining.
-
addAllRuleNames
The names of the rules used for this evaluation.
repeated string rule_names = 4;- Parameters:
values- The ruleNames to add.- Returns:
- This builder for chaining.
-
clearRuleNames
The names of the rules used for this evaluation.
repeated string rule_names = 4;- Returns:
- This builder for chaining.
-
addRuleNamesBytes
The names of the rules used for this evaluation.
repeated string rule_names = 4;- Parameters:
value- The bytes of the ruleNames to add.- Returns:
- This builder for chaining.
-
hasResourceStatus
public 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];- Specified by:
hasResourceStatusin interfaceEvaluationOrBuilder- Returns:
- Whether the resourceStatus field is set.
-
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];- Specified by:
getResourceStatusin interfaceEvaluationOrBuilder- Returns:
- The resourceStatus.
-
setResourceStatus
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]; -
setResourceStatus
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]; -
mergeResourceStatus
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]; -
clearResourceStatus
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]; -
getResourceStatusBuilder
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]; -
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];- Specified by:
getResourceStatusOrBuilderin interfaceEvaluationOrBuilder
-
hasCreateTime
public boolean hasCreateTime()Output only. [Output only] Create time stamp.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceEvaluationOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. [Output only] Create time stamp.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceEvaluationOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. [Output only] Create time stamp.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
Output only. [Output only] Create time stamp.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. [Output only] Create time stamp.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. [Output only] Create time stamp.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. [Output only] Create time stamp.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. [Output only] Create time stamp.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceEvaluationOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. [Output only] Update time stamp.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceEvaluationOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. [Output only] Update time stamp.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceEvaluationOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. [Output only] Update time stamp.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
Output only. [Output only] Update time stamp.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. [Output only] Update time stamp.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. [Output only] Update time stamp.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. [Output only] Update time stamp.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. [Output only] Update time stamp.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceEvaluationOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:EvaluationOrBuilderLabels as key value pairs.
map<string, string> labels = 9;- Specified by:
getLabelsCountin interfaceEvaluationOrBuilder
-
containsLabels
Labels as key value pairs.
map<string, string> labels = 9;- Specified by:
containsLabelsin interfaceEvaluationOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceEvaluationOrBuilder
-
getLabelsMap
Labels as key value pairs.
map<string, string> labels = 9;- Specified by:
getLabelsMapin interfaceEvaluationOrBuilder
-
getLabelsOrDefault
Labels as key value pairs.
map<string, string> labels = 9;- Specified by:
getLabelsOrDefaultin interfaceEvaluationOrBuilder
-
getLabelsOrThrow
Labels as key value pairs.
map<string, string> labels = 9;- Specified by:
getLabelsOrThrowin interfaceEvaluationOrBuilder
-
clearLabels
-
removeLabels
Labels as key value pairs.
map<string, string> labels = 9; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Labels as key value pairs.
map<string, string> labels = 9; -
putAllLabels
Labels as key value pairs.
map<string, string> labels = 9; -
hasSchedule
public 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;- Specified by:
hasSchedulein interfaceEvaluationOrBuilder- Returns:
- Whether the schedule field is set.
-
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;- Specified by:
getSchedulein interfaceEvaluationOrBuilder- Returns:
- The schedule.
-
getScheduleBytes
public 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;- Specified by:
getScheduleBytesin interfaceEvaluationOrBuilder- Returns:
- The bytes for schedule.
-
setSchedule
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;- Parameters:
value- The schedule to set.- Returns:
- This builder for chaining.
-
clearSchedule
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:
- This builder for chaining.
-
setScheduleBytes
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;- Parameters:
value- The bytes for schedule to set.- Returns:
- This builder for chaining.
-
getCustomRulesBucket
The Cloud Storage bucket name for custom rules.
string custom_rules_bucket = 11;- Specified by:
getCustomRulesBucketin interfaceEvaluationOrBuilder- Returns:
- The customRulesBucket.
-
getCustomRulesBucketBytes
public com.google.protobuf.ByteString getCustomRulesBucketBytes()The Cloud Storage bucket name for custom rules.
string custom_rules_bucket = 11;- Specified by:
getCustomRulesBucketBytesin interfaceEvaluationOrBuilder- Returns:
- The bytes for customRulesBucket.
-
setCustomRulesBucket
The Cloud Storage bucket name for custom rules.
string custom_rules_bucket = 11;- Parameters:
value- The customRulesBucket to set.- Returns:
- This builder for chaining.
-
clearCustomRulesBucket
The Cloud Storage bucket name for custom rules.
string custom_rules_bucket = 11;- Returns:
- This builder for chaining.
-
setCustomRulesBucketBytes
The Cloud Storage bucket name for custom rules.
string custom_rules_bucket = 11;- Parameters:
value- The bytes for customRulesBucket to set.- Returns:
- This builder for chaining.
-
getEvaluationTypeValue
public int getEvaluationTypeValue()Evaluation type.
.google.cloud.workloadmanager.v1.Evaluation.EvaluationType evaluation_type = 12;- Specified by:
getEvaluationTypeValuein interfaceEvaluationOrBuilder- Returns:
- The enum numeric value on the wire for evaluationType.
-
setEvaluationTypeValue
Evaluation type.
.google.cloud.workloadmanager.v1.Evaluation.EvaluationType evaluation_type = 12;- Parameters:
value- The enum numeric value on the wire for evaluationType to set.- Returns:
- This builder for chaining.
-
getEvaluationType
Evaluation type.
.google.cloud.workloadmanager.v1.Evaluation.EvaluationType evaluation_type = 12;- Specified by:
getEvaluationTypein interfaceEvaluationOrBuilder- Returns:
- The evaluationType.
-
setEvaluationType
Evaluation type.
.google.cloud.workloadmanager.v1.Evaluation.EvaluationType evaluation_type = 12;- Parameters:
value- The evaluationType to set.- Returns:
- This builder for chaining.
-
clearEvaluationType
Evaluation type.
.google.cloud.workloadmanager.v1.Evaluation.EvaluationType evaluation_type = 12;- Returns:
- This builder for chaining.
-
hasBigQueryDestination
public 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];- Specified by:
hasBigQueryDestinationin interfaceEvaluationOrBuilder- Returns:
- Whether the bigQueryDestination field is set.
-
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];- Specified by:
getBigQueryDestinationin interfaceEvaluationOrBuilder- Returns:
- The bigQueryDestination.
-
setBigQueryDestination
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]; -
setBigQueryDestination
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]; -
mergeBigQueryDestination
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]; -
clearBigQueryDestination
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]; -
getBigQueryDestinationBuilder
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]; -
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];- Specified by:
getBigQueryDestinationOrBuilderin interfaceEvaluationOrBuilder
-
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) = { ... }- Specified by:
getKmsKeyin interfaceEvaluationOrBuilder- Returns:
- The kmsKey.
-
getKmsKeyBytes
public 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) = { ... }- Specified by:
getKmsKeyBytesin interfaceEvaluationOrBuilder- Returns:
- The bytes for kmsKey.
-
setKmsKey
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) = { ... }- Parameters:
value- The kmsKey to set.- Returns:
- This builder for chaining.
-
clearKmsKey
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:
- This builder for chaining.
-
setKmsKeyBytes
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) = { ... }- Parameters:
value- The bytes for kmsKey to set.- Returns:
- This builder for chaining.
-