Send feedback
Class Deployment (2.14.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.14.0 keyboard_arrow_down
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
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 ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Deployment . Builder newBuilder ()
newBuilder(Deployment prototype)
public static Deployment . Builder newBuilder ( Deployment prototype )
public static Deployment parseDelimitedFrom ( InputStream input )
public static Deployment parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static Deployment parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static Deployment parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static Deployment parseFrom ( CodedInputStream input )
public static Deployment parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static Deployment parseFrom ( InputStream input )
public static Deployment parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static Deployment parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Deployment parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<Deployment> parser ()
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
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
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;
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;
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 ()
getFiles()
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
getParserForType()
public Parser<Deployment> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
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;
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.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField ( int number )
Parameter Name Description number
int
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Deployment . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Deployment . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public Deployment . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]