Package com.google.appengine.v1
Class Deployment.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
- com.google.appengine.v1.Deployment.Builder
-
- All Implemented Interfaces:
DeploymentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Deployment
public static final class Deployment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder> implements DeploymentOrBuilder
Code and application artifacts used to deploy a version to App Engine.
Protobuf typegoogle.appengine.v1.Deployment
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Deployment.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Deploymentbuild()DeploymentbuildPartial()Deployment.Builderclear()Deployment.BuilderclearCloudBuildOptions()Options for any Google Cloud Build builds created as a part of this deployment.Deployment.BuilderclearContainer()The Docker image for the container that runs the version.Deployment.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Deployment.BuilderclearFiles()Deployment.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Deployment.BuilderclearZip()The zip file for this deployment, if this is a zip deployment.Deployment.Builderclone()booleancontainsFiles(String key)Manifest of the files stored in Google Cloud Storage that are included as part of this version.CloudBuildOptionsgetCloudBuildOptions()Options for any Google Cloud Build builds created as a part of this deployment.CloudBuildOptions.BuildergetCloudBuildOptionsBuilder()Options for any Google Cloud Build builds created as a part of this deployment.CloudBuildOptionsOrBuildergetCloudBuildOptionsOrBuilder()Options for any Google Cloud Build builds created as a part of this deployment.ContainerInfogetContainer()The Docker image for the container that runs the version.ContainerInfo.BuildergetContainerBuilder()The Docker image for the container that runs the version.ContainerInfoOrBuildergetContainerOrBuilder()The Docker image for the container that runs the version.DeploymentgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Map<String,FileInfo>getFiles()Deprecated.intgetFilesCount()Manifest of the files stored in Google Cloud Storage that are included as part of this version.Map<String,FileInfo>getFilesMap()Manifest of the files stored in Google Cloud Storage that are included as part of this version.FileInfogetFilesOrDefault(String key, FileInfo defaultValue)Manifest of the files stored in Google Cloud Storage that are included as part of this version.FileInfogetFilesOrThrow(String key)Manifest of the files stored in Google Cloud Storage that are included as part of this version.Map<String,FileInfo>getMutableFiles()Deprecated.ZipInfogetZip()The zip file for this deployment, if this is a zip deployment.ZipInfo.BuildergetZipBuilder()The zip file for this deployment, if this is a zip deployment.ZipInfoOrBuildergetZipOrBuilder()The zip file for this deployment, if this is a zip deployment.booleanhasCloudBuildOptions()Options for any Google Cloud Build builds created as a part of this deployment.booleanhasContainer()The Docker image for the container that runs the version.booleanhasZip()The zip file for this deployment, if this is a zip deployment.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Deployment.BuildermergeCloudBuildOptions(CloudBuildOptions value)Options for any Google Cloud Build builds created as a part of this deployment.Deployment.BuildermergeContainer(ContainerInfo value)The Docker image for the container that runs the version.Deployment.BuildermergeFrom(Deployment other)Deployment.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Deployment.BuildermergeFrom(com.google.protobuf.Message other)Deployment.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Deployment.BuildermergeZip(ZipInfo value)The zip file for this deployment, if this is a zip deployment.Deployment.BuilderputAllFiles(Map<String,FileInfo> values)Manifest of the files stored in Google Cloud Storage that are included as part of this version.Deployment.BuilderputFiles(String key, FileInfo value)Manifest of the files stored in Google Cloud Storage that are included as part of this version.Deployment.BuilderremoveFiles(String key)Manifest of the files stored in Google Cloud Storage that are included as part of this version.Deployment.BuildersetCloudBuildOptions(CloudBuildOptions value)Options for any Google Cloud Build builds created as a part of this deployment.Deployment.BuildersetCloudBuildOptions(CloudBuildOptions.Builder builderForValue)Options for any Google Cloud Build builds created as a part of this deployment.Deployment.BuildersetContainer(ContainerInfo value)The Docker image for the container that runs the version.Deployment.BuildersetContainer(ContainerInfo.Builder builderForValue)The Docker image for the container that runs the version.Deployment.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Deployment.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Deployment.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Deployment.BuildersetZip(ZipInfo value)The zip file for this deployment, if this is a zip deployment.Deployment.BuildersetZip(ZipInfo.Builder builderForValue)The zip file for this deployment, if this is a zip deployment.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
clear
public Deployment.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.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.GeneratedMessageV3.Builder<Deployment.Builder>
-
getDefaultInstanceForType
public Deployment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Deployment build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Deployment buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Deployment.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
setField
public Deployment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
clearField
public Deployment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
clearOneof
public Deployment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
setRepeatedField
public Deployment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
addRepeatedField
public Deployment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
mergeFrom
public Deployment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Deployment.Builder>
-
mergeFrom
public Deployment.Builder mergeFrom(Deployment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
mergeFrom
public Deployment.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<Deployment.Builder>- Throws:
IOException
-
getFilesCount
public int getFilesCount()
Description copied from interface:DeploymentOrBuilderManifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call.
map<string, .google.appengine.v1.FileInfo> files = 1;- Specified by:
getFilesCountin interfaceDeploymentOrBuilder
-
containsFiles
public boolean containsFiles(String key)
Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call.
map<string, .google.appengine.v1.FileInfo> files = 1;- Specified by:
containsFilesin interfaceDeploymentOrBuilder
-
getFiles
@Deprecated public Map<String,FileInfo> getFiles()
Deprecated.UsegetFilesMap()instead.- Specified by:
getFilesin interfaceDeploymentOrBuilder
-
getFilesMap
public Map<String,FileInfo> getFilesMap()
Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call.
map<string, .google.appengine.v1.FileInfo> files = 1;- Specified by:
getFilesMapin interfaceDeploymentOrBuilder
-
getFilesOrDefault
public FileInfo getFilesOrDefault(String key, FileInfo defaultValue)
Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call.
map<string, .google.appengine.v1.FileInfo> files = 1;- Specified by:
getFilesOrDefaultin interfaceDeploymentOrBuilder
-
getFilesOrThrow
public FileInfo getFilesOrThrow(String key)
Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call.
map<string, .google.appengine.v1.FileInfo> files = 1;- Specified by:
getFilesOrThrowin interfaceDeploymentOrBuilder
-
clearFiles
public Deployment.Builder clearFiles()
-
removeFiles
public Deployment.Builder removeFiles(String key)
Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call.
map<string, .google.appengine.v1.FileInfo> files = 1;
-
getMutableFiles
@Deprecated public Map<String,FileInfo> getMutableFiles()
Deprecated.Use alternate mutation accessors instead.
-
putFiles
public Deployment.Builder putFiles(String key, FileInfo value)
Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call.
map<string, .google.appengine.v1.FileInfo> files = 1;
-
putAllFiles
public Deployment.Builder putAllFiles(Map<String,FileInfo> values)
Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call.
map<string, .google.appengine.v1.FileInfo> files = 1;
-
hasContainer
public boolean hasContainer()
The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment.
.google.appengine.v1.ContainerInfo container = 2;- Specified by:
hasContainerin interfaceDeploymentOrBuilder- Returns:
- Whether the container field is set.
-
getContainer
public ContainerInfo getContainer()
The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment.
.google.appengine.v1.ContainerInfo container = 2;- Specified by:
getContainerin interfaceDeploymentOrBuilder- Returns:
- The container.
-
setContainer
public Deployment.Builder setContainer(ContainerInfo value)
The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment.
.google.appengine.v1.ContainerInfo container = 2;
-
setContainer
public Deployment.Builder setContainer(ContainerInfo.Builder builderForValue)
The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment.
.google.appengine.v1.ContainerInfo container = 2;
-
mergeContainer
public Deployment.Builder mergeContainer(ContainerInfo value)
The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment.
.google.appengine.v1.ContainerInfo container = 2;
-
clearContainer
public Deployment.Builder clearContainer()
The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment.
.google.appengine.v1.ContainerInfo container = 2;
-
getContainerBuilder
public ContainerInfo.Builder getContainerBuilder()
The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment.
.google.appengine.v1.ContainerInfo container = 2;
-
getContainerOrBuilder
public ContainerInfoOrBuilder getContainerOrBuilder()
The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment.
.google.appengine.v1.ContainerInfo container = 2;- Specified by:
getContainerOrBuilderin interfaceDeploymentOrBuilder
-
hasZip
public boolean hasZip()
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;- Specified by:
hasZipin interfaceDeploymentOrBuilder- Returns:
- Whether the zip field is set.
-
getZip
public ZipInfo getZip()
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;- Specified by:
getZipin interfaceDeploymentOrBuilder- Returns:
- The zip.
-
setZip
public Deployment.Builder setZip(ZipInfo value)
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
-
setZip
public Deployment.Builder setZip(ZipInfo.Builder builderForValue)
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
-
mergeZip
public Deployment.Builder mergeZip(ZipInfo value)
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
-
clearZip
public Deployment.Builder clearZip()
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
-
getZipBuilder
public ZipInfo.Builder getZipBuilder()
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
-
getZipOrBuilder
public ZipInfoOrBuilder getZipOrBuilder()
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;- Specified by:
getZipOrBuilderin interfaceDeploymentOrBuilder
-
hasCloudBuildOptions
public boolean hasCloudBuildOptions()
Options for any Google Cloud Build builds created as a part of this deployment. These options will only be used if a new build is created, such as when deploying to the App Engine flexible environment using files or zip.
.google.appengine.v1.CloudBuildOptions cloud_build_options = 6;- Specified by:
hasCloudBuildOptionsin interfaceDeploymentOrBuilder- Returns:
- Whether the cloudBuildOptions field is set.
-
getCloudBuildOptions
public CloudBuildOptions getCloudBuildOptions()
Options for any Google Cloud Build builds created as a part of this deployment. These options will only be used if a new build is created, such as when deploying to the App Engine flexible environment using files or zip.
.google.appengine.v1.CloudBuildOptions cloud_build_options = 6;- Specified by:
getCloudBuildOptionsin interfaceDeploymentOrBuilder- Returns:
- The cloudBuildOptions.
-
setCloudBuildOptions
public Deployment.Builder setCloudBuildOptions(CloudBuildOptions value)
Options for any Google Cloud Build builds created as a part of this deployment. These options will only be used if a new build is created, such as when deploying to the App Engine flexible environment using files or zip.
.google.appengine.v1.CloudBuildOptions cloud_build_options = 6;
-
setCloudBuildOptions
public Deployment.Builder setCloudBuildOptions(CloudBuildOptions.Builder builderForValue)
Options for any Google Cloud Build builds created as a part of this deployment. These options will only be used if a new build is created, such as when deploying to the App Engine flexible environment using files or zip.
.google.appengine.v1.CloudBuildOptions cloud_build_options = 6;
-
mergeCloudBuildOptions
public Deployment.Builder mergeCloudBuildOptions(CloudBuildOptions value)
Options for any Google Cloud Build builds created as a part of this deployment. These options will only be used if a new build is created, such as when deploying to the App Engine flexible environment using files or zip.
.google.appengine.v1.CloudBuildOptions cloud_build_options = 6;
-
clearCloudBuildOptions
public Deployment.Builder clearCloudBuildOptions()
Options for any Google Cloud Build builds created as a part of this deployment. These options will only be used if a new build is created, such as when deploying to the App Engine flexible environment using files or zip.
.google.appengine.v1.CloudBuildOptions cloud_build_options = 6;
-
getCloudBuildOptionsBuilder
public CloudBuildOptions.Builder getCloudBuildOptionsBuilder()
Options for any Google Cloud Build builds created as a part of this deployment. These options will only be used if a new build is created, such as when deploying to the App Engine flexible environment using files or zip.
.google.appengine.v1.CloudBuildOptions cloud_build_options = 6;
-
getCloudBuildOptionsOrBuilder
public CloudBuildOptionsOrBuilder getCloudBuildOptionsOrBuilder()
Options for any Google Cloud Build builds created as a part of this deployment. These options will only be used if a new build is created, such as when deploying to the App Engine flexible environment using files or zip.
.google.appengine.v1.CloudBuildOptions cloud_build_options = 6;- Specified by:
getCloudBuildOptionsOrBuilderin interfaceDeploymentOrBuilder
-
setUnknownFields
public final Deployment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
mergeUnknownFields
public final Deployment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
-
-