Class Release (1.41.0)

public final class Release extends GeneratedMessageV3 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

Implements

ReleaseOrBuilder

Static Fields

ABANDONED_FIELD_NUMBER

public static final int ABANDONED_FIELD_NUMBER
Field Value
Type Description
int

ANNOTATIONS_FIELD_NUMBER

public static final int ANNOTATIONS_FIELD_NUMBER
Field Value
Type Description
int

BUILD_ARTIFACTS_FIELD_NUMBER

public static final int BUILD_ARTIFACTS_FIELD_NUMBER
Field Value
Type Description
int

CONDITION_FIELD_NUMBER

public static final int CONDITION_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

CUSTOM_TARGET_TYPE_SNAPSHOTS_FIELD_NUMBER

public static final int CUSTOM_TARGET_TYPE_SNAPSHOTS_FIELD_NUMBER
Field Value
Type Description
int

DELIVERY_PIPELINE_SNAPSHOT_FIELD_NUMBER

public static final int DELIVERY_PIPELINE_SNAPSHOT_FIELD_NUMBER
Field Value
Type Description
int

DEPLOY_PARAMETERS_FIELD_NUMBER

public static final int DEPLOY_PARAMETERS_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

ETAG_FIELD_NUMBER

public static final int ETAG_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

RENDER_END_TIME_FIELD_NUMBER

public static final int RENDER_END_TIME_FIELD_NUMBER
Field Value
Type Description
int

RENDER_START_TIME_FIELD_NUMBER

public static final int RENDER_START_TIME_FIELD_NUMBER
Field Value
Type Description
int

RENDER_STATE_FIELD_NUMBER

public static final int RENDER_STATE_FIELD_NUMBER
Field Value
Type Description
int

SKAFFOLD_CONFIG_PATH_FIELD_NUMBER

public static final int SKAFFOLD_CONFIG_PATH_FIELD_NUMBER
Field Value
Type Description
int

SKAFFOLD_CONFIG_URI_FIELD_NUMBER

public static final int SKAFFOLD_CONFIG_URI_FIELD_NUMBER
Field Value
Type Description
int

SKAFFOLD_VERSION_FIELD_NUMBER

public static final int SKAFFOLD_VERSION_FIELD_NUMBER
Field Value
Type Description
int

TARGET_ARTIFACTS_FIELD_NUMBER

public static final int TARGET_ARTIFACTS_FIELD_NUMBER
Field Value
Type Description
int

TARGET_RENDERS_FIELD_NUMBER

public static final int TARGET_RENDERS_FIELD_NUMBER
Field Value
Type Description
int

TARGET_SNAPSHOTS_FIELD_NUMBER

public static final int TARGET_SNAPSHOTS_FIELD_NUMBER
Field Value
Type Description
int

UID_FIELD_NUMBER

public static final int UID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Release getDefaultInstance()
Returns
Type Description
Release

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Release.Builder newBuilder()
Returns
Type Description
Release.Builder

newBuilder(Release prototype)

public static Release.Builder newBuilder(Release prototype)
Parameter
Name Description
prototype Release
Returns
Type Description
Release.Builder

parseDelimitedFrom(InputStream input)

public static Release parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Release
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Release parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Release
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Release parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Release
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Release parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Release
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Release parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Release
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Release parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Release
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Release parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Release
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Release parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Release
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Release parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Release
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Release parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Release
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Release parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Release
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Release parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Release
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Release> parser()
Returns
Type Description
Parser<Release>

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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() (deprecated)

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

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.

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.

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

getCustomTargetTypeSnapshots(int index)

public CustomTargetType getCustomTargetTypeSnapshots(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
CustomTargetType

getCustomTargetTypeSnapshotsCount()

public 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];

Returns
Type Description
int

getCustomTargetTypeSnapshotsList()

public 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];

Returns
Type Description
List<CustomTargetType>

getCustomTargetTypeSnapshotsOrBuilder(int index)

public CustomTargetTypeOrBuilder getCustomTargetTypeSnapshotsOrBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
CustomTargetTypeOrBuilder

getCustomTargetTypeSnapshotsOrBuilderList()

public 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];

Returns
Type Description
List<? extends com.google.cloud.deploy.v1.CustomTargetTypeOrBuilder>

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.

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() (deprecated)

public Map<String,String> getDeployParameters()
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.

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() (deprecated)

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

getName()

public String getName()

Optional. Name of the Release. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}. The release component must match a-z?

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/{release}. The release component must match a-z?

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<Release> getParserForType()
Returns
Type Description
Parser<Release>
Overrides

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.

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.

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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() (deprecated)

public Map<String,TargetArtifact> getTargetArtifacts()
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() (deprecated)

public Map<String,Release.TargetRender> getTargetRenders()
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

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Release.Builder newBuilderForType()
Returns
Type Description
Release.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Release.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Release.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Release.Builder toBuilder()
Returns
Type Description
Release.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException