Package com.google.cloud.deploy.v1
Class Rollout
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class Rollout
extends com.google.protobuf.GeneratedMessage
implements RolloutOrBuilder
A `Rollout` resource in the Cloud Deploy API. A `Rollout` contains information around a specific deployment to a `Target`.Protobuf type
google.cloud.deploy.v1.Rollout- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumValid approval states of a `Rollout`.static final classA `Rollout` resource in the Cloud Deploy API.static enumWell-known rollout failures.static enumValid states of a `Rollout`.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.booleancontainsLabels(String key) Labels are attributes that can be set and used by both the user and by Cloud Deploy.booleanOutput only.com.google.protobuf.ByteStringOutput only.Deprecated.intOptional.Optional.getAnnotationsOrDefault(String key, String defaultValue) Optional.Optional.Output only.intOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static Rolloutcom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.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.ByteStringThis 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.Output only.com.google.protobuf.ByteStringOutput only.Deprecated.intLabels are attributes that can be set and used by both the user and by Cloud Deploy.Labels are attributes that can be set and used by both the user and by Cloud Deploy.getLabelsOrDefault(String key, String defaultValue) Labels are attributes that can be set and used by both the user and by Cloud Deploy.getLabelsOrThrow(String key) Labels are attributes that can be set and used by both the user and by Cloud Deploy.Output only.Output only.getName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.Parser<Rollout>getPhases(int index) Output only.intOutput only.Output only.getPhasesOrBuilder(int index) Output only.List<? extends PhaseOrBuilder>Output only.Output only.com.google.protobuf.ByteStringOutput only.getRolledBackByRollouts(int index) Output only.com.google.protobuf.ByteStringgetRolledBackByRolloutsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.intgetState()Output only.intOutput only.Required.com.google.protobuf.ByteStringRequired.getUid()Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.inthashCode()booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic Rollout.Builderstatic Rollout.BuildernewBuilder(Rollout prototype) protected Rollout.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
APPROVE_TIME_FIELD_NUMBER
public static final int APPROVE_TIME_FIELD_NUMBER- See Also:
-
ENQUEUE_TIME_FIELD_NUMBER
public static final int ENQUEUE_TIME_FIELD_NUMBER- See Also:
-
DEPLOY_START_TIME_FIELD_NUMBER
public static final int DEPLOY_START_TIME_FIELD_NUMBER- See Also:
-
DEPLOY_END_TIME_FIELD_NUMBER
public static final int DEPLOY_END_TIME_FIELD_NUMBER- See Also:
-
TARGET_ID_FIELD_NUMBER
public static final int TARGET_ID_FIELD_NUMBER- See Also:
-
APPROVAL_STATE_FIELD_NUMBER
public static final int APPROVAL_STATE_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
FAILURE_REASON_FIELD_NUMBER
public static final int FAILURE_REASON_FIELD_NUMBER- See Also:
-
DEPLOYING_BUILD_FIELD_NUMBER
public static final int DEPLOYING_BUILD_FIELD_NUMBER- See Also:
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER- See Also:
-
DEPLOY_FAILURE_CAUSE_FIELD_NUMBER
public static final int DEPLOY_FAILURE_CAUSE_FIELD_NUMBER- See Also:
-
PHASES_FIELD_NUMBER
public static final int PHASES_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
CONTROLLER_ROLLOUT_FIELD_NUMBER
public static final int CONTROLLER_ROLLOUT_FIELD_NUMBER- See Also:
-
ROLLBACK_OF_ROLLOUT_FIELD_NUMBER
public static final int ROLLBACK_OF_ROLLOUT_FIELD_NUMBER- See Also:
-
ROLLED_BACK_BY_ROLLOUTS_FIELD_NUMBER
public static final int ROLLED_BACK_BY_ROLLOUTS_FIELD_NUMBER- See Also:
-
ACTIVE_REPAIR_AUTOMATION_RUN_FIELD_NUMBER
public static final int ACTIVE_REPAIR_AUTOMATION_RUN_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getName
Identifier. Name of the `Rollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. The `rollout` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNamein interfaceRolloutOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Identifier. Name of the `Rollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`. The `rollout` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Specified by:
getNameBytesin interfaceRolloutOrBuilder- Returns:
- The bytes for name.
-
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
Optional. Description of the `Rollout` for user purposes. Max length is 255 characters.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceRolloutOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional. Description of the `Rollout` for user purposes. Max length is 255 characters.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceRolloutOrBuilder- Returns:
- The bytes for description.
-
getAnnotationsCount
public int getAnnotationsCount()Description copied from interface:RolloutOrBuilderOptional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsCountin interfaceRolloutOrBuilder
-
containsAnnotations
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsAnnotationsin interfaceRolloutOrBuilder
-
getAnnotations
Deprecated.UsegetAnnotationsMap()instead.- Specified by:
getAnnotationsin interfaceRolloutOrBuilder
-
getAnnotationsMap
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsMapin interfaceRolloutOrBuilder
-
getAnnotationsOrDefault
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAnnotationsOrDefaultin interfaceRolloutOrBuilder
-
getAnnotationsOrThrow
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- 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
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.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceRolloutOrBuilder
-
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Output only. Name of the `ControllerRollout`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}`.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/{rollout}`.string controller_rollout = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getControllerRolloutBytesin interfaceRolloutOrBuilder- Returns:
- The bytes for controllerRollout.
-
getRollbackOfRollout
Output only. Name of the `Rollout` that is rolled back by this `Rollout`. Empty if this `Rollout` wasn't created as a rollback.
string rollback_of_rollout = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRollbackOfRolloutin interfaceRolloutOrBuilder- Returns:
- The rollbackOfRollout.
-
getRollbackOfRolloutBytes
public com.google.protobuf.ByteString getRollbackOfRolloutBytes()Output only. Name of the `Rollout` that is rolled back by this `Rollout`. Empty if this `Rollout` wasn't created as a rollback.
string rollback_of_rollout = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRollbackOfRolloutBytesin interfaceRolloutOrBuilder- Returns:
- The bytes for rollbackOfRollout.
-
getRolledBackByRolloutsList
public com.google.protobuf.ProtocolStringList getRolledBackByRolloutsList()Output only. Names of `Rollouts` that rolled back this `Rollout`.
repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRolledBackByRolloutsListin interfaceRolloutOrBuilder- Returns:
- A list containing the rolledBackByRollouts.
-
getRolledBackByRolloutsCount
public int getRolledBackByRolloutsCount()Output only. Names of `Rollouts` that rolled back this `Rollout`.
repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRolledBackByRolloutsCountin interfaceRolloutOrBuilder- Returns:
- The count of rolledBackByRollouts.
-
getRolledBackByRollouts
Output only. Names of `Rollouts` that rolled back this `Rollout`.
repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRolledBackByRolloutsin interfaceRolloutOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The rolledBackByRollouts at the given index.
-
getRolledBackByRolloutsBytes
public com.google.protobuf.ByteString getRolledBackByRolloutsBytes(int index) Output only. Names of `Rollouts` that rolled back this `Rollout`.
repeated string rolled_back_by_rollouts = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRolledBackByRolloutsBytesin interfaceRolloutOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the rolledBackByRollouts at the given index.
-
getActiveRepairAutomationRun
Output only. The AutomationRun actively repairing the rollout.
string active_repair_automation_run = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getActiveRepairAutomationRunin interfaceRolloutOrBuilder- Returns:
- The activeRepairAutomationRun.
-
getActiveRepairAutomationRunBytes
public com.google.protobuf.ByteString getActiveRepairAutomationRunBytes()Output only. The AutomationRun actively repairing the rollout.
string active_repair_automation_run = 28 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getActiveRepairAutomationRunBytesin interfaceRolloutOrBuilder- Returns:
- The bytes for activeRepairAutomationRun.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static Rollout parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Rollout parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Rollout parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Rollout.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-