Class Version (2.34.0)

publicfinalclass VersionextendsGeneratedMessageV3implementsVersionOrBuilder

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

Protobuf type google.appengine.v1.Version

Implements

VersionOrBuilder

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

API_CONFIG_FIELD_NUMBER

publicstaticfinalintAPI_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

APP_ENGINE_APIS_FIELD_NUMBER

publicstaticfinalintAPP_ENGINE_APIS_FIELD_NUMBER
Field Value
Type Description
int

AUTOMATIC_SCALING_FIELD_NUMBER

publicstaticfinalintAUTOMATIC_SCALING_FIELD_NUMBER
Field Value
Type Description
int

BASIC_SCALING_FIELD_NUMBER

publicstaticfinalintBASIC_SCALING_FIELD_NUMBER
Field Value
Type Description
int

BETA_SETTINGS_FIELD_NUMBER

publicstaticfinalintBETA_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

BUILD_ENV_VARIABLES_FIELD_NUMBER

publicstaticfinalintBUILD_ENV_VARIABLES_FIELD_NUMBER
Field Value
Type Description
int

CREATED_BY_FIELD_NUMBER

publicstaticfinalintCREATED_BY_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

publicstaticfinalintCREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DEFAULT_EXPIRATION_FIELD_NUMBER

publicstaticfinalintDEFAULT_EXPIRATION_FIELD_NUMBER
Field Value
Type Description
int

DEPLOYMENT_FIELD_NUMBER

publicstaticfinalintDEPLOYMENT_FIELD_NUMBER
Field Value
Type Description
int

DISK_USAGE_BYTES_FIELD_NUMBER

publicstaticfinalintDISK_USAGE_BYTES_FIELD_NUMBER
Field Value
Type Description
int

ENDPOINTS_API_SERVICE_FIELD_NUMBER

publicstaticfinalintENDPOINTS_API_SERVICE_FIELD_NUMBER
Field Value
Type Description
int

ENTRYPOINT_FIELD_NUMBER

publicstaticfinalintENTRYPOINT_FIELD_NUMBER
Field Value
Type Description
int

ENV_FIELD_NUMBER

publicstaticfinalintENV_FIELD_NUMBER
Field Value
Type Description
int

ENV_VARIABLES_FIELD_NUMBER

publicstaticfinalintENV_VARIABLES_FIELD_NUMBER
Field Value
Type Description
int

ERROR_HANDLERS_FIELD_NUMBER

publicstaticfinalintERROR_HANDLERS_FIELD_NUMBER
Field Value
Type Description
int

HANDLERS_FIELD_NUMBER

publicstaticfinalintHANDLERS_FIELD_NUMBER
Field Value
Type Description
int

HEALTH_CHECK_FIELD_NUMBER

publicstaticfinalintHEALTH_CHECK_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

publicstaticfinalintID_FIELD_NUMBER
Field Value
Type Description
int

INBOUND_SERVICES_FIELD_NUMBER

publicstaticfinalintINBOUND_SERVICES_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_CLASS_FIELD_NUMBER

publicstaticfinalintINSTANCE_CLASS_FIELD_NUMBER
Field Value
Type Description
int

LIBRARIES_FIELD_NUMBER

publicstaticfinalintLIBRARIES_FIELD_NUMBER
Field Value
Type Description
int

LIVENESS_CHECK_FIELD_NUMBER

publicstaticfinalintLIVENESS_CHECK_FIELD_NUMBER
Field Value
Type Description
int

MANUAL_SCALING_FIELD_NUMBER

publicstaticfinalintMANUAL_SCALING_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

publicstaticfinalintNAME_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_FIELD_NUMBER

publicstaticfinalintNETWORK_FIELD_NUMBER
Field Value
Type Description
int

NOBUILD_FILES_REGEX_FIELD_NUMBER

publicstaticfinalintNOBUILD_FILES_REGEX_FIELD_NUMBER
Field Value
Type Description
int

