Package com.google.cloudbuild.v1
Class SourceProvenance.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SourceProvenance.Builder>
com.google.cloudbuild.v1.SourceProvenance.Builder
- All Implemented Interfaces:
SourceProvenanceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SourceProvenance
public static final class SourceProvenance.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SourceProvenance.Builder>
implements SourceProvenanceOrBuilder
Provenance of the source. Ways to find the original source, or verify that some source was used for this build.Protobuf type
google.devtools.cloudbuild.v1.SourceProvenance-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.A copy of the build's `source.repo_source`, if exists, with any revisions resolved.A copy of the build's `source.storage_source`, if exists, with any generations resolved.A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved.booleancontainsFileHashes(String key) Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDeprecated.intOutput only.Output only.getFileHashesOrDefault(String key, FileHashes defaultValue) Output only.Output only.Deprecated.Output only.Output only.Output only.Output only.Output only.Output only.A copy of the build's `source.repo_source`, if exists, with any revisions resolved.A copy of the build's `source.repo_source`, if exists, with any revisions resolved.A copy of the build's `source.repo_source`, if exists, with any revisions resolved.A copy of the build's `source.storage_source`, if exists, with any generations resolved.A copy of the build's `source.storage_source`, if exists, with any generations resolved.A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved.A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved.A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved.A copy of the build's `source.storage_source`, if exists, with any generations resolved.booleanOutput only.booleanOutput only.booleanA copy of the build's `source.repo_source`, if exists, with any revisions resolved.booleanA copy of the build's `source.storage_source`, if exists, with any generations resolved.booleanA copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(SourceProvenance other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.mergeResolvedGitSource(GitSource value) Output only.A copy of the build's `source.repo_source`, if exists, with any revisions resolved.A copy of the build's `source.storage_source`, if exists, with any generations resolved.A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved.putAllFileHashes(Map<String, FileHashes> values) Output only.putFileHashes(String key, FileHashes value) Output only.Output only.removeFileHashes(String key) Output only.Output only.setResolvedConnectedRepository(ConnectedRepository.Builder builderForValue) Output only.setResolvedGitSource(GitSource value) Output only.setResolvedGitSource(GitSource.Builder builderForValue) Output only.setResolvedRepoSource(RepoSource value) A copy of the build's `source.repo_source`, if exists, with any revisions resolved.setResolvedRepoSource(RepoSource.Builder builderForValue) A copy of the build's `source.repo_source`, if exists, with any revisions resolved.A copy of the build's `source.storage_source`, if exists, with any generations resolved.setResolvedStorageSource(StorageSource.Builder builderForValue) A copy of the build's `source.storage_source`, if exists, with any generations resolved.A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved.setResolvedStorageSourceManifest(StorageSourceManifest.Builder builderForValue) A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<SourceProvenance.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<SourceProvenance.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SourceProvenance.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SourceProvenance.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SourceProvenance.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SourceProvenance.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SourceProvenance.Builder>
-
mergeFrom
public SourceProvenance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SourceProvenance.Builder>- Throws:
IOException
-
hasResolvedStorageSource
public boolean hasResolvedStorageSource()A copy of the build's `source.storage_source`, if exists, with any generations resolved.
.google.devtools.cloudbuild.v1.StorageSource resolved_storage_source = 3;- Specified by:
hasResolvedStorageSourcein interfaceSourceProvenanceOrBuilder- Returns:
- Whether the resolvedStorageSource field is set.
-
getResolvedStorageSource
A copy of the build's `source.storage_source`, if exists, with any generations resolved.
.google.devtools.cloudbuild.v1.StorageSource resolved_storage_source = 3;- Specified by:
getResolvedStorageSourcein interfaceSourceProvenanceOrBuilder- Returns:
- The resolvedStorageSource.
-
setResolvedStorageSource
A copy of the build's `source.storage_source`, if exists, with any generations resolved.
.google.devtools.cloudbuild.v1.StorageSource resolved_storage_source = 3; -
setResolvedStorageSource
A copy of the build's `source.storage_source`, if exists, with any generations resolved.
.google.devtools.cloudbuild.v1.StorageSource resolved_storage_source = 3; -
mergeResolvedStorageSource
A copy of the build's `source.storage_source`, if exists, with any generations resolved.
.google.devtools.cloudbuild.v1.StorageSource resolved_storage_source = 3; -
clearResolvedStorageSource
A copy of the build's `source.storage_source`, if exists, with any generations resolved.
.google.devtools.cloudbuild.v1.StorageSource resolved_storage_source = 3; -
getResolvedStorageSourceBuilder
A copy of the build's `source.storage_source`, if exists, with any generations resolved.
.google.devtools.cloudbuild.v1.StorageSource resolved_storage_source = 3; -
getResolvedStorageSourceOrBuilder
A copy of the build's `source.storage_source`, if exists, with any generations resolved.
.google.devtools.cloudbuild.v1.StorageSource resolved_storage_source = 3;- Specified by:
getResolvedStorageSourceOrBuilderin interfaceSourceProvenanceOrBuilder
-
hasResolvedRepoSource
public boolean hasResolvedRepoSource()A copy of the build's `source.repo_source`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.RepoSource resolved_repo_source = 6;- Specified by:
hasResolvedRepoSourcein interfaceSourceProvenanceOrBuilder- Returns:
- Whether the resolvedRepoSource field is set.
-
getResolvedRepoSource
A copy of the build's `source.repo_source`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.RepoSource resolved_repo_source = 6;- Specified by:
getResolvedRepoSourcein interfaceSourceProvenanceOrBuilder- Returns:
- The resolvedRepoSource.
-
setResolvedRepoSource
A copy of the build's `source.repo_source`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.RepoSource resolved_repo_source = 6; -
setResolvedRepoSource
A copy of the build's `source.repo_source`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.RepoSource resolved_repo_source = 6; -
mergeResolvedRepoSource
A copy of the build's `source.repo_source`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.RepoSource resolved_repo_source = 6; -
clearResolvedRepoSource
A copy of the build's `source.repo_source`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.RepoSource resolved_repo_source = 6; -
getResolvedRepoSourceBuilder
A copy of the build's `source.repo_source`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.RepoSource resolved_repo_source = 6; -
getResolvedRepoSourceOrBuilder
A copy of the build's `source.repo_source`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.RepoSource resolved_repo_source = 6;- Specified by:
getResolvedRepoSourceOrBuilderin interfaceSourceProvenanceOrBuilder
-
hasResolvedStorageSourceManifest
public boolean hasResolvedStorageSourceManifest()A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview.
.google.devtools.cloudbuild.v1.StorageSourceManifest resolved_storage_source_manifest = 9;- Specified by:
hasResolvedStorageSourceManifestin interfaceSourceProvenanceOrBuilder- Returns:
- Whether the resolvedStorageSourceManifest field is set.
-
getResolvedStorageSourceManifest
A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview.
.google.devtools.cloudbuild.v1.StorageSourceManifest resolved_storage_source_manifest = 9;- Specified by:
getResolvedStorageSourceManifestin interfaceSourceProvenanceOrBuilder- Returns:
- The resolvedStorageSourceManifest.
-
setResolvedStorageSourceManifest
A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview.
.google.devtools.cloudbuild.v1.StorageSourceManifest resolved_storage_source_manifest = 9; -
setResolvedStorageSourceManifest
public SourceProvenance.Builder setResolvedStorageSourceManifest(StorageSourceManifest.Builder builderForValue) A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview.
.google.devtools.cloudbuild.v1.StorageSourceManifest resolved_storage_source_manifest = 9; -
mergeResolvedStorageSourceManifest
A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview.
.google.devtools.cloudbuild.v1.StorageSourceManifest resolved_storage_source_manifest = 9; -
clearResolvedStorageSourceManifest
A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview.
.google.devtools.cloudbuild.v1.StorageSourceManifest resolved_storage_source_manifest = 9; -
getResolvedStorageSourceManifestBuilder
A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview.
.google.devtools.cloudbuild.v1.StorageSourceManifest resolved_storage_source_manifest = 9; -
getResolvedStorageSourceManifestOrBuilder
A copy of the build's `source.storage_source_manifest`, if exists, with any revisions resolved. This feature is in Preview.
.google.devtools.cloudbuild.v1.StorageSourceManifest resolved_storage_source_manifest = 9;- Specified by:
getResolvedStorageSourceManifestOrBuilderin interfaceSourceProvenanceOrBuilder
-
hasResolvedConnectedRepository
public boolean hasResolvedConnectedRepository()Output only. A copy of the build's `source.connected_repository`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.ConnectedRepository resolved_connected_repository = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasResolvedConnectedRepositoryin interfaceSourceProvenanceOrBuilder- Returns:
- Whether the resolvedConnectedRepository field is set.
-
getResolvedConnectedRepository
Output only. A copy of the build's `source.connected_repository`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.ConnectedRepository resolved_connected_repository = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResolvedConnectedRepositoryin interfaceSourceProvenanceOrBuilder- Returns:
- The resolvedConnectedRepository.
-
setResolvedConnectedRepository
Output only. A copy of the build's `source.connected_repository`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.ConnectedRepository resolved_connected_repository = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setResolvedConnectedRepository
public SourceProvenance.Builder setResolvedConnectedRepository(ConnectedRepository.Builder builderForValue) Output only. A copy of the build's `source.connected_repository`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.ConnectedRepository resolved_connected_repository = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeResolvedConnectedRepository
Output only. A copy of the build's `source.connected_repository`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.ConnectedRepository resolved_connected_repository = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearResolvedConnectedRepository
Output only. A copy of the build's `source.connected_repository`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.ConnectedRepository resolved_connected_repository = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getResolvedConnectedRepositoryBuilder
Output only. A copy of the build's `source.connected_repository`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.ConnectedRepository resolved_connected_repository = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getResolvedConnectedRepositoryOrBuilder
Output only. A copy of the build's `source.connected_repository`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.ConnectedRepository resolved_connected_repository = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResolvedConnectedRepositoryOrBuilderin interfaceSourceProvenanceOrBuilder
-
hasResolvedGitSource
public boolean hasResolvedGitSource()Output only. A copy of the build's `source.git_source`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.GitSource resolved_git_source = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasResolvedGitSourcein interfaceSourceProvenanceOrBuilder- Returns:
- Whether the resolvedGitSource field is set.
-
getResolvedGitSource
Output only. A copy of the build's `source.git_source`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.GitSource resolved_git_source = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResolvedGitSourcein interfaceSourceProvenanceOrBuilder- Returns:
- The resolvedGitSource.
-
setResolvedGitSource
Output only. A copy of the build's `source.git_source`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.GitSource resolved_git_source = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setResolvedGitSource
Output only. A copy of the build's `source.git_source`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.GitSource resolved_git_source = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeResolvedGitSource
Output only. A copy of the build's `source.git_source`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.GitSource resolved_git_source = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearResolvedGitSource
Output only. A copy of the build's `source.git_source`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.GitSource resolved_git_source = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getResolvedGitSourceBuilder
Output only. A copy of the build's `source.git_source`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.GitSource resolved_git_source = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getResolvedGitSourceOrBuilder
Output only. A copy of the build's `source.git_source`, if exists, with any revisions resolved.
.google.devtools.cloudbuild.v1.GitSource resolved_git_source = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResolvedGitSourceOrBuilderin interfaceSourceProvenanceOrBuilder
-
getFileHashesCount
public int getFileHashesCount()Description copied from interface:SourceProvenanceOrBuilderOutput only. Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that `FileHashes` will only be populated if `BuildOptions` has requested a `SourceProvenanceHash`. 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, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFileHashesCountin interfaceSourceProvenanceOrBuilder
-
containsFileHashes
Output only. Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that `FileHashes` will only be populated if `BuildOptions` has requested a `SourceProvenanceHash`. 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, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
containsFileHashesin interfaceSourceProvenanceOrBuilder
-
getFileHashes
Deprecated.UsegetFileHashesMap()instead.- Specified by:
getFileHashesin interfaceSourceProvenanceOrBuilder
-
getFileHashesMap
Output only. Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that `FileHashes` will only be populated if `BuildOptions` has requested a `SourceProvenanceHash`. 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, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFileHashesMapin interfaceSourceProvenanceOrBuilder
-
getFileHashesOrDefault
Output only. Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that `FileHashes` will only be populated if `BuildOptions` has requested a `SourceProvenanceHash`. 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, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFileHashesOrDefaultin interfaceSourceProvenanceOrBuilder
-
getFileHashesOrThrow
Output only. Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that `FileHashes` will only be populated if `BuildOptions` has requested a `SourceProvenanceHash`. 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, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFileHashesOrThrowin interfaceSourceProvenanceOrBuilder
-
clearFileHashes
-
removeFileHashes
Output only. Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that `FileHashes` will only be populated if `BuildOptions` has requested a `SourceProvenanceHash`. 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, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getMutableFileHashes
Deprecated.Use alternate mutation accessors instead. -
putFileHashes
Output only. Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that `FileHashes` will only be populated if `BuildOptions` has requested a `SourceProvenanceHash`. 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, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
putAllFileHashes
Output only. Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that `FileHashes` will only be populated if `BuildOptions` has requested a `SourceProvenanceHash`. 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, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
putFileHashesBuilderIfAbsent
Output only. Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that `FileHashes` will only be populated if `BuildOptions` has requested a `SourceProvenanceHash`. 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, .google.devtools.cloudbuild.v1.FileHashes> file_hashes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-