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.Builder
addAllPhases(Iterable<? extends Phase> values)
Output only.Rollout.Builder
addPhases(int index, Phase value)
Output only.Rollout.Builder
addPhases(int index, Phase.Builder builderForValue)
Output only.Rollout.Builder
addPhases(Phase value)
Output only.Rollout.Builder
addPhases(Phase.Builder builderForValue)
Output only.Phase.Builder
addPhasesBuilder()
Output only.Phase.Builder
addPhasesBuilder(int index)
Output only.Rollout.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Rollout
build()
Rollout
buildPartial()
Rollout.Builder
clear()
Rollout.Builder
clearAnnotations()
Rollout.Builder
clearApprovalState()
Output only.Rollout.Builder
clearApproveTime()
Output only.Rollout.Builder
clearControllerRollout()
Output only.Rollout.Builder
clearCreateTime()
Output only.Rollout.Builder
clearDeployEndTime()
Output only.Rollout.Builder
clearDeployFailureCause()
Output only.Rollout.Builder
clearDeployingBuild()
Output only.Rollout.Builder
clearDeployStartTime()
Output only.Rollout.Builder
clearDescription()
Description of the `Rollout` for user purposes.Rollout.Builder
clearEnqueueTime()
Output only.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.Rollout.Builder
clearFailureReason()
Output only.Rollout.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Rollout.Builder
clearLabels()
Rollout.Builder
clearMetadata()
Output only.Rollout.Builder
clearName()
Optional.Rollout.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Rollout.Builder
clearPhases()
Output only.Rollout.Builder
clearState()
Output only.Rollout.Builder
clearTargetId()
Required.Rollout.Builder
clearUid()
Output only.Rollout.Builder
clone()
boolean
containsAnnotations(String key)
User annotations.boolean
containsLabels(String key)
Labels are attributes that can be set and used by both the user and by Cloud Deploy.Map<String,String>
getAnnotations()
Deprecated.int
getAnnotationsCount()
User annotations.Map<String,String>
getAnnotationsMap()
User annotations.String
getAnnotationsOrDefault(String key, String defaultValue)
User annotations.String
getAnnotationsOrThrow(String key)
User annotations.Rollout.ApprovalState
getApprovalState()
Output only.int
getApprovalStateValue()
Output only.com.google.protobuf.Timestamp
getApproveTime()
Output only.com.google.protobuf.Timestamp.Builder
getApproveTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getApproveTimeOrBuilder()
Output only.String
getControllerRollout()
Output only.com.google.protobuf.ByteString
getControllerRolloutBytes()
Output only.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Rollout
getDefaultInstanceForType()
com.google.protobuf.Timestamp
getDeployEndTime()
Output only.com.google.protobuf.Timestamp.Builder
getDeployEndTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getDeployEndTimeOrBuilder()
Output only.Rollout.FailureCause
getDeployFailureCause()
Output only.int
getDeployFailureCauseValue()
Output only.String
getDeployingBuild()
Output only.com.google.protobuf.ByteString
getDeployingBuildBytes()
Output only.com.google.protobuf.Timestamp
getDeployStartTime()
Output only.com.google.protobuf.Timestamp.Builder
getDeployStartTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getDeployStartTimeOrBuilder()
Output only.String
getDescription()
Description of the `Rollout` for user purposes.com.google.protobuf.ByteString
getDescriptionBytes()
Description of the `Rollout` for user purposes.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Timestamp
getEnqueueTime()
Output only.com.google.protobuf.Timestamp.Builder
getEnqueueTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getEnqueueTimeOrBuilder()
Output only.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.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
getFailureReason()
Output only.com.google.protobuf.ByteString
getFailureReasonBytes()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
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.String
getLabelsOrDefault(String key, String defaultValue)
Labels are attributes that can be set and used by both the user and by Cloud Deploy.String
getLabelsOrThrow(String key)
Labels are attributes that can be set and used by both the user and by Cloud Deploy.Metadata
getMetadata()
Output only.Metadata.Builder
getMetadataBuilder()
Output only.MetadataOrBuilder
getMetadataOrBuilder()
Output only.Map<String,String>
getMutableAnnotations()
Deprecated.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Optional.com.google.protobuf.ByteString
getNameBytes()
Optional.Phase
getPhases(int index)
Output only.Phase.Builder
getPhasesBuilder(int index)
Output only.List<Phase.Builder>
getPhasesBuilderList()
Output only.int
getPhasesCount()
Output only.List<Phase>
getPhasesList()
Output only.PhaseOrBuilder
getPhasesOrBuilder(int index)
Output only.List<? extends PhaseOrBuilder>
getPhasesOrBuilderList()
Output only.Rollout.State
getState()
Output only.int
getStateValue()
Output only.String
getTargetId()
Required.com.google.protobuf.ByteString
getTargetIdBytes()
Required.String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.boolean
hasApproveTime()
Output only.boolean
hasCreateTime()
Output only.boolean
hasDeployEndTime()
Output only.boolean
hasDeployStartTime()
Output only.boolean
hasEnqueueTime()
Output only.boolean
hasMetadata()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Rollout.Builder
mergeApproveTime(com.google.protobuf.Timestamp value)
Output only.Rollout.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Rollout.Builder
mergeDeployEndTime(com.google.protobuf.Timestamp value)
Output only.Rollout.Builder
mergeDeployStartTime(com.google.protobuf.Timestamp value)
Output only.Rollout.Builder
mergeEnqueueTime(com.google.protobuf.Timestamp value)
Output only.Rollout.Builder
mergeFrom(Rollout other)
Rollout.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Rollout.Builder
mergeFrom(com.google.protobuf.Message other)
Rollout.Builder
mergeMetadata(Metadata value)
Output only.Rollout.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Rollout.Builder
putAllAnnotations(Map<String,String> values)
User annotations.Rollout.Builder
putAllLabels(Map<String,String> values)
Labels are attributes that can be set and used by both the user and by Cloud Deploy.Rollout.Builder
putAnnotations(String key, String value)
User annotations.Rollout.Builder
putLabels(String key, String value)
Labels are attributes that can be set and used by both the user and by Cloud Deploy.Rollout.Builder
removeAnnotations(String key)
User annotations.Rollout.Builder
removeLabels(String key)
Labels are attributes that can be set and used by both the user and by Cloud Deploy.Rollout.Builder
removePhases(int index)
Output only.Rollout.Builder
setApprovalState(Rollout.ApprovalState value)
Output only.Rollout.Builder
setApprovalStateValue(int value)
Output only.Rollout.Builder
setApproveTime(com.google.protobuf.Timestamp value)
Output only.Rollout.Builder
setApproveTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Rollout.Builder
setControllerRollout(String value)
Output only.Rollout.Builder
setControllerRolloutBytes(com.google.protobuf.ByteString value)
Output only.Rollout.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Rollout.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Rollout.Builder
setDeployEndTime(com.google.protobuf.Timestamp value)
Output only.Rollout.Builder
setDeployEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Rollout.Builder
setDeployFailureCause(Rollout.FailureCause value)
Output only.Rollout.Builder
setDeployFailureCauseValue(int value)
Output only.Rollout.Builder
setDeployingBuild(String value)
Output only.Rollout.Builder
setDeployingBuildBytes(com.google.protobuf.ByteString value)
Output only.Rollout.Builder
setDeployStartTime(com.google.protobuf.Timestamp value)
Output only.Rollout.Builder
setDeployStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Rollout.Builder
setDescription(String value)
Description of the `Rollout` for user purposes.Rollout.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the `Rollout` for user purposes.Rollout.Builder
setEnqueueTime(com.google.protobuf.Timestamp value)
Output only.Rollout.Builder
setEnqueueTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.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.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.Rollout.Builder
setFailureReason(String value)
Output only.Rollout.Builder
setFailureReasonBytes(com.google.protobuf.ByteString value)
Output only.Rollout.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Rollout.Builder
setMetadata(Metadata value)
Output only.Rollout.Builder
setMetadata(Metadata.Builder builderForValue)
Output only.Rollout.Builder
setName(String value)
Optional.Rollout.Builder
setNameBytes(com.google.protobuf.ByteString value)
Optional.Rollout.Builder
setPhases(int index, Phase value)
Output only.Rollout.Builder
setPhases(int index, Phase.Builder builderForValue)
Output only.Rollout.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Rollout.Builder
setState(Rollout.State value)
Output only.Rollout.Builder
setStateValue(int value)
Output only.Rollout.Builder
setTargetId(String value)
Required.Rollout.Builder
setTargetIdBytes(com.google.protobuf.ByteString value)
Required.Rollout.Builder
setUid(String value)
Output only.Rollout.Builder
setUidBytes(com.google.protobuf.ByteString value)
Output only.Rollout.Builder
setUnknownFields(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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
clear
public Rollout.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
getDefaultInstanceForType
public Rollout getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Rollout build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Rollout buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Rollout.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
setField
public Rollout.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
clearField
public Rollout.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
clearOneof
public Rollout.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
setRepeatedField
public Rollout.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
addRepeatedField
public Rollout.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
mergeFrom
public Rollout.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Rollout.Builder>
-
mergeFrom
public Rollout.Builder mergeFrom(Rollout other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
getUid
in 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:
getUidBytes
in 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:
getDescription
in 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:
getDescriptionBytes
in 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:RolloutOrBuilder
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:
getAnnotationsCount
in 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:
containsAnnotations
in interfaceRolloutOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.- Specified by:
getAnnotations
in 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:
getAnnotationsMap
in 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:
getAnnotationsOrDefault
in 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:
getAnnotationsOrThrow
in 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:RolloutOrBuilder
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:
getLabelsCount
in 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:
containsLabels
in interfaceRolloutOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in 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:
getLabelsMap
in 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:
getLabelsOrDefault
in 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:
getLabelsOrThrow
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasApproveTime
in 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:
getApproveTime
in 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:
getApproveTimeOrBuilder
in 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:
hasEnqueueTime
in 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:
getEnqueueTime
in 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:
getEnqueueTimeOrBuilder
in 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:
hasDeployStartTime
in 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:
getDeployStartTime
in 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:
getDeployStartTimeOrBuilder
in 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:
hasDeployEndTime
in 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:
getDeployEndTime
in 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:
getDeployEndTimeOrBuilder
in 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:
getTargetId
in 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:
getTargetIdBytes
in 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:
getApprovalStateValue
in 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:
getApprovalState
in 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:
getStateValue
in 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:
getState
in 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:
getFailureReason
in 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:
getFailureReasonBytes
in 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:
getDeployingBuild
in 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:
getDeployingBuildBytes
in 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:
getEtag
in 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:
getEtagBytes
in 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:
getDeployFailureCauseValue
in 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:
getDeployFailureCause
in 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:
getPhasesList
in 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:
getPhasesCount
in 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:
getPhases
in 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:
getPhasesOrBuilder
in 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:
getPhasesOrBuilderList
in 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:
hasMetadata
in 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:
getMetadata
in 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:
getMetadataOrBuilder
in 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:
getControllerRollout
in 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:
getControllerRolloutBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
mergeUnknownFields
public final Rollout.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Rollout.Builder>
-
-