Class Deployment (2.45.0)

public final class Deployment extends GeneratedMessageV3 implements DeploymentOrBuilder

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

Protobuf type google.appengine.v1.Deployment

Implements

DeploymentOrBuilder

Static Fields

CLOUD_BUILD_OPTIONS_FIELD_NUMBER

public static final int CLOUD_BUILD_OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

CONTAINER_FIELD_NUMBER

public static final int CONTAINER_FIELD_NUMBER
Field Value
Type Description
int

FILES_FIELD_NUMBER

public static final int FILES_FIELD_NUMBER
Field Value
Type Description
int

ZIP_FIELD_NUMBER

public static final int ZIP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Deployment getDefaultInstance()
Returns
Type Description
Deployment

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Deployment.Builder newBuilder()
Returns
Type Description
Deployment.Builder

newBuilder(Deployment prototype)

public static Deployment.Builder newBuilder(Deployment prototype)
Parameter
Name Description
prototype Deployment
Returns
Type Description
Deployment.Builder

parseDelimitedFrom(InputStream input)

public static Deployment parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Deployment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Deployment parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Deployment parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Deployment parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Deployment parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Deployment parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Deployment
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Deployment> parser()
Returns
Type Description
Parser<Deployment>

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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
Type Description
CloudBuildOptions

The cloudBuildOptions.

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
Type Description
CloudBuildOptionsOrBuilder

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
Type Description
ContainerInfo

The container.

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
Type Description
ContainerInfoOrBuilder

getDefaultInstanceForType()

public Deployment getDefaultInstanceForType()
Returns
Type Description
Deployment

getFiles() (deprecated)

public Map<String,FileInfo> getFiles()

Use #getFilesMap() instead.

Returns
Type Description
Map<String,FileInfo>

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;

Returns
Type Description
Map<String,FileInfo>

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

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getZip()

public ZipInfo 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.

getZipOrBuilder()

public ZipInfoOrBuilder getZipOrBuilder()

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

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

Returns
Type Description
ZipInfoOrBuilder

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

public boolean 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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Deployment.Builder newBuilderForType()
Returns
Type Description
Deployment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Deployment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Deployment.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Deployment.Builder toBuilder()
Returns
Type Description
Deployment.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException