publicstaticfinalclass Source.BuilderextendsGeneratedMessageV3.Builder<Source.Builder>implementsSourceOrBuilder
The location of the function source code.
Protobuf type google.cloud.functions.v2.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()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicSource.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
| Returns |
| Type |
Description |
Source |
buildPartial()
publicSourcebuildPartial()
| Returns |
| Type |
Description |
Source |
clear()
publicSource.Builderclear()
Overrides
clearField(Descriptors.FieldDescriptor field)
publicSource.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
publicSource.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clearRepoSource()
publicSource.BuilderclearRepoSource()
If provided, get the source from this location in a Cloud Source
Repository.
.google.cloud.functions.v2.RepoSource repo_source = 2;
clearSource()
publicSource.BuilderclearSource()
clearStorageSource()
publicSource.BuilderclearStorageSource()
If provided, get the source from this location in Google Cloud Storage.
.google.cloud.functions.v2.StorageSource storage_source = 1;
clone()
publicSource.Builderclone()
Overrides
getDefaultInstanceForType()
publicSourcegetDefaultInstanceForType()
| Returns |
| Type |
Description |
Source |
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getRepoSource()
publicRepoSourcegetRepoSource()
If provided, get the source from this location in a Cloud Source
Repository.
.google.cloud.functions.v2.RepoSource repo_source = 2;
| Returns |
| Type |
Description |
RepoSource |
The repoSource.
|
getRepoSourceBuilder()
publicRepoSource.BuildergetRepoSourceBuilder()
If provided, get the source from this location in a Cloud Source
Repository.
.google.cloud.functions.v2.RepoSource repo_source = 2;
getRepoSourceOrBuilder()
publicRepoSourceOrBuildergetRepoSourceOrBuilder()
If provided, get the source from this location in a Cloud Source
Repository.
.google.cloud.functions.v2.RepoSource repo_source = 2;
getSourceCase()
publicSource.SourceCasegetSourceCase()
getStorageSource()
publicStorageSourcegetStorageSource()
If provided, get the source from this location in Google Cloud Storage.
.google.cloud.functions.v2.StorageSource storage_source = 1;
getStorageSourceBuilder()
publicStorageSource.BuildergetStorageSourceBuilder()
If provided, get the source from this location in Google Cloud Storage.
.google.cloud.functions.v2.StorageSource storage_source = 1;
getStorageSourceOrBuilder()
publicStorageSourceOrBuildergetStorageSourceOrBuilder()
If provided, get the source from this location in Google Cloud Storage.
.google.cloud.functions.v2.StorageSource storage_source = 1;
hasRepoSource()
publicbooleanhasRepoSource()
If provided, get the source from this location in a Cloud Source
Repository.
.google.cloud.functions.v2.RepoSource repo_source = 2;
| Returns |
| Type |
Description |
boolean |
Whether the repoSource field is set.
|
hasStorageSource()
publicbooleanhasStorageSource()
If provided, get the source from this location in Google Cloud Storage.
.google.cloud.functions.v2.StorageSource storage_source = 1;
| Returns |
| Type |
Description |
boolean |
Whether the storageSource field is set.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(Source other)
publicSource.BuildermergeFrom(Sourceother)
| Parameter |
| Name |
Description |
other |
Source
|
publicSource.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicSource.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeRepoSource(RepoSource value)
publicSource.BuildermergeRepoSource(RepoSourcevalue)
If provided, get the source from this location in a Cloud Source
Repository.
.google.cloud.functions.v2.RepoSource repo_source = 2;
mergeStorageSource(StorageSource value)
publicSource.BuildermergeStorageSource(StorageSourcevalue)
If provided, get the source from this location in Google Cloud Storage.
.google.cloud.functions.v2.StorageSource storage_source = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalSource.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
publicSource.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicSource.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setRepoSource(RepoSource value)
publicSource.BuildersetRepoSource(RepoSourcevalue)
If provided, get the source from this location in a Cloud Source
Repository.
.google.cloud.functions.v2.RepoSource repo_source = 2;
setRepoSource(RepoSource.Builder builderForValue)
publicSource.BuildersetRepoSource(RepoSource.BuilderbuilderForValue)
If provided, get the source from this location in a Cloud Source
Repository.
.google.cloud.functions.v2.RepoSource repo_source = 2;
setStorageSource(StorageSource value)
publicSource.BuildersetStorageSource(StorageSourcevalue)
If provided, get the source from this location in Google Cloud Storage.
.google.cloud.functions.v2.StorageSource storage_source = 1;
setStorageSource(StorageSource.Builder builderForValue)
publicSource.BuildersetStorageSource(StorageSource.BuilderbuilderForValue)
If provided, get the source from this location in Google Cloud Storage.
.google.cloud.functions.v2.StorageSource storage_source = 1;
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalSource.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides