public static final class Deployment.Builder extends GeneratedMessageV3.Builder<Deployment.Builder> implements DeploymentOrBuilder
Code and application artifacts used to deploy a version to App Engine.
Protobuf type google.appengine.v1.Deployment
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Deployment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Deployment build()
Returns
buildPartial()
public Deployment buildPartial()
Returns
clear()
public Deployment.Builder clear()
Returns
Overrides
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;
Returns
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public Deployment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFiles()
public Deployment.Builder clearFiles()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Deployment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearZip()
public Deployment.Builder clearZip()
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
Returns
clone()
public Deployment.Builder clone()
Returns
Overrides
containsFiles(String key)
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;
Parameter
Returns
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;
Returns
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;
Returns
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;
Returns
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;
Returns
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;
Returns
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;
Returns
getDefaultInstanceForType()
public Deployment getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFiles()
public Map<String,FileInfo> getFiles()
Returns
getFilesCount()
public int getFilesCount()
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;
Returns
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;
Returns
getFilesOrDefault(String key, FileInfo defaultValue)
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;
Parameters
Returns
getFilesOrThrow(String key)
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;
Parameter
Returns
getMutableFiles()
public Map<String,FileInfo> getMutableFiles()
Use alternate mutation accessors instead.
Returns
getZip()
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
Returns
getZipBuilder()
public ZipInfo.Builder getZipBuilder()
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
Returns
getZipOrBuilder()
public ZipInfoOrBuilder getZipOrBuilder()
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
Returns
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;
Returns
Type | Description |
boolean | Whether the cloudBuildOptions field is set.
|
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;
Returns
Type | Description |
boolean | Whether the container field is set.
|
hasZip()
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
Returns
Type | Description |
boolean | Whether the zip field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeCloudBuildOptions(CloudBuildOptions value)
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;
Parameter
Returns
mergeContainer(ContainerInfo value)
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;
Parameter
Returns
mergeFrom(Deployment other)
public Deployment.Builder mergeFrom(Deployment other)
Parameter
Returns
public Deployment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Deployment.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Deployment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeZip(ZipInfo value)
public Deployment.Builder mergeZip(ZipInfo value)
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
Parameter
Returns
putAllFiles(Map<String,FileInfo> values)
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;
Parameter
Returns
putFiles(String key, FileInfo value)
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;
Parameters
Returns
removeFiles(String key)
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;
Parameter
Returns
setCloudBuildOptions(CloudBuildOptions value)
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;
Parameter
Returns
setCloudBuildOptions(CloudBuildOptions.Builder builderForValue)
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;
Parameter
Returns
setContainer(ContainerInfo value)
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;
Parameter
Returns
setContainer(ContainerInfo.Builder builderForValue)
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;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Deployment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Deployment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Deployment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setZip(ZipInfo value)
public Deployment.Builder setZip(ZipInfo value)
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
Parameter
Returns
setZip(ZipInfo.Builder builderForValue)
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;
Parameter
Returns