Class Version.Builder (2.3.4)

Stay organized with collections Save and categorize content based on your preferences.
public static final class Version.Builder extends GeneratedMessageV3.Builder<Version.Builder> implements VersionOrBuilder

A Version resource is a specific set of source code and configuration files that are deployed into a service.

Protobuf type google.appengine.v1.Version

Implements

VersionOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllErrorHandlers(Iterable<? extends ErrorHandler> values)

public Version.Builder addAllErrorHandlers(Iterable<? extends ErrorHandler> values)

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
NameDescription
valuesIterable<? extends com.google.appengine.v1.ErrorHandler>
Returns
TypeDescription
Version.Builder

addAllHandlers(Iterable<? extends UrlMap> values)

public Version.Builder addAllHandlers(Iterable<? extends UrlMap> values)

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
NameDescription
valuesIterable<? extends com.google.appengine.v1.UrlMap>
Returns
TypeDescription
Version.Builder

addAllInboundServices(Iterable<? extends InboundServiceType> values)

public Version.Builder addAllInboundServices(Iterable<? extends InboundServiceType> values)

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
NameDescription
valuesIterable<? extends com.google.appengine.v1.InboundServiceType>

The inboundServices to add.

Returns
TypeDescription
Version.Builder

This builder for chaining.

addAllInboundServicesValue(Iterable<Integer> values)

public Version.Builder addAllInboundServicesValue(Iterable<Integer> values)

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
NameDescription
valuesIterable<Integer>

The enum numeric values on the wire for inboundServices to add.

Returns
TypeDescription
Version.Builder

This builder for chaining.

addAllLibraries(Iterable<? extends Library> values)

public Version.Builder addAllLibraries(Iterable<? extends Library> values)

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
NameDescription
valuesIterable<? extends com.google.appengine.v1.Library>
Returns
TypeDescription
Version.Builder

addAllZones(Iterable<String> values)

public Version.Builder addAllZones(Iterable<String> values)

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

repeated string zones = 118;

Parameter
NameDescription
valuesIterable<String>

The zones to add.

Returns
TypeDescription
Version.Builder

This builder for chaining.

addErrorHandlers(ErrorHandler value)

public Version.Builder addErrorHandlers(ErrorHandler value)

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
NameDescription
valueErrorHandler
Returns
TypeDescription
Version.Builder

addErrorHandlers(ErrorHandler.Builder builderForValue)

public Version.Builder addErrorHandlers(ErrorHandler.Builder builderForValue)

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
NameDescription
builderForValueErrorHandler.Builder
Returns
TypeDescription
Version.Builder

addErrorHandlers(int index, ErrorHandler value)

public Version.Builder addErrorHandlers(int index, ErrorHandler value)

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;

Parameters
NameDescription
indexint
valueErrorHandler
Returns
TypeDescription
Version.Builder

addErrorHandlers(int index, ErrorHandler.Builder builderForValue)

