public static final class PolicyRule.Builder extends GeneratedMessageV3.Builder<PolicyRule.Builder> implements PolicyRuleOrBuilder
Deploy Policy rule.
Protobuf type google.cloud.deploy.v1.PolicyRule
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PolicyRule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PolicyRule build()
buildPartial()
public PolicyRule buildPartial()
clear()
public PolicyRule.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public PolicyRule.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PolicyRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRolloutRestriction()
public PolicyRule.Builder clearRolloutRestriction()
Rollout restrictions.
.google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2;
clearRule()
public PolicyRule.Builder clearRule()
clone()
public PolicyRule.Builder clone()
Overrides
getDefaultInstanceForType()
public PolicyRule getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRolloutRestriction()
public RolloutRestriction getRolloutRestriction()
Rollout restrictions.
.google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2;
getRolloutRestrictionBuilder()
public RolloutRestriction.Builder getRolloutRestrictionBuilder()
Rollout restrictions.
.google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2;
getRolloutRestrictionOrBuilder()
public RolloutRestrictionOrBuilder getRolloutRestrictionOrBuilder()
Rollout restrictions.
.google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2;
getRuleCase()
public PolicyRule.RuleCase getRuleCase()
hasRolloutRestriction()
public boolean hasRolloutRestriction()
Rollout restrictions.
.google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2;
Returns |
Type |
Description |
boolean |
Whether the rolloutRestriction field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PolicyRule other)
public PolicyRule.Builder mergeFrom(PolicyRule other)
public PolicyRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PolicyRule.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeRolloutRestriction(RolloutRestriction value)
public PolicyRule.Builder mergeRolloutRestriction(RolloutRestriction value)
Rollout restrictions.
.google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PolicyRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public PolicyRule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PolicyRule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRolloutRestriction(RolloutRestriction value)
public PolicyRule.Builder setRolloutRestriction(RolloutRestriction value)
Rollout restrictions.
.google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2;
setRolloutRestriction(RolloutRestriction.Builder builderForValue)
public PolicyRule.Builder setRolloutRestriction(RolloutRestriction.Builder builderForValue)
Rollout restrictions.
.google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2;
setUnknownFields(UnknownFieldSet unknownFields)
public final PolicyRule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides