Class SourceProvenance (2.7.0)

publicfinalclass SourceProvenanceextendsGeneratedMessageV3implementsSourceProvenanceOrBuilder

Provenance of the source. Ways to find the original source, or verify that some source was used for this build.

Protobuf type google.cloud.functions.v2alpha.SourceProvenance

Inherited Members

Static Fields

RESOLVED_REPO_SOURCE_FIELD_NUMBER

publicstaticfinalintRESOLVED_REPO_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

RESOLVED_STORAGE_SOURCE_FIELD_NUMBER

publicstaticfinalintRESOLVED_STORAGE_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticSourceProvenancegetDefaultInstance()
Returns
Type Description

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description

newBuilder()

publicstaticSourceProvenance.BuildernewBuilder()
Returns
Type Description

newBuilder(SourceProvenance prototype)

publicstaticSourceProvenance.BuildernewBuilder(SourceProvenanceprototype)
Parameter
Name Description
prototype SourceProvenance
Returns
Type Description

parseDelimitedFrom(InputStream input)

publicstaticSourceProvenanceparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Exceptions
Type Description

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSourceProvenanceparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(byte[] data)

publicstaticSourceProvenanceparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
Exceptions
Type Description

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticSourceProvenanceparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(ByteString data)

publicstaticSourceProvenanceparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
Exceptions
Type Description

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticSourceProvenanceparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(CodedInputStream input)

publicstaticSourceProvenanceparseFrom(CodedInputStreaminput)
Parameter
Name Description
Returns
Type Description
Exceptions
Type Description

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSourceProvenanceparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(InputStream input)

publicstaticSourceProvenanceparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Exceptions
Type Description

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSourceProvenanceparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parseFrom(ByteBuffer data)

publicstaticSourceProvenanceparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Exceptions
Type Description

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticSourceProvenanceparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Exceptions
Type Description

parser()

publicstaticParser<SourceProvenance>parser()
Returns
Type Description

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
Overrides

getDefaultInstanceForType()

publicSourceProvenancegetDefaultInstanceForType()
Returns
Type Description

getParserForType()

publicParser<SourceProvenance>getParserForType()
Returns
Type Description
Overrides

getResolvedRepoSource()

publicRepoSourcegetResolvedRepoSource()

A copy of the build's source.repo_source, if exists, with any revisions resolved.

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

Returns
Type Description
RepoSource

The resolvedRepoSource.

getResolvedRepoSourceOrBuilder()

publicRepoSourceOrBuildergetResolvedRepoSourceOrBuilder()

A copy of the build's source.repo_source, if exists, with any revisions resolved.

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

Returns
Type Description

getResolvedStorageSource()

publicStorageSourcegetResolvedStorageSource()

A copy of the build's source.storage_source, if exists, with any generations resolved.

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

Returns
Type Description
StorageSource

The resolvedStorageSource.

getResolvedStorageSourceOrBuilder()

publicStorageSourceOrBuildergetResolvedStorageSourceOrBuilder()

A copy of the build's source.storage_source, if exists, with any generations resolved.

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

Returns
Type Description

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

publicfinalUnknownFieldSetgetUnknownFields()
Returns
Type Description
Overrides

hasResolvedRepoSource()

publicbooleanhasResolvedRepoSource()

A copy of the build's source.repo_source, if exists, with any revisions resolved.

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

Returns
Type Description
boolean

Whether the resolvedRepoSource field is set.

hasResolvedStorageSource()

publicbooleanhasResolvedStorageSource()

A copy of the build's source.storage_source, if exists, with any generations resolved.

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

Returns
Type Description
boolean

Whether the resolvedStorageSource field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
Overrides

newBuilderForType()

publicSourceProvenance.BuildernewBuilderForType()
Returns
Type Description

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedSourceProvenance.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
Returns
Type Description
Overrides

toBuilder()

publicSourceProvenance.BuildertoBuilder()
Returns
Type Description

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
Overrides Exceptions
Type Description

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.