- 2.53.0 (latest)
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.10
- 2.3.1
- 2.2.16
public interface SourceOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsFileHashes(String key)
public abstract boolean containsFileHashes(String key)
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;
Name | Description |
key | String |
Type | Description |
boolean |
getAdditionalContexts(int index)
public abstract SourceContext 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. This list will not include the context specified in the context field.
repeated .grafeas.v1beta1.source.SourceContext additional_contexts = 4;
Name | Description |
index | int |
Type | Description |
SourceContext |
getAdditionalContextsCount()
public abstract 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;
Type | Description |
int |
getAdditionalContextsList()
public abstract 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;
Type | Description |
List<SourceContext> |
getAdditionalContextsOrBuilder(int index)
public abstract SourceContextOrBuilder 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. This list will not include the context specified in the context field.
repeated .grafeas.v1beta1.source.SourceContext additional_contexts = 4;
Name | Description |
index | int |
Type | Description |
SourceContextOrBuilder |
getAdditionalContextsOrBuilderList()
public abstract 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;
Type | Description |
List<? extends io.grafeas.v1beta1.source.SourceContextOrBuilder> |
getArtifactStorageSourceUri()
public abstract String getArtifactStorageSourceUri()
If provided, the input binary artifacts for the build came from this location.
string artifact_storage_source_uri = 1;
Type | Description |
String | The artifactStorageSourceUri. |
getArtifactStorageSourceUriBytes()
public abstract ByteString getArtifactStorageSourceUriBytes()
If provided, the input binary artifacts for the build came from this location.
string artifact_storage_source_uri = 1;
Type | Description |
ByteString | The bytes for artifactStorageSourceUri. |
getContext()
public abstract SourceContext getContext()
If provided, the source code used for the build came from this location.
.grafeas.v1beta1.source.SourceContext context = 3;
Type | Description |
SourceContext | The context. |
getContextOrBuilder()
public abstract SourceContextOrBuilder getContextOrBuilder()
If provided, the source code used for the build came from this location.
.grafeas.v1beta1.source.SourceContext context = 3;
Type | Description |
SourceContextOrBuilder |
getFileHashes()
public abstract Map<String,FileHashes> getFileHashes()
Use #getFileHashesMap() instead.
Type | Description |
Map<String,FileHashes> |
getFileHashesCount()
public abstract 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;
Type | Description |
int |
getFileHashesMap()
public abstract 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;
Type | Description |
Map<String,FileHashes> |
getFileHashesOrDefault(String key, FileHashes defaultValue)
public abstract FileHashes 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. 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;
Name | Description |
key | String |
defaultValue | FileHashes |
Type | Description |
FileHashes |
getFileHashesOrThrow(String key)
public abstract FileHashes getFileHashesOrThrow(String key)
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;
Name | Description |
key | String |
Type | Description |
FileHashes |
hasContext()
public abstract boolean hasContext()
If provided, the source code used for the build came from this location.
.grafeas.v1beta1.source.SourceContext context = 3;
Type | Description |
boolean | Whether the context field is set. |