public static final class Source.Builder extends GeneratedMessageV3.Builder<Source.Builder> implements SourceOrBuilder
The location of the function source code.
Protobuf type google.cloud.functions.v2beta.Source
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
buildPartial()
public Source buildPartial()
clear()
public Source.Builder clear()
Overrides
clearRepoSource()
public Source.Builder clearRepoSource()
If provided, get the source from this location in a Cloud Source
Repository.
.google.cloud.functions.v2beta.RepoSource repo_source = 2;
clearSource()
public Source.Builder clearSource()
clearStorageSource()
public Source.Builder clearStorageSource()
If provided, get the source from this location in Google Cloud Storage.
.google.cloud.functions.v2beta.StorageSource storage_source = 1;
getDefaultInstanceForType()
public Source getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRepoSource()
public RepoSource getRepoSource()
If provided, get the source from this location in a Cloud Source
Repository.
.google.cloud.functions.v2beta.RepoSource repo_source = 2;
getRepoSourceBuilder()
public RepoSource.Builder getRepoSourceBuilder()
If provided, get the source from this location in a Cloud Source
Repository.
.google.cloud.functions.v2beta.RepoSource repo_source = 2;
getRepoSourceOrBuilder()
public RepoSourceOrBuilder getRepoSourceOrBuilder()
If provided, get the source from this location in a Cloud Source
Repository.
.google.cloud.functions.v2beta.RepoSource repo_source = 2;
getSourceCase()
public Source.SourceCase getSourceCase()
getStorageSource()
public StorageSource getStorageSource()
If provided, get the source from this location in Google Cloud Storage.
.google.cloud.functions.v2beta.StorageSource storage_source = 1;
getStorageSourceBuilder()
public StorageSource.Builder getStorageSourceBuilder()
If provided, get the source from this location in Google Cloud Storage.
.google.cloud.functions.v2beta.StorageSource storage_source = 1;
getStorageSourceOrBuilder()
public StorageSourceOrBuilder getStorageSourceOrBuilder()
If provided, get the source from this location in Google Cloud Storage.
.google.cloud.functions.v2beta.StorageSource storage_source = 1;
hasRepoSource()
public boolean hasRepoSource()
If provided, get the source from this location in a Cloud Source
Repository.
.google.cloud.functions.v2beta.RepoSource repo_source = 2;
Returns |
---|
Type | Description |
boolean | Whether the repoSource field is set.
|
hasStorageSource()
public boolean hasStorageSource()
If provided, get the source from this location in Google Cloud Storage.
.google.cloud.functions.v2beta.StorageSource storage_source = 1;
Returns |
---|
Type | Description |
boolean | Whether the storageSource field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Source other)
public Source.Builder mergeFrom(Source other)
Parameter |
---|
Name | Description |
other | Source
|
public Source.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Source.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeRepoSource(RepoSource value)
public Source.Builder mergeRepoSource(RepoSource value)
If provided, get the source from this location in a Cloud Source
Repository.
.google.cloud.functions.v2beta.RepoSource repo_source = 2;
mergeStorageSource(StorageSource value)
public Source.Builder mergeStorageSource(StorageSource value)
If provided, get the source from this location in Google Cloud Storage.
.google.cloud.functions.v2beta.StorageSource storage_source = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Source.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setRepoSource(RepoSource value)
public Source.Builder setRepoSource(RepoSource value)
If provided, get the source from this location in a Cloud Source
Repository.
.google.cloud.functions.v2beta.RepoSource repo_source = 2;
setRepoSource(RepoSource.Builder builderForValue)
public Source.Builder setRepoSource(RepoSource.Builder builderForValue)
If provided, get the source from this location in a Cloud Source
Repository.
.google.cloud.functions.v2beta.RepoSource repo_source = 2;
setStorageSource(StorageSource value)
public Source.Builder setStorageSource(StorageSource value)
If provided, get the source from this location in Google Cloud Storage.
.google.cloud.functions.v2beta.StorageSource storage_source = 1;
setStorageSource(StorageSource.Builder builderForValue)
public Source.Builder setStorageSource(StorageSource.Builder builderForValue)
If provided, get the source from this location in Google Cloud Storage.
.google.cloud.functions.v2beta.StorageSource storage_source = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final Source.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides