Package io.grafeas.v1beta1.provenance
Interface ArtifactOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Artifact
,Artifact.Builder
public interface ArtifactOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getChecksum()
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.com.google.protobuf.ByteString
getChecksumBytes()
Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.String
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.ByteString
getIdBytes()
Artifact ID, if any; for container images, this will be a URL by digest like `gcr.io/projectID/imagename@sha256:123456`.String
getNames(int index)
Related artifact names.com.google.protobuf.ByteString
getNamesBytes(int index)
Related artifact names.int
getNamesCount()
Related artifact names.List<String>
getNamesList()
Related artifact names.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
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:
- 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
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;
- 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.
-
-