Class SourceProvenance (2.18.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.v2beta.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
SourceProvenance

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticSourceProvenance.BuildernewBuilder()
Returns
Type Description
SourceProvenance.Builder

newBuilder(SourceProvenance prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

publicstaticSourceProvenanceparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SourceProvenance
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSourceProvenanceparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceProvenance
Exceptions
Type Description
IOException

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

publicstaticParser<SourceProvenance>parser()
Returns
Type Description
Parser<SourceProvenance>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

publicSourceProvenancegetDefaultInstanceForType()
Returns
Type Description
SourceProvenance

getParserForType()

publicParser<SourceProvenance>getParserForType()
Returns
Type Description
Parser<SourceProvenance>
Overrides

getResolvedRepoSource()

publicRepoSourcegetResolvedRepoSource()

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

.google.cloud.functions.v2beta.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.v2beta.RepoSource resolved_repo_source = 2;

Returns
Type Description
RepoSourceOrBuilder

getResolvedStorageSource()

publicStorageSourcegetResolvedStorageSource()

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

.google.cloud.functions.v2beta.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.v2beta.StorageSource resolved_storage_source = 1;

Returns
Type Description
StorageSourceOrBuilder

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

publicfinalUnknownFieldSetgetUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hasResolvedRepoSource()

publicbooleanhasResolvedRepoSource()

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

.google.cloud.functions.v2beta.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.v2beta.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
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicSourceProvenance.BuildernewBuilderForType()
Returns
Type Description
SourceProvenance.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

publicSourceProvenance.BuildertoBuilder()
Returns
Type Description
SourceProvenance.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

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.