public interface SourceOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
String |
getArtifactStorageSourceUri()
If provided, the input binary artifacts for the build came from this
location.
|
ByteString |
getArtifactStorageSourceUriBytes()
If provided, the input binary artifacts for the build came from this
location.
|
SourceContext |
getContext()
If provided, the source code used for the build came from this location.
|
SourceContextOrBuilder |
getContextOrBuilder()
If provided, the source code used for the build came from this location.
|
Map<String,FileHashes> |
getFileHashes()
Deprecated.
|
int |
getFileHashesCount()
Hash(es) of the build source, which can be used to verify that the original
source integrity was maintained in the build.
|
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.
|
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.
|
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.
|
boolean |
hasContext()
If provided, the source code used for the build came from this location.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getArtifactStorageSourceUri()
If provided, the input binary artifacts for the build came from this location.
string artifact_storage_source_uri = 1;
ByteString getArtifactStorageSourceUriBytes()
If provided, the input binary artifacts for the build came from this location.
string artifact_storage_source_uri = 1;
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.v1.FileHashes> file_hashes = 2;
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.v1.FileHashes> file_hashes = 2;
@Deprecated Map<String,FileHashes> getFileHashes()
getFileHashesMap()
instead.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.v1.FileHashes> file_hashes = 2;
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.v1.FileHashes> file_hashes = 2;
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.v1.FileHashes> file_hashes = 2;
boolean hasContext()
If provided, the source code used for the build came from this location.
.grafeas.v1.SourceContext context = 3;
SourceContext getContext()
If provided, the source code used for the build came from this location.
.grafeas.v1.SourceContext context = 3;
SourceContextOrBuilder getContextOrBuilder()
If provided, the source code used for the build came from this location.
.grafeas.v1.SourceContext context = 3;
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.v1.SourceContext additional_contexts = 4;
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.v1.SourceContext additional_contexts = 4;
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.v1.SourceContext additional_contexts = 4;
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.v1.SourceContext additional_contexts = 4;
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.v1.SourceContext additional_contexts = 4;
Copyright © 2019 Google LLC. All rights reserved.