publicfinalclass SourceextendsGeneratedMessageV3implementsSourceOrBuilder
The location of the function source code.
Protobuf type google.cloud.functions.v2alpha.Source
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
GIT_URI_FIELD_NUMBER
publicstaticfinalintGIT_URI_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
REPO_SOURCE_FIELD_NUMBER
publicstaticfinalintREPO_SOURCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
STORAGE_SOURCE_FIELD_NUMBER
publicstaticfinalintSTORAGE_SOURCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticSourcegetDefaultInstance()
| Returns |
| Type |
Description |
Source |
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticSource.BuildernewBuilder()
newBuilder(Source prototype)
publicstaticSource.BuildernewBuilder(Sourceprototype)
| Parameter |
| Name |
Description |
prototype |
Source
|
publicstaticSourceparseDelimitedFrom(InputStreaminput)
| Returns |
| Type |
Description |
Source |
publicstaticSourceparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
| Returns |
| Type |
Description |
Source |
parseFrom(byte[] data)
publicstaticSourceparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
| Returns |
| Type |
Description |
Source |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticSourceparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
| Returns |
| Type |
Description |
Source |
parseFrom(ByteString data)
publicstaticSourceparseFrom(ByteStringdata)
| Returns |
| Type |
Description |
Source |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticSourceparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
| Returns |
| Type |
Description |
Source |
publicstaticSourceparseFrom(CodedInputStreaminput)
| Returns |
| Type |
Description |
Source |
publicstaticSourceparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
| Returns |
| Type |
Description |
Source |
publicstaticSourceparseFrom(InputStreaminput)
| Returns |
| Type |
Description |
Source |
publicstaticSourceparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
| Returns |
| Type |
Description |
Source |
parseFrom(ByteBuffer data)
publicstaticSourceparseFrom(ByteBufferdata)
| Returns |
| Type |
Description |
Source |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticSourceparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
| Returns |
| Type |
Description |
Source |
parser()
publicstaticParser<Source>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
publicSourcegetDefaultInstanceForType()
| Returns |
| Type |
Description |
Source |
getGitUri()
| Returns |
| Type |
Description |
String |
The gitUri.
|
getGitUriBytes()
publicByteStringgetGitUriBytes()
| Returns |
| Type |
Description |
ByteString |
The bytes for gitUri.
|
getParserForType()
publicParser<Source>getParserForType()
Overrides
getRepoSource()
publicRepoSourcegetRepoSource()
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()
publicRepoSourceOrBuildergetRepoSourceOrBuilder()
If provided, get the source from this location in a Cloud Source
Repository.
.google.cloud.functions.v2alpha.RepoSource repo_source = 2;
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getSourceCase()
publicSource.SourceCasegetSourceCase()
getStorageSource()
publicStorageSourcegetStorageSource()
If provided, get the source from this location in Google Cloud Storage.
.google.cloud.functions.v2alpha.StorageSource storage_source = 1;
getStorageSourceOrBuilder()
publicStorageSourceOrBuildergetStorageSourceOrBuilder()
If provided, get the source from this location in Google Cloud Storage.
.google.cloud.functions.v2alpha.StorageSource storage_source = 1;
hasGitUri()
| Returns |
| Type |
Description |
boolean |
Whether the gitUri field is set.
|
hasRepoSource()
publicbooleanhasRepoSource()
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()
publicbooleanhasStorageSource()
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.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicSource.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedSource.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicSource.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides