- 3.83.0 (latest)
- 3.82.0
- 3.80.0
- 3.78.0
- 3.77.0
- 3.76.0
- 3.75.0
- 3.74.0
- 3.72.0
- 3.70.0
- 3.69.0
- 3.66.0
- 3.65.0
- 3.64.0
- 3.62.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.6
- 3.4.1
- 3.3.12
public static final class SourceProvenance.Builder extends GeneratedMessageV3.Builder<SourceProvenance.Builder> implements SourceProvenanceOrBuilderProvenance 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SourceProvenance.BuilderImplements
SourceProvenanceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SourceProvenance.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
build()
public SourceProvenance build()| Returns | |
|---|---|
| Type | Description |
SourceProvenance |
|
buildPartial()
public SourceProvenance buildPartial()| Returns | |
|---|---|
| Type | Description |
SourceProvenance |
|
clear()
public SourceProvenance.Builder clear()| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public SourceProvenance.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
clearFileHashes()
public SourceProvenance.Builder clearFileHashes()| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public SourceProvenance.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
clone()
public SourceProvenance.Builder clone()| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
containsFileHashes(String key)
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];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public SourceProvenance getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SourceProvenance |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFileHashes() (deprecated)
public Map<String,FileHashes> getFileHashes()Use #getFileHashesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,FileHashes> |
|
getFileHashesCount()
public 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];
| Returns | |
|---|---|
| Type | Description |
int |
|
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];
| Returns | |
|---|---|
| Type | Description |
Map<String,FileHashes> |
|
getFileHashesOrDefault(String key, FileHashes defaultValue)
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];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
FileHashes |
| Returns | |
|---|---|
| Type | Description |
FileHashes |
|
getFileHashesOrThrow(String key)
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];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
FileHashes |
|
getMutableFileHashes() (deprecated)
public Map<String,FileHashes> getMutableFileHashes()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,FileHashes> |
|
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];
| Returns | |
|---|---|
| Type | Description |
ConnectedRepository |
The resolvedConnectedRepository. |
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];
| Returns | |
|---|---|
| Type | Description |
ConnectedRepository.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
ConnectedRepositoryOrBuilder |
|
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];
| Returns | |
|---|---|
| Type | Description |
GitSource |
The resolvedGitSource. |
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];
| Returns | |
|---|---|
| Type | Description |
GitSource.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
GitSourceOrBuilder |
|
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;
| Returns | |
|---|---|
| Type | Description |
RepoSource |
The resolvedRepoSource. |
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;
| Returns | |
|---|---|
| Type | Description |
RepoSource.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
RepoSourceOrBuilder |
|
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;
| Returns | |
|---|---|
| Type | Description |
StorageSource |
The resolvedStorageSource. |
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;
| Returns | |
|---|---|
| Type | Description |
StorageSource.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
StorageSourceManifest |
The resolvedStorageSourceManifest. |
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;
| Returns | |
|---|---|
| Type | Description |
StorageSourceManifest.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
StorageSourceManifestOrBuilder |
|
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;
| Returns | |
|---|---|
| Type | Description |
StorageSourceOrBuilder |
|
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the resolvedConnectedRepository field is set. |
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];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the resolvedGitSource field is set. |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the resolvedRepoSource field is set. |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the resolvedStorageSource field is set. |
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;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the resolvedStorageSourceManifest field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SourceProvenance other)
public SourceProvenance.Builder mergeFrom(SourceProvenance other)| Parameter | |
|---|---|
| Name | Description |
other |
SourceProvenance |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SourceProvenance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SourceProvenance.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
mergeResolvedConnectedRepository(ConnectedRepository value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
ConnectedRepository |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
mergeResolvedGitSource(GitSource value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
GitSource |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
mergeResolvedRepoSource(RepoSource value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
RepoSource |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
mergeResolvedStorageSource(StorageSource value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
StorageSource |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
mergeResolvedStorageSourceManifest(StorageSourceManifest value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
StorageSourceManifest |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SourceProvenance.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
putAllFileHashes(Map<String,FileHashes> values)
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];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,FileHashes> |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
putFileHashes(String key, FileHashes value)
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];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
FileHashes |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
putFileHashesBuilderIfAbsent(String key)
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];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
FileHashes.Builder |
|
removeFileHashes(String key)
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];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public SourceProvenance.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SourceProvenance.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
setResolvedConnectedRepository(ConnectedRepository value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
ConnectedRepository |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
setResolvedConnectedRepository(ConnectedRepository.Builder builderForValue)
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ConnectedRepository.Builder |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
setResolvedGitSource(GitSource value)
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];
| Parameter | |
|---|---|
| Name | Description |
value |
GitSource |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
setResolvedGitSource(GitSource.Builder builderForValue)
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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
GitSource.Builder |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
setResolvedRepoSource(RepoSource value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
RepoSource |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
setResolvedRepoSource(RepoSource.Builder builderForValue)
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RepoSource.Builder |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
setResolvedStorageSource(StorageSource value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
StorageSource |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
setResolvedStorageSource(StorageSource.Builder builderForValue)
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
StorageSource.Builder |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
setResolvedStorageSourceManifest(StorageSourceManifest value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
StorageSourceManifest |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
setResolvedStorageSourceManifest(StorageSourceManifest.Builder builderForValue)
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
StorageSourceManifest.Builder |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final SourceProvenance.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
SourceProvenance.Builder |
|