public static final class ArtifactDeployment.Builder extends GeneratedMessage.Builder<ArtifactDeployment.Builder> implements ArtifactDeploymentOrBuilderThe ArtifactDeployment resource represents the deployment of the artifact within the InsightsConfig resource.
Protobuf type google.cloud.developerconnect.v1.ArtifactDeployment
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ArtifactDeployment.BuilderImplements
ArtifactDeploymentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllSourceCommitUris(Iterable<String> values)
public ArtifactDeployment.Builder addAllSourceCommitUris(Iterable<String> values)Output only. The source commits at which this artifact was built. Extracted from provenance.
repeated string source_commit_uris = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The sourceCommitUris to add. |
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
This builder for chaining. |
addSourceCommitUris(String value)
public ArtifactDeployment.Builder addSourceCommitUris(String value)Output only. The source commits at which this artifact was built. Extracted from provenance.
repeated string source_commit_uris = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sourceCommitUris to add. |
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
This builder for chaining. |
addSourceCommitUrisBytes(ByteString value)
public ArtifactDeployment.Builder addSourceCommitUrisBytes(ByteString value)Output only. The source commits at which this artifact was built. Extracted from provenance.
repeated string source_commit_uris = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the sourceCommitUris to add. |
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
This builder for chaining. |
build()
public ArtifactDeployment build()| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment |
|
buildPartial()
public ArtifactDeployment buildPartial()| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment |
|
clear()
public ArtifactDeployment.Builder clear()| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
|
clearArtifactAlias()
public ArtifactDeployment.Builder clearArtifactAlias()Output only. The artifact alias in the deployment spec, with Tag/SHA. e.g. us-docker.pkg.dev/my-project/my-repo/image:1.0.0
string artifact_alias = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
This builder for chaining. |
clearArtifactReference()
public ArtifactDeployment.Builder clearArtifactReference()Output only. The artifact that is deployed.
string artifact_reference = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
This builder for chaining. |
clearContainerStatusSummary()
public ArtifactDeployment.Builder clearContainerStatusSummary() Output only. The summary of container status of the artifact deployment.
Format as ContainerStatusState-Reason : restartCount
e.g. "Waiting-ImagePullBackOff : 3"
string container_status_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
This builder for chaining. |
clearDeployTime()
public ArtifactDeployment.Builder clearDeployTime()Output only. The time at which the deployment was deployed.
.google.protobuf.Timestamp deploy_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
|
clearId()
public ArtifactDeployment.Builder clearId() Output only. Unique identifier of ArtifactDeployment.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
This builder for chaining. |
clearSourceCommitUris()
public ArtifactDeployment.Builder clearSourceCommitUris()Output only. The source commits at which this artifact was built. Extracted from provenance.
repeated string source_commit_uris = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
This builder for chaining. |
clearUndeployTime()
public ArtifactDeployment.Builder clearUndeployTime()Output only. The time at which the deployment was undeployed, all artifacts are considered undeployed once this time is set.
.google.protobuf.Timestamp undeploy_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
|
getArtifactAlias()
public String getArtifactAlias()Output only. The artifact alias in the deployment spec, with Tag/SHA. e.g. us-docker.pkg.dev/my-project/my-repo/image:1.0.0
string artifact_alias = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The artifactAlias. |
getArtifactAliasBytes()
public ByteString getArtifactAliasBytes()Output only. The artifact alias in the deployment spec, with Tag/SHA. e.g. us-docker.pkg.dev/my-project/my-repo/image:1.0.0
string artifact_alias = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for artifactAlias. |
getArtifactReference()
public String getArtifactReference()Output only. The artifact that is deployed.
string artifact_reference = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The artifactReference. |
getArtifactReferenceBytes()
public ByteString getArtifactReferenceBytes()Output only. The artifact that is deployed.
string artifact_reference = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for artifactReference. |
getContainerStatusSummary()
public String getContainerStatusSummary() Output only. The summary of container status of the artifact deployment.
Format as ContainerStatusState-Reason : restartCount
e.g. "Waiting-ImagePullBackOff : 3"
string container_status_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The containerStatusSummary. |
getContainerStatusSummaryBytes()
public ByteString getContainerStatusSummaryBytes() Output only. The summary of container status of the artifact deployment.
Format as ContainerStatusState-Reason : restartCount
e.g. "Waiting-ImagePullBackOff : 3"
string container_status_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for containerStatusSummary. |
getDefaultInstanceForType()
public ArtifactDeployment getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment |
|
getDeployTime()
public Timestamp getDeployTime()Output only. The time at which the deployment was deployed.
.google.protobuf.Timestamp deploy_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The deployTime. |
getDeployTimeBuilder()
public Timestamp.Builder getDeployTimeBuilder()Output only. The time at which the deployment was deployed.
.google.protobuf.Timestamp deploy_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getDeployTimeOrBuilder()
public TimestampOrBuilder getDeployTimeOrBuilder()Output only. The time at which the deployment was deployed.
.google.protobuf.Timestamp deploy_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getId()
public String getId() Output only. Unique identifier of ArtifactDeployment.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The id. |
getIdBytes()
public ByteString getIdBytes() Output only. Unique identifier of ArtifactDeployment.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for id. |
getSourceCommitUris(int index)
public String getSourceCommitUris(int index)Output only. The source commits at which this artifact was built. Extracted from provenance.
repeated string source_commit_uris = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The sourceCommitUris at the given index. |
getSourceCommitUrisBytes(int index)
public ByteString getSourceCommitUrisBytes(int index)Output only. The source commits at which this artifact was built. Extracted from provenance.
repeated string source_commit_uris = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the sourceCommitUris at the given index. |
getSourceCommitUrisCount()
public int getSourceCommitUrisCount()Output only. The source commits at which this artifact was built. Extracted from provenance.
repeated string source_commit_uris = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The count of sourceCommitUris. |
getSourceCommitUrisList()
public ProtocolStringList getSourceCommitUrisList()Output only. The source commits at which this artifact was built. Extracted from provenance.
repeated string source_commit_uris = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the sourceCommitUris. |
getUndeployTime()
public Timestamp getUndeployTime()Output only. The time at which the deployment was undeployed, all artifacts are considered undeployed once this time is set.
.google.protobuf.Timestamp undeploy_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The undeployTime. |
getUndeployTimeBuilder()
public Timestamp.Builder getUndeployTimeBuilder()Output only. The time at which the deployment was undeployed, all artifacts are considered undeployed once this time is set.
.google.protobuf.Timestamp undeploy_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUndeployTimeOrBuilder()
public TimestampOrBuilder getUndeployTimeOrBuilder()Output only. The time at which the deployment was undeployed, all artifacts are considered undeployed once this time is set.
.google.protobuf.Timestamp undeploy_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasDeployTime()
public boolean hasDeployTime()Output only. The time at which the deployment was deployed.
.google.protobuf.Timestamp deploy_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the deployTime field is set. |
hasUndeployTime()
public boolean hasUndeployTime()Output only. The time at which the deployment was undeployed, all artifacts are considered undeployed once this time is set.
.google.protobuf.Timestamp undeploy_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the undeployTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDeployTime(Timestamp value)
public ArtifactDeployment.Builder mergeDeployTime(Timestamp value)Output only. The time at which the deployment was deployed.
.google.protobuf.Timestamp deploy_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
|
mergeFrom(ArtifactDeployment other)
public ArtifactDeployment.Builder mergeFrom(ArtifactDeployment other)| Parameter | |
|---|---|
| Name | Description |
other |
ArtifactDeployment |
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ArtifactDeployment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ArtifactDeployment.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
|
mergeUndeployTime(Timestamp value)
public ArtifactDeployment.Builder mergeUndeployTime(Timestamp value)Output only. The time at which the deployment was undeployed, all artifacts are considered undeployed once this time is set.
.google.protobuf.Timestamp undeploy_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
|
setArtifactAlias(String value)
public ArtifactDeployment.Builder setArtifactAlias(String value)Output only. The artifact alias in the deployment spec, with Tag/SHA. e.g. us-docker.pkg.dev/my-project/my-repo/image:1.0.0
string artifact_alias = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe artifactAlias to set. |
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
This builder for chaining. |
setArtifactAliasBytes(ByteString value)
public ArtifactDeployment.Builder setArtifactAliasBytes(ByteString value)Output only. The artifact alias in the deployment spec, with Tag/SHA. e.g. us-docker.pkg.dev/my-project/my-repo/image:1.0.0
string artifact_alias = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for artifactAlias to set. |
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
This builder for chaining. |
setArtifactReference(String value)
public ArtifactDeployment.Builder setArtifactReference(String value)Output only. The artifact that is deployed.
string artifact_reference = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe artifactReference to set. |
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
This builder for chaining. |
setArtifactReferenceBytes(ByteString value)
public ArtifactDeployment.Builder setArtifactReferenceBytes(ByteString value)Output only. The artifact that is deployed.
string artifact_reference = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for artifactReference to set. |
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
This builder for chaining. |
setContainerStatusSummary(String value)
public ArtifactDeployment.Builder setContainerStatusSummary(String value) Output only. The summary of container status of the artifact deployment.
Format as ContainerStatusState-Reason : restartCount
e.g. "Waiting-ImagePullBackOff : 3"
string container_status_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe containerStatusSummary to set. |
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
This builder for chaining. |
setContainerStatusSummaryBytes(ByteString value)
public ArtifactDeployment.Builder setContainerStatusSummaryBytes(ByteString value) Output only. The summary of container status of the artifact deployment.
Format as ContainerStatusState-Reason : restartCount
e.g. "Waiting-ImagePullBackOff : 3"
string container_status_summary = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for containerStatusSummary to set. |
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
This builder for chaining. |
setDeployTime(Timestamp value)
public ArtifactDeployment.Builder setDeployTime(Timestamp value)Output only. The time at which the deployment was deployed.
.google.protobuf.Timestamp deploy_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
|
setDeployTime(Timestamp.Builder builderForValue)
public ArtifactDeployment.Builder setDeployTime(Timestamp.Builder builderForValue)Output only. The time at which the deployment was deployed.
.google.protobuf.Timestamp deploy_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
|
setId(String value)
public ArtifactDeployment.Builder setId(String value) Output only. Unique identifier of ArtifactDeployment.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public ArtifactDeployment.Builder setIdBytes(ByteString value) Output only. Unique identifier of ArtifactDeployment.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
This builder for chaining. |
setSourceCommitUris(int index, String value)
public ArtifactDeployment.Builder setSourceCommitUris(int index, String value)Output only. The source commits at which this artifact was built. Extracted from provenance.
repeated string source_commit_uris = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe sourceCommitUris to set. |
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
This builder for chaining. |
setUndeployTime(Timestamp value)
public ArtifactDeployment.Builder setUndeployTime(Timestamp value)Output only. The time at which the deployment was undeployed, all artifacts are considered undeployed once this time is set.
.google.protobuf.Timestamp undeploy_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
|
setUndeployTime(Timestamp.Builder builderForValue)
public ArtifactDeployment.Builder setUndeployTime(Timestamp.Builder builderForValue)Output only. The time at which the deployment was undeployed, all artifacts are considered undeployed once this time is set.
.google.protobuf.Timestamp undeploy_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
ArtifactDeployment.Builder |
|