Class Version.Builder (2.46.0)

public static final class Version.Builder extends GeneratedMessageV3.Builder<Version.Builder> implements VersionOrBuilder

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

Protobuf type google.appengine.v1.Version

Implements

VersionOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllErrorHandlers(Iterable<? extends ErrorHandler> values)

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

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

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

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

Parameter
Name Description
values Iterable<? extends com.google.appengine.v1.ErrorHandler>
Returns
Type Description
Version.Builder

addAllHandlers(Iterable<? extends UrlMap> values)

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

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

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

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

Parameter
Name Description
values Iterable<? extends com.google.appengine.v1.UrlMap>
Returns
Type Description
Version.Builder

addAllInboundServices(Iterable<? extends InboundServiceType> values)

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

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

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

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

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

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

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

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

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

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

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

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

Parameter
Name Description
values Iterable<? extends com.google.appengine.v1.Library>
Returns
Type Description
Version.Builder

addAllZones(Iterable<String> values)

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

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

repeated string zones = 118;

Parameter
Name Description
values Iterable<String>

The zones to add.

Returns
Type Description
Version.Builder

This builder for chaining.

addErrorHandlers(ErrorHandler value)

public Version.Builder addErrorHandlers(ErrorHandler value)

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

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

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

Parameter
Name Description
value ErrorHandler
Returns
Type Description
Version.Builder

addErrorHandlers(ErrorHandler.Builder builderForValue)

public Version.Builder addErrorHandlers(ErrorHandler.Builder builderForValue)

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

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

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

Parameter
Name Description
builderForValue ErrorHandler.Builder
Returns
Type Description
Version.Builder

addErrorHandlers(int index, ErrorHandler value)

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

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

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

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

Parameters
Name Description
index int
value ErrorHandler
Returns
Type Description
Version.Builder

addErrorHandlers(int index, ErrorHandler.Builder builderForValue)

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

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

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

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

Parameters
Name Description
index int
builderForValue ErrorHandler.Builder
Returns
Type Description
Version.Builder

addErrorHandlersBuilder()

public ErrorHandler.Builder addErrorHandlersBuilder()

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

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

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

Returns
Type Description
ErrorHandler.Builder

addErrorHandlersBuilder(int index)

public ErrorHandler.Builder addErrorHandlersBuilder(int index)

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

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

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

Parameter
Name Description
index int
Returns
Type Description
ErrorHandler.Builder

addHandlers(UrlMap value)

public Version.Builder addHandlers(UrlMap value)

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

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

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

Parameter
Name Description
value UrlMap
Returns
Type Description
Version.Builder

addHandlers(UrlMap.Builder builderForValue)

public Version.Builder addHandlers(UrlMap.Builder builderForValue)

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

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

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

Parameter
Name Description
builderForValue UrlMap.Builder
Returns
Type Description
Version.Builder

addHandlers(int index, UrlMap value)

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

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

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

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

Parameters
Name Description
index int
value UrlMap
Returns
Type Description
Version.Builder

addHandlers(int index, UrlMap.Builder builderForValue)

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

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

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

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

Parameters
Name Description
index int
builderForValue UrlMap.Builder
Returns
Type Description
Version.Builder

addHandlersBuilder()

public UrlMap.Builder addHandlersBuilder()

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

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

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

Returns
Type Description
UrlMap.Builder

addHandlersBuilder(int index)

public UrlMap.Builder addHandlersBuilder(int index)

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

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

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

Parameter
Name Description
index int
Returns
Type Description
UrlMap.Builder

addInboundServices(InboundServiceType value)

public Version.Builder addInboundServices(InboundServiceType value)

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

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

Parameter
Name Description
value InboundServiceType

The inboundServices to add.

Returns
Type Description
Version.Builder

This builder for chaining.

addInboundServicesValue(int value)

public Version.Builder addInboundServicesValue(int value)

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

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

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

public Version.Builder addLibraries(Library value)

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

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

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

Parameter
Name Description
value Library
Returns
Type Description
Version.Builder

addLibraries(Library.Builder builderForValue)

public Version.Builder addLibraries(Library.Builder builderForValue)

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

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

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

Parameter
Name Description
builderForValue Library.Builder
Returns
Type Description
Version.Builder

addLibraries(int index, Library value)

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

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

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

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

Parameters
Name Description
index int
value Library
Returns
Type Description
Version.Builder

addLibraries(int index, Library.Builder builderForValue)

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

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

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

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

Parameters
Name Description
index int
builderForValue Library.Builder
Returns
Type Description
Version.Builder

addLibrariesBuilder()

public Library.Builder addLibrariesBuilder()

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

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

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

Returns
Type Description
Library.Builder

addLibrariesBuilder(int index)

public Library.Builder addLibrariesBuilder(int index)

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

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

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

Parameter
Name Description
index int
Returns
Type Description
Library.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Version.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Version.Builder
Overrides

addZones(String value)

public Version.Builder addZones(String value)

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

repeated string zones = 118;

Parameter
Name Description
value String

The zones to add.

Returns
Type Description
Version.Builder

This builder for chaining.

addZonesBytes(ByteString value)

public Version.Builder addZonesBytes(ByteString value)

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

repeated string zones = 118;

Parameter
Name Description
value ByteString

The bytes of the zones to add.

Returns
Type Description
Version.Builder

This builder for chaining.

build()

public Version build()
Returns
Type Description
Version

buildPartial()

public Version buildPartial()
Returns
Type Description
Version

clear()

public Version.Builder clear()
Returns
Type Description
Version.Builder
Overrides

clearApiConfig()

public Version.Builder clearApiConfig()

Serving configuration for Google Cloud Endpoints.

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

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

Returns
Type Description
Version.Builder

clearAppEngineApis()

public Version.Builder clearAppEngineApis()

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

bool app_engine_apis = 128;

Returns
Type Description
Version.Builder

This builder for chaining.

clearAutomaticScaling()

public Version.Builder clearAutomaticScaling()

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

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

