Class ArtifactDeployment (0.44.0)

public final class ArtifactDeployment extends GeneratedMessage implements ArtifactDeploymentOrBuilder

The ArtifactDeployment resource represents the deployment of the artifact within the InsightsConfig resource.

Protobuf type google.cloud.developerconnect.v1.ArtifactDeployment

Static Fields

ARTIFACT_ALIAS_FIELD_NUMBER

public static final int ARTIFACT_ALIAS_FIELD_NUMBER
Field Value
Type Description
int

ARTIFACT_REFERENCE_FIELD_NUMBER

public static final int ARTIFACT_REFERENCE_FIELD_NUMBER
Field Value
Type Description
int

CONTAINER_STATUS_SUMMARY_FIELD_NUMBER

public static final int CONTAINER_STATUS_SUMMARY_FIELD_NUMBER
Field Value
Type Description
int

DEPLOY_TIME_FIELD_NUMBER

public static final int DEPLOY_TIME_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_COMMIT_URIS_FIELD_NUMBER

public static final int SOURCE_COMMIT_URIS_FIELD_NUMBER
Field Value
Type Description
int

UNDEPLOY_TIME_FIELD_NUMBER

public static final int UNDEPLOY_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ArtifactDeployment getDefaultInstance()
Returns
Type Description
ArtifactDeployment

getDescriptor()

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

newBuilder()

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

newBuilder(ArtifactDeployment prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

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.

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

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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 int

The 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 int

The 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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ArtifactDeployment.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ArtifactDeployment.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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