Class Deployment (2.33.0)

publicfinalclass DeploymentextendsGeneratedMessageV3implementsDeploymentOrBuilder

Code and application artifacts used to deploy a version to App Engine.

Protobuf type google.appengine.v1.Deployment

Implements

DeploymentOrBuilder

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

CLOUD_BUILD_OPTIONS_FIELD_NUMBER

publicstaticfinalintCLOUD_BUILD_OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

CONTAINER_FIELD_NUMBER

publicstaticfinalintCONTAINER_FIELD_NUMBER
Field Value
Type Description
int

FILES_FIELD_NUMBER

publicstaticfinalintFILES_FIELD_NUMBER
Field Value
Type Description
int

ZIP_FIELD_NUMBER

publicstaticfinalintZIP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticDeploymentgetDefaultInstance()
Returns
Type Description
Deployment

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticDeployment.BuildernewBuilder()
Returns
Type Description
Deployment.Builder

newBuilder(Deployment prototype)

publicstaticDeployment.BuildernewBuilder(Deploymentprototype)
Parameter
Name Description
prototype Deployment
Returns
Type Description
Deployment.Builder

parseDelimitedFrom(InputStream input)

publicstaticDeploymentparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticDeploymentparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticDeploymentparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticDeploymentparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticDeploymentparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticDeploymentparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticDeploymentparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticDeploymentparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticDeploymentparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticDeploymentparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticDeploymentparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticDeploymentparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<Deployment>parser()
Returns
Type Description
Parser<Deployment>

Methods

containsFiles(String key)

publicbooleancontainsFiles(Stringkey)

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
Returns
Type Description
boolean

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCloudBuildOptions()

publicCloudBuildOptionsgetCloudBuildOptions()

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
CloudBuildOptions

The cloudBuildOptions.

getCloudBuildOptionsOrBuilder()

publicCloudBuildOptionsOrBuildergetCloudBuildOptionsOrBuilder()

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
CloudBuildOptionsOrBuilder

getContainer()

publicContainerInfogetContainer()

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
ContainerInfo

The container.

getContainerOrBuilder()

publicContainerInfoOrBuildergetContainerOrBuilder()

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
ContainerInfoOrBuilder

getDefaultInstanceForType()

publicDeploymentgetDefaultInstanceForType()
Returns
Type Description
Deployment

getFiles() (deprecated)

publicMap<String,FileInfo>getFiles()

Use #getFilesMap() instead.

Returns
Type Description
Map<String,FileInfo>

getFilesCount()

publicintgetFilesCount()

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()

publicMap<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
Type Description
Map<String,FileInfo>

getFilesOrDefault(String key, FileInfo defaultValue)

publicFileInfogetFilesOrDefault(Stringkey,FileInfodefaultValue)

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
Name Description
key String
defaultValue FileInfo
Returns
Type Description
FileInfo

getFilesOrThrow(String key)

publicFileInfogetFilesOrThrow(Stringkey)

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
Returns
Type Description
FileInfo

getParserForType()

publicParser<Deployment>getParserForType()
Returns
Type Description
Parser<Deployment>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getZip()

publicZipInfogetZip()

The zip file for this deployment, if this is a zip deployment.

.google.appengine.v1.ZipInfo zip = 3;

Returns
Type Description
ZipInfo

The zip.

getZipOrBuilder()

publicZipInfoOrBuildergetZipOrBuilder()

The zip file for this deployment, if this is a zip deployment.

.google.appengine.v1.ZipInfo zip = 3;

Returns
Type Description
ZipInfoOrBuilder

hasCloudBuildOptions()

publicbooleanhasCloudBuildOptions()

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()

publicbooleanhasContainer()

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()

publicbooleanhasZip()

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.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapField(int number)

protectedMapFieldinternalGetMapField(intnumber)
Parameter
Name Description
number int
Returns
Type Description
MapField
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicDeployment.BuildernewBuilderForType()
Returns
Type Description
Deployment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedDeployment.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Deployment.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicDeployment.BuildertoBuilder()
Returns
Type Description
Deployment.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.