Class RepairRolloutOperation (1.39.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
TypeDescription
int

REPAIR_PHASES_FIELD_NUMBER

public static final int REPAIR_PHASES_FIELD_NUMBER
Field Value
TypeDescription
int

ROLLOUT_FIELD_NUMBER

public static final int ROLLOUT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RepairRolloutOperation getDefaultInstance()
Returns
TypeDescription
RepairRolloutOperation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RepairRolloutOperation.Builder newBuilder()
Returns
TypeDescription
RepairRolloutOperation.Builder

newBuilder(RepairRolloutOperation prototype)

public static RepairRolloutOperation.Builder newBuilder(RepairRolloutOperation prototype)
Parameter
NameDescription
prototypeRepairRolloutOperation
Returns
TypeDescription
RepairRolloutOperation.Builder

parseDelimitedFrom(InputStream input)

public static RepairRolloutOperation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RepairRolloutOperation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RepairRolloutOperation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepairRolloutOperation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RepairRolloutOperation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RepairRolloutOperation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RepairRolloutOperation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepairRolloutOperation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RepairRolloutOperation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RepairRolloutOperation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RepairRolloutOperation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepairRolloutOperation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RepairRolloutOperation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RepairRolloutOperation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RepairRolloutOperation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepairRolloutOperation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RepairRolloutOperation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RepairRolloutOperation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RepairRolloutOperation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepairRolloutOperation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RepairRolloutOperation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RepairRolloutOperation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RepairRolloutOperation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepairRolloutOperation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RepairRolloutOperation> parser()
Returns
TypeDescription
Parser<RepairRolloutOperation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
long

The currentRepairModeIndex.

getDefaultInstanceForType()

public RepairRolloutOperation getDefaultInstanceForType()
Returns
TypeDescription
RepairRolloutOperation

getParserForType()

public Parser<RepairRolloutOperation> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for rollout.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RepairRolloutOperation.Builder newBuilderForType()
Returns
TypeDescription
RepairRolloutOperation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RepairRolloutOperation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RepairRolloutOperation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RepairRolloutOperation.Builder toBuilder()
Returns
TypeDescription
RepairRolloutOperation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException