- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.4
- 2.2.0
- 2.1.10
- 0.2.0
public final class Version extends GeneratedMessageV3 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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > VersionImplements
VersionOrBuilderStatic Fields
API_CONFIG_FIELD_NUMBER
public static final int API_CONFIG_FIELD_NUMBER
Type | Description |
int |
APP_ENGINE_APIS_FIELD_NUMBER
public static final int APP_ENGINE_APIS_FIELD_NUMBER
Type | Description |
int |
AUTOMATIC_SCALING_FIELD_NUMBER
public static final int AUTOMATIC_SCALING_FIELD_NUMBER
Type | Description |
int |
BASIC_SCALING_FIELD_NUMBER
public static final int BASIC_SCALING_FIELD_NUMBER
Type | Description |
int |
BETA_SETTINGS_FIELD_NUMBER
public static final int BETA_SETTINGS_FIELD_NUMBER
Type | Description |
int |
BUILD_ENV_VARIABLES_FIELD_NUMBER
public static final int BUILD_ENV_VARIABLES_FIELD_NUMBER
Type | Description |
int |
CREATED_BY_FIELD_NUMBER
public static final int CREATED_BY_FIELD_NUMBER
Type | Description |
int |
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Type | Description |
int |
DEFAULT_EXPIRATION_FIELD_NUMBER
public static final int DEFAULT_EXPIRATION_FIELD_NUMBER
Type | Description |
int |
DEPLOYMENT_FIELD_NUMBER
public static final int DEPLOYMENT_FIELD_NUMBER
Type | Description |
int |
DISK_USAGE_BYTES_FIELD_NUMBER
public static final int DISK_USAGE_BYTES_FIELD_NUMBER
Type | Description |
int |
ENDPOINTS_API_SERVICE_FIELD_NUMBER
public static final int ENDPOINTS_API_SERVICE_FIELD_NUMBER
Type | Description |
int |
ENTRYPOINT_FIELD_NUMBER
public static final int ENTRYPOINT_FIELD_NUMBER
Type | Description |
int |
ENV_FIELD_NUMBER
public static final int ENV_FIELD_NUMBER
Type | Description |
int |
ENV_VARIABLES_FIELD_NUMBER
public static final int ENV_VARIABLES_FIELD_NUMBER
Type | Description |
int |
ERROR_HANDLERS_FIELD_NUMBER
public static final int ERROR_HANDLERS_FIELD_NUMBER
Type | Description |
int |
HANDLERS_FIELD_NUMBER
public static final int HANDLERS_FIELD_NUMBER
Type | Description |
int |
HEALTH_CHECK_FIELD_NUMBER
public static final int HEALTH_CHECK_FIELD_NUMBER
Type | Description |
int |
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Type | Description |
int |
INBOUND_SERVICES_FIELD_NUMBER
public static final int INBOUND_SERVICES_FIELD_NUMBER
Type | Description |
int |
INSTANCE_CLASS_FIELD_NUMBER
public static final int INSTANCE_CLASS_FIELD_NUMBER
Type | Description |
int |
LIBRARIES_FIELD_NUMBER
public static final int LIBRARIES_FIELD_NUMBER
Type | Description |
int |
LIVENESS_CHECK_FIELD_NUMBER
public static final int LIVENESS_CHECK_FIELD_NUMBER
Type | Description |
int |
MANUAL_SCALING_FIELD_NUMBER
public static final int MANUAL_SCALING_FIELD_NUMBER
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
Type | Description |
int |
NOBUILD_FILES_REGEX_FIELD_NUMBER
public static final int NOBUILD_FILES_REGEX_FIELD_NUMBER
Type | Description |
int |
READINESS_CHECK_FIELD_NUMBER
public static final int READINESS_CHECK_FIELD_NUMBER
Type | Description |
int |
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
Type | Description |
int |
RUNTIME_API_VERSION_FIELD_NUMBER
public static final int RUNTIME_API_VERSION_FIELD_NUMBER
Type | Description |
int |
RUNTIME_CHANNEL_FIELD_NUMBER
public static final int RUNTIME_CHANNEL_FIELD_NUMBER
Type | Description |
int |
RUNTIME_FIELD_NUMBER
public static final int RUNTIME_FIELD_NUMBER
Type | Description |
int |
RUNTIME_MAIN_EXECUTABLE_PATH_FIELD_NUMBER
public static final int RUNTIME_MAIN_EXECUTABLE_PATH_FIELD_NUMBER
Type | Description |
int |
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
Type | Description |
int |
SERVING_STATUS_FIELD_NUMBER
public static final int SERVING_STATUS_FIELD_NUMBER
Type | Description |
int |
THREADSAFE_FIELD_NUMBER
public static final int THREADSAFE_FIELD_NUMBER
Type | Description |
int |
VERSION_URL_FIELD_NUMBER
public static final int VERSION_URL_FIELD_NUMBER
Type | Description |
int |
VM_FIELD_NUMBER
public static final int VM_FIELD_NUMBER
Type | Description |
int |
VPC_ACCESS_CONNECTOR_FIELD_NUMBER
public static final int VPC_ACCESS_CONNECTOR_FIELD_NUMBER
Type | Description |
int |
ZONES_FIELD_NUMBER
public static final int ZONES_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Version getDefaultInstance()
Type | Description |
Version |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Version.Builder newBuilder()
Type | Description |
Version.Builder |
newBuilder(Version prototype)
public static Version.Builder newBuilder(Version prototype)
Name | Description |
prototype | Version |
Type | Description |
Version.Builder |
parseDelimitedFrom(InputStream input)
public static Version parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Version |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Version parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Version |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Version parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Version |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Version parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Version |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Version parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Version |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Version parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Version |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Version parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Version |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Version parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Version |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Version parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Version |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Version parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Version |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Version parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Version |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Version parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Version |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Version> parser()
Type | Description |
Parser<Version> |
Methods
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;
Name | Description |
key | String |
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;
Name | Description |
key | String |
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;
Name | Description |
key | String |
Type | Description |
boolean |
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
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;
Type | Description |
ApiConfigHandler | The apiConfig. |
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;
Type | Description |
ApiConfigHandlerOrBuilder |
getAppEngineApis()
public boolean getAppEngineApis()
Allows App Engine second generation runtimes to access the legacy bundled services.
bool app_engine_apis = 128;
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;
Type | Description |
AutomaticScaling | The automaticScaling. |
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;
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;
Type | Description |
BasicScaling | The basicScaling. |
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;
Type | Description |
BasicScalingOrBuilder |
getBetaSettings()
public Map<String,String> getBetaSettings()
Use #getBetaSettingsMap() instead.
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;
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;
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;
Name | Description |
key | String |
defaultValue | String |
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;
Name | Description |
key | String |
Type | Description |
String |
getBuildEnvVariables()
public Map<String,String> getBuildEnvVariables()
Use #getBuildEnvVariablesMap() instead.
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;
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;
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;
Name | Description |
key | String |
defaultValue | String |
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;
Name | Description |
key | String |
Type | Description |
String |
getCreateTime()
public Timestamp getCreateTime()
Time that this version was created. @OutputOnly
.google.protobuf.Timestamp create_time = 17;
Type | Description |
Timestamp | The createTime. |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Time that this version was created. @OutputOnly
.google.protobuf.Timestamp create_time = 17;
Type | Description |
TimestampOrBuilder |
getCreatedBy()
public String getCreatedBy()
Email address of the user who created this version. @OutputOnly
string created_by = 16;
Type | Description |
String | The createdBy. |
getCreatedByBytes()
public ByteString getCreatedByBytes()
Email address of the user who created this version. @OutputOnly
string created_by = 16;
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;
Type | Description |
Duration | The defaultExpiration. |
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;
Type | Description |
DurationOrBuilder |
getDefaultInstanceForType()
public Version getDefaultInstanceForType()
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;
Type | Description |
Deployment | The deployment. |
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;
Type | Description |
DeploymentOrBuilder |
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;
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;
Type | Description |
EndpointsApiService | The endpointsApiService. |
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;
Type | Description |
EndpointsApiServiceOrBuilder |
getEntrypoint()
public Entrypoint getEntrypoint()
The entrypoint for the application.
.google.appengine.v1.Entrypoint entrypoint = 122;
Type | Description |
Entrypoint | The entrypoint. |
getEntrypointOrBuilder()
public EntrypointOrBuilder getEntrypointOrBuilder()
The entrypoint for the application.
.google.appengine.v1.Entrypoint entrypoint = 122;
Type | Description |
EntrypointOrBuilder |
getEnv()
public String getEnv()
App Engine execution environment for this version.
Defaults to standard
.
string env = 14;
Type | Description |
String | The env. |
getEnvBytes()
public ByteString getEnvBytes()
App Engine execution environment for this version.
Defaults to standard
.
string env = 14;
Type | Description |
ByteString | The bytes for env. |
getEnvVariables()
public Map<String,String> getEnvVariables()
Use #getEnvVariablesMap() instead.
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;
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;
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;
Name | Description |
key | String |
defaultValue | String |
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;
Name | Description |
key | String |
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;
Name | Description |
index | int |
Type | Description |
ErrorHandler |
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;
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;
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;
Name | Description |
index | int |
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;
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;
Name | Description |
index | int |
Type | Description |
UrlMap |
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;
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;
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;
Name | Description |
index | int |
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;
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;
Type | Description |
HealthCheck | The healthCheck. |
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;
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;
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;
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;
Name | Description |
index | int The index of the element to return. |
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;
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;
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;
Name | Description |
index | int The index of the value to return. |
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;
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 toF1
for AutomaticScaling andB1
for ManualScaling or BasicScaling.
string instance_class = 7;
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 toF1
for AutomaticScaling andB1
for ManualScaling or BasicScaling.
string instance_class = 7;
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;
Name | Description |
index | int |
Type | Description |
Library |
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;
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;
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;
Name | Description |
index | int |
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;
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;
Type | Description |
LivenessCheck | The livenessCheck. |
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;
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;
Type | Description |
ManualScaling | The manualScaling. |
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;
Type | Description |
ManualScalingOrBuilder |
getName()
public String getName()
Full path to the Version resource in the API. Example:
apps/myapp/services/default/versions/v1
.
@OutputOnly
string name = 1;
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;
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;
Type | Description |
Network | The network. |
getNetworkOrBuilder()
public NetworkOrBuilder getNetworkOrBuilder()
Extra network settings. Only applicable in the App Engine flexible environment.
.google.appengine.v1.Network network = 8;
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;
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;
Type | Description |
ByteString | The bytes for nobuildFilesRegex. |
getParserForType()
public Parser<Version> getParserForType()
Type | Description |
Parser<Version> |
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;
Type | Description |
ReadinessCheck | The readinessCheck. |
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;
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;
Type | Description |
Resources | The resources. |
getResourcesOrBuilder()
public ResourcesOrBuilder getResourcesOrBuilder()
Machine resources for this version. Only applicable in the App Engine flexible environment.
.google.appengine.v1.Resources resources = 9;
Type | Description |
ResourcesOrBuilder |
getRuntime()
public String getRuntime()
Desired runtime. Example: python27
.
string runtime = 10;
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;
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;
Type | Description |
ByteString | The bytes for runtimeApiVersion. |
getRuntimeBytes()
public ByteString getRuntimeBytes()
Desired runtime. Example: python27
.
string runtime = 10;
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;
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;
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;
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;
Type | Description |
ByteString | The bytes for runtimeMainExecutablePath. |
getScalingCase()
public Version.ScalingCase getScalingCase()
Type | Description |
Version.ScalingCase |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
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;
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;
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;
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;
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;
Type | Description |
boolean | The threadsafe. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getVersionUrl()
public String getVersionUrl()
Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com" @OutputOnly
string version_url = 109;
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;
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;
Type | Description |
boolean | The vm. |
getVpcAccessConnector()
public VpcAccessConnector getVpcAccessConnector()
Enables VPC connectivity for standard apps.
.google.appengine.v1.VpcAccessConnector vpc_access_connector = 121;
Type | Description |
VpcAccessConnector | The vpcAccessConnector. |
getVpcAccessConnectorOrBuilder()
public VpcAccessConnectorOrBuilder getVpcAccessConnectorOrBuilder()
Enables VPC connectivity for standard apps.
.google.appengine.v1.VpcAccessConnector vpc_access_connector = 121;
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;
Name | Description |
index | int The index of the element to return. |
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;
Name | Description |
index | int The index of the value to return. |
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;
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;
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;
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;
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;
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;
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;
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;
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;
Type | Description |
boolean | Whether the endpointsApiService field is set. |
hasEntrypoint()
public boolean hasEntrypoint()
The entrypoint for the application.
.google.appengine.v1.Entrypoint entrypoint = 122;
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;
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;
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;
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;
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;
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;
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;
Type | Description |
boolean | Whether the vpcAccessConnector field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public Version.Builder newBuilderForType()
Type | Description |
Version.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Version.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Version.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Version.Builder toBuilder()
Type | Description |
Version.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |