Class RepairRolloutOperation (1.43.0)

public final class RepairRolloutOperation extends GeneratedMessageV3 implements RepairRolloutOperationOrBuilder

Contains the information for an automated repair rollout operation.

Protobuf type google.cloud.deploy.v1.RepairRolloutOperation

Static Fields

CURRENT_REPAIR_MODE_INDEX_FIELD_NUMBER

public static final int CURRENT_REPAIR_MODE_INDEX_FIELD_NUMBER
Field Value
Type Description
int

REPAIR_PHASES_FIELD_NUMBER

public static final int REPAIR_PHASES_FIELD_NUMBER
Field Value
Type Description
int

ROLLOUT_FIELD_NUMBER

public static final int ROLLOUT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RepairRolloutOperation getDefaultInstance()
Returns
Type Description
RepairRolloutOperation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RepairRolloutOperation.Builder newBuilder()
Returns
Type Description
RepairRolloutOperation.Builder

newBuilder(RepairRolloutOperation prototype)

public static RepairRolloutOperation.Builder newBuilder(RepairRolloutOperation prototype)
Parameter
Name Description
prototype RepairRolloutOperation
Returns
Type Description
RepairRolloutOperation.Builder

parseDelimitedFrom(InputStream input)

public static RepairRolloutOperation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RepairRolloutOperation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RepairRolloutOperation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepairRolloutOperation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RepairRolloutOperation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RepairRolloutOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RepairRolloutOperation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepairRolloutOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RepairRolloutOperation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RepairRolloutOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RepairRolloutOperation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepairRolloutOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RepairRolloutOperation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RepairRolloutOperation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RepairRolloutOperation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepairRolloutOperation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RepairRolloutOperation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RepairRolloutOperation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RepairRolloutOperation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepairRolloutOperation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RepairRolloutOperation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RepairRolloutOperation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RepairRolloutOperation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepairRolloutOperation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RepairRolloutOperation> parser()
Returns
Type Description
Parser<RepairRolloutOperation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCurrentRepairModeIndex()

public long getCurrentRepairModeIndex()

Output only. The index of the current repair action in the repair sequence.

int64 current_repair_mode_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The currentRepairModeIndex.

getDefaultInstanceForType()

public RepairRolloutOperation getDefaultInstanceForType()
Returns
Type Description
RepairRolloutOperation

getParserForType()

public Parser<RepairRolloutOperation> getParserForType()
Returns
Type Description
Parser<RepairRolloutOperation>
Overrides

getRepairPhases(int index)

public RepairPhase getRepairPhases(int index)

Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.

repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
RepairPhase

getRepairPhasesCount()

public int getRepairPhasesCount()

Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.

repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getRepairPhasesList()

public List<RepairPhase> getRepairPhasesList()

Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.

repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<RepairPhase>

getRepairPhasesOrBuilder(int index)

public RepairPhaseOrBuilder getRepairPhasesOrBuilder(int index)

Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.

repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
RepairPhaseOrBuilder

getRepairPhasesOrBuilderList()

public List<? extends RepairPhaseOrBuilder> getRepairPhasesOrBuilderList()

Output only. Records of the repair attempts. Each repair phase may have multiple retry attempts or single rollback attempt.

repeated .google.cloud.deploy.v1.RepairPhase repair_phases = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.deploy.v1.RepairPhaseOrBuilder>

getRollout()

public String getRollout()

Output only. The name of the rollout that initiates the AutomationRun.

string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The rollout.

getRolloutBytes()

public ByteString getRolloutBytes()

Output only. The name of the rollout that initiates the AutomationRun.

string rollout = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for rollout.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RepairRolloutOperation.Builder newBuilderForType()
Returns
Type Description
RepairRolloutOperation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RepairRolloutOperation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RepairRolloutOperation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RepairRolloutOperation.Builder toBuilder()
Returns
Type Description
RepairRolloutOperation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException