Package com.google.cloud.deploy.v1
Class Rollout
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.deploy.v1.Rollout
-
- All Implemented Interfaces:
RolloutOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Rollout extends com.google.protobuf.GeneratedMessageV3 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- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRollout.ApprovalStateValid approval states of a `Rollout`.static classRollout.BuilderA `Rollout` resource in the Cloud Deploy API.static classRollout.FailureCauseWell-known rollout failures.static classRollout.StateValid states of a `Rollout`.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intANNOTATIONS_FIELD_NUMBERstatic intAPPROVAL_STATE_FIELD_NUMBERstatic intAPPROVE_TIME_FIELD_NUMBERstatic intCONTROLLER_ROLLOUT_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intDEPLOY_END_TIME_FIELD_NUMBERstatic intDEPLOY_FAILURE_CAUSE_FIELD_NUMBERstatic intDEPLOY_START_TIME_FIELD_NUMBERstatic intDEPLOYING_BUILD_FIELD_NUMBERstatic intDESCRIPTION_FIELD_NUMBERstatic intENQUEUE_TIME_FIELD_NUMBERstatic intETAG_FIELD_NUMBERstatic intFAILURE_REASON_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intMETADATA_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intPHASES_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intTARGET_ID_FIELD_NUMBERstatic intUID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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.booleanequals(Object obj)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.TimestampOrBuildergetApproveTimeOrBuilder()Output only.StringgetControllerRollout()Output only.com.google.protobuf.ByteStringgetControllerRolloutBytes()Output only.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.static RolloutgetDefaultInstance()RolloutgetDefaultInstanceForType()com.google.protobuf.TimestampgetDeployEndTime()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.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.TimestampgetEnqueueTime()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.MetadataOrBuildergetMetadataOrBuilder()Output only.StringgetName()Optional.com.google.protobuf.ByteStringgetNameBytes()Optional.com.google.protobuf.Parser<Rollout>getParserForType()PhasegetPhases(int index)Output only.intgetPhasesCount()Output only.List<Phase>getPhasesList()Output only.PhaseOrBuildergetPhasesOrBuilder(int index)Output only.List<? extends PhaseOrBuilder>getPhasesOrBuilderList()Output only.intgetSerializedSize()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.inthashCode()booleanhasMetadata()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Rollout.BuildernewBuilder()static Rollout.BuildernewBuilder(Rollout prototype)Rollout.BuildernewBuilderForType()protected Rollout.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RolloutparseDelimitedFrom(InputStream input)static RolloutparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RolloutparseFrom(byte[] data)static RolloutparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RolloutparseFrom(com.google.protobuf.ByteString data)static RolloutparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RolloutparseFrom(com.google.protobuf.CodedInputStream input)static RolloutparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RolloutparseFrom(InputStream input)static RolloutparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RolloutparseFrom(ByteBuffer data)static RolloutparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Rollout>parser()Rollout.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APPROVE_TIME_FIELD_NUMBER
public static final int APPROVE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENQUEUE_TIME_FIELD_NUMBER
public static final int ENQUEUE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPLOY_START_TIME_FIELD_NUMBER
public static final int DEPLOY_START_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPLOY_END_TIME_FIELD_NUMBER
public static final int DEPLOY_END_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_ID_FIELD_NUMBER
public static final int TARGET_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APPROVAL_STATE_FIELD_NUMBER
public static final int APPROVAL_STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FAILURE_REASON_FIELD_NUMBER
public static final int FAILURE_REASON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPLOYING_BUILD_FIELD_NUMBER
public static final int DEPLOYING_BUILD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPLOY_FAILURE_CAUSE_FIELD_NUMBER
public static final int DEPLOY_FAILURE_CAUSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PHASES_FIELD_NUMBER
public static final int PHASES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTROLLER_ROLLOUT_FIELD_NUMBER
public static final int CONTROLLER_ROLLOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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.
-
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.
-
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.
-
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
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Rollout parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rollout parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rollout parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rollout parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rollout parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rollout parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rollout parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Rollout parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Rollout parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Rollout parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Rollout parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Rollout parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Rollout.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Rollout.Builder newBuilder()
-
newBuilder
public static Rollout.Builder newBuilder(Rollout prototype)
-
toBuilder
public Rollout.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Rollout.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Rollout getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Rollout> parser()
-
getParserForType
public com.google.protobuf.Parser<Rollout> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Rollout getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-