Package com.google.cloudbuild.v1
Class Source.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Source.Builder>
com.google.cloudbuild.v1.Source.Builder
- All Implemented Interfaces:
SourceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Source
public static final class Source.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Source.Builder>
implements SourceOrBuilder
Location of the source in a supported storage service.Protobuf type
google.devtools.cloudbuild.v1.Source-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.If provided, get the source from this Git repository.If provided, get the source from this location in a Cloud Source Repository.If provided, get the source from this location in Cloud Storage.If provided, get the source from this manifest in Cloud Storage.Optional.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIf provided, get the source from this Git repository.If provided, get the source from this Git repository.If provided, get the source from this Git repository.If provided, get the source from this location in a Cloud Source Repository.If provided, get the source from this location in a Cloud Source Repository.If provided, get the source from this location in a Cloud Source Repository.If provided, get the source from this location in Cloud Storage.If provided, get the source from this location in Cloud Storage.If provided, get the source from this manifest in Cloud Storage.If provided, get the source from this manifest in Cloud Storage.If provided, get the source from this manifest in Cloud Storage.If provided, get the source from this location in Cloud Storage.booleanOptional.booleanIf provided, get the source from this Git repository.booleanIf provided, get the source from this location in a Cloud Source Repository.booleanIf provided, get the source from this location in Cloud Storage.booleanIf provided, get the source from this manifest in Cloud Storage.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanOptional.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeGitSource(GitSource value) If provided, get the source from this Git repository.mergeRepoSource(RepoSource value) If provided, get the source from this location in a Cloud Source Repository.mergeStorageSource(StorageSource value) If provided, get the source from this location in Cloud Storage.If provided, get the source from this manifest in Cloud Storage.Optional.setConnectedRepository(ConnectedRepository.Builder builderForValue) Optional.setGitSource(GitSource value) If provided, get the source from this Git repository.setGitSource(GitSource.Builder builderForValue) If provided, get the source from this Git repository.setRepoSource(RepoSource value) If provided, get the source from this location in a Cloud Source Repository.setRepoSource(RepoSource.Builder builderForValue) If provided, get the source from this location in a Cloud Source Repository.setStorageSource(StorageSource value) If provided, get the source from this location in Cloud Storage.setStorageSource(StorageSource.Builder builderForValue) If provided, get the source from this location in Cloud Storage.If provided, get the source from this manifest in Cloud Storage.setStorageSourceManifest(StorageSourceManifest.Builder builderForValue) If provided, get the source from this manifest in Cloud Storage.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<Source.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<Source.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<Source.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<Source.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Source.Builder>
-
mergeFrom
public Source.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<Source.Builder>- Throws:
IOException
-
getSourceCase
- Specified by:
getSourceCasein interfaceSourceOrBuilder
-
clearSource
-
hasStorageSource
public boolean hasStorageSource()If provided, get the source from this location in Cloud Storage.
.google.devtools.cloudbuild.v1.StorageSource storage_source = 2;- Specified by:
hasStorageSourcein interfaceSourceOrBuilder- Returns:
- Whether the storageSource field is set.
-
getStorageSource
If provided, get the source from this location in Cloud Storage.
.google.devtools.cloudbuild.v1.StorageSource storage_source = 2;- Specified by:
getStorageSourcein interfaceSourceOrBuilder- Returns:
- The storageSource.
-
setStorageSource
If provided, get the source from this location in Cloud Storage.
.google.devtools.cloudbuild.v1.StorageSource storage_source = 2; -
setStorageSource
If provided, get the source from this location in Cloud Storage.
.google.devtools.cloudbuild.v1.StorageSource storage_source = 2; -
mergeStorageSource
If provided, get the source from this location in Cloud Storage.
.google.devtools.cloudbuild.v1.StorageSource storage_source = 2; -
clearStorageSource
If provided, get the source from this location in Cloud Storage.
.google.devtools.cloudbuild.v1.StorageSource storage_source = 2; -
getStorageSourceBuilder
If provided, get the source from this location in Cloud Storage.
.google.devtools.cloudbuild.v1.StorageSource storage_source = 2; -
getStorageSourceOrBuilder
If provided, get the source from this location in Cloud Storage.
.google.devtools.cloudbuild.v1.StorageSource storage_source = 2;- Specified by:
getStorageSourceOrBuilderin interfaceSourceOrBuilder
-
hasRepoSource
public boolean hasRepoSource()If provided, get the source from this location in a Cloud Source Repository.
.google.devtools.cloudbuild.v1.RepoSource repo_source = 3;- Specified by:
hasRepoSourcein interfaceSourceOrBuilder- Returns:
- Whether the repoSource field is set.
-
getRepoSource
If provided, get the source from this location in a Cloud Source Repository.
.google.devtools.cloudbuild.v1.RepoSource repo_source = 3;- Specified by:
getRepoSourcein interfaceSourceOrBuilder- Returns:
- The repoSource.
-
setRepoSource
If provided, get the source from this location in a Cloud Source Repository.
.google.devtools.cloudbuild.v1.RepoSource repo_source = 3; -
setRepoSource
If provided, get the source from this location in a Cloud Source Repository.
.google.devtools.cloudbuild.v1.RepoSource repo_source = 3; -
mergeRepoSource
If provided, get the source from this location in a Cloud Source Repository.
.google.devtools.cloudbuild.v1.RepoSource repo_source = 3; -
clearRepoSource
If provided, get the source from this location in a Cloud Source Repository.
.google.devtools.cloudbuild.v1.RepoSource repo_source = 3; -
getRepoSourceBuilder
If provided, get the source from this location in a Cloud Source Repository.
.google.devtools.cloudbuild.v1.RepoSource repo_source = 3; -
getRepoSourceOrBuilder
If provided, get the source from this location in a Cloud Source Repository.
.google.devtools.cloudbuild.v1.RepoSource repo_source = 3;- Specified by:
getRepoSourceOrBuilderin interfaceSourceOrBuilder
-
hasGitSource
public boolean hasGitSource()If provided, get the source from this Git repository.
.google.devtools.cloudbuild.v1.GitSource git_source = 5;- Specified by:
hasGitSourcein interfaceSourceOrBuilder- Returns:
- Whether the gitSource field is set.
-
getGitSource
If provided, get the source from this Git repository.
.google.devtools.cloudbuild.v1.GitSource git_source = 5;- Specified by:
getGitSourcein interfaceSourceOrBuilder- Returns:
- The gitSource.
-
setGitSource
If provided, get the source from this Git repository.
.google.devtools.cloudbuild.v1.GitSource git_source = 5; -
setGitSource
If provided, get the source from this Git repository.
.google.devtools.cloudbuild.v1.GitSource git_source = 5; -
mergeGitSource
If provided, get the source from this Git repository.
.google.devtools.cloudbuild.v1.GitSource git_source = 5; -
clearGitSource
If provided, get the source from this Git repository.
.google.devtools.cloudbuild.v1.GitSource git_source = 5; -
getGitSourceBuilder
If provided, get the source from this Git repository.
.google.devtools.cloudbuild.v1.GitSource git_source = 5; -
getGitSourceOrBuilder
If provided, get the source from this Git repository.
.google.devtools.cloudbuild.v1.GitSource git_source = 5;- Specified by:
getGitSourceOrBuilderin interfaceSourceOrBuilder
-
hasStorageSourceManifest
public boolean hasStorageSourceManifest()If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).
.google.devtools.cloudbuild.v1.StorageSourceManifest storage_source_manifest = 8;- Specified by:
hasStorageSourceManifestin interfaceSourceOrBuilder- Returns:
- Whether the storageSourceManifest field is set.
-
getStorageSourceManifest
If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).
.google.devtools.cloudbuild.v1.StorageSourceManifest storage_source_manifest = 8;- Specified by:
getStorageSourceManifestin interfaceSourceOrBuilder- Returns:
- The storageSourceManifest.
-
setStorageSourceManifest
If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).
.google.devtools.cloudbuild.v1.StorageSourceManifest storage_source_manifest = 8; -
setStorageSourceManifest
If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).
.google.devtools.cloudbuild.v1.StorageSourceManifest storage_source_manifest = 8; -
mergeStorageSourceManifest
If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).
.google.devtools.cloudbuild.v1.StorageSourceManifest storage_source_manifest = 8; -
clearStorageSourceManifest
If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).
.google.devtools.cloudbuild.v1.StorageSourceManifest storage_source_manifest = 8; -
getStorageSourceManifestBuilder
If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).
.google.devtools.cloudbuild.v1.StorageSourceManifest storage_source_manifest = 8; -
getStorageSourceManifestOrBuilder
If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description [here](https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/gcs-fetcher).
.google.devtools.cloudbuild.v1.StorageSourceManifest storage_source_manifest = 8;- Specified by:
getStorageSourceManifestOrBuilderin interfaceSourceOrBuilder
-
hasConnectedRepository
public boolean hasConnectedRepository()Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource.
.google.devtools.cloudbuild.v1.ConnectedRepository connected_repository = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasConnectedRepositoryin interfaceSourceOrBuilder- Returns:
- Whether the connectedRepository field is set.
-
getConnectedRepository
Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource.
.google.devtools.cloudbuild.v1.ConnectedRepository connected_repository = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConnectedRepositoryin interfaceSourceOrBuilder- Returns:
- The connectedRepository.
-
setConnectedRepository
Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource.
.google.devtools.cloudbuild.v1.ConnectedRepository connected_repository = 9 [(.google.api.field_behavior) = OPTIONAL]; -
setConnectedRepository
Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource.
.google.devtools.cloudbuild.v1.ConnectedRepository connected_repository = 9 [(.google.api.field_behavior) = OPTIONAL]; -
mergeConnectedRepository
Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource.
.google.devtools.cloudbuild.v1.ConnectedRepository connected_repository = 9 [(.google.api.field_behavior) = OPTIONAL]; -
clearConnectedRepository
Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource.
.google.devtools.cloudbuild.v1.ConnectedRepository connected_repository = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getConnectedRepositoryBuilder
Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource.
.google.devtools.cloudbuild.v1.ConnectedRepository connected_repository = 9 [(.google.api.field_behavior) = OPTIONAL]; -
getConnectedRepositoryOrBuilder
Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource.
.google.devtools.cloudbuild.v1.ConnectedRepository connected_repository = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConnectedRepositoryOrBuilderin interfaceSourceOrBuilder
-