Class AutomationRolloutMetadata (1.33.0)

public final class AutomationRolloutMetadata extends GeneratedMessageV3 implements AutomationRolloutMetadataOrBuilder

AutomationRolloutMetadata contains Automation-related actions that were performed on a rollout.

Protobuf type google.cloud.deploy.v1.AutomationRolloutMetadata

Static Fields

ADVANCE_AUTOMATION_RUNS_FIELD_NUMBER

public static final int ADVANCE_AUTOMATION_RUNS_FIELD_NUMBER
Field Value
TypeDescription
int

PROMOTE_AUTOMATION_RUN_FIELD_NUMBER

public static final int PROMOTE_AUTOMATION_RUN_FIELD_NUMBER
Field Value
TypeDescription
int

REPAIR_AUTOMATION_RUNS_FIELD_NUMBER

public static final int REPAIR_AUTOMATION_RUNS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AutomationRolloutMetadata getDefaultInstance()
Returns
TypeDescription
AutomationRolloutMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(AutomationRolloutMetadata prototype)

public static AutomationRolloutMetadata.Builder newBuilder(AutomationRolloutMetadata prototype)
Parameter
NameDescription
prototypeAutomationRolloutMetadata
Returns
TypeDescription
AutomationRolloutMetadata.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAdvanceAutomationRuns(int index)

public String getAdvanceAutomationRuns(int index)

Output only. The IDs of the AutomationRuns initiated by an advance rollout rule.

repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The advanceAutomationRuns at the given index.

getAdvanceAutomationRunsBytes(int index)

public ByteString getAdvanceAutomationRunsBytes(int index)

Output only. The IDs of the AutomationRuns initiated by an advance rollout rule.

repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the advanceAutomationRuns at the given index.

getAdvanceAutomationRunsCount()

public int getAdvanceAutomationRunsCount()

Output only. The IDs of the AutomationRuns initiated by an advance rollout rule.

repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The count of advanceAutomationRuns.

getAdvanceAutomationRunsList()

public ProtocolStringList getAdvanceAutomationRunsList()

Output only. The IDs of the AutomationRuns initiated by an advance rollout rule.

repeated string advance_automation_runs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ProtocolStringList

A list containing the advanceAutomationRuns.

getDefaultInstanceForType()

public AutomationRolloutMetadata getDefaultInstanceForType()
Returns
TypeDescription
AutomationRolloutMetadata

getParserForType()

public Parser<AutomationRolloutMetadata> getParserForType()
Returns
TypeDescription
Parser<AutomationRolloutMetadata>
Overrides

getPromoteAutomationRun()

public String getPromoteAutomationRun()

Output only. The ID of the AutomationRun initiated by a promote release rule.

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

Returns
TypeDescription
String

The promoteAutomationRun.

getPromoteAutomationRunBytes()

public ByteString getPromoteAutomationRunBytes()

Output only. The ID of the AutomationRun initiated by a promote release rule.

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

Returns
TypeDescription
ByteString

The bytes for promoteAutomationRun.

getRepairAutomationRuns(int index)

public String getRepairAutomationRuns(int index)

Output only. The IDs of the AutomationRuns initiated by a repair rollout rule.

repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The repairAutomationRuns at the given index.

getRepairAutomationRunsBytes(int index)

public ByteString getRepairAutomationRunsBytes(int index)

Output only. The IDs of the AutomationRuns initiated by a repair rollout rule.

repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the repairAutomationRuns at the given index.

getRepairAutomationRunsCount()

public int getRepairAutomationRunsCount()

Output only. The IDs of the AutomationRuns initiated by a repair rollout rule.

repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The count of repairAutomationRuns.

getRepairAutomationRunsList()

public ProtocolStringList getRepairAutomationRunsList()

Output only. The IDs of the AutomationRuns initiated by a repair rollout rule.

repeated string repair_automation_runs = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ProtocolStringList

A list containing the repairAutomationRuns.

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 AutomationRolloutMetadata.Builder newBuilderForType()
Returns
TypeDescription
AutomationRolloutMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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