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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Evaluation.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Evaluation.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Evaluation.Builder>
    • clear

      public Evaluation.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Evaluation.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Evaluation.Builder>
    • getDefaultInstanceForType

      public Evaluation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Evaluation build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Evaluation buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Evaluation.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Evaluation.Builder>
    • mergeFrom

      public Evaluation.Builder mergeFrom(Evaluation other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Evaluation.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Name of resource that has the form
       `projects/{project_id}/locations/{location_id}/evaluations/{evaluation_id}`.
       
      string name = 1;
      Specified by:
      getName in interface EvaluationOrBuilder
      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:
      getNameBytes in interface EvaluationOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Evaluation.Builder setName(String value)
       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

      public Evaluation.Builder 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

      public Evaluation.Builder setNameBytes(com.google.protobuf.ByteString value)
       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

      public String getDescription()
       Description of the Evaluation.
       
      string description = 2;
      Specified by:
      getDescription in interface EvaluationOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Description of the Evaluation.
       
      string description = 2;
      Specified by:
      getDescriptionBytes in interface EvaluationOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public Evaluation.Builder setDescription(String value)
       Description of the Evaluation.
       
      string description = 2;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public Evaluation.Builder clearDescription()
       Description of the Evaluation.
       
      string description = 2;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public Evaluation.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       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:
      hasResourceFilter in interface EvaluationOrBuilder
      Returns:
      Whether the resourceFilter field is set.
    • getResourceFilter

      public ResourceFilter getResourceFilter()
       Resource filter for an evaluation defining the scope of resources to be
       evaluated.
       
      .google.cloud.workloadmanager.v1.ResourceFilter resource_filter = 3;
      Specified by:
      getResourceFilter in interface EvaluationOrBuilder
      Returns:
      The resourceFilter.
    • setResourceFilter

      public Evaluation.Builder setResourceFilter(ResourceFilter value)
       Resource filter for an evaluation defining the scope of resources to be
       evaluated.
       
      .google.cloud.workloadmanager.v1.ResourceFilter resource_filter = 3;
    • setResourceFilter

      public Evaluation.Builder setResourceFilter(ResourceFilter.Builder builderForValue)
       Resource filter for an evaluation defining the scope of resources to be
       evaluated.
       
      .google.cloud.workloadmanager.v1.ResourceFilter resource_filter = 3;
    • mergeResourceFilter

      public Evaluation.Builder mergeResourceFilter(ResourceFilter value)
       Resource filter for an evaluation defining the scope of resources to be
       evaluated.
       
      .google.cloud.workloadmanager.v1.ResourceFilter resource_filter = 3;
    • clearResourceFilter

      public Evaluation.Builder clearResourceFilter()
       Resource filter for an evaluation defining the scope of resources to be
       evaluated.
       
      .google.cloud.workloadmanager.v1.ResourceFilter resource_filter = 3;
    • getResourceFilterBuilder

      public ResourceFilter.Builder getResourceFilterBuilder()
       Resource filter for an evaluation defining the scope of resources to be
       evaluated.
       
      .google.cloud.workloadmanager.v1.ResourceFilter resource_filter = 3;
    • getResourceFilterOrBuilder

      public ResourceFilterOrBuilder getResourceFilterOrBuilder()
       Resource filter for an evaluation defining the scope of resources to be
       evaluated.
       
      .google.cloud.workloadmanager.v1.ResourceFilter resource_filter = 3;
      Specified by:
      getResourceFilterOrBuilder in interface EvaluationOrBuilder
    • getRuleNamesList

      public com.google.protobuf.ProtocolStringList getRuleNamesList()
       The names of the rules used for this evaluation.
       
      repeated string rule_names = 4;
      Specified by:
      getRuleNamesList in interface EvaluationOrBuilder
      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:
      getRuleNamesCount in interface EvaluationOrBuilder
      Returns:
      The count of ruleNames.
    • getRuleNames

      public String getRuleNames(int index)
       The names of the rules used for this evaluation.
       
      repeated string rule_names = 4;
      Specified by:
      getRuleNames in interface EvaluationOrBuilder
      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:
      getRuleNamesBytes in interface EvaluationOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the ruleNames at the given index.
    • setRuleNames

      public Evaluation.Builder setRuleNames(int index, String value)
       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

      public Evaluation.Builder addRuleNames(String value)
       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

      public Evaluation.Builder addAllRuleNames(Iterable<String> values)
       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

      public Evaluation.Builder clearRuleNames()
       The names of the rules used for this evaluation.
       
      repeated string rule_names = 4;
      Returns:
      This builder for chaining.
    • addRuleNamesBytes

      public Evaluation.Builder addRuleNamesBytes(com.google.protobuf.ByteString value)
       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:
      hasResourceStatus in interface EvaluationOrBuilder
      Returns:
      Whether the resourceStatus field is set.
    • getResourceStatus

      public 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];
      Specified by:
      getResourceStatus in interface EvaluationOrBuilder
      Returns:
      The resourceStatus.
    • setResourceStatus

      public Evaluation.Builder setResourceStatus(ResourceStatus value)
       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

      public Evaluation.Builder setResourceStatus(ResourceStatus.Builder builderForValue)
       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

      public Evaluation.Builder mergeResourceStatus(ResourceStatus value)
       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

      public Evaluation.Builder 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

      public ResourceStatus.Builder 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

      public 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];
      Specified by:
      getResourceStatusOrBuilder in interface EvaluationOrBuilder
    • 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:
      hasCreateTime in interface EvaluationOrBuilder
      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:
      getCreateTime in interface EvaluationOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Evaluation.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. [Output only] Create time stamp.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public Evaluation.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. [Output only] Create time stamp.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public Evaluation.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. [Output only] Create time stamp.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public Evaluation.Builder 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:
      getCreateTimeOrBuilder in interface EvaluationOrBuilder
    • 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:
      hasUpdateTime in interface EvaluationOrBuilder
      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:
      getUpdateTime in interface EvaluationOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Evaluation.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. [Output only] Update time stamp.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public Evaluation.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. [Output only] Update time stamp.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public Evaluation.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. [Output only] Update time stamp.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public Evaluation.Builder 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:
      getUpdateTimeOrBuilder in interface EvaluationOrBuilder
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: EvaluationOrBuilder
       Labels as key value pairs.
       
      map<string, string> labels = 9;
      Specified by:
      getLabelsCount in interface EvaluationOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Labels as key value pairs.
       
      map<string, string> labels = 9;
      Specified by:
      containsLabels in interface EvaluationOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface EvaluationOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Labels as key value pairs.
       
      map<string, string> labels = 9;
      Specified by:
      getLabelsMap in interface EvaluationOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Labels as key value pairs.
       
      map<string, string> labels = 9;
      Specified by:
      getLabelsOrDefault in interface EvaluationOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Labels as key value pairs.
       
      map<string, string> labels = 9;
      Specified by:
      getLabelsOrThrow in interface EvaluationOrBuilder
    • clearLabels

      public Evaluation.Builder clearLabels()
    • removeLabels

      public Evaluation.Builder removeLabels(String key)
       Labels as key value pairs.
       
      map<string, string> labels = 9;
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public Evaluation.Builder putLabels(String key, String value)
       Labels as key value pairs.
       
      map<string, string> labels = 9;
    • putAllLabels

      public Evaluation.Builder putAllLabels(Map<String,String> values)
       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:
      hasSchedule in interface EvaluationOrBuilder
      Returns:
      Whether the schedule field is set.
    • getSchedule

      public 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;
      Specified by:
      getSchedule in interface EvaluationOrBuilder
      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:
      getScheduleBytes in interface EvaluationOrBuilder
      Returns:
      The bytes for schedule.
    • setSchedule

      public Evaluation.Builder 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 *` # Monthly
       
      optional string schedule = 10;
      Parameters:
      value - The schedule to set.
      Returns:
      This builder for chaining.
    • clearSchedule

      public Evaluation.Builder 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

      public Evaluation.Builder setScheduleBytes(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 *` # Monthly
       
      optional string schedule = 10;
      Parameters:
      value - The bytes for schedule to set.
      Returns:
      This builder for chaining.
    • getCustomRulesBucket

      public String getCustomRulesBucket()
       The Cloud Storage bucket name for custom rules.
       
      string custom_rules_bucket = 11;
      Specified by:
      getCustomRulesBucket in interface EvaluationOrBuilder
      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:
      getCustomRulesBucketBytes in interface EvaluationOrBuilder
      Returns:
      The bytes for customRulesBucket.
    • setCustomRulesBucket

      public Evaluation.Builder setCustomRulesBucket(String value)
       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

      public Evaluation.Builder clearCustomRulesBucket()
       The Cloud Storage bucket name for custom rules.
       
      string custom_rules_bucket = 11;
      Returns:
      This builder for chaining.
    • setCustomRulesBucketBytes

      public Evaluation.Builder setCustomRulesBucketBytes(com.google.protobuf.ByteString value)
       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:
      getEvaluationTypeValue in interface EvaluationOrBuilder
      Returns:
      The enum numeric value on the wire for evaluationType.
    • setEvaluationTypeValue

      public Evaluation.Builder setEvaluationTypeValue(int value)
       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

      public Evaluation.EvaluationType getEvaluationType()
       Evaluation type.
       
      .google.cloud.workloadmanager.v1.Evaluation.EvaluationType evaluation_type = 12;
      Specified by:
      getEvaluationType in interface EvaluationOrBuilder
      Returns:
      The evaluationType.
    • setEvaluationType

      public Evaluation.Builder setEvaluationType(Evaluation.EvaluationType value)
       Evaluation type.
       
      .google.cloud.workloadmanager.v1.Evaluation.EvaluationType evaluation_type = 12;
      Parameters:
      value - The evaluationType to set.
      Returns:
      This builder for chaining.
    • clearEvaluationType

      public Evaluation.Builder 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:
      hasBigQueryDestination in interface EvaluationOrBuilder
      Returns:
      Whether the bigQueryDestination field is set.
    • getBigQueryDestination

      public 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];
      Specified by:
      getBigQueryDestination in interface EvaluationOrBuilder
      Returns:
      The bigQueryDestination.
    • setBigQueryDestination

      public Evaluation.Builder setBigQueryDestination(BigQueryDestination value)
       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

      public Evaluation.Builder setBigQueryDestination(BigQueryDestination.Builder builderForValue)
       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

      public Evaluation.Builder mergeBigQueryDestination(BigQueryDestination value)
       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

      public Evaluation.Builder 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

      public BigQueryDestination.Builder 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

      public 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];
      Specified by:
      getBigQueryDestinationOrBuilder in interface EvaluationOrBuilder
    • getKmsKey

      public 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) = { ... }
      Specified by:
      getKmsKey in interface EvaluationOrBuilder
      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:
      getKmsKeyBytes in interface EvaluationOrBuilder
      Returns:
      The bytes for kmsKey.
    • setKmsKey

      public Evaluation.Builder setKmsKey(String value)
       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

      public Evaluation.Builder 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

      public Evaluation.Builder setKmsKeyBytes(com.google.protobuf.ByteString value)
       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.