Package com.google.cloud.deploy.v1
Class Rollout.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
- com.google.cloud.deploy.v1.Rollout.Builder
-
- All Implemented Interfaces:
RolloutOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Rollout
public static final class Rollout.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder> implements RolloutOrBuilder
A `Rollout` resource in the Cloud Deploy API. A `Rollout` contains information around a specific deployment to a `Target`.
Protobuf typegoogle.cloud.deploy.v1.Rollout
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Rollout.BuilderaddAllPhases(Iterable<? extends Phase> values)Output only.Rollout.BuilderaddPhases(int index, Phase value)Output only.Rollout.BuilderaddPhases(int index, Phase.Builder builderForValue)Output only.Rollout.BuilderaddPhases(Phase value)Output only.Rollout.BuilderaddPhases(Phase.Builder builderForValue)Output only.Phase.BuilderaddPhasesBuilder()Output only.Phase.BuilderaddPhasesBuilder(int index)Output only.Rollout.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Rolloutbuild()RolloutbuildPartial()Rollout.Builderclear()Rollout.BuilderclearAnnotations()Rollout.BuilderclearApprovalState()Output only.Rollout.BuilderclearApproveTime()Output only.Rollout.BuilderclearControllerRollout()Output only.Rollout.BuilderclearCreateTime()Output only.Rollout.BuilderclearDeployEndTime()Output only.Rollout.BuilderclearDeployFailureCause()Output only.Rollout.BuilderclearDeployingBuild()Output only.Rollout.BuilderclearDeployStartTime()Output only.Rollout.BuilderclearDescription()Description of the `Rollout` for user purposes.Rollout.BuilderclearEnqueueTime()Output only.Rollout.BuilderclearEtag()This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.Rollout.BuilderclearFailureReason()Output only.Rollout.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Rollout.BuilderclearLabels()Rollout.BuilderclearMetadata()Output only.Rollout.BuilderclearName()Optional.Rollout.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Rollout.BuilderclearPhases()Output only.Rollout.BuilderclearState()Output only.Rollout.BuilderclearTargetId()Required.Rollout.BuilderclearUid()Output only.Rollout.Builderclone()booleancontainsAnnotations(String key)User annotations.booleancontainsLabels(String key)Labels are attributes that can be set and used by both the user and by Cloud Deploy.Map<String,String>getAnnotations()Deprecated.intgetAnnotationsCount()User annotations.Map<String,String>getAnnotationsMap()User annotations.StringgetAnnotationsOrDefault(String key, String defaultValue)User annotations.StringgetAnnotationsOrThrow(String key)User annotations.Rollout.ApprovalStategetApprovalState()Output only.intgetApprovalStateValue()Output only.com.google.protobuf.TimestampgetApproveTime()Output only.com.google.protobuf.Timestamp.BuildergetApproveTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetApproveTimeOrBuilder()Output only.StringgetControllerRollout()Output only.com.google.protobuf.ByteStringgetControllerRolloutBytes()Output only.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.RolloutgetDefaultInstanceForType()com.google.protobuf.TimestampgetDeployEndTime()Output only.com.google.protobuf.Timestamp.BuildergetDeployEndTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetDeployEndTimeOrBuilder()Output only.Rollout.FailureCausegetDeployFailureCause()Output only.intgetDeployFailureCauseValue()Output only.StringgetDeployingBuild()Output only.com.google.protobuf.ByteStringgetDeployingBuildBytes()Output only.com.google.protobuf.TimestampgetDeployStartTime()Output only.com.google.protobuf.Timestamp.BuildergetDeployStartTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetDeployStartTimeOrBuilder()Output only.StringgetDescription()Description of the `Rollout` for user purposes.com.google.protobuf.ByteStringgetDescriptionBytes()Description of the `Rollout` for user purposes.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.TimestampgetEnqueueTime()Output only.com.google.protobuf.Timestamp.BuildergetEnqueueTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetEnqueueTimeOrBuilder()Output only.StringgetEtag()This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.com.google.protobuf.ByteStringgetEtagBytes()This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.StringgetFailureReason()Output only.com.google.protobuf.ByteStringgetFailureReasonBytes()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels are attributes that can be set and used by both the user and by Cloud Deploy.Map<String,String>getLabelsMap()Labels are attributes that can be set and used by both the user and by Cloud Deploy.StringgetLabelsOrDefault(String key, String defaultValue)Labels are attributes that can be set and used by both the user and by Cloud Deploy.StringgetLabelsOrThrow(String key)Labels are attributes that can be set and used by both the user and by Cloud Deploy.MetadatagetMetadata()Output only.Metadata.BuildergetMetadataBuilder()Output only.MetadataOrBuildergetMetadataOrBuilder()Output only.Map<String,String>getMutableAnnotations()Deprecated.Map<String,String>getMutableLabels()Deprecated.StringgetName()Optional.com.google.protobuf.ByteStringgetNameBytes()Optional.PhasegetPhases(int index)Output only.Phase.BuildergetPhasesBuilder(int index)Output only.List<Phase.Builder>getPhasesBuilderList()Output only.intgetPhasesCount()Output only.List<Phase>getPhasesList()Output only.PhaseOrBuildergetPhasesOrBuilder(int index)Output only.List<? extends PhaseOrBuilder>getPhasesOrBuilderList()Output only.Rollout.StategetState()Output only.intgetStateValue()Output only.StringgetTargetId()Required.com.google.protobuf.ByteStringgetTargetIdBytes()Required.StringgetUid()Output only.com.google.protobuf.ByteStringgetUidBytes()Output only.booleanhasApproveTime()Output only.booleanhasCreateTime()Output only.booleanhasDeployEndTime()Output only.booleanhasDeployStartTime()Output only.booleanhasEnqueueTime()Output only.booleanhasMetadata()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Rollout.BuildermergeApproveTime(com.google.protobuf.Timestamp value)Output only.Rollout.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Rollout.BuildermergeDeployEndTime(com.google.protobuf.Timestamp value)Output only.Rollout.BuildermergeDeployStartTime(com.google.protobuf.Timestamp value)Output only.Rollout.BuildermergeEnqueueTime(com.google.protobuf.Timestamp value)Output only.Rollout.BuildermergeFrom(Rollout other)Rollout.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Rollout.BuildermergeFrom(com.google.protobuf.Message other)Rollout.BuildermergeMetadata(Metadata value)Output only.Rollout.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Rollout.BuilderputAllAnnotations(Map<String,String> values)User annotations.Rollout.BuilderputAllLabels(Map<String,String> values)Labels are attributes that can be set and used by both the user and by Cloud Deploy.Rollout.BuilderputAnnotations(String key, String value)User annotations.Rollout.BuilderputLabels(String key, String value)Labels are attributes that can be set and used by both the user and by Cloud Deploy.Rollout.BuilderremoveAnnotations(String key)User annotations.Rollout.BuilderremoveLabels(String key)Labels are attributes that can be set and used by both the user and by Cloud Deploy.Rollout.BuilderremovePhases(int index)Output only.Rollout.BuildersetApprovalState(Rollout.ApprovalState value)Output only.Rollout.BuildersetApprovalStateValue(int value)Output only.Rollout.BuildersetApproveTime(com.google.protobuf.Timestamp value)Output only.Rollout.BuildersetApproveTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Rollout.BuildersetControllerRollout(String value)Output only.Rollout.BuildersetControllerRolloutBytes(com.google.protobuf.ByteString value)Output only.Rollout.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Rollout.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Rollout.BuildersetDeployEndTime(com.google.protobuf.Timestamp value)Output only.Rollout.BuildersetDeployEndTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Rollout.BuildersetDeployFailureCause(Rollout.FailureCause value)Output only.Rollout.BuildersetDeployFailureCauseValue(int value)Output only.Rollout.BuildersetDeployingBuild(String value)Output only.Rollout.BuildersetDeployingBuildBytes(com.google.protobuf.ByteString value)Output only.Rollout.BuildersetDeployStartTime(com.google.protobuf.Timestamp value)Output only.Rollout.BuildersetDeployStartTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Rollout.BuildersetDescription(String value)Description of the `Rollout` for user purposes.Rollout.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)Description of the `Rollout` for user purposes.Rollout.BuildersetEnqueueTime(com.google.protobuf.Timestamp value)Output only.Rollout.BuildersetEnqueueTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Rollout.BuildersetEtag(String value)This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.Rollout.BuildersetEtagBytes(com.google.protobuf.ByteString value)This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.Rollout.BuildersetFailureReason(String value)Output only.Rollout.BuildersetFailureReasonBytes(com.google.protobuf.ByteString value)Output only.Rollout.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Rollout.BuildersetMetadata(Metadata value)Output only.Rollout.BuildersetMetadata(Metadata.Builder builderForValue)Output only.Rollout.BuildersetName(String value)Optional.Rollout.BuildersetNameBytes(com.google.protobuf.ByteString value)Optional.Rollout.BuildersetPhases(int index, Phase value)Output only.Rollout.BuildersetPhases(int index, Phase.Builder builderForValue)Output only.Rollout.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Rollout.BuildersetState(Rollout.State value)Output only.Rollout.BuildersetStateValue(int value)Output only.Rollout.BuildersetTargetId(String value)Required.Rollout.BuildersetTargetIdBytes(com.google.protobuf.ByteString value)Required.Rollout.BuildersetUid(String value)Output only.Rollout.BuildersetUidBytes(com.google.protobuf.ByteString value)Output only.Rollout.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
clear
public Rollout.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.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.GeneratedMessageV3.Builder<Rollout.Builder>
-
getDefaultInstanceForType
public Rollout getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Rollout build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Rollout buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Rollout.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
setField
public Rollout.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
clearField
public Rollout.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
clearOneof
public Rollout.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
setRepeatedField
public Rollout.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
addRepeatedField
public Rollout.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
mergeFrom
public Rollout.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Rollout.Builder>
-
mergeFrom
public Rollout.Builder mergeFrom(Rollout other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
mergeFrom
public Rollout.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<Rollout.Builder>- Throws:
IOException
-
getName
public String getName()
Optional. Name of the `Rollout`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}.string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNamein interfaceRolloutOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Optional. Name of the `Rollout`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}.string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNameBytesin interfaceRolloutOrBuilder- Returns:
- The bytes for name.
-
setName
public Rollout.Builder setName(String value)
Optional. Name of the `Rollout`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}.string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Rollout.Builder clearName()
Optional. Name of the `Rollout`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}.string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setNameBytes
public Rollout.Builder setNameBytes(com.google.protobuf.ByteString value)
Optional. Name of the `Rollout`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}.string name = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getUid
public String getUid()
Output only. Unique identifier of the `Rollout`.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidin interfaceRolloutOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()
Output only. Unique identifier of the `Rollout`.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidBytesin interfaceRolloutOrBuilder- Returns:
- The bytes for uid.
-
setUid
public Rollout.Builder setUid(String value)
Output only. Unique identifier of the `Rollout`.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
public Rollout.Builder clearUid()
Output only. Unique identifier of the `Rollout`.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUidBytes
public Rollout.Builder setUidBytes(com.google.protobuf.ByteString value)
Output only. Unique identifier of the `Rollout`.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for uid to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
Description of the `Rollout` for user purposes. Max length is 255 characters.
string description = 3;- Specified by:
getDescriptionin interfaceRolloutOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Description of the `Rollout` for user purposes. Max length is 255 characters.
string description = 3;- Specified by:
getDescriptionBytesin interfaceRolloutOrBuilder- Returns:
- The bytes for description.
-
setDescription
public Rollout.Builder setDescription(String value)
Description of the `Rollout` for user purposes. Max length is 255 characters.
string description = 3;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Rollout.Builder clearDescription()
Description of the `Rollout` for user purposes. Max length is 255 characters.
string description = 3;- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Rollout.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the `Rollout` for user purposes. Max length is 255 characters.
string description = 3;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:RolloutOrBuilderUser annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;- Specified by:
getAnnotationsCountin interfaceRolloutOrBuilder
-
containsAnnotations
public boolean containsAnnotations(String key)
User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;- Specified by:
containsAnnotationsin interfaceRolloutOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceRolloutOrBuilder
-
getAnnotationsMap
public Map<String,String> getAnnotationsMap()
User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;- Specified by:
getAnnotationsMapin interfaceRolloutOrBuilder
-
getAnnotationsOrDefault
public String getAnnotationsOrDefault(String key, String defaultValue)
User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;- Specified by:
getAnnotationsOrDefaultin interfaceRolloutOrBuilder
-
getAnnotationsOrThrow
public String getAnnotationsOrThrow(String key)
User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;- Specified by:
getAnnotationsOrThrowin interfaceRolloutOrBuilder
-
clearAnnotations
public Rollout.Builder clearAnnotations()
-
removeAnnotations
public Rollout.Builder removeAnnotations(String key)
User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;
-
getMutableAnnotations
@Deprecated public Map<String,String> getMutableAnnotations()
Deprecated.Use alternate mutation accessors instead.
-
putAnnotations
public Rollout.Builder putAnnotations(String key, String value)
User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;
-
putAllAnnotations
public Rollout.Builder putAllAnnotations(Map<String,String> values)
User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:RolloutOrBuilderLabels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 5;- Specified by:
getLabelsCountin interfaceRolloutOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 5;- Specified by:
containsLabelsin interfaceRolloutOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceRolloutOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 5;- Specified by:
getLabelsMapin interfaceRolloutOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 5;- Specified by:
getLabelsOrDefaultin interfaceRolloutOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 5;- Specified by:
getLabelsOrThrowin interfaceRolloutOrBuilder
-
clearLabels
public Rollout.Builder clearLabels()
-
removeLabels
public Rollout.Builder removeLabels(String key)
Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 5;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Rollout.Builder putLabels(String key, String value)
Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 5;
-
putAllLabels
public Rollout.Builder putAllLabels(Map<String,String> values)
Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 5;
-
hasCreateTime
public boolean hasCreateTime()
Output only. Time at which the `Rollout` was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceRolloutOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Time at which the `Rollout` was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceRolloutOrBuilder- Returns:
- The createTime.
-
setCreateTime
public Rollout.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Time at which the `Rollout` was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Rollout.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time at which the `Rollout` was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Rollout.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Time at which the `Rollout` was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Rollout.Builder clearCreateTime()
Output only. Time at which the `Rollout` was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Time at which the `Rollout` was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time at which the `Rollout` was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceRolloutOrBuilder
-
hasApproveTime
public boolean hasApproveTime()
Output only. Time at which the `Rollout` was approved.
.google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasApproveTimein interfaceRolloutOrBuilder- Returns:
- Whether the approveTime field is set.
-
getApproveTime
public com.google.protobuf.Timestamp getApproveTime()
Output only. Time at which the `Rollout` was approved.
.google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApproveTimein interfaceRolloutOrBuilder- Returns:
- The approveTime.
-
setApproveTime
public Rollout.Builder setApproveTime(com.google.protobuf.Timestamp value)
Output only. Time at which the `Rollout` was approved.
.google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setApproveTime
public Rollout.Builder setApproveTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time at which the `Rollout` was approved.
.google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeApproveTime
public Rollout.Builder mergeApproveTime(com.google.protobuf.Timestamp value)
Output only. Time at which the `Rollout` was approved.
.google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearApproveTime
public Rollout.Builder clearApproveTime()
Output only. Time at which the `Rollout` was approved.
.google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getApproveTimeBuilder
public com.google.protobuf.Timestamp.Builder getApproveTimeBuilder()
Output only. Time at which the `Rollout` was approved.
.google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getApproveTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getApproveTimeOrBuilder()
Output only. Time at which the `Rollout` was approved.
.google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApproveTimeOrBuilderin interfaceRolloutOrBuilder
-
hasEnqueueTime
public boolean hasEnqueueTime()
Output only. Time at which the `Rollout` was enqueued.
.google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasEnqueueTimein interfaceRolloutOrBuilder- Returns:
- Whether the enqueueTime field is set.
-
getEnqueueTime
public com.google.protobuf.Timestamp getEnqueueTime()
Output only. Time at which the `Rollout` was enqueued.
.google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEnqueueTimein interfaceRolloutOrBuilder- Returns:
- The enqueueTime.
-
setEnqueueTime
public Rollout.Builder setEnqueueTime(com.google.protobuf.Timestamp value)
Output only. Time at which the `Rollout` was enqueued.
.google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setEnqueueTime
public Rollout.Builder setEnqueueTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time at which the `Rollout` was enqueued.
.google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeEnqueueTime
public Rollout.Builder mergeEnqueueTime(com.google.protobuf.Timestamp value)
Output only. Time at which the `Rollout` was enqueued.
.google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearEnqueueTime
public Rollout.Builder clearEnqueueTime()
Output only. Time at which the `Rollout` was enqueued.
.google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getEnqueueTimeBuilder
public com.google.protobuf.Timestamp.Builder getEnqueueTimeBuilder()
Output only. Time at which the `Rollout` was enqueued.
.google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getEnqueueTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEnqueueTimeOrBuilder()
Output only. Time at which the `Rollout` was enqueued.
.google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEnqueueTimeOrBuilderin interfaceRolloutOrBuilder
-
hasDeployStartTime
public boolean hasDeployStartTime()
Output only. Time at which the `Rollout` started deploying.
.google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeployStartTimein interfaceRolloutOrBuilder- Returns:
- Whether the deployStartTime field is set.
-
getDeployStartTime
public com.google.protobuf.Timestamp getDeployStartTime()
Output only. Time at which the `Rollout` started deploying.
.google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeployStartTimein interfaceRolloutOrBuilder- Returns:
- The deployStartTime.
-
setDeployStartTime
public Rollout.Builder setDeployStartTime(com.google.protobuf.Timestamp value)
Output only. Time at which the `Rollout` started deploying.
.google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setDeployStartTime
public Rollout.Builder setDeployStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time at which the `Rollout` started deploying.
.google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeDeployStartTime
public Rollout.Builder mergeDeployStartTime(com.google.protobuf.Timestamp value)
Output only. Time at which the `Rollout` started deploying.
.google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearDeployStartTime
public Rollout.Builder clearDeployStartTime()
Output only. Time at which the `Rollout` started deploying.
.google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDeployStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getDeployStartTimeBuilder()
Output only. Time at which the `Rollout` started deploying.
.google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDeployStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeployStartTimeOrBuilder()
Output only. Time at which the `Rollout` started deploying.
.google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeployStartTimeOrBuilderin interfaceRolloutOrBuilder
-
hasDeployEndTime
public boolean hasDeployEndTime()
Output only. Time at which the `Rollout` finished deploying.
.google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDeployEndTimein interfaceRolloutOrBuilder- Returns:
- Whether the deployEndTime field is set.
-
getDeployEndTime
public com.google.protobuf.Timestamp getDeployEndTime()
Output only. Time at which the `Rollout` finished deploying.
.google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeployEndTimein interfaceRolloutOrBuilder- Returns:
- The deployEndTime.
-
setDeployEndTime
public Rollout.Builder setDeployEndTime(com.google.protobuf.Timestamp value)
Output only. Time at which the `Rollout` finished deploying.
.google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setDeployEndTime
public Rollout.Builder setDeployEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time at which the `Rollout` finished deploying.
.google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeDeployEndTime
public Rollout.Builder mergeDeployEndTime(com.google.protobuf.Timestamp value)
Output only. Time at which the `Rollout` finished deploying.
.google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearDeployEndTime
public Rollout.Builder clearDeployEndTime()
Output only. Time at which the `Rollout` finished deploying.
.google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDeployEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getDeployEndTimeBuilder()
Output only. Time at which the `Rollout` finished deploying.
.google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDeployEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeployEndTimeOrBuilder()
Output only. Time at which the `Rollout` finished deploying.
.google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeployEndTimeOrBuilderin interfaceRolloutOrBuilder
-
getTargetId
public String getTargetId()
Required. The ID of Target to which this `Rollout` is deploying.
string target_id = 18 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTargetIdin interfaceRolloutOrBuilder- Returns:
- The targetId.
-
getTargetIdBytes
public com.google.protobuf.ByteString getTargetIdBytes()
Required. The ID of Target to which this `Rollout` is deploying.
string target_id = 18 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getTargetIdBytesin interfaceRolloutOrBuilder- Returns:
- The bytes for targetId.
-
setTargetId
public Rollout.Builder setTargetId(String value)
Required. The ID of Target to which this `Rollout` is deploying.
string target_id = 18 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The targetId to set.- Returns:
- This builder for chaining.
-
clearTargetId
public Rollout.Builder clearTargetId()
Required. The ID of Target to which this `Rollout` is deploying.
string target_id = 18 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setTargetIdBytes
public Rollout.Builder setTargetIdBytes(com.google.protobuf.ByteString value)
Required. The ID of Target to which this `Rollout` is deploying.
string target_id = 18 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for targetId to set.- Returns:
- This builder for chaining.
-
getApprovalStateValue
public int getApprovalStateValue()
Output only. Approval state of the `Rollout`.
.google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApprovalStateValuein interfaceRolloutOrBuilder- Returns:
- The enum numeric value on the wire for approvalState.
-
setApprovalStateValue
public Rollout.Builder setApprovalStateValue(int value)
Output only. Approval state of the `Rollout`.
.google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for approvalState to set.- Returns:
- This builder for chaining.
-
getApprovalState
public Rollout.ApprovalState getApprovalState()
Output only. Approval state of the `Rollout`.
.google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getApprovalStatein interfaceRolloutOrBuilder- Returns:
- The approvalState.
-
setApprovalState
public Rollout.Builder setApprovalState(Rollout.ApprovalState value)
Output only. Approval state of the `Rollout`.
.google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The approvalState to set.- Returns:
- This builder for chaining.
-
clearApprovalState
public Rollout.Builder clearApprovalState()
Output only. Approval state of the `Rollout`.
.google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()
Output only. Current state of the `Rollout`.
.google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceRolloutOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Rollout.Builder setStateValue(int value)
Output only. Current state of the `Rollout`.
.google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public Rollout.State getState()
Output only. Current state of the `Rollout`.
.google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceRolloutOrBuilder- Returns:
- The state.
-
setState
public Rollout.Builder setState(Rollout.State value)
Output only. Current state of the `Rollout`.
.google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Rollout.Builder clearState()
Output only. Current state of the `Rollout`.
.google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getFailureReason
public String getFailureReason()
Output only. Additional information about the rollout failure, if available.
string failure_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFailureReasonin interfaceRolloutOrBuilder- Returns:
- The failureReason.
-
getFailureReasonBytes
public com.google.protobuf.ByteString getFailureReasonBytes()
Output only. Additional information about the rollout failure, if available.
string failure_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFailureReasonBytesin interfaceRolloutOrBuilder- Returns:
- The bytes for failureReason.
-
setFailureReason
public Rollout.Builder setFailureReason(String value)
Output only. Additional information about the rollout failure, if available.
string failure_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The failureReason to set.- Returns:
- This builder for chaining.
-
clearFailureReason
public Rollout.Builder clearFailureReason()
Output only. Additional information about the rollout failure, if available.
string failure_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setFailureReasonBytes
public Rollout.Builder setFailureReasonBytes(com.google.protobuf.ByteString value)
Output only. Additional information about the rollout failure, if available.
string failure_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for failureReason to set.- Returns:
- This builder for chaining.
-
getDeployingBuild
public String getDeployingBuild()
Output only. The resource name of the Cloud Build `Build` object that is used to deploy the Rollout. Format is `projects/{project}/locations/{location}/builds/{build}`.string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getDeployingBuildin interfaceRolloutOrBuilder- Returns:
- The deployingBuild.
-
getDeployingBuildBytes
public com.google.protobuf.ByteString getDeployingBuildBytes()
Output only. The resource name of the Cloud Build `Build` object that is used to deploy the Rollout. Format is `projects/{project}/locations/{location}/builds/{build}`.string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getDeployingBuildBytesin interfaceRolloutOrBuilder- Returns:
- The bytes for deployingBuild.
-
setDeployingBuild
public Rollout.Builder setDeployingBuild(String value)
Output only. The resource name of the Cloud Build `Build` object that is used to deploy the Rollout. Format is `projects/{project}/locations/{location}/builds/{build}`.string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The deployingBuild to set.- Returns:
- This builder for chaining.
-
clearDeployingBuild
public Rollout.Builder clearDeployingBuild()
Output only. The resource name of the Cloud Build `Build` object that is used to deploy the Rollout. Format is `projects/{project}/locations/{location}/builds/{build}`.string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setDeployingBuildBytes
public Rollout.Builder setDeployingBuildBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the Cloud Build `Build` object that is used to deploy the Rollout. Format is `projects/{project}/locations/{location}/builds/{build}`.string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for deployingBuild to set.- Returns:
- This builder for chaining.
-
getEtag
public String getEtag()
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 16;- Specified by:
getEtagin interfaceRolloutOrBuilder- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 16;- Specified by:
getEtagBytesin interfaceRolloutOrBuilder- Returns:
- The bytes for etag.
-
setEtag
public Rollout.Builder setEtag(String value)
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 16;- Parameters:
value- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
public Rollout.Builder clearEtag()
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 16;- Returns:
- This builder for chaining.
-
setEtagBytes
public Rollout.Builder setEtagBytes(com.google.protobuf.ByteString value)
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 16;- Parameters:
value- The bytes for etag to set.- Returns:
- This builder for chaining.
-
getDeployFailureCauseValue
public int getDeployFailureCauseValue()
Output only. The reason this rollout failed. This will always be unspecified while the rollout is in progress.
.google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeployFailureCauseValuein interfaceRolloutOrBuilder- Returns:
- The enum numeric value on the wire for deployFailureCause.
-
setDeployFailureCauseValue
public Rollout.Builder setDeployFailureCauseValue(int value)
Output only. The reason this rollout failed. This will always be unspecified while the rollout is in progress.
.google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for deployFailureCause to set.- Returns:
- This builder for chaining.
-
getDeployFailureCause
public Rollout.FailureCause getDeployFailureCause()
Output only. The reason this rollout failed. This will always be unspecified while the rollout is in progress.
.google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDeployFailureCausein interfaceRolloutOrBuilder- Returns:
- The deployFailureCause.
-
setDeployFailureCause
public Rollout.Builder setDeployFailureCause(Rollout.FailureCause value)
Output only. The reason this rollout failed. This will always be unspecified while the rollout is in progress.
.google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The deployFailureCause to set.- Returns:
- This builder for chaining.
-
clearDeployFailureCause
public Rollout.Builder clearDeployFailureCause()
Output only. The reason this rollout failed. This will always be unspecified while the rollout is in progress.
.google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getPhasesList
public List<Phase> getPhasesList()
Output only. The phases that represent the workflows of this `Rollout`.
repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPhasesListin interfaceRolloutOrBuilder
-
getPhasesCount
public int getPhasesCount()
Output only. The phases that represent the workflows of this `Rollout`.
repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPhasesCountin interfaceRolloutOrBuilder
-
getPhases
public Phase getPhases(int index)
Output only. The phases that represent the workflows of this `Rollout`.
repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPhasesin interfaceRolloutOrBuilder
-
setPhases
public Rollout.Builder setPhases(int index, Phase value)
Output only. The phases that represent the workflows of this `Rollout`.
repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setPhases
public Rollout.Builder setPhases(int index, Phase.Builder builderForValue)
Output only. The phases that represent the workflows of this `Rollout`.
repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addPhases
public Rollout.Builder addPhases(Phase value)
Output only. The phases that represent the workflows of this `Rollout`.
repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addPhases
public Rollout.Builder addPhases(int index, Phase value)
Output only. The phases that represent the workflows of this `Rollout`.
repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addPhases
public Rollout.Builder addPhases(Phase.Builder builderForValue)
Output only. The phases that represent the workflows of this `Rollout`.
repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addPhases
public Rollout.Builder addPhases(int index, Phase.Builder builderForValue)
Output only. The phases that represent the workflows of this `Rollout`.
repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAllPhases
public Rollout.Builder addAllPhases(Iterable<? extends Phase> values)
Output only. The phases that represent the workflows of this `Rollout`.
repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearPhases
public Rollout.Builder clearPhases()
Output only. The phases that represent the workflows of this `Rollout`.
repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removePhases
public Rollout.Builder removePhases(int index)
Output only. The phases that represent the workflows of this `Rollout`.
repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getPhasesBuilder
public Phase.Builder getPhasesBuilder(int index)
Output only. The phases that represent the workflows of this `Rollout`.
repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getPhasesOrBuilder
public PhaseOrBuilder getPhasesOrBuilder(int index)
Output only. The phases that represent the workflows of this `Rollout`.
repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPhasesOrBuilderin interfaceRolloutOrBuilder
-
getPhasesOrBuilderList
public List<? extends PhaseOrBuilder> getPhasesOrBuilderList()
Output only. The phases that represent the workflows of this `Rollout`.
repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPhasesOrBuilderListin interfaceRolloutOrBuilder
-
addPhasesBuilder
public Phase.Builder addPhasesBuilder()
Output only. The phases that represent the workflows of this `Rollout`.
repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addPhasesBuilder
public Phase.Builder addPhasesBuilder(int index)
Output only. The phases that represent the workflows of this `Rollout`.
repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getPhasesBuilderList
public List<Phase.Builder> getPhasesBuilderList()
Output only. The phases that represent the workflows of this `Rollout`.
repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasMetadata
public boolean hasMetadata()
Output only. Metadata contains information about the rollout.
.google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasMetadatain interfaceRolloutOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
public Metadata getMetadata()
Output only. Metadata contains information about the rollout.
.google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMetadatain interfaceRolloutOrBuilder- Returns:
- The metadata.
-
setMetadata
public Rollout.Builder setMetadata(Metadata value)
Output only. Metadata contains information about the rollout.
.google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setMetadata
public Rollout.Builder setMetadata(Metadata.Builder builderForValue)
Output only. Metadata contains information about the rollout.
.google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeMetadata
public Rollout.Builder mergeMetadata(Metadata value)
Output only. Metadata contains information about the rollout.
.google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearMetadata
public Rollout.Builder clearMetadata()
Output only. Metadata contains information about the rollout.
.google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getMetadataBuilder
public Metadata.Builder getMetadataBuilder()
Output only. Metadata contains information about the rollout.
.google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getMetadataOrBuilder
public MetadataOrBuilder getMetadataOrBuilder()
Output only. Metadata contains information about the rollout.
.google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getMetadataOrBuilderin interfaceRolloutOrBuilder
-
getControllerRollout
public String getControllerRollout()
Output only. Name of the `ControllerRollout`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}.string controller_rollout = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getControllerRolloutin interfaceRolloutOrBuilder- Returns:
- The controllerRollout.
-
getControllerRolloutBytes
public com.google.protobuf.ByteString getControllerRolloutBytes()
Output only. Name of the `ControllerRollout`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}.string controller_rollout = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getControllerRolloutBytesin interfaceRolloutOrBuilder- Returns:
- The bytes for controllerRollout.
-
setControllerRollout
public Rollout.Builder setControllerRollout(String value)
Output only. Name of the `ControllerRollout`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}.string controller_rollout = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The controllerRollout to set.- Returns:
- This builder for chaining.
-
clearControllerRollout
public Rollout.Builder clearControllerRollout()
Output only. Name of the `ControllerRollout`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}.string controller_rollout = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setControllerRolloutBytes
public Rollout.Builder setControllerRolloutBytes(com.google.protobuf.ByteString value)
Output only. Name of the `ControllerRollout`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}.string controller_rollout = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for controllerRollout to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Rollout.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
mergeUnknownFields
public final Rollout.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
-