READINESS_CHECK_FIELD_NUMBER

publicstaticfinalintREADINESS_CHECK_FIELD_NUMBER
Field Value
Type Description
int

RESOURCES_FIELD_NUMBER

publicstaticfinalintRESOURCES_FIELD_NUMBER
Field Value
Type Description
int

RUNTIME_API_VERSION_FIELD_NUMBER

publicstaticfinalintRUNTIME_API_VERSION_FIELD_NUMBER
Field Value
Type Description
int

RUNTIME_CHANNEL_FIELD_NUMBER

publicstaticfinalintRUNTIME_CHANNEL_FIELD_NUMBER
Field Value
Type Description
int

RUNTIME_FIELD_NUMBER

publicstaticfinalintRUNTIME_FIELD_NUMBER
Field Value
Type Description
int

RUNTIME_MAIN_EXECUTABLE_PATH_FIELD_NUMBER

publicstaticfinalintRUNTIME_MAIN_EXECUTABLE_PATH_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_ACCOUNT_FIELD_NUMBER

publicstaticfinalintSERVICE_ACCOUNT_FIELD_NUMBER
Field Value
Type Description
int

SERVING_STATUS_FIELD_NUMBER

publicstaticfinalintSERVING_STATUS_FIELD_NUMBER
Field Value
Type Description
int

THREADSAFE_FIELD_NUMBER

publicstaticfinalintTHREADSAFE_FIELD_NUMBER
Field Value
Type Description
int

VERSION_URL_FIELD_NUMBER

publicstaticfinalintVERSION_URL_FIELD_NUMBER
Field Value
Type Description
int

VM_FIELD_NUMBER

publicstaticfinalintVM_FIELD_NUMBER
Field Value
Type Description
int

VPC_ACCESS_CONNECTOR_FIELD_NUMBER

publicstaticfinalintVPC_ACCESS_CONNECTOR_FIELD_NUMBER
Field Value
Type Description
int

ZONES_FIELD_NUMBER

publicstaticfinalintZONES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticVersiongetDefaultInstance()
Returns
Type Description
Version

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticVersion.BuildernewBuilder()
Returns
Type Description
Version.Builder

newBuilder(Version prototype)

publicstaticVersion.BuildernewBuilder(Versionprototype)
Parameter
Name Description
prototype Version
Returns
Type Description
Version.Builder

parseDelimitedFrom(InputStream input)

publicstaticVersionparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Version
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticVersionparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Version
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticVersionparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
Version
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticVersionparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Version
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticVersionparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
Version
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticVersionparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Version
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticVersionparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Version
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticVersionparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Version
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticVersionparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Version
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticVersionparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Version
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticVersionparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Version
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticVersionparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Version
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<Version>parser()
Returns
Type Description
Parser<Version>

Methods

containsBetaSettings(String key)

publicbooleancontainsBetaSettings(Stringkey)

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

map<string, string> beta_settings = 13;

Parameter
Name Description
key String
Returns
Type Description
boolean

containsBuildEnvVariables(String key)

publicbooleancontainsBuildEnvVariables(Stringkey)

Environment variables available to the build environment.

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

map<string, string> build_env_variables = 125;

Parameter
Name Description
key String
Returns
Type Description
boolean

containsEnvVariables(String key)

publicbooleancontainsEnvVariables(Stringkey)

Environment variables available to the application.

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

map<string, string> env_variables = 104;

Parameter
Name Description
key String
Returns
Type Description
boolean

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getApiConfig()

publicApiConfigHandlergetApiConfig()

Serving configuration for Google Cloud Endpoints.

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

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

Returns
Type Description
ApiConfigHandler

The apiConfig.

getApiConfigOrBuilder()

publicApiConfigHandlerOrBuildergetApiConfigOrBuilder()

Serving configuration for Google Cloud Endpoints.

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

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

