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 Type
    Method
    Description
    If provided, get the source from GitHub repository.
    com.google.protobuf.ByteString
    If provided, get the source from GitHub 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 Google Cloud Storage.
    If provided, get the source from this location in Google Cloud Storage.
    boolean
    If provided, get the source from GitHub repository.
    boolean
    If provided, get the source from this location in a Cloud Source Repository.
    boolean
    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 Details

    • hasStorageSource

      boolean hasStorageSource()
       If provided, get the source from this location in Google Cloud Storage.
       
      .google.cloud.functions.v2beta.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.v2beta.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.v2beta.StorageSource storage_source = 1;
    • hasRepoSource

      boolean hasRepoSource()
       If provided, get the source from this location in a Cloud Source
       Repository.
       
      .google.cloud.functions.v2beta.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.v2beta.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.v2beta.RepoSource repo_source = 2;
    • hasGitUri

      boolean hasGitUri()
       If provided, get the source from GitHub repository. This option is valid
       only for GCF 1st Gen function.
       Example: https://github.com/<user>/<repo>/blob/<commit>/<path-to-code>
       
      string git_uri = 3;
      Returns:
      Whether the gitUri field is set.
    • getGitUri

      String getGitUri()
       If provided, get the source from GitHub repository. This option is valid
       only for GCF 1st Gen function.
       Example: https://github.com/<user>/<repo>/blob/<commit>/<path-to-code>
       
      string git_uri = 3;
      Returns:
      The gitUri.
    • getGitUriBytes

      com.google.protobuf.ByteString getGitUriBytes()
       If provided, get the source from GitHub repository. This option is valid
       only for GCF 1st Gen function.
       Example: https://github.com/<user>/<repo>/blob/<commit>/<path-to-code>
       
      string git_uri = 3;
      Returns:
      The bytes for gitUri.
    • getSourceCase

      Source.SourceCase getSourceCase()