Interface VersionOrBuilder (2.44.0)

public interface VersionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsBetaSettings(String key)

public abstract boolean containsBetaSettings(String key)

Metadata settings that are supplied to this version to enable beta runtime features.

map<string, string> beta_settings = 13;

Parameter
Name Description
key String
Returns
Type Description
boolean

containsBuildEnvVariables(String key)

public abstract boolean containsBuildEnvVariables(String key)

Environment variables available to the build environment.

Only returned in GET requests if view=FULL is set.

map<string, string> build_env_variables = 125;

Parameter
Name Description
key String
Returns
Type Description
boolean

containsEnvVariables(String key)

public abstract boolean containsEnvVariables(String key)

Environment variables available to the application.

Only returned in GET requests if view=FULL is set.

map<string, string> env_variables = 104;

Parameter
Name Description
key String
Returns
Type Description
boolean

getApiConfig()

public abstract ApiConfigHandler getApiConfig()

Serving configuration for Google Cloud Endpoints.

Only returned in GET requests if view=FULL is set.

.google.appengine.v1.ApiConfigHandler api_config = 103;

Returns
Type Description
ApiConfigHandler

The apiConfig.

getApiConfigOrBuilder()

public abstract ApiConfigHandlerOrBuilder getApiConfigOrBuilder()

Serving configuration for Google Cloud Endpoints.

Only returned in GET requests if view=FULL is set.

.google.appengine.v1.ApiConfigHandler api_config = 103;

Returns
Type Description
ApiConfigHandlerOrBuilder

getAppEngineApis()

public abstract boolean getAppEngineApis()

Allows App Engine second generation runtimes to access the legacy bundled services.

bool app_engine_apis = 128;

Returns
Type Description
boolean

The appEngineApis.

getAutomaticScaling()

public abstract AutomaticScaling getAutomaticScaling()

Automatic scaling is based on request rate, response latencies, and other application metrics. Instances are dynamically created and destroyed as needed in order to handle traffic.

.google.appengine.v1.AutomaticScaling automatic_scaling = 3;

Returns
Type Description
AutomaticScaling

The automaticScaling.

getAutomaticScalingOrBuilder()

public abstract AutomaticScalingOrBuilder getAutomaticScalingOrBuilder()

Automatic scaling is based on request rate, response latencies, and other application metrics. Instances are dynamically created and destroyed as needed in order to handle traffic.

.google.appengine.v1.AutomaticScaling automatic_scaling = 3;

Returns
Type Description
AutomaticScalingOrBuilder

getBasicScaling()

public abstract BasicScaling getBasicScaling()

A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.

.google.appengine.v1.BasicScaling basic_scaling = 4;

Returns
Type Description
BasicScaling

The basicScaling.

getBasicScalingOrBuilder()

public abstract BasicScalingOrBuilder getBasicScalingOrBuilder()

A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.

.google.appengine.v1.BasicScaling basic_scaling = 4;

Returns
Type Description
BasicScalingOrBuilder

getBetaSettings() (deprecated)

public abstract Map<String,String> getBetaSettings()

Use #getBetaSettingsMap() instead.

Returns
Type Description
Map<String,String>

getBetaSettingsCount()

public abstract int getBetaSettingsCount()

Metadata settings that are supplied to this version to enable beta runtime features.

map<string, string> beta_settings = 13;

Returns
Type Description
int

getBetaSettingsMap()

public abstract Map<String,String> getBetaSettingsMap()

Metadata settings that are supplied to this version to enable beta runtime features.

map<string, string> beta_settings = 13;

Returns
Type Description
Map<String,String>

getBetaSettingsOrDefault(String key, String defaultValue)

public abstract String getBetaSettingsOrDefault(String key, String defaultValue)

Metadata settings that are supplied to this version to enable beta runtime features.

map<string, string> beta_settings = 13;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getBetaSettingsOrThrow(String key)

public abstract String getBetaSettingsOrThrow(String key)

Metadata settings that are supplied to this version to enable beta runtime features.

map<string, string> beta_settings = 13;

Parameter
Name Description
key String
Returns
Type Description
String

getBuildEnvVariables() (deprecated)

public abstract Map<String,String> getBuildEnvVariables()
Returns
Type Description
Map<String,String>

getBuildEnvVariablesCount()

public abstract int getBuildEnvVariablesCount()

Environment variables available to the build environment.

Only returned in GET requests if view=FULL is set.

map<string, string> build_env_variables = 125;

Returns
Type Description
int

getBuildEnvVariablesMap()

public abstract Map<String,String> getBuildEnvVariablesMap()

Environment variables available to the build environment.

Only returned in GET requests if view=FULL is set.

map<string, string> build_env_variables = 125;

Returns
Type Description
Map<String,String>

getBuildEnvVariablesOrDefault(String key, String defaultValue)

public abstract String getBuildEnvVariablesOrDefault(String key, String defaultValue)

Environment variables available to the build environment.

Only returned in GET requests if view=FULL is set.

map<string, string> build_env_variables = 125;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getBuildEnvVariablesOrThrow(String key)

public abstract String getBuildEnvVariablesOrThrow(String key)

Environment variables available to the build environment.

Only returned in GET requests if view=FULL is set.

map<string, string> build_env_variables = 125;

Parameter
Name Description
key String
Returns
Type Description
String

getCreateTime()

public abstract Timestamp getCreateTime()

Time that this version was created.

@OutputOnly

.google.protobuf.Timestamp create_time = 17;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Time that this version was created.

@OutputOnly

.google.protobuf.Timestamp create_time = 17;

Returns
Type Description
TimestampOrBuilder

getCreatedBy()

public abstract String getCreatedBy()

Email address of the user who created this version.

@OutputOnly

string created_by = 16;

Returns
Type Description
String

The createdBy.

getCreatedByBytes()

public abstract ByteString getCreatedByBytes()

Email address of the user who created this version.

@OutputOnly

string created_by = 16;

Returns
Type Description
ByteString

The bytes for createdBy.

getDefaultExpiration()

public abstract Duration getDefaultExpiration()

Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.

Only returned in GET requests if view=FULL is set.

.google.protobuf.Duration default_expiration = 105;

Returns
Type Description
Duration

The defaultExpiration.

getDefaultExpirationOrBuilder()

public abstract DurationOrBuilder getDefaultExpirationOrBuilder()

Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.

Only returned in GET requests if view=FULL is set.

.google.protobuf.Duration default_expiration = 105;

Returns
Type Description
DurationOrBuilder

getDeployment()

public abstract Deployment getDeployment()

Code and application artifacts that make up this version.

Only returned in GET requests if view=FULL is set.

.google.appengine.v1.Deployment deployment = 108;

Returns
Type Description
Deployment

The deployment.

getDeploymentOrBuilder()

public abstract DeploymentOrBuilder getDeploymentOrBuilder()

Code and application artifacts that make up this version.

Only returned in GET requests if view=FULL is set.

.google.appengine.v1.Deployment deployment = 108;

Returns
Type Description
DeploymentOrBuilder

getDiskUsageBytes()

public abstract long getDiskUsageBytes()

Total size in bytes of all the files that are included in this version and currently hosted on the App Engine disk.

@OutputOnly

int64 disk_usage_bytes = 18;

Returns
Type Description
long

The diskUsageBytes.

getEndpointsApiService()

public abstract EndpointsApiService getEndpointsApiService()

Cloud Endpoints configuration.

If endpoints_api_service is set, the Cloud Endpoints Extensible Service Proxy will be provided to serve the API implemented by the app.

.google.appengine.v1.EndpointsApiService endpoints_api_service = 110;

Returns
Type Description
EndpointsApiService

The endpointsApiService.

getEndpointsApiServiceOrBuilder()

public abstract EndpointsApiServiceOrBuilder getEndpointsApiServiceOrBuilder()

Cloud Endpoints configuration.

If endpoints_api_service is set, the Cloud Endpoints Extensible Service Proxy will be provided to serve the API implemented by the app.

.google.appengine.v1.EndpointsApiService endpoints_api_service = 110;

Returns
Type Description
EndpointsApiServiceOrBuilder

getEntrypoint()

public abstract Entrypoint getEntrypoint()

The entrypoint for the application.

.google.appengine.v1.Entrypoint entrypoint = 122;

Returns
Type Description
Entrypoint

The entrypoint.

getEntrypointOrBuilder()

public abstract EntrypointOrBuilder getEntrypointOrBuilder()

The entrypoint for the application.

.google.appengine.v1.Entrypoint entrypoint = 122;

Returns
Type Description
EntrypointOrBuilder

getEnv()

public abstract String getEnv()

App Engine execution environment for this version.

Defaults to standard.

string env = 14;

Returns
Type Description
String

The env.

getEnvBytes()

public abstract ByteString getEnvBytes()

App Engine execution environment for this version.

Defaults to standard.

string env = 14;

Returns
Type Description
ByteString

The bytes for env.

getEnvVariables() (deprecated)

public abstract Map<String,String> getEnvVariables()

Use #getEnvVariablesMap() instead.

Returns
Type Description
Map<String,String>

getEnvVariablesCount()

public abstract int getEnvVariablesCount()

Environment variables available to the application.

Only returned in GET requests if view=FULL is set.

map<string, string> env_variables = 104;

Returns
Type Description
int

getEnvVariablesMap()

public abstract Map<String,String> getEnvVariablesMap()

Environment variables available to the application.

Only returned in GET requests if view=FULL is set.

map<string, string> env_variables = 104;

Returns
Type Description
Map<String,String>

getEnvVariablesOrDefault(String key, String defaultValue)

public abstract String getEnvVariablesOrDefault(String key, String defaultValue)

Environment variables available to the application.

Only returned in GET requests if view=FULL is set.

map<string, string> env_variables = 104;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getEnvVariablesOrThrow(String key)

public abstract String getEnvVariablesOrThrow(String key)

Environment variables available to the application.

Only returned in GET requests if view=FULL is set.

map<string, string> env_variables = 104;

Parameter
Name Description
key String
Returns
Type Description
String

getErrorHandlers(int index)

public abstract ErrorHandler getErrorHandlers(int index)

Custom static error pages. Limited to 10KB per page.

Only returned in GET requests if view=FULL is set.

repeated .google.appengine.v1.ErrorHandler error_handlers = 101;

Parameter
Name Description
index int
Returns
Type Description
ErrorHandler

getErrorHandlersCount()

public abstract int getErrorHandlersCount()

Custom static error pages. Limited to 10KB per page.

Only returned in GET requests if view=FULL is set.

repeated .google.appengine.v1.ErrorHandler error_handlers = 101;

Returns
Type Description
int

getErrorHandlersList()

public abstract List<ErrorHandler> getErrorHandlersList()

Custom static error pages. Limited to 10KB per page.

Only returned in GET requests if view=FULL is set.

repeated .google.appengine.v1.ErrorHandler error_handlers = 101;

Returns
Type Description
List<ErrorHandler>

getErrorHandlersOrBuilder(int index)

public abstract ErrorHandlerOrBuilder getErrorHandlersOrBuilder(int index)

Custom static error pages. Limited to 10KB per page.

Only returned in GET requests if view=FULL is set.

repeated .google.appengine.v1.ErrorHandler error_handlers = 101;

Parameter
Name Description
index int
Returns
Type Description
ErrorHandlerOrBuilder

getErrorHandlersOrBuilderList()

public abstract List<? extends ErrorHandlerOrBuilder> getErrorHandlersOrBuilderList()

Custom static error pages. Limited to 10KB per page.

Only returned in GET requests if view=FULL is set.

repeated .google.appengine.v1.ErrorHandler error_handlers = 101;

Returns
Type Description
List<? extends com.google.appengine.v1.ErrorHandlerOrBuilder>

getHandlers(int index)

public abstract UrlMap getHandlers(int index)

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.

Only returned in GET requests if view=FULL is set.

repeated .google.appengine.v1.UrlMap handlers = 100;

Parameter
Name Description
index int
Returns
Type Description
UrlMap

getHandlersCount()

public abstract int getHandlersCount()

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.

Only returned in GET requests if view=FULL is set.

repeated .google.appengine.v1.UrlMap handlers = 100;

Returns
Type Description
int

getHandlersList()

public abstract List<UrlMap> getHandlersList()

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.

Only returned in GET requests if view=FULL is set.

repeated .google.appengine.v1.UrlMap handlers = 100;

Returns
Type Description
List<UrlMap>

getHandlersOrBuilder(int index)

public abstract UrlMapOrBuilder getHandlersOrBuilder(int index)

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.

Only returned in GET requests if view=FULL is set.

repeated .google.appengine.v1.UrlMap handlers = 100;

