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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<SourceProvenance.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<SourceProvenance.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SourceProvenance.Builder>
    • clear

      public SourceProvenance.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SourceProvenance.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SourceProvenance.Builder>
    • getDefaultInstanceForType

      public SourceProvenance getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public SourceProvenance build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SourceProvenance buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SourceProvenance.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SourceProvenance.Builder>
    • mergeFrom

      public SourceProvenance.Builder mergeFrom(SourceProvenance other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasResolvedStorageSource in interface SourceProvenanceOrBuilder
      Returns:
      Whether the resolvedStorageSource field is set.
    • getResolvedStorageSource

      public StorageSource 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:
      getResolvedStorageSource in interface SourceProvenanceOrBuilder
      Returns:
      The resolvedStorageSource.
    • setResolvedStorageSource

      public SourceProvenance.Builder setResolvedStorageSource(StorageSource value)
       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

      public SourceProvenance.Builder setResolvedStorageSource(StorageSource.Builder builderForValue)
       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

      public SourceProvenance.Builder mergeResolvedStorageSource(StorageSource value)
       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

      public SourceProvenance.Builder 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

      public StorageSource.Builder 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

      public StorageSourceOrBuilder 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:
      getResolvedStorageSourceOrBuilder in interface SourceProvenanceOrBuilder
    • 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:
      hasResolvedRepoSource in interface SourceProvenanceOrBuilder
      Returns:
      Whether the resolvedRepoSource field is set.
    • getResolvedRepoSource

      public RepoSource 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:
      getResolvedRepoSource in interface SourceProvenanceOrBuilder
      Returns:
      The resolvedRepoSource.
    • setResolvedRepoSource

      public SourceProvenance.Builder setResolvedRepoSource(RepoSource value)
       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

      public SourceProvenance.Builder setResolvedRepoSource(RepoSource.Builder builderForValue)
       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

      public SourceProvenance.Builder mergeResolvedRepoSource(RepoSource value)
       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

      public SourceProvenance.Builder 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

      public RepoSource.Builder 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

      public RepoSourceOrBuilder 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:
      getResolvedRepoSourceOrBuilder in interface SourceProvenanceOrBuilder
    • 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:
      hasResolvedStorageSourceManifest in interface SourceProvenanceOrBuilder
      Returns:
      Whether the resolvedStorageSourceManifest field is set.
    • getResolvedStorageSourceManifest

      public StorageSourceManifest 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:
      getResolvedStorageSourceManifest in interface SourceProvenanceOrBuilder
      Returns:
      The resolvedStorageSourceManifest.
    • setResolvedStorageSourceManifest

      public SourceProvenance.Builder setResolvedStorageSourceManifest(StorageSourceManifest value)
       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

      public SourceProvenance.Builder mergeResolvedStorageSourceManifest(StorageSourceManifest value)
       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

      public SourceProvenance.Builder 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

      public StorageSourceManifest.Builder 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

      public StorageSourceManifestOrBuilder 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:
      getResolvedStorageSourceManifestOrBuilder in interface SourceProvenanceOrBuilder
    • 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:
      hasResolvedConnectedRepository in interface SourceProvenanceOrBuilder
      Returns:
      Whether the resolvedConnectedRepository field is set.
    • getResolvedConnectedRepository

      public ConnectedRepository 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:
      getResolvedConnectedRepository in interface SourceProvenanceOrBuilder
      Returns:
      The resolvedConnectedRepository.
    • setResolvedConnectedRepository

      public SourceProvenance.Builder setResolvedConnectedRepository(ConnectedRepository value)
       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

      public SourceProvenance.Builder mergeResolvedConnectedRepository(ConnectedRepository value)
       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

      public SourceProvenance.Builder 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

      public ConnectedRepository.Builder 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

      public ConnectedRepositoryOrBuilder 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:
      getResolvedConnectedRepositoryOrBuilder in interface SourceProvenanceOrBuilder
    • 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:
      hasResolvedGitSource in interface SourceProvenanceOrBuilder
      Returns:
      Whether the resolvedGitSource field is set.
    • getResolvedGitSource

      public GitSource 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:
      getResolvedGitSource in interface SourceProvenanceOrBuilder
      Returns:
      The resolvedGitSource.
    • setResolvedGitSource

      public SourceProvenance.Builder setResolvedGitSource(GitSource value)
       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

      public SourceProvenance.Builder setResolvedGitSource(GitSource.Builder builderForValue)
       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

      public SourceProvenance.Builder mergeResolvedGitSource(GitSource value)
       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

      public SourceProvenance.Builder 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

      public GitSource.Builder 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

      public GitSourceOrBuilder 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:
      getResolvedGitSourceOrBuilder in interface SourceProvenanceOrBuilder
    • getFileHashesCount

      public int getFileHashesCount()
      Description copied from interface: SourceProvenanceOrBuilder
       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:
      getFileHashesCount in interface SourceProvenanceOrBuilder
    • containsFileHashes

      public boolean containsFileHashes(String key)
       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:
      containsFileHashes in interface SourceProvenanceOrBuilder
    • getFileHashes

      @Deprecated public Map<String,FileHashes> getFileHashes()
      Deprecated.
      Use getFileHashesMap() instead.
      Specified by:
      getFileHashes in interface SourceProvenanceOrBuilder
    • getFileHashesMap

      public Map<String,FileHashes> 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:
      getFileHashesMap in interface SourceProvenanceOrBuilder
    • getFileHashesOrDefault

      public FileHashes getFileHashesOrDefault(String key, FileHashes defaultValue)
       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:
      getFileHashesOrDefault in interface SourceProvenanceOrBuilder
    • getFileHashesOrThrow

      public FileHashes getFileHashesOrThrow(String key)
       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:
      getFileHashesOrThrow in interface SourceProvenanceOrBuilder
    • clearFileHashes

      public SourceProvenance.Builder clearFileHashes()
    • removeFileHashes

      public SourceProvenance.Builder removeFileHashes(String key)
       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 public Map<String,FileHashes> getMutableFileHashes()
      Deprecated.
      Use alternate mutation accessors instead.
    • putFileHashes

      public SourceProvenance.Builder putFileHashes(String key, FileHashes value)
       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

      public SourceProvenance.Builder putAllFileHashes(Map<String,FileHashes> values)
       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

      public FileHashes.Builder putFileHashesBuilderIfAbsent(String key)
       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];