Returns
Type Description
Version.Builder

clearBasicScaling()

public Version.Builder clearBasicScaling()

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

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

Returns
Type Description
Version.Builder

clearBetaSettings()

public Version.Builder clearBetaSettings()
Returns
Type Description
Version.Builder

clearBuildEnvVariables()

public Version.Builder clearBuildEnvVariables()
Returns
Type Description
Version.Builder

clearCreateTime()

public Version.Builder clearCreateTime()

Time that this version was created.

@OutputOnly

.google.protobuf.Timestamp create_time = 17;

Returns
Type Description
Version.Builder

clearCreatedBy()

public Version.Builder clearCreatedBy()

Email address of the user who created this version.

@OutputOnly

string created_by = 16;

Returns
Type Description
Version.Builder

This builder for chaining.

clearDefaultExpiration()

public Version.Builder clearDefaultExpiration()

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

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

.google.protobuf.Duration default_expiration = 105;

Returns
Type Description
Version.Builder

clearDeployment()

public Version.Builder clearDeployment()

Code and application artifacts that make up this version.

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

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

Returns
Type Description
Version.Builder

clearDiskUsageBytes()

public Version.Builder clearDiskUsageBytes()

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

@OutputOnly

int64 disk_usage_bytes = 18;

Returns
Type Description
Version.Builder

This builder for chaining.

clearEndpointsApiService()

public Version.Builder clearEndpointsApiService()

Cloud Endpoints configuration.

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

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

Returns
Type Description
Version.Builder

clearEntrypoint()

public Version.Builder clearEntrypoint()

The entrypoint for the application.

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

Returns
Type Description
Version.Builder

clearEnv()

public Version.Builder clearEnv()

App Engine execution environment for this version.

Defaults to standard.

string env = 14;

Returns
Type Description
Version.Builder

This builder for chaining.

clearEnvVariables()

public Version.Builder clearEnvVariables()
Returns
Type Description
Version.Builder

clearErrorHandlers()

public Version.Builder clearErrorHandlers()

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

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

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

Returns
Type Description
Version.Builder

clearField(Descriptors.FieldDescriptor field)

public Version.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Version.Builder
Overrides

clearHandlers()

public Version.Builder clearHandlers()

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

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

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

Returns
Type Description
Version.Builder

clearHealthCheck()

public Version.Builder clearHealthCheck()

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

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

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

Returns
Type Description
Version.Builder

clearId()

public Version.Builder clearId()

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

string id = 2;

Returns
Type Description
Version.Builder

This builder for chaining.

clearInboundServices()

public Version.Builder clearInboundServices()

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

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

Returns
Type Description
Version.Builder

This builder for chaining.

clearInstanceClass()

public Version.Builder clearInstanceClass()

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

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

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

string instance_class = 7;

Returns
Type Description
Version.Builder

This builder for chaining.

clearLibraries()

public Version.Builder clearLibraries()

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

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

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

Returns
Type Description
Version.Builder

clearLivenessCheck()

public Version.Builder clearLivenessCheck()

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

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

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

Returns
Type Description
Version.Builder

clearManualScaling()

public Version.Builder clearManualScaling()

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

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

Returns
Type Description
Version.Builder

clearName()

public Version.Builder clearName()

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

@OutputOnly

string name = 1;

Returns
Type Description
Version.Builder

This builder for chaining.

clearNetwork()

public Version.Builder clearNetwork()

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

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

Returns
Type Description
Version.Builder

clearNobuildFilesRegex()

public Version.Builder clearNobuildFilesRegex()

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

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

string nobuild_files_regex = 107;

Returns
Type Description
Version.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Version.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Version.Builder
Overrides

clearReadinessCheck()

public Version.Builder clearReadinessCheck()

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

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

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

Returns
Type Description
Version.Builder

clearResources()

public Version.Builder clearResources()

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

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

Returns
Type Description
Version.Builder

clearRuntime()

public Version.Builder clearRuntime()

Desired runtime. Example: python27.

string runtime = 10;

Returns
Type Description
Version.Builder

This builder for chaining.

clearRuntimeApiVersion()

public Version.Builder clearRuntimeApiVersion()

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

string runtime_api_version = 21;

Returns
Type Description
Version.Builder

This builder for chaining.

clearRuntimeChannel()

public Version.Builder clearRuntimeChannel()

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

string runtime_channel = 117;

Returns
Type Description
Version.Builder

This builder for chaining.

clearRuntimeMainExecutablePath()

public Version.Builder clearRuntimeMainExecutablePath()

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

string runtime_main_executable_path = 22;

Returns
Type Description
Version.Builder

This builder for chaining.

clearScaling()

public Version.Builder clearScaling()
Returns
Type Description
Version.Builder

clearServiceAccount()

public Version.Builder clearServiceAccount()

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

string service_account = 127;

Returns
Type Description
Version.Builder

This builder for chaining.

clearServingStatus()

public Version.Builder clearServingStatus()

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

SERVING_STATUS_UNSPECIFIED is an invalid value. Defaults to SERVING.

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

Returns
Type Description
Version.Builder

This builder for chaining.

clearThreadsafe()

public Version.Builder clearThreadsafe()

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

bool threadsafe = 11;

Returns
Type Description
Version.Builder

This builder for chaining.

clearVersionUrl()

public Version.Builder clearVersionUrl()

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

@OutputOnly

string version_url = 109;

Returns
Type Description
Version.Builder

This builder for chaining.

clearVm()

public Version.Builder clearVm()

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

bool vm = 12;

Returns
Type Description
Version.Builder

This builder for chaining.

clearVpcAccessConnector()

public Version.Builder clearVpcAccessConnector()

Enables VPC connectivity for standard apps.

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

Returns
Type Description
Version.Builder

clearZones()

public Version.Builder clearZones()

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

repeated string zones = 118;

Returns
Type Description
Version.Builder

This builder for chaining.

clone()

public Version.Builder clone()
Returns
Type Description
Version.Builder
Overrides

containsBetaSettings(String key)

public boolean containsBetaSettings(String key)

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

map<string, string> beta_settings = 13;

Parameter
Name Description
key String
Returns
Type Description
boolean

containsBuildEnvVariables(String key)

public boolean containsBuildEnvVariables(String key)

Environment variables available to the build environment.

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

map<string, string> build_env_variables = 125;

Parameter
Name Description
key String
Returns
Type Description
boolean

containsEnvVariables(String key)

public boolean containsEnvVariables(String key)

Environment variables available to the application.

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

map<string, string> env_variables = 104;

Parameter
Name Description
key String
Returns
Type Description
boolean

getApiConfig()

public ApiConfigHandler getApiConfig()

Serving configuration for Google Cloud Endpoints.

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

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

Returns
Type Description
ApiConfigHandler

The apiConfig.

getApiConfigBuilder()

public ApiConfigHandler.Builder getApiConfigBuilder()

Serving configuration for Google Cloud Endpoints.

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

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

Returns
Type Description
ApiConfigHandler.Builder

getApiConfigOrBuilder()

public ApiConfigHandlerOrBuilder getApiConfigOrBuilder()

Serving configuration for Google Cloud Endpoints.

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

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

Returns
Type Description
ApiConfigHandlerOrBuilder

getAppEngineApis()

public boolean getAppEngineApis()

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

bool app_engine_apis = 128;

Returns
Type Description
boolean

The appEngineApis.

getAutomaticScaling()

public AutomaticScaling getAutomaticScaling()

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

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

Returns
Type Description
AutomaticScaling

The automaticScaling.

getAutomaticScalingBuilder()

public AutomaticScaling.Builder getAutomaticScalingBuilder()

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

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

Returns
Type Description
AutomaticScaling.Builder

getAutomaticScalingOrBuilder()

public AutomaticScalingOrBuilder getAutomaticScalingOrBuilder()

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

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

Returns
Type Description
AutomaticScalingOrBuilder

getBasicScaling()

public BasicScaling getBasicScaling()

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

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

Returns
Type Description
BasicScaling

The basicScaling.

getBasicScalingBuilder()

public BasicScaling.Builder getBasicScalingBuilder()

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

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

Returns
Type Description
BasicScaling.Builder

getBasicScalingOrBuilder()

public BasicScalingOrBuilder getBasicScalingOrBuilder()

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

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

Returns
Type Description
BasicScalingOrBuilder

getBetaSettings() (deprecated)

public Map<String,String> getBetaSettings()

Use #getBetaSettingsMap() instead.

Returns
Type Description
Map<String,String>

getBetaSettingsCount()

public int getBetaSettingsCount()

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

map<string, string> beta_settings = 13;

Returns
Type Description
int

getBetaSettingsMap()

public Map<String,String> getBetaSettingsMap()

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

map<string, string> beta_settings = 13;

Returns
Type Description
Map<String,String>

getBetaSettingsOrDefault(String key, String defaultValue)

public String getBetaSettingsOrDefault(String key, String defaultValue)

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

map<string, string> beta_settings = 13;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getBetaSettingsOrThrow(String key)

public String getBetaSettingsOrThrow(String key)

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

map<string, string> beta_settings = 13;

Parameter
Name Description
key String
Returns
Type Description
String

getBuildEnvVariables() (deprecated)

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

getBuildEnvVariablesCount()

public int getBuildEnvVariablesCount()

Environment variables available to the build environment.

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

map<string, string> build_env_variables = 125;

Returns
Type Description
int

getBuildEnvVariablesMap()

public Map<String,String> getBuildEnvVariablesMap()

Environment variables available to the build environment.

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

map<string, string> build_env_variables = 125;

Returns
Type Description
Map<String,String>

getBuildEnvVariablesOrDefault(String key, String defaultValue)

public String getBuildEnvVariablesOrDefault(String key, String defaultValue)

Environment variables available to the build environment.

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

map<string, string> build_env_variables = 125;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getBuildEnvVariablesOrThrow(String key)

public String getBuildEnvVariablesOrThrow(String key)

Environment variables available to the build environment.

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

map<string, string> build_env_variables = 125;

Parameter
Name Description
key String
Returns
Type Description
String

getCreateTime()

public Timestamp getCreateTime()

Time that this version was created.

@OutputOnly

.google.protobuf.Timestamp create_time = 17;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Time that this version was created.

@OutputOnly

.google.protobuf.Timestamp create_time = 17;

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Time that this version was created.

@OutputOnly

.google.protobuf.Timestamp create_time = 17;

Returns
Type Description
TimestampOrBuilder

getCreatedBy()

public String getCreatedBy()

Email address of the user who created this version.

@OutputOnly

string created_by = 16;

Returns
Type Description
String

The createdBy.

getCreatedByBytes()

public ByteString getCreatedByBytes()

Email address of the user who created this version.

@OutputOnly

string created_by = 16;

Returns
Type Description
ByteString

The bytes for createdBy.

getDefaultExpiration()

public Duration getDefaultExpiration()

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

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

.google.protobuf.Duration default_expiration = 105;

Returns
Type Description
Duration

The defaultExpiration.

getDefaultExpirationBuilder()

public Duration.Builder getDefaultExpirationBuilder()

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

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

.google.protobuf.Duration default_expiration = 105;

Returns
Type Description
Builder

getDefaultExpirationOrBuilder()

public DurationOrBuilder getDefaultExpirationOrBuilder()

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

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

.google.protobuf.Duration default_expiration = 105;

Returns
Type Description
DurationOrBuilder

getDefaultInstanceForType()

public Version getDefaultInstanceForType()
Returns
Type Description
Version

getDeployment()

public Deployment getDeployment()

Code and application artifacts that make up this version.

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

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

Returns
Type Description
Deployment

The deployment.

getDeploymentBuilder()

public Deployment.Builder getDeploymentBuilder()

Code and application artifacts that make up this version.

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

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

Returns
Type Description
Deployment.Builder

getDeploymentOrBuilder()

public DeploymentOrBuilder getDeploymentOrBuilder()

Code and application artifacts that make up this version.

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

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

Returns
Type Description
DeploymentOrBuilder

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDiskUsageBytes()

public long getDiskUsageBytes()

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

@OutputOnly

int64 disk_usage_bytes = 18;

Returns
Type Description
long

The diskUsageBytes.

getEndpointsApiService()

public EndpointsApiService getEndpointsApiService()

Cloud Endpoints configuration.

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

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

Returns
Type Description
EndpointsApiService

The endpointsApiService.

getEndpointsApiServiceBuilder()

public EndpointsApiService.Builder getEndpointsApiServiceBuilder()

Cloud Endpoints configuration.

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

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

Returns
Type Description
EndpointsApiService.Builder

getEndpointsApiServiceOrBuilder()

public EndpointsApiServiceOrBuilder getEndpointsApiServiceOrBuilder()

Cloud Endpoints configuration.

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

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

Returns
Type Description
EndpointsApiServiceOrBuilder

getEntrypoint()

public Entrypoint getEntrypoint()

The entrypoint for the application.

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

Returns
Type Description
Entrypoint

The entrypoint.

getEntrypointBuilder()

public Entrypoint.Builder getEntrypointBuilder()

The entrypoint for the application.

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

Returns
Type Description
Entrypoint.Builder

getEntrypointOrBuilder()

public EntrypointOrBuilder getEntrypointOrBuilder()

The entrypoint for the application.

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

Returns
Type Description
EntrypointOrBuilder

getEnv()

public String getEnv()

App Engine execution environment for this version.

Defaults to standard.

string env = 14;

Returns
Type Description
String

The env.

getEnvBytes()

public ByteString getEnvBytes()

App Engine execution environment for this version.

Defaults to standard.

string env = 14;

Returns
Type Description
ByteString

The bytes for env.

getEnvVariables() (deprecated)

public Map<String,String> getEnvVariables()

Use #getEnvVariablesMap() instead.

Returns
Type Description
Map<String,String>

getEnvVariablesCount()

public int getEnvVariablesCount()

Environment variables available to the application.

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

map<string, string> env_variables = 104;

Returns
Type Description
int

getEnvVariablesMap()

public Map<String,String> getEnvVariablesMap()

Environment variables available to the application.

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

map<string, string> env_variables = 104;

Returns
Type Description
Map<String,String>

getEnvVariablesOrDefault(String key, String defaultValue)

public String getEnvVariablesOrDefault(String key, String defaultValue)

Environment variables available to the application.

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

map<string, string> env_variables = 104;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getEnvVariablesOrThrow(String key)

public String getEnvVariablesOrThrow(String key)

Environment variables available to the application.

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

map<string, string> env_variables = 104;

Parameter
Name Description
key String
Returns
Type Description
String

getErrorHandlers(int index)

public ErrorHandler getErrorHandlers(int index)

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

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

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

Parameter
Name Description
index int
Returns
Type Description
ErrorHandler

getErrorHandlersBuilder(int index)

public ErrorHandler.Builder getErrorHandlersBuilder(int index)

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

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

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

Parameter
Name Description
index int
Returns
Type Description
ErrorHandler.Builder

getErrorHandlersBuilderList()

public List<ErrorHandler.Builder> getErrorHandlersBuilderList()

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

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

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

Returns
Type Description
List<Builder>

getErrorHandlersCount()

public int getErrorHandlersCount()

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

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

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

Returns
Type Description
int

getErrorHandlersList()

public List<ErrorHandler> getErrorHandlersList()

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

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

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

Returns
Type Description
List<ErrorHandler>

getErrorHandlersOrBuilder(int index)

public ErrorHandlerOrBuilder getErrorHandlersOrBuilder(int index)

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

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

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

Parameter
Name Description
index int
Returns
Type Description
ErrorHandlerOrBuilder

getErrorHandlersOrBuilderList()

public List<? extends ErrorHandlerOrBuilder> getErrorHandlersOrBuilderList()

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

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

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

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

getHandlers(int index)

public UrlMap getHandlers(int index)

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

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

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

Parameter
Name Description
index int
Returns
Type Description
UrlMap

getHandlersBuilder(int index)

public UrlMap.Builder getHandlersBuilder(int index)

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

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

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

Parameter
Name Description
index int
Returns
Type Description
UrlMap.Builder

getHandlersBuilderList()

public List<UrlMap.Builder> getHandlersBuilderList()

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

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

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

Returns
Type Description
List<Builder>

getHandlersCount()

public int getHandlersCount()

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

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

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

Returns
Type Description
int

getHandlersList()

public List<UrlMap> getHandlersList()

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

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

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

Returns
Type Description
List<UrlMap>

getHandlersOrBuilder(int index)

public UrlMapOrBuilder getHandlersOrBuilder(int index)

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

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

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

Parameter
Name Description
index int
Returns
Type Description
UrlMapOrBuilder

getHandlersOrBuilderList()

public List<? extends UrlMapOrBuilder> getHandlersOrBuilderList()

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

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

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

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

getHealthCheck()

public HealthCheck getHealthCheck()

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

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

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

Returns
Type Description
HealthCheck

The healthCheck.

getHealthCheckBuilder()

public HealthCheck.Builder getHealthCheckBuilder()

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

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

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

Returns
Type Description
HealthCheck.Builder

getHealthCheckOrBuilder()

public HealthCheckOrBuilder getHealthCheckOrBuilder()

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

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

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

Returns
Type Description
HealthCheckOrBuilder

getId()

public String getId()

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

string id = 2;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

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

string id = 2;

Returns
Type Description
ByteString

The bytes for id.

getInboundServices(int index)

public InboundServiceType getInboundServices(int index)

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

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
InboundServiceType

The inboundServices at the given index.

getInboundServicesCount()

public int getInboundServicesCount()

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

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

Returns
Type Description
int

The count of inboundServices.

getInboundServicesList()

public List<InboundServiceType> getInboundServicesList()

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

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

Returns
Type Description
List<InboundServiceType>

A list containing the inboundServices.

getInboundServicesValue(int index)

public int getInboundServicesValue(int index)

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

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

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

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

getInboundServicesValueList()

public List<Integer> getInboundServicesValueList()

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

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

Returns
Type Description
List<Integer>

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

getInstanceClass()

public String getInstanceClass()

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

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

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

string instance_class = 7;

Returns
Type Description
String

The instanceClass.

getInstanceClassBytes()

public ByteString getInstanceClassBytes()

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

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

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

string instance_class = 7;

Returns
Type Description
ByteString

The bytes for instanceClass.

getLibraries(int index)

public Library getLibraries(int index)

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

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

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

Parameter
Name Description
index int
Returns
Type Description
Library

getLibrariesBuilder(int index)

public Library.Builder getLibrariesBuilder(int index)

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

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

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

Parameter
Name Description
index int
Returns
Type Description
Library.Builder

getLibrariesBuilderList()

public List<Library.Builder> getLibrariesBuilderList()

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

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

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

Returns
Type Description
List<Builder>

getLibrariesCount()

public int getLibrariesCount()

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

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

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

Returns
Type Description
int

getLibrariesList()

public List<Library> getLibrariesList()

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

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

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

Returns
Type Description
List<Library>

getLibrariesOrBuilder(int index)

public LibraryOrBuilder getLibrariesOrBuilder(int index)

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

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

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

Parameter
Name Description
index int
Returns
Type Description
LibraryOrBuilder

getLibrariesOrBuilderList()

public List<? extends LibraryOrBuilder> getLibrariesOrBuilderList()

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

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

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

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

getLivenessCheck()

public LivenessCheck getLivenessCheck()

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

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

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

Returns
Type Description
LivenessCheck

The livenessCheck.

getLivenessCheckBuilder()

public LivenessCheck.Builder getLivenessCheckBuilder()

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

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

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

Returns
Type Description
LivenessCheck.Builder

getLivenessCheckOrBuilder()

public LivenessCheckOrBuilder getLivenessCheckOrBuilder()

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

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

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

Returns
Type Description
LivenessCheckOrBuilder

getManualScaling()

public ManualScaling getManualScaling()

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

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

Returns
Type Description
ManualScaling

The manualScaling.

getManualScalingBuilder()

public ManualScaling.Builder getManualScalingBuilder()

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

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

Returns
Type Description
ManualScaling.Builder

getManualScalingOrBuilder()

public ManualScalingOrBuilder getManualScalingOrBuilder()

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

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

Returns
Type Description
ManualScalingOrBuilder

getMutableBetaSettings() (deprecated)

public Map<String,String> getMutableBetaSettings()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getMutableBuildEnvVariables() (deprecated)

public Map<String,String> getMutableBuildEnvVariables()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getMutableEnvVariables() (deprecated)

public Map<String,String> getMutableEnvVariables()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

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

@OutputOnly

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

@OutputOnly

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getNetwork()

public Network getNetwork()

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

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

Returns
Type Description
Network

The network.

getNetworkBuilder()

public Network.Builder getNetworkBuilder()

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

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

Returns
Type Description
Network.Builder

getNetworkOrBuilder()

public NetworkOrBuilder getNetworkOrBuilder()

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

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

Returns
Type Description
NetworkOrBuilder

getNobuildFilesRegex()

public String getNobuildFilesRegex()

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

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

string nobuild_files_regex = 107;

Returns
Type Description
String

The nobuildFilesRegex.

getNobuildFilesRegexBytes()

public ByteString getNobuildFilesRegexBytes()

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

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

string nobuild_files_regex = 107;

Returns
Type Description
ByteString

The bytes for nobuildFilesRegex.

getReadinessCheck()

public ReadinessCheck getReadinessCheck()

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

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

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

Returns
Type Description
ReadinessCheck

The readinessCheck.

getReadinessCheckBuilder()

public ReadinessCheck.Builder getReadinessCheckBuilder()

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

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

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

Returns
Type Description
ReadinessCheck.Builder

getReadinessCheckOrBuilder()

public ReadinessCheckOrBuilder getReadinessCheckOrBuilder()

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

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

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

Returns
Type Description
ReadinessCheckOrBuilder

getResources()

public Resources getResources()

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

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

Returns
Type Description
Resources

The resources.

getResourcesBuilder()

public Resources.Builder getResourcesBuilder()

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

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

Returns
Type Description
Resources.Builder

getResourcesOrBuilder()

public ResourcesOrBuilder getResourcesOrBuilder()

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

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

Returns
Type Description
ResourcesOrBuilder

getRuntime()

public String getRuntime()

Desired runtime. Example: python27.

string runtime = 10;

Returns
Type Description
String

The runtime.

getRuntimeApiVersion()

public String getRuntimeApiVersion()

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

string runtime_api_version = 21;

Returns
Type Description
String

The runtimeApiVersion.

getRuntimeApiVersionBytes()

public ByteString getRuntimeApiVersionBytes()

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

string runtime_api_version = 21;

Returns
Type Description
ByteString

The bytes for runtimeApiVersion.

getRuntimeBytes()

public ByteString getRuntimeBytes()

Desired runtime. Example: python27.

string runtime = 10;

Returns
Type Description
ByteString

The bytes for runtime.

getRuntimeChannel()

public String getRuntimeChannel()

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

string runtime_channel = 117;

Returns
Type Description
String

The runtimeChannel.

getRuntimeChannelBytes()

public ByteString getRuntimeChannelBytes()

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

string runtime_channel = 117;

Returns
Type Description
ByteString

The bytes for runtimeChannel.

getRuntimeMainExecutablePath()

public String getRuntimeMainExecutablePath()

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

string runtime_main_executable_path = 22;

Returns
Type Description
String

The runtimeMainExecutablePath.

getRuntimeMainExecutablePathBytes()

