Class SourceProvenance.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SourceProvenance.Builder>
com.google.cloud.functions.v2alpha.SourceProvenance.Builder
- All Implemented Interfaces:
SourceProvenanceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SourceProvenance
public static final class SourceProvenance.Builder
extends com.google.protobuf.GeneratedMessage.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.v2alpha.SourceProvenance-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()A copy of the build's `source.git_uri`, if exists, with any commits resolved.A copy of the build's `source.repo_source`, if exists, with any revisions resolved.A copy of the build's `source.storage_source`, if exists, with any generations resolved.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA copy of the build's `source.git_uri`, if exists, with any commits resolved.com.google.protobuf.ByteStringA copy of the build's `source.git_uri`, if exists, with any commits resolved.A copy of the build's `source.repo_source`, if exists, with any revisions resolved.A copy of the build's `source.repo_source`, if exists, with any revisions resolved.A copy of the build's `source.repo_source`, if exists, with any revisions resolved.A copy of the build's `source.storage_source`, if exists, with any generations resolved.A copy of the build's `source.storage_source`, if exists, with any generations resolved.A copy of the build's `source.storage_source`, if exists, with any generations resolved.booleanA copy of the build's `source.repo_source`, if exists, with any revisions resolved.booleanA copy of the build's `source.storage_source`, if exists, with any generations resolved.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(SourceProvenance other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) A copy of the build's `source.repo_source`, if exists, with any revisions resolved.A copy of the build's `source.storage_source`, if exists, with any generations resolved.A copy of the build's `source.git_uri`, if exists, with any commits resolved.setGitUriBytes(com.google.protobuf.ByteString value) A copy of the build's `source.git_uri`, if exists, with any commits resolved.setResolvedRepoSource(RepoSource value) A copy of the build's `source.repo_source`, if exists, with any revisions resolved.setResolvedRepoSource(RepoSource.Builder builderForValue) A copy of the build's `source.repo_source`, if exists, with any revisions resolved.A copy of the build's `source.storage_source`, if exists, with any generations resolved.setResolvedStorageSource(StorageSource.Builder builderForValue) A copy of the build's `source.storage_source`, if exists, with any generations resolved.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SourceProvenance.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SourceProvenance.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SourceProvenance.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SourceProvenance.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SourceProvenance.Builder>
-
mergeFrom
public SourceProvenance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SourceProvenance.Builder>- Throws:
IOException
-
hasResolvedStorageSource
public boolean hasResolvedStorageSource()A copy of the build's `source.storage_source`, if exists, with any generations resolved.
.google.cloud.functions.v2alpha.StorageSource resolved_storage_source = 1;- Specified by:
hasResolvedStorageSourcein interfaceSourceProvenanceOrBuilder- Returns:
- Whether the resolvedStorageSource field is set.
-
getResolvedStorageSource
A copy of the build's `source.storage_source`, if exists, with any generations resolved.
.google.cloud.functions.v2alpha.StorageSource resolved_storage_source = 1;- Specified by:
getResolvedStorageSourcein interfaceSourceProvenanceOrBuilder- Returns:
- The resolvedStorageSource.
-
setResolvedStorageSource
A copy of the build's `source.storage_source`, if exists, with any generations resolved.
.google.cloud.functions.v2alpha.StorageSource resolved_storage_source = 1; -
setResolvedStorageSource
A copy of the build's `source.storage_source`, if exists, with any generations resolved.
.google.cloud.functions.v2alpha.StorageSource resolved_storage_source = 1; -
mergeResolvedStorageSource
A copy of the build's `source.storage_source`, if exists, with any generations resolved.
.google.cloud.functions.v2alpha.StorageSource resolved_storage_source = 1; -
clearResolvedStorageSource
A copy of the build's `source.storage_source`, if exists, with any generations resolved.
.google.cloud.functions.v2alpha.StorageSource resolved_storage_source = 1; -
getResolvedStorageSourceBuilder
A copy of the build's `source.storage_source`, if exists, with any generations resolved.
.google.cloud.functions.v2alpha.StorageSource resolved_storage_source = 1; -
getResolvedStorageSourceOrBuilder
A copy of the build's `source.storage_source`, if exists, with any generations resolved.
.google.cloud.functions.v2alpha.StorageSource resolved_storage_source = 1;- Specified by:
getResolvedStorageSourceOrBuilderin interfaceSourceProvenanceOrBuilder
-
hasResolvedRepoSource
public boolean hasResolvedRepoSource()A copy of the build's `source.repo_source`, if exists, with any revisions resolved.
.google.cloud.functions.v2alpha.RepoSource resolved_repo_source = 2;- Specified by:
hasResolvedRepoSourcein interfaceSourceProvenanceOrBuilder- Returns:
- Whether the resolvedRepoSource field is set.
-
getResolvedRepoSource
A copy of the build's `source.repo_source`, if exists, with any revisions resolved.
.google.cloud.functions.v2alpha.RepoSource resolved_repo_source = 2;- Specified by:
getResolvedRepoSourcein interfaceSourceProvenanceOrBuilder- Returns:
- The resolvedRepoSource.
-
setResolvedRepoSource
A copy of the build's `source.repo_source`, if exists, with any revisions resolved.
.google.cloud.functions.v2alpha.RepoSource resolved_repo_source = 2; -
setResolvedRepoSource
A copy of the build's `source.repo_source`, if exists, with any revisions resolved.
.google.cloud.functions.v2alpha.RepoSource resolved_repo_source = 2; -
mergeResolvedRepoSource
A copy of the build's `source.repo_source`, if exists, with any revisions resolved.
.google.cloud.functions.v2alpha.RepoSource resolved_repo_source = 2; -
clearResolvedRepoSource
A copy of the build's `source.repo_source`, if exists, with any revisions resolved.
.google.cloud.functions.v2alpha.RepoSource resolved_repo_source = 2; -
getResolvedRepoSourceBuilder
A copy of the build's `source.repo_source`, if exists, with any revisions resolved.
.google.cloud.functions.v2alpha.RepoSource resolved_repo_source = 2; -
getResolvedRepoSourceOrBuilder
A copy of the build's `source.repo_source`, if exists, with any revisions resolved.
.google.cloud.functions.v2alpha.RepoSource resolved_repo_source = 2;- Specified by:
getResolvedRepoSourceOrBuilderin interfaceSourceProvenanceOrBuilder
-
getGitUri
A copy of the build's `source.git_uri`, if exists, with any commits resolved.
string git_uri = 3;- Specified by:
getGitUriin interfaceSourceProvenanceOrBuilder- Returns:
- The gitUri.
-
getGitUriBytes
public com.google.protobuf.ByteString getGitUriBytes()A copy of the build's `source.git_uri`, if exists, with any commits resolved.
string git_uri = 3;- Specified by:
getGitUriBytesin interfaceSourceProvenanceOrBuilder- Returns:
- The bytes for gitUri.
-
setGitUri
A copy of the build's `source.git_uri`, if exists, with any commits resolved.
string git_uri = 3;- Parameters:
value- The gitUri to set.- Returns:
- This builder for chaining.
-
clearGitUri
A copy of the build's `source.git_uri`, if exists, with any commits resolved.
string git_uri = 3;- Returns:
- This builder for chaining.
-
setGitUriBytes
A copy of the build's `source.git_uri`, if exists, with any commits resolved.
string git_uri = 3;- Parameters:
value- The bytes for gitUri to set.- Returns:
- This builder for chaining.
-