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 com.google.protobuf.ByteString
getArtifact()
The raw bytes of the artifactHashOutput
getArtifactDigest()
Digest of the artifact.HashOutputOrBuilder
getArtifactDigestOrBuilder()
Digest of the artifact.java.lang.String
getArtifactUri()
Location of the artifactcom.google.protobuf.ByteString
getArtifactUriBytes()
Location of the artifactArtifact.DataCase
getDataCase()
boolean
hasArtifact()
The raw bytes of the artifactboolean
hasArtifactDigest()
Digest of the artifact.boolean
hasArtifactUri()
Location of the artifact-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasArtifactUri
boolean hasArtifactUri()
Location of the artifact
string artifact_uri = 1;
- Returns:
- Whether the artifactUri field is set.
-
getArtifactUri
java.lang.String getArtifactUri()
Location of the artifact
string artifact_uri = 1;
- Returns:
- The artifactUri.
-
getArtifactUriBytes
com.google.protobuf.ByteString getArtifactUriBytes()
Location of the artifact
string artifact_uri = 1;
- Returns:
- The bytes for artifactUri.
-
hasArtifact
boolean hasArtifact()
The raw bytes of the artifact
bytes artifact = 2;
- Returns:
- Whether the artifact field is set.
-
getArtifact
com.google.protobuf.ByteString getArtifact()
The raw bytes of the artifact
bytes artifact = 2;
- Returns:
- The artifact.
-
hasArtifactDigest
boolean hasArtifactDigest()
Digest of the artifact. SHOULD NOT be used when verifying an in-toto attestation as the subject digest cannot be reconstructed. This option will not work with Ed25519 signatures, use Ed25519Ph or another algorithm instead.
.dev.sigstore.common.v1.HashOutput artifact_digest = 3;
- Returns:
- Whether the artifactDigest field is set.
-
getArtifactDigest
HashOutput getArtifactDigest()
Digest of the artifact. SHOULD NOT be used when verifying an in-toto attestation as the subject digest cannot be reconstructed. This option will not work with Ed25519 signatures, use Ed25519Ph or another algorithm instead.
.dev.sigstore.common.v1.HashOutput artifact_digest = 3;
- Returns:
- The artifactDigest.
-
getArtifactDigestOrBuilder
HashOutputOrBuilder getArtifactDigestOrBuilder()
Digest of the artifact. SHOULD NOT be used when verifying an in-toto attestation as the subject digest cannot be reconstructed. This option will not work with Ed25519 signatures, use Ed25519Ph or another algorithm instead.
.dev.sigstore.common.v1.HashOutput artifact_digest = 3;
-
getDataCase
Artifact.DataCase getDataCase()
-
-