Returns
Type Description
ApiConfigHandlerOrBuilder

getAppEngineApis()

publicbooleangetAppEngineApis()

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

bool app_engine_apis = 128;

Returns
Type Description
boolean

The appEngineApis.

getAutomaticScaling()

publicAutomaticScalinggetAutomaticScaling()

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

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

Returns
Type Description
AutomaticScaling

The automaticScaling.

getAutomaticScalingOrBuilder()

publicAutomaticScalingOrBuildergetAutomaticScalingOrBuilder()

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

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

Returns
Type Description
AutomaticScalingOrBuilder

getBasicScaling()

publicBasicScalinggetBasicScaling()

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

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

Returns
Type Description
BasicScaling

The basicScaling.

getBasicScalingOrBuilder()

publicBasicScalingOrBuildergetBasicScalingOrBuilder()

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

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

Returns
Type Description
BasicScalingOrBuilder

getBetaSettings() (deprecated)

publicMap<String,String>getBetaSettings()

Use #getBetaSettingsMap() instead.

Returns
Type Description
Map<String,String>

getBetaSettingsCount()

publicintgetBetaSettingsCount()

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

map<string, string> beta_settings = 13;

Returns
Type Description
int

getBetaSettingsMap()

publicMap<String,String>getBetaSettingsMap()

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

map<string, string> beta_settings = 13;

Returns
Type Description
Map<String,String>

getBetaSettingsOrDefault(String key, String defaultValue)

publicStringgetBetaSettingsOrDefault(Stringkey,StringdefaultValue)

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

map<string, string> beta_settings = 13;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getBetaSettingsOrThrow(String key)

publicStringgetBetaSettingsOrThrow(Stringkey)

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

map<string, string> beta_settings = 13;

Parameter
Name Description
key String
Returns
Type Description
String

getBuildEnvVariables() (deprecated)

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

getBuildEnvVariablesCount()

publicintgetBuildEnvVariablesCount()

Environment variables available to the build environment.

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

map<string, string> build_env_variables = 125;

Returns
Type Description
int

getBuildEnvVariablesMap()

publicMap<String,String>getBuildEnvVariablesMap()

Environment variables available to the build environment.

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

map<string, string> build_env_variables = 125;

Returns
Type Description
Map<String,String>

getBuildEnvVariablesOrDefault(String key, String defaultValue)

publicStringgetBuildEnvVariablesOrDefault(Stringkey,StringdefaultValue)

Environment variables available to the build environment.

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

map<string, string> build_env_variables = 125;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getBuildEnvVariablesOrThrow(String key)

publicStringgetBuildEnvVariablesOrThrow(Stringkey)

Environment variables available to the build environment.

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

map<string, string> build_env_variables = 125;

Parameter
Name Description
key String
Returns
Type Description
String

getCreateTime()

publicTimestampgetCreateTime()

Time that this version was created.

@OutputOnly

.google.protobuf.Timestamp create_time = 17;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

publicTimestampOrBuildergetCreateTimeOrBuilder()

Time that this version was created.

@OutputOnly

.google.protobuf.Timestamp create_time = 17;

Returns
Type Description
TimestampOrBuilder

getCreatedBy()

publicStringgetCreatedBy()

Email address of the user who created this version.

@OutputOnly

string created_by = 16;

Returns
Type Description
String

The createdBy.

getCreatedByBytes()

publicByteStringgetCreatedByBytes()

Email address of the user who created this version.

@OutputOnly

string created_by = 16;

Returns
Type Description
ByteString

The bytes for createdBy.

getDefaultExpiration()

publicDurationgetDefaultExpiration()

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

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

.google.protobuf.Duration default_expiration = 105;

Returns
Type Description
Duration

The defaultExpiration.

getDefaultExpirationOrBuilder()

publicDurationOrBuildergetDefaultExpirationOrBuilder()

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

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

.google.protobuf.Duration default_expiration = 105;

Returns
Type Description
DurationOrBuilder

getDefaultInstanceForType()

publicVersiongetDefaultInstanceForType()
Returns
Type Description
Version

getDeployment()

publicDeploymentgetDeployment()

Code and application artifacts that make up this version.

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

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

Returns
Type Description
Deployment

The deployment.

getDeploymentOrBuilder()

publicDeploymentOrBuildergetDeploymentOrBuilder()

Code and application artifacts that make up this version.

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

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

Returns
Type Description
DeploymentOrBuilder

getDiskUsageBytes()

publiclonggetDiskUsageBytes()

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

@OutputOnly

int64 disk_usage_bytes = 18;

Returns
Type Description
long

The diskUsageBytes.

getEndpointsApiService()

publicEndpointsApiServicegetEndpointsApiService()

Cloud Endpoints configuration.

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

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

Returns
Type Description
EndpointsApiService

The endpointsApiService.

getEndpointsApiServiceOrBuilder()

publicEndpointsApiServiceOrBuildergetEndpointsApiServiceOrBuilder()

Cloud Endpoints configuration.

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

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

Returns
Type Description
EndpointsApiServiceOrBuilder

getEntrypoint()

publicEntrypointgetEntrypoint()

The entrypoint for the application.

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

Returns
Type Description
Entrypoint

The entrypoint.

getEntrypointOrBuilder()

publicEntrypointOrBuildergetEntrypointOrBuilder()

The entrypoint for the application.

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

Returns
Type Description
EntrypointOrBuilder

getEnv()

publicStringgetEnv()

App Engine execution environment for this version.

Defaults to standard.

string env = 14;

Returns
Type Description
String

The env.

getEnvBytes()

publicByteStringgetEnvBytes()

App Engine execution environment for this version.

Defaults to standard.

string env = 14;

Returns
Type Description
ByteString

The bytes for env.

getEnvVariables() (deprecated)

publicMap<String,String>getEnvVariables()

Use #getEnvVariablesMap() instead.

Returns
Type Description
Map<String,String>

getEnvVariablesCount()

publicintgetEnvVariablesCount()

Environment variables available to the application.

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

map<string, string> env_variables = 104;

Returns
Type Description
int

getEnvVariablesMap()

publicMap<String,String>getEnvVariablesMap()

Environment variables available to the application.

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

map<string, string> env_variables = 104;

Returns
Type Description
Map<String,String>

getEnvVariablesOrDefault(String key, String defaultValue)

publicStringgetEnvVariablesOrDefault(Stringkey,StringdefaultValue)

Environment variables available to the application.

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

map<string, string> env_variables = 104;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getEnvVariablesOrThrow(String key)

publicStringgetEnvVariablesOrThrow(Stringkey)

Environment variables available to the application.

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

map<string, string> env_variables = 104;

Parameter
Name Description
key String
Returns
Type Description
String

getErrorHandlers(int index)

publicErrorHandlergetErrorHandlers(intindex)

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

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

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

Parameter
Name Description
index int
Returns
Type Description
ErrorHandler

getErrorHandlersCount()

publicintgetErrorHandlersCount()

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

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

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

Returns
Type Description
int

getErrorHandlersList()

publicList<ErrorHandler>getErrorHandlersList()

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

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

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

Returns
Type Description
List<ErrorHandler>

getErrorHandlersOrBuilder(int index)

publicErrorHandlerOrBuildergetErrorHandlersOrBuilder(intindex)

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

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

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

Parameter
Name Description
index int
Returns
Type Description
ErrorHandlerOrBuilder

getErrorHandlersOrBuilderList()

publicList<?extendsErrorHandlerOrBuilder>getErrorHandlersOrBuilderList()

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

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

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

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

getHandlers(int index)

publicUrlMapgetHandlers(intindex)

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

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

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

Parameter
Name Description
index int
Returns
Type Description
UrlMap

getHandlersCount()

publicintgetHandlersCount()

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

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

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