Parameter
Name Description
index int
Returns
Type Description
UrlMapOrBuilder

getHandlersOrBuilderList()

public abstract List<? extends UrlMapOrBuilder> getHandlersOrBuilderList()

An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.

Only returned in GET requests if view=FULL is set.

repeated .google.appengine.v1.UrlMap handlers = 100;

Returns
Type Description
List<? extends com.google.appengine.v1.UrlMapOrBuilder>

getHealthCheck()

public abstract HealthCheck getHealthCheck()

Configures health checking for instances. Unhealthy instances are stopped and replaced with new instances. Only applicable in the App Engine flexible environment.

Only returned in GET requests if view=FULL is set.

.google.appengine.v1.HealthCheck health_check = 106;

Returns
Type Description
HealthCheck

The healthCheck.

getHealthCheckOrBuilder()

public abstract HealthCheckOrBuilder getHealthCheckOrBuilder()

Configures health checking for instances. Unhealthy instances are stopped and replaced with new instances. Only applicable in the App Engine flexible environment.

Only returned in GET requests if view=FULL is set.

.google.appengine.v1.HealthCheck health_check = 106;

Returns
Type Description
HealthCheckOrBuilder

getId()

public abstract String getId()

Relative name of the version within the service. Example: v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: "default", "latest", and any name with the prefix "ah-".

string id = 2;

Returns
Type Description
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

Relative name of the version within the service. Example: v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: "default", "latest", and any name with the prefix "ah-".

string id = 2;

Returns
Type Description
ByteString

The bytes for id.

getInboundServices(int index)

public abstract InboundServiceType getInboundServices(int index)

Before an application can receive email or XMPP messages, the application must be configured to enable the service.

repeated .google.appengine.v1.InboundServiceType inbound_services = 6;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
InboundServiceType

The inboundServices at the given index.

getInboundServicesCount()

public abstract int getInboundServicesCount()

Before an application can receive email or XMPP messages, the application must be configured to enable the service.

repeated .google.appengine.v1.InboundServiceType inbound_services = 6;

Returns
Type Description
int

The count of inboundServices.

getInboundServicesList()

public abstract List<InboundServiceType> getInboundServicesList()

Before an application can receive email or XMPP messages, the application must be configured to enable the service.

repeated .google.appengine.v1.InboundServiceType inbound_services = 6;

Returns
Type Description
List<InboundServiceType>

A list containing the inboundServices.

getInboundServicesValue(int index)

public abstract int getInboundServicesValue(int index)

Before an application can receive email or XMPP messages, the application must be configured to enable the service.

repeated .google.appengine.v1.InboundServiceType inbound_services = 6;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of inboundServices at the given index.

getInboundServicesValueList()

public abstract List<Integer> getInboundServicesValueList()

Before an application can receive email or XMPP messages, the application must be configured to enable the service.

repeated .google.appengine.v1.InboundServiceType inbound_services = 6;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for inboundServices.

getInstanceClass()

public abstract String getInstanceClass()

Instance class that is used to run this version. Valid values are:

  • AutomaticScaling: F1, F2, F4, F4_1G
  • ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1G

    Defaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.

string instance_class = 7;

Returns
Type Description
String

The instanceClass.

getInstanceClassBytes()

public abstract ByteString getInstanceClassBytes()

Instance class that is used to run this version. Valid values are:

  • AutomaticScaling: F1, F2, F4, F4_1G
  • ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1G

    Defaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.

string instance_class = 7;

Returns
Type Description
ByteString

The bytes for instanceClass.

getLibraries(int index)

public abstract Library getLibraries(int index)

Configuration for third-party Python runtime libraries that are required by the application.

Only returned in GET requests if view=FULL is set.

repeated .google.appengine.v1.Library libraries = 102;

Parameter
Name Description
index int
Returns
Type Description
Library

getLibrariesCount()

public abstract int getLibrariesCount()

Configuration for third-party Python runtime libraries that are required by the application.

Only returned in GET requests if view=FULL is set.

repeated .google.appengine.v1.Library libraries = 102;

Returns
Type Description
int

getLibrariesList()

public abstract List<Library> getLibrariesList()

Configuration for third-party Python runtime libraries that are required by the application.

Only returned in GET requests if view=FULL is set.

repeated .google.appengine.v1.Library libraries = 102;

Returns
Type Description
List<Library>

