Package com.google.cloud.deploy.v1
Class SkaffoldModules.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SkaffoldModules.Builder>
com.google.cloud.deploy.v1.SkaffoldModules.Builder
- All Implemented Interfaces:
SkaffoldModulesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SkaffoldModules
public static final class SkaffoldModules.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SkaffoldModules.Builder>
implements SkaffoldModulesOrBuilder
Skaffold Config modules and their remote source.Protobuf type
google.cloud.deploy.v1.SkaffoldModules-
Method Summary
Modifier and TypeMethodDescriptionaddAllConfigs(Iterable<String> values) Optional.addConfigs(String value) Optional.addConfigsBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.clearGit()Optional.Optional.Optional.getConfigs(int index) Optional.com.google.protobuf.ByteStringgetConfigsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetGit()Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.booleanhasGit()Optional.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(SkaffoldModules other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.Optional.Optional.setConfigs(int index, String value) Optional.Optional.setGit(SkaffoldModules.SkaffoldGitSource.Builder builderForValue) Optional.Optional.setGoogleCloudBuildRepo(SkaffoldModules.SkaffoldGCBRepoSource.Builder builderForValue) Optional.Optional.setGoogleCloudStorage(SkaffoldModules.SkaffoldGCSSource.Builder builderForValue) Optional.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<SkaffoldModules.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<SkaffoldModules.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<SkaffoldModules.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<SkaffoldModules.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SkaffoldModules.Builder>
-
mergeFrom
public SkaffoldModules.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<SkaffoldModules.Builder>- Throws:
IOException
-
getSourceCase
- Specified by:
getSourceCasein interfaceSkaffoldModulesOrBuilder
-
clearSource
-
getConfigsList
public com.google.protobuf.ProtocolStringList getConfigsList()Optional. The Skaffold Config modules to use from the specified source.
repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConfigsListin interfaceSkaffoldModulesOrBuilder- Returns:
- A list containing the configs.
-
getConfigsCount
public int getConfigsCount()Optional. The Skaffold Config modules to use from the specified source.
repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConfigsCountin interfaceSkaffoldModulesOrBuilder- Returns:
- The count of configs.
-
getConfigs
Optional. The Skaffold Config modules to use from the specified source.
repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConfigsin interfaceSkaffoldModulesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The configs at the given index.
-
getConfigsBytes
public com.google.protobuf.ByteString getConfigsBytes(int index) Optional. The Skaffold Config modules to use from the specified source.
repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getConfigsBytesin interfaceSkaffoldModulesOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the configs at the given index.
-
setConfigs
Optional. The Skaffold Config modules to use from the specified source.
repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The configs to set.- Returns:
- This builder for chaining.
-
addConfigs
Optional. The Skaffold Config modules to use from the specified source.
repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The configs to add.- Returns:
- This builder for chaining.
-
addAllConfigs
Optional. The Skaffold Config modules to use from the specified source.
repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The configs to add.- Returns:
- This builder for chaining.
-
clearConfigs
Optional. The Skaffold Config modules to use from the specified source.
repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addConfigsBytes
Optional. The Skaffold Config modules to use from the specified source.
repeated string configs = 1 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the configs to add.- Returns:
- This builder for chaining.
-
hasGit
public boolean hasGit()Optional. Remote git repository containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasGitin interfaceSkaffoldModulesOrBuilder- Returns:
- Whether the git field is set.
-
getGit
Optional. Remote git repository containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGitin interfaceSkaffoldModulesOrBuilder- Returns:
- The git.
-
setGit
Optional. Remote git repository containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL]; -
setGit
Optional. Remote git repository containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL]; -
mergeGit
Optional. Remote git repository containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL]; -
clearGit
Optional. Remote git repository containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getGitBuilder
Optional. Remote git repository containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getGitOrBuilder
Optional. Remote git repository containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGitSource git = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGitOrBuilderin interfaceSkaffoldModulesOrBuilder
-
hasGoogleCloudStorage
public boolean hasGoogleCloudStorage()Optional. Cloud Storage bucket containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasGoogleCloudStoragein interfaceSkaffoldModulesOrBuilder- Returns:
- Whether the googleCloudStorage field is set.
-
getGoogleCloudStorage
Optional. Cloud Storage bucket containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGoogleCloudStoragein interfaceSkaffoldModulesOrBuilder- Returns:
- The googleCloudStorage.
-
setGoogleCloudStorage
Optional. Cloud Storage bucket containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setGoogleCloudStorage
public SkaffoldModules.Builder setGoogleCloudStorage(SkaffoldModules.SkaffoldGCSSource.Builder builderForValue) Optional. Cloud Storage bucket containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; -
mergeGoogleCloudStorage
Optional. Cloud Storage bucket containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearGoogleCloudStorage
Optional. Cloud Storage bucket containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getGoogleCloudStorageBuilder
Optional. Cloud Storage bucket containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getGoogleCloudStorageOrBuilder
Optional. Cloud Storage bucket containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCSSource google_cloud_storage = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGoogleCloudStorageOrBuilderin interfaceSkaffoldModulesOrBuilder
-
hasGoogleCloudBuildRepo
public boolean hasGoogleCloudBuildRepo()Optional. Cloud Build V2 repository containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasGoogleCloudBuildRepoin interfaceSkaffoldModulesOrBuilder- Returns:
- Whether the googleCloudBuildRepo field is set.
-
getGoogleCloudBuildRepo
Optional. Cloud Build V2 repository containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGoogleCloudBuildRepoin interfaceSkaffoldModulesOrBuilder- Returns:
- The googleCloudBuildRepo.
-
setGoogleCloudBuildRepo
Optional. Cloud Build V2 repository containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL]; -
setGoogleCloudBuildRepo
public SkaffoldModules.Builder setGoogleCloudBuildRepo(SkaffoldModules.SkaffoldGCBRepoSource.Builder builderForValue) Optional. Cloud Build V2 repository containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL]; -
mergeGoogleCloudBuildRepo
public SkaffoldModules.Builder mergeGoogleCloudBuildRepo(SkaffoldModules.SkaffoldGCBRepoSource value) Optional. Cloud Build V2 repository containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL]; -
clearGoogleCloudBuildRepo
Optional. Cloud Build V2 repository containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getGoogleCloudBuildRepoBuilder
Optional. Cloud Build V2 repository containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL]; -
getGoogleCloudBuildRepoOrBuilder
Optional. Cloud Build V2 repository containing the Skaffold Config modules.
.google.cloud.deploy.v1.SkaffoldModules.SkaffoldGCBRepoSource google_cloud_build_repo = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getGoogleCloudBuildRepoOrBuilderin interfaceSkaffoldModulesOrBuilder
-