Interface DeploymentOrBuilder (2.20.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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ContainerInfoOrBuilder

getFiles()

public abstract Map<String,FileInfo> getFiles()

Use #getFilesMap() instead.

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

Whether the zip field is set.