public ByteString getRuntimeMainExecutablePathBytes()

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

string runtime_main_executable_path = 22;

Returns
Type Description
ByteString

The bytes for runtimeMainExecutablePath.

getScalingCase()

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

getServiceAccount()

public String getServiceAccount()

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

string service_account = 127;

Returns
Type Description
String

The serviceAccount.

getServiceAccountBytes()

public ByteString getServiceAccountBytes()

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

string service_account = 127;

Returns
Type Description
ByteString

The bytes for serviceAccount.

getServingStatus()

public ServingStatus getServingStatus()

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

SERVING_STATUS_UNSPECIFIED is an invalid value. Defaults to SERVING.

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

Returns
Type Description
ServingStatus

The servingStatus.

getServingStatusValue()

public int getServingStatusValue()

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

SERVING_STATUS_UNSPECIFIED is an invalid value. Defaults to SERVING.

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

Returns
Type Description
int

The enum numeric value on the wire for servingStatus.

getThreadsafe()

public boolean getThreadsafe()

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

bool threadsafe = 11;

Returns
Type Description
boolean

The threadsafe.

getVersionUrl()

public String getVersionUrl()

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

@OutputOnly

string version_url = 109;

Returns
Type Description
String

The versionUrl.

getVersionUrlBytes()

public ByteString getVersionUrlBytes()

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

@OutputOnly

string version_url = 109;

Returns
Type Description
ByteString

The bytes for versionUrl.

getVm()

public boolean getVm()

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

bool vm = 12;

Returns
Type Description
boolean

The vm.

getVpcAccessConnector()

public VpcAccessConnector getVpcAccessConnector()

Enables VPC connectivity for standard apps.

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

Returns
Type Description
VpcAccessConnector

The vpcAccessConnector.

getVpcAccessConnectorBuilder()

public VpcAccessConnector.Builder getVpcAccessConnectorBuilder()

Enables VPC connectivity for standard apps.

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

Returns
Type Description
VpcAccessConnector.Builder

getVpcAccessConnectorOrBuilder()

public VpcAccessConnectorOrBuilder getVpcAccessConnectorOrBuilder()

Enables VPC connectivity for standard apps.

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

Returns
Type Description
VpcAccessConnectorOrBuilder

getZones(int index)

public String getZones(int index)

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

repeated string zones = 118;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The zones at the given index.

getZonesBytes(int index)

public ByteString getZonesBytes(int index)

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

repeated string zones = 118;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the zones at the given index.

getZonesCount()

public int getZonesCount()

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

repeated string zones = 118;

Returns
Type Description
int

The count of zones.

getZonesList()

public ProtocolStringList getZonesList()

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

repeated string zones = 118;

Returns
Type Description
ProtocolStringList

A list containing the zones.

hasApiConfig()

public boolean hasApiConfig()

Serving configuration for Google Cloud Endpoints.

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

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

Returns
Type Description
boolean

Whether the apiConfig field is set.

hasAutomaticScaling()

public boolean hasAutomaticScaling()

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

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

Returns
Type Description
boolean

Whether the automaticScaling field is set.

hasBasicScaling()

public boolean hasBasicScaling()

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

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

Returns
Type Description
boolean

Whether the basicScaling field is set.

hasCreateTime()

public boolean hasCreateTime()

Time that this version was created.

@OutputOnly

.google.protobuf.Timestamp create_time = 17;

Returns
Type Description
boolean

Whether the createTime field is set.

hasDefaultExpiration()

public boolean hasDefaultExpiration()

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

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

.google.protobuf.Duration default_expiration = 105;

Returns
Type Description
boolean

Whether the defaultExpiration field is set.

hasDeployment()

public boolean hasDeployment()

Code and application artifacts that make up this version.

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

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

Returns
Type Description
boolean

Whether the deployment field is set.

hasEndpointsApiService()

public boolean hasEndpointsApiService()

Cloud Endpoints configuration.

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

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

Returns
Type Description
boolean

Whether the endpointsApiService field is set.

hasEntrypoint()

public boolean hasEntrypoint()

The entrypoint for the application.

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

Returns
Type Description
boolean

Whether the entrypoint field is set.

hasHealthCheck()

public boolean hasHealthCheck()

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

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

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

Returns
Type Description
boolean

Whether the healthCheck field is set.

hasLivenessCheck()

public boolean hasLivenessCheck()

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

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

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

Returns
Type Description
boolean

Whether the livenessCheck field is set.

hasManualScaling()

public boolean hasManualScaling()

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

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

Returns
Type Description
boolean

Whether the manualScaling field is set.

hasNetwork()

public boolean hasNetwork()

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

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

Returns
Type Description
boolean

Whether the network field is set.

hasReadinessCheck()

public boolean hasReadinessCheck()

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

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

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

Returns
Type Description
boolean

Whether the readinessCheck field is set.

hasResources()

public boolean hasResources()

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

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

Returns
Type Description
boolean

Whether the resources field is set.

hasVpcAccessConnector()

public boolean hasVpcAccessConnector()

Enables VPC connectivity for standard apps.

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

Returns
Type Description
boolean

Whether the vpcAccessConnector field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeApiConfig(ApiConfigHandler value)

public Version.Builder mergeApiConfig(ApiConfigHandler value)

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
value ApiConfigHandler
Returns
Type Description
Version.Builder

mergeAutomaticScaling(AutomaticScaling value)

public Version.Builder mergeAutomaticScaling(AutomaticScaling value)

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
value AutomaticScaling
Returns
Type Description
Version.Builder

mergeBasicScaling(BasicScaling value)

public Version.Builder mergeBasicScaling(BasicScaling value)

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

mergeCreateTime(Timestamp value)

public Version.Builder mergeCreateTime(Timestamp value)

Time that this version was created.

@OutputOnly

.google.protobuf.Timestamp create_time = 17;

Parameter
Name Description
value Timestamp
Returns
Type Description
Version.Builder

mergeDefaultExpiration(Duration value)

