Package com.google.cloud.deploy.v1
Interface PolicyRuleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PolicyRule,PolicyRule.Builder
@Generated
public interface PolicyRuleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasRolloutRestriction
boolean hasRolloutRestriction()Optional. Rollout restrictions.
.google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the rolloutRestriction field is set.
-
getRolloutRestriction
RolloutRestriction getRolloutRestriction()Optional. Rollout restrictions.
.google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The rolloutRestriction.
-
getRolloutRestrictionOrBuilder
RolloutRestrictionOrBuilder getRolloutRestrictionOrBuilder()Optional. Rollout restrictions.
.google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getRuleCase
PolicyRule.RuleCase getRuleCase()
-