public static final class SourceProvenance.Builder extends GeneratedMessageV3.Builder<SourceProvenance.Builder> implements SourceProvenanceOrBuilder
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SourceProvenance.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SourceProvenance build()
buildPartial()
public SourceProvenance buildPartial()
clear()
public SourceProvenance.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SourceProvenance.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SourceProvenance.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearResolvedRepoSource()
public SourceProvenance.Builder clearResolvedRepoSource()
A copy of the build's source.repo_source
, if exists, with any
revisions resolved.
.google.cloud.functions.v2.RepoSource resolved_repo_source = 2;
clearResolvedStorageSource()
public SourceProvenance.Builder clearResolvedStorageSource()
A copy of the build's source.storage_source
, if exists, with any
generations resolved.
.google.cloud.functions.v2.StorageSource resolved_storage_source = 1;
clone()
public SourceProvenance.Builder clone()
Overrides
getDefaultInstanceForType()
public SourceProvenance getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getResolvedRepoSource()
public RepoSource getResolvedRepoSource()
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 |
Type |
Description |
RepoSource |
The resolvedRepoSource.
|
getResolvedRepoSourceBuilder()
public RepoSource.Builder getResolvedRepoSourceBuilder()
A copy of the build's source.repo_source
, if exists, with any
revisions resolved.
.google.cloud.functions.v2.RepoSource resolved_repo_source = 2;
getResolvedRepoSourceOrBuilder()
public RepoSourceOrBuilder getResolvedRepoSourceOrBuilder()
A copy of the build's source.repo_source
, if exists, with any
revisions resolved.
.google.cloud.functions.v2.RepoSource resolved_repo_source = 2;
getResolvedStorageSource()
public StorageSource getResolvedStorageSource()
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 |
Type |
Description |
StorageSource |
The resolvedStorageSource.
|
getResolvedStorageSourceBuilder()
public StorageSource.Builder getResolvedStorageSourceBuilder()
A copy of the build's source.storage_source
, if exists, with any
generations resolved.
.google.cloud.functions.v2.StorageSource resolved_storage_source = 1;
getResolvedStorageSourceOrBuilder()
public StorageSourceOrBuilder getResolvedStorageSourceOrBuilder()
A copy of the build's source.storage_source
, if exists, with any
generations resolved.
.google.cloud.functions.v2.StorageSource resolved_storage_source = 1;
hasResolvedRepoSource()
public boolean hasResolvedRepoSource()
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 |
Type |
Description |
boolean |
Whether the resolvedRepoSource field is set.
|
hasResolvedStorageSource()
public boolean hasResolvedStorageSource()
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 |
Type |
Description |
boolean |
Whether the resolvedStorageSource field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SourceProvenance other)
public SourceProvenance.Builder mergeFrom(SourceProvenance other)
public SourceProvenance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SourceProvenance.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeResolvedRepoSource(RepoSource value)
public SourceProvenance.Builder mergeResolvedRepoSource(RepoSource value)
A copy of the build's source.repo_source
, if exists, with any
revisions resolved.
.google.cloud.functions.v2.RepoSource resolved_repo_source = 2;
mergeResolvedStorageSource(StorageSource value)
public SourceProvenance.Builder mergeResolvedStorageSource(StorageSource value)
A copy of the build's source.storage_source
, if exists, with any
generations resolved.
.google.cloud.functions.v2.StorageSource resolved_storage_source = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SourceProvenance.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SourceProvenance.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SourceProvenance.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setResolvedRepoSource(RepoSource value)
public SourceProvenance.Builder setResolvedRepoSource(RepoSource value)
A copy of the build's source.repo_source
, if exists, with any
revisions resolved.
.google.cloud.functions.v2.RepoSource resolved_repo_source = 2;
setResolvedRepoSource(RepoSource.Builder builderForValue)
public SourceProvenance.Builder setResolvedRepoSource(RepoSource.Builder builderForValue)
A copy of the build's source.repo_source
, if exists, with any
revisions resolved.
.google.cloud.functions.v2.RepoSource resolved_repo_source = 2;
setResolvedStorageSource(StorageSource value)
public SourceProvenance.Builder setResolvedStorageSource(StorageSource value)
A copy of the build's source.storage_source
, if exists, with any
generations resolved.
.google.cloud.functions.v2.StorageSource resolved_storage_source = 1;
setResolvedStorageSource(StorageSource.Builder builderForValue)
public SourceProvenance.Builder setResolvedStorageSource(StorageSource.Builder builderForValue)
A copy of the build's source.storage_source
, if exists, with any
generations resolved.
.google.cloud.functions.v2.StorageSource resolved_storage_source = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final SourceProvenance.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides