Interface DeploymentOrBuilder (2.42.0)

public interface DeploymentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsFiles(String key)

public abstract 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

getCloudBuildOptions()

public abstract 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 abstract 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 abstract 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 abstract 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

getFiles() (deprecated)

public abstract Map<String,FileInfo> getFiles()

Use #getFilesMap() instead.

Returns
Type Description
Map<String,FileInfo>

getFilesCount()

public abstract 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 abstract 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 abstract 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 abstract 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

getZip()

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