Class Deployment (2.6.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
TypeDescription
int

CONTAINER_FIELD_NUMBER

public static final int CONTAINER_FIELD_NUMBER
Field Value
TypeDescription
int

FILES_FIELD_NUMBER

public static final int FILES_FIELD_NUMBER
Field Value
TypeDescription
int

ZIP_FIELD_NUMBER

public static final int ZIP_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Deployment getDefaultInstance()
Returns
TypeDescription
Deployment

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Deployment.Builder newBuilder()
Returns
TypeDescription
Deployment.Builder

newBuilder(Deployment prototype)

public static Deployment.Builder newBuilder(Deployment prototype)
Parameter
NameDescription
prototypeDeployment
Returns
TypeDescription
Deployment.Builder

parseDelimitedFrom(InputStream input)

public static Deployment parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Deployment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Deployment parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Deployment parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Deployment parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Deployment parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Deployment parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Deployment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Deployment
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Deployment> parser()
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ContainerInfoOrBuilder

getDefaultInstanceForType()

public Deployment getDefaultInstanceForType()
Returns
TypeDescription
Deployment

getFiles()

public Map<String,FileInfo> getFiles()

Use #getFilesMap() instead.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueFileInfo
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
FileInfo

getParserForType()

public Parser<Deployment> getParserForType()
Returns
TypeDescription
Parser<Deployment>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getZip()

public ZipInfo getZip()

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

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the zip field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Deployment.Builder newBuilderForType()
Returns
TypeDescription
Deployment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Deployment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Deployment.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Deployment.Builder toBuilder()
Returns
TypeDescription
Deployment.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException