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 Type
    Method
    Description
    boolean
    Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build.
    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
    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, 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.
    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.ByteString
    If 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.
    int
    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.
    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.
    boolean
    If provided, the source code used for the build came from this location.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

      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;
    • getFileHashes

      @Deprecated Map<String,FileHashes> getFileHashes()
      Deprecated.
      Use getFileHashesMap() 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

      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;
    • getFileHashesOrThrow

      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;
    • 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

      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;
    • 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

      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;