Package com.google.cloudbuild.v1
Interface SourceProvenanceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SourceProvenance,SourceProvenance.Builder
@Generated
public interface SourceProvenanceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsFileHashes(String key) Output only.Deprecated.intOutput only.Output only.getFileHashesOrDefault(String key, FileHashes defaultValue) 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.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`, 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.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasResolvedStorageSource
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;- Returns:
- Whether the resolvedStorageSource field is set.
-
getResolvedStorageSource
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;- Returns:
- The resolvedStorageSource.
-
getResolvedStorageSourceOrBuilder
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; -
hasResolvedRepoSource
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;- Returns:
- Whether the resolvedRepoSource field is set.
-
getResolvedRepoSource
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;- Returns:
- The resolvedRepoSource.
-
getResolvedRepoSourceOrBuilder
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; -
hasResolvedStorageSourceManifest
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;- Returns:
- Whether the resolvedStorageSourceManifest field is set.
-
getResolvedStorageSourceManifest
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;- Returns:
- The resolvedStorageSourceManifest.
-
getResolvedStorageSourceManifestOrBuilder
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; -
hasResolvedConnectedRepository
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];- Returns:
- Whether the resolvedConnectedRepository field is set.
-
getResolvedConnectedRepository
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];- Returns:
- The resolvedConnectedRepository.
-
getResolvedConnectedRepositoryOrBuilder
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]; -
hasResolvedGitSource
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];- Returns:
- Whether the resolvedGitSource field is set.
-
getResolvedGitSource
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];- Returns:
- The resolvedGitSource.
-
getResolvedGitSourceOrBuilder
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]; -
getFileHashesCount
int getFileHashesCount()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]; -
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]; -
getFileHashes
Deprecated.UsegetFileHashesMap()instead. -
getFileHashesMap
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]; -
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]; -
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];
-