Interface ReleaseOrBuilder (1.15.0)

public interface ReleaseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsAnnotations(String key)

public abstract boolean containsAnnotations(String key)

User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

map<string, string> annotations = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsLabels(String key)

public abstract boolean containsLabels(String key)

Labels are attributes that can be set and used by both the user and by Google 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
NameDescription
keyString
Returns
TypeDescription
boolean

containsTargetArtifacts(String key)

public abstract 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
NameDescription
keyString
Returns
TypeDescription
boolean

containsTargetRenders(String key)

public abstract 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
NameDescription
keyString
Returns
TypeDescription
boolean

getAbandoned()

public abstract boolean getAbandoned()

Output only. Indicates whether this is an abandoned release.

bool abandoned = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

The abandoned.

getAnnotations()

public abstract Map<String,String> getAnnotations()

Use #getAnnotationsMap() instead.

Returns
TypeDescription
Map<String,String>

getAnnotationsCount()

public abstract int getAnnotationsCount()

User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

map<string, string> annotations = 4;

Returns
TypeDescription
int

getAnnotationsMap()

public abstract Map<String,String> getAnnotationsMap()

User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

map<string, string> annotations = 4;

Returns
TypeDescription
Map<String,String>

getAnnotationsOrDefault(String key, String defaultValue)

public abstract String getAnnotationsOrDefault(String key, String defaultValue)

User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

map<string, string> annotations = 4;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getAnnotationsOrThrow(String key)

public abstract String getAnnotationsOrThrow(String key)

User annotations. These attributes can only be set and used by the user, and not by Google Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.

map<string, string> annotations = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getBuildArtifacts(int index)

public abstract BuildArtifact getBuildArtifacts(int index)

List of artifacts to pass through to Skaffold command.

repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;

Parameter
NameDescription
indexint
Returns
TypeDescription
BuildArtifact

getBuildArtifactsCount()

public abstract int getBuildArtifactsCount()

List of artifacts to pass through to Skaffold command.

repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;

Returns
TypeDescription
int

getBuildArtifactsList()

public abstract List<BuildArtifact> getBuildArtifactsList()

List of artifacts to pass through to Skaffold command.

repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;

Returns
TypeDescription
List<BuildArtifact>

getBuildArtifactsOrBuilder(int index)

public abstract BuildArtifactOrBuilder getBuildArtifactsOrBuilder(int index)

List of artifacts to pass through to Skaffold command.

repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;

Parameter
NameDescription
indexint
Returns
TypeDescription
BuildArtifactOrBuilder

getBuildArtifactsOrBuilderList()

public abstract List<? extends BuildArtifactOrBuilder> getBuildArtifactsOrBuilderList()

List of artifacts to pass through to Skaffold command.

repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;

Returns
TypeDescription
List<? extends com.google.cloud.deploy.v1.BuildArtifactOrBuilder>

getCondition()

public abstract 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
TypeDescription
Release.ReleaseCondition

The condition.

getConditionOrBuilder()

public abstract 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
TypeDescription
Release.ReleaseConditionOrBuilder

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Time at which the Release was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time at which the Release was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDeliveryPipelineSnapshot()

public abstract 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
TypeDescription
DeliveryPipeline

The deliveryPipelineSnapshot.

getDeliveryPipelineSnapshotOrBuilder()

public abstract 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
TypeDescription
DeliveryPipelineOrBuilder

getDescription()

public abstract String getDescription()

Description of the Release. Max length is 255 characters.

string description = 3;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Description of the Release. Max length is 255 characters.

string description = 3;

Returns
TypeDescription
ByteString

The bytes for description.

getEtag()

public abstract 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
TypeDescription
String

The etag.

getEtagBytes()

public abstract 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
TypeDescription
ByteString

The bytes for etag.

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Labels are attributes that can be set and used by both the user and by Google 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
TypeDescription
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Labels are attributes that can be set and used by both the user and by Google 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
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Labels are attributes that can be set and used by both the user and by Google 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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Labels are attributes that can be set and used by both the user and by Google 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
NameDescription
keyString
Returns
TypeDescription
String

getName()

public abstract 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
TypeDescription
String

The name.

getNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for name.

getRenderEndTime()

public abstract Timestamp getRenderEndTime()

Output only. Time at which the render completed.

.google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The renderEndTime.

getRenderEndTimeOrBuilder()

public abstract TimestampOrBuilder getRenderEndTimeOrBuilder()

Output only. Time at which the render completed.

.google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getRenderStartTime()

public abstract Timestamp getRenderStartTime()

Output only. Time at which the render began.

.google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The renderStartTime.

getRenderStartTimeOrBuilder()

public abstract TimestampOrBuilder getRenderStartTimeOrBuilder()

Output only. Time at which the render began.

.google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getRenderState()

public abstract 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
TypeDescription
Release.RenderState

The renderState.

getRenderStateValue()

public abstract 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
TypeDescription
int

The enum numeric value on the wire for renderState.

getSkaffoldConfigPath()

public abstract String getSkaffoldConfigPath()

Filepath of the Skaffold config inside of the config URI.

string skaffold_config_path = 9;

Returns
TypeDescription
String

The skaffoldConfigPath.

getSkaffoldConfigPathBytes()

public abstract ByteString getSkaffoldConfigPathBytes()

Filepath of the Skaffold config inside of the config URI.

string skaffold_config_path = 9;

Returns
TypeDescription
ByteString

The bytes for skaffoldConfigPath.

getSkaffoldConfigUri()

public abstract String getSkaffoldConfigUri()

Cloud Storage URI of tar.gz archive containing Skaffold configuration.

string skaffold_config_uri = 17;

Returns
TypeDescription
String

The skaffoldConfigUri.

getSkaffoldConfigUriBytes()

public abstract ByteString getSkaffoldConfigUriBytes()

Cloud Storage URI of tar.gz archive containing Skaffold configuration.

string skaffold_config_uri = 17;

Returns
TypeDescription
ByteString

The bytes for skaffoldConfigUri.

getSkaffoldVersion()

public abstract String getSkaffoldVersion()

The Skaffold version to use when operating on this release, such as "1.20.0". Not all versions are valid; Google Cloud Deploy supports a specific set of versions. If unset, the most recent supported Skaffold version will be used.

string skaffold_version = 19;

Returns
TypeDescription
String

The skaffoldVersion.

getSkaffoldVersionBytes()

public abstract ByteString getSkaffoldVersionBytes()

The Skaffold version to use when operating on this release, such as "1.20.0". Not all versions are valid; Google Cloud Deploy supports a specific set of versions. If unset, the most recent supported Skaffold version will be used.

string skaffold_version = 19;

Returns
TypeDescription
ByteString

The bytes for skaffoldVersion.

getTargetArtifacts()

public abstract Map<String,TargetArtifact> getTargetArtifacts()
Returns
TypeDescription
Map<String,TargetArtifact>

getTargetArtifactsCount()

public abstract 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
TypeDescription
int

getTargetArtifactsMap()

public abstract 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
TypeDescription
Map<String,TargetArtifact>

getTargetArtifactsOrDefault(String key, TargetArtifact defaultValue)

public abstract 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
NameDescription
keyString
defaultValueTargetArtifact
Returns
TypeDescription
TargetArtifact

getTargetArtifactsOrThrow(String key)

public abstract 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
NameDescription
keyString
Returns
TypeDescription
TargetArtifact

getTargetRenders()

public abstract Map<String,Release.TargetRender> getTargetRenders()
Returns
TypeDescription
Map<String,TargetRender>

getTargetRendersCount()

public abstract 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
TypeDescription
int

getTargetRendersMap()

public abstract 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
TypeDescription
Map<String,TargetRender>

getTargetRendersOrDefault(String key, Release.TargetRender defaultValue)

public abstract 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
NameDescription
keyString
defaultValueRelease.TargetRender
Returns
TypeDescription
Release.TargetRender

getTargetRendersOrThrow(String key)

public abstract 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
NameDescription
keyString
Returns
TypeDescription
Release.TargetRender

getTargetSnapshots(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
Target

getTargetSnapshotsCount()

public abstract 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
TypeDescription
int

getTargetSnapshotsList()

public abstract 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
TypeDescription
List<Target>

getTargetSnapshotsOrBuilder(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
TargetOrBuilder

getTargetSnapshotsOrBuilderList()

public abstract 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
TypeDescription
List<? extends com.google.cloud.deploy.v1.TargetOrBuilder>

getUid()

public abstract String getUid()

Output only. Unique identifier of the Release.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The uid.

getUidBytes()

public abstract ByteString getUidBytes()

Output only. Unique identifier of the Release.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for uid.

hasCondition()

public abstract 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
TypeDescription
boolean

Whether the condition field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Time at which the Release was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasDeliveryPipelineSnapshot()

public abstract 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
TypeDescription
boolean

Whether the deliveryPipelineSnapshot field is set.

hasRenderEndTime()

public abstract boolean hasRenderEndTime()

Output only. Time at which the render completed.

.google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the renderEndTime field is set.

hasRenderStartTime()

public abstract boolean hasRenderStartTime()

Output only. Time at which the render began.

.google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the renderStartTime field is set.