Package com.google.cloud.functions.v2
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 RepoSourcegetRepoSource()If provided, get the source from this location in a Cloud Source Repository.RepoSourceOrBuildergetRepoSourceOrBuilder()If provided, get the source from this location in a Cloud Source Repository.Source.SourceCasegetSourceCase()StorageSourcegetStorageSource()If provided, get the source from this location in Google Cloud Storage.StorageSourceOrBuildergetStorageSourceOrBuilder()If provided, get the source from this location in Google Cloud Storage.booleanhasRepoSource()If provided, get the source from this location in a Cloud Source Repository.booleanhasStorageSource()If provided, get the source from this location in Google Cloud Storage.-
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.v2.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.v2.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.v2.StorageSource storage_source = 1;
-
hasRepoSource
boolean hasRepoSource()
If provided, get the source from this location in a Cloud Source Repository.
.google.cloud.functions.v2.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.v2.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.v2.RepoSource repo_source = 2;
-
getSourceCase
Source.SourceCase getSourceCase()
-
-