public Version.Builder addErrorHandlers(int index, ErrorHandler.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueErrorHandler.Builder
Returns
TypeDescription
Version.Builder

addErrorHandlersBuilder()

public ErrorHandler.Builder addErrorHandlersBuilder()

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
TypeDescription
ErrorHandler.Builder

addErrorHandlersBuilder(int index)

public ErrorHandler.Builder addErrorHandlersBuilder(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
NameDescription
indexint
Returns
TypeDescription
ErrorHandler.Builder

addHandlers(UrlMap value)

public Version.Builder addHandlers(UrlMap value)

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
NameDescription
valueUrlMap
Returns
TypeDescription
Version.Builder

addHandlers(UrlMap.Builder builderForValue)

public Version.Builder addHandlers(UrlMap.Builder builderForValue)

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
NameDescription
builderForValueUrlMap.Builder
Returns
TypeDescription
Version.Builder

addHandlers(int index, UrlMap value)

public Version.Builder addHandlers(int index, UrlMap value)

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;

Parameters
NameDescription
indexint
valueUrlMap
Returns
TypeDescription
Version.Builder

addHandlers(int index, UrlMap.Builder builderForValue)

public Version.Builder addHandlers(int index, UrlMap.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueUrlMap.Builder
Returns
TypeDescription
Version.Builder

addHandlersBuilder()

public UrlMap.Builder addHandlersBuilder()

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
TypeDescription
UrlMap.Builder

addHandlersBuilder(int index)

public UrlMap.Builder addHandlersBuilder(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
NameDescription
indexint
Returns
TypeDescription
UrlMap.Builder

addInboundServices(InboundServiceType value)

public Version.Builder addInboundServices(InboundServiceType value)

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
NameDescription
valueInboundServiceType

The inboundServices to add.

Returns
TypeDescription
Version.Builder

This builder for chaining.

addInboundServicesValue(int value)

public Version.Builder addInboundServicesValue(int value)

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
NameDescription
valueint

The enum numeric value on the wire for inboundServices to add.

Returns
TypeDescription
Version.Builder

This builder for chaining.

addLibraries(Library value)

public Version.Builder addLibraries(Library value)

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
NameDescription
valueLibrary
Returns
TypeDescription
Version.Builder

addLibraries(Library.Builder builderForValue)

public Version.Builder addLibraries(Library.Builder builderForValue)

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
NameDescription
builderForValueLibrary.Builder
Returns
TypeDescription
Version.Builder

addLibraries(int index, Library value)

public Version.Builder addLibraries(int index, Library value)

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;

Parameters
NameDescription
indexint
valueLibrary
Returns
TypeDescription
Version.Builder

addLibraries(int index, Library.Builder builderForValue)

public Version.Builder addLibraries(int index, Library.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueLibrary.Builder
Returns
TypeDescription
Version.Builder

addLibrariesBuilder()

public Library.Builder addLibrariesBuilder()

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
TypeDescription
Library.Builder

addLibrariesBuilder(int index)

public Library.Builder addLibrariesBuilder(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
NameDescription
indexint
Returns
TypeDescription
Library.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Version.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Version.Builder
Overrides

addZones(String value)

public Version.Builder addZones(String value)

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

repeated string zones = 118;

Parameter
NameDescription
valueString

The zones to add.

Returns
TypeDescription
Version.Builder

This builder for chaining.

addZonesBytes(ByteString value)

public Version.Builder addZonesBytes(ByteString value)

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

repeated string zones = 118;

Parameter
NameDescription
valueByteString

The bytes of the zones to add.

Returns
TypeDescription
Version.Builder

This builder for chaining.

build()

public Version build()
Returns
TypeDescription
Version

buildPartial()

public Version buildPartial()
Returns
TypeDescription
Version

clear()

public Version.Builder clear()
Returns
TypeDescription
Version.Builder
Overrides

clearApiConfig()

public Version.Builder clearApiConfig()

Serving configuration for Google Cloud Endpoints. Only returned in GET requests if view=FULL is set.

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

Returns
TypeDescription
Version.Builder

clearAppEngineApis()

public Version.Builder clearAppEngineApis()

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

bool app_engine_apis = 128;

Returns
TypeDescription
Version.Builder

This builder for chaining.

clearAutomaticScaling()

public Version.Builder clearAutomaticScaling()

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
TypeDescription
Version.Builder

clearBasicScaling()

public Version.Builder clearBasicScaling()

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
TypeDescription
Version.Builder

clearBetaSettings()

public Version.Builder clearBetaSettings()
Returns
TypeDescription
Version.Builder

clearBuildEnvVariables()

public Version.Builder clearBuildEnvVariables()
Returns
TypeDescription
Version.Builder

clearCreateTime()

public Version.Builder clearCreateTime()

Time that this version was created. @OutputOnly

.google.protobuf.Timestamp create_time = 17;

Returns
TypeDescription
Version.Builder

clearCreatedBy()

public Version.Builder clearCreatedBy()

Email address of the user who created this version. @OutputOnly

string created_by = 16;

Returns
TypeDescription
Version.Builder

This builder for chaining.

clearDefaultExpiration()

public Version.Builder clearDefaultExpiration()

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
TypeDescription
Version.Builder

clearDeployment()

public Version.Builder clearDeployment()

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
TypeDescription
Version.Builder

clearDiskUsageBytes()

public Version.Builder clearDiskUsageBytes()

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
TypeDescription
Version.Builder

This builder for chaining.

clearEndpointsApiService()

public Version.Builder clearEndpointsApiService()

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
TypeDescription
Version.Builder

clearEntrypoint()

public Version.Builder clearEntrypoint()

The entrypoint for the application.

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

Returns
TypeDescription
Version.Builder

clearEnv()

public Version.Builder clearEnv()

App Engine execution environment for this version. Defaults to standard.

string env = 14;

Returns
TypeDescription
Version.Builder

This builder for chaining.

clearEnvVariables()

public Version.Builder clearEnvVariables()
Returns
TypeDescription
Version.Builder

clearErrorHandlers()

public Version.Builder clearErrorHandlers()

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
TypeDescription
Version.Builder

clearField(Descriptors.FieldDescriptor field)

public Version.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Version.Builder
Overrides

clearHandlers()

public Version.Builder clearHandlers()

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
TypeDescription
Version.Builder

clearHealthCheck()

public Version.Builder clearHealthCheck()

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
TypeDescription
Version.Builder

clearId()

public Version.Builder clearId()

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
TypeDescription
Version.Builder

This builder for chaining.

clearInboundServices()

public Version.Builder clearInboundServices()

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
TypeDescription
Version.Builder

This builder for chaining.

clearInstanceClass()

public Version.Builder clearInstanceClass()

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
TypeDescription
Version.Builder

This builder for chaining.

clearLibraries()

public Version.Builder clearLibraries()

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
TypeDescription
Version.Builder

clearLivenessCheck()

public Version.Builder clearLivenessCheck()

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
TypeDescription
Version.Builder

clearManualScaling()

public Version.Builder clearManualScaling()

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
TypeDescription
Version.Builder

clearName()

public Version.Builder clearName()

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

string name = 1;

Returns
TypeDescription
Version.Builder

This builder for chaining.

clearNetwork()

public Version.Builder clearNetwork()

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

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

Returns
TypeDescription
Version.Builder

clearNobuildFilesRegex()

public Version.Builder clearNobuildFilesRegex()

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
TypeDescription
Version.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Version.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Version.Builder
Overrides

clearReadinessCheck()

public Version.Builder clearReadinessCheck()

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
TypeDescription
Version.Builder

clearResources()

public Version.Builder clearResources()

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

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

Returns
TypeDescription
Version.Builder

clearRuntime()

public Version.Builder clearRuntime()

Desired runtime. Example: python27.

string runtime = 10;

Returns
TypeDescription
Version.Builder

This builder for chaining.

clearRuntimeApiVersion()

public Version.Builder clearRuntimeApiVersion()

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
TypeDescription
Version.Builder

This builder for chaining.

clearRuntimeChannel()

public Version.Builder clearRuntimeChannel()

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

string runtime_channel = 117;

Returns
TypeDescription
Version.Builder

This builder for chaining.

clearRuntimeMainExecutablePath()

public Version.Builder clearRuntimeMainExecutablePath()

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

string runtime_main_executable_path = 22;

Returns
TypeDescription
Version.Builder

This builder for chaining.

clearScaling()

public Version.Builder clearScaling()
Returns
TypeDescription
Version.Builder

clearServiceAccount()

public Version.Builder clearServiceAccount()

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
TypeDescription
Version.Builder

This builder for chaining.

clearServingStatus()

public Version.Builder clearServingStatus()

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
TypeDescription
Version.Builder

This builder for chaining.

clearThreadsafe()

public Version.Builder clearThreadsafe()

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

bool threadsafe = 11;

Returns
TypeDescription
Version.Builder

This builder for chaining.

clearVersionUrl()

public Version.Builder clearVersionUrl()

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

string version_url = 109;

Returns
TypeDescription
Version.Builder

This builder for chaining.

clearVm()

public Version.Builder clearVm()

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

bool vm = 12;

Returns
TypeDescription
Version.Builder

This builder for chaining.

clearVpcAccessConnector()

public Version.Builder clearVpcAccessConnector()

Enables VPC connectivity for standard apps.

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

Returns
TypeDescription
Version.Builder

clearZones()

public Version.Builder clearZones()

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

repeated string zones = 118;

Returns
TypeDescription
Version.Builder

This builder for chaining.

clone()

public Version.Builder clone()
Returns
TypeDescription
Version.Builder
Overrides

containsBetaSettings(String key)

public boolean containsBetaSettings(String key)

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

map<string, string> beta_settings = 13;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsBuildEnvVariables(String key)

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

containsEnvVariables(String key)

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

getApiConfig()

public 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
TypeDescription
ApiConfigHandler

The apiConfig.

getApiConfigBuilder()

public ApiConfigHandler.Builder getApiConfigBuilder()

Serving configuration for Google Cloud Endpoints. Only returned in GET requests if view=FULL is set.

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

Returns
TypeDescription
ApiConfigHandler.Builder

getApiConfigOrBuilder()

public 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
TypeDescription
ApiConfigHandlerOrBuilder

getAppEngineApis()

public boolean getAppEngineApis()

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

bool app_engine_apis = 128;

Returns
TypeDescription
boolean

The appEngineApis.

getAutomaticScaling()

public 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
TypeDescription
AutomaticScaling

The automaticScaling.

getAutomaticScalingBuilder()

public AutomaticScaling.Builder getAutomaticScalingBuilder()

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
TypeDescription
AutomaticScaling.Builder

getAutomaticScalingOrBuilder()

public 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
TypeDescription
AutomaticScalingOrBuilder

getBasicScaling()

public 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
TypeDescription
BasicScaling

The basicScaling.

getBasicScalingBuilder()

public BasicScaling.Builder getBasicScalingBuilder()

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
TypeDescription
BasicScaling.Builder

getBasicScalingOrBuilder()

public 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
TypeDescription
BasicScalingOrBuilder

getBetaSettings()

public Map<String,String> getBetaSettings()

Use #getBetaSettingsMap() instead.

Returns
TypeDescription
Map<String,String>

getBetaSettingsCount()

public int getBetaSettingsCount()

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

map<string, string> beta_settings = 13;

Returns
TypeDescription
int

getBetaSettingsMap()

public Map<String,String> getBetaSettingsMap()

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

map<string, string> beta_settings = 13;

Returns
TypeDescription
Map<String,String>

getBetaSettingsOrDefault(String key, String defaultValue)

public 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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getBetaSettingsOrThrow(String key)

public String getBetaSettingsOrThrow(String key)

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

map<string, string> beta_settings = 13;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getBuildEnvVariables()

public Map<String,String> getBuildEnvVariables()
Returns
TypeDescription
Map<String,String>

getBuildEnvVariablesCount()

public 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
TypeDescription
int

getBuildEnvVariablesMap()

public 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
TypeDescription
Map<String,String>

getBuildEnvVariablesOrDefault(String key, String defaultValue)

public 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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getBuildEnvVariablesOrThrow(String key)

public 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
NameDescription
keyString
Returns
TypeDescription
String

getCreateTime()

public Timestamp getCreateTime()

Time that this version was created. @OutputOnly

.google.protobuf.Timestamp create_time = 17;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Time that this version was created. @OutputOnly

.google.protobuf.Timestamp create_time = 17;

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Time that this version was created. @OutputOnly

.google.protobuf.Timestamp create_time = 17;

Returns
TypeDescription
TimestampOrBuilder

getCreatedBy()

public String getCreatedBy()

Email address of the user who created this version. @OutputOnly

string created_by = 16;

Returns
TypeDescription
String

The createdBy.

getCreatedByBytes()

public ByteString getCreatedByBytes()

Email address of the user who created this version. @OutputOnly

string created_by = 16;

Returns
TypeDescription
ByteString

The bytes for createdBy.

getDefaultExpiration()

public 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
TypeDescription
Duration

The defaultExpiration.

getDefaultExpirationBuilder()

public Duration.Builder getDefaultExpirationBuilder()

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
TypeDescription
Builder

getDefaultExpirationOrBuilder()

public 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
TypeDescription
DurationOrBuilder

getDefaultInstanceForType()

public Version getDefaultInstanceForType()
Returns
TypeDescription
Version

getDeployment()

public 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
TypeDescription
Deployment

The deployment.

getDeploymentBuilder()

public Deployment.Builder getDeploymentBuilder()

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
TypeDescription
Deployment.Builder

getDeploymentOrBuilder()

public 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
TypeDescription
DeploymentOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDiskUsageBytes()

public 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
TypeDescription
long

The diskUsageBytes.

getEndpointsApiService()

public 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
TypeDescription
EndpointsApiService

The endpointsApiService.

getEndpointsApiServiceBuilder()

public EndpointsApiService.Builder getEndpointsApiServiceBuilder()

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
TypeDescription
EndpointsApiService.Builder

getEndpointsApiServiceOrBuilder()

public 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
TypeDescription
EndpointsApiServiceOrBuilder

getEntrypoint()

public Entrypoint getEntrypoint()

The entrypoint for the application.

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

Returns
TypeDescription
Entrypoint

The entrypoint.

getEntrypointBuilder()

public Entrypoint.Builder getEntrypointBuilder()

The entrypoint for the application.

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

Returns
TypeDescription
Entrypoint.Builder

getEntrypointOrBuilder()

public EntrypointOrBuilder getEntrypointOrBuilder()

The entrypoint for the application.

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

Returns
TypeDescription
EntrypointOrBuilder

getEnv()

public String getEnv()

App Engine execution environment for this version. Defaults to standard.

string env = 14;

Returns
TypeDescription
String

The env.

getEnvBytes()

public ByteString getEnvBytes()

App Engine execution environment for this version. Defaults to standard.

string env = 14;

Returns
TypeDescription
ByteString

The bytes for env.

getEnvVariables()

public Map<String,String> getEnvVariables()

Use #getEnvVariablesMap() instead.

Returns
TypeDescription
Map<String,String>

getEnvVariablesCount()

public 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
TypeDescription
int

getEnvVariablesMap()

public 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
TypeDescription
Map<String,String>

getEnvVariablesOrDefault(String key, String defaultValue)

public 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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getEnvVariablesOrThrow(String key)

public 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
NameDescription
keyString
Returns
TypeDescription
String

getErrorHandlers(int index)

public 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
NameDescription
indexint
Returns
TypeDescription
ErrorHandler

getErrorHandlersBuilder(int index)

public ErrorHandler.Builder getErrorHandlersBuilder(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
NameDescription
indexint
Returns
TypeDescription
ErrorHandler.Builder

getErrorHandlersBuilderList()

public List<ErrorHandler.Builder> getErrorHandlersBuilderList()

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
TypeDescription
List<Builder>

getErrorHandlersCount()

public 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
TypeDescription
int

getErrorHandlersList()

public 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
TypeDescription
List<ErrorHandler>

getErrorHandlersOrBuilder(int index)

public 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
NameDescription
indexint
Returns
TypeDescription
ErrorHandlerOrBuilder

getErrorHandlersOrBuilderList()

public 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
TypeDescription
List<? extends com.google.appengine.v1.ErrorHandlerOrBuilder>

getHandlers(int index)

public 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
NameDescription
indexint
Returns
TypeDescription
UrlMap

getHandlersBuilder(int index)

public UrlMap.Builder getHandlersBuilder(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
NameDescription
indexint
Returns
TypeDescription
UrlMap.Builder

getHandlersBuilderList()

public List<UrlMap.Builder> getHandlersBuilderList()

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
TypeDescription
List<Builder>

getHandlersCount()

public 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
TypeDescription
int

getHandlersList()

public 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
TypeDescription
List<UrlMap>

getHandlersOrBuilder(int index)

public 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
NameDescription
indexint
Returns
TypeDescription
UrlMapOrBuilder

getHandlersOrBuilderList()

public 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
TypeDescription
List<? extends com.google.appengine.v1.UrlMapOrBuilder>

getHealthCheck()

public 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
TypeDescription
HealthCheck

The healthCheck.

getHealthCheckBuilder()

public HealthCheck.Builder getHealthCheckBuilder()

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
TypeDescription
HealthCheck.Builder

getHealthCheckOrBuilder()

public 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
TypeDescription
HealthCheckOrBuilder

getId()

public 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
TypeDescription
String

The id.

getIdBytes()

public 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
TypeDescription
ByteString

The bytes for id.

getInboundServices(int index)

public 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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
InboundServiceType

The inboundServices at the given index.

getInboundServicesCount()

public 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
TypeDescription
int

The count of inboundServices.

getInboundServicesList()

public 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
TypeDescription
List<InboundServiceType>

A list containing the inboundServices.

getInboundServicesValue(int index)

public 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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

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

getInboundServicesValueList()

public 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
TypeDescription
List<Integer>

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

getInstanceClass()

public 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
TypeDescription
String

The instanceClass.

getInstanceClassBytes()

public 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
TypeDescription
ByteString

The bytes for instanceClass.

getLibraries(int index)

public 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
NameDescription
indexint
Returns
TypeDescription
Library

getLibrariesBuilder(int index)

public Library.Builder getLibrariesBuilder(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
NameDescription
indexint
Returns
TypeDescription
Library.Builder

getLibrariesBuilderList()

public List<Library.Builder> getLibrariesBuilderList()

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
TypeDescription
List<Builder>

getLibrariesCount()

public 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
TypeDescription
int

getLibrariesList()

public 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
TypeDescription
List<Library>

getLibrariesOrBuilder(int index)

public 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
NameDescription
indexint
Returns
TypeDescription
LibraryOrBuilder

getLibrariesOrBuilderList()

public 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
TypeDescription
List<? extends com.google.appengine.v1.LibraryOrBuilder>

getLivenessCheck()

public 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
TypeDescription
LivenessCheck

The livenessCheck.

getLivenessCheckBuilder()

public LivenessCheck.Builder getLivenessCheckBuilder()

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
TypeDescription
LivenessCheck.Builder

getLivenessCheckOrBuilder()

public 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
TypeDescription
LivenessCheckOrBuilder

getManualScaling()

public 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
TypeDescription
ManualScaling

The manualScaling.

getManualScalingBuilder()

public ManualScaling.Builder getManualScalingBuilder()

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
TypeDescription
ManualScaling.Builder

getManualScalingOrBuilder()

public 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
TypeDescription
ManualScalingOrBuilder

getMutableBetaSettings()

public Map<String,String> getMutableBetaSettings()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getMutableBuildEnvVariables()

public Map<String,String> getMutableBuildEnvVariables()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getMutableEnvVariables()

public Map<String,String> getMutableEnvVariables()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

getName()

public String getName()

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

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getNetwork()

public Network getNetwork()

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

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

Returns
TypeDescription
Network

The network.

getNetworkBuilder()

public Network.Builder getNetworkBuilder()

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

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

Returns
TypeDescription
Network.Builder

getNetworkOrBuilder()

public NetworkOrBuilder getNetworkOrBuilder()

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

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

Returns
TypeDescription
NetworkOrBuilder

getNobuildFilesRegex()

public 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
TypeDescription
String

The nobuildFilesRegex.

getNobuildFilesRegexBytes()

public 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
TypeDescription
ByteString

The bytes for nobuildFilesRegex.

getReadinessCheck()

public 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
TypeDescription
ReadinessCheck

The readinessCheck.

getReadinessCheckBuilder()

public ReadinessCheck.Builder getReadinessCheckBuilder()

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
TypeDescription
ReadinessCheck.Builder

getReadinessCheckOrBuilder()

public 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
TypeDescription
ReadinessCheckOrBuilder

getResources()

public Resources getResources()

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

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

Returns
TypeDescription
Resources

The resources.

getResourcesBuilder()

public Resources.Builder getResourcesBuilder()

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

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

Returns
TypeDescription
Resources.Builder

getResourcesOrBuilder()

public ResourcesOrBuilder getResourcesOrBuilder()

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

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

Returns
TypeDescription
ResourcesOrBuilder

getRuntime()

public String getRuntime()

Desired runtime. Example: python27.

string runtime = 10;

Returns
TypeDescription
String

The runtime.

getRuntimeApiVersion()

public 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
TypeDescription
String

The runtimeApiVersion.

getRuntimeApiVersionBytes()

public 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
TypeDescription
ByteString

The bytes for runtimeApiVersion.

getRuntimeBytes()

public ByteString getRuntimeBytes()

Desired runtime. Example: python27.

string runtime = 10;

Returns
TypeDescription
ByteString

The bytes for runtime.

getRuntimeChannel()

public String getRuntimeChannel()

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

string runtime_channel = 117;

Returns
TypeDescription
String

The runtimeChannel.

getRuntimeChannelBytes()

public ByteString getRuntimeChannelBytes()

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