Returns
Type Description
int

getHandlersList()

publicList<UrlMap>getHandlersList()

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

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

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

Returns
Type Description
List<UrlMap>

getHandlersOrBuilder(int index)

publicUrlMapOrBuildergetHandlersOrBuilder(intindex)

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

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

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

Parameter
Name Description
index int
Returns
Type Description
UrlMapOrBuilder

getHandlersOrBuilderList()

publicList<?extendsUrlMapOrBuilder>getHandlersOrBuilderList()

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

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

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

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

getHealthCheck()

publicHealthCheckgetHealthCheck()

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

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

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

Returns
Type Description
HealthCheck

The healthCheck.

getHealthCheckOrBuilder()

publicHealthCheckOrBuildergetHealthCheckOrBuilder()

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

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

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

Returns
Type Description
HealthCheckOrBuilder

getId()

publicStringgetId()

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

string id = 2;

Returns
Type Description
String

The id.

getIdBytes()

publicByteStringgetIdBytes()

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

string id = 2;

Returns
Type Description
ByteString

The bytes for id.

getInboundServices(int index)

publicInboundServiceTypegetInboundServices(intindex)

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

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
InboundServiceType

The inboundServices at the given index.

getInboundServicesCount()

publicintgetInboundServicesCount()

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

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

Returns
Type Description
int

The count of inboundServices.

getInboundServicesList()

publicList<InboundServiceType>getInboundServicesList()

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

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

Returns
Type Description
List<InboundServiceType>

A list containing the inboundServices.

getInboundServicesValue(int index)

publicintgetInboundServicesValue(intindex)

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

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

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

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

getInboundServicesValueList()

publicList<Integer>getInboundServicesValueList()

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

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

Returns
Type Description
List<Integer>

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

getInstanceClass()

publicStringgetInstanceClass()

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

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

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

string instance_class = 7;

Returns
Type Description
String

The instanceClass.

getInstanceClassBytes()

publicByteStringgetInstanceClassBytes()

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

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

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

string instance_class = 7;

Returns
Type Description
ByteString

The bytes for instanceClass.

getLibraries(int index)

publicLibrarygetLibraries(intindex)

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

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

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

Parameter
Name Description
index int
Returns
Type Description
Library

getLibrariesCount()

publicintgetLibrariesCount()

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

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

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

Returns
Type Description
int

getLibrariesList()

publicList<Library>getLibrariesList()

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

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

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

Returns
Type Description
List<Library>

getLibrariesOrBuilder(int index)

publicLibraryOrBuildergetLibrariesOrBuilder(intindex)

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

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

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

Parameter
Name Description
index int
Returns
Type Description
LibraryOrBuilder

getLibrariesOrBuilderList()

publicList<?extendsLibraryOrBuilder>getLibrariesOrBuilderList()

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

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

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

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

getLivenessCheck()

publicLivenessCheckgetLivenessCheck()

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

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

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

Returns
Type Description
LivenessCheck

The livenessCheck.

getLivenessCheckOrBuilder()

publicLivenessCheckOrBuildergetLivenessCheckOrBuilder()

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

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

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

Returns
Type Description
LivenessCheckOrBuilder

getManualScaling()

publicManualScalinggetManualScaling()

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

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

Returns
Type Description
ManualScaling

The manualScaling.

getManualScalingOrBuilder()

publicManualScalingOrBuildergetManualScalingOrBuilder()

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

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

Returns
Type Description
ManualScalingOrBuilder

getName()

publicStringgetName()

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

@OutputOnly

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

publicByteStringgetNameBytes()

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

@OutputOnly

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getNetwork()

publicNetworkgetNetwork()

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

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

Returns
Type Description
Network

The network.

getNetworkOrBuilder()

publicNetworkOrBuildergetNetworkOrBuilder()

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

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

Returns
Type Description
NetworkOrBuilder

getNobuildFilesRegex()

publicStringgetNobuildFilesRegex()

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

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

