Interface SourceOrBuilder (2.24.0)

publicinterface SourceOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getRepoSource()

publicabstractRepoSourcegetRepoSource()

If provided, get the source from this location in a Cloud Source Repository.

.google.cloud.functions.v2alpha.RepoSource repo_source = 2;

Returns
Type Description
RepoSource

The repoSource.

getRepoSourceOrBuilder()

publicabstractRepoSourceOrBuildergetRepoSourceOrBuilder()

If provided, get the source from this location in a Cloud Source Repository.

.google.cloud.functions.v2alpha.RepoSource repo_source = 2;

Returns
Type Description
RepoSourceOrBuilder

getSourceCase()

publicabstractSource.SourceCasegetSourceCase()
Returns
Type Description
Source.SourceCase

getStorageSource()

publicabstractStorageSourcegetStorageSource()

If provided, get the source from this location in Google Cloud Storage.

.google.cloud.functions.v2alpha.StorageSource storage_source = 1;

Returns
Type Description
StorageSource

The storageSource.

getStorageSourceOrBuilder()

publicabstractStorageSourceOrBuildergetStorageSourceOrBuilder()

If provided, get the source from this location in Google Cloud Storage.

.google.cloud.functions.v2alpha.StorageSource storage_source = 1;

Returns
Type Description
StorageSourceOrBuilder

hasRepoSource()

publicabstractbooleanhasRepoSource()

If provided, get the source from this location in a Cloud Source Repository.

.google.cloud.functions.v2alpha.RepoSource repo_source = 2;

Returns
Type Description
boolean

Whether the repoSource field is set.

hasStorageSource()

publicabstractbooleanhasStorageSource()

If provided, get the source from this location in Google Cloud Storage.

.google.cloud.functions.v2alpha.StorageSource storage_source = 1;

Returns
Type Description
boolean

Whether the storageSource field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.