Class DeployPolicyEvaluationEvent.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DeployPolicyEvaluationEvent.Builder>
com.google.cloud.deploy.v1.DeployPolicyEvaluationEvent.Builder
All Implemented Interfaces:
DeployPolicyEvaluationEventOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DeployPolicyEvaluationEvent

public static final class DeployPolicyEvaluationEvent.Builder extends com.google.protobuf.GeneratedMessage.Builder<DeployPolicyEvaluationEvent.Builder> implements DeployPolicyEvaluationEventOrBuilder
 Payload proto for "clouddeploy.googleapis.com/deploypolicy_evaluation"
 Platform Log event that describes the deploy policy evaluation event.
 
Protobuf type google.cloud.deploy.v1.DeployPolicyEvaluationEvent
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DeployPolicyEvaluationEvent.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<DeployPolicyEvaluationEvent.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<DeployPolicyEvaluationEvent.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public DeployPolicyEvaluationEvent.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<DeployPolicyEvaluationEvent.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DeployPolicyEvaluationEvent.Builder>
    • mergeFrom

      public DeployPolicyEvaluationEvent.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<DeployPolicyEvaluationEvent.Builder>
      Throws:
      IOException
    • getMessage

      public String getMessage()
       Debug message for when a deploy policy event occurs.
       
      string message = 1;
      Specified by:
      getMessage in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
       Debug message for when a deploy policy event occurs.
       
      string message = 1;
      Specified by:
      getMessageBytes in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The bytes for message.
    • setMessage

      public DeployPolicyEvaluationEvent.Builder setMessage(String value)
       Debug message for when a deploy policy event occurs.
       
      string message = 1;
      Parameters:
      value - The message to set.
      Returns:
      This builder for chaining.
    • clearMessage

      public DeployPolicyEvaluationEvent.Builder clearMessage()
       Debug message for when a deploy policy event occurs.
       
      string message = 1;
      Returns:
      This builder for chaining.
    • setMessageBytes

      public DeployPolicyEvaluationEvent.Builder setMessageBytes(com.google.protobuf.ByteString value)
       Debug message for when a deploy policy event occurs.
       
      string message = 1;
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.
    • getRuleType

      public String getRuleType()
       Rule type (e.g. Restrict Rollouts).
       
      string rule_type = 2;
      Specified by:
      getRuleType in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The ruleType.
    • getRuleTypeBytes

      public com.google.protobuf.ByteString getRuleTypeBytes()
       Rule type (e.g. Restrict Rollouts).
       
      string rule_type = 2;
      Specified by:
      getRuleTypeBytes in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The bytes for ruleType.
    • setRuleType

      public DeployPolicyEvaluationEvent.Builder setRuleType(String value)
       Rule type (e.g. Restrict Rollouts).
       
      string rule_type = 2;
      Parameters:
      value - The ruleType to set.
      Returns:
      This builder for chaining.
    • clearRuleType

      public DeployPolicyEvaluationEvent.Builder clearRuleType()
       Rule type (e.g. Restrict Rollouts).
       
      string rule_type = 2;
      Returns:
      This builder for chaining.
    • setRuleTypeBytes

      public DeployPolicyEvaluationEvent.Builder setRuleTypeBytes(com.google.protobuf.ByteString value)
       Rule type (e.g. Restrict Rollouts).
       
      string rule_type = 2;
      Parameters:
      value - The bytes for ruleType to set.
      Returns:
      This builder for chaining.
    • getRule

      public String getRule()
       Rule id.
       
      string rule = 3;
      Specified by:
      getRule in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The rule.
    • getRuleBytes

      public com.google.protobuf.ByteString getRuleBytes()
       Rule id.
       
      string rule = 3;
      Specified by:
      getRuleBytes in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The bytes for rule.
    • setRule

       Rule id.
       
      string rule = 3;
      Parameters:
      value - The rule to set.
      Returns:
      This builder for chaining.
    • clearRule

       Rule id.
       
      string rule = 3;
      Returns:
      This builder for chaining.
    • setRuleBytes

      public DeployPolicyEvaluationEvent.Builder setRuleBytes(com.google.protobuf.ByteString value)
       Rule id.
       
      string rule = 3;
      Parameters:
      value - The bytes for rule to set.
      Returns:
      This builder for chaining.
    • getPipelineUid

      public String getPipelineUid()
       Unique identifier of the `Delivery Pipeline`.
       
      string pipeline_uid = 4;
      Specified by:
      getPipelineUid in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The pipelineUid.
    • getPipelineUidBytes

      public com.google.protobuf.ByteString getPipelineUidBytes()
       Unique identifier of the `Delivery Pipeline`.
       
      string pipeline_uid = 4;
      Specified by:
      getPipelineUidBytes in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The bytes for pipelineUid.
    • setPipelineUid

      public DeployPolicyEvaluationEvent.Builder setPipelineUid(String value)
       Unique identifier of the `Delivery Pipeline`.
       
      string pipeline_uid = 4;
      Parameters:
      value - The pipelineUid to set.
      Returns:
      This builder for chaining.
    • clearPipelineUid

      public DeployPolicyEvaluationEvent.Builder clearPipelineUid()
       Unique identifier of the `Delivery Pipeline`.
       
      string pipeline_uid = 4;
      Returns:
      This builder for chaining.
    • setPipelineUidBytes

      public DeployPolicyEvaluationEvent.Builder setPipelineUidBytes(com.google.protobuf.ByteString value)
       Unique identifier of the `Delivery Pipeline`.
       
      string pipeline_uid = 4;
      Parameters:
      value - The bytes for pipelineUid to set.
      Returns:
      This builder for chaining.
    • getDeliveryPipeline

      public String getDeliveryPipeline()
       The name of the `Delivery Pipeline`.
       
      string delivery_pipeline = 5;
      Specified by:
      getDeliveryPipeline in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The deliveryPipeline.
    • getDeliveryPipelineBytes

      public com.google.protobuf.ByteString getDeliveryPipelineBytes()
       The name of the `Delivery Pipeline`.
       
      string delivery_pipeline = 5;
      Specified by:
      getDeliveryPipelineBytes in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The bytes for deliveryPipeline.
    • setDeliveryPipeline

      public DeployPolicyEvaluationEvent.Builder setDeliveryPipeline(String value)
       The name of the `Delivery Pipeline`.
       
      string delivery_pipeline = 5;
      Parameters:
      value - The deliveryPipeline to set.
      Returns:
      This builder for chaining.
    • clearDeliveryPipeline

      public DeployPolicyEvaluationEvent.Builder clearDeliveryPipeline()
       The name of the `Delivery Pipeline`.
       
      string delivery_pipeline = 5;
      Returns:
      This builder for chaining.
    • setDeliveryPipelineBytes

      public DeployPolicyEvaluationEvent.Builder setDeliveryPipelineBytes(com.google.protobuf.ByteString value)
       The name of the `Delivery Pipeline`.
       
      string delivery_pipeline = 5;
      Parameters:
      value - The bytes for deliveryPipeline to set.
      Returns:
      This builder for chaining.
    • getTargetUid

      public String getTargetUid()
       Unique identifier of the `Target`. This is an optional field, as a `Target`
       may not always be applicable to a policy.
       
      string target_uid = 6;
      Specified by:
      getTargetUid in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The targetUid.
    • getTargetUidBytes

      public com.google.protobuf.ByteString getTargetUidBytes()
       Unique identifier of the `Target`. This is an optional field, as a `Target`
       may not always be applicable to a policy.
       
      string target_uid = 6;
      Specified by:
      getTargetUidBytes in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The bytes for targetUid.
    • setTargetUid

      public DeployPolicyEvaluationEvent.Builder setTargetUid(String value)
       Unique identifier of the `Target`. This is an optional field, as a `Target`
       may not always be applicable to a policy.
       
      string target_uid = 6;
      Parameters:
      value - The targetUid to set.
      Returns:
      This builder for chaining.
    • clearTargetUid

      public DeployPolicyEvaluationEvent.Builder clearTargetUid()
       Unique identifier of the `Target`. This is an optional field, as a `Target`
       may not always be applicable to a policy.
       
      string target_uid = 6;
      Returns:
      This builder for chaining.
    • setTargetUidBytes

      public DeployPolicyEvaluationEvent.Builder setTargetUidBytes(com.google.protobuf.ByteString value)
       Unique identifier of the `Target`. This is an optional field, as a `Target`
       may not always be applicable to a policy.
       
      string target_uid = 6;
      Parameters:
      value - The bytes for targetUid to set.
      Returns:
      This builder for chaining.
    • getTarget

      public String getTarget()
       The name of the `Target`. This is an optional field, as a `Target` may not
       always be applicable to a policy.
       
      string target = 7;
      Specified by:
      getTarget in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The target.
    • getTargetBytes

      public com.google.protobuf.ByteString getTargetBytes()
       The name of the `Target`. This is an optional field, as a `Target` may not
       always be applicable to a policy.
       
      string target = 7;
      Specified by:
      getTargetBytes in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The bytes for target.
    • setTarget

      public DeployPolicyEvaluationEvent.Builder setTarget(String value)
       The name of the `Target`. This is an optional field, as a `Target` may not
       always be applicable to a policy.
       
      string target = 7;
      Parameters:
      value - The target to set.
      Returns:
      This builder for chaining.
    • clearTarget

       The name of the `Target`. This is an optional field, as a `Target` may not
       always be applicable to a policy.
       
      string target = 7;
      Returns:
      This builder for chaining.
    • setTargetBytes

      public DeployPolicyEvaluationEvent.Builder setTargetBytes(com.google.protobuf.ByteString value)
       The name of the `Target`. This is an optional field, as a `Target` may not
       always be applicable to a policy.
       
      string target = 7;
      Parameters:
      value - The bytes for target to set.
      Returns:
      This builder for chaining.
    • getInvokerValue

      public int getInvokerValue()
       What invoked the action (e.g. a user or automation).
       
      .google.cloud.deploy.v1.DeployPolicy.Invoker invoker = 8;
      Specified by:
      getInvokerValue in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The enum numeric value on the wire for invoker.
    • setInvokerValue

      public DeployPolicyEvaluationEvent.Builder setInvokerValue(int value)
       What invoked the action (e.g. a user or automation).
       
      .google.cloud.deploy.v1.DeployPolicy.Invoker invoker = 8;
      Parameters:
      value - The enum numeric value on the wire for invoker to set.
      Returns:
      This builder for chaining.
    • getInvoker

      public DeployPolicy.Invoker getInvoker()
       What invoked the action (e.g. a user or automation).
       
      .google.cloud.deploy.v1.DeployPolicy.Invoker invoker = 8;
      Specified by:
      getInvoker in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The invoker.
    • setInvoker

       What invoked the action (e.g. a user or automation).
       
      .google.cloud.deploy.v1.DeployPolicy.Invoker invoker = 8;
      Parameters:
      value - The invoker to set.
      Returns:
      This builder for chaining.
    • clearInvoker

      public DeployPolicyEvaluationEvent.Builder clearInvoker()
       What invoked the action (e.g. a user or automation).
       
      .google.cloud.deploy.v1.DeployPolicy.Invoker invoker = 8;
      Returns:
      This builder for chaining.
    • getDeployPolicy

      public String getDeployPolicy()
       The name of the `DeployPolicy`.
       
      string deploy_policy = 9;
      Specified by:
      getDeployPolicy in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The deployPolicy.
    • getDeployPolicyBytes

      public com.google.protobuf.ByteString getDeployPolicyBytes()
       The name of the `DeployPolicy`.
       
      string deploy_policy = 9;
      Specified by:
      getDeployPolicyBytes in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The bytes for deployPolicy.
    • setDeployPolicy

      public DeployPolicyEvaluationEvent.Builder setDeployPolicy(String value)
       The name of the `DeployPolicy`.
       
      string deploy_policy = 9;
      Parameters:
      value - The deployPolicy to set.
      Returns:
      This builder for chaining.
    • clearDeployPolicy

      public DeployPolicyEvaluationEvent.Builder clearDeployPolicy()
       The name of the `DeployPolicy`.
       
      string deploy_policy = 9;
      Returns:
      This builder for chaining.
    • setDeployPolicyBytes

      public DeployPolicyEvaluationEvent.Builder setDeployPolicyBytes(com.google.protobuf.ByteString value)
       The name of the `DeployPolicy`.
       
      string deploy_policy = 9;
      Parameters:
      value - The bytes for deployPolicy to set.
      Returns:
      This builder for chaining.
    • getDeployPolicyUid

      public String getDeployPolicyUid()
       Unique identifier of the `DeployPolicy`.
       
      string deploy_policy_uid = 10;
      Specified by:
      getDeployPolicyUid in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The deployPolicyUid.
    • getDeployPolicyUidBytes

      public com.google.protobuf.ByteString getDeployPolicyUidBytes()
       Unique identifier of the `DeployPolicy`.
       
      string deploy_policy_uid = 10;
      Specified by:
      getDeployPolicyUidBytes in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The bytes for deployPolicyUid.
    • setDeployPolicyUid

      public DeployPolicyEvaluationEvent.Builder setDeployPolicyUid(String value)
       Unique identifier of the `DeployPolicy`.
       
      string deploy_policy_uid = 10;
      Parameters:
      value - The deployPolicyUid to set.
      Returns:
      This builder for chaining.
    • clearDeployPolicyUid

      public DeployPolicyEvaluationEvent.Builder clearDeployPolicyUid()
       Unique identifier of the `DeployPolicy`.
       
      string deploy_policy_uid = 10;
      Returns:
      This builder for chaining.
    • setDeployPolicyUidBytes

      public DeployPolicyEvaluationEvent.Builder setDeployPolicyUidBytes(com.google.protobuf.ByteString value)
       Unique identifier of the `DeployPolicy`.
       
      string deploy_policy_uid = 10;
      Parameters:
      value - The bytes for deployPolicyUid to set.
      Returns:
      This builder for chaining.
    • getAllowed

      public boolean getAllowed()
       Whether the request is allowed. Allowed is set as true if:
       (1) the request complies with the policy; or
       (2) the request doesn't comply with the policy but the policy was
       overridden; or
       (3) the request doesn't comply with the policy but the policy was suspended
       
      bool allowed = 11;
      Specified by:
      getAllowed in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The allowed.
    • setAllowed

      public DeployPolicyEvaluationEvent.Builder setAllowed(boolean value)
       Whether the request is allowed. Allowed is set as true if:
       (1) the request complies with the policy; or
       (2) the request doesn't comply with the policy but the policy was
       overridden; or
       (3) the request doesn't comply with the policy but the policy was suspended
       
      bool allowed = 11;
      Parameters:
      value - The allowed to set.
      Returns:
      This builder for chaining.
    • clearAllowed

      public DeployPolicyEvaluationEvent.Builder clearAllowed()
       Whether the request is allowed. Allowed is set as true if:
       (1) the request complies with the policy; or
       (2) the request doesn't comply with the policy but the policy was
       overridden; or
       (3) the request doesn't comply with the policy but the policy was suspended
       
      bool allowed = 11;
      Returns:
      This builder for chaining.
    • getVerdictValue

      public int getVerdictValue()
       The policy verdict of the request.
       
      .google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdict verdict = 12;
      Specified by:
      getVerdictValue in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The enum numeric value on the wire for verdict.
    • setVerdictValue

      public DeployPolicyEvaluationEvent.Builder setVerdictValue(int value)
       The policy verdict of the request.
       
      .google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdict verdict = 12;
      Parameters:
      value - The enum numeric value on the wire for verdict to set.
      Returns:
      This builder for chaining.
    • getVerdict

       The policy verdict of the request.
       
      .google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdict verdict = 12;
      Specified by:
      getVerdict in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The verdict.
    • setVerdict

       The policy verdict of the request.
       
      .google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdict verdict = 12;
      Parameters:
      value - The verdict to set.
      Returns:
      This builder for chaining.
    • clearVerdict

      public DeployPolicyEvaluationEvent.Builder clearVerdict()
       The policy verdict of the request.
       
      .google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdict verdict = 12;
      Returns:
      This builder for chaining.
    • getOverridesList

       Things that could have overridden the policy verdict. Overrides together
       with verdict decide whether the request is allowed.
       
      repeated .google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdictOverride overrides = 13;
      Specified by:
      getOverridesList in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      A list containing the overrides.
    • getOverridesCount

      public int getOverridesCount()
       Things that could have overridden the policy verdict. Overrides together
       with verdict decide whether the request is allowed.
       
      repeated .google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdictOverride overrides = 13;
      Specified by:
      getOverridesCount in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      The count of overrides.
    • getOverrides

      public DeployPolicyEvaluationEvent.PolicyVerdictOverride getOverrides(int index)
       Things that could have overridden the policy verdict. Overrides together
       with verdict decide whether the request is allowed.
       
      repeated .google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdictOverride overrides = 13;
      Specified by:
      getOverrides in interface DeployPolicyEvaluationEventOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The overrides at the given index.
    • setOverrides

       Things that could have overridden the policy verdict. Overrides together
       with verdict decide whether the request is allowed.
       
      repeated .google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdictOverride overrides = 13;
      Parameters:
      index - The index to set the value at.
      value - The overrides to set.
      Returns:
      This builder for chaining.
    • addOverrides

       Things that could have overridden the policy verdict. Overrides together
       with verdict decide whether the request is allowed.
       
      repeated .google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdictOverride overrides = 13;
      Parameters:
      value - The overrides to add.
      Returns:
      This builder for chaining.
    • addAllOverrides

       Things that could have overridden the policy verdict. Overrides together
       with verdict decide whether the request is allowed.
       
      repeated .google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdictOverride overrides = 13;
      Parameters:
      values - The overrides to add.
      Returns:
      This builder for chaining.
    • clearOverrides

      public DeployPolicyEvaluationEvent.Builder clearOverrides()
       Things that could have overridden the policy verdict. Overrides together
       with verdict decide whether the request is allowed.
       
      repeated .google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdictOverride overrides = 13;
      Returns:
      This builder for chaining.
    • getOverridesValueList

      public List<Integer> getOverridesValueList()
       Things that could have overridden the policy verdict. Overrides together
       with verdict decide whether the request is allowed.
       
      repeated .google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdictOverride overrides = 13;
      Specified by:
      getOverridesValueList in interface DeployPolicyEvaluationEventOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for overrides.
    • getOverridesValue

      public int getOverridesValue(int index)
       Things that could have overridden the policy verdict. Overrides together
       with verdict decide whether the request is allowed.
       
      repeated .google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdictOverride overrides = 13;
      Specified by:
      getOverridesValue in interface DeployPolicyEvaluationEventOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of overrides at the given index.
    • setOverridesValue

      public DeployPolicyEvaluationEvent.Builder setOverridesValue(int index, int value)
       Things that could have overridden the policy verdict. Overrides together
       with verdict decide whether the request is allowed.
       
      repeated .google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdictOverride overrides = 13;
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for overrides to set.
      Returns:
      This builder for chaining.
    • addOverridesValue

      public DeployPolicyEvaluationEvent.Builder addOverridesValue(int value)
       Things that could have overridden the policy verdict. Overrides together
       with verdict decide whether the request is allowed.
       
      repeated .google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdictOverride overrides = 13;
      Parameters:
      value - The enum numeric value on the wire for overrides to add.
      Returns:
      This builder for chaining.
    • addAllOverridesValue

      public DeployPolicyEvaluationEvent.Builder addAllOverridesValue(Iterable<Integer> values)
       Things that could have overridden the policy verdict. Overrides together
       with verdict decide whether the request is allowed.
       
      repeated .google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdictOverride overrides = 13;
      Parameters:
      values - The enum numeric values on the wire for overrides to add.
      Returns:
      This builder for chaining.