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.v2beta.SourceProvenance
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SourceProvenance.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SourceProvenance build()
Returns
buildPartial()
public SourceProvenance buildPartial()
Returns
clear()
public SourceProvenance.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SourceProvenance.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SourceProvenance.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearResolvedRepoSource()
public SourceProvenance.Builder clearResolvedRepoSource()
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
clearResolvedStorageSource()
public SourceProvenance.Builder clearResolvedStorageSource()
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
clone()
public SourceProvenance.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SourceProvenance getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getResolvedRepoSource()
public RepoSource getResolvedRepoSource()
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
getResolvedRepoSourceBuilder()
public RepoSource.Builder getResolvedRepoSourceBuilder()
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
getResolvedRepoSourceOrBuilder()
public RepoSourceOrBuilder getResolvedRepoSourceOrBuilder()
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
getResolvedStorageSource()
public StorageSource getResolvedStorageSource()
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
getResolvedStorageSourceBuilder()
public StorageSource.Builder getResolvedStorageSourceBuilder()
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
getResolvedStorageSourceOrBuilder()
public StorageSourceOrBuilder getResolvedStorageSourceOrBuilder()
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
hasResolvedRepoSource()
public boolean hasResolvedRepoSource()
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()
public boolean hasResolvedStorageSource()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SourceProvenance other)
public SourceProvenance.Builder mergeFrom(SourceProvenance other)
Parameter
Returns
public SourceProvenance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SourceProvenance.Builder mergeFrom(Message other)
Parameter
Returns
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.v2beta.RepoSource resolved_repo_source = 2;
Parameter
Returns
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.v2beta.StorageSource resolved_storage_source = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SourceProvenance.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SourceProvenance.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SourceProvenance.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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.v2beta.RepoSource resolved_repo_source = 2;
Parameter
Returns
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.v2beta.RepoSource resolved_repo_source = 2;
Parameter
Returns
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.v2beta.StorageSource resolved_storage_source = 1;
Parameter
Returns
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.v2beta.StorageSource resolved_storage_source = 1;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SourceProvenance.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides