Class Version.Builder (2.8.0)

publicstaticfinalclass Version.BuilderextendsGeneratedMessageV3.Builder<Version.Builder>implementsVersionOrBuilder

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

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description

Methods

addAllErrorHandlers(Iterable<? extends ErrorHandler> values)

publicVersion.BuilderaddAllErrorHandlers(Iterable<?extendsErrorHandler>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
Name Description
values Iterable<? extends com.google.appengine.v1.ErrorHandler>
Returns
Type Description

addAllHandlers(Iterable<? extends UrlMap> values)

publicVersion.BuilderaddAllHandlers(Iterable<?extendsUrlMap>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
Name Description
values Iterable<? extends com.google.appengine.v1.UrlMap>
Returns
Type Description

addAllInboundServices(Iterable<? extends InboundServiceType> values)

publicVersion.BuilderaddAllInboundServices(Iterable<?extendsInboundServiceType>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
Name Description
values Iterable<? extends com.google.appengine.v1.InboundServiceType>

The inboundServices to add.

Returns
Type Description
Version.Builder

This builder for chaining.

addAllInboundServicesValue(Iterable<Integer> values)

publicVersion.BuilderaddAllInboundServicesValue(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
Name Description
values Iterable<Integer>

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

Returns
Type Description
Version.Builder

This builder for chaining.

addAllLibraries(Iterable<? extends Library> values)

publicVersion.BuilderaddAllLibraries(Iterable<?extendsLibrary>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
Name Description
values Iterable<? extends com.google.appengine.v1.Library>
Returns
Type Description

addAllZones(Iterable<String> values)

publicVersion.BuilderaddAllZones(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
Name Description
values Iterable<String>

The zones to add.

Returns
Type Description
Version.Builder

This builder for chaining.

addErrorHandlers(ErrorHandler value)

publicVersion.BuilderaddErrorHandlers(ErrorHandlervalue)

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
value ErrorHandler
Returns
Type Description

addErrorHandlers(ErrorHandler.Builder builderForValue)

publicVersion.BuilderaddErrorHandlers(ErrorHandler.BuilderbuilderForValue)

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
builderForValue ErrorHandler.Builder
Returns
Type Description

addErrorHandlers(int index, ErrorHandler value)

publicVersion.BuilderaddErrorHandlers(intindex,ErrorHandlervalue)

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
Name Description
index int
value ErrorHandler
Returns
Type Description

addErrorHandlers(int index, ErrorHandler.Builder builderForValue)

publicVersion.BuilderaddErrorHandlers(intindex,ErrorHandler.BuilderbuilderForValue)

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
Name Description
index int
builderForValue ErrorHandler.Builder
Returns
Type Description

addErrorHandlersBuilder()

publicErrorHandler.BuilderaddErrorHandlersBuilder()

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

addErrorHandlersBuilder(int index)

publicErrorHandler.BuilderaddErrorHandlersBuilder(intindex)

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

addHandlers(UrlMap value)

publicVersion.BuilderaddHandlers(UrlMapvalue)

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
value UrlMap
Returns
Type Description

addHandlers(UrlMap.Builder builderForValue)

publicVersion.BuilderaddHandlers(UrlMap.BuilderbuilderForValue)

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
builderForValue UrlMap.Builder
Returns
Type Description

addHandlers(int index, UrlMap value)

publicVersion.BuilderaddHandlers(intindex,UrlMapvalue)

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
Name Description
index int
value UrlMap
Returns
Type Description

addHandlers(int index, UrlMap.Builder builderForValue)

publicVersion.BuilderaddHandlers(intindex,UrlMap.BuilderbuilderForValue)

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
Name Description
index int
builderForValue UrlMap.Builder
Returns
Type Description

addHandlersBuilder()

publicUrlMap.BuilderaddHandlersBuilder()

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

addHandlersBuilder(int index)

publicUrlMap.BuilderaddHandlersBuilder(intindex)

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

addInboundServices(InboundServiceType value)

publicVersion.BuilderaddInboundServices(InboundServiceTypevalue)

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
value InboundServiceType

The inboundServices to add.

Returns
Type Description
Version.Builder

This builder for chaining.

addInboundServicesValue(int value)

publicVersion.BuilderaddInboundServicesValue(intvalue)

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
value int

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

Returns
Type Description
Version.Builder

This builder for chaining.

addLibraries(Library value)

publicVersion.BuilderaddLibraries(Libraryvalue)

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
value Library
Returns
Type Description

addLibraries(Library.Builder builderForValue)

publicVersion.BuilderaddLibraries(Library.BuilderbuilderForValue)

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
builderForValue Library.Builder
Returns
Type Description

addLibraries(int index, Library value)

publicVersion.BuilderaddLibraries(intindex,Libraryvalue)

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
Name Description
index int
value Library
Returns
Type Description

addLibraries(int index, Library.Builder builderForValue)

publicVersion.BuilderaddLibraries(intindex,Library.BuilderbuilderForValue)

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
Name Description
index int
builderForValue Library.Builder
Returns
Type Description

addLibrariesBuilder()

publicLibrary.BuilderaddLibrariesBuilder()

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

addLibrariesBuilder(int index)

publicLibrary.BuilderaddLibrariesBuilder(intindex)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicVersion.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

addZones(String value)

publicVersion.BuilderaddZones(Stringvalue)

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
value String

The zones to add.

Returns
Type Description
Version.Builder

This builder for chaining.

addZonesBytes(ByteString value)

publicVersion.BuilderaddZonesBytes(ByteStringvalue)

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
value ByteString

The bytes of the zones to add.

Returns
Type Description
Version.Builder

This builder for chaining.

build()

publicVersionbuild()
Returns
Type Description

buildPartial()

publicVersionbuildPartial()
Returns
Type Description

clear()

publicVersion.Builderclear()
Returns
Type Description
Overrides

clearApiConfig()

publicVersion.BuilderclearApiConfig()

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

clearAppEngineApis()

publicVersion.BuilderclearAppEngineApis()

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

bool app_engine_apis = 128;

Returns
Type Description
Version.Builder

This builder for chaining.

clearAutomaticScaling()

publicVersion.BuilderclearAutomaticScaling()

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

clearBasicScaling()

publicVersion.BuilderclearBasicScaling()

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

clearBetaSettings()

publicVersion.BuilderclearBetaSettings()
Returns
Type Description

clearBuildEnvVariables()

publicVersion.BuilderclearBuildEnvVariables()
Returns
Type Description

clearCreateTime()

publicVersion.BuilderclearCreateTime()

Time that this version was created. @OutputOnly

.google.protobuf.Timestamp create_time = 17;

Returns
Type Description

clearCreatedBy()

publicVersion.BuilderclearCreatedBy()

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

string created_by = 16;

Returns
Type Description
Version.Builder

This builder for chaining.

clearDefaultExpiration()

publicVersion.BuilderclearDefaultExpiration()

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

clearDeployment()

publicVersion.BuilderclearDeployment()

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

clearDiskUsageBytes()

publicVersion.BuilderclearDiskUsageBytes()

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

This builder for chaining.

clearEndpointsApiService()

publicVersion.BuilderclearEndpointsApiService()

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

clearEntrypoint()

publicVersion.BuilderclearEntrypoint()

The entrypoint for the application.

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

Returns
Type Description

clearEnv()

publicVersion.BuilderclearEnv()

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

string env = 14;

Returns
Type Description
Version.Builder

This builder for chaining.

clearEnvVariables()

publicVersion.BuilderclearEnvVariables()
Returns
Type Description

clearErrorHandlers()

publicVersion.BuilderclearErrorHandlers()

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

clearField(Descriptors.FieldDescriptor field)

publicVersion.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
Returns
Type Description
Overrides

clearHandlers()

publicVersion.BuilderclearHandlers()

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

clearHealthCheck()

publicVersion.BuilderclearHealthCheck()

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

clearId()

publicVersion.BuilderclearId()

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

This builder for chaining.

clearInboundServices()

publicVersion.BuilderclearInboundServices()

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

This builder for chaining.

clearInstanceClass()

publicVersion.BuilderclearInstanceClass()

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

This builder for chaining.

clearLibraries()

publicVersion.BuilderclearLibraries()

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

clearLivenessCheck()

publicVersion.BuilderclearLivenessCheck()

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

clearManualScaling()

publicVersion.BuilderclearManualScaling()

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

clearName()

publicVersion.BuilderclearName()

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

string name = 1;

Returns
Type Description
Version.Builder

This builder for chaining.

clearNetwork()

publicVersion.BuilderclearNetwork()

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

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

Returns
Type Description

clearNobuildFilesRegex()

publicVersion.BuilderclearNobuildFilesRegex()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicVersion.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
Returns
Type Description
Overrides

clearReadinessCheck()

publicVersion.BuilderclearReadinessCheck()

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

clearResources()

publicVersion.BuilderclearResources()

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

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

Returns
Type Description

clearRuntime()

publicVersion.BuilderclearRuntime()

Desired runtime. Example: python27.

string runtime = 10;

Returns
Type Description
Version.Builder

This builder for chaining.

clearRuntimeApiVersion()

publicVersion.BuilderclearRuntimeApiVersion()

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

This builder for chaining.

clearRuntimeChannel()

publicVersion.BuilderclearRuntimeChannel()

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

string runtime_channel = 117;

Returns
Type Description
Version.Builder

This builder for chaining.

clearRuntimeMainExecutablePath()

publicVersion.BuilderclearRuntimeMainExecutablePath()

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

string runtime_main_executable_path = 22;

Returns
Type Description
Version.Builder

This builder for chaining.

clearScaling()

publicVersion.BuilderclearScaling()
Returns
Type Description

clearServiceAccount()

publicVersion.BuilderclearServiceAccount()

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

This builder for chaining.

clearServingStatus()

publicVersion.BuilderclearServingStatus()

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

This builder for chaining.

clearThreadsafe()

publicVersion.BuilderclearThreadsafe()

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

bool threadsafe = 11;

Returns
Type Description
Version.Builder

This builder for chaining.

clearVersionUrl()

publicVersion.BuilderclearVersionUrl()

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

string version_url = 109;

Returns
Type Description
Version.Builder

This builder for chaining.

clearVm()

publicVersion.BuilderclearVm()

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

bool vm = 12;

Returns
Type Description
Version.Builder

This builder for chaining.

clearVpcAccessConnector()

publicVersion.BuilderclearVpcAccessConnector()

Enables VPC connectivity for standard apps.

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

Returns
Type Description

clearZones()

publicVersion.BuilderclearZones()

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

This builder for chaining.

clone()

publicVersion.Builderclone()
Returns
Type Description
Overrides

containsBetaSettings(String key)

publicbooleancontainsBetaSettings(Stringkey)

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

containsBuildEnvVariables(String key)

publicbooleancontainsBuildEnvVariables(Stringkey)

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

containsEnvVariables(String key)

publicbooleancontainsEnvVariables(Stringkey)

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

getApiConfig()

publicApiConfigHandlergetApiConfig()

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.

getApiConfigBuilder()

publicApiConfigHandler.BuildergetApiConfigBuilder()

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

getApiConfigOrBuilder()

publicApiConfigHandlerOrBuildergetApiConfigOrBuilder()

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

getAppEngineApis()

publicbooleangetAppEngineApis()

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

bool app_engine_apis = 128;

Returns
Type Description
boolean

The appEngineApis.

getAutomaticScaling()

publicAutomaticScalinggetAutomaticScaling()

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.

getAutomaticScalingBuilder()

publicAutomaticScaling.BuildergetAutomaticScalingBuilder()

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

getAutomaticScalingOrBuilder()

publicAutomaticScalingOrBuildergetAutomaticScalingOrBuilder()

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

getBasicScaling()

publicBasicScalinggetBasicScaling()

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.

getBasicScalingBuilder()

publicBasicScaling.BuildergetBasicScalingBuilder()

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

getBasicScalingOrBuilder()

publicBasicScalingOrBuildergetBasicScalingOrBuilder()

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

getBetaSettings()

publicMap<String,String>getBetaSettings()

Use #getBetaSettingsMap() instead.

Returns
Type Description

getBetaSettingsCount()

publicintgetBetaSettingsCount()

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

map<string, string> beta_settings = 13;

Returns
Type Description
int

getBetaSettingsMap()

publicMap<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

getBetaSettingsOrDefault(String key, String defaultValue)

publicStringgetBetaSettingsOrDefault(Stringkey,StringdefaultValue)

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

getBetaSettingsOrThrow(String key)

publicStringgetBetaSettingsOrThrow(Stringkey)

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

getBuildEnvVariables()

publicMap<String,String>getBuildEnvVariables()
Returns
Type Description

getBuildEnvVariablesCount()

publicintgetBuildEnvVariablesCount()

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()

publicMap<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

getBuildEnvVariablesOrDefault(String key, String defaultValue)

publicStringgetBuildEnvVariablesOrDefault(Stringkey,StringdefaultValue)

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

getBuildEnvVariablesOrThrow(String key)

publicStringgetBuildEnvVariablesOrThrow(Stringkey)

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

getCreateTime()

publicTimestampgetCreateTime()

Time that this version was created. @OutputOnly

.google.protobuf.Timestamp create_time = 17;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

publicTimestamp.BuildergetCreateTimeBuilder()

Time that this version was created. @OutputOnly

.google.protobuf.Timestamp create_time = 17;

Returns
Type Description

getCreateTimeOrBuilder()

publicTimestampOrBuildergetCreateTimeOrBuilder()

Time that this version was created. @OutputOnly

.google.protobuf.Timestamp create_time = 17;

Returns
Type Description

getCreatedBy()

publicStringgetCreatedBy()

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

string created_by = 16;

Returns
Type Description
String

The createdBy.

getCreatedByBytes()

publicByteStringgetCreatedByBytes()

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

string created_by = 16;

Returns
Type Description
ByteString

The bytes for createdBy.

getDefaultExpiration()

publicDurationgetDefaultExpiration()

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.

getDefaultExpirationBuilder()

publicDuration.BuildergetDefaultExpirationBuilder()

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

getDefaultExpirationOrBuilder()

publicDurationOrBuildergetDefaultExpirationOrBuilder()

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

getDefaultInstanceForType()

publicVersiongetDefaultInstanceForType()
Returns
Type Description

getDeployment()

publicDeploymentgetDeployment()

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.

getDeploymentBuilder()

publicDeployment.BuildergetDeploymentBuilder()

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

getDeploymentOrBuilder()

publicDeploymentOrBuildergetDeploymentOrBuilder()

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

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Overrides

getDiskUsageBytes()

publiclonggetDiskUsageBytes()

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()

publicEndpointsApiServicegetEndpointsApiService()

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.

getEndpointsApiServiceBuilder()

publicEndpointsApiService.BuildergetEndpointsApiServiceBuilder()

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

getEndpointsApiServiceOrBuilder()

publicEndpointsApiServiceOrBuildergetEndpointsApiServiceOrBuilder()

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

getEntrypoint()

publicEntrypointgetEntrypoint()

The entrypoint for the application.

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

Returns
Type Description
Entrypoint

The entrypoint.

getEntrypointBuilder()

publicEntrypoint.BuildergetEntrypointBuilder()

The entrypoint for the application.

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

Returns
Type Description

getEntrypointOrBuilder()

publicEntrypointOrBuildergetEntrypointOrBuilder()

The entrypoint for the application.

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

Returns
Type Description

getEnv()

publicStringgetEnv()

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

string env = 14;

Returns
Type Description
String

The env.

getEnvBytes()

publicByteStringgetEnvBytes()

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

string env = 14;

Returns
Type Description
ByteString

The bytes for env.

getEnvVariables()

publicMap<String,String>getEnvVariables()

Use #getEnvVariablesMap() instead.

Returns
Type Description

getEnvVariablesCount()

publicintgetEnvVariablesCount()

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()

publicMap<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

getEnvVariablesOrDefault(String key, String defaultValue)

publicStringgetEnvVariablesOrDefault(Stringkey,StringdefaultValue)

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

getEnvVariablesOrThrow(String key)

publicStringgetEnvVariablesOrThrow(Stringkey)

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

getErrorHandlers(int index)

publicErrorHandlergetErrorHandlers(intindex)

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

getErrorHandlersBuilder(int index)

publicErrorHandler.BuildergetErrorHandlersBuilder(intindex)

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

getErrorHandlersBuilderList()

publicList<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
Type Description

getErrorHandlersCount()

publicintgetErrorHandlersCount()

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()

publicList<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

getErrorHandlersOrBuilder(int index)

publicErrorHandlerOrBuildergetErrorHandlersOrBuilder(intindex)

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

getErrorHandlersOrBuilderList()

publicList<?extendsErrorHandlerOrBuilder>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)

publicUrlMapgetHandlers(intindex)

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

getHandlersBuilder(int index)

publicUrlMap.BuildergetHandlersBuilder(intindex)

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

getHandlersBuilderList()

publicList<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
Type Description

getHandlersCount()

publicintgetHandlersCount()

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()

publicList<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

getHandlersOrBuilder(int index)

publicUrlMapOrBuildergetHandlersOrBuilder(intindex)

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

getHandlersOrBuilderList()

publicList<?extendsUrlMapOrBuilder>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()

publicHealthCheckgetHealthCheck()

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.

getHealthCheckBuilder()

publicHealthCheck.BuildergetHealthCheckBuilder()

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

getHealthCheckOrBuilder()

publicHealthCheckOrBuildergetHealthCheckOrBuilder()

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

getId()

publicStringgetId()

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()

publicByteStringgetIdBytes()

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)

publicInboundServiceTypegetInboundServices(intindex)

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()

publicintgetInboundServicesCount()

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()

publicList<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)

publicintgetInboundServicesValue(intindex)

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()

publicList<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()

publicStringgetInstanceClass()

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()

publicByteStringgetInstanceClassBytes()

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)

publicLibrarygetLibraries(intindex)

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

getLibrariesBuilder(int index)

publicLibrary.BuildergetLibrariesBuilder(intindex)

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

getLibrariesBuilderList()

publicList<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
Type Description

getLibrariesCount()

publicintgetLibrariesCount()

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()

publicList<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

getLibrariesOrBuilder(int index)

publicLibraryOrBuildergetLibrariesOrBuilder(intindex)

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

getLibrariesOrBuilderList()

publicList<?extendsLibraryOrBuilder>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()

publicLivenessCheckgetLivenessCheck()

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.

getLivenessCheckBuilder()

publicLivenessCheck.BuildergetLivenessCheckBuilder()

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

getLivenessCheckOrBuilder()

publicLivenessCheckOrBuildergetLivenessCheckOrBuilder()

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

getManualScaling()

publicManualScalinggetManualScaling()

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.

getManualScalingBuilder()

publicManualScaling.BuildergetManualScalingBuilder()

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

getManualScalingOrBuilder()

publicManualScalingOrBuildergetManualScalingOrBuilder()

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

getMutableBetaSettings()

publicMap<String,String>getMutableBetaSettings()

Use alternate mutation accessors instead.

Returns
Type Description

getMutableBuildEnvVariables()

publicMap<String,String>getMutableBuildEnvVariables()

Use alternate mutation accessors instead.

Returns
Type Description

getMutableEnvVariables()

publicMap<String,String>getMutableEnvVariables()

Use alternate mutation accessors instead.

Returns
Type Description

getName()

publicStringgetName()

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()

publicByteStringgetNameBytes()

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()

publicNetworkgetNetwork()

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

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

Returns
Type Description
Network

The network.

getNetworkBuilder()

publicNetwork.BuildergetNetworkBuilder()

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

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

Returns
Type Description

getNetworkOrBuilder()

publicNetworkOrBuildergetNetworkOrBuilder()

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

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

Returns
Type Description

getNobuildFilesRegex()

publicStringgetNobuildFilesRegex()

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()

publicByteStringgetNobuildFilesRegexBytes()

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()

publicReadinessCheckgetReadinessCheck()

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.

getReadinessCheckBuilder()

publicReadinessCheck.BuildergetReadinessCheckBuilder()

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

getReadinessCheckOrBuilder()

publicReadinessCheckOrBuildergetReadinessCheckOrBuilder()

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

getResources()

publicResourcesgetResources()

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.

getResourcesBuilder()

publicResources.BuildergetResourcesBuilder()

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

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

Returns
Type Description

getResourcesOrBuilder()

publicResourcesOrBuildergetResourcesOrBuilder()

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

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

Returns
Type Description

getRuntime()

publicStringgetRuntime()

Desired runtime. Example: python27.

string runtime = 10;

Returns
Type Description
String

The runtime.

getRuntimeApiVersion()

publicStringgetRuntimeApiVersion()

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()

publicByteStringgetRuntimeApiVersionBytes()

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()

publicByteStringgetRuntimeBytes()

Desired runtime. Example: python27.

string runtime = 10;

Returns
Type Description
ByteString

The bytes for runtime.

getRuntimeChannel()

publicStringgetRuntimeChannel()

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()

publicByteStringgetRuntimeChannelBytes()

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()

publicStringgetRuntimeMainExecutablePath()

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

string runtime_main_executable_path = 22;

Returns
Type Description
String

The runtimeMainExecutablePath.

getRuntimeMainExecutablePathBytes()

publicByteStringgetRuntimeMainExecutablePathBytes()

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()

publicVersion.ScalingCasegetScalingCase()
Returns
Type Description

getServiceAccount()

publicStringgetServiceAccount()

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()

publicByteStringgetServiceAccountBytes()

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()

publicServingStatusgetServingStatus()

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()

publicintgetServingStatusValue()

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()

publicbooleangetThreadsafe()

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

bool threadsafe = 11;

Returns
Type Description
boolean

The threadsafe.

getVersionUrl()

publicStringgetVersionUrl()

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()

publicByteStringgetVersionUrlBytes()

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()

publicbooleangetVm()

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

bool vm = 12;

Returns
Type Description
boolean

The vm.

getVpcAccessConnector()

publicVpcAccessConnectorgetVpcAccessConnector()

Enables VPC connectivity for standard apps.

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

Returns
Type Description
VpcAccessConnector

The vpcAccessConnector.

getVpcAccessConnectorBuilder()

publicVpcAccessConnector.BuildergetVpcAccessConnectorBuilder()

Enables VPC connectivity for standard apps.

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

Returns
Type Description

getVpcAccessConnectorOrBuilder()

publicVpcAccessConnectorOrBuildergetVpcAccessConnectorOrBuilder()

Enables VPC connectivity for standard apps.

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

Returns
Type Description

getZones(int index)

publicStringgetZones(intindex)

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)

publicByteStringgetZonesBytes(intindex)

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()

publicintgetZonesCount()

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()

publicProtocolStringListgetZonesList()

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
ProtocolStringList

A list containing the zones.

hasApiConfig()

publicbooleanhasApiConfig()

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()

publicbooleanhasAutomaticScaling()

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()

publicbooleanhasBasicScaling()

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()

publicbooleanhasCreateTime()

Time that this version was created. @OutputOnly

.google.protobuf.Timestamp create_time = 17;

Returns
Type Description
boolean

Whether the createTime field is set.

hasDefaultExpiration()

publicbooleanhasDefaultExpiration()

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()

publicbooleanhasDeployment()

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()

publicbooleanhasEndpointsApiService()

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()

publicbooleanhasEntrypoint()

The entrypoint for the application.

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

Returns
Type Description
boolean

Whether the entrypoint field is set.

hasHealthCheck()

publicbooleanhasHealthCheck()

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()

publicbooleanhasLivenessCheck()

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()

publicbooleanhasManualScaling()

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()

publicbooleanhasNetwork()

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()

publicbooleanhasReadinessCheck()

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()

publicbooleanhasResources()

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()

publicbooleanhasVpcAccessConnector()

Enables VPC connectivity for standard apps.

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

Returns
Type Description
boolean

Whether the vpcAccessConnector field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
Overrides

internalGetMapField(int number)

protectedMapFieldinternalGetMapField(intnumber)
Parameter
Name Description
number int
Returns
Type Description
Overrides

internalGetMutableMapField(int number)

protectedMapFieldinternalGetMutableMapField(intnumber)
Parameter
Name Description
number int
Returns
Type Description
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
Overrides

mergeApiConfig(ApiConfigHandler value)

publicVersion.BuildermergeApiConfig(ApiConfigHandlervalue)

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

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

Parameter
Name Description
Returns
Type Description

mergeAutomaticScaling(AutomaticScaling value)

publicVersion.BuildermergeAutomaticScaling(AutomaticScalingvalue)

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;

Parameter
Name Description
Returns
Type Description

mergeBasicScaling(BasicScaling value)

publicVersion.BuildermergeBasicScaling(BasicScalingvalue)

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;

Parameter
Name Description
value BasicScaling
Returns
Type Description

mergeCreateTime(Timestamp value)

publicVersion.BuildermergeCreateTime(Timestampvalue)

Time that this version was created. @OutputOnly

.google.protobuf.Timestamp create_time = 17;

Parameter
Name Description
value Timestamp
Returns
Type Description

mergeDefaultExpiration(Duration value)

publicVersion.BuildermergeDefaultExpiration(Durationvalue)

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;

Parameter
Name Description
value Duration
Returns
Type Description

mergeDeployment(Deployment value)

publicVersion.BuildermergeDeployment(Deploymentvalue)

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;

Parameter
Name Description
value Deployment
Returns
Type Description

mergeEndpointsApiService(EndpointsApiService value)

publicVersion.BuildermergeEndpointsApiService(EndpointsApiServicevalue)

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;

Parameter
Name Description
Returns
Type Description

mergeEntrypoint(Entrypoint value)

publicVersion.BuildermergeEntrypoint(Entrypointvalue)

The entrypoint for the application.

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

Parameter
Name Description
value Entrypoint
Returns
Type Description

mergeFrom(Version other)

publicVersion.BuildermergeFrom(Versionother)
Parameter
Name Description
other Version
Returns
Type Description

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicVersion.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Overrides Exceptions
Type Description

mergeFrom(Message other)

publicVersion.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Overrides

mergeHealthCheck(HealthCheck value)

publicVersion.BuildermergeHealthCheck(HealthCheckvalue)

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;

Parameter
Name Description
value HealthCheck
Returns
Type Description

mergeLivenessCheck(LivenessCheck value)

publicVersion.BuildermergeLivenessCheck(LivenessCheckvalue)

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;

Parameter
Name Description
Returns
Type Description

mergeManualScaling(ManualScaling value)

publicVersion.BuildermergeManualScaling(ManualScalingvalue)

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;

Parameter
Name Description
Returns
Type Description

mergeNetwork(Network value)

publicVersion.BuildermergeNetwork(Networkvalue)

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

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

Parameter
Name Description
value Network
Returns
Type Description

mergeReadinessCheck(ReadinessCheck value)

publicVersion.BuildermergeReadinessCheck(ReadinessCheckvalue)

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;

Parameter
Name Description
Returns
Type Description

mergeResources(Resources value)

publicVersion.BuildermergeResources(Resourcesvalue)

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

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

Parameter
Name Description
value Resources
Returns
Type Description

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalVersion.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

mergeVpcAccessConnector(VpcAccessConnector value)

publicVersion.BuildermergeVpcAccessConnector(VpcAccessConnectorvalue)

Enables VPC connectivity for standard apps.

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

Parameter
Name Description
Returns
Type Description

putAllBetaSettings(Map<String,String> values)

publicVersion.BuilderputAllBetaSettings(Map<String,String>values)

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

map<string, string> beta_settings = 13;

Parameter
Name Description
values Map<String,String>
Returns
Type Description

putAllBuildEnvVariables(Map<String,String> values)

publicVersion.BuilderputAllBuildEnvVariables(Map<String,String>values)

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
values Map<String,String>
Returns
Type Description

putAllEnvVariables(Map<String,String> values)

publicVersion.BuilderputAllEnvVariables(Map<String,String>values)

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
values Map<String,String>
Returns
Type Description

putBetaSettings(String key, String value)

publicVersion.BuilderputBetaSettings(Stringkey,Stringvalue)

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

map<string, string> beta_settings = 13;

Parameters
Name Description
key String
value String
Returns
Type Description

putBuildEnvVariables(String key, String value)

publicVersion.BuilderputBuildEnvVariables(Stringkey,Stringvalue)

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
value String
Returns
Type Description

putEnvVariables(String key, String value)

publicVersion.BuilderputEnvVariables(Stringkey,Stringvalue)

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
value String
Returns
Type Description

removeBetaSettings(String key)

publicVersion.BuilderremoveBetaSettings(Stringkey)

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

removeBuildEnvVariables(String key)

publicVersion.BuilderremoveBuildEnvVariables(Stringkey)

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

removeEnvVariables(String key)

publicVersion.BuilderremoveEnvVariables(Stringkey)

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

removeErrorHandlers(int index)

publicVersion.BuilderremoveErrorHandlers(intindex)

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

removeHandlers(int index)

publicVersion.BuilderremoveHandlers(intindex)

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

removeLibraries(int index)

publicVersion.BuilderremoveLibraries(intindex)

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

setApiConfig(ApiConfigHandler value)

publicVersion.BuildersetApiConfig(ApiConfigHandlervalue)

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

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

Parameter
Name Description
Returns
Type Description

setApiConfig(ApiConfigHandler.Builder builderForValue)

publicVersion.BuildersetApiConfig(ApiConfigHandler.BuilderbuilderForValue)

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

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

Parameter
Name Description
builderForValue ApiConfigHandler.Builder
Returns
Type Description

setAppEngineApis(boolean value)

publicVersion.BuildersetAppEngineApis(booleanvalue)

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

bool app_engine_apis = 128;

Parameter
Name Description
value boolean

The appEngineApis to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setAutomaticScaling(AutomaticScaling value)

publicVersion.BuildersetAutomaticScaling(AutomaticScalingvalue)

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;

Parameter
Name Description
Returns
Type Description

setAutomaticScaling(AutomaticScaling.Builder builderForValue)

publicVersion.BuildersetAutomaticScaling(AutomaticScaling.BuilderbuilderForValue)

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;

Parameter
Name Description
builderForValue AutomaticScaling.Builder
Returns
Type Description

setBasicScaling(BasicScaling value)

publicVersion.BuildersetBasicScaling(BasicScalingvalue)

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;

Parameter
Name Description
value BasicScaling
Returns
Type Description

setBasicScaling(BasicScaling.Builder builderForValue)

publicVersion.BuildersetBasicScaling(BasicScaling.BuilderbuilderForValue)

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;

Parameter
Name Description
builderForValue BasicScaling.Builder
Returns
Type Description

setCreateTime(Timestamp value)

publicVersion.BuildersetCreateTime(Timestampvalue)

Time that this version was created. @OutputOnly

.google.protobuf.Timestamp create_time = 17;

Parameter
Name Description
value Timestamp
Returns
Type Description

setCreateTime(Timestamp.Builder builderForValue)

publicVersion.BuildersetCreateTime(Timestamp.BuilderbuilderForValue)

Time that this version was created. @OutputOnly

.google.protobuf.Timestamp create_time = 17;

Parameter
Name Description
builderForValue Builder
Returns
Type Description

setCreatedBy(String value)

publicVersion.BuildersetCreatedBy(Stringvalue)

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

string created_by = 16;

Parameter
Name Description
value String

The createdBy to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setCreatedByBytes(ByteString value)

publicVersion.BuildersetCreatedByBytes(ByteStringvalue)

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

string created_by = 16;

Parameter
Name Description
value ByteString

The bytes for createdBy to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setDefaultExpiration(Duration value)

publicVersion.BuildersetDefaultExpiration(Durationvalue)

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;

Parameter
Name Description
value Duration
Returns
Type Description

setDefaultExpiration(Duration.Builder builderForValue)

publicVersion.BuildersetDefaultExpiration(Duration.BuilderbuilderForValue)

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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description

setDeployment(Deployment value)

publicVersion.BuildersetDeployment(Deploymentvalue)

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;

Parameter
Name Description
value Deployment
Returns
Type Description

setDeployment(Deployment.Builder builderForValue)

publicVersion.BuildersetDeployment(Deployment.BuilderbuilderForValue)

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;

Parameter
Name Description
builderForValue Deployment.Builder
Returns
Type Description

setDiskUsageBytes(long value)

publicVersion.BuildersetDiskUsageBytes(longvalue)

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;

Parameter
Name Description
value long

The diskUsageBytes to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setEndpointsApiService(EndpointsApiService value)

publicVersion.BuildersetEndpointsApiService(EndpointsApiServicevalue)

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;

Parameter
Name Description
Returns
Type Description

setEndpointsApiService(EndpointsApiService.Builder builderForValue)

publicVersion.BuildersetEndpointsApiService(EndpointsApiService.BuilderbuilderForValue)

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;

Parameter
Name Description
builderForValue EndpointsApiService.Builder
Returns
Type Description

setEntrypoint(Entrypoint value)

publicVersion.BuildersetEntrypoint(Entrypointvalue)

The entrypoint for the application.

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

Parameter
Name Description
value Entrypoint
Returns
Type Description

setEntrypoint(Entrypoint.Builder builderForValue)

publicVersion.BuildersetEntrypoint(Entrypoint.BuilderbuilderForValue)

The entrypoint for the application.

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

Parameter
Name Description
builderForValue Entrypoint.Builder
Returns
Type Description

setEnv(String value)

publicVersion.BuildersetEnv(Stringvalue)

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

string env = 14;

Parameter
Name Description
value String

The env to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setEnvBytes(ByteString value)

publicVersion.BuildersetEnvBytes(ByteStringvalue)

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

string env = 14;

Parameter
Name Description
value ByteString

The bytes for env to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setErrorHandlers(int index, ErrorHandler value)

publicVersion.BuildersetErrorHandlers(intindex,ErrorHandlervalue)

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
Name Description
index int
value ErrorHandler
Returns
Type Description

setErrorHandlers(int index, ErrorHandler.Builder builderForValue)

publicVersion.BuildersetErrorHandlers(intindex,ErrorHandler.BuilderbuilderForValue)

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
Name Description
index int
builderForValue ErrorHandler.Builder
Returns
Type Description

setField(Descriptors.FieldDescriptor field, Object value)

publicVersion.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

setHandlers(int index, UrlMap value)

publicVersion.BuildersetHandlers(intindex,UrlMapvalue)

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
Name Description
index int
value UrlMap
Returns
Type Description

setHandlers(int index, UrlMap.Builder builderForValue)

publicVersion.BuildersetHandlers(intindex,UrlMap.BuilderbuilderForValue)

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
Name Description
index int
builderForValue UrlMap.Builder
Returns
Type Description

setHealthCheck(HealthCheck value)

publicVersion.BuildersetHealthCheck(HealthCheckvalue)

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;

Parameter
Name Description
value HealthCheck
Returns
Type Description

setHealthCheck(HealthCheck.Builder builderForValue)

publicVersion.BuildersetHealthCheck(HealthCheck.BuilderbuilderForValue)

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;

Parameter
Name Description
builderForValue HealthCheck.Builder
Returns
Type Description

setId(String value)

publicVersion.BuildersetId(Stringvalue)

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;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setIdBytes(ByteString value)

publicVersion.BuildersetIdBytes(ByteStringvalue)

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;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setInboundServices(int index, InboundServiceType value)

publicVersion.BuildersetInboundServices(intindex,InboundServiceTypevalue)

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;

Parameters
Name Description
index int

The index to set the value at.

value InboundServiceType

The inboundServices to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setInboundServicesValue(int index, int value)

publicVersion.BuildersetInboundServicesValue(intindex,intvalue)

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;

Parameters
Name Description
index int

The index to set the value at.

value int

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

Returns
Type Description
Version.Builder

This builder for chaining.

setInstanceClass(String value)

publicVersion.BuildersetInstanceClass(Stringvalue)

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;

Parameter
Name Description
value String

The instanceClass to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setInstanceClassBytes(ByteString value)

publicVersion.BuildersetInstanceClassBytes(ByteStringvalue)

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;

Parameter
Name Description
value ByteString

The bytes for instanceClass to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setLibraries(int index, Library value)

publicVersion.BuildersetLibraries(intindex,Libraryvalue)

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
Name Description
index int
value Library
Returns
Type Description

setLibraries(int index, Library.Builder builderForValue)

publicVersion.BuildersetLibraries(intindex,Library.BuilderbuilderForValue)

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
Name Description
index int
builderForValue Library.Builder
Returns
Type Description

setLivenessCheck(LivenessCheck value)

publicVersion.BuildersetLivenessCheck(LivenessCheckvalue)

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;

Parameter
Name Description
Returns
Type Description

setLivenessCheck(LivenessCheck.Builder builderForValue)

publicVersion.BuildersetLivenessCheck(LivenessCheck.BuilderbuilderForValue)

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;

Parameter
Name Description
builderForValue LivenessCheck.Builder
Returns
Type Description

setManualScaling(ManualScaling value)

publicVersion.BuildersetManualScaling(ManualScalingvalue)

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;

Parameter
Name Description
Returns
Type Description

setManualScaling(ManualScaling.Builder builderForValue)

publicVersion.BuildersetManualScaling(ManualScaling.BuilderbuilderForValue)

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;

Parameter
Name Description
builderForValue ManualScaling.Builder
Returns
Type Description

setName(String value)

publicVersion.BuildersetName(Stringvalue)

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

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setNameBytes(ByteString value)

publicVersion.BuildersetNameBytes(ByteStringvalue)

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

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setNetwork(Network value)

publicVersion.BuildersetNetwork(Networkvalue)

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

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

Parameter
Name Description
value Network
Returns
Type Description

setNetwork(Network.Builder builderForValue)

publicVersion.BuildersetNetwork(Network.BuilderbuilderForValue)

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

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

Parameter
Name Description
builderForValue Network.Builder
Returns
Type Description

setNobuildFilesRegex(String value)

publicVersion.BuildersetNobuildFilesRegex(Stringvalue)

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;

Parameter
Name Description
value String

The nobuildFilesRegex to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setNobuildFilesRegexBytes(ByteString value)

publicVersion.BuildersetNobuildFilesRegexBytes(ByteStringvalue)

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;

Parameter
Name Description
value ByteString

The bytes for nobuildFilesRegex to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setReadinessCheck(ReadinessCheck value)

publicVersion.BuildersetReadinessCheck(ReadinessCheckvalue)

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;

Parameter
Name Description
Returns
Type Description

setReadinessCheck(ReadinessCheck.Builder builderForValue)

publicVersion.BuildersetReadinessCheck(ReadinessCheck.BuilderbuilderForValue)

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;

Parameter
Name Description
builderForValue ReadinessCheck.Builder
Returns
Type Description

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicVersion.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
index int
value Object
Returns
Type Description
Overrides

setResources(Resources value)

publicVersion.BuildersetResources(Resourcesvalue)

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

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

Parameter
Name Description
value Resources
Returns
Type Description

setResources(Resources.Builder builderForValue)

publicVersion.BuildersetResources(Resources.BuilderbuilderForValue)

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

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

Parameter
Name Description
builderForValue Resources.Builder
Returns
Type Description

setRuntime(String value)

publicVersion.BuildersetRuntime(Stringvalue)

Desired runtime. Example: python27.

string runtime = 10;

Parameter
Name Description
value String

The runtime to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setRuntimeApiVersion(String value)

publicVersion.BuildersetRuntimeApiVersion(Stringvalue)

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;

Parameter
Name Description
value String

The runtimeApiVersion to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setRuntimeApiVersionBytes(ByteString value)

publicVersion.BuildersetRuntimeApiVersionBytes(ByteStringvalue)

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;

Parameter
Name Description
value ByteString

The bytes for runtimeApiVersion to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setRuntimeBytes(ByteString value)

publicVersion.BuildersetRuntimeBytes(ByteStringvalue)

Desired runtime. Example: python27.

string runtime = 10;

Parameter
Name Description
value ByteString

The bytes for runtime to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setRuntimeChannel(String value)

publicVersion.BuildersetRuntimeChannel(Stringvalue)

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

string runtime_channel = 117;

Parameter
Name Description
value String

The runtimeChannel to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setRuntimeChannelBytes(ByteString value)

publicVersion.BuildersetRuntimeChannelBytes(ByteStringvalue)

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

string runtime_channel = 117;

Parameter
Name Description
value ByteString

The bytes for runtimeChannel to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setRuntimeMainExecutablePath(String value)

publicVersion.BuildersetRuntimeMainExecutablePath(Stringvalue)

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

string runtime_main_executable_path = 22;

Parameter
Name Description
value String

The runtimeMainExecutablePath to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setRuntimeMainExecutablePathBytes(ByteString value)

publicVersion.BuildersetRuntimeMainExecutablePathBytes(ByteStringvalue)

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

string runtime_main_executable_path = 22;

Parameter
Name Description
value ByteString

The bytes for runtimeMainExecutablePath to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setServiceAccount(String value)

publicVersion.BuildersetServiceAccount(Stringvalue)

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;

Parameter
Name Description
value String

The serviceAccount to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setServiceAccountBytes(ByteString value)

publicVersion.BuildersetServiceAccountBytes(ByteStringvalue)

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;

Parameter
Name Description
value ByteString

The bytes for serviceAccount to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setServingStatus(ServingStatus value)

publicVersion.BuildersetServingStatus(ServingStatusvalue)

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;

Parameter
Name Description
value ServingStatus

The servingStatus to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setServingStatusValue(int value)

publicVersion.BuildersetServingStatusValue(intvalue)

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;

Parameter
Name Description
value int

The enum numeric value on the wire for servingStatus to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setThreadsafe(boolean value)

publicVersion.BuildersetThreadsafe(booleanvalue)

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

bool threadsafe = 11;

Parameter
Name Description
value boolean

The threadsafe to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalVersion.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

setVersionUrl(String value)

publicVersion.BuildersetVersionUrl(Stringvalue)

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

string version_url = 109;

Parameter
Name Description
value String

The versionUrl to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setVersionUrlBytes(ByteString value)

publicVersion.BuildersetVersionUrlBytes(ByteStringvalue)

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

string version_url = 109;

Parameter
Name Description
value ByteString

The bytes for versionUrl to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setVm(boolean value)

publicVersion.BuildersetVm(booleanvalue)

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

bool vm = 12;

Parameter
Name Description
value boolean

The vm to set.

Returns
Type Description
Version.Builder

This builder for chaining.

setVpcAccessConnector(VpcAccessConnector value)

publicVersion.BuildersetVpcAccessConnector(VpcAccessConnectorvalue)

Enables VPC connectivity for standard apps.

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

Parameter
Name Description
Returns
Type Description

setVpcAccessConnector(VpcAccessConnector.Builder builderForValue)

publicVersion.BuildersetVpcAccessConnector(VpcAccessConnector.BuilderbuilderForValue)

Enables VPC connectivity for standard apps.

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

Parameter
Name Description
builderForValue VpcAccessConnector.Builder
Returns
Type Description

setZones(int index, String value)

publicVersion.BuildersetZones(intindex,Stringvalue)

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

repeated string zones = 118;

Parameters
Name Description
index int

The index to set the value at.

value String

The zones to set.

Returns
Type Description
Version.Builder

This builder for chaining.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.