Package io.grafeas.v1beta1.provenance
Interface ArtifactOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Artifact,Artifact.Builder
@Generated
public interface ArtifactOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionHash or checksum value of a binary, or Docker Registry 2.0 digest of a container.com.google.protobuf.ByteStringHash or checksum value of a binary, or Docker Registry 2.0 digest of a container.getId()Artifact ID, if any; for container images, this will be a URL by digest like `gcr.io/projectID/imagename@sha256:123456`.com.google.protobuf.ByteStringArtifact ID, if any; for container images, this will be a URL by digest like `gcr.io/projectID/imagename@sha256:123456`.getNames(int index) Related artifact names.com.google.protobuf.ByteStringgetNamesBytes(int index) Related artifact names.intRelated artifact names.Related artifact names.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getChecksum
String getChecksum()Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
string checksum = 1;- Returns:
- The checksum.
-
getChecksumBytes
com.google.protobuf.ByteString getChecksumBytes()Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
string checksum = 1;- Returns:
- The bytes for checksum.
-
getId
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:
- The id.
-
getIdBytes
com.google.protobuf.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:
- The bytes for id.
-
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:
- A list containing the names.
-
getNamesCount
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:
- The count of names.
-
getNames
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;- Parameters:
index- The index of the element to return.- Returns:
- The names at the given index.
-
getNamesBytes
com.google.protobuf.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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the names at the given index.
-