public Version.Builder mergeDefaultExpiration(Duration value)

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

mergeDeployment(Deployment value)

public Version.Builder mergeDeployment(Deployment value)

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

mergeEndpointsApiService(EndpointsApiService value)

public Version.Builder mergeEndpointsApiService(EndpointsApiService value)

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
value EndpointsApiService
Returns
Type Description
Version.Builder

mergeEntrypoint(Entrypoint value)

public Version.Builder mergeEntrypoint(Entrypoint value)

The entrypoint for the application.

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

Parameter
Name Description
value Entrypoint
Returns
Type Description
Version.Builder

mergeFrom(Version other)

public Version.Builder mergeFrom(Version other)
Parameter
Name Description
other Version
Returns
Type Description
Version.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Version.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Version.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Version.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Version.Builder
Overrides

mergeHealthCheck(HealthCheck value)

public Version.Builder mergeHealthCheck(HealthCheck value)

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

mergeLivenessCheck(LivenessCheck value)

public Version.Builder mergeLivenessCheck(LivenessCheck value)

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
value LivenessCheck
Returns
Type Description
Version.Builder

mergeManualScaling(ManualScaling value)

public Version.Builder mergeManualScaling(ManualScaling value)

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
value ManualScaling
Returns
Type Description
Version.Builder

mergeNetwork(Network value)

public Version.Builder mergeNetwork(Network value)

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

mergeReadinessCheck(ReadinessCheck value)

public Version.Builder mergeReadinessCheck(ReadinessCheck value)

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
value ReadinessCheck
Returns
Type Description
Version.Builder

mergeResources(Resources value)

public Version.Builder mergeResources(Resources value)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Version.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Version.Builder
Overrides

mergeVpcAccessConnector(VpcAccessConnector value)

public Version.Builder mergeVpcAccessConnector(VpcAccessConnector value)

Enables VPC connectivity for standard apps.

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

Parameter
Name Description
value VpcAccessConnector
Returns
Type Description
Version.Builder

putAllBetaSettings(Map<String,String> values)

public Version.Builder putAllBetaSettings(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
Version.Builder

putAllBuildEnvVariables(Map<String,String> values)

public Version.Builder putAllBuildEnvVariables(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
Version.Builder

putAllEnvVariables(Map<String,String> values)

public Version.Builder putAllEnvVariables(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
Version.Builder

putBetaSettings(String key, String value)

public Version.Builder putBetaSettings(String key, String value)

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

putBuildEnvVariables(String key, String value)

public Version.Builder putBuildEnvVariables(String key, String value)

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

putEnvVariables(String key, String value)

public Version.Builder putEnvVariables(String key, String value)

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

removeBetaSettings(String key)

public Version.Builder removeBetaSettings(String key)

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

map<string, string> beta_settings = 13;

Parameter
Name Description
key String
Returns
Type Description
Version.Builder

removeBuildEnvVariables(String key)

public Version.Builder removeBuildEnvVariables(String key)

Environment variables available to the build environment.

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

map<string, string> build_env_variables = 125;

Parameter
Name Description
key String
Returns
Type Description
Version.Builder

removeEnvVariables(String key)

public Version.Builder removeEnvVariables(String key)

Environment variables available to the application.

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

map<string, string> env_variables = 104;

Parameter
Name Description
key String
Returns
Type Description
Version.Builder

removeErrorHandlers(int index)

public Version.Builder removeErrorHandlers(int index)

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

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

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

Parameter
Name Description
index int
Returns
Type Description
Version.Builder

removeHandlers(int index)

public Version.Builder removeHandlers(int index)

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

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

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

Parameter
Name Description
index int
Returns
Type Description
Version.Builder

removeLibraries(int index)

public Version.Builder removeLibraries(int index)

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

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

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

Parameter
Name Description
index int
Returns
Type Description
Version.Builder

setApiConfig(ApiConfigHandler value)

public Version.Builder setApiConfig(ApiConfigHandler value)

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
value ApiConfigHandler
Returns
Type Description
Version.Builder

setApiConfig(ApiConfigHandler.Builder builderForValue)

public Version.Builder setApiConfig(ApiConfigHandler.Builder builderForValue)

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

setAppEngineApis(boolean value)

public Version.Builder setAppEngineApis(boolean value)

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)

public Version.Builder setAutomaticScaling(AutomaticScaling value)

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
value AutomaticScaling
Returns
Type Description
Version.Builder

setAutomaticScaling(AutomaticScaling.Builder builderForValue)

public Version.Builder setAutomaticScaling(AutomaticScaling.Builder builderForValue)

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

setBasicScaling(BasicScaling value)

public Version.Builder setBasicScaling(BasicScaling value)

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

setBasicScaling(BasicScaling.Builder builderForValue)

public Version.Builder setBasicScaling(BasicScaling.Builder builderForValue)

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

setCreateTime(Timestamp value)

public Version.Builder setCreateTime(Timestamp value)

Time that this version was created.

@OutputOnly

.google.protobuf.Timestamp create_time = 17;

Parameter
Name Description
value Timestamp
Returns
Type Description
Version.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Version.Builder setCreateTime(Timestamp.Builder builderForValue)

Time that this version was created.

@OutputOnly

.google.protobuf.Timestamp create_time = 17;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Version.Builder

setCreatedBy(String value)

public Version.Builder setCreatedBy(String value)

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)

public Version.Builder setCreatedByBytes(ByteString value)

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)

public Version.Builder setDefaultExpiration(Duration value)

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

setDefaultExpiration(Duration.Builder builderForValue)

public Version.Builder setDefaultExpiration(Duration.Builder builderForValue)

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

setDeployment(Deployment value)

public Version.Builder setDeployment(Deployment value)

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

setDeployment(Deployment.Builder builderForValue)

public Version.Builder setDeployment(Deployment.Builder builderForValue)

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

setDiskUsageBytes(long value)

public Version.Builder setDiskUsageBytes(long value)

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)

