Class AutomationRolloutMetadata.Builder (1.43.0)

public static final class AutomationRolloutMetadata.Builder extends GeneratedMessageV3.Builder<AutomationRolloutMetadata.Builder> implements AutomationRolloutMetadataOrBuilder

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

Protobuf type google.cloud.deploy.v1.AutomationRolloutMetadata

Static Methods

getDescriptor()

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

Methods

addAdvanceAutomationRuns(String value)

public AutomationRolloutMetadata.Builder addAdvanceAutomationRuns(String value)

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
Name Description
value String

The advanceAutomationRuns to add.

Returns
Type Description
AutomationRolloutMetadata.Builder

This builder for chaining.

addAdvanceAutomationRunsBytes(ByteString value)

public AutomationRolloutMetadata.Builder addAdvanceAutomationRunsBytes(ByteString value)

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
Name Description
value ByteString

The bytes of the advanceAutomationRuns to add.

Returns
Type Description
AutomationRolloutMetadata.Builder

This builder for chaining.

addAllAdvanceAutomationRuns(Iterable<String> values)

public AutomationRolloutMetadata.Builder addAllAdvanceAutomationRuns(Iterable<String> values)

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
Name Description
values Iterable<String>

The advanceAutomationRuns to add.

Returns
Type Description
AutomationRolloutMetadata.Builder

This builder for chaining.

addAllRepairAutomationRuns(Iterable<String> values)

public AutomationRolloutMetadata.Builder addAllRepairAutomationRuns(Iterable<String> values)

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
Name Description
values Iterable<String>

The repairAutomationRuns to add.

Returns
Type Description
AutomationRolloutMetadata.Builder

This builder for chaining.

addRepairAutomationRuns(String value)

public AutomationRolloutMetadata.Builder addRepairAutomationRuns(String value)

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
Name Description
value String

The repairAutomationRuns to add.

Returns
Type Description
AutomationRolloutMetadata.Builder

This builder for chaining.

addRepairAutomationRunsBytes(ByteString value)

public AutomationRolloutMetadata.Builder addRepairAutomationRunsBytes(ByteString value)

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
Name Description
value ByteString

The bytes of the repairAutomationRuns to add.

Returns
Type Description
AutomationRolloutMetadata.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutomationRolloutMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutomationRolloutMetadata.Builder
Overrides

build()

public AutomationRolloutMetadata build()
Returns
Type Description
AutomationRolloutMetadata

buildPartial()

public AutomationRolloutMetadata buildPartial()
Returns
Type Description
AutomationRolloutMetadata

clear()

public AutomationRolloutMetadata.Builder clear()
Returns
Type Description
AutomationRolloutMetadata.Builder
Overrides

clearAdvanceAutomationRuns()

public AutomationRolloutMetadata.Builder clearAdvanceAutomationRuns()

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
Type Description
AutomationRolloutMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AutomationRolloutMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AutomationRolloutMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AutomationRolloutMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AutomationRolloutMetadata.Builder
Overrides

clearPromoteAutomationRun()

public AutomationRolloutMetadata.Builder clearPromoteAutomationRun()

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
Type Description
AutomationRolloutMetadata.Builder

This builder for chaining.

clearRepairAutomationRuns()

public AutomationRolloutMetadata.Builder clearRepairAutomationRuns()

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
Type Description
AutomationRolloutMetadata.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
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
Type Description
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
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 IDs 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 IDs 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 IDs 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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AutomationRolloutMetadata other)

public AutomationRolloutMetadata.Builder mergeFrom(AutomationRolloutMetadata other)
Parameter
Name Description
other AutomationRolloutMetadata
Returns
Type Description
AutomationRolloutMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutomationRolloutMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutomationRolloutMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AutomationRolloutMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AutomationRolloutMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutomationRolloutMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutomationRolloutMetadata.Builder
Overrides

setAdvanceAutomationRuns(int index, String value)

public AutomationRolloutMetadata.Builder setAdvanceAutomationRuns(int index, String value)

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];

Parameters
Name Description
index int

The index to set the value at.

value String

The advanceAutomationRuns to set.

Returns
Type Description
AutomationRolloutMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AutomationRolloutMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutomationRolloutMetadata.Builder
Overrides

setPromoteAutomationRun(String value)

public AutomationRolloutMetadata.Builder setPromoteAutomationRun(String value)

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

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

Parameter
Name Description
value String

The promoteAutomationRun to set.

Returns
Type Description
AutomationRolloutMetadata.Builder

This builder for chaining.

setPromoteAutomationRunBytes(ByteString value)

public AutomationRolloutMetadata.Builder setPromoteAutomationRunBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for promoteAutomationRun to set.

Returns
Type Description
AutomationRolloutMetadata.Builder

This builder for chaining.

setRepairAutomationRuns(int index, String value)

public AutomationRolloutMetadata.Builder setRepairAutomationRuns(int index, String value)

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];

Parameters
Name Description
index int

The index to set the value at.

value String

The repairAutomationRuns to set.

Returns
Type Description
AutomationRolloutMetadata.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AutomationRolloutMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AutomationRolloutMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AutomationRolloutMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutomationRolloutMetadata.Builder
Overrides