- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.8
- 1.0.2
public static final class DeployPolicyEvaluationEvent.Builder extends GeneratedMessageV3.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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeployPolicyEvaluationEvent.BuilderImplements
DeployPolicyEvaluationEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllOverrides(Iterable<? extends DeployPolicyEvaluationEvent.PolicyVerdictOverride> values)
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdictOverride> The overrides to add. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
addAllOverridesValue(Iterable<Integer> values)
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<Integer> The enum numeric values on the wire for overrides to add. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
addOverrides(DeployPolicyEvaluationEvent.PolicyVerdictOverride value)
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;
Parameter | |
---|---|
Name | Description |
value |
DeployPolicyEvaluationEvent.PolicyVerdictOverride The overrides to add. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
addOverridesValue(int value)
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;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for overrides to add. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeployPolicyEvaluationEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
build()
public DeployPolicyEvaluationEvent build()
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent |
buildPartial()
public DeployPolicyEvaluationEvent buildPartial()
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent |
clear()
public DeployPolicyEvaluationEvent.Builder clear()
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
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 | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
clearDeliveryPipeline()
public DeployPolicyEvaluationEvent.Builder clearDeliveryPipeline()
The name of the Delivery Pipeline
.
string delivery_pipeline = 5;
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
clearDeployPolicy()
public DeployPolicyEvaluationEvent.Builder clearDeployPolicy()
The name of the DeployPolicy
.
string deploy_policy = 9;
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
clearDeployPolicyUid()
public DeployPolicyEvaluationEvent.Builder clearDeployPolicyUid()
Unique identifier of the DeployPolicy
.
string deploy_policy_uid = 10;
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DeployPolicyEvaluationEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
clearInvoker()
public DeployPolicyEvaluationEvent.Builder clearInvoker()
What invoked the action (e.g. a user or automation).
.google.cloud.deploy.v1.DeployPolicy.Invoker invoker = 8;
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
clearMessage()
public DeployPolicyEvaluationEvent.Builder clearMessage()
Debug message for when a deploy policy event occurs.
string message = 1;
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeployPolicyEvaluationEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
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 | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
clearPipelineUid()
public DeployPolicyEvaluationEvent.Builder clearPipelineUid()
Unique identifier of the Delivery Pipeline
.
string pipeline_uid = 4;
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
clearRule()
public DeployPolicyEvaluationEvent.Builder clearRule()
Rule id.
string rule = 3;
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
clearRuleType()
public DeployPolicyEvaluationEvent.Builder clearRuleType()
Rule type (e.g. Restrict Rollouts).
string rule_type = 2;
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
clearTarget()
public DeployPolicyEvaluationEvent.Builder 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 | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
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 | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
clearVerdict()
public DeployPolicyEvaluationEvent.Builder clearVerdict()
The policy verdict of the request.
.google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdict verdict = 12;
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
clone()
public DeployPolicyEvaluationEvent.Builder clone()
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
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;
Returns | |
---|---|
Type | Description |
boolean |
The allowed. |
getDefaultInstanceForType()
public DeployPolicyEvaluationEvent getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent |
getDeliveryPipeline()
public String getDeliveryPipeline()
The name of the Delivery Pipeline
.
string delivery_pipeline = 5;
Returns | |
---|---|
Type | Description |
String |
The deliveryPipeline. |
getDeliveryPipelineBytes()
public ByteString getDeliveryPipelineBytes()
The name of the Delivery Pipeline
.
string delivery_pipeline = 5;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for deliveryPipeline. |
getDeployPolicy()
public String getDeployPolicy()
The name of the DeployPolicy
.
string deploy_policy = 9;
Returns | |
---|---|
Type | Description |
String |
The deployPolicy. |
getDeployPolicyBytes()
public ByteString getDeployPolicyBytes()
The name of the DeployPolicy
.
string deploy_policy = 9;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for deployPolicy. |
getDeployPolicyUid()
public String getDeployPolicyUid()
Unique identifier of the DeployPolicy
.
string deploy_policy_uid = 10;
Returns | |
---|---|
Type | Description |
String |
The deployPolicyUid. |
getDeployPolicyUidBytes()
public ByteString getDeployPolicyUidBytes()
Unique identifier of the DeployPolicy
.
string deploy_policy_uid = 10;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for deployPolicyUid. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getInvoker()
public DeployPolicy.Invoker getInvoker()
What invoked the action (e.g. a user or automation).
.google.cloud.deploy.v1.DeployPolicy.Invoker invoker = 8;
Returns | |
---|---|
Type | Description |
DeployPolicy.Invoker |
The invoker. |
getInvokerValue()
public int getInvokerValue()
What invoked the action (e.g. a user or automation).
.google.cloud.deploy.v1.DeployPolicy.Invoker invoker = 8;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for invoker. |
getMessage()
public String getMessage()
Debug message for when a deploy policy event occurs.
string message = 1;
Returns | |
---|---|
Type | Description |
String |
The message. |
getMessageBytes()
public ByteString getMessageBytes()
Debug message for when a deploy policy event occurs.
string message = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for message. |
getOverrides(int index)
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;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.PolicyVerdictOverride |
The overrides at the given index. |
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;
Returns | |
---|---|
Type | Description |
int |
The count of overrides. |
getOverridesList()
public List<DeployPolicyEvaluationEvent.PolicyVerdictOverride> 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;
Returns | |
---|---|
Type | Description |
List<PolicyVerdictOverride> |
A list containing the overrides. |
getOverridesValue(int index)
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;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire of overrides at the given index. |
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;
Returns | |
---|---|
Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for overrides. |
getPipelineUid()
public String getPipelineUid()
Unique identifier of the Delivery Pipeline
.
string pipeline_uid = 4;
Returns | |
---|---|
Type | Description |
String |
The pipelineUid. |
getPipelineUidBytes()
public ByteString getPipelineUidBytes()
Unique identifier of the Delivery Pipeline
.
string pipeline_uid = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for pipelineUid. |
getRule()
public String getRule()
Rule id.
string rule = 3;
Returns | |
---|---|
Type | Description |
String |
The rule. |
getRuleBytes()
public ByteString getRuleBytes()
Rule id.
string rule = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for rule. |
getRuleType()
public String getRuleType()
Rule type (e.g. Restrict Rollouts).
string rule_type = 2;
Returns | |
---|---|
Type | Description |
String |
The ruleType. |
getRuleTypeBytes()
public ByteString getRuleTypeBytes()
Rule type (e.g. Restrict Rollouts).
string rule_type = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for ruleType. |
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;
Returns | |
---|---|
Type | Description |
String |
The target. |
getTargetBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for target. |
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;
Returns | |
---|---|
Type | Description |
String |
The targetUid. |
getTargetUidBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for targetUid. |
getVerdict()
public DeployPolicyEvaluationEvent.PolicyVerdict getVerdict()
The policy verdict of the request.
.google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdict verdict = 12;
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.PolicyVerdict |
The verdict. |
getVerdictValue()
public int getVerdictValue()
The policy verdict of the request.
.google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdict verdict = 12;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for verdict. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(DeployPolicyEvaluationEvent other)
public DeployPolicyEvaluationEvent.Builder mergeFrom(DeployPolicyEvaluationEvent other)
Parameter | |
---|---|
Name | Description |
other |
DeployPolicyEvaluationEvent |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeployPolicyEvaluationEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DeployPolicyEvaluationEvent.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeployPolicyEvaluationEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
setAllowed(boolean value)
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;
Parameter | |
---|---|
Name | Description |
value |
boolean The allowed to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setDeliveryPipeline(String value)
public DeployPolicyEvaluationEvent.Builder setDeliveryPipeline(String value)
The name of the Delivery Pipeline
.
string delivery_pipeline = 5;
Parameter | |
---|---|
Name | Description |
value |
String The deliveryPipeline to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setDeliveryPipelineBytes(ByteString value)
public DeployPolicyEvaluationEvent.Builder setDeliveryPipelineBytes(ByteString value)
The name of the Delivery Pipeline
.
string delivery_pipeline = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for deliveryPipeline to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setDeployPolicy(String value)
public DeployPolicyEvaluationEvent.Builder setDeployPolicy(String value)
The name of the DeployPolicy
.
string deploy_policy = 9;
Parameter | |
---|---|
Name | Description |
value |
String The deployPolicy to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setDeployPolicyBytes(ByteString value)
public DeployPolicyEvaluationEvent.Builder setDeployPolicyBytes(ByteString value)
The name of the DeployPolicy
.
string deploy_policy = 9;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for deployPolicy to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setDeployPolicyUid(String value)
public DeployPolicyEvaluationEvent.Builder setDeployPolicyUid(String value)
Unique identifier of the DeployPolicy
.
string deploy_policy_uid = 10;
Parameter | |
---|---|
Name | Description |
value |
String The deployPolicyUid to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setDeployPolicyUidBytes(ByteString value)
public DeployPolicyEvaluationEvent.Builder setDeployPolicyUidBytes(ByteString value)
Unique identifier of the DeployPolicy
.
string deploy_policy_uid = 10;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for deployPolicyUid to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DeployPolicyEvaluationEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
setInvoker(DeployPolicy.Invoker value)
public DeployPolicyEvaluationEvent.Builder setInvoker(DeployPolicy.Invoker value)
What invoked the action (e.g. a user or automation).
.google.cloud.deploy.v1.DeployPolicy.Invoker invoker = 8;
Parameter | |
---|---|
Name | Description |
value |
DeployPolicy.Invoker The invoker to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setInvokerValue(int value)
public DeployPolicyEvaluationEvent.Builder setInvokerValue(int value)
What invoked the action (e.g. a user or automation).
.google.cloud.deploy.v1.DeployPolicy.Invoker invoker = 8;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for invoker to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setMessage(String value)
public DeployPolicyEvaluationEvent.Builder setMessage(String value)
Debug message for when a deploy policy event occurs.
string message = 1;
Parameter | |
---|---|
Name | Description |
value |
String The message to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setMessageBytes(ByteString value)
public DeployPolicyEvaluationEvent.Builder setMessageBytes(ByteString value)
Debug message for when a deploy policy event occurs.
string message = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for message to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setOverrides(int index, DeployPolicyEvaluationEvent.PolicyVerdictOverride value)
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 | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
DeployPolicyEvaluationEvent.PolicyVerdictOverride The overrides to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setOverridesValue(int index, int value)
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 | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
int The enum numeric value on the wire for overrides to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setPipelineUid(String value)
public DeployPolicyEvaluationEvent.Builder setPipelineUid(String value)
Unique identifier of the Delivery Pipeline
.
string pipeline_uid = 4;
Parameter | |
---|---|
Name | Description |
value |
String The pipelineUid to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setPipelineUidBytes(ByteString value)
public DeployPolicyEvaluationEvent.Builder setPipelineUidBytes(ByteString value)
Unique identifier of the Delivery Pipeline
.
string pipeline_uid = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for pipelineUid to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeployPolicyEvaluationEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
setRule(String value)
public DeployPolicyEvaluationEvent.Builder setRule(String value)
Rule id.
string rule = 3;
Parameter | |
---|---|
Name | Description |
value |
String The rule to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setRuleBytes(ByteString value)
public DeployPolicyEvaluationEvent.Builder setRuleBytes(ByteString value)
Rule id.
string rule = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for rule to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setRuleType(String value)
public DeployPolicyEvaluationEvent.Builder setRuleType(String value)
Rule type (e.g. Restrict Rollouts).
string rule_type = 2;
Parameter | |
---|---|
Name | Description |
value |
String The ruleType to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setRuleTypeBytes(ByteString value)
public DeployPolicyEvaluationEvent.Builder setRuleTypeBytes(ByteString value)
Rule type (e.g. Restrict Rollouts).
string rule_type = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for ruleType to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setTarget(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The target to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setTargetBytes(ByteString value)
public DeployPolicyEvaluationEvent.Builder setTargetBytes(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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for target to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setTargetUid(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The targetUid to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setTargetUidBytes(ByteString value)
public DeployPolicyEvaluationEvent.Builder setTargetUidBytes(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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for targetUid to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeployPolicyEvaluationEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
setVerdict(DeployPolicyEvaluationEvent.PolicyVerdict value)
public DeployPolicyEvaluationEvent.Builder setVerdict(DeployPolicyEvaluationEvent.PolicyVerdict value)
The policy verdict of the request.
.google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdict verdict = 12;
Parameter | |
---|---|
Name | Description |
value |
DeployPolicyEvaluationEvent.PolicyVerdict The verdict to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |
setVerdictValue(int value)
public DeployPolicyEvaluationEvent.Builder setVerdictValue(int value)
The policy verdict of the request.
.google.cloud.deploy.v1.DeployPolicyEvaluationEvent.PolicyVerdict verdict = 12;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for verdict to set. |
Returns | |
---|---|
Type | Description |
DeployPolicyEvaluationEvent.Builder |
This builder for chaining. |