string nobuild_files_regex = 107;

Returns
Type Description
String

The nobuildFilesRegex.

getNobuildFilesRegexBytes()

publicByteStringgetNobuildFilesRegexBytes()

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

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

string nobuild_files_regex = 107;

Returns
Type Description
ByteString

The bytes for nobuildFilesRegex.

getParserForType()

publicParser<Version>getParserForType()
Returns
Type Description
Parser<Version>
Overrides

getReadinessCheck()

publicReadinessCheckgetReadinessCheck()

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

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

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

Returns
Type Description
ReadinessCheck

The readinessCheck.

getReadinessCheckOrBuilder()

publicReadinessCheckOrBuildergetReadinessCheckOrBuilder()

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

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

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

Returns
Type Description
ReadinessCheckOrBuilder

getResources()

publicResourcesgetResources()

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

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

Returns
Type Description
Resources

The resources.

getResourcesOrBuilder()

publicResourcesOrBuildergetResourcesOrBuilder()

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

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

Returns
Type Description
ResourcesOrBuilder

getRuntime()

publicStringgetRuntime()

Desired runtime. Example: python27.

string runtime = 10;

Returns
Type Description
String

The runtime.

getRuntimeApiVersion()

publicStringgetRuntimeApiVersion()

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

string runtime_api_version = 21;

Returns
Type Description
String

The runtimeApiVersion.

getRuntimeApiVersionBytes()

publicByteStringgetRuntimeApiVersionBytes()

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

string runtime_api_version = 21;

Returns
Type Description
ByteString

The bytes for runtimeApiVersion.

getRuntimeBytes()

publicByteStringgetRuntimeBytes()

Desired runtime. Example: python27.

string runtime = 10;

Returns
Type Description
ByteString

The bytes for runtime.

getRuntimeChannel()

publicStringgetRuntimeChannel()

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

string runtime_channel = 117;

Returns
Type Description
String

The runtimeChannel.

getRuntimeChannelBytes()

publicByteStringgetRuntimeChannelBytes()

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

string runtime_channel = 117;

Returns
Type Description
ByteString

The bytes for runtimeChannel.

getRuntimeMainExecutablePath()

publicStringgetRuntimeMainExecutablePath()

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

string runtime_main_executable_path = 22;

Returns
Type Description
String

The runtimeMainExecutablePath.

getRuntimeMainExecutablePathBytes()

publicByteStringgetRuntimeMainExecutablePathBytes()

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

string runtime_main_executable_path = 22;

Returns
Type Description
ByteString

The bytes for runtimeMainExecutablePath.

getScalingCase()

publicVersion.ScalingCasegetScalingCase()
Returns
Type Description
Version.ScalingCase

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getServiceAccount()

publicStringgetServiceAccount()

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

string service_account = 127;

Returns
Type Description
String

The serviceAccount.

getServiceAccountBytes()

publicByteStringgetServiceAccountBytes()

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

string service_account = 127;

Returns
Type Description
ByteString

The bytes for serviceAccount.

getServingStatus()

publicServingStatusgetServingStatus()

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

SERVING_STATUS_UNSPECIFIED is an invalid value. Defaults to SERVING.

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

Returns
Type Description
ServingStatus

The servingStatus.

getServingStatusValue()

publicintgetServingStatusValue()

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

SERVING_STATUS_UNSPECIFIED is an invalid value. Defaults to SERVING.

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

Returns
Type Description
int

The enum numeric value on the wire for servingStatus.

getThreadsafe()

publicbooleangetThreadsafe()

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

bool threadsafe = 11;

Returns
Type Description
boolean

The threadsafe.

getVersionUrl()

publicStringgetVersionUrl()

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

@OutputOnly

string version_url = 109;

Returns
Type Description
String

The versionUrl.

getVersionUrlBytes()

publicByteStringgetVersionUrlBytes()

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

@OutputOnly

string version_url = 109;

