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.events.cloud.deploy.v1.AutomationRolloutMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.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 IDs of the AutomationRuns initiated by an advance rollout rule.
repeated string advance_automation_runs = 2;
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;
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;
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;
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;
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;
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 |
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 IDs of the AutomationRuns initiated by an advance rollout rule.
repeated string advance_automation_runs = 2;
Returns | |
---|---|
Type | Description |
AutomationRolloutMetadata.Builder |
This builder for chaining. |
clearCurrentRepairAutomationRun()
public AutomationRolloutMetadata.Builder clearCurrentRepairAutomationRun()
Output only. The current AutomationRun repairing the rollout.
string current_repair_automation_run = 4;
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 |
clearOneof(Descriptors.OneofDescriptor oneof)
public AutomationRolloutMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AutomationRolloutMetadata.Builder |
clearPromoteAutomationRun()
public AutomationRolloutMetadata.Builder clearPromoteAutomationRun()
Output only. The ID of the AutomationRun initiated by a promote release rule.
string promote_automation_run = 1;
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;
Returns | |
---|---|
Type | Description |
AutomationRolloutMetadata.Builder |
This builder for chaining. |
clone()
public AutomationRolloutMetadata.Builder clone()
Returns | |
---|---|
Type | Description |
AutomationRolloutMetadata.Builder |
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;
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;
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;
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;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the advanceAutomationRuns. |
getCurrentRepairAutomationRun()
public String getCurrentRepairAutomationRun()
Output only. The current AutomationRun repairing the rollout.
string current_repair_automation_run = 4;
Returns | |
---|---|
Type | Description |
String |
The currentRepairAutomationRun. |
getCurrentRepairAutomationRunBytes()
public ByteString getCurrentRepairAutomationRunBytes()
Output only. The current AutomationRun repairing the rollout.
string current_repair_automation_run = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for currentRepairAutomationRun. |
getDefaultInstanceForType()
public AutomationRolloutMetadata getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AutomationRolloutMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPromoteAutomationRun()
public String getPromoteAutomationRun()
Output only. The ID of the AutomationRun initiated by a promote release rule.
string promote_automation_run = 1;
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;
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;
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;
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;
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;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the repairAutomationRuns. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutomationRolloutMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AutomationRolloutMetadata.Builder |
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;
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. |
setCurrentRepairAutomationRun(String value)
public AutomationRolloutMetadata.Builder setCurrentRepairAutomationRun(String value)
Output only. The current AutomationRun repairing the rollout.
string current_repair_automation_run = 4;
Parameter | |
---|---|
Name | Description |
value |
String The currentRepairAutomationRun to set. |
Returns | |
---|---|
Type | Description |
AutomationRolloutMetadata.Builder |
This builder for chaining. |
setCurrentRepairAutomationRunBytes(ByteString value)
public AutomationRolloutMetadata.Builder setCurrentRepairAutomationRunBytes(ByteString value)
Output only. The current AutomationRun repairing the rollout.
string current_repair_automation_run = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for currentRepairAutomationRun 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 |
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;
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;
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;
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final AutomationRolloutMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AutomationRolloutMetadata.Builder |