Package com.google.cloud.deploy.v1
Interface ReleaseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Release,Release.Builder
@Generated
public interface ReleaseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.booleanOptional.booleancontainsLabels(String key) Labels are attributes that can be set and used by both the user and by Cloud Deploy.booleanOutput only.booleanOutput only.booleanOutput only.Deprecated.intOptional.Optional.getAnnotationsOrDefault(String key, String defaultValue) Optional.Optional.getBuildArtifacts(int index) Optional.intOptional.Optional.getBuildArtifactsOrBuilder(int index) Optional.List<? extends BuildArtifactOrBuilder>Optional.Output only.Output only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getCustomTargetTypeSnapshots(int index) Output only.intOutput only.Output only.getCustomTargetTypeSnapshotsOrBuilder(int index) Output only.List<? extends CustomTargetTypeOrBuilder>Output only.Output only.Output only.Deprecated.intOptional.Optional.getDeployParametersOrDefault(String key, String defaultValue) Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.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.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.getName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.intOutput only.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Deprecated.intOutput only.Output only.getTargetArtifactsOrDefault(String key, TargetArtifact defaultValue) Output only.Output only.Deprecated.intOutput only.Output only.getTargetRendersOrDefault(String key, Release.TargetRender defaultValue) Output only.Output only.getTargetSnapshots(int index) Output only.intOutput only.Output only.getTargetSnapshotsOrBuilder(int index) Output only.List<? extends TargetOrBuilder>Output only.getUid()Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Identifier. Name of the `Release`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`. The `release` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Identifier. Name of the `Release`. Format is `projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}`. The `release` component must match `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];- Returns:
- The bytes for name.
-
getUid
String getUid()Output only. Unique identifier of the `Release`.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The uid.
-
getUidBytes
com.google.protobuf.ByteString getUidBytes()Output only. Unique identifier of the `Release`.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for uid.
-
getDescription
String getDescription()Optional. Description of the `Release`. Max length is 255 characters.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Optional. Description of the `Release`. Max length is 255 characters.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for description.
-
getAnnotationsCount
int getAnnotationsCount()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]; -
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]; -
getAnnotations
Deprecated.UsegetAnnotationsMap()instead. -
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]; -
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]; -
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]; -
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
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.UsegetLabelsMap()instead. -
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
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
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; -
getAbandoned
boolean getAbandoned()Output only. Indicates whether this is an abandoned release.
bool abandoned = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The abandoned.
-
hasCreateTime
boolean hasCreateTime()Output only. Time at which the `Release` 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 `Release` 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 `Release` was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasRenderStartTime
boolean hasRenderStartTime()Output only. Time at which the render began.
.google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the renderStartTime field is set.
-
getRenderStartTime
com.google.protobuf.Timestamp getRenderStartTime()Output only. Time at which the render began.
.google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The renderStartTime.
-
getRenderStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getRenderStartTimeOrBuilder()Output only. Time at which the render began.
.google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasRenderEndTime
boolean hasRenderEndTime()Output only. Time at which the render completed.
.google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the renderEndTime field is set.
-
getRenderEndTime
com.google.protobuf.Timestamp getRenderEndTime()Output only. Time at which the render completed.
.google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The renderEndTime.
-
getRenderEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getRenderEndTimeOrBuilder()Output only. Time at which the render completed.
.google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getSkaffoldConfigUri
String getSkaffoldConfigUri()Optional. Cloud Storage URI of tar.gz archive containing Skaffold configuration.
string skaffold_config_uri = 17 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The skaffoldConfigUri.
-
getSkaffoldConfigUriBytes
com.google.protobuf.ByteString getSkaffoldConfigUriBytes()Optional. Cloud Storage URI of tar.gz archive containing Skaffold configuration.
string skaffold_config_uri = 17 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for skaffoldConfigUri.
-
getSkaffoldConfigPath
String getSkaffoldConfigPath()Optional. Filepath of the Skaffold config inside of the config URI.
string skaffold_config_path = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The skaffoldConfigPath.
-
getSkaffoldConfigPathBytes
com.google.protobuf.ByteString getSkaffoldConfigPathBytes()Optional. Filepath of the Skaffold config inside of the config URI.
string skaffold_config_path = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for skaffoldConfigPath.
-
getBuildArtifactsList
List<BuildArtifact> getBuildArtifactsList()Optional. List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; -
getBuildArtifacts
Optional. List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; -
getBuildArtifactsCount
int getBuildArtifactsCount()Optional. List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; -
getBuildArtifactsOrBuilderList
List<? extends BuildArtifactOrBuilder> getBuildArtifactsOrBuilderList()Optional. List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; -
getBuildArtifactsOrBuilder
Optional. List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10 [(.google.api.field_behavior) = OPTIONAL]; -
hasDeliveryPipelineSnapshot
boolean hasDeliveryPipelineSnapshot()Output only. Snapshot of the parent pipeline taken at release creation time.
.google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the deliveryPipelineSnapshot field is set.
-
getDeliveryPipelineSnapshot
DeliveryPipeline getDeliveryPipelineSnapshot()Output only. Snapshot of the parent pipeline taken at release creation time.
.google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The deliveryPipelineSnapshot.
-
getDeliveryPipelineSnapshotOrBuilder
DeliveryPipelineOrBuilder getDeliveryPipelineSnapshotOrBuilder()Output only. Snapshot of the parent pipeline taken at release creation time.
.google.cloud.deploy.v1.DeliveryPipeline delivery_pipeline_snapshot = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTargetSnapshotsList
Output only. Snapshot of the targets taken at release creation time.
repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTargetSnapshots
Output only. Snapshot of the targets taken at release creation time.
repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTargetSnapshotsCount
int getTargetSnapshotsCount()Output only. Snapshot of the targets taken at release creation time.
repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTargetSnapshotsOrBuilderList
List<? extends TargetOrBuilder> getTargetSnapshotsOrBuilderList()Output only. Snapshot of the targets taken at release creation time.
repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTargetSnapshotsOrBuilder
Output only. Snapshot of the targets taken at release creation time.
repeated .google.cloud.deploy.v1.Target target_snapshots = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCustomTargetTypeSnapshotsList
List<CustomTargetType> getCustomTargetTypeSnapshotsList()Output only. Snapshot of the custom target types referenced by the targets taken at release creation time.
repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCustomTargetTypeSnapshots
Output only. Snapshot of the custom target types referenced by the targets taken at release creation time.
repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCustomTargetTypeSnapshotsCount
int getCustomTargetTypeSnapshotsCount()Output only. Snapshot of the custom target types referenced by the targets taken at release creation time.
repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCustomTargetTypeSnapshotsOrBuilderList
List<? extends CustomTargetTypeOrBuilder> getCustomTargetTypeSnapshotsOrBuilderList()Output only. Snapshot of the custom target types referenced by the targets taken at release creation time.
repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCustomTargetTypeSnapshotsOrBuilder
Output only. Snapshot of the custom target types referenced by the targets taken at release creation time.
repeated .google.cloud.deploy.v1.CustomTargetType custom_target_type_snapshots = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRenderStateValue
int getRenderStateValue()Output only. Current state of the render operation.
.google.cloud.deploy.v1.Release.RenderState render_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for renderState.
-
getRenderState
Release.RenderState getRenderState()Output only. Current state of the render operation.
.google.cloud.deploy.v1.Release.RenderState render_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The renderState.
-
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.
-
getSkaffoldVersion
String getSkaffoldVersion()Optional. The Skaffold version to use when operating on this release, such as "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set of versions. If unset, the most recent supported Skaffold version will be used.
string skaffold_version = 19 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The skaffoldVersion.
-
getSkaffoldVersionBytes
com.google.protobuf.ByteString getSkaffoldVersionBytes()Optional. The Skaffold version to use when operating on this release, such as "1.20.0". Not all versions are valid; Cloud Deploy supports a specific set of versions. If unset, the most recent supported Skaffold version will be used.
string skaffold_version = 19 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for skaffoldVersion.
-
getTargetArtifactsCount
int getTargetArtifactsCount()Output only. Map from target ID to the target artifacts created during the render operation.
map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
containsTargetArtifacts
Output only. Map from target ID to the target artifacts created during the render operation.
map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTargetArtifacts
Deprecated.UsegetTargetArtifactsMap()instead. -
getTargetArtifactsMap
Map<String,TargetArtifact> getTargetArtifactsMap()Output only. Map from target ID to the target artifacts created during the render operation.
map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTargetArtifactsOrDefault
Output only. Map from target ID to the target artifacts created during the render operation.
map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTargetArtifactsOrThrow
Output only. Map from target ID to the target artifacts created during the render operation.
map<string, .google.cloud.deploy.v1.TargetArtifact> target_artifacts = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTargetRendersCount
int getTargetRendersCount()Output only. Map from target ID to details of the render operation for that target.
map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
containsTargetRenders
Output only. Map from target ID to details of the render operation for that target.
map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTargetRenders
Deprecated.UsegetTargetRendersMap()instead. -
getTargetRendersMap
Map<String,Release.TargetRender> getTargetRendersMap()Output only. Map from target ID to details of the render operation for that target.
map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTargetRendersOrDefault
Output only. Map from target ID to details of the render operation for that target.
map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTargetRendersOrThrow
Output only. Map from target ID to details of the render operation for that target.
map<string, .google.cloud.deploy.v1.Release.TargetRender> target_renders = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasCondition
boolean hasCondition()Output only. Information around the state of the Release.
.google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the condition field is set.
-
getCondition
Release.ReleaseCondition getCondition()Output only. Information around the state of the Release.
.google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The condition.
-
getConditionOrBuilder
Release.ReleaseConditionOrBuilder getConditionOrBuilder()Output only. Information around the state of the Release.
.google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDeployParametersCount
int getDeployParametersCount()Optional. The deploy parameters to use for all targets in this release.
map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; -
containsDeployParameters
Optional. The deploy parameters to use for all targets in this release.
map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; -
getDeployParameters
Deprecated.UsegetDeployParametersMap()instead. -
getDeployParametersMap
Optional. The deploy parameters to use for all targets in this release.
map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; -
getDeployParametersOrDefault
Optional. The deploy parameters to use for all targets in this release.
map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL]; -
getDeployParametersOrThrow
Optional. The deploy parameters to use for all targets in this release.
map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL];
-