Package com.google.cloud.deploy.v1
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 Summary
Modifier and TypeMethodDescriptionaddAllOverrides(Iterable<? extends DeployPolicyEvaluationEvent.PolicyVerdictOverride> values) Things that could have overridden the policy verdict.addAllOverridesValue(Iterable<Integer> values) Things that could have overridden the policy verdict.Things that could have overridden the policy verdict.addOverridesValue(int value) Things that could have overridden the policy verdict.build()clear()Whether the request is allowed.The name of the `Delivery Pipeline`.The name of the `DeployPolicy`.Unique identifier of the `DeployPolicy`.What invoked the action (e.g. a user or automation).Debug message for when a deploy policy event occurs.Things that could have overridden the policy verdict.Unique identifier of the `Delivery Pipeline`.Rule id.Rule type (e.g.The name of the `Target`.Unique identifier of the `Target`.The policy verdict of the request.booleanWhether the request is allowed.The name of the `Delivery Pipeline`.com.google.protobuf.ByteStringThe name of the `Delivery Pipeline`.The name of the `DeployPolicy`.com.google.protobuf.ByteStringThe name of the `DeployPolicy`.Unique identifier of the `DeployPolicy`.com.google.protobuf.ByteStringUnique identifier of the `DeployPolicy`.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorWhat invoked the action (e.g. a user or automation).intWhat invoked the action (e.g. a user or automation).Debug message for when a deploy policy event occurs.com.google.protobuf.ByteStringDebug message for when a deploy policy event occurs.getOverrides(int index) Things that could have overridden the policy verdict.intThings that could have overridden the policy verdict.Things that could have overridden the policy verdict.intgetOverridesValue(int index) Things that could have overridden the policy verdict.Things that could have overridden the policy verdict.Unique identifier of the `Delivery Pipeline`.com.google.protobuf.ByteStringUnique identifier of the `Delivery Pipeline`.getRule()Rule id.com.google.protobuf.ByteStringRule id.Rule type (e.g.com.google.protobuf.ByteStringRule type (e.g.The name of the `Target`.com.google.protobuf.ByteStringThe name of the `Target`.Unique identifier of the `Target`.com.google.protobuf.ByteStringUnique identifier of the `Target`.The policy verdict of the request.intThe policy verdict of the request.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAllowed(boolean value) Whether the request is allowed.setDeliveryPipeline(String value) The name of the `Delivery Pipeline`.setDeliveryPipelineBytes(com.google.protobuf.ByteString value) The name of the `Delivery Pipeline`.setDeployPolicy(String value) The name of the `DeployPolicy`.setDeployPolicyBytes(com.google.protobuf.ByteString value) The name of the `DeployPolicy`.setDeployPolicyUid(String value) Unique identifier of the `DeployPolicy`.setDeployPolicyUidBytes(com.google.protobuf.ByteString value) Unique identifier of the `DeployPolicy`.setInvoker(DeployPolicy.Invoker value) What invoked the action (e.g. a user or automation).setInvokerValue(int value) What invoked the action (e.g. a user or automation).setMessage(String value) Debug message for when a deploy policy event occurs.setMessageBytes(com.google.protobuf.ByteString value) Debug message for when a deploy policy event occurs.setOverrides(int index, DeployPolicyEvaluationEvent.PolicyVerdictOverride value) Things that could have overridden the policy verdict.setOverridesValue(int index, int value) Things that could have overridden the policy verdict.setPipelineUid(String value) Unique identifier of the `Delivery Pipeline`.setPipelineUidBytes(com.google.protobuf.ByteString value) Unique identifier of the `Delivery Pipeline`.Rule id.setRuleBytes(com.google.protobuf.ByteString value) Rule id.setRuleType(String value) Rule type (e.g.setRuleTypeBytes(com.google.protobuf.ByteString value) Rule type (e.g.The name of the `Target`.setTargetBytes(com.google.protobuf.ByteString value) The name of the `Target`.setTargetUid(String value) Unique identifier of the `Target`.setTargetUidBytes(com.google.protobuf.ByteString value) Unique identifier of the `Target`.The policy verdict of the request.setVerdictValue(int value) The policy verdict of the request.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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DeployPolicyEvaluationEvent.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<DeployPolicyEvaluationEvent.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<DeployPolicyEvaluationEvent.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<DeployPolicyEvaluationEvent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeployPolicyEvaluationEvent.Builder>- Throws:
IOException
-
getMessage
Debug message for when a deploy policy event occurs.
string message = 1;- Specified by:
getMessagein interfaceDeployPolicyEvaluationEventOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()Debug message for when a deploy policy event occurs.
string message = 1;- Specified by:
getMessageBytesin interfaceDeployPolicyEvaluationEventOrBuilder- Returns:
- The bytes for message.
-
setMessage
Debug message for when a deploy policy event occurs.
string message = 1;- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
Debug message for when a deploy policy event occurs.
string message = 1;- Returns:
- This builder for chaining.
-
setMessageBytes
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
Rule type (e.g. Restrict Rollouts).
string rule_type = 2;- Specified by:
getRuleTypein interfaceDeployPolicyEvaluationEventOrBuilder- Returns:
- The ruleType.
-
getRuleTypeBytes
public com.google.protobuf.ByteString getRuleTypeBytes()Rule type (e.g. Restrict Rollouts).
string rule_type = 2;- Specified by:
getRuleTypeBytesin interfaceDeployPolicyEvaluationEventOrBuilder- Returns:
- The bytes for ruleType.
-
setRuleType
Rule type (e.g. Restrict Rollouts).
string rule_type = 2;- Parameters:
value- The ruleType to set.- Returns:
- This builder for chaining.
-
clearRuleType
Rule type (e.g. Restrict Rollouts).
string rule_type = 2;- Returns:
- This builder for chaining.
-
setRuleTypeBytes
Rule type (e.g. Restrict Rollouts).
string rule_type = 2;- Parameters:
value- The bytes for ruleType to set.- Returns:
- This builder for chaining.
-
getRule
Rule id.
string rule = 3;- Specified by:
getRulein interfaceDeployPolicyEvaluationEventOrBuilder- Returns:
- The rule.
-
getRuleBytes
public com.google.protobuf.ByteString getRuleBytes()Rule id.
string rule = 3;- Specified by:
getRuleBytesin interfaceDeployPolicyEvaluationEventOrBuilder- 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
Rule id.
string rule = 3;- Parameters:
value- The bytes for rule to set.- Returns:
- This builder for chaining.
-
getPipelineUid
Unique identifier of the `Delivery Pipeline`.
string pipeline_uid = 4;- Specified by:
getPipelineUidin interfaceDeployPolicyEvaluationEventOrBuilder- Returns:
- The pipelineUid.
-
getPipelineUidBytes
public com.google.protobuf.ByteString getPipelineUidBytes()Unique identifier of the `Delivery Pipeline`.
string pipeline_uid = 4;- Specified by:
getPipelineUidBytesin interfaceDeployPolicyEvaluationEventOrBuilder- Returns:
- The bytes for pipelineUid.
-
setPipelineUid
Unique identifier of the `Delivery Pipeline`.
string pipeline_uid = 4;- Parameters:
value- The pipelineUid to set.- Returns:
- This builder for chaining.
-
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
The name of the `Delivery Pipeline`.
string delivery_pipeline = 5;- Specified by:
getDeliveryPipelinein interfaceDeployPolicyEvaluationEventOrBuilder- Returns:
- The deliveryPipeline.
-
getDeliveryPipelineBytes
public com.google.protobuf.ByteString getDeliveryPipelineBytes()The name of the `Delivery Pipeline`.
string delivery_pipeline = 5;- Specified by:
getDeliveryPipelineBytesin interfaceDeployPolicyEvaluationEventOrBuilder- Returns:
- The bytes for deliveryPipeline.
-
setDeliveryPipeline
The name of the `Delivery Pipeline`.
string delivery_pipeline = 5;- Parameters:
value- The deliveryPipeline to set.- Returns:
- This builder for chaining.
-
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
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:
getTargetUidin interfaceDeployPolicyEvaluationEventOrBuilder- 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:
getTargetUidBytesin interfaceDeployPolicyEvaluationEventOrBuilder- Returns:
- The bytes for targetUid.
-
setTargetUid
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
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
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
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:
getTargetin interfaceDeployPolicyEvaluationEventOrBuilder- 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:
getTargetBytesin interfaceDeployPolicyEvaluationEventOrBuilder- Returns:
- The bytes for target.
-
setTarget
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
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:
getInvokerValuein interfaceDeployPolicyEvaluationEventOrBuilder- Returns:
- The enum numeric value on the wire for invoker.
-
setInvokerValue
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
What invoked the action (e.g. a user or automation).
.google.cloud.deploy.v1.DeployPolicy.Invoker invoker = 8;- Specified by:
getInvokerin interfaceDeployPolicyEvaluationEventOrBuilder- 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
What invoked the action (e.g. a user or automation).
.google.cloud.deploy.v1.DeployPolicy.Invoker invoker = 8;- Returns:
- This builder for chaining.
-
getDeployPolicy
The name of the `DeployPolicy`.
string deploy_policy = 9;- Specified by:
getDeployPolicyin interfaceDeployPolicyEvaluationEventOrBuilder- Returns:
- The deployPolicy.
-
getDeployPolicyBytes
public com.google.protobuf.ByteString getDeployPolicyBytes()The name of the `DeployPolicy`.
string deploy_policy = 9;- Specified by:
getDeployPolicyBytesin interfaceDeployPolicyEvaluationEventOrBuilder- Returns:
- The bytes for deployPolicy.
-
setDeployPolicy
The name of the `DeployPolicy`.
string deploy_policy = 9;- Parameters:
value- The deployPolicy to set.- Returns:
- This builder for chaining.
-
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
Unique identifier of the `DeployPolicy`.
string deploy_policy_uid = 10;- Specified by:
getDeployPolicyUidin interfaceDeployPolicyEvaluationEventOrBuilder- Returns:
- The deployPolicyUid.
-
getDeployPolicyUidBytes
public com.google.protobuf.ByteString getDeployPolicyUidBytes()Unique identifier of the `DeployPolicy`.
string deploy_policy_uid = 10;- Specified by:
getDeployPolicyUidBytesin interfaceDeployPolicyEvaluationEventOrBuilder- Returns:
- The bytes for deployPolicyUid.
-
setDeployPolicyUid
Unique identifier of the `DeployPolicy`.
string deploy_policy_uid = 10;- Parameters:
value- The deployPolicyUid to set.- Returns:
- This builder for chaining.
-
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:
getAllowedin interfaceDeployPolicyEvaluationEventOrBuilder- Returns:
- The allowed.
-
setAllowed
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
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:
getVerdictValuein interfaceDeployPolicyEvaluationEventOrBuilder- Returns:
- The enum numeric value on the wire for verdict.
-
setVerdictValue
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:
getVerdictin interfaceDeployPolicyEvaluationEventOrBuilder- Returns:
- The verdict.
-
setVerdict
public DeployPolicyEvaluationEvent.Builder setVerdict(DeployPolicyEvaluationEvent.PolicyVerdict value) 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
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:
getOverridesListin interfaceDeployPolicyEvaluationEventOrBuilder- 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:
getOverridesCountin interfaceDeployPolicyEvaluationEventOrBuilder- Returns:
- The count of overrides.
-
getOverrides
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:
getOverridesin interfaceDeployPolicyEvaluationEventOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The overrides at the given index.
-
setOverrides
public DeployPolicyEvaluationEvent.Builder setOverrides(int index, DeployPolicyEvaluationEvent.PolicyVerdictOverride 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 overrides to set.- Returns:
- This builder for chaining.
-
addOverrides
public DeployPolicyEvaluationEvent.Builder addOverrides(DeployPolicyEvaluationEvent.PolicyVerdictOverride 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 overrides to add.- Returns:
- This builder for chaining.
-
addAllOverrides
public DeployPolicyEvaluationEvent.Builder addAllOverrides(Iterable<? extends DeployPolicyEvaluationEvent.PolicyVerdictOverride> 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 overrides to add.- Returns:
- This builder for chaining.
-
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
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:
getOverridesValueListin interfaceDeployPolicyEvaluationEventOrBuilder- 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:
getOverridesValuein interfaceDeployPolicyEvaluationEventOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of overrides at the given index.
-
setOverridesValue
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
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
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.
-