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 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()