Package io.grafeas.v1beta1.provenance
Interface SourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Source,Source.Builder
@Generated
public interface SourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsFileHashes(String key) Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build.getAdditionalContexts(int index) If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules.intIf provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules.If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules.getAdditionalContextsOrBuilder(int index) If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules.List<? extends SourceContextOrBuilder>If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules.If provided, the input binary artifacts for the build came from this location.com.google.protobuf.ByteStringIf provided, the input binary artifacts for the build came from this location.If provided, the source code used for the build came from this location.If provided, the source code used for the build came from this location.Deprecated.intHash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build.Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build.getFileHashesOrDefault(String key, FileHashes defaultValue) Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build.Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build.booleanIf provided, the source code used for the build came from this location.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
-
getArtifactStorageSourceUri
String getArtifactStorageSourceUri()If provided, the input binary artifacts for the build came from this location.
string artifact_storage_source_uri = 1;- Returns:
- The artifactStorageSourceUri.
-
getArtifactStorageSourceUriBytes
com.google.protobuf.ByteString getArtifactStorageSourceUriBytes()If provided, the input binary artifacts for the build came from this location.
string artifact_storage_source_uri = 1;- Returns:
- The bytes for artifactStorageSourceUri.
-
getFileHashesCount
int getFileHashesCount()Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.
map<string, .grafeas.v1beta1.provenance.FileHashes> file_hashes = 2; -
containsFileHashes
Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.
map<string, .grafeas.v1beta1.provenance.FileHashes> file_hashes = 2; -
getFileHashes
Deprecated.UsegetFileHashesMap()instead. -
getFileHashesMap
Map<String,FileHashes> getFileHashesMap()Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.
map<string, .grafeas.v1beta1.provenance.FileHashes> file_hashes = 2; -
getFileHashesOrDefault
Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.
map<string, .grafeas.v1beta1.provenance.FileHashes> file_hashes = 2; -
getFileHashesOrThrow
Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.
map<string, .grafeas.v1beta1.provenance.FileHashes> file_hashes = 2; -
hasContext
boolean hasContext()If provided, the source code used for the build came from this location.
.grafeas.v1beta1.source.SourceContext context = 3;- Returns:
- Whether the context field is set.
-
getContext
SourceContext getContext()If provided, the source code used for the build came from this location.
.grafeas.v1beta1.source.SourceContext context = 3;- Returns:
- The context.
-
getContextOrBuilder
SourceContextOrBuilder getContextOrBuilder()If provided, the source code used for the build came from this location.
.grafeas.v1beta1.source.SourceContext context = 3; -
getAdditionalContextsList
List<SourceContext> getAdditionalContextsList()If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.
repeated .grafeas.v1beta1.source.SourceContext additional_contexts = 4; -
getAdditionalContexts
If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.
repeated .grafeas.v1beta1.source.SourceContext additional_contexts = 4; -
getAdditionalContextsCount
int getAdditionalContextsCount()If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.
repeated .grafeas.v1beta1.source.SourceContext additional_contexts = 4; -
getAdditionalContextsOrBuilderList
List<? extends SourceContextOrBuilder> getAdditionalContextsOrBuilderList()If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.
repeated .grafeas.v1beta1.source.SourceContext additional_contexts = 4; -
getAdditionalContextsOrBuilder
If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.
repeated .grafeas.v1beta1.source.SourceContext additional_contexts = 4;
-