Package com.google.cloud.deploy.v1
Class AutomationRolloutMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AutomationRolloutMetadata.Builder>
com.google.cloud.deploy.v1.AutomationRolloutMetadata.Builder
- All Implemented Interfaces:
AutomationRolloutMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AutomationRolloutMetadata
public static final class AutomationRolloutMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AutomationRolloutMetadata.Builder>
implements AutomationRolloutMetadataOrBuilder
AutomationRolloutMetadata contains Automation-related actions that were performed on a rollout.Protobuf type
google.cloud.deploy.v1.AutomationRolloutMetadata-
Method Summary
Modifier and TypeMethodDescriptionaddAdvanceAutomationRuns(String value) Output only.addAdvanceAutomationRunsBytes(com.google.protobuf.ByteString value) Output only.addAllAdvanceAutomationRuns(Iterable<String> values) Output only.addAllRepairAutomationRuns(Iterable<String> values) Output only.addRepairAutomationRuns(String value) Output only.addRepairAutomationRunsBytes(com.google.protobuf.ByteString value) Output only.build()clear()Output only.Output only.Output only.getAdvanceAutomationRuns(int index) Output only.com.google.protobuf.ByteStringgetAdvanceAutomationRunsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.getRepairAutomationRuns(int index) Output only.com.google.protobuf.ByteStringgetRepairAutomationRunsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAdvanceAutomationRuns(int index, String value) Output only.setPromoteAutomationRun(String value) Output only.setPromoteAutomationRunBytes(com.google.protobuf.ByteString value) Output only.setRepairAutomationRuns(int index, String value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AutomationRolloutMetadata.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AutomationRolloutMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AutomationRolloutMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutomationRolloutMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AutomationRolloutMetadata.Builder>
-
mergeFrom
public AutomationRolloutMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutomationRolloutMetadata.Builder>- Throws:
IOException
-
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];- Specified by:
getPromoteAutomationRunin interfaceAutomationRolloutMetadataOrBuilder- Returns:
- The promoteAutomationRun.
-
getPromoteAutomationRunBytes
public com.google.protobuf.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];- Specified by:
getPromoteAutomationRunBytesin interfaceAutomationRolloutMetadataOrBuilder- Returns:
- The bytes for promoteAutomationRun.
-
setPromoteAutomationRun
Output only. The name of the AutomationRun initiated by a promote release rule.
string promote_automation_run = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The promoteAutomationRun to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setPromoteAutomationRunBytes
public AutomationRolloutMetadata.Builder setPromoteAutomationRunBytes(com.google.protobuf.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];- Parameters:
value- The bytes for promoteAutomationRun to set.- Returns:
- This builder for chaining.
-
getAdvanceAutomationRunsList
public com.google.protobuf.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];- Specified by:
getAdvanceAutomationRunsListin interfaceAutomationRolloutMetadataOrBuilder- Returns:
- A list containing the advanceAutomationRuns.
-
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];- Specified by:
getAdvanceAutomationRunsCountin interfaceAutomationRolloutMetadataOrBuilder- Returns:
- The count of advanceAutomationRuns.
-
getAdvanceAutomationRuns
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];- Specified by:
getAdvanceAutomationRunsin interfaceAutomationRolloutMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The advanceAutomationRuns at the given index.
-
getAdvanceAutomationRunsBytes
public com.google.protobuf.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];- Specified by:
getAdvanceAutomationRunsBytesin interfaceAutomationRolloutMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the advanceAutomationRuns at the given index.
-
setAdvanceAutomationRuns
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:
index- The index to set the value at.value- The advanceAutomationRuns to set.- Returns:
- This builder for chaining.
-
addAdvanceAutomationRuns
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:
value- The advanceAutomationRuns to add.- Returns:
- This builder for chaining.
-
addAllAdvanceAutomationRuns
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:
values- The advanceAutomationRuns to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addAdvanceAutomationRunsBytes
public AutomationRolloutMetadata.Builder addAdvanceAutomationRunsBytes(com.google.protobuf.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];- Parameters:
value- The bytes of the advanceAutomationRuns to add.- Returns:
- This builder for chaining.
-
getRepairAutomationRunsList
public com.google.protobuf.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];- Specified by:
getRepairAutomationRunsListin interfaceAutomationRolloutMetadataOrBuilder- Returns:
- A list containing the repairAutomationRuns.
-
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];- Specified by:
getRepairAutomationRunsCountin interfaceAutomationRolloutMetadataOrBuilder- Returns:
- The count of repairAutomationRuns.
-
getRepairAutomationRuns
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];- Specified by:
getRepairAutomationRunsin interfaceAutomationRolloutMetadataOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The repairAutomationRuns at the given index.
-
getRepairAutomationRunsBytes
public com.google.protobuf.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];- Specified by:
getRepairAutomationRunsBytesin interfaceAutomationRolloutMetadataOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the repairAutomationRuns at the given index.
-
setRepairAutomationRuns
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:
index- The index to set the value at.value- The repairAutomationRuns to set.- Returns:
- This builder for chaining.
-
addRepairAutomationRuns
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:
value- The repairAutomationRuns to add.- Returns:
- This builder for chaining.
-
addAllRepairAutomationRuns
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:
values- The repairAutomationRuns to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addRepairAutomationRunsBytes
public AutomationRolloutMetadata.Builder addRepairAutomationRunsBytes(com.google.protobuf.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];- Parameters:
value- The bytes of the repairAutomationRuns to add.- Returns:
- This builder for chaining.
-