public final class RepairRolloutRule extends GeneratedMessageV3 implements RepairRolloutRuleOrBuilder
The RepairRolloutRule
automation rule will automatically repair a failed
Rollout
.
Protobuf type google.events.cloud.deploy.v1.RepairRolloutRule
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
CONDITION_FIELD_NUMBER
public static final int CONDITION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
JOBS_FIELD_NUMBER
public static final int JOBS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REPAIR_MODES_FIELD_NUMBER
public static final int REPAIR_MODES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SOURCE_PHASES_FIELD_NUMBER
public static final int SOURCE_PHASES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static RepairRolloutRule getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RepairRolloutRule.Builder newBuilder()
newBuilder(RepairRolloutRule prototype)
public static RepairRolloutRule.Builder newBuilder(RepairRolloutRule prototype)
public static RepairRolloutRule parseDelimitedFrom(InputStream input)
public static RepairRolloutRule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RepairRolloutRule parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RepairRolloutRule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RepairRolloutRule parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RepairRolloutRule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RepairRolloutRule parseFrom(CodedInputStream input)
public static RepairRolloutRule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RepairRolloutRule parseFrom(InputStream input)
public static RepairRolloutRule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RepairRolloutRule parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RepairRolloutRule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RepairRolloutRule> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCondition()
public AutomationRuleCondition getCondition()
Output only. Information around the state of the 'Automation' rule.
.google.events.cloud.deploy.v1.AutomationRuleCondition condition = 6;
getConditionOrBuilder()
public AutomationRuleConditionOrBuilder getConditionOrBuilder()
Output only. Information around the state of the 'Automation' rule.
.google.events.cloud.deploy.v1.AutomationRuleCondition condition = 6;
getDefaultInstanceForType()
public RepairRolloutRule getDefaultInstanceForType()
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{0,62}
.
string id = 1;
Returns |
Type |
Description |
String |
The id.
|
getIdBytes()
public 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{0,62}
.
string id = 1;
Returns |
Type |
Description |
ByteString |
The bytes for id.
|
getJobs(int index)
public 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?$
.
repeated string jobs = 3;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The jobs at the given index.
|
getJobsBytes(int index)
public 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?$
.
repeated string jobs = 3;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the jobs at the given index.
|
getJobsCount()
public 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?$
.
repeated string jobs = 3;
Returns |
Type |
Description |
int |
The count of jobs.
|
getJobsList()
public 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?$
.
repeated string jobs = 3;
getParserForType()
public Parser<RepairRolloutRule> getParserForType()
Overrides
getRepairModes(int index)
public RepairMode getRepairModes(int index)
Required. Defines the types of automatic repair actions for failed jobs.
repeated .google.events.cloud.deploy.v1.RepairMode repair_modes = 4;
Parameter |
Name |
Description |
index |
int
|
getRepairModesCount()
public int getRepairModesCount()
Required. Defines the types of automatic repair actions for failed jobs.
repeated .google.events.cloud.deploy.v1.RepairMode repair_modes = 4;
Returns |
Type |
Description |
int |
|
getRepairModesList()
public List<RepairMode> getRepairModesList()
Required. Defines the types of automatic repair actions for failed jobs.
repeated .google.events.cloud.deploy.v1.RepairMode repair_modes = 4;
getRepairModesOrBuilder(int index)
public RepairModeOrBuilder getRepairModesOrBuilder(int index)
Required. Defines the types of automatic repair actions for failed jobs.
repeated .google.events.cloud.deploy.v1.RepairMode repair_modes = 4;
Parameter |
Name |
Description |
index |
int
|
getRepairModesOrBuilderList()
public List<? extends RepairModeOrBuilder> getRepairModesOrBuilderList()
Required. Defines the types of automatic repair actions for failed jobs.
repeated .google.events.cloud.deploy.v1.RepairMode repair_modes = 4;
Returns |
Type |
Description |
List<? extends com.google.events.cloud.deploy.v1.RepairModeOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSourcePhases(int index)
public 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?$
.
repeated string source_phases = 2;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The sourcePhases at the given index.
|
getSourcePhasesBytes(int index)
public 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?$
.
repeated string source_phases = 2;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the sourcePhases at the given index.
|
getSourcePhasesCount()
public 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?$
.
repeated string source_phases = 2;
Returns |
Type |
Description |
int |
The count of sourcePhases.
|
getSourcePhasesList()
public 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?$
.
repeated string source_phases = 2;
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasCondition()
public boolean hasCondition()
Output only. Information around the state of the 'Automation' rule.
.google.events.cloud.deploy.v1.AutomationRuleCondition condition = 6;
Returns |
Type |
Description |
boolean |
Whether the condition field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RepairRolloutRule.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RepairRolloutRule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public RepairRolloutRule.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides