public final class AutomationRule extends GeneratedMessageV3 implements AutomationRuleOrBuilder
AutomationRule
defines the automation activities.
Protobuf type google.cloud.deploy.v1.AutomationRule
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ADVANCE_ROLLOUT_RULE_FIELD_NUMBER
public static final int ADVANCE_ROLLOUT_RULE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int PROMOTE_RELEASE_RULE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REPAIR_ROLLOUT_RULE_FIELD_NUMBER
public static final int REPAIR_ROLLOUT_RULE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int TIMED_PROMOTE_RELEASE_RULE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AutomationRule getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AutomationRule.Builder newBuilder()
newBuilder(AutomationRule prototype)
public static AutomationRule.Builder newBuilder(AutomationRule prototype)
public static AutomationRule parseDelimitedFrom(InputStream input)
public static AutomationRule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AutomationRule parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AutomationRule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AutomationRule parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutomationRule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AutomationRule parseFrom(CodedInputStream input)
public static AutomationRule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AutomationRule parseFrom(InputStream input)
public static AutomationRule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AutomationRule parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AutomationRule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AutomationRule> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAdvanceRolloutRule()
public AdvanceRolloutRule getAdvanceRolloutRule()
Optional. The AdvanceRolloutRule
will automatically advance a
successful Rollout.
.google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL];
getAdvanceRolloutRuleOrBuilder()
public AdvanceRolloutRuleOrBuilder getAdvanceRolloutRuleOrBuilder()
Optional. The AdvanceRolloutRule
will automatically advance a
successful Rollout.
.google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public AutomationRule getDefaultInstanceForType()
getParserForType()
public Parser<AutomationRule> getParserForType()
Overrides
public PromoteReleaseRule getPromoteReleaseRule()
Optional. PromoteReleaseRule
will automatically promote a release from
the current target to a specified target.
.google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL];
public PromoteReleaseRuleOrBuilder getPromoteReleaseRuleOrBuilder()
Optional. PromoteReleaseRule
will automatically promote a release from
the current target to a specified target.
.google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL];
getRepairRolloutRule()
public RepairRolloutRule getRepairRolloutRule()
Optional. The RepairRolloutRule
will automatically repair a failed
rollout.
.google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL];
getRepairRolloutRuleOrBuilder()
public RepairRolloutRuleOrBuilder getRepairRolloutRuleOrBuilder()
Optional. The RepairRolloutRule
will automatically repair a failed
rollout.
.google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL];
getRuleCase()
public AutomationRule.RuleCase getRuleCase()
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public TimedPromoteReleaseRule getTimedPromoteReleaseRule()
Optional. The TimedPromoteReleaseRule
will automatically promote a
release from the current target(s) to the specified target(s) on a
configured schedule.
.google.cloud.deploy.v1.TimedPromoteReleaseRule timed_promote_release_rule = 4 [(.google.api.field_behavior) = OPTIONAL];
public TimedPromoteReleaseRuleOrBuilder getTimedPromoteReleaseRuleOrBuilder()
Optional. The TimedPromoteReleaseRule
will automatically promote a
release from the current target(s) to the specified target(s) on a
configured schedule.
.google.cloud.deploy.v1.TimedPromoteReleaseRule timed_promote_release_rule = 4 [(.google.api.field_behavior) = OPTIONAL];
hasAdvanceRolloutRule()
public boolean hasAdvanceRolloutRule()
Optional. The AdvanceRolloutRule
will automatically advance a
successful Rollout.
.google.cloud.deploy.v1.AdvanceRolloutRule advance_rollout_rule = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the advanceRolloutRule field is set.
|
public boolean hasPromoteReleaseRule()
Optional. PromoteReleaseRule
will automatically promote a release from
the current target to a specified target.
.google.cloud.deploy.v1.PromoteReleaseRule promote_release_rule = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the promoteReleaseRule field is set.
|
hasRepairRolloutRule()
public boolean hasRepairRolloutRule()
Optional. The RepairRolloutRule
will automatically repair a failed
rollout.
.google.cloud.deploy.v1.RepairRolloutRule repair_rollout_rule = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the repairRolloutRule field is set.
|
public boolean hasTimedPromoteReleaseRule()
Optional. The TimedPromoteReleaseRule
will automatically promote a
release from the current target(s) to the specified target(s) on a
configured schedule.
.google.cloud.deploy.v1.TimedPromoteReleaseRule timed_promote_release_rule = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the timedPromoteReleaseRule field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AutomationRule.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AutomationRule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AutomationRule.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides