Class AutomationRolloutMetadata (1.46.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
Type Description
int

PROMOTE_AUTOMATION_RUN_FIELD_NUMBER

public static final int PROMOTE_AUTOMATION_RUN_FIELD_NUMBER
Field Value
Type Description
int

REPAIR_AUTOMATION_RUNS_FIELD_NUMBER

public static final int REPAIR_AUTOMATION_RUNS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AutomationRolloutMetadata getDefaultInstance()
Returns
Type Description
AutomationRolloutMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(AutomationRolloutMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAdvanceAutomationRuns(int index)

public String getAdvanceAutomationRuns(int index)

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

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The advanceAutomationRuns at the given index.

getAdvanceAutomationRunsBytes(int index)

public ByteString getAdvanceAutomationRunsBytes(int index)

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

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

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the advanceAutomationRuns at the given index.

getAdvanceAutomationRunsCount()

public int getAdvanceAutomationRunsCount()

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

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

Returns
Type Description
int

The count of advanceAutomationRuns.

getAdvanceAutomationRunsList()

public ProtocolStringList getAdvanceAutomationRunsList()

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

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

Returns
Type Description
ProtocolStringList

A list containing the advanceAutomationRuns.

getDefaultInstanceForType()

public AutomationRolloutMetadata getDefaultInstanceForType()
Returns
Type Description
AutomationRolloutMetadata

getParserForType()

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

getPromoteAutomationRun()

public String getPromoteAutomationRun()

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

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

Returns
Type Description
String

The promoteAutomationRun.

getPromoteAutomationRunBytes()

public ByteString getPromoteAutomationRunBytes()

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

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

Returns
Type Description
ByteString

The bytes for promoteAutomationRun.

getRepairAutomationRuns(int index)

public String getRepairAutomationRuns(int index)

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

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The repairAutomationRuns at the given index.

getRepairAutomationRunsBytes(int index)

public ByteString getRepairAutomationRunsBytes(int index)

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

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

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the repairAutomationRuns at the given index.

getRepairAutomationRunsCount()

public int getRepairAutomationRunsCount()

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

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

Returns
Type Description
int

The count of repairAutomationRuns.

getRepairAutomationRunsList()

public ProtocolStringList getRepairAutomationRunsList()

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

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

Returns
Type Description
ProtocolStringList

A list containing the repairAutomationRuns.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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