getLibrariesOrBuilder(int index)

public abstract LibraryOrBuilder getLibrariesOrBuilder(int index)

Configuration for third-party Python runtime libraries that are required by the application.

Only returned in GET requests if view=FULL is set.

repeated .google.appengine.v1.Library libraries = 102;

Parameter
Name Description
index int
Returns
Type Description
LibraryOrBuilder

getLibrariesOrBuilderList()

public abstract List<? extends LibraryOrBuilder> getLibrariesOrBuilderList()

Configuration for third-party Python runtime libraries that are required by the application.

Only returned in GET requests if view=FULL is set.

repeated .google.appengine.v1.Library libraries = 102;

Returns
Type Description
List<? extends com.google.appengine.v1.LibraryOrBuilder>

getLivenessCheck()

public abstract LivenessCheck getLivenessCheck()

Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instances

Only returned in GET requests if view=FULL is set.

.google.appengine.v1.LivenessCheck liveness_check = 113;

Returns
Type Description
LivenessCheck

The livenessCheck.

getLivenessCheckOrBuilder()

public abstract LivenessCheckOrBuilder getLivenessCheckOrBuilder()

Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instances

Only returned in GET requests if view=FULL is set.

.google.appengine.v1.LivenessCheck liveness_check = 113;

Returns
Type Description
LivenessCheckOrBuilder

getManualScaling()

public abstract ManualScaling getManualScaling()

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Manually scaled versions are sometimes referred to as "backends".

.google.appengine.v1.ManualScaling manual_scaling = 5;

Returns
Type Description
ManualScaling

The manualScaling.

getManualScalingOrBuilder()

public abstract ManualScalingOrBuilder getManualScalingOrBuilder()

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Manually scaled versions are sometimes referred to as "backends".

.google.appengine.v1.ManualScaling manual_scaling = 5;

Returns
Type Description
ManualScalingOrBuilder

getName()

public abstract String getName()

Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.

@OutputOnly

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.

@OutputOnly

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getNetwork()

public abstract Network getNetwork()

Extra network settings. Only applicable in the App Engine flexible environment.

.google.appengine.v1.Network network = 8;

Returns
Type Description
Network

The network.

getNetworkOrBuilder()

public abstract NetworkOrBuilder getNetworkOrBuilder()

Extra network settings. Only applicable in the App Engine flexible environment.

.google.appengine.v1.Network network = 8;

Returns
Type Description
NetworkOrBuilder

getNobuildFilesRegex()

public abstract String getNobuildFilesRegex()

Files that match this pattern will not be built into this version. Only applicable for Go runtimes.

Only returned in GET requests if view=FULL is set.

string nobuild_files_regex = 107;

Returns
Type Description
String

The nobuildFilesRegex.

getNobuildFilesRegexBytes()

public abstract ByteString getNobuildFilesRegexBytes()

Files that match this pattern will not be built into this version. Only applicable for Go runtimes.

Only returned in GET requests if view=FULL is set.

string nobuild_files_regex = 107;

Returns
Type Description
ByteString

The bytes for nobuildFilesRegex.

getReadinessCheck()

public abstract ReadinessCheck getReadinessCheck()

Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation.

Only returned in GET requests if view=FULL is set.

.google.appengine.v1.ReadinessCheck readiness_check = 112;

Returns
Type Description
ReadinessCheck

The readinessCheck.

getReadinessCheckOrBuilder()

public abstract ReadinessCheckOrBuilder getReadinessCheckOrBuilder()

Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation.

Only returned in GET requests if view=FULL is set.

.google.appengine.v1.ReadinessCheck readiness_check = 112;

Returns
Type Description
ReadinessCheckOrBuilder

getResources()

public abstract Resources getResources()

Machine resources for this version. Only applicable in the App Engine flexible environment.

.google.appengine.v1.Resources resources = 9;

Returns
Type Description
Resources

The resources.

getResourcesOrBuilder()

public abstract ResourcesOrBuilder getResourcesOrBuilder()

Machine resources for this version. Only applicable in the App Engine flexible environment.

.google.appengine.v1.Resources resources = 9;

Returns
Type Description
ResourcesOrBuilder

getRuntime()

public abstract String getRuntime()

Desired runtime. Example: python27.

string runtime = 10;

Returns
Type Description
String

The runtime.

getRuntimeApiVersion()

public abstract String getRuntimeApiVersion()

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref

string runtime_api_version = 21;

Returns
Type Description
String

The runtimeApiVersion.

getRuntimeApiVersionBytes()

public abstract ByteString getRuntimeApiVersionBytes()

The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref

string runtime_api_version = 21;

Returns
Type Description
ByteString

The bytes for runtimeApiVersion.

getRuntimeBytes()

public abstract ByteString getRuntimeBytes()

Desired runtime. Example: python27.

string runtime = 10;

Returns
Type Description
ByteString

The bytes for runtime.

getRuntimeChannel()

public abstract String getRuntimeChannel()

The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel.

string runtime_channel = 117;

Returns
Type Description
String

The runtimeChannel.

getRuntimeChannelBytes()

public abstract ByteString getRuntimeChannelBytes()

The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel.

string runtime_channel = 117;

Returns
Type Description
ByteString

The bytes for runtimeChannel.

getRuntimeMainExecutablePath()

public abstract String getRuntimeMainExecutablePath()

The path or name of the app's main executable.

string runtime_main_executable_path = 22;

Returns
Type Description
String

The runtimeMainExecutablePath.

getRuntimeMainExecutablePathBytes()

public abstract ByteString getRuntimeMainExecutablePathBytes()

The path or name of the app's main executable.

string runtime_main_executable_path = 22;

Returns
Type Description
ByteString

The bytes for runtimeMainExecutablePath.

getScalingCase()

public abstract Version.ScalingCase getScalingCase()
Returns
Type Description
Version.ScalingCase

getServiceAccount()

public abstract String getServiceAccount()

The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.

string service_account = 127;

Returns
Type Description
String

The serviceAccount.

getServiceAccountBytes()

public abstract ByteString getServiceAccountBytes()

The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.

string service_account = 127;

Returns
Type Description
ByteString

The bytes for serviceAccount.

getServingStatus()

public abstract ServingStatus getServingStatus()

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed.

SERVING_STATUS_UNSPECIFIED is an invalid value. Defaults to SERVING.

.google.appengine.v1.ServingStatus serving_status = 15;

Returns
Type Description
ServingStatus

The servingStatus.

getServingStatusValue()

public abstract int getServingStatusValue()

Current serving status of this version. Only the versions with a SERVING status create instances and can be billed.

SERVING_STATUS_UNSPECIFIED is an invalid value. Defaults to SERVING.

.google.appengine.v1.ServingStatus serving_status = 15;

Returns
Type Description
int

The enum numeric value on the wire for servingStatus.

getThreadsafe()

public abstract boolean getThreadsafe()

Whether multiple requests can be dispatched to this version at once.

bool threadsafe = 11;

Returns
Type Description
boolean

The threadsafe.

getVersionUrl()

public abstract String getVersionUrl()

Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com"

@OutputOnly

string version_url = 109;

Returns
Type Description
String

The versionUrl.

getVersionUrlBytes()

public abstract ByteString getVersionUrlBytes()

Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com"

@OutputOnly

string version_url = 109;

Returns
Type Description
ByteString

The bytes for versionUrl.

getVm()

public abstract boolean getVm()

Whether to deploy this version in a container on a virtual machine.

bool vm = 12;

Returns
Type Description
boolean

The vm.

getVpcAccessConnector()

public abstract VpcAccessConnector getVpcAccessConnector()

Enables VPC connectivity for standard apps.

.google.appengine.v1.VpcAccessConnector vpc_access_connector = 121;

Returns
Type Description
VpcAccessConnector

The vpcAccessConnector.

getVpcAccessConnectorOrBuilder()

public abstract VpcAccessConnectorOrBuilder getVpcAccessConnectorOrBuilder()

Enables VPC connectivity for standard apps.

.google.appengine.v1.VpcAccessConnector vpc_access_connector = 121;

Returns
Type Description
VpcAccessConnectorOrBuilder

getZones(int index)

public abstract String getZones(int index)

The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.

repeated string zones = 118;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The zones at the given index.

getZonesBytes(int index)

public abstract ByteString getZonesBytes(int index)

The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.

repeated string zones = 118;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the zones at the given index.

getZonesCount()

public abstract int getZonesCount()

The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.

repeated string zones = 118;

Returns
Type Description
int

The count of zones.

