Package io.grafeas.v1beta1.build
Interface DetailsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Details
,Details.Builder
public interface DetailsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BuildProvenance
getProvenance()
Required.String
getProvenanceBytes()
Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note.com.google.protobuf.ByteString
getProvenanceBytesBytes()
Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note.BuildProvenanceOrBuilder
getProvenanceOrBuilder()
Required.boolean
hasProvenance()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasProvenance
boolean hasProvenance()
Required. The actual provenance for the build.
.grafeas.v1beta1.provenance.BuildProvenance provenance = 1;
- Returns:
- Whether the provenance field is set.
-
getProvenance
BuildProvenance getProvenance()
Required. The actual provenance for the build.
.grafeas.v1beta1.provenance.BuildProvenance provenance = 1;
- Returns:
- The provenance.
-
getProvenanceOrBuilder
BuildProvenanceOrBuilder getProvenanceOrBuilder()
Required. The actual provenance for the build.
.grafeas.v1beta1.provenance.BuildProvenance provenance = 1;
-
getProvenanceBytes
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:
- The provenanceBytes.
-
getProvenanceBytesBytes
com.google.protobuf.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:
- The bytes for provenanceBytes.
-
-