Class AutomationRolloutMetadata.Builder (1.32.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
TypeDescription
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
NameDescription
valueString

The advanceAutomationRuns to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the advanceAutomationRuns to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The advanceAutomationRuns to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The repairAutomationRuns to add.

Returns
TypeDescription
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
NameDescription
valueString

The repairAutomationRuns to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the repairAutomationRuns to add.

Returns
TypeDescription
AutomationRolloutMetadata.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutomationRolloutMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AutomationRolloutMetadata.Builder
Overrides

build()

public AutomationRolloutMetadata build()
Returns
TypeDescription
AutomationRolloutMetadata

buildPartial()

public AutomationRolloutMetadata buildPartial()
Returns
TypeDescription
AutomationRolloutMetadata

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AutomationRolloutMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AutomationRolloutMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AutomationRolloutMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
AutomationRolloutMetadata.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AutomationRolloutMetadata other)

public AutomationRolloutMetadata.Builder mergeFrom(AutomationRolloutMetadata other)
Parameter
NameDescription
otherAutomationRolloutMetadata
Returns
TypeDescription
AutomationRolloutMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutomationRolloutMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AutomationRolloutMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AutomationRolloutMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AutomationRolloutMetadata.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutomationRolloutMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The advanceAutomationRuns to set.

Returns
TypeDescription
AutomationRolloutMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AutomationRolloutMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The promoteAutomationRun to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for promoteAutomationRun to set.

Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The repairAutomationRuns to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AutomationRolloutMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AutomationRolloutMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AutomationRolloutMetadata.Builder
Overrides