public static final class AutomationRolloutMetadata.Builder extends GeneratedMessage.Builder<AutomationRolloutMetadata.Builder> implements AutomationRolloutMetadataOrBuilderAutomationRolloutMetadata contains Automation-related actions that were performed on a rollout.
Protobuf type google.cloud.deploy.v1.AutomationRolloutMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AutomationRolloutMetadata.BuilderImplements
AutomationRolloutMetadataOrBuilderStatic 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 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 |
value |
StringThe advanceAutomationRuns to add. |
| Returns | |
|---|---|
| Type | Description |
AutomationRolloutMetadata.Builder |
This builder for chaining. |
addAdvanceAutomationRunsBytes(ByteString value)
public AutomationRolloutMetadata.Builder addAdvanceAutomationRunsBytes(ByteString value)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 |
value |
ByteStringThe 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 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 |
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 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 |
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 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 |
value |
StringThe repairAutomationRuns to add. |
| Returns | |
|---|---|
| Type | Description |
AutomationRolloutMetadata.Builder |
This builder for chaining. |
addRepairAutomationRunsBytes(ByteString value)
public AutomationRolloutMetadata.Builder addRepairAutomationRunsBytes(ByteString value)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 |
value |
ByteStringThe bytes of the repairAutomationRuns to add. |
| Returns | |
|---|---|
| Type | Description |
AutomationRolloutMetadata.Builder |
This builder for chaining. |
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 |
|
clearAdvanceAutomationRuns()
public AutomationRolloutMetadata.Builder clearAdvanceAutomationRuns()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 |
AutomationRolloutMetadata.Builder |
This builder for chaining. |
clearPromoteAutomationRun()
public AutomationRolloutMetadata.Builder clearPromoteAutomationRun()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 |
AutomationRolloutMetadata.Builder |
This builder for chaining. |
clearRepairAutomationRuns()
public AutomationRolloutMetadata.Builder clearRepairAutomationRuns()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 |
AutomationRolloutMetadata.Builder |
This builder for chaining. |
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 |
intThe 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 |
intThe 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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
intThe 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 |
intThe 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AutomationRolloutMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AutomationRolloutMetadata.Builder |
|
setAdvanceAutomationRuns(int index, String value)
public AutomationRolloutMetadata.Builder setAdvanceAutomationRuns(int index, String value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe advanceAutomationRuns to set. |
| Returns | |
|---|---|
| Type | Description |
AutomationRolloutMetadata.Builder |
This builder for chaining. |
setPromoteAutomationRun(String value)
public AutomationRolloutMetadata.Builder setPromoteAutomationRun(String value)Output only. The name of the AutomationRun initiated by a promote release rule.
string promote_automation_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe promoteAutomationRun to set. |
| Returns | |
|---|---|
| Type | Description |
AutomationRolloutMetadata.Builder |
This builder for chaining. |
setPromoteAutomationRunBytes(ByteString value)
public AutomationRolloutMetadata.Builder setPromoteAutomationRunBytes(ByteString value)Output only. The name of the AutomationRun initiated by a promote release rule.
string promote_automation_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe 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 names 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 |
intThe index to set the value at. |
value |
StringThe repairAutomationRuns to set. |
| Returns | |
|---|---|
| Type | Description |
AutomationRolloutMetadata.Builder |
This builder for chaining. |