public interface ArtifactOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
List<String> |
A list containing the names. |