public final class RepairRolloutRule extends com.google.protobuf.GeneratedMessageV3 implements RepairRolloutRuleOrBuilder
The `RepairRolloutRule` automation rule will automatically repair a failed `Rollout`.Protobuf type
google.cloud.deploy.v1.RepairRolloutRule| Modifier and Type | Class and Description |
|---|---|
static class |
RepairRolloutRule.Builder
The `RepairRolloutRule` automation rule will automatically repair a failed
`Rollout`.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CONDITION_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
JOBS_FIELD_NUMBER |
static int |
REPAIR_MODES_FIELD_NUMBER |
static int |
SOURCE_PHASES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AutomationRuleCondition |
getCondition()
Output only.
|
AutomationRuleConditionOrBuilder |
getConditionOrBuilder()
Output only.
|
static RepairRolloutRule |
getDefaultInstance() |
RepairRolloutRule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getId()
Required.
|
com.google.protobuf.ByteString |
getIdBytes()
Required.
|
String |
getJobs(int index)
Optional.
|
com.google.protobuf.ByteString |
getJobsBytes(int index)
Optional.
|
int |
getJobsCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getJobsList()
Optional.
|
com.google.protobuf.Parser<RepairRolloutRule> |
getParserForType() |
RepairMode |
getRepairModes(int index)
Required.
|
int |
getRepairModesCount()
Required.
|
List<RepairMode> |
getRepairModesList()
Required.
|
RepairModeOrBuilder |
getRepairModesOrBuilder(int index)
Required.
|
List<? extends RepairModeOrBuilder> |
getRepairModesOrBuilderList()
Required.
|
int |
getSerializedSize() |
String |
getSourcePhases(int index)
Optional.
|
com.google.protobuf.ByteString |
getSourcePhasesBytes(int index)
Optional.
|
int |
getSourcePhasesCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getSourcePhasesList()
Optional.
|
boolean |
hasCondition()
Output only.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RepairRolloutRule.Builder |
newBuilder() |
static RepairRolloutRule.Builder |
newBuilder(RepairRolloutRule prototype) |
RepairRolloutRule.Builder |
newBuilderForType() |
protected RepairRolloutRule.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RepairRolloutRule |
parseDelimitedFrom(InputStream input) |
static RepairRolloutRule |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RepairRolloutRule |
parseFrom(byte[] data) |
static RepairRolloutRule |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RepairRolloutRule |
parseFrom(ByteBuffer data) |
static RepairRolloutRule |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RepairRolloutRule |
parseFrom(com.google.protobuf.ByteString data) |
static RepairRolloutRule |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RepairRolloutRule |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RepairRolloutRule |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RepairRolloutRule |
parseFrom(InputStream input) |
static RepairRolloutRule |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RepairRolloutRule> |
parser() |
RepairRolloutRule.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ID_FIELD_NUMBER
public static final int SOURCE_PHASES_FIELD_NUMBER
public static final int JOBS_FIELD_NUMBER
public static final int REPAIR_MODES_FIELD_NUMBER
public static final int CONDITION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getId()
Required. ID of the rule. This id must be unique in the `Automation`
resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
string id = 1 [(.google.api.field_behavior) = REQUIRED];getId in interface RepairRolloutRuleOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
Required. ID of the rule. This id must be unique in the `Automation`
resource to which this rule belongs. The format is `[a-z][a-z0-9\-]{0,62}`.
string id = 1 [(.google.api.field_behavior) = REQUIRED];getIdBytes in interface RepairRolloutRuleOrBuilderpublic com.google.protobuf.ProtocolStringList getSourcePhasesList()
Optional. Phases within which jobs are subject to automatic repair actions
on failure. Proceeds only after phase name matched any one in the list, or
for all phases if unspecified. This value must consist of lower-case
letters, numbers, and hyphens, start with a letter and end with a letter or
a number, and have a max length of 63 characters. In other words, it must
match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
repeated string source_phases = 2 [(.google.api.field_behavior) = OPTIONAL];getSourcePhasesList in interface RepairRolloutRuleOrBuilderpublic int getSourcePhasesCount()
Optional. Phases within which jobs are subject to automatic repair actions
on failure. Proceeds only after phase name matched any one in the list, or
for all phases if unspecified. This value must consist of lower-case
letters, numbers, and hyphens, start with a letter and end with a letter or
a number, and have a max length of 63 characters. In other words, it must
match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
repeated string source_phases = 2 [(.google.api.field_behavior) = OPTIONAL];getSourcePhasesCount in interface RepairRolloutRuleOrBuilderpublic String getSourcePhases(int index)
Optional. Phases within which jobs are subject to automatic repair actions
on failure. Proceeds only after phase name matched any one in the list, or
for all phases if unspecified. This value must consist of lower-case
letters, numbers, and hyphens, start with a letter and end with a letter or
a number, and have a max length of 63 characters. In other words, it must
match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
repeated string source_phases = 2 [(.google.api.field_behavior) = OPTIONAL];getSourcePhases in interface RepairRolloutRuleOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getSourcePhasesBytes(int index)
Optional. Phases within which jobs are subject to automatic repair actions
on failure. Proceeds only after phase name matched any one in the list, or
for all phases if unspecified. This value must consist of lower-case
letters, numbers, and hyphens, start with a letter and end with a letter or
a number, and have a max length of 63 characters. In other words, it must
match the following regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
repeated string source_phases = 2 [(.google.api.field_behavior) = OPTIONAL];getSourcePhasesBytes in interface RepairRolloutRuleOrBuilderindex - The index of the value to return.public com.google.protobuf.ProtocolStringList getJobsList()
Optional. Jobs to repair. Proceeds only after job name matched any one in
the list, or for all jobs if unspecified or empty. The phase that includes
the job must match the phase ID specified in `source_phase`. This value
must consist of lower-case letters, numbers, and hyphens, start with a
letter and end with a letter or a number, and have a max length of 63
characters. In other words, it must match the following regex:
`^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL];getJobsList in interface RepairRolloutRuleOrBuilderpublic int getJobsCount()
Optional. Jobs to repair. Proceeds only after job name matched any one in
the list, or for all jobs if unspecified or empty. The phase that includes
the job must match the phase ID specified in `source_phase`. This value
must consist of lower-case letters, numbers, and hyphens, start with a
letter and end with a letter or a number, and have a max length of 63
characters. In other words, it must match the following regex:
`^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL];getJobsCount in interface RepairRolloutRuleOrBuilderpublic String getJobs(int index)
Optional. Jobs to repair. Proceeds only after job name matched any one in
the list, or for all jobs if unspecified or empty. The phase that includes
the job must match the phase ID specified in `source_phase`. This value
must consist of lower-case letters, numbers, and hyphens, start with a
letter and end with a letter or a number, and have a max length of 63
characters. In other words, it must match the following regex:
`^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL];getJobs in interface RepairRolloutRuleOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getJobsBytes(int index)
Optional. Jobs to repair. Proceeds only after job name matched any one in
the list, or for all jobs if unspecified or empty. The phase that includes
the job must match the phase ID specified in `source_phase`. This value
must consist of lower-case letters, numbers, and hyphens, start with a
letter and end with a letter or a number, and have a max length of 63
characters. In other words, it must match the following regex:
`^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
repeated string jobs = 3 [(.google.api.field_behavior) = OPTIONAL];getJobsBytes in interface RepairRolloutRuleOrBuilderindex - The index of the value to return.public List<RepairMode> getRepairModesList()
Required. Defines the types of automatic repair actions for failed jobs.
repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED];
getRepairModesList in interface RepairRolloutRuleOrBuilderpublic List<? extends RepairModeOrBuilder> getRepairModesOrBuilderList()
Required. Defines the types of automatic repair actions for failed jobs.
repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED];
getRepairModesOrBuilderList in interface RepairRolloutRuleOrBuilderpublic int getRepairModesCount()
Required. Defines the types of automatic repair actions for failed jobs.
repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED];
getRepairModesCount in interface RepairRolloutRuleOrBuilderpublic RepairMode getRepairModes(int index)
Required. Defines the types of automatic repair actions for failed jobs.
repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED];
getRepairModes in interface RepairRolloutRuleOrBuilderpublic RepairModeOrBuilder getRepairModesOrBuilder(int index)
Required. Defines the types of automatic repair actions for failed jobs.
repeated .google.cloud.deploy.v1.RepairMode repair_modes = 4 [(.google.api.field_behavior) = REQUIRED];
getRepairModesOrBuilder in interface RepairRolloutRuleOrBuilderpublic boolean hasCondition()
Output only. Information around the state of the 'Automation' rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCondition in interface RepairRolloutRuleOrBuilderpublic AutomationRuleCondition getCondition()
Output only. Information around the state of the 'Automation' rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCondition in interface RepairRolloutRuleOrBuilderpublic AutomationRuleConditionOrBuilder getConditionOrBuilder()
Output only. Information around the state of the 'Automation' rule.
.google.cloud.deploy.v1.AutomationRuleCondition condition = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getConditionOrBuilder in interface RepairRolloutRuleOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RepairRolloutRule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RepairRolloutRule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RepairRolloutRule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RepairRolloutRule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RepairRolloutRule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RepairRolloutRule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RepairRolloutRule parseFrom(InputStream input) throws IOException
IOExceptionpublic static RepairRolloutRule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RepairRolloutRule parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RepairRolloutRule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RepairRolloutRule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RepairRolloutRule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RepairRolloutRule.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RepairRolloutRule.Builder newBuilder()
public static RepairRolloutRule.Builder newBuilder(RepairRolloutRule prototype)
public RepairRolloutRule.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RepairRolloutRule.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RepairRolloutRule getDefaultInstance()
public static com.google.protobuf.Parser<RepairRolloutRule> parser()
public com.google.protobuf.Parser<RepairRolloutRule> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RepairRolloutRule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.