Interface SourceOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Source, Source.Builder

    public interface SourceOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      RepoSource getRepoSource()
      If provided, get the source from this location in a Cloud Source Repository.
      RepoSourceOrBuilder getRepoSourceOrBuilder()
      If provided, get the source from this location in a Cloud Source Repository.
      Source.SourceCase getSourceCase()  
      StorageSource getStorageSource()
      If provided, get the source from this location in Google Cloud Storage.
      StorageSourceOrBuilder getStorageSourceOrBuilder()
      If provided, get the source from this location in Google Cloud Storage.
      boolean hasRepoSource()
      If provided, get the source from this location in a Cloud Source Repository.
      boolean hasStorageSource()
      If provided, get the source from this location in Google Cloud Storage.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasStorageSource

        boolean hasStorageSource()
         If provided, get the source from this location in Google Cloud Storage.
         
        .google.cloud.functions.v2alpha.StorageSource storage_source = 1;
        Returns:
        Whether the storageSource field is set.
      • getStorageSource

        StorageSource getStorageSource()
         If provided, get the source from this location in Google Cloud Storage.
         
        .google.cloud.functions.v2alpha.StorageSource storage_source = 1;
        Returns:
        The storageSource.
      • getStorageSourceOrBuilder

        StorageSourceOrBuilder getStorageSourceOrBuilder()
         If provided, get the source from this location in Google Cloud Storage.
         
        .google.cloud.functions.v2alpha.StorageSource storage_source = 1;
      • hasRepoSource

        boolean hasRepoSource()
         If provided, get the source from this location in a Cloud Source
         Repository.
         
        .google.cloud.functions.v2alpha.RepoSource repo_source = 2;
        Returns:
        Whether the repoSource field is set.
      • getRepoSource

        RepoSource getRepoSource()
         If provided, get the source from this location in a Cloud Source
         Repository.
         
        .google.cloud.functions.v2alpha.RepoSource repo_source = 2;
        Returns:
        The repoSource.
      • getRepoSourceOrBuilder

        RepoSourceOrBuilder getRepoSourceOrBuilder()
         If provided, get the source from this location in a Cloud Source
         Repository.
         
        .google.cloud.functions.v2alpha.RepoSource repo_source = 2;