Package com.google.cloudbuild.v1
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 TypeMethodDescriptionOptional.Optional.If provided, get the source from this Git repository.If provided, get the source from this Git repository.If provided, get the source from this location in a Cloud Source Repository.If provided, get the source from this location in a Cloud Source Repository.If provided, get the source from this location in Cloud Storage.If provided, get the source from this manifest in Cloud Storage.If provided, get the source from this manifest in Cloud Storage.If provided, get the source from this location in Cloud Storage.booleanOptional.booleanIf provided, get the source from this Git repository.booleanIf provided, get the source from this location in a Cloud Source Repository.booleanIf provided, get the source from this location in Cloud Storage.booleanIf provided, get the source from this manifest in Cloud Storage.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
-
hasStorageSource
boolean hasStorageSource()If provided, get the source from this location in Cloud Storage.
.google.devtools.cloudbuild.v1.StorageSource storage_source = 2;- Returns:
- Whether the storageSource field is set.
-
getStorageSource
StorageSource getStorageSource()If provided, get the source from this location in Cloud Storage.
.google.devtools.cloudbuild.v1.StorageSource storage_source = 2;- Returns:
- The storageSource.
-
getStorageSourceOrBuilder
StorageSourceOrBuilder getStorageSourceOrBuilder()If provided, get the source from this location in Cloud Storage.
.google.devtools.cloudbuild.v1.StorageSource storage_source = 2; -
hasRepoSource
boolean hasRepoSource()If provided, get the source from this location in a Cloud Source Repository.
.google.devtools.cloudbuild.v1.RepoSource repo_source = 3;- Returns:
- Whether the repoSource field is set.
-
getRepoSource
RepoSource getRepoSource()If provided, get the source from this location in a Cloud Source Repository.
.google.devtools.cloudbuild.v1.RepoSource repo_source = 3;- Returns:
- The repoSource.
-
getRepoSourceOrBuilder
RepoSourceOrBuilder getRepoSourceOrBuilder()If provided, get the source from this location in a Cloud Source Repository.
.google.devtools.cloudbuild.v1.RepoSource repo_source = 3; -
hasGitSource
boolean hasGitSource()If provided, get the source from this Git repository.
.google.devtools.cloudbuild.v1.GitSource git_source = 5;- Returns:
- Whether the gitSource field is set.
-
getGitSource
GitSource getGitSource()If provided, get the source from this Git repository.
.google.devtools.cloudbuild.v1.GitSource git_source = 5;- Returns:
- The gitSource.
-
getGitSourceOrBuilder
GitSourceOrBuilder getGitSourceOrBuilder()If provided, get the source from this Git repository.
.google.devtools.cloudbuild.v1.GitSource git_source = 5; -
hasStorageSourceManifest
boolean hasStorageSourceManifest()If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).
.google.devtools.cloudbuild.v1.StorageSourceManifest storage_source_manifest = 8;- Returns:
- Whether the storageSourceManifest field is set.
-
getStorageSourceManifest
StorageSourceManifest getStorageSourceManifest()If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).
.google.devtools.cloudbuild.v1.StorageSourceManifest storage_source_manifest = 8;- Returns:
- The storageSourceManifest.
-
getStorageSourceManifestOrBuilder
StorageSourceManifestOrBuilder getStorageSourceManifestOrBuilder()If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).
.google.devtools.cloudbuild.v1.StorageSourceManifest storage_source_manifest = 8; -
hasConnectedRepository
boolean hasConnectedRepository()Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource.
.google.devtools.cloudbuild.v1.ConnectedRepository connected_repository = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the connectedRepository field is set.
-
getConnectedRepository
ConnectedRepository getConnectedRepository()Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource.
.google.devtools.cloudbuild.v1.ConnectedRepository connected_repository = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The connectedRepository.
-
getConnectedRepositoryOrBuilder
ConnectedRepositoryOrBuilder getConnectedRepositoryOrBuilder()Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource.
.google.devtools.cloudbuild.v1.ConnectedRepository connected_repository = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getSourceCase
Source.SourceCase getSourceCase()
-