Class SourceProvenance (2.62.0)

publicfinalclassSourceProvenanceextendsGeneratedMessageV3implementsSourceProvenanceOrBuilder

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.v2.SourceProvenance

Static Fields

GIT_URI_FIELD_NUMBER

publicstaticfinalintGIT_URI_FIELD_NUMBER
Field Value
TypeDescription
int

RESOLVED_REPO_SOURCE_FIELD_NUMBER

publicstaticfinalintRESOLVED_REPO_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

RESOLVED_STORAGE_SOURCE_FIELD_NUMBER

publicstaticfinalintRESOLVED_STORAGE_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

publicstaticSourceProvenancegetDefaultInstance()
Returns
TypeDescription
SourceProvenance

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

publicstaticSourceProvenance.BuildernewBuilder()
Returns
TypeDescription
SourceProvenance.Builder

newBuilder(SourceProvenance prototype)

publicstaticSourceProvenance.BuildernewBuilder(SourceProvenanceprototype)
Parameter
NameDescription
prototypeSourceProvenance
Returns
TypeDescription
SourceProvenance.Builder

parseDelimitedFrom(InputStream input)

publicstaticSourceProvenanceparseDelimitedFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SourceProvenance
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSourceProvenanceparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceProvenance
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

publicstaticSourceProvenanceparseFrom(byte[]data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SourceProvenance
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticSourceProvenanceparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceProvenance
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticSourceProvenanceparseFrom(ByteStringdata)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SourceProvenance
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticSourceProvenanceparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceProvenance
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticSourceProvenanceparseFrom(CodedInputStreaminput)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SourceProvenance
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSourceProvenanceparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceProvenance
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

publicstaticSourceProvenanceparseFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SourceProvenance
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSourceProvenanceparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceProvenance
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

publicstaticSourceProvenanceparseFrom(ByteBufferdata)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SourceProvenance
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticSourceProvenanceparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SourceProvenance
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

publicstaticParser<SourceProvenance>parser()
Returns
TypeDescription
Parser<SourceProvenance>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

publicSourceProvenancegetDefaultInstanceForType()
Returns
TypeDescription
SourceProvenance

getGitUri()

publicStringgetGitUri()

A copy of the build's source.git_uri, if exists, with any commits resolved.

string git_uri = 3;

Returns
TypeDescription
String

The gitUri.

getGitUriBytes()

publicByteStringgetGitUriBytes()

A copy of the build's source.git_uri, if exists, with any commits resolved.

string git_uri = 3;

Returns
TypeDescription
ByteString

The bytes for gitUri.

getParserForType()

publicParser<SourceProvenance>getParserForType()
Returns
TypeDescription
Parser<SourceProvenance>
Overrides

getResolvedRepoSource()

publicRepoSourcegetResolvedRepoSource()

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

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

Returns
TypeDescription
RepoSource

The resolvedRepoSource.

getResolvedRepoSourceOrBuilder()

publicRepoSourceOrBuildergetResolvedRepoSourceOrBuilder()

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

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

Returns
TypeDescription
RepoSourceOrBuilder

getResolvedStorageSource()

publicStorageSourcegetResolvedStorageSource()

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

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

Returns
TypeDescription
StorageSource

The resolvedStorageSource.

getResolvedStorageSourceOrBuilder()

publicStorageSourceOrBuildergetResolvedStorageSourceOrBuilder()

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

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

Returns
TypeDescription
StorageSourceOrBuilder

getSerializedSize()

publicintgetSerializedSize()
Returns
TypeDescription
int
Overrides

hasResolvedRepoSource()

publicbooleanhasResolvedRepoSource()

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

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

Returns
TypeDescription
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.v2.StorageSource resolved_storage_source = 1;

Returns
TypeDescription
boolean

Whether the resolvedStorageSource field is set.

hashCode()

publicinthashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

publicSourceProvenance.BuildernewBuilderForType()
Returns
TypeDescription
SourceProvenance.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedSourceProvenance.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SourceProvenance.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

publicSourceProvenance.BuildertoBuilder()
Returns
TypeDescription
SourceProvenance.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException