com.google.cloudbuild.v1.SourceProvenanceOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-build-v1 Show documentation
Show all versions of proto-google-cloud-build-v1 Show documentation
PROTO library for proto-google-cloud-build-v1
The newest version!
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/devtools/cloudbuild/v1/cloudbuild.proto
// Protobuf Java Version: 3.25.4
package com.google.cloudbuild.v1;
public interface SourceProvenanceOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.devtools.cloudbuild.v1.SourceProvenance)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* A copy of the build's `source.storage_source`, if exists, with any
* generations resolved.
*
*
* .google.devtools.cloudbuild.v1.StorageSource resolved_storage_source = 3;
*
* @return Whether the resolvedStorageSource field is set.
*/
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;
*
* @return The resolvedStorageSource.
*/
com.google.cloudbuild.v1.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;
*/
com.google.cloudbuild.v1.StorageSourceOrBuilder getResolvedStorageSourceOrBuilder();
/**
*
*
*
* A copy of the build's `source.repo_source`, if exists, with any
* revisions resolved.
*
*
* .google.devtools.cloudbuild.v1.RepoSource resolved_repo_source = 6;
*
* @return Whether the resolvedRepoSource field is set.
*/
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;
*
* @return The resolvedRepoSource.
*/
com.google.cloudbuild.v1.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;
*/
com.google.cloudbuild.v1.RepoSourceOrBuilder getResolvedRepoSourceOrBuilder();
/**
*
*
*
* 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;
*
*
* @return Whether the resolvedStorageSourceManifest field is set.
*/
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;
*
*
* @return The resolvedStorageSourceManifest.
*/
com.google.cloudbuild.v1.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;
*
*/
com.google.cloudbuild.v1.StorageSourceManifestOrBuilder
getResolvedStorageSourceManifestOrBuilder();
/**
*
*
*
* 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];
*
*/
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];
*
*/
boolean containsFileHashes(java.lang.String key);
/** Use {@link #getFileHashesMap()} instead. */
@java.lang.Deprecated
java.util.Map getFileHashes();
/**
*
*
*
* 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];
*
*/
java.util.Map 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];
*
*/
/* nullable */
com.google.cloudbuild.v1.FileHashes getFileHashesOrDefault(
java.lang.String key,
/* nullable */
com.google.cloudbuild.v1.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];
*
*/
com.google.cloudbuild.v1.FileHashes getFileHashesOrThrow(java.lang.String key);
}