public Version.Builder setEndpointsApiService(EndpointsApiService value)

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
value EndpointsApiService
Returns
Type Description
Version.Builder

setEndpointsApiService(EndpointsApiService.Builder builderForValue)

public Version.Builder setEndpointsApiService(EndpointsApiService.Builder builderForValue)

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

setEntrypoint(Entrypoint value)

public Version.Builder setEntrypoint(Entrypoint value)

The entrypoint for the application.

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

Parameter
Name Description
value Entrypoint
Returns
Type Description
Version.Builder

setEntrypoint(Entrypoint.Builder builderForValue)

public Version.Builder setEntrypoint(Entrypoint.Builder builderForValue)

The entrypoint for the application.

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

Parameter
Name Description
builderForValue Entrypoint.Builder
Returns
Type Description
Version.Builder

setEnv(String value)

public Version.Builder setEnv(String value)

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)

public Version.Builder setEnvBytes(ByteString value)

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)

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

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

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

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

Parameters
Name Description
index int
value ErrorHandler
Returns
Type Description
Version.Builder

setErrorHandlers(int index, ErrorHandler.Builder builderForValue)

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

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

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

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

Parameters
Name Description
index int
builderForValue ErrorHandler.Builder
Returns
Type Description
Version.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Version.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Version.Builder
Overrides

setHandlers(int index, UrlMap value)

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

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

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

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

Parameters
Name Description
index int
value UrlMap
Returns
Type Description
Version.Builder

setHandlers(int index, UrlMap.Builder builderForValue)

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

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

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

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

Parameters
Name Description
index int
builderForValue UrlMap.Builder
Returns
Type Description
Version.Builder

setHealthCheck(HealthCheck value)

public Version.Builder setHealthCheck(HealthCheck value)

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

setHealthCheck(HealthCheck.Builder builderForValue)

public Version.Builder setHealthCheck(HealthCheck.Builder builderForValue)

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

setId(String value)

public Version.Builder setId(String value)

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)

public Version.Builder setIdBytes(ByteString value)

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)

public Version.Builder setInboundServices(int index, InboundServiceType value)

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

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

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)

public Version.Builder setInboundServicesValue(int index, int value)

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

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

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)

public Version.Builder setInstanceClass(String value)

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)

public Version.Builder setInstanceClassBytes(ByteString value)

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)

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

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

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

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

Parameters
Name Description
index int
value Library
Returns
Type Description
Version.Builder

setLibraries(int index, Library.Builder builderForValue)

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

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

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

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

Parameters
Name Description
index int
builderForValue Library.Builder
Returns
Type Description
Version.Builder

setLivenessCheck(LivenessCheck value)

public Version.Builder setLivenessCheck(LivenessCheck value)

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
value LivenessCheck
Returns
Type Description
Version.Builder

setLivenessCheck(LivenessCheck.Builder builderForValue)

public Version.Builder setLivenessCheck(LivenessCheck.Builder builderForValue)

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

setManualScaling(ManualScaling value)

public Version.Builder setManualScaling(ManualScaling value)

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
value ManualScaling
Returns
Type Description
Version.Builder

setManualScaling(ManualScaling.Builder builderForValue)

public Version.Builder setManualScaling(ManualScaling.Builder builderForValue)

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

setName(String value)

public Version.Builder setName(String value)

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)

public Version.Builder setNameBytes(ByteString value)

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)

public Version.Builder setNetwork(Network value)

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

setNetwork(Network.Builder builderForValue)

public Version.Builder setNetwork(Network.Builder builderForValue)

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

setNobuildFilesRegex(String value)

public Version.Builder setNobuildFilesRegex(String value)

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)

public Version.Builder setNobuildFilesRegexBytes(ByteString value)

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)

public Version.Builder setReadinessCheck(ReadinessCheck value)

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
value ReadinessCheck
Returns
Type Description
Version.Builder

setReadinessCheck(ReadinessCheck.Builder builderForValue)

public Version.Builder setReadinessCheck(ReadinessCheck.Builder builderForValue)

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

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

public Version.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Version.Builder
Overrides

setResources(Resources value)

public Version.Builder setResources(Resources value)

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

setResources(Resources.Builder builderForValue)

public Version.Builder setResources(Resources.Builder builderForValue)

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

setRuntime(String value)

public Version.Builder setRuntime(String value)

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)

public Version.Builder setRuntimeApiVersion(String value)

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)

public Version.Builder setRuntimeApiVersionBytes(ByteString value)

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)

public Version.Builder setRuntimeBytes(ByteString value)

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)

public Version.Builder setRuntimeChannel(String value)

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)

public Version.Builder setRuntimeChannelBytes(ByteString value)

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)

public Version.Builder setRuntimeMainExecutablePath(String value)

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)

public Version.Builder setRuntimeMainExecutablePathBytes(ByteString value)

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)

public Version.Builder setServiceAccount(String value)

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)

public Version.Builder setServiceAccountBytes(ByteString value)

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)

public Version.Builder setServingStatus(ServingStatus value)

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)

public Version.Builder setServingStatusValue(int value)

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)

public Version.Builder setThreadsafe(boolean value)

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)

public final Version.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Version.Builder
Overrides

setVersionUrl(String value)

public Version.Builder setVersionUrl(String value)

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)

public Version.Builder setVersionUrlBytes(ByteString value)

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)

public Version.Builder setVm(boolean value)

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)

public Version.Builder setVpcAccessConnector(VpcAccessConnector value)

Enables VPC connectivity for standard apps.

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

Parameter
Name Description
value VpcAccessConnector
Returns
Type Description
Version.Builder

setVpcAccessConnector(VpcAccessConnector.Builder builderForValue)

public Version.Builder setVpcAccessConnector(VpcAccessConnector.Builder builderForValue)

Enables VPC connectivity for standard apps.

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

Parameter
Name Description
builderForValue VpcAccessConnector.Builder
Returns
Type Description
Version.Builder

setZones(int index, String value)

public Version.Builder setZones(int index, String value)

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.