Returns
Type Description
ByteString

The bytes for versionUrl.

getVm()

publicbooleangetVm()

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

bool vm = 12;

Returns
Type Description
boolean

The vm.

getVpcAccessConnector()

publicVpcAccessConnectorgetVpcAccessConnector()

Enables VPC connectivity for standard apps.

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

Returns
Type Description
VpcAccessConnector

The vpcAccessConnector.

getVpcAccessConnectorOrBuilder()

publicVpcAccessConnectorOrBuildergetVpcAccessConnectorOrBuilder()

Enables VPC connectivity for standard apps.

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

Returns
Type Description
VpcAccessConnectorOrBuilder

getZones(int index)

publicStringgetZones(intindex)

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

repeated string zones = 118;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The zones at the given index.

getZonesBytes(int index)

publicByteStringgetZonesBytes(intindex)

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

repeated string zones = 118;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the zones at the given index.

getZonesCount()

publicintgetZonesCount()

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

repeated string zones = 118;

Returns
Type Description
int

The count of zones.

getZonesList()

publicProtocolStringListgetZonesList()

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

repeated string zones = 118;

Returns
Type Description
ProtocolStringList

A list containing the zones.

hasApiConfig()

publicbooleanhasApiConfig()

Serving configuration for Google Cloud Endpoints.

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

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

Returns
Type Description
boolean

Whether the apiConfig field is set.

hasAutomaticScaling()

publicbooleanhasAutomaticScaling()

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

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

Returns
Type Description
boolean

Whether the automaticScaling field is set.

hasBasicScaling()

publicbooleanhasBasicScaling()

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

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

Returns
Type Description
boolean

Whether the basicScaling field is set.

hasCreateTime()

publicbooleanhasCreateTime()

Time that this version was created.

@OutputOnly

.google.protobuf.Timestamp create_time = 17;

Returns
Type Description
boolean

Whether the createTime field is set.

hasDefaultExpiration()

publicbooleanhasDefaultExpiration()

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

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

.google.protobuf.Duration default_expiration = 105;

Returns
Type Description
boolean

Whether the defaultExpiration field is set.

hasDeployment()

publicbooleanhasDeployment()

Code and application artifacts that make up this version.

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

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

Returns
Type Description
boolean

Whether the deployment field is set.

hasEndpointsApiService()

publicbooleanhasEndpointsApiService()

Cloud Endpoints configuration.

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

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

Returns
Type Description
boolean

Whether the endpointsApiService field is set.

hasEntrypoint()

publicbooleanhasEntrypoint()

The entrypoint for the application.

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

Returns
Type Description
boolean

Whether the entrypoint field is set.

hasHealthCheck()

publicbooleanhasHealthCheck()

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

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

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

Returns
Type Description
boolean

Whether the healthCheck field is set.

hasLivenessCheck()

publicbooleanhasLivenessCheck()

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

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

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

Returns
Type Description
boolean

Whether the livenessCheck field is set.

hasManualScaling()

publicbooleanhasManualScaling()

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

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

Returns
Type Description
boolean

Whether the manualScaling field is set.

hasNetwork()

publicbooleanhasNetwork()

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

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

Returns
Type Description
boolean

Whether the network field is set.

hasReadinessCheck()

publicbooleanhasReadinessCheck()

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

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

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

Returns
Type Description
boolean

Whether the readinessCheck field is set.

hasResources()

publicbooleanhasResources()

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

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

Returns
Type Description
boolean

Whether the resources field is set.

hasVpcAccessConnector()

publicbooleanhasVpcAccessConnector()

Enables VPC connectivity for standard apps.

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

Returns
Type Description
boolean

Whether the vpcAccessConnector field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapField(int number)

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

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicVersion.BuildernewBuilderForType()
Returns
Type Description
Version.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedVersion.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Version.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicVersion.BuildertoBuilder()
Returns
Type Description
Version.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

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

Last updated 2025年10月30日 UTC.