Interface DetailsOrBuilder (2.13.0)

public interface DetailsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getProvenance()

public abstract BuildProvenance getProvenance()

Required. The actual provenance for the build.

.grafeas.v1beta1.provenance.BuildProvenance provenance = 1;

Returns
TypeDescription
BuildProvenance

The provenance.

getProvenanceBytes()

public abstract String getProvenanceBytes()

Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. After verifying the signature, provenance_bytes can be unmarshalled and compared to the provenance to confirm that it is unchanged. A base64-encoded string representation of the provenance bytes is used for the signature in order to interoperate with openssl which expects this format for signature verification. The serialized form is captured both to avoid ambiguity in how the provenance is marshalled to json as well to prevent incompatibilities with future changes.

string provenance_bytes = 2;

Returns
TypeDescription
String

The provenanceBytes.

getProvenanceBytesBytes()

public abstract ByteString getProvenanceBytesBytes()

Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. After verifying the signature, provenance_bytes can be unmarshalled and compared to the provenance to confirm that it is unchanged. A base64-encoded string representation of the provenance bytes is used for the signature in order to interoperate with openssl which expects this format for signature verification. The serialized form is captured both to avoid ambiguity in how the provenance is marshalled to json as well to prevent incompatibilities with future changes.

string provenance_bytes = 2;

Returns
TypeDescription
ByteString

The bytes for provenanceBytes.

getProvenanceOrBuilder()

public abstract BuildProvenanceOrBuilder getProvenanceOrBuilder()

Required. The actual provenance for the build.

.grafeas.v1beta1.provenance.BuildProvenance provenance = 1;

Returns
TypeDescription
BuildProvenanceOrBuilder

hasProvenance()

public abstract boolean hasProvenance()

Required. The actual provenance for the build.

.grafeas.v1beta1.provenance.BuildProvenance provenance = 1;

Returns
TypeDescription
boolean

Whether the provenance field is set.