Package com.google.appengine.v1
Class Version
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.appengine.v1.Version
-
- All Implemented Interfaces:
VersionOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Version extends com.google.protobuf.GeneratedMessageV3 implements VersionOrBuilder
A Version resource is a specific set of source code and configuration files that are deployed into a service.
Protobuf typegoogle.appengine.v1.Version
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Version.Builder
A Version resource is a specific set of source code and configuration files that are deployed into a service.static class
Version.ScalingCase
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete 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.boolean
equals(Object obj)
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.static Version
getDefaultInstance()
Version
getDefaultInstanceForType()
Deployment
getDeployment()
Code and application artifacts that make up this version.DeploymentOrBuilder
getDeploymentOrBuilder()
Code and application artifacts that make up this version.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
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.com.google.protobuf.Parser<Version>
getParserForType()
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()
int
getSerializedSize()
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.com.google.protobuf.ProtocolStringList
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.int
hashCode()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Version.Builder
newBuilder()
static Version.Builder
newBuilder(Version prototype)
Version.Builder
newBuilderForType()
protected Version.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Version
parseDelimitedFrom(InputStream input)
static Version
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Version
parseFrom(byte[] data)
static Version
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Version
parseFrom(com.google.protobuf.ByteString data)
static Version
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Version
parseFrom(com.google.protobuf.CodedInputStream input)
static Version
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Version
parseFrom(InputStream input)
static Version
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Version
parseFrom(ByteBuffer data)
static Version
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Version>
parser()
Version.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTOMATIC_SCALING_FIELD_NUMBER
public static final int AUTOMATIC_SCALING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BASIC_SCALING_FIELD_NUMBER
public static final int BASIC_SCALING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MANUAL_SCALING_FIELD_NUMBER
public static final int MANUAL_SCALING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INBOUND_SERVICES_FIELD_NUMBER
public static final int INBOUND_SERVICES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INSTANCE_CLASS_FIELD_NUMBER
public static final int INSTANCE_CLASS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORK_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ZONES_FIELD_NUMBER
public static final int ZONES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCES_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUNTIME_FIELD_NUMBER
public static final int RUNTIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUNTIME_CHANNEL_FIELD_NUMBER
public static final int RUNTIME_CHANNEL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
THREADSAFE_FIELD_NUMBER
public static final int THREADSAFE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VM_FIELD_NUMBER
public static final int VM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APP_ENGINE_APIS_FIELD_NUMBER
public static final int APP_ENGINE_APIS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BETA_SETTINGS_FIELD_NUMBER
public static final int BETA_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENV_FIELD_NUMBER
public static final int ENV_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVING_STATUS_FIELD_NUMBER
public static final int SERVING_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATED_BY_FIELD_NUMBER
public static final int CREATED_BY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISK_USAGE_BYTES_FIELD_NUMBER
public static final int DISK_USAGE_BYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUNTIME_API_VERSION_FIELD_NUMBER
public static final int RUNTIME_API_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUNTIME_MAIN_EXECUTABLE_PATH_FIELD_NUMBER
public static final int RUNTIME_MAIN_EXECUTABLE_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HANDLERS_FIELD_NUMBER
public static final int HANDLERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_HANDLERS_FIELD_NUMBER
public static final int ERROR_HANDLERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LIBRARIES_FIELD_NUMBER
public static final int LIBRARIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
API_CONFIG_FIELD_NUMBER
public static final int API_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENV_VARIABLES_FIELD_NUMBER
public static final int ENV_VARIABLES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BUILD_ENV_VARIABLES_FIELD_NUMBER
public static final int BUILD_ENV_VARIABLES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEFAULT_EXPIRATION_FIELD_NUMBER
public static final int DEFAULT_EXPIRATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEALTH_CHECK_FIELD_NUMBER
public static final int HEALTH_CHECK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
READINESS_CHECK_FIELD_NUMBER
public static final int READINESS_CHECK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LIVENESS_CHECK_FIELD_NUMBER
public static final int LIVENESS_CHECK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NOBUILD_FILES_REGEX_FIELD_NUMBER
public static final int NOBUILD_FILES_REGEX_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPLOYMENT_FIELD_NUMBER
public static final int DEPLOYMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_URL_FIELD_NUMBER
public static final int VERSION_URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENDPOINTS_API_SERVICE_FIELD_NUMBER
public static final int ENDPOINTS_API_SERVICE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENTRYPOINT_FIELD_NUMBER
public static final int ENTRYPOINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VPC_ACCESS_CONNECTOR_FIELD_NUMBER
public static final int VPC_ACCESS_CONNECTOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getScalingCase
public Version.ScalingCase getScalingCase()
- Specified by:
getScalingCase
in interfaceVersionOrBuilder
-
getName
public String getName()
Full path to the Version resource in the API. Example: `apps/myapp/services/default/versions/v1`. @OutputOnly
string name = 1;
- Specified by:
getName
in interfaceVersionOrBuilder
- Returns:
- The name.
-
getNameBytes
public 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;
- Specified by:
getNameBytes
in interfaceVersionOrBuilder
- Returns:
- The bytes for name.
-
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;
- Specified by:
getId
in interfaceVersionOrBuilder
- Returns:
- The id.
-
getIdBytes
public 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;
- Specified by:
getIdBytes
in interfaceVersionOrBuilder
- Returns:
- The bytes for id.
-
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;
- Specified by:
hasAutomaticScaling
in interfaceVersionOrBuilder
- Returns:
- Whether the automaticScaling field is set.
-
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;
- Specified by:
getAutomaticScaling
in interfaceVersionOrBuilder
- Returns:
- 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;
- Specified by:
getAutomaticScalingOrBuilder
in interfaceVersionOrBuilder
-
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;
- Specified by:
hasBasicScaling
in interfaceVersionOrBuilder
- Returns:
- Whether the basicScaling field is set.
-
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;
- Specified by:
getBasicScaling
in interfaceVersionOrBuilder
- Returns:
- 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;
- Specified by:
getBasicScalingOrBuilder
in interfaceVersionOrBuilder
-
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;
- Specified by:
hasManualScaling
in interfaceVersionOrBuilder
- Returns:
- Whether the manualScaling field is set.
-
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;
- Specified by:
getManualScaling
in interfaceVersionOrBuilder
- Returns:
- 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;
- Specified by:
getManualScalingOrBuilder
in interfaceVersionOrBuilder
-
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;
- Specified by:
getInboundServicesList
in interfaceVersionOrBuilder
- Returns:
- A list containing the inboundServices.
-
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;
- Specified by:
getInboundServicesCount
in interfaceVersionOrBuilder
- Returns:
- The count of inboundServices.
-
getInboundServices
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;
- Specified by:
getInboundServices
in interfaceVersionOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The 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;
- Specified by:
getInboundServicesValueList
in interfaceVersionOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for inboundServices.
-
getInboundServicesValue
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;
- Specified by:
getInboundServicesValue
in interfaceVersionOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of inboundServices at the given index.
-
getInstanceClass
public String getInstanceClass()
Instance class that is used to run this version. Valid values are: * AutomaticScaling: `F1`, `F2`, `F4`, `F4_1G` * ManualScaling or BasicScaling: `B1`, `B2`, `B4`, `B8`, `B4_1G` Defaults to `F1` for AutomaticScaling and `B1` for ManualScaling or BasicScaling.
string instance_class = 7;
- Specified by:
getInstanceClass
in interfaceVersionOrBuilder
- Returns:
- The instanceClass.
-
getInstanceClassBytes
public 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;
- Specified by:
getInstanceClassBytes
in interfaceVersionOrBuilder
- Returns:
- The bytes for instanceClass.
-
hasNetwork
public boolean hasNetwork()
Extra network settings. Only applicable in the App Engine flexible environment.
.google.appengine.v1.Network network = 8;
- Specified by:
hasNetwork
in interfaceVersionOrBuilder
- Returns:
- Whether the network field is set.
-
getNetwork
public Network getNetwork()
Extra network settings. Only applicable in the App Engine flexible environment.
.google.appengine.v1.Network network = 8;
- Specified by:
getNetwork
in interfaceVersionOrBuilder
- Returns:
- The network.
-
getNetworkOrBuilder
public NetworkOrBuilder getNetworkOrBuilder()
Extra network settings. Only applicable in the App Engine flexible environment.
.google.appengine.v1.Network network = 8;
- Specified by:
getNetworkOrBuilder
in interfaceVersionOrBuilder
-
getZonesList
public com.google.protobuf.ProtocolStringList getZonesList()
The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. Deprecated.
repeated string zones = 118;
- Specified by:
getZonesList
in interfaceVersionOrBuilder
- Returns:
- A list containing the zones.
-
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;
- Specified by:
getZonesCount
in interfaceVersionOrBuilder
- Returns:
- The count of zones.
-
getZones
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;
- Specified by:
getZones
in interfaceVersionOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The zones at the given index.
-
getZonesBytes
public 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;
- Specified by:
getZonesBytes
in interfaceVersionOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the zones at the given index.
-
hasResources
public boolean hasResources()
Machine resources for this version. Only applicable in the App Engine flexible environment.
.google.appengine.v1.Resources resources = 9;
- Specified by:
hasResources
in interfaceVersionOrBuilder
- Returns:
- Whether the resources field is set.
-
getResources
public Resources getResources()
Machine resources for this version. Only applicable in the App Engine flexible environment.
.google.appengine.v1.Resources resources = 9;
- Specified by:
getResources
in interfaceVersionOrBuilder
- Returns:
- 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;
- Specified by:
getResourcesOrBuilder
in interfaceVersionOrBuilder
-
getRuntime
public String getRuntime()
Desired runtime. Example: `python27`.
string runtime = 10;
- Specified by:
getRuntime
in interfaceVersionOrBuilder
- Returns:
- The runtime.
-
getRuntimeBytes
public com.google.protobuf.ByteString getRuntimeBytes()
Desired runtime. Example: `python27`.
string runtime = 10;
- Specified by:
getRuntimeBytes
in interfaceVersionOrBuilder
- Returns:
- 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;
- Specified by:
getRuntimeChannel
in interfaceVersionOrBuilder
- Returns:
- The runtimeChannel.
-
getRuntimeChannelBytes
public 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;
- Specified by:
getRuntimeChannelBytes
in interfaceVersionOrBuilder
- Returns:
- The bytes for runtimeChannel.
-
getThreadsafe
public boolean getThreadsafe()
Whether multiple requests can be dispatched to this version at once.
bool threadsafe = 11;
- Specified by:
getThreadsafe
in interfaceVersionOrBuilder
- Returns:
- The threadsafe.
-
getVm
public boolean getVm()
Whether to deploy this version in a container on a virtual machine.
bool vm = 12;
- Specified by:
getVm
in interfaceVersionOrBuilder
- Returns:
- The vm.
-
getAppEngineApis
public boolean getAppEngineApis()
Allows App Engine second generation runtimes to access the legacy bundled services.
bool app_engine_apis = 128;
- Specified by:
getAppEngineApis
in interfaceVersionOrBuilder
- Returns:
- The appEngineApis.
-
getBetaSettingsCount
public int getBetaSettingsCount()
Description copied from interface:VersionOrBuilder
Metadata settings that are supplied to this version to enable beta runtime features.
map<string, string> beta_settings = 13;
- Specified by:
getBetaSettingsCount
in interfaceVersionOrBuilder
-
containsBetaSettings
public boolean containsBetaSettings(String key)
Metadata settings that are supplied to this version to enable beta runtime features.
map<string, string> beta_settings = 13;
- Specified by:
containsBetaSettings
in interfaceVersionOrBuilder
-
getBetaSettings
@Deprecated public Map<String,String> getBetaSettings()
Deprecated.UsegetBetaSettingsMap()
instead.- Specified by:
getBetaSettings
in interfaceVersionOrBuilder
-
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;
- Specified by:
getBetaSettingsMap
in interfaceVersionOrBuilder
-
getBetaSettingsOrDefault
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;
- Specified by:
getBetaSettingsOrDefault
in interfaceVersionOrBuilder
-
getBetaSettingsOrThrow
public String getBetaSettingsOrThrow(String key)
Metadata settings that are supplied to this version to enable beta runtime features.
map<string, string> beta_settings = 13;
- Specified by:
getBetaSettingsOrThrow
in interfaceVersionOrBuilder
-
getEnv
public String getEnv()
App Engine execution environment for this version. Defaults to `standard`.
string env = 14;
- Specified by:
getEnv
in interfaceVersionOrBuilder
- Returns:
- The env.
-
getEnvBytes
public com.google.protobuf.ByteString getEnvBytes()
App Engine execution environment for this version. Defaults to `standard`.
string env = 14;
- Specified by:
getEnvBytes
in interfaceVersionOrBuilder
- Returns:
- The bytes for env.
-
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;
- Specified by:
getServingStatusValue
in interfaceVersionOrBuilder
- Returns:
- The enum numeric value on the wire for servingStatus.
-
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;
- Specified by:
getServingStatus
in interfaceVersionOrBuilder
- Returns:
- The servingStatus.
-
getCreatedBy
public String getCreatedBy()
Email address of the user who created this version. @OutputOnly
string created_by = 16;
- Specified by:
getCreatedBy
in interfaceVersionOrBuilder
- Returns:
- The createdBy.
-
getCreatedByBytes
public com.google.protobuf.ByteString getCreatedByBytes()
Email address of the user who created this version. @OutputOnly
string created_by = 16;
- Specified by:
getCreatedByBytes
in interfaceVersionOrBuilder
- Returns:
- The bytes for createdBy.
-
hasCreateTime
public boolean hasCreateTime()
Time that this version was created. @OutputOnly
.google.protobuf.Timestamp create_time = 17;
- Specified by:
hasCreateTime
in interfaceVersionOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Time that this version was created. @OutputOnly
.google.protobuf.Timestamp create_time = 17;
- Specified by:
getCreateTime
in interfaceVersionOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Time that this version was created. @OutputOnly
.google.protobuf.Timestamp create_time = 17;
- Specified by:
getCreateTimeOrBuilder
in interfaceVersionOrBuilder
-
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;
- Specified by:
getDiskUsageBytes
in interfaceVersionOrBuilder
- Returns:
- The diskUsageBytes.
-
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;
- Specified by:
getRuntimeApiVersion
in interfaceVersionOrBuilder
- Returns:
- The runtimeApiVersion.
-
getRuntimeApiVersionBytes
public 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;
- Specified by:
getRuntimeApiVersionBytes
in interfaceVersionOrBuilder
- Returns:
- The bytes for runtimeApiVersion.
-
getRuntimeMainExecutablePath
public String getRuntimeMainExecutablePath()
The path or name of the app's main executable.
string runtime_main_executable_path = 22;
- Specified by:
getRuntimeMainExecutablePath
in interfaceVersionOrBuilder
- Returns:
- The runtimeMainExecutablePath.
-
getRuntimeMainExecutablePathBytes
public com.google.protobuf.ByteString getRuntimeMainExecutablePathBytes()
The path or name of the app's main executable.
string runtime_main_executable_path = 22;
- Specified by:
getRuntimeMainExecutablePathBytes
in interfaceVersionOrBuilder
- Returns:
- The bytes for runtimeMainExecutablePath.
-
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;
- Specified by:
getServiceAccount
in interfaceVersionOrBuilder
- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public 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;
- Specified by:
getServiceAccountBytes
in interfaceVersionOrBuilder
- Returns:
- The bytes for serviceAccount.
-
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;
- Specified by:
getHandlersList
in interfaceVersionOrBuilder
-
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;
- Specified by:
getHandlersOrBuilderList
in interfaceVersionOrBuilder
-
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;
- Specified by:
getHandlersCount
in interfaceVersionOrBuilder
-
getHandlers
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;
- Specified by:
getHandlers
in interfaceVersionOrBuilder
-
getHandlersOrBuilder
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;
- Specified by:
getHandlersOrBuilder
in interfaceVersionOrBuilder
-
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;
- Specified by:
getErrorHandlersList
in interfaceVersionOrBuilder
-
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;
- Specified by:
getErrorHandlersOrBuilderList
in interfaceVersionOrBuilder
-
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;
- Specified by:
getErrorHandlersCount
in interfaceVersionOrBuilder
-
getErrorHandlers
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;
- Specified by:
getErrorHandlers
in interfaceVersionOrBuilder
-
getErrorHandlersOrBuilder
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;
- Specified by:
getErrorHandlersOrBuilder
in interfaceVersionOrBuilder
-
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;
- Specified by:
getLibrariesList
in interfaceVersionOrBuilder
-
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;
- Specified by:
getLibrariesOrBuilderList
in interfaceVersionOrBuilder
-
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;
- Specified by:
getLibrariesCount
in interfaceVersionOrBuilder
-
getLibraries
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;
- Specified by:
getLibraries
in interfaceVersionOrBuilder
-
getLibrariesOrBuilder
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;
- Specified by:
getLibrariesOrBuilder
in interfaceVersionOrBuilder
-
hasApiConfig
public 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;
- Specified by:
hasApiConfig
in interfaceVersionOrBuilder
- Returns:
- Whether the apiConfig field is set.
-
getApiConfig
public 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;
- Specified by:
getApiConfig
in interfaceVersionOrBuilder
- Returns:
- The apiConfig.
-
getApiConfigOrBuilder
public 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;
- Specified by:
getApiConfigOrBuilder
in interfaceVersionOrBuilder
-
getEnvVariablesCount
public int getEnvVariablesCount()
Description copied from interface:VersionOrBuilder
Environment variables available to the application. Only returned in `GET` requests if `view=FULL` is set.
map<string, string> env_variables = 104;
- Specified by:
getEnvVariablesCount
in interfaceVersionOrBuilder
-
containsEnvVariables
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;
- Specified by:
containsEnvVariables
in interfaceVersionOrBuilder
-
getEnvVariables
@Deprecated public Map<String,String> getEnvVariables()
Deprecated.UsegetEnvVariablesMap()
instead.- Specified by:
getEnvVariables
in interfaceVersionOrBuilder
-
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;
- Specified by:
getEnvVariablesMap
in interfaceVersionOrBuilder
-
getEnvVariablesOrDefault
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;
- Specified by:
getEnvVariablesOrDefault
in interfaceVersionOrBuilder
-
getEnvVariablesOrThrow
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;
- Specified by:
getEnvVariablesOrThrow
in interfaceVersionOrBuilder
-
getBuildEnvVariablesCount
public int getBuildEnvVariablesCount()
Description copied from interface:VersionOrBuilder
Environment variables available to the build environment. Only returned in `GET` requests if `view=FULL` is set.
map<string, string> build_env_variables = 125;
- Specified by:
getBuildEnvVariablesCount
in interfaceVersionOrBuilder
-
containsBuildEnvVariables
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;
- Specified by:
containsBuildEnvVariables
in interfaceVersionOrBuilder
-
getBuildEnvVariables
@Deprecated public Map<String,String> getBuildEnvVariables()
Deprecated.UsegetBuildEnvVariablesMap()
instead.- Specified by:
getBuildEnvVariables
in interfaceVersionOrBuilder
-
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;
- Specified by:
getBuildEnvVariablesMap
in interfaceVersionOrBuilder
-
getBuildEnvVariablesOrDefault
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;
- Specified by:
getBuildEnvVariablesOrDefault
in interfaceVersionOrBuilder
-
getBuildEnvVariablesOrThrow
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;
- Specified by:
getBuildEnvVariablesOrThrow
in interfaceVersionOrBuilder
-
hasDefaultExpiration
public 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;
- Specified by:
hasDefaultExpiration
in interfaceVersionOrBuilder
- Returns:
- Whether the defaultExpiration field is set.
-
getDefaultExpiration
public 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;
- Specified by:
getDefaultExpiration
in interfaceVersionOrBuilder
- Returns:
- The defaultExpiration.
-
getDefaultExpirationOrBuilder
public 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;
- Specified by:
getDefaultExpirationOrBuilder
in interfaceVersionOrBuilder
-
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;
- Specified by:
hasHealthCheck
in interfaceVersionOrBuilder
- Returns:
- Whether the healthCheck field is set.
-
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;
- Specified by:
getHealthCheck
in interfaceVersionOrBuilder
- Returns:
- 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;
- Specified by:
getHealthCheckOrBuilder
in interfaceVersionOrBuilder
-
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;
- Specified by:
hasReadinessCheck
in interfaceVersionOrBuilder
- Returns:
- Whether the readinessCheck field is set.
-
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;
- Specified by:
getReadinessCheck
in interfaceVersionOrBuilder
- Returns:
- 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;
- Specified by:
getReadinessCheckOrBuilder
in interfaceVersionOrBuilder
-
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;
- Specified by:
hasLivenessCheck
in interfaceVersionOrBuilder
- Returns:
- Whether the livenessCheck field is set.
-
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;
- Specified by:
getLivenessCheck
in interfaceVersionOrBuilder
- Returns:
- 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;
- Specified by:
getLivenessCheckOrBuilder
in interfaceVersionOrBuilder
-
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;
- Specified by:
getNobuildFilesRegex
in interfaceVersionOrBuilder
- Returns:
- The nobuildFilesRegex.
-
getNobuildFilesRegexBytes
public 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;
- Specified by:
getNobuildFilesRegexBytes
in interfaceVersionOrBuilder
- Returns:
- The bytes for nobuildFilesRegex.
-
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;
- Specified by:
hasDeployment
in interfaceVersionOrBuilder
- Returns:
- Whether the deployment field is set.
-
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;
- Specified by:
getDeployment
in interfaceVersionOrBuilder
- Returns:
- 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;
- Specified by:
getDeploymentOrBuilder
in interfaceVersionOrBuilder
-
getVersionUrl
public String getVersionUrl()
Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com" @OutputOnly
string version_url = 109;
- Specified by:
getVersionUrl
in interfaceVersionOrBuilder
- Returns:
- The versionUrl.
-
getVersionUrlBytes
public com.google.protobuf.ByteString getVersionUrlBytes()
Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com" @OutputOnly
string version_url = 109;
- Specified by:
getVersionUrlBytes
in interfaceVersionOrBuilder
- Returns:
- The bytes for versionUrl.
-
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;
- Specified by:
hasEndpointsApiService
in interfaceVersionOrBuilder
- Returns:
- Whether the endpointsApiService field is set.
-
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;
- Specified by:
getEndpointsApiService
in interfaceVersionOrBuilder
- Returns:
- 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;
- Specified by:
getEndpointsApiServiceOrBuilder
in interfaceVersionOrBuilder
-
hasEntrypoint
public boolean hasEntrypoint()
The entrypoint for the application.
.google.appengine.v1.Entrypoint entrypoint = 122;
- Specified by:
hasEntrypoint
in interfaceVersionOrBuilder
- Returns:
- Whether the entrypoint field is set.
-
getEntrypoint
public Entrypoint getEntrypoint()
The entrypoint for the application.
.google.appengine.v1.Entrypoint entrypoint = 122;
- Specified by:
getEntrypoint
in interfaceVersionOrBuilder
- Returns:
- The entrypoint.
-
getEntrypointOrBuilder
public EntrypointOrBuilder getEntrypointOrBuilder()
The entrypoint for the application.
.google.appengine.v1.Entrypoint entrypoint = 122;
- Specified by:
getEntrypointOrBuilder
in interfaceVersionOrBuilder
-
hasVpcAccessConnector
public boolean hasVpcAccessConnector()
Enables VPC connectivity for standard apps.
.google.appengine.v1.VpcAccessConnector vpc_access_connector = 121;
- Specified by:
hasVpcAccessConnector
in interfaceVersionOrBuilder
- Returns:
- Whether the vpcAccessConnector field is set.
-
getVpcAccessConnector
public VpcAccessConnector getVpcAccessConnector()
Enables VPC connectivity for standard apps.
.google.appengine.v1.VpcAccessConnector vpc_access_connector = 121;
- Specified by:
getVpcAccessConnector
in interfaceVersionOrBuilder
- Returns:
- The vpcAccessConnector.
-
getVpcAccessConnectorOrBuilder
public VpcAccessConnectorOrBuilder getVpcAccessConnectorOrBuilder()
Enables VPC connectivity for standard apps.
.google.appengine.v1.VpcAccessConnector vpc_access_connector = 121;
- Specified by:
getVpcAccessConnectorOrBuilder
in interfaceVersionOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Version parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Version parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Version parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Version parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Version parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Version parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Version parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Version parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Version parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Version parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Version parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Version parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Version.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Version.Builder newBuilder()
-
newBuilder
public static Version.Builder newBuilder(Version prototype)
-
toBuilder
public Version.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Version.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Version getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Version> parser()
-
getParserForType
public com.google.protobuf.Parser<Version> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Version getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-