Package com.google.appengine.v1
Interface VersionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Version
,Version.Builder
public interface VersionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsBetaSettings(String key)
Metadata settings that are supplied to this version to enable beta runtime features.boolean
containsBuildEnvVariables(String key)
Environment variables available to the build environment.boolean
containsEnvVariables(String key)
Environment variables available to the application.ApiConfigHandler
getApiConfig()
Serving configuration for [Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/).ApiConfigHandlerOrBuilder
getApiConfigOrBuilder()
Serving configuration for [Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/).boolean
getAppEngineApis()
Allows App Engine second generation runtimes to access the legacy bundled services.AutomaticScaling
getAutomaticScaling()
Automatic scaling is based on request rate, response latencies, and other application metrics.AutomaticScalingOrBuilder
getAutomaticScalingOrBuilder()
Automatic scaling is based on request rate, response latencies, and other application metrics.BasicScaling
getBasicScaling()
A service with basic scaling will create an instance when the application receives a request.BasicScalingOrBuilder
getBasicScalingOrBuilder()
A service with basic scaling will create an instance when the application receives a request.Map<String,String>
getBetaSettings()
Deprecated.int
getBetaSettingsCount()
Metadata settings that are supplied to this version to enable beta runtime features.Map<String,String>
getBetaSettingsMap()
Metadata settings that are supplied to this version to enable beta runtime features.String
getBetaSettingsOrDefault(String key, String defaultValue)
Metadata settings that are supplied to this version to enable beta runtime features.String
getBetaSettingsOrThrow(String key)
Metadata settings that are supplied to this version to enable beta runtime features.Map<String,String>
getBuildEnvVariables()
Deprecated.int
getBuildEnvVariablesCount()
Environment variables available to the build environment.Map<String,String>
getBuildEnvVariablesMap()
Environment variables available to the build environment.String
getBuildEnvVariablesOrDefault(String key, String defaultValue)
Environment variables available to the build environment.String
getBuildEnvVariablesOrThrow(String key)
Environment variables available to the build environment.String
getCreatedBy()
Email address of the user who created this version.com.google.protobuf.ByteString
getCreatedByBytes()
Email address of the user who created this version.com.google.protobuf.Timestamp
getCreateTime()
Time that this version was created.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Time that this version was created.com.google.protobuf.Duration
getDefaultExpiration()
Duration that static files should be cached by web proxies and browsers.com.google.protobuf.DurationOrBuilder
getDefaultExpirationOrBuilder()
Duration that static files should be cached by web proxies and browsers.Deployment
getDeployment()
Code and application artifacts that make up this version.DeploymentOrBuilder
getDeploymentOrBuilder()
Code and application artifacts that make up this version.long
getDiskUsageBytes()
Total size in bytes of all the files that are included in this version and currently hosted on the App Engine disk.EndpointsApiService
getEndpointsApiService()
Cloud Endpoints configuration.EndpointsApiServiceOrBuilder
getEndpointsApiServiceOrBuilder()
Cloud Endpoints configuration.Entrypoint
getEntrypoint()
The entrypoint for the application.EntrypointOrBuilder
getEntrypointOrBuilder()
The entrypoint for the application.String
getEnv()
App Engine execution environment for this version.com.google.protobuf.ByteString
getEnvBytes()
App Engine execution environment for this version.Map<String,String>
getEnvVariables()
Deprecated.int
getEnvVariablesCount()
Environment variables available to the application.Map<String,String>
getEnvVariablesMap()
Environment variables available to the application.String
getEnvVariablesOrDefault(String key, String defaultValue)
Environment variables available to the application.String
getEnvVariablesOrThrow(String key)
Environment variables available to the application.ErrorHandler
getErrorHandlers(int index)
Custom static error pages.int
getErrorHandlersCount()
Custom static error pages.List<ErrorHandler>
getErrorHandlersList()
Custom static error pages.ErrorHandlerOrBuilder
getErrorHandlersOrBuilder(int index)
Custom static error pages.List<? extends ErrorHandlerOrBuilder>
getErrorHandlersOrBuilderList()
Custom static error pages.UrlMap
getHandlers(int index)
An ordered list of URL-matching patterns that should be applied to incoming requests.int
getHandlersCount()
An ordered list of URL-matching patterns that should be applied to incoming requests.List<UrlMap>
getHandlersList()
An ordered list of URL-matching patterns that should be applied to incoming requests.UrlMapOrBuilder
getHandlersOrBuilder(int index)
An ordered list of URL-matching patterns that should be applied to incoming requests.List<? extends UrlMapOrBuilder>
getHandlersOrBuilderList()
An ordered list of URL-matching patterns that should be applied to incoming requests.HealthCheck
getHealthCheck()
Configures health checking for instances.HealthCheckOrBuilder
getHealthCheckOrBuilder()
Configures health checking for instances.String
getId()
Relative name of the version within the service.com.google.protobuf.ByteString
getIdBytes()
Relative name of the version within the service.InboundServiceType
getInboundServices(int index)
Before an application can receive email or XMPP messages, the application must be configured to enable the service.int
getInboundServicesCount()
Before an application can receive email or XMPP messages, the application must be configured to enable the service.List<InboundServiceType>
getInboundServicesList()
Before an application can receive email or XMPP messages, the application must be configured to enable the service.int
getInboundServicesValue(int index)
Before an application can receive email or XMPP messages, the application must be configured to enable the service.List<Integer>
getInboundServicesValueList()
Before an application can receive email or XMPP messages, the application must be configured to enable the service.String
getInstanceClass()
Instance class that is used to run this version.com.google.protobuf.ByteString
getInstanceClassBytes()
Instance class that is used to run this version.Library
getLibraries(int index)
Configuration for third-party Python runtime libraries that are required by the application.int
getLibrariesCount()
Configuration for third-party Python runtime libraries that are required by the application.List<Library>
getLibrariesList()
Configuration for third-party Python runtime libraries that are required by the application.LibraryOrBuilder
getLibrariesOrBuilder(int index)
Configuration for third-party Python runtime libraries that are required by the application.List<? extends LibraryOrBuilder>
getLibrariesOrBuilderList()
Configuration for third-party Python runtime libraries that are required by the application.LivenessCheck
getLivenessCheck()
Configures liveness health checking for instances.LivenessCheckOrBuilder
getLivenessCheckOrBuilder()
Configures liveness health checking for instances.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.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.String
getName()
Full path to the Version resource in the API.com.google.protobuf.ByteString
getNameBytes()
Full path to the Version resource in the API.Network
getNetwork()
Extra network settings.NetworkOrBuilder
getNetworkOrBuilder()
Extra network settings.String
getNobuildFilesRegex()
Files that match this pattern will not be built into this version.com.google.protobuf.ByteString
getNobuildFilesRegexBytes()
Files that match this pattern will not be built into this version.ReadinessCheck
getReadinessCheck()
Configures readiness health checking for instances.ReadinessCheckOrBuilder
getReadinessCheckOrBuilder()
Configures readiness health checking for instances.Resources
getResources()
Machine resources for this version.ResourcesOrBuilder
getResourcesOrBuilder()
Machine resources for this version.String
getRuntime()
Desired runtime.String
getRuntimeApiVersion()
The version of the API in the given runtime environment.com.google.protobuf.ByteString
getRuntimeApiVersionBytes()
The version of the API in the given runtime environment.com.google.protobuf.ByteString
getRuntimeBytes()
Desired runtime.String
getRuntimeChannel()
The channel of the runtime to use.com.google.protobuf.ByteString
getRuntimeChannelBytes()
The channel of the runtime to use.String
getRuntimeMainExecutablePath()
The path or name of the app's main executable.com.google.protobuf.ByteString
getRuntimeMainExecutablePathBytes()
The path or name of the app's main executable.Version.ScalingCase
getScalingCase()
String
getServiceAccount()
The identity that the deployed version will run as.com.google.protobuf.ByteString
getServiceAccountBytes()
The identity that the deployed version will run as.ServingStatus
getServingStatus()
Current serving status of this version.int
getServingStatusValue()
Current serving status of this version.boolean
getThreadsafe()
Whether multiple requests can be dispatched to this version at once.String
getVersionUrl()
Serving URL for this version.com.google.protobuf.ByteString
getVersionUrlBytes()
Serving URL for this version.boolean
getVm()
Whether to deploy this version in a container on a virtual machine.VpcAccessConnector
getVpcAccessConnector()
Enables VPC connectivity for standard apps.VpcAccessConnectorOrBuilder
getVpcAccessConnectorOrBuilder()
Enables VPC connectivity for standard apps.String
getZones(int index)
The Google Compute Engine zones that are supported by this version in the App Engine flexible environment.com.google.protobuf.ByteString
getZonesBytes(int index)
The Google Compute Engine zones that are supported by this version in the App Engine flexible environment.int
getZonesCount()
The Google Compute Engine zones that are supported by this version in the App Engine flexible environment.List<String>
getZonesList()
The Google Compute Engine zones that are supported by this version in the App Engine flexible environment.boolean
hasApiConfig()
Serving configuration for [Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/).boolean
hasAutomaticScaling()
Automatic scaling is based on request rate, response latencies, and other application metrics.boolean
hasBasicScaling()
A service with basic scaling will create an instance when the application receives a request.boolean
hasCreateTime()
Time that this version was created.boolean
hasDefaultExpiration()
Duration that static files should be cached by web proxies and browsers.boolean
hasDeployment()
Code and application artifacts that make up this version.boolean
hasEndpointsApiService()
Cloud Endpoints configuration.boolean
hasEntrypoint()
The entrypoint for the application.boolean
hasHealthCheck()
Configures health checking for instances.boolean
hasLivenessCheck()
Configures liveness health checking for instances.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.boolean
hasNetwork()
Extra network settings.boolean
hasReadinessCheck()
Configures readiness health checking for instances.boolean
hasResources()
Machine resources for this version.boolean
hasVpcAccessConnector()
Enables VPC connectivity for standard apps.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Full path to the Version resource in the API. Example: `apps/myapp/services/default/versions/v1`. @OutputOnly
string name = 1;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Full path to the Version resource in the API. Example: `apps/myapp/services/default/versions/v1`. @OutputOnly
string name = 1;
- Returns:
- The bytes for name.
-
getId
String getId()
Relative name of the version within the service. Example: `v1`. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: "default", "latest", and any name with the prefix "ah-".
string id = 2;
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
Relative name of the version within the service. Example: `v1`. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: "default", "latest", and any name with the prefix "ah-".
string id = 2;
- Returns:
- The bytes for id.
-
hasAutomaticScaling
boolean hasAutomaticScaling()
Automatic scaling is based on request rate, response latencies, and other application metrics. Instances are dynamically created and destroyed as needed in order to handle traffic.
.google.appengine.v1.AutomaticScaling automatic_scaling = 3;
- Returns:
- Whether the automaticScaling field is set.
-
getAutomaticScaling
AutomaticScaling getAutomaticScaling()
Automatic scaling is based on request rate, response latencies, and other application metrics. Instances are dynamically created and destroyed as needed in order to handle traffic.
.google.appengine.v1.AutomaticScaling automatic_scaling = 3;
- Returns:
- The automaticScaling.
-
getAutomaticScalingOrBuilder
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;
-
hasBasicScaling
boolean hasBasicScaling()
A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.
.google.appengine.v1.BasicScaling basic_scaling = 4;
- Returns:
- Whether the basicScaling field is set.
-
getBasicScaling
BasicScaling getBasicScaling()
A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.
.google.appengine.v1.BasicScaling basic_scaling = 4;
- Returns:
- The basicScaling.
-
getBasicScalingOrBuilder
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;
-
hasManualScaling
boolean hasManualScaling()
A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Manually scaled versions are sometimes referred to as "backends".
.google.appengine.v1.ManualScaling manual_scaling = 5;
- Returns:
- Whether the manualScaling field is set.
-
getManualScaling
ManualScaling getManualScaling()
A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time. Manually scaled versions are sometimes referred to as "backends".
.google.appengine.v1.ManualScaling manual_scaling = 5;
- Returns:
- The manualScaling.
-
getManualScalingOrBuilder
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;
-
getInboundServicesList
List<InboundServiceType> getInboundServicesList()
Before an application can receive email or XMPP messages, the application must be configured to enable the service.
repeated .google.appengine.v1.InboundServiceType inbound_services = 6;
- Returns:
- A list containing the inboundServices.
-
getInboundServicesCount
int getInboundServicesCount()
Before an application can receive email or XMPP messages, the application must be configured to enable the service.
repeated .google.appengine.v1.InboundServiceType inbound_services = 6;
- Returns:
- The count of inboundServices.
-
getInboundServices
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;
- Parameters:
index
- The index of the element to return.- Returns:
- The inboundServices at the given index.
-
getInboundServicesValueList
List<Integer> getInboundServicesValueList()
Before an application can receive email or XMPP messages, the application must be configured to enable the service.
repeated .google.appengine.v1.InboundServiceType inbound_services = 6;
- Returns:
- A list containing the enum numeric values on the wire for inboundServices.
-
getInboundServicesValue
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;
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of inboundServices at the given index.
-
getInstanceClass
String getInstanceClass()
Instance class that is used to run this version. Valid values are: * AutomaticScaling: `F1`, `F2`, `F4`, `F4_1G` * ManualScaling or BasicScaling: `B1`, `B2`, `B4`, `B8`, `B4_1G` Defaults to `F1` for AutomaticScaling and `B1` for ManualScaling or BasicScaling.
string instance_class = 7;
- Returns:
- The instanceClass.
-
getInstanceClassBytes
com.google.protobuf.ByteString getInstanceClassBytes()
Instance class that is used to run this version. Valid values are: * AutomaticScaling: `F1`, `F2`, `F4`, `F4_1G` * ManualScaling or BasicScaling: `B1`, `B2`, `B4`, `B8`, `B4_1G` Defaults to `F1` for AutomaticScaling and `B1` for ManualScaling or BasicScaling.
string instance_class = 7;
- Returns:
- The bytes for instanceClass.
-
hasNetwork
boolean hasNetwork()
Extra network settings. Only applicable in the App Engine flexible environment.
.google.appengine.v1.Network network = 8;
- Returns:
- Whether the network field is set.
-
getNetwork
Network getNetwork()
Extra network settings. Only applicable in the App Engine flexible environment.
.google.appengine.v1.Network network = 8;
- Returns:
- The network.
-
getNetworkOrBuilder
NetworkOrBuilder getNetworkOrBuilder()
Extra network settings. Only applicable in the App Engine flexible environment.
.google.appengine.v1.Network network = 8;
-
getZonesList
List<String> getZonesList()
The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.
repeated string zones = 118;
- Returns:
- A list containing the zones.
-
getZonesCount
int getZonesCount()
The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.
repeated string zones = 118;
- Returns:
- The count of zones.
-
getZones
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;
- Parameters:
index
- The index of the element to return.- Returns:
- The zones at the given index.
-
getZonesBytes
com.google.protobuf.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;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the zones at the given index.
-
hasResources
boolean hasResources()
Machine resources for this version. Only applicable in the App Engine flexible environment.
.google.appengine.v1.Resources resources = 9;
- Returns:
- Whether the resources field is set.
-
getResources
Resources getResources()
Machine resources for this version. Only applicable in the App Engine flexible environment.
.google.appengine.v1.Resources resources = 9;
- Returns:
- The resources.
-
getResourcesOrBuilder
ResourcesOrBuilder getResourcesOrBuilder()
Machine resources for this version. Only applicable in the App Engine flexible environment.
.google.appengine.v1.Resources resources = 9;
-
getRuntime
String getRuntime()
Desired runtime. Example: `python27`.
string runtime = 10;
- Returns:
- The runtime.
-
getRuntimeBytes
com.google.protobuf.ByteString getRuntimeBytes()
Desired runtime. Example: `python27`.
string runtime = 10;
- Returns:
- The bytes for runtime.
-
getRuntimeChannel
String getRuntimeChannel()
The channel of the runtime to use. Only available for some runtimes. Defaults to the `default` channel.
string runtime_channel = 117;
- Returns:
- The runtimeChannel.
-
getRuntimeChannelBytes
com.google.protobuf.ByteString getRuntimeChannelBytes()
The channel of the runtime to use. Only available for some runtimes. Defaults to the `default` channel.
string runtime_channel = 117;
- Returns:
- The bytes for runtimeChannel.
-
getThreadsafe
boolean getThreadsafe()
Whether multiple requests can be dispatched to this version at once.
bool threadsafe = 11;
- Returns:
- The threadsafe.
-
getVm
boolean getVm()
Whether to deploy this version in a container on a virtual machine.
bool vm = 12;
- Returns:
- The vm.
-
getAppEngineApis
boolean getAppEngineApis()
Allows App Engine second generation runtimes to access the legacy bundled services.
bool app_engine_apis = 128;
- Returns:
- The appEngineApis.
-
getBetaSettingsCount
int getBetaSettingsCount()
Metadata settings that are supplied to this version to enable beta runtime features.
map<string, string> beta_settings = 13;
-
containsBetaSettings
boolean containsBetaSettings(String key)
Metadata settings that are supplied to this version to enable beta runtime features.
map<string, string> beta_settings = 13;
-
getBetaSettings
@Deprecated Map<String,String> getBetaSettings()
Deprecated.UsegetBetaSettingsMap()
instead.
-
getBetaSettingsMap
Map<String,String> getBetaSettingsMap()
Metadata settings that are supplied to this version to enable beta runtime features.
map<string, string> beta_settings = 13;
-
getBetaSettingsOrDefault
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;
-
getBetaSettingsOrThrow
String getBetaSettingsOrThrow(String key)
Metadata settings that are supplied to this version to enable beta runtime features.
map<string, string> beta_settings = 13;
-
getEnv
String getEnv()
App Engine execution environment for this version. Defaults to `standard`.
string env = 14;
- Returns:
- The env.
-
getEnvBytes
com.google.protobuf.ByteString getEnvBytes()
App Engine execution environment for this version. Defaults to `standard`.
string env = 14;
- Returns:
- The bytes for env.
-
getServingStatusValue
int getServingStatusValue()
Current serving status of this version. Only the versions with a `SERVING` status create instances and can be billed. `SERVING_STATUS_UNSPECIFIED` is an invalid value. Defaults to `SERVING`.
.google.appengine.v1.ServingStatus serving_status = 15;
- Returns:
- The enum numeric value on the wire for servingStatus.
-
getServingStatus
ServingStatus getServingStatus()
Current serving status of this version. Only the versions with a `SERVING` status create instances and can be billed. `SERVING_STATUS_UNSPECIFIED` is an invalid value. Defaults to `SERVING`.
.google.appengine.v1.ServingStatus serving_status = 15;
- Returns:
- The servingStatus.
-
getCreatedBy
String getCreatedBy()
Email address of the user who created this version. @OutputOnly
string created_by = 16;
- Returns:
- The createdBy.
-
getCreatedByBytes
com.google.protobuf.ByteString getCreatedByBytes()
Email address of the user who created this version. @OutputOnly
string created_by = 16;
- Returns:
- The bytes for createdBy.
-
hasCreateTime
boolean hasCreateTime()
Time that this version was created. @OutputOnly
.google.protobuf.Timestamp create_time = 17;
- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Time that this version was created. @OutputOnly
.google.protobuf.Timestamp create_time = 17;
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Time that this version was created. @OutputOnly
.google.protobuf.Timestamp create_time = 17;
-
getDiskUsageBytes
long getDiskUsageBytes()
Total size in bytes of all the files that are included in this version and currently hosted on the App Engine disk. @OutputOnly
int64 disk_usage_bytes = 18;
- Returns:
- The diskUsageBytes.
-
getRuntimeApiVersion
String getRuntimeApiVersion()
The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
string runtime_api_version = 21;
- Returns:
- The runtimeApiVersion.
-
getRuntimeApiVersionBytes
com.google.protobuf.ByteString getRuntimeApiVersionBytes()
The version of the API in the given runtime environment. Please see the app.yaml reference for valid values at https://cloud.google.com/appengine/docs/standard/<language>/config/appref
string runtime_api_version = 21;
- Returns:
- The bytes for runtimeApiVersion.
-
getRuntimeMainExecutablePath
String getRuntimeMainExecutablePath()
The path or name of the app's main executable.
string runtime_main_executable_path = 22;
- Returns:
- The runtimeMainExecutablePath.
-
getRuntimeMainExecutablePathBytes
com.google.protobuf.ByteString getRuntimeMainExecutablePathBytes()
The path or name of the app's main executable.
string runtime_main_executable_path = 22;
- Returns:
- The bytes for runtimeMainExecutablePath.
-
getServiceAccount
String getServiceAccount()
The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
string service_account = 127;
- Returns:
- The serviceAccount.
-
getServiceAccountBytes
com.google.protobuf.ByteString getServiceAccountBytes()
The identity that the deployed version will run as. Admin API will use the App Engine Appspot service account as default if this field is neither provided in app.yaml file nor through CLI flag.
string service_account = 127;
- Returns:
- The bytes for serviceAccount.
-
getHandlersList
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;
-
getHandlers
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;
-
getHandlersCount
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;
-
getHandlersOrBuilderList
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;
-
getHandlersOrBuilder
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;
-
getErrorHandlersList
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;
-
getErrorHandlers
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;
-
getErrorHandlersCount
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;
-
getErrorHandlersOrBuilderList
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;
-
getErrorHandlersOrBuilder
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;
-
getLibrariesList
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;
-
getLibraries
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;
-
getLibrariesCount
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;
-
getLibrariesOrBuilderList
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;
-
getLibrariesOrBuilder
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;
-
hasApiConfig
boolean hasApiConfig()
Serving configuration for [Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/). Only returned in `GET` requests if `view=FULL` is set.
.google.appengine.v1.ApiConfigHandler api_config = 103;
- Returns:
- Whether the apiConfig field is set.
-
getApiConfig
ApiConfigHandler getApiConfig()
Serving configuration for [Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/). Only returned in `GET` requests if `view=FULL` is set.
.google.appengine.v1.ApiConfigHandler api_config = 103;
- Returns:
- The apiConfig.
-
getApiConfigOrBuilder
ApiConfigHandlerOrBuilder getApiConfigOrBuilder()
Serving configuration for [Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/). Only returned in `GET` requests if `view=FULL` is set.
.google.appengine.v1.ApiConfigHandler api_config = 103;
-
getEnvVariablesCount
int getEnvVariablesCount()
Environment variables available to the application. Only returned in `GET` requests if `view=FULL` is set.
map<string, string> env_variables = 104;
-
containsEnvVariables
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;
-
getEnvVariables
@Deprecated Map<String,String> getEnvVariables()
Deprecated.UsegetEnvVariablesMap()
instead.
-
getEnvVariablesMap
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;
-
getEnvVariablesOrDefault
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;
-
getEnvVariablesOrThrow
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;
-
getBuildEnvVariablesCount
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;
-
containsBuildEnvVariables
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;
-
getBuildEnvVariables
@Deprecated Map<String,String> getBuildEnvVariables()
Deprecated.UsegetBuildEnvVariablesMap()
instead.
-
getBuildEnvVariablesMap
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;
-
getBuildEnvVariablesOrDefault
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;
-
getBuildEnvVariablesOrThrow
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;
-
hasDefaultExpiration
boolean hasDefaultExpiration()
Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding [StaticFilesHandler](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#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:
- Whether the defaultExpiration field is set.
-
getDefaultExpiration
com.google.protobuf.Duration getDefaultExpiration()
Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding [StaticFilesHandler](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#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:
- The defaultExpiration.
-
getDefaultExpirationOrBuilder
com.google.protobuf.DurationOrBuilder getDefaultExpirationOrBuilder()
Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding [StaticFilesHandler](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StaticFilesHandler) does not specify its own expiration time. Only returned in `GET` requests if `view=FULL` is set.
.google.protobuf.Duration default_expiration = 105;
-
hasHealthCheck
boolean hasHealthCheck()
Configures health checking for instances. Unhealthy instances are stopped and replaced with new instances. Only applicable in the App Engine flexible environment. Only returned in `GET` requests if `view=FULL` is set.
.google.appengine.v1.HealthCheck health_check = 106;
- Returns:
- Whether the healthCheck field is set.
-
getHealthCheck
HealthCheck getHealthCheck()
Configures health checking for instances. Unhealthy instances are stopped and replaced with new instances. Only applicable in the App Engine flexible environment. Only returned in `GET` requests if `view=FULL` is set.
.google.appengine.v1.HealthCheck health_check = 106;
- Returns:
- The healthCheck.
-
getHealthCheckOrBuilder
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;
-
hasReadinessCheck
boolean hasReadinessCheck()
Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Only returned in `GET` requests if `view=FULL` is set.
.google.appengine.v1.ReadinessCheck readiness_check = 112;
- Returns:
- Whether the readinessCheck field is set.
-
getReadinessCheck
ReadinessCheck getReadinessCheck()
Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation. Only returned in `GET` requests if `view=FULL` is set.
.google.appengine.v1.ReadinessCheck readiness_check = 112;
- Returns:
- The readinessCheck.
-
getReadinessCheckOrBuilder
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;
-
hasLivenessCheck
boolean hasLivenessCheck()
Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instances Only returned in `GET` requests if `view=FULL` is set.
.google.appengine.v1.LivenessCheck liveness_check = 113;
- Returns:
- Whether the livenessCheck field is set.
-
getLivenessCheck
LivenessCheck getLivenessCheck()
Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instances Only returned in `GET` requests if `view=FULL` is set.
.google.appengine.v1.LivenessCheck liveness_check = 113;
- Returns:
- The livenessCheck.
-
getLivenessCheckOrBuilder
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;
-
getNobuildFilesRegex
String getNobuildFilesRegex()
Files that match this pattern will not be built into this version. Only applicable for Go runtimes. Only returned in `GET` requests if `view=FULL` is set.
string nobuild_files_regex = 107;
- Returns:
- The nobuildFilesRegex.
-
getNobuildFilesRegexBytes
com.google.protobuf.ByteString getNobuildFilesRegexBytes()
Files that match this pattern will not be built into this version. Only applicable for Go runtimes. Only returned in `GET` requests if `view=FULL` is set.
string nobuild_files_regex = 107;
- Returns:
- The bytes for nobuildFilesRegex.
-
hasDeployment
boolean hasDeployment()
Code and application artifacts that make up this version. Only returned in `GET` requests if `view=FULL` is set.
.google.appengine.v1.Deployment deployment = 108;
- Returns:
- Whether the deployment field is set.
-
getDeployment
Deployment getDeployment()
Code and application artifacts that make up this version. Only returned in `GET` requests if `view=FULL` is set.
.google.appengine.v1.Deployment deployment = 108;
- Returns:
- The deployment.
-
getDeploymentOrBuilder
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;
-
getVersionUrl
String getVersionUrl()
Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com" @OutputOnly
string version_url = 109;
- Returns:
- The versionUrl.
-
getVersionUrlBytes
com.google.protobuf.ByteString getVersionUrlBytes()
Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com" @OutputOnly
string version_url = 109;
- Returns:
- The bytes for versionUrl.
-
hasEndpointsApiService
boolean hasEndpointsApiService()
Cloud Endpoints configuration. If endpoints_api_service is set, the Cloud Endpoints Extensible Service Proxy will be provided to serve the API implemented by the app.
.google.appengine.v1.EndpointsApiService endpoints_api_service = 110;
- Returns:
- Whether the endpointsApiService field is set.
-
getEndpointsApiService
EndpointsApiService getEndpointsApiService()
Cloud Endpoints configuration. If endpoints_api_service is set, the Cloud Endpoints Extensible Service Proxy will be provided to serve the API implemented by the app.
.google.appengine.v1.EndpointsApiService endpoints_api_service = 110;
- Returns:
- The endpointsApiService.
-
getEndpointsApiServiceOrBuilder
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;
-
hasEntrypoint
boolean hasEntrypoint()
The entrypoint for the application.
.google.appengine.v1.Entrypoint entrypoint = 122;
- Returns:
- Whether the entrypoint field is set.
-
getEntrypoint
Entrypoint getEntrypoint()
The entrypoint for the application.
.google.appengine.v1.Entrypoint entrypoint = 122;
- Returns:
- The entrypoint.
-
getEntrypointOrBuilder
EntrypointOrBuilder getEntrypointOrBuilder()
The entrypoint for the application.
.google.appengine.v1.Entrypoint entrypoint = 122;
-
hasVpcAccessConnector
boolean hasVpcAccessConnector()
Enables VPC connectivity for standard apps.
.google.appengine.v1.VpcAccessConnector vpc_access_connector = 121;
- Returns:
- Whether the vpcAccessConnector field is set.
-
getVpcAccessConnector
VpcAccessConnector getVpcAccessConnector()
Enables VPC connectivity for standard apps.
.google.appengine.v1.VpcAccessConnector vpc_access_connector = 121;
- Returns:
- The vpcAccessConnector.
-
getVpcAccessConnectorOrBuilder
VpcAccessConnectorOrBuilder getVpcAccessConnectorOrBuilder()
Enables VPC connectivity for standard apps.
.google.appengine.v1.VpcAccessConnector vpc_access_connector = 121;
-
getScalingCase
Version.ScalingCase getScalingCase()
-
-