- 1.51.0 (latest)
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.8
- 1.0.2
public static final class Release.Builder extends GeneratedMessageV3.Builder<Release.Builder> implements ReleaseOrBuilder
A Release
resource in the Cloud Deploy API.
A Release
defines a specific Skaffold configuration instance
that can be deployed.
Protobuf type google.cloud.deploy.v1.Release
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Release.BuilderImplements
ReleaseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllBuildArtifacts(Iterable<? extends BuildArtifact> values)
public Release.Builder addAllBuildArtifacts(Iterable<? extends BuildArtifact> values)
List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.deploy.v1.BuildArtifact> |
Returns | |
---|---|
Type | Description |
Release.Builder |
addAllTargetSnapshots(Iterable<? extends Target> values)
public Release.Builder addAllTargetSnapshots(Iterable<? extends Target> values)
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];
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.deploy.v1.Target> |
Returns | |
---|---|
Type | Description |
Release.Builder |
addBuildArtifacts(BuildArtifact value)
public Release.Builder addBuildArtifacts(BuildArtifact value)
List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;
Parameter | |
---|---|
Name | Description |
value | BuildArtifact |
Returns | |
---|---|
Type | Description |
Release.Builder |
addBuildArtifacts(BuildArtifact.Builder builderForValue)
public Release.Builder addBuildArtifacts(BuildArtifact.Builder builderForValue)
List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;
Parameter | |
---|---|
Name | Description |
builderForValue | BuildArtifact.Builder |
Returns | |
---|---|
Type | Description |
Release.Builder |
addBuildArtifacts(int index, BuildArtifact value)
public Release.Builder addBuildArtifacts(int index, BuildArtifact value)
List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;
Parameters | |
---|---|
Name | Description |
index | int |
value | BuildArtifact |
Returns | |
---|---|
Type | Description |
Release.Builder |
addBuildArtifacts(int index, BuildArtifact.Builder builderForValue)
public Release.Builder addBuildArtifacts(int index, BuildArtifact.Builder builderForValue)
List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | BuildArtifact.Builder |
Returns | |
---|---|
Type | Description |
Release.Builder |
addBuildArtifactsBuilder()
public BuildArtifact.Builder addBuildArtifactsBuilder()
List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;
Returns | |
---|---|
Type | Description |
BuildArtifact.Builder |
addBuildArtifactsBuilder(int index)
public BuildArtifact.Builder addBuildArtifactsBuilder(int index)
List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
BuildArtifact.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Release.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Release.Builder |
addTargetSnapshots(Target value)
public Release.Builder addTargetSnapshots(Target value)
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];
Parameter | |
---|---|
Name | Description |
value | Target |
Returns | |
---|---|
Type | Description |
Release.Builder |
addTargetSnapshots(Target.Builder builderForValue)
public Release.Builder addTargetSnapshots(Target.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue | Target.Builder |
Returns | |
---|---|
Type | Description |
Release.Builder |
addTargetSnapshots(int index, Target value)
public Release.Builder addTargetSnapshots(int index, Target value)
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];
Parameters | |
---|---|
Name | Description |
index | int |
value | Target |
Returns | |
---|---|
Type | Description |
Release.Builder |
addTargetSnapshots(int index, Target.Builder builderForValue)
public Release.Builder addTargetSnapshots(int index, Target.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Target.Builder |
Returns | |
---|---|
Type | Description |
Release.Builder |
addTargetSnapshotsBuilder()
public Target.Builder addTargetSnapshotsBuilder()
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];
Returns | |
---|---|
Type | Description |
Target.Builder |
addTargetSnapshotsBuilder(int index)
public Target.Builder addTargetSnapshotsBuilder(int index)
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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Target.Builder |
build()
public Release build()
Returns | |
---|---|
Type | Description |
Release |
buildPartial()
public Release buildPartial()
Returns | |
---|---|
Type | Description |
Release |
clear()
public Release.Builder clear()
Returns | |
---|---|
Type | Description |
Release.Builder |
clearAbandoned()
public Release.Builder clearAbandoned()
Output only. Indicates whether this is an abandoned release.
bool abandoned = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
clearAnnotations()
public Release.Builder clearAnnotations()
Returns | |
---|---|
Type | Description |
Release.Builder |
clearBuildArtifacts()
public Release.Builder clearBuildArtifacts()
List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;
Returns | |
---|---|
Type | Description |
Release.Builder |
clearCondition()
public Release.Builder clearCondition()
Output only. Information around the state of the Release.
.google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Release.Builder |
clearCreateTime()
public Release.Builder clearCreateTime()
Output only. Time at which the Release
was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Release.Builder |
clearDeliveryPipelineSnapshot()
public Release.Builder clearDeliveryPipelineSnapshot()
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 | |
---|---|
Type | Description |
Release.Builder |
clearDeployParameters()
public Release.Builder clearDeployParameters()
Returns | |
---|---|
Type | Description |
Release.Builder |
clearDescription()
public Release.Builder clearDescription()
Description of the Release
. Max length is 255 characters.
string description = 3;
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
clearEtag()
public Release.Builder clearEtag()
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 16;
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Release.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Release.Builder |
clearLabels()
public Release.Builder clearLabels()
Returns | |
---|---|
Type | Description |
Release.Builder |
clearName()
public Release.Builder clearName()
Optional. Name of the Release
. Format is projects/{project}/
locations/{location}/deliveryPipelines/{deliveryPipeline}/
releases/a-z{0,62}.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Release.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Release.Builder |
clearRenderEndTime()
public Release.Builder clearRenderEndTime()
Output only. Time at which the render completed.
.google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Release.Builder |
clearRenderStartTime()
public Release.Builder clearRenderStartTime()
Output only. Time at which the render began.
.google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Release.Builder |
clearRenderState()
public Release.Builder clearRenderState()
Output only. Current state of the render operation.
.google.cloud.deploy.v1.Release.RenderState render_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
clearSkaffoldConfigPath()
public Release.Builder clearSkaffoldConfigPath()
Filepath of the Skaffold config inside of the config URI.
string skaffold_config_path = 9;
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
clearSkaffoldConfigUri()
public Release.Builder clearSkaffoldConfigUri()
Cloud Storage URI of tar.gz archive containing Skaffold configuration.
string skaffold_config_uri = 17;
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
clearSkaffoldVersion()
public Release.Builder clearSkaffoldVersion()
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;
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
clearTargetArtifacts()
public Release.Builder clearTargetArtifacts()
Returns | |
---|---|
Type | Description |
Release.Builder |
clearTargetRenders()
public Release.Builder clearTargetRenders()
Returns | |
---|---|
Type | Description |
Release.Builder |
clearTargetSnapshots()
public Release.Builder clearTargetSnapshots()
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];
Returns | |
---|---|
Type | Description |
Release.Builder |
clearUid()
public Release.Builder clearUid()
Output only. Unique identifier of the Release
.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
clone()
public Release.Builder clone()
Returns | |
---|---|
Type | Description |
Release.Builder |
containsAnnotations(String key)
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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
containsDeployParameters(String key)
public boolean containsDeployParameters(String key)
Optional. The deploy parameters to use for all targets in this release.
map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
containsLabels(String key)
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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
containsTargetArtifacts(String key)
public boolean containsTargetArtifacts(String key)
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];
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
containsTargetRenders(String key)
public boolean containsTargetRenders(String key)
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];
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getAbandoned()
public boolean getAbandoned()
Output only. Indicates whether this is an abandoned release.
bool abandoned = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | The abandoned. |
getAnnotations()
public Map<String,String> getAnnotations()
Use #getAnnotationsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getAnnotationsCount()
public 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;
Returns | |
---|---|
Type | Description |
int |
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;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getAnnotationsOrDefault(String key, String defaultValue)
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;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getAnnotationsOrThrow(String key)
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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getBuildArtifacts(int index)
public BuildArtifact getBuildArtifacts(int index)
List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
BuildArtifact |
getBuildArtifactsBuilder(int index)
public BuildArtifact.Builder getBuildArtifactsBuilder(int index)
List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
BuildArtifact.Builder |
getBuildArtifactsBuilderList()
public List<BuildArtifact.Builder> getBuildArtifactsBuilderList()
List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;
Returns | |
---|---|
Type | Description |
List<Builder> |
getBuildArtifactsCount()
public int getBuildArtifactsCount()
List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;
Returns | |
---|---|
Type | Description |
int |
getBuildArtifactsList()
public List<BuildArtifact> getBuildArtifactsList()
List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;
Returns | |
---|---|
Type | Description |
List<BuildArtifact> |
getBuildArtifactsOrBuilder(int index)
public BuildArtifactOrBuilder getBuildArtifactsOrBuilder(int index)
List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
BuildArtifactOrBuilder |
getBuildArtifactsOrBuilderList()
public List<? extends BuildArtifactOrBuilder> getBuildArtifactsOrBuilderList()
List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.deploy.v1.BuildArtifactOrBuilder> |
getCondition()
public 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 | |
---|---|
Type | Description |
Release.ReleaseCondition | The condition. |
getConditionBuilder()
public Release.ReleaseCondition.Builder getConditionBuilder()
Output only. Information around the state of the Release.
.google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Release.ReleaseCondition.Builder |
getConditionOrBuilder()
public 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];
Returns | |
---|---|
Type | Description |
Release.ReleaseConditionOrBuilder |
getCreateTime()
public Timestamp getCreateTime()
Output only. Time at which the Release
was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. Time at which the Release
was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time at which the Release
was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Release getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Release |
getDeliveryPipelineSnapshot()
public 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 | |
---|---|
Type | Description |
DeliveryPipeline | The deliveryPipelineSnapshot. |
getDeliveryPipelineSnapshotBuilder()
public DeliveryPipeline.Builder getDeliveryPipelineSnapshotBuilder()
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 | |
---|---|
Type | Description |
DeliveryPipeline.Builder |
getDeliveryPipelineSnapshotOrBuilder()
public 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];
Returns | |
---|---|
Type | Description |
DeliveryPipelineOrBuilder |
getDeployParameters()
public Map<String,String> getDeployParameters()
Use #getDeployParametersMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getDeployParametersCount()
public 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];
Returns | |
---|---|
Type | Description |
int |
getDeployParametersMap()
public Map<String,String> getDeployParametersMap()
Optional. The deploy parameters to use for all targets in this release.
map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Map<String,String> |
getDeployParametersOrDefault(String key, String defaultValue)
public String getDeployParametersOrDefault(String key, String defaultValue)
Optional. The deploy parameters to use for all targets in this release.
map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getDeployParametersOrThrow(String key)
public String getDeployParametersOrThrow(String key)
Optional. The deploy parameters to use for all targets in this release.
map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getDescription()
public String getDescription()
Description of the Release
. Max length is 255 characters.
string description = 3;
Returns | |
---|---|
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Description of the Release
. Max length is 255 characters.
string description = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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;
Returns | |
---|---|
Type | Description |
String | The etag. |
getEtagBytes()
public 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 | |
---|---|
Type | Description |
ByteString | The bytes for etag. |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsCount()
public 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;
Returns | |
---|---|
Type | Description |
int |
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;
Returns | |
---|---|
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
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;
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | String |
Returns | |
---|---|
Type | Description |
String |
getLabelsOrThrow(String key)
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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
String |
getMutableAnnotations()
public Map<String,String> getMutableAnnotations()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getMutableDeployParameters()
public Map<String,String> getMutableDeployParameters()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getMutableTargetArtifacts()
public Map<String,TargetArtifact> getMutableTargetArtifacts()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,TargetArtifact> |
getMutableTargetRenders()
public Map<String,Release.TargetRender> getMutableTargetRenders()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,TargetRender> |
getName()
public String getName()
Optional. Name of the Release
. Format is projects/{project}/
locations/{location}/deliveryPipelines/{deliveryPipeline}/
releases/a-z{0,62}.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Optional. Name of the Release
. Format is projects/{project}/
locations/{location}/deliveryPipelines/{deliveryPipeline}/
releases/a-z{0,62}.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getRenderEndTime()
public Timestamp getRenderEndTime()
Output only. Time at which the render completed.
.google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The renderEndTime. |
getRenderEndTimeBuilder()
public Timestamp.Builder getRenderEndTimeBuilder()
Output only. Time at which the render completed.
.google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getRenderEndTimeOrBuilder()
public TimestampOrBuilder getRenderEndTimeOrBuilder()
Output only. Time at which the render completed.
.google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getRenderStartTime()
public Timestamp getRenderStartTime()
Output only. Time at which the render began.
.google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp | The renderStartTime. |
getRenderStartTimeBuilder()
public Timestamp.Builder getRenderStartTimeBuilder()
Output only. Time at which the render began.
.google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getRenderStartTimeOrBuilder()
public TimestampOrBuilder getRenderStartTimeOrBuilder()
Output only. Time at which the render began.
.google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getRenderState()
public 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 | |
---|---|
Type | Description |
Release.RenderState | The renderState. |
getRenderStateValue()
public 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 | |
---|---|
Type | Description |
int | The enum numeric value on the wire for renderState. |
getSkaffoldConfigPath()
public String getSkaffoldConfigPath()
Filepath of the Skaffold config inside of the config URI.
string skaffold_config_path = 9;
Returns | |
---|---|
Type | Description |
String | The skaffoldConfigPath. |
getSkaffoldConfigPathBytes()
public ByteString getSkaffoldConfigPathBytes()
Filepath of the Skaffold config inside of the config URI.
string skaffold_config_path = 9;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for skaffoldConfigPath. |
getSkaffoldConfigUri()
public String getSkaffoldConfigUri()
Cloud Storage URI of tar.gz archive containing Skaffold configuration.
string skaffold_config_uri = 17;
Returns | |
---|---|
Type | Description |
String | The skaffoldConfigUri. |
getSkaffoldConfigUriBytes()
public ByteString getSkaffoldConfigUriBytes()
Cloud Storage URI of tar.gz archive containing Skaffold configuration.
string skaffold_config_uri = 17;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for skaffoldConfigUri. |
getSkaffoldVersion()
public String getSkaffoldVersion()
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;
Returns | |
---|---|
Type | Description |
String | The skaffoldVersion. |
getSkaffoldVersionBytes()
public ByteString getSkaffoldVersionBytes()
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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for skaffoldVersion. |
getTargetArtifacts()
public Map<String,TargetArtifact> getTargetArtifacts()
Use #getTargetArtifactsMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,TargetArtifact> |
getTargetArtifactsCount()
public 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];
Returns | |
---|---|
Type | Description |
int |
getTargetArtifactsMap()
public 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];
Returns | |
---|---|
Type | Description |
Map<String,TargetArtifact> |
getTargetArtifactsOrDefault(String key, TargetArtifact defaultValue)
public TargetArtifact getTargetArtifactsOrDefault(String key, TargetArtifact defaultValue)
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];
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | TargetArtifact |
Returns | |
---|---|
Type | Description |
TargetArtifact |
getTargetArtifactsOrThrow(String key)
public TargetArtifact getTargetArtifactsOrThrow(String key)
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];
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
TargetArtifact |
getTargetRenders()
public Map<String,Release.TargetRender> getTargetRenders()
Use #getTargetRendersMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,TargetRender> |
getTargetRendersCount()
public 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];
Returns | |
---|---|
Type | Description |
int |
getTargetRendersMap()
public 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];
Returns | |
---|---|
Type | Description |
Map<String,TargetRender> |
getTargetRendersOrDefault(String key, Release.TargetRender defaultValue)
public Release.TargetRender getTargetRendersOrDefault(String key, Release.TargetRender defaultValue)
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];
Parameters | |
---|---|
Name | Description |
key | String |
defaultValue | Release.TargetRender |
Returns | |
---|---|
Type | Description |
Release.TargetRender |
getTargetRendersOrThrow(String key)
public Release.TargetRender getTargetRendersOrThrow(String key)
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];
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
Release.TargetRender |
getTargetSnapshots(int index)
public Target getTargetSnapshots(int index)
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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Target |
getTargetSnapshotsBuilder(int index)
public Target.Builder getTargetSnapshotsBuilder(int index)
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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Target.Builder |
getTargetSnapshotsBuilderList()
public List<Target.Builder> getTargetSnapshotsBuilderList()
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];
Returns | |
---|---|
Type | Description |
List<Builder> |
getTargetSnapshotsCount()
public 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];
Returns | |
---|---|
Type | Description |
int |
getTargetSnapshotsList()
public List<Target> 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];
Returns | |
---|---|
Type | Description |
List<Target> |
getTargetSnapshotsOrBuilder(int index)
public TargetOrBuilder getTargetSnapshotsOrBuilder(int index)
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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
TargetOrBuilder |
getTargetSnapshotsOrBuilderList()
public 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];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.deploy.v1.TargetOrBuilder> |
getUid()
public String getUid()
Output only. Unique identifier of the Release
.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The uid. |
getUidBytes()
public ByteString getUidBytes()
Output only. Unique identifier of the Release
.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for uid. |
hasCondition()
public 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 | |
---|---|
Type | Description |
boolean | Whether the condition field is set. |
hasCreateTime()
public boolean hasCreateTime()
Output only. Time at which the Release
was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasDeliveryPipelineSnapshot()
public 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 | |
---|---|
Type | Description |
boolean | Whether the deliveryPipelineSnapshot field is set. |
hasRenderEndTime()
public boolean hasRenderEndTime()
Output only. Time at which the render completed.
.google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the renderEndTime field is set. |
hasRenderStartTime()
public boolean hasRenderStartTime()
Output only. Time at which the render began.
.google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the renderStartTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCondition(Release.ReleaseCondition value)
public Release.Builder mergeCondition(Release.ReleaseCondition value)
Output only. Information around the state of the Release.
.google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Release.ReleaseCondition |
Returns | |
---|---|
Type | Description |
Release.Builder |
mergeCreateTime(Timestamp value)
public Release.Builder mergeCreateTime(Timestamp value)
Output only. Time at which the Release
was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Release.Builder |
mergeDeliveryPipelineSnapshot(DeliveryPipeline value)
public Release.Builder mergeDeliveryPipelineSnapshot(DeliveryPipeline value)
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];
Parameter | |
---|---|
Name | Description |
value | DeliveryPipeline |
Returns | |
---|---|
Type | Description |
Release.Builder |
mergeFrom(Release other)
public Release.Builder mergeFrom(Release other)
Parameter | |
---|---|
Name | Description |
other | Release |
Returns | |
---|---|
Type | Description |
Release.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Release.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Release.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Release.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Release.Builder |
mergeRenderEndTime(Timestamp value)
public Release.Builder mergeRenderEndTime(Timestamp value)
Output only. Time at which the render completed.
.google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Release.Builder |
mergeRenderStartTime(Timestamp value)
public Release.Builder mergeRenderStartTime(Timestamp value)
Output only. Time at which the render began.
.google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Release.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Release.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Release.Builder |
putAllAnnotations(Map<String,String> values)
public Release.Builder putAllAnnotations(Map<String,String> values)
User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
Release.Builder |
putAllDeployParameters(Map<String,String> values)
public Release.Builder putAllDeployParameters(Map<String,String> values)
Optional. The deploy parameters to use for all targets in this release.
map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
Release.Builder |
putAllLabels(Map<String,String> values)
public Release.Builder putAllLabels(Map<String,String> values)
Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints:
- Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
- All characters must use UTF-8 encoding, and international characters are allowed.
- Keys must start with a lowercase letter or international character.
Each resource is limited to a maximum of 64 labels.
Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 5;
Parameter | |
---|---|
Name | Description |
values | Map<String,String> |
Returns | |
---|---|
Type | Description |
Release.Builder |
putAllTargetArtifacts(Map<String,TargetArtifact> values)
public Release.Builder putAllTargetArtifacts(Map<String,TargetArtifact> values)
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];
Parameter | |
---|---|
Name | Description |
values | Map<String,TargetArtifact> |
Returns | |
---|---|
Type | Description |
Release.Builder |
putAllTargetRenders(Map<String,Release.TargetRender> values)
public Release.Builder putAllTargetRenders(Map<String,Release.TargetRender> values)
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];
Parameter | |
---|---|
Name | Description |
values | Map<String,TargetRender> |
Returns | |
---|---|
Type | Description |
Release.Builder |
putAnnotations(String key, String value)
public Release.Builder putAnnotations(String key, String value)
User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
Release.Builder |
putDeployParameters(String key, String value)
public Release.Builder putDeployParameters(String key, String value)
Optional. The deploy parameters to use for all targets in this release.
map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
Release.Builder |
putLabels(String key, String value)
public Release.Builder putLabels(String key, String value)
Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints:
- Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
- All characters must use UTF-8 encoding, and international characters are allowed.
- Keys must start with a lowercase letter or international character.
Each resource is limited to a maximum of 64 labels.
Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 5;
Parameters | |
---|---|
Name | Description |
key | String |
value | String |
Returns | |
---|---|
Type | Description |
Release.Builder |
putTargetArtifacts(String key, TargetArtifact value)
public Release.Builder putTargetArtifacts(String key, TargetArtifact value)
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];
Parameters | |
---|---|
Name | Description |
key | String |
value | TargetArtifact |
Returns | |
---|---|
Type | Description |
Release.Builder |
putTargetRenders(String key, Release.TargetRender value)
public Release.Builder putTargetRenders(String key, Release.TargetRender value)
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];
Parameters | |
---|---|
Name | Description |
key | String |
value | Release.TargetRender |
Returns | |
---|---|
Type | Description |
Release.Builder |
removeAnnotations(String key)
public Release.Builder removeAnnotations(String key)
User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
Release.Builder |
removeBuildArtifacts(int index)
public Release.Builder removeBuildArtifacts(int index)
List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Release.Builder |
removeDeployParameters(String key)
public Release.Builder removeDeployParameters(String key)
Optional. The deploy parameters to use for all targets in this release.
map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
Release.Builder |
removeLabels(String key)
public Release.Builder removeLabels(String key)
Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints:
- Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
- All characters must use UTF-8 encoding, and international characters are allowed.
- Keys must start with a lowercase letter or international character.
Each resource is limited to a maximum of 64 labels.
Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 5;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
Release.Builder |
removeTargetArtifacts(String key)
public Release.Builder removeTargetArtifacts(String key)
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];
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
Release.Builder |
removeTargetRenders(String key)
public Release.Builder removeTargetRenders(String key)
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];
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
Release.Builder |
removeTargetSnapshots(int index)
public Release.Builder removeTargetSnapshots(int index)
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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Release.Builder |
setAbandoned(boolean value)
public Release.Builder setAbandoned(boolean value)
Output only. Indicates whether this is an abandoned release.
bool abandoned = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | boolean The abandoned to set. |
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
setBuildArtifacts(int index, BuildArtifact value)
public Release.Builder setBuildArtifacts(int index, BuildArtifact value)
List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;
Parameters | |
---|---|
Name | Description |
index | int |
value | BuildArtifact |
Returns | |
---|---|
Type | Description |
Release.Builder |
setBuildArtifacts(int index, BuildArtifact.Builder builderForValue)
public Release.Builder setBuildArtifacts(int index, BuildArtifact.Builder builderForValue)
List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | BuildArtifact.Builder |
Returns | |
---|---|
Type | Description |
Release.Builder |
setCondition(Release.ReleaseCondition value)
public Release.Builder setCondition(Release.ReleaseCondition value)
Output only. Information around the state of the Release.
.google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Release.ReleaseCondition |
Returns | |
---|---|
Type | Description |
Release.Builder |
setCondition(Release.ReleaseCondition.Builder builderForValue)
public Release.Builder setCondition(Release.ReleaseCondition.Builder builderForValue)
Output only. Information around the state of the Release.
.google.cloud.deploy.v1.Release.ReleaseCondition condition = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Release.ReleaseCondition.Builder |
Returns | |
---|---|
Type | Description |
Release.Builder |
setCreateTime(Timestamp value)
public Release.Builder setCreateTime(Timestamp value)
Output only. Time at which the Release
was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Release.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Release.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. Time at which the Release
was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Release.Builder |
setDeliveryPipelineSnapshot(DeliveryPipeline value)
public Release.Builder setDeliveryPipelineSnapshot(DeliveryPipeline value)
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];
Parameter | |
---|---|
Name | Description |
value | DeliveryPipeline |
Returns | |
---|---|
Type | Description |
Release.Builder |
setDeliveryPipelineSnapshot(DeliveryPipeline.Builder builderForValue)
public Release.Builder setDeliveryPipelineSnapshot(DeliveryPipeline.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue | DeliveryPipeline.Builder |
Returns | |
---|---|
Type | Description |
Release.Builder |
setDescription(String value)
public Release.Builder setDescription(String value)
Description of the Release
. Max length is 255 characters.
string description = 3;
Parameter | |
---|---|
Name | Description |
value | String The description to set. |
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Release.Builder setDescriptionBytes(ByteString value)
Description of the Release
. Max length is 255 characters.
string description = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
setEtag(String value)
public Release.Builder setEtag(String value)
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 16;
Parameter | |
---|---|
Name | Description |
value | String The etag to set. |
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
setEtagBytes(ByteString value)
public Release.Builder setEtagBytes(ByteString value)
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 16;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for etag to set. |
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Release.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Release.Builder |
setName(String value)
public Release.Builder setName(String value)
Optional. Name of the Release
. Format is projects/{project}/
locations/{location}/deliveryPipelines/{deliveryPipeline}/
releases/a-z{0,62}.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Release.Builder setNameBytes(ByteString value)
Optional. Name of the Release
. Format is projects/{project}/
locations/{location}/deliveryPipelines/{deliveryPipeline}/
releases/a-z{0,62}.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
setRenderEndTime(Timestamp value)
public Release.Builder setRenderEndTime(Timestamp value)
Output only. Time at which the render completed.
.google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Release.Builder |
setRenderEndTime(Timestamp.Builder builderForValue)
public Release.Builder setRenderEndTime(Timestamp.Builder builderForValue)
Output only. Time at which the render completed.
.google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Release.Builder |
setRenderStartTime(Timestamp value)
public Release.Builder setRenderStartTime(Timestamp value)
Output only. Time at which the render began.
.google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
Release.Builder |
setRenderStartTime(Timestamp.Builder builderForValue)
public Release.Builder setRenderStartTime(Timestamp.Builder builderForValue)
Output only. Time at which the render began.
.google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
Release.Builder |
setRenderState(Release.RenderState value)
public Release.Builder setRenderState(Release.RenderState value)
Output only. Current state of the render operation.
.google.cloud.deploy.v1.Release.RenderState render_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Release.RenderState The renderState to set. |
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
setRenderStateValue(int value)
public Release.Builder setRenderStateValue(int value)
Output only. Current state of the render operation.
.google.cloud.deploy.v1.Release.RenderState render_state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for renderState to set. |
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Release.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Release.Builder |
setSkaffoldConfigPath(String value)
public Release.Builder setSkaffoldConfigPath(String value)
Filepath of the Skaffold config inside of the config URI.
string skaffold_config_path = 9;
Parameter | |
---|---|
Name | Description |
value | String The skaffoldConfigPath to set. |
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
setSkaffoldConfigPathBytes(ByteString value)
public Release.Builder setSkaffoldConfigPathBytes(ByteString value)
Filepath of the Skaffold config inside of the config URI.
string skaffold_config_path = 9;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for skaffoldConfigPath to set. |
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
setSkaffoldConfigUri(String value)
public Release.Builder setSkaffoldConfigUri(String value)
Cloud Storage URI of tar.gz archive containing Skaffold configuration.
string skaffold_config_uri = 17;
Parameter | |
---|---|
Name | Description |
value | String The skaffoldConfigUri to set. |
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
setSkaffoldConfigUriBytes(ByteString value)
public Release.Builder setSkaffoldConfigUriBytes(ByteString value)
Cloud Storage URI of tar.gz archive containing Skaffold configuration.
string skaffold_config_uri = 17;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for skaffoldConfigUri to set. |
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
setSkaffoldVersion(String value)
public Release.Builder setSkaffoldVersion(String value)
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;
Parameter | |
---|---|
Name | Description |
value | String The skaffoldVersion to set. |
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
setSkaffoldVersionBytes(ByteString value)
public Release.Builder setSkaffoldVersionBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for skaffoldVersion to set. |
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
setTargetSnapshots(int index, Target value)
public Release.Builder setTargetSnapshots(int index, Target value)
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];
Parameters | |
---|---|
Name | Description |
index | int |
value | Target |
Returns | |
---|---|
Type | Description |
Release.Builder |
setTargetSnapshots(int index, Target.Builder builderForValue)
public Release.Builder setTargetSnapshots(int index, Target.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Target.Builder |
Returns | |
---|---|
Type | Description |
Release.Builder |
setUid(String value)
public Release.Builder setUid(String value)
Output only. Unique identifier of the Release
.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The uid to set. |
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
setUidBytes(ByteString value)
public Release.Builder setUidBytes(ByteString value)
Output only. Unique identifier of the Release
.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for uid to set. |
Returns | |
---|---|
Type | Description |
Release.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Release.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Release.Builder |