getZonesList()

public abstract List<String> getZonesList()

The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.

repeated string zones = 118;

Returns
Type Description
List<String>

A list containing the zones.

hasApiConfig()

public abstract boolean hasApiConfig()

Serving configuration for Google Cloud Endpoints.

Only returned in GET requests if view=FULL is set.

.google.appengine.v1.ApiConfigHandler api_config = 103;

Returns
Type Description
boolean

Whether the apiConfig field is set.

hasAutomaticScaling()

public abstract boolean hasAutomaticScaling()

Automatic scaling is based on request rate, response latencies, and other application metrics. Instances are dynamically created and destroyed as needed in order to handle traffic.

.google.appengine.v1.AutomaticScaling automatic_scaling = 3;

Returns
Type Description
boolean

Whether the automaticScaling field is set.

hasBasicScaling()

public abstract boolean hasBasicScaling()

A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.

.google.appengine.v1.BasicScaling basic_scaling = 4;

Returns
Type Description
boolean

Whether the basicScaling field is set.

hasCreateTime()

public abstract boolean hasCreateTime()

Time that this version was created.

@OutputOnly

.google.protobuf.Timestamp create_time = 17;

Returns
Type Description
boolean

Whether the createTime field is set.

hasDefaultExpiration()

public abstract boolean hasDefaultExpiration()

Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler does not specify its own expiration time.

Only returned in GET requests if view=FULL is set.

.google.protobuf.Duration default_expiration = 105;

Returns
Type Description
boolean

Whether the defaultExpiration field is set.

hasDeployment()

public abstract boolean hasDeployment()

Code and application artifacts that make up this version.

Only returned in GET requests if view=FULL is set.

.google.appengine.v1.Deployment deployment = 108;

Returns
Type Description
boolean

Whether the deployment field is set.

hasEndpointsApiService()

public abstract boolean hasEndpointsApiService()

Cloud Endpoints configuration.

If endpoints_api_service is set, the Cloud Endpoints Extensible Service Proxy will be provided to serve the API implemented by the app.

.google.appengine.v1.EndpointsApiService endpoints_api_service = 110;

Returns
Type Description
boolean

Whether the endpointsApiService field is set.

hasEntrypoint()

public abstract boolean hasEntrypoint()

The entrypoint for the application.

.google.appengine.v1.Entrypoint entrypoint = 122;

Returns
Type Description
boolean

Whether the entrypoint field is set.

hasHealthCheck()

public abstract boolean hasHealthCheck()

Configures health checking for instances. Unhealthy instances are stopped and replaced with new instances. Only applicable in the App Engine flexible environment.

Only returned in GET requests if view=FULL is set.

.google.appengine.v1.HealthCheck health_check = 106;

Returns
Type Description
boolean

Whether the healthCheck field is set.

hasLivenessCheck()

public abstract boolean hasLivenessCheck()

Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instances

Only returned in GET requests if view=FULL is set.

.google.appengine.v1.LivenessCheck liveness_check = 113;

Returns
Type Description
boolean

Whether the livenessCheck field is set.

hasManualScaling()

public abstract boolean hasManualScaling()

A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Manually scaled versions are sometimes referred to as "backends".

.google.appengine.v1.ManualScaling manual_scaling = 5;

Returns
Type Description
boolean

Whether the manualScaling field is set.

hasNetwork()

public abstract boolean hasNetwork()

Extra network settings. Only applicable in the App Engine flexible environment.

.google.appengine.v1.Network network = 8;

Returns
Type Description
boolean

Whether the network field is set.

hasReadinessCheck()

public abstract boolean hasReadinessCheck()

Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation.

Only returned in GET requests if view=FULL is set.

.google.appengine.v1.ReadinessCheck readiness_check = 112;

Returns
Type Description
boolean

Whether the readinessCheck field is set.

hasResources()

public abstract boolean hasResources()

Machine resources for this version. Only applicable in the App Engine flexible environment.

.google.appengine.v1.Resources resources = 9;

Returns
Type Description
boolean

Whether the resources field is set.

hasVpcAccessConnector()

public abstract boolean hasVpcAccessConnector()

Enables VPC connectivity for standard apps.

.google.appengine.v1.VpcAccessConnector vpc_access_connector = 121;

Returns
Type Description
boolean

Whether the vpcAccessConnector field is set.