Package com.google.cloud.deploy.v1
Class Release
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.deploy.v1.Release
-
- All Implemented Interfaces:
ReleaseOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Release extends com.google.protobuf.GeneratedMessageV3 implements ReleaseOrBuilder
A `Release` resource in the Cloud Deploy API. A `Release` defines a specific Skaffold configuration instance that can be deployed.
Protobuf typegoogle.cloud.deploy.v1.Release
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Release.Builder
A `Release` resource in the Cloud Deploy API.static class
Release.ReleaseCondition
ReleaseCondition contains all conditions relevant to a Release.static interface
Release.ReleaseConditionOrBuilder
static class
Release.ReleaseReadyCondition
ReleaseReadyCondition contains information around the status of the Release.static interface
Release.ReleaseReadyConditionOrBuilder
static class
Release.RenderState
Valid states of the render operation.static class
Release.SkaffoldSupportedCondition
SkaffoldSupportedCondition contains information about when support for the release's version of skaffold ends.static interface
Release.SkaffoldSupportedConditionOrBuilder
static class
Release.TargetRender
Details of rendering for a single target.static interface
Release.TargetRenderOrBuilder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ABANDONED_FIELD_NUMBER
static int
ANNOTATIONS_FIELD_NUMBER
static int
BUILD_ARTIFACTS_FIELD_NUMBER
static int
CONDITION_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
DELIVERY_PIPELINE_SNAPSHOT_FIELD_NUMBER
static int
DEPLOY_PARAMETERS_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
ETAG_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
RENDER_END_TIME_FIELD_NUMBER
static int
RENDER_START_TIME_FIELD_NUMBER
static int
RENDER_STATE_FIELD_NUMBER
static int
SKAFFOLD_CONFIG_PATH_FIELD_NUMBER
static int
SKAFFOLD_CONFIG_URI_FIELD_NUMBER
static int
SKAFFOLD_VERSION_FIELD_NUMBER
static int
TARGET_ARTIFACTS_FIELD_NUMBER
static int
TARGET_RENDERS_FIELD_NUMBER
static int
TARGET_SNAPSHOTS_FIELD_NUMBER
static int
UID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsAnnotations(String key)
User annotations.boolean
containsDeployParameters(String key)
Optional.boolean
containsLabels(String key)
Labels are attributes that can be set and used by both the user and by Cloud Deploy.boolean
containsTargetArtifacts(String key)
Output only.boolean
containsTargetRenders(String key)
Output only.boolean
equals(Object obj)
boolean
getAbandoned()
Output only.Map<String,String>
getAnnotations()
Deprecated.int
getAnnotationsCount()
User annotations.Map<String,String>
getAnnotationsMap()
User annotations.String
getAnnotationsOrDefault(String key, String defaultValue)
User annotations.String
getAnnotationsOrThrow(String key)
User annotations.BuildArtifact
getBuildArtifacts(int index)
List of artifacts to pass through to Skaffold command.int
getBuildArtifactsCount()
List of artifacts to pass through to Skaffold command.List<BuildArtifact>
getBuildArtifactsList()
List of artifacts to pass through to Skaffold command.BuildArtifactOrBuilder
getBuildArtifactsOrBuilder(int index)
List of artifacts to pass through to Skaffold command.List<? extends BuildArtifactOrBuilder>
getBuildArtifactsOrBuilderList()
List of artifacts to pass through to Skaffold command.Release.ReleaseCondition
getCondition()
Output only.Release.ReleaseConditionOrBuilder
getConditionOrBuilder()
Output only.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.static Release
getDefaultInstance()
Release
getDefaultInstanceForType()
DeliveryPipeline
getDeliveryPipelineSnapshot()
Output only.DeliveryPipelineOrBuilder
getDeliveryPipelineSnapshotOrBuilder()
Output only.Map<String,String>
getDeployParameters()
Deprecated.int
getDeployParametersCount()
Optional.Map<String,String>
getDeployParametersMap()
Optional.String
getDeployParametersOrDefault(String key, String defaultValue)
Optional.String
getDeployParametersOrThrow(String key)
Optional.String
getDescription()
Description of the `Release`.com.google.protobuf.ByteString
getDescriptionBytes()
Description of the `Release`.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getEtag()
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.com.google.protobuf.ByteString
getEtagBytes()
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Labels are attributes that can be set and used by both the user and by Cloud Deploy.Map<String,String>
getLabelsMap()
Labels are attributes that can be set and used by both the user and by Cloud Deploy.String
getLabelsOrDefault(String key, String defaultValue)
Labels are attributes that can be set and used by both the user and by Cloud Deploy.String
getLabelsOrThrow(String key)
Labels are attributes that can be set and used by both the user and by Cloud Deploy.String
getName()
Optional.com.google.protobuf.ByteString
getNameBytes()
Optional.com.google.protobuf.Parser<Release>
getParserForType()
com.google.protobuf.Timestamp
getRenderEndTime()
Output only.com.google.protobuf.TimestampOrBuilder
getRenderEndTimeOrBuilder()
Output only.com.google.protobuf.Timestamp
getRenderStartTime()
Output only.com.google.protobuf.TimestampOrBuilder
getRenderStartTimeOrBuilder()
Output only.Release.RenderState
getRenderState()
Output only.int
getRenderStateValue()
Output only.int
getSerializedSize()
String
getSkaffoldConfigPath()
Filepath of the Skaffold config inside of the config URI.com.google.protobuf.ByteString
getSkaffoldConfigPathBytes()
Filepath of the Skaffold config inside of the config URI.String
getSkaffoldConfigUri()
Cloud Storage URI of tar.gz archive containing Skaffold configuration.com.google.protobuf.ByteString
getSkaffoldConfigUriBytes()
Cloud Storage URI of tar.gz archive containing Skaffold configuration.String
getSkaffoldVersion()
The Skaffold version to use when operating on this release, such as "1.20.0".com.google.protobuf.ByteString
getSkaffoldVersionBytes()
The Skaffold version to use when operating on this release, such as "1.20.0".Map<String,TargetArtifact>
getTargetArtifacts()
Deprecated.int
getTargetArtifactsCount()
Output only.Map<String,TargetArtifact>
getTargetArtifactsMap()
Output only.TargetArtifact
getTargetArtifactsOrDefault(String key, TargetArtifact defaultValue)
Output only.TargetArtifact
getTargetArtifactsOrThrow(String key)
Output only.Map<String,Release.TargetRender>
getTargetRenders()
Deprecated.int
getTargetRendersCount()
Output only.Map<String,Release.TargetRender>
getTargetRendersMap()
Output only.Release.TargetRender
getTargetRendersOrDefault(String key, Release.TargetRender defaultValue)
Output only.Release.TargetRender
getTargetRendersOrThrow(String key)
Output only.Target
getTargetSnapshots(int index)
Output only.int
getTargetSnapshotsCount()
Output only.List<Target>
getTargetSnapshotsList()
Output only.TargetOrBuilder
getTargetSnapshotsOrBuilder(int index)
Output only.List<? extends TargetOrBuilder>
getTargetSnapshotsOrBuilderList()
Output only.String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.boolean
hasCondition()
Output only.boolean
hasCreateTime()
Output only.boolean
hasDeliveryPipelineSnapshot()
Output only.int
hashCode()
boolean
hasRenderEndTime()
Output only.boolean
hasRenderStartTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Release.Builder
newBuilder()
static Release.Builder
newBuilder(Release prototype)
Release.Builder
newBuilderForType()
protected Release.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Release
parseDelimitedFrom(InputStream input)
static Release
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Release
parseFrom(byte[] data)
static Release
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Release
parseFrom(com.google.protobuf.ByteString data)
static Release
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Release
parseFrom(com.google.protobuf.CodedInputStream input)
static Release
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Release
parseFrom(InputStream input)
static Release
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Release
parseFrom(ByteBuffer data)
static Release
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Release>
parser()
Release.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ABANDONED_FIELD_NUMBER
public static final int ABANDONED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RENDER_START_TIME_FIELD_NUMBER
public static final int RENDER_START_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RENDER_END_TIME_FIELD_NUMBER
public static final int RENDER_END_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SKAFFOLD_CONFIG_URI_FIELD_NUMBER
public static final int SKAFFOLD_CONFIG_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SKAFFOLD_CONFIG_PATH_FIELD_NUMBER
public static final int SKAFFOLD_CONFIG_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BUILD_ARTIFACTS_FIELD_NUMBER
public static final int BUILD_ARTIFACTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DELIVERY_PIPELINE_SNAPSHOT_FIELD_NUMBER
public static final int DELIVERY_PIPELINE_SNAPSHOT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_SNAPSHOTS_FIELD_NUMBER
public static final int TARGET_SNAPSHOTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RENDER_STATE_FIELD_NUMBER
public static final int RENDER_STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SKAFFOLD_VERSION_FIELD_NUMBER
public static final int SKAFFOLD_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_ARTIFACTS_FIELD_NUMBER
public static final int TARGET_ARTIFACTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_RENDERS_FIELD_NUMBER
public static final int TARGET_RENDERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONDITION_FIELD_NUMBER
public static final int CONDITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPLOY_PARAMETERS_FIELD_NUMBER
public static final int DEPLOY_PARAMETERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Optional. Name of the `Release`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/[a-z][a-z0-9\-]{0,62}.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getName
in interfaceReleaseOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Optional. Name of the `Release`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/[a-z][a-z0-9\-]{0,62}.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getNameBytes
in interfaceReleaseOrBuilder
- Returns:
- The bytes for name.
-
getUid
public String getUid()
Output only. Unique identifier of the `Release`.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUid
in interfaceReleaseOrBuilder
- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()
Output only. Unique identifier of the `Release`.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUidBytes
in interfaceReleaseOrBuilder
- Returns:
- The bytes for uid.
-
getDescription
public String getDescription()
Description of the `Release`. Max length is 255 characters.
string description = 3;
- Specified by:
getDescription
in interfaceReleaseOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Description of the `Release`. Max length is 255 characters.
string description = 3;
- Specified by:
getDescriptionBytes
in interfaceReleaseOrBuilder
- Returns:
- The bytes for description.
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:ReleaseOrBuilder
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;
- Specified by:
getAnnotationsCount
in interfaceReleaseOrBuilder
-
containsAnnotations
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;
- Specified by:
containsAnnotations
in interfaceReleaseOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.- Specified by:
getAnnotations
in interfaceReleaseOrBuilder
-
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;
- Specified by:
getAnnotationsMap
in interfaceReleaseOrBuilder
-
getAnnotationsOrDefault
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;
- Specified by:
getAnnotationsOrDefault
in interfaceReleaseOrBuilder
-
getAnnotationsOrThrow
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;
- Specified by:
getAnnotationsOrThrow
in interfaceReleaseOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ReleaseOrBuilder
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;
- Specified by:
getLabelsCount
in interfaceReleaseOrBuilder
-
containsLabels
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;
- Specified by:
containsLabels
in interfaceReleaseOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceReleaseOrBuilder
-
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;
- Specified by:
getLabelsMap
in interfaceReleaseOrBuilder
-
getLabelsOrDefault
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;
- Specified by:
getLabelsOrDefault
in interfaceReleaseOrBuilder
-
getLabelsOrThrow
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;
- Specified by:
getLabelsOrThrow
in interfaceReleaseOrBuilder
-
getAbandoned
public boolean getAbandoned()
Output only. Indicates whether this is an abandoned release.
bool abandoned = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAbandoned
in interfaceReleaseOrBuilder
- Returns:
- The abandoned.
-
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];
- Specified by:
hasCreateTime
in interfaceReleaseOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Time at which the `Release` was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceReleaseOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time at which the `Release` was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceReleaseOrBuilder
-
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];
- Specified by:
hasRenderStartTime
in interfaceReleaseOrBuilder
- Returns:
- Whether the renderStartTime field is set.
-
getRenderStartTime
public com.google.protobuf.Timestamp getRenderStartTime()
Output only. Time at which the render began.
.google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRenderStartTime
in interfaceReleaseOrBuilder
- Returns:
- The renderStartTime.
-
getRenderStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRenderStartTimeOrBuilder()
Output only. Time at which the render began.
.google.protobuf.Timestamp render_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRenderStartTimeOrBuilder
in interfaceReleaseOrBuilder
-
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];
- Specified by:
hasRenderEndTime
in interfaceReleaseOrBuilder
- Returns:
- Whether the renderEndTime field is set.
-
getRenderEndTime
public com.google.protobuf.Timestamp getRenderEndTime()
Output only. Time at which the render completed.
.google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRenderEndTime
in interfaceReleaseOrBuilder
- Returns:
- The renderEndTime.
-
getRenderEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getRenderEndTimeOrBuilder()
Output only. Time at which the render completed.
.google.protobuf.Timestamp render_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRenderEndTimeOrBuilder
in interfaceReleaseOrBuilder
-
getSkaffoldConfigUri
public String getSkaffoldConfigUri()
Cloud Storage URI of tar.gz archive containing Skaffold configuration.
string skaffold_config_uri = 17;
- Specified by:
getSkaffoldConfigUri
in interfaceReleaseOrBuilder
- Returns:
- The skaffoldConfigUri.
-
getSkaffoldConfigUriBytes
public com.google.protobuf.ByteString getSkaffoldConfigUriBytes()
Cloud Storage URI of tar.gz archive containing Skaffold configuration.
string skaffold_config_uri = 17;
- Specified by:
getSkaffoldConfigUriBytes
in interfaceReleaseOrBuilder
- Returns:
- The bytes for skaffoldConfigUri.
-
getSkaffoldConfigPath
public String getSkaffoldConfigPath()
Filepath of the Skaffold config inside of the config URI.
string skaffold_config_path = 9;
- Specified by:
getSkaffoldConfigPath
in interfaceReleaseOrBuilder
- Returns:
- The skaffoldConfigPath.
-
getSkaffoldConfigPathBytes
public com.google.protobuf.ByteString getSkaffoldConfigPathBytes()
Filepath of the Skaffold config inside of the config URI.
string skaffold_config_path = 9;
- Specified by:
getSkaffoldConfigPathBytes
in interfaceReleaseOrBuilder
- Returns:
- The bytes for skaffoldConfigPath.
-
getBuildArtifactsList
public List<BuildArtifact> getBuildArtifactsList()
List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;
- Specified by:
getBuildArtifactsList
in interfaceReleaseOrBuilder
-
getBuildArtifactsOrBuilderList
public List<? extends BuildArtifactOrBuilder> getBuildArtifactsOrBuilderList()
List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;
- Specified by:
getBuildArtifactsOrBuilderList
in interfaceReleaseOrBuilder
-
getBuildArtifactsCount
public int getBuildArtifactsCount()
List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;
- Specified by:
getBuildArtifactsCount
in interfaceReleaseOrBuilder
-
getBuildArtifacts
public BuildArtifact getBuildArtifacts(int index)
List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;
- Specified by:
getBuildArtifacts
in interfaceReleaseOrBuilder
-
getBuildArtifactsOrBuilder
public BuildArtifactOrBuilder getBuildArtifactsOrBuilder(int index)
List of artifacts to pass through to Skaffold command.
repeated .google.cloud.deploy.v1.BuildArtifact build_artifacts = 10;
- Specified by:
getBuildArtifactsOrBuilder
in interfaceReleaseOrBuilder
-
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];
- Specified by:
hasDeliveryPipelineSnapshot
in interfaceReleaseOrBuilder
- Returns:
- Whether the deliveryPipelineSnapshot field is set.
-
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];
- Specified by:
getDeliveryPipelineSnapshot
in interfaceReleaseOrBuilder
- Returns:
- 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];
- Specified by:
getDeliveryPipelineSnapshotOrBuilder
in interfaceReleaseOrBuilder
-
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];
- Specified by:
getTargetSnapshotsList
in interfaceReleaseOrBuilder
-
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];
- Specified by:
getTargetSnapshotsOrBuilderList
in interfaceReleaseOrBuilder
-
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];
- Specified by:
getTargetSnapshotsCount
in interfaceReleaseOrBuilder
-
getTargetSnapshots
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];
- Specified by:
getTargetSnapshots
in interfaceReleaseOrBuilder
-
getTargetSnapshotsOrBuilder
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];
- Specified by:
getTargetSnapshotsOrBuilder
in interfaceReleaseOrBuilder
-
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];
- Specified by:
getRenderStateValue
in interfaceReleaseOrBuilder
- Returns:
- The enum numeric value on the wire for renderState.
-
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];
- Specified by:
getRenderState
in interfaceReleaseOrBuilder
- Returns:
- The renderState.
-
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;
- Specified by:
getEtag
in interfaceReleaseOrBuilder
- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 16;
- Specified by:
getEtagBytes
in interfaceReleaseOrBuilder
- Returns:
- The bytes for etag.
-
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;
- Specified by:
getSkaffoldVersion
in interfaceReleaseOrBuilder
- Returns:
- The skaffoldVersion.
-
getSkaffoldVersionBytes
public com.google.protobuf.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;
- Specified by:
getSkaffoldVersionBytes
in interfaceReleaseOrBuilder
- Returns:
- The bytes for skaffoldVersion.
-
getTargetArtifactsCount
public int getTargetArtifactsCount()
Description copied from interface:ReleaseOrBuilder
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];
- Specified by:
getTargetArtifactsCount
in interfaceReleaseOrBuilder
-
containsTargetArtifacts
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];
- Specified by:
containsTargetArtifacts
in interfaceReleaseOrBuilder
-
getTargetArtifacts
@Deprecated public Map<String,TargetArtifact> getTargetArtifacts()
Deprecated.UsegetTargetArtifactsMap()
instead.- Specified by:
getTargetArtifacts
in interfaceReleaseOrBuilder
-
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];
- Specified by:
getTargetArtifactsMap
in interfaceReleaseOrBuilder
-
getTargetArtifactsOrDefault
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];
- Specified by:
getTargetArtifactsOrDefault
in interfaceReleaseOrBuilder
-
getTargetArtifactsOrThrow
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];
- Specified by:
getTargetArtifactsOrThrow
in interfaceReleaseOrBuilder
-
getTargetRendersCount
public int getTargetRendersCount()
Description copied from interface:ReleaseOrBuilder
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];
- Specified by:
getTargetRendersCount
in interfaceReleaseOrBuilder
-
containsTargetRenders
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];
- Specified by:
containsTargetRenders
in interfaceReleaseOrBuilder
-
getTargetRenders
@Deprecated public Map<String,Release.TargetRender> getTargetRenders()
Deprecated.UsegetTargetRendersMap()
instead.- Specified by:
getTargetRenders
in interfaceReleaseOrBuilder
-
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];
- Specified by:
getTargetRendersMap
in interfaceReleaseOrBuilder
-
getTargetRendersOrDefault
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];
- Specified by:
getTargetRendersOrDefault
in interfaceReleaseOrBuilder
-
getTargetRendersOrThrow
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];
- Specified by:
getTargetRendersOrThrow
in interfaceReleaseOrBuilder
-
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];
- Specified by:
hasCondition
in interfaceReleaseOrBuilder
- Returns:
- Whether the condition field is set.
-
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];
- Specified by:
getCondition
in interfaceReleaseOrBuilder
- Returns:
- 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];
- Specified by:
getConditionOrBuilder
in interfaceReleaseOrBuilder
-
getDeployParametersCount
public int getDeployParametersCount()
Description copied from interface:ReleaseOrBuilder
Optional. The deploy parameters to use for all targets in this release.
map<string, string> deploy_parameters = 25 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDeployParametersCount
in interfaceReleaseOrBuilder
-
containsDeployParameters
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];
- Specified by:
containsDeployParameters
in interfaceReleaseOrBuilder
-
getDeployParameters
@Deprecated public Map<String,String> getDeployParameters()
Deprecated.UsegetDeployParametersMap()
instead.- Specified by:
getDeployParameters
in interfaceReleaseOrBuilder
-
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];
- Specified by:
getDeployParametersMap
in interfaceReleaseOrBuilder
-
getDeployParametersOrDefault
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];
- Specified by:
getDeployParametersOrDefault
in interfaceReleaseOrBuilder
-
getDeployParametersOrThrow
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];
- Specified by:
getDeployParametersOrThrow
in interfaceReleaseOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Release parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Release parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Release parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Release parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Release parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Release parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Release parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Release parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Release parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Release parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Release parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Release parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Release.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Release.Builder newBuilder()
-
newBuilder
public static Release.Builder newBuilder(Release prototype)
-
toBuilder
public Release.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Release.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Release getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Release> parser()
-
getParserForType
public com.google.protobuf.Parser<Release> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Release getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-