Interface ArtifactOrBuilder (2.24.0)

public interface ArtifactOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChecksum()

public abstract String getChecksum()

Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.

string checksum = 1;

Returns
TypeDescription
String

The checksum.

getChecksumBytes()

public abstract ByteString getChecksumBytes()

Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.

string checksum = 1;

Returns
TypeDescription
ByteString

The bytes for checksum.

getId()

public abstract String getId()

Artifact ID, if any; for container images, this will be a URL by digest like gcr.io/projectID/imagename@sha256:123456.

string id = 2;

Returns
TypeDescription
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

Artifact ID, if any; for container images, this will be a URL by digest like gcr.io/projectID/imagename@sha256:123456.

string id = 2;

Returns
TypeDescription
ByteString

The bytes for id.

getNames(int index)

public abstract String getNames(int index)

Related artifact names. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to docker push. Note that a single Artifact ID can have multiple names, for example if two tags are applied to one image.

repeated string names = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The names at the given index.

getNamesBytes(int index)

public abstract ByteString getNamesBytes(int index)

Related artifact names. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to docker push. Note that a single Artifact ID can have multiple names, for example if two tags are applied to one image.

repeated string names = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the names at the given index.

getNamesCount()

public abstract int getNamesCount()

Related artifact names. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to docker push. Note that a single Artifact ID can have multiple names, for example if two tags are applied to one image.

repeated string names = 3;

Returns
TypeDescription
int

The count of names.

getNamesList()

public abstract List<String> getNamesList()

Related artifact names. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to docker push. Note that a single Artifact ID can have multiple names, for example if two tags are applied to one image.

repeated string names = 3;

Returns
TypeDescription
List<String>

A list containing the names.