Package com.google.cloud.deploy.v1
Interface RolloutOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Rollout
,Rollout.Builder
public interface RolloutOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description 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.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.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.com.google.protobuf.Timestamp
getDeployEndTime()
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.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.com.google.protobuf.Timestamp
getEnqueueTime()
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.MetadataOrBuilder
getMetadataOrBuilder()
Output only.String
getName()
Optional.com.google.protobuf.ByteString
getNameBytes()
Optional.Phase
getPhases(int index)
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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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];
- Returns:
- The name.
-
getNameBytes
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];
- Returns:
- The bytes for name.
-
getUid
String getUid()
Output only. Unique identifier of the `Rollout`.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The uid.
-
getUidBytes
com.google.protobuf.ByteString getUidBytes()
Output only. Unique identifier of the `Rollout`.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for uid.
-
getDescription
String getDescription()
Description of the `Rollout` for user purposes. Max length is 255 characters.
string description = 3;
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Description of the `Rollout` for user purposes. Max length is 255 characters.
string description = 3;
- Returns:
- The bytes for description.
-
getAnnotationsCount
int getAnnotationsCount()
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;
-
containsAnnotations
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;
-
getAnnotations
@Deprecated Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.
-
getAnnotationsMap
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;
-
getAnnotationsOrDefault
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;
-
getAnnotationsOrThrow
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;
-
getLabelsCount
int getLabelsCount()
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;
-
containsLabels
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;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.
-
getLabelsMap
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;
-
getLabelsOrDefault
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;
-
getLabelsOrThrow
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;
-
hasCreateTime
boolean hasCreateTime()
Output only. Time at which the `Rollout` was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the createTime field is set.
-
getCreateTime
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];
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
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];
-
hasApproveTime
boolean hasApproveTime()
Output only. Time at which the `Rollout` was approved.
.google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the approveTime field is set.
-
getApproveTime
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];
- Returns:
- The approveTime.
-
getApproveTimeOrBuilder
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];
-
hasEnqueueTime
boolean hasEnqueueTime()
Output only. Time at which the `Rollout` was enqueued.
.google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the enqueueTime field is set.
-
getEnqueueTime
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];
- Returns:
- The enqueueTime.
-
getEnqueueTimeOrBuilder
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];
-
hasDeployStartTime
boolean hasDeployStartTime()
Output only. Time at which the `Rollout` started deploying.
.google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the deployStartTime field is set.
-
getDeployStartTime
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];
- Returns:
- The deployStartTime.
-
getDeployStartTimeOrBuilder
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];
-
hasDeployEndTime
boolean hasDeployEndTime()
Output only. Time at which the `Rollout` finished deploying.
.google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the deployEndTime field is set.
-
getDeployEndTime
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];
- Returns:
- The deployEndTime.
-
getDeployEndTimeOrBuilder
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];
-
getTargetId
String getTargetId()
Required. The ID of Target to which this `Rollout` is deploying.
string target_id = 18 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The targetId.
-
getTargetIdBytes
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];
- Returns:
- The bytes for targetId.
-
getApprovalStateValue
int getApprovalStateValue()
Output only. Approval state of the `Rollout`.
.google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for approvalState.
-
getApprovalState
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];
- Returns:
- The approvalState.
-
getStateValue
int getStateValue()
Output only. Current state of the `Rollout`.
.google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The enum numeric value on the wire for state.
-
getState
Rollout.State getState()
Output only. Current state of the `Rollout`.
.google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The state.
-
getFailureReason
String getFailureReason()
Output only. Additional information about the rollout failure, if available.
string failure_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The failureReason.
-
getFailureReasonBytes
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];
- Returns:
- The bytes for failureReason.
-
getDeployingBuild
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) = { ... }
- Returns:
- The deployingBuild.
-
getDeployingBuildBytes
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) = { ... }
- Returns:
- The bytes for deployingBuild.
-
getEtag
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;
- Returns:
- The etag.
-
getEtagBytes
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;
- Returns:
- The bytes for etag.
-
getDeployFailureCauseValue
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];
- Returns:
- The enum numeric value on the wire for deployFailureCause.
-
getDeployFailureCause
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];
- Returns:
- The deployFailureCause.
-
getPhasesList
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];
-
getPhases
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];
-
getPhasesCount
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];
-
getPhasesOrBuilderList
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];
-
getPhasesOrBuilder
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];
-
hasMetadata
boolean hasMetadata()
Output only. Metadata contains information about the rollout.
.google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the metadata field is set.
-
getMetadata
Metadata getMetadata()
Output only. Metadata contains information about the rollout.
.google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The metadata.
-
getMetadataOrBuilder
MetadataOrBuilder getMetadataOrBuilder()
Output only. Metadata contains information about the rollout.
.google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getControllerRollout
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];
- Returns:
- The controllerRollout.
-
getControllerRolloutBytes
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];
- Returns:
- The bytes for controllerRollout.
-
-