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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Deployment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Deployment build()
buildPartial()
public Deployment buildPartial()
clear()
public Deployment.Builder clear()
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;
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;
clearField(Descriptors.FieldDescriptor field)
public Deployment.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFiles()
public Deployment.Builder clearFiles()
clearOneof(Descriptors.OneofDescriptor oneof)
public Deployment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearZip()
public Deployment.Builder clearZip()
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
clone()
public Deployment.Builder clone()
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 |
---|
Name | Description |
key | String
|
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;
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;
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;
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;
getDefaultInstanceForType()
public Deployment getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFiles() (deprecated)
public Map<String,FileInfo> getFiles()
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 |
---|
Type | Description |
int | |
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;
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;
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 |
---|
Name | Description |
key | String
|
getMutableFiles() (deprecated)
public Map<String,FileInfo> getMutableFiles()
Use alternate mutation accessors instead.
getZip()
The zip file for this deployment, if this is a zip deployment.
.google.appengine.v1.ZipInfo zip = 3;
Returns |
---|
Type | Description |
ZipInfo | The zip.
|
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;
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()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
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;
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;
mergeFrom(Deployment other)
public Deployment.Builder mergeFrom(Deployment other)
public Deployment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Deployment.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Deployment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
value | ZipInfo
|
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;
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;
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 |
---|
Name | Description |
key | String
|
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;
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;
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public Deployment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Deployment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Deployment.Builder setUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
value | ZipInfo
|
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;