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 classVersion.BuilderA Version resource is a specific set of source code and configuration files that are deployed into a service.static classVersion.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 booleancontainsBetaSettings(String key)Metadata settings that are supplied to this version to enable beta runtime features.booleancontainsBuildEnvVariables(String key)Environment variables available to the build environment.booleancontainsEnvVariables(String key)Environment variables available to the application.booleanequals(Object obj)ApiConfigHandlergetApiConfig()Serving configuration for [Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/).ApiConfigHandlerOrBuildergetApiConfigOrBuilder()Serving configuration for [Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/).booleangetAppEngineApis()Allows App Engine second generation runtimes to access the legacy bundled services.AutomaticScalinggetAutomaticScaling()Automatic scaling is based on request rate, response latencies, and other application metrics.AutomaticScalingOrBuildergetAutomaticScalingOrBuilder()Automatic scaling is based on request rate, response latencies, and other application metrics.BasicScalinggetBasicScaling()A service with basic scaling will create an instance when the application receives a request.BasicScalingOrBuildergetBasicScalingOrBuilder()A service with basic scaling will create an instance when the application receives a request.Map<String,String>getBetaSettings()Deprecated.intgetBetaSettingsCount()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.StringgetBetaSettingsOrDefault(String key, String defaultValue)Metadata settings that are supplied to this version to enable beta runtime features.StringgetBetaSettingsOrThrow(String key)Metadata settings that are supplied to this version to enable beta runtime features.Map<String,String>getBuildEnvVariables()Deprecated.intgetBuildEnvVariablesCount()Environment variables available to the build environment.Map<String,String>getBuildEnvVariablesMap()Environment variables available to the build environment.StringgetBuildEnvVariablesOrDefault(String key, String defaultValue)Environment variables available to the build environment.StringgetBuildEnvVariablesOrThrow(String key)Environment variables available to the build environment.StringgetCreatedBy()Email address of the user who created this version.com.google.protobuf.ByteStringgetCreatedByBytes()Email address of the user who created this version.com.google.protobuf.TimestampgetCreateTime()Time that this version was created.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Time that this version was created.com.google.protobuf.DurationgetDefaultExpiration()Duration that static files should be cached by web proxies and browsers.com.google.protobuf.DurationOrBuildergetDefaultExpirationOrBuilder()Duration that static files should be cached by web proxies and browsers.static VersiongetDefaultInstance()VersiongetDefaultInstanceForType()DeploymentgetDeployment()Code and application artifacts that make up this version.DeploymentOrBuildergetDeploymentOrBuilder()Code and application artifacts that make up this version.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetDiskUsageBytes()Total size in bytes of all the files that are included in this version and currently hosted on the App Engine disk.EndpointsApiServicegetEndpointsApiService()Cloud Endpoints configuration.EndpointsApiServiceOrBuildergetEndpointsApiServiceOrBuilder()Cloud Endpoints configuration.EntrypointgetEntrypoint()The entrypoint for the application.EntrypointOrBuildergetEntrypointOrBuilder()The entrypoint for the application.StringgetEnv()App Engine execution environment for this version.com.google.protobuf.ByteStringgetEnvBytes()App Engine execution environment for this version.Map<String,String>getEnvVariables()Deprecated.intgetEnvVariablesCount()Environment variables available to the application.Map<String,String>getEnvVariablesMap()Environment variables available to the application.StringgetEnvVariablesOrDefault(String key, String defaultValue)Environment variables available to the application.StringgetEnvVariablesOrThrow(String key)Environment variables available to the application.ErrorHandlergetErrorHandlers(int index)Custom static error pages.intgetErrorHandlersCount()Custom static error pages.List<ErrorHandler>getErrorHandlersList()Custom static error pages.ErrorHandlerOrBuildergetErrorHandlersOrBuilder(int index)Custom static error pages.List<? extends ErrorHandlerOrBuilder>getErrorHandlersOrBuilderList()Custom static error pages.UrlMapgetHandlers(int index)An ordered list of URL-matching patterns that should be applied to incoming requests.intgetHandlersCount()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.UrlMapOrBuildergetHandlersOrBuilder(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.HealthCheckgetHealthCheck()Configures health checking for instances.HealthCheckOrBuildergetHealthCheckOrBuilder()Configures health checking for instances.StringgetId()Relative name of the version within the service.com.google.protobuf.ByteStringgetIdBytes()Relative name of the version within the service.InboundServiceTypegetInboundServices(int index)Before an application can receive email or XMPP messages, the application must be configured to enable the service.intgetInboundServicesCount()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.intgetInboundServicesValue(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.StringgetInstanceClass()Instance class that is used to run this version.com.google.protobuf.ByteStringgetInstanceClassBytes()Instance class that is used to run this version.LibrarygetLibraries(int index)Configuration for third-party Python runtime libraries that are required by the application.intgetLibrariesCount()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.LibraryOrBuildergetLibrariesOrBuilder(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.LivenessCheckgetLivenessCheck()Configures liveness health checking for instances.LivenessCheckOrBuildergetLivenessCheckOrBuilder()Configures liveness health checking for instances.ManualScalinggetManualScaling()A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.ManualScalingOrBuildergetManualScalingOrBuilder()A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.StringgetName()Full path to the Version resource in the API.com.google.protobuf.ByteStringgetNameBytes()Full path to the Version resource in the API.NetworkgetNetwork()Extra network settings.NetworkOrBuildergetNetworkOrBuilder()Extra network settings.StringgetNobuildFilesRegex()Files that match this pattern will not be built into this version.com.google.protobuf.ByteStringgetNobuildFilesRegexBytes()Files that match this pattern will not be built into this version.com.google.protobuf.Parser<Version>getParserForType()ReadinessCheckgetReadinessCheck()Configures readiness health checking for instances.ReadinessCheckOrBuildergetReadinessCheckOrBuilder()Configures readiness health checking for instances.ResourcesgetResources()Machine resources for this version.ResourcesOrBuildergetResourcesOrBuilder()Machine resources for this version.StringgetRuntime()Desired runtime.StringgetRuntimeApiVersion()The version of the API in the given runtime environment.com.google.protobuf.ByteStringgetRuntimeApiVersionBytes()The version of the API in the given runtime environment.com.google.protobuf.ByteStringgetRuntimeBytes()Desired runtime.StringgetRuntimeChannel()The channel of the runtime to use.com.google.protobuf.ByteStringgetRuntimeChannelBytes()The channel of the runtime to use.StringgetRuntimeMainExecutablePath()The path or name of the app's main executable.com.google.protobuf.ByteStringgetRuntimeMainExecutablePathBytes()The path or name of the app's main executable.Version.ScalingCasegetScalingCase()intgetSerializedSize()StringgetServiceAccount()The identity that the deployed version will run as.com.google.protobuf.ByteStringgetServiceAccountBytes()The identity that the deployed version will run as.ServingStatusgetServingStatus()Current serving status of this version.intgetServingStatusValue()Current serving status of this version.booleangetThreadsafe()Whether multiple requests can be dispatched to this version at once.StringgetVersionUrl()Serving URL for this version.com.google.protobuf.ByteStringgetVersionUrlBytes()Serving URL for this version.booleangetVm()Whether to deploy this version in a container on a virtual machine.VpcAccessConnectorgetVpcAccessConnector()Enables VPC connectivity for standard apps.VpcAccessConnectorOrBuildergetVpcAccessConnectorOrBuilder()Enables VPC connectivity for standard apps.StringgetZones(int index)The Google Compute Engine zones that are supported by this version in the App Engine flexible environment.com.google.protobuf.ByteStringgetZonesBytes(int index)The Google Compute Engine zones that are supported by this version in the App Engine flexible environment.intgetZonesCount()The Google Compute Engine zones that are supported by this version in the App Engine flexible environment.com.google.protobuf.ProtocolStringListgetZonesList()The Google Compute Engine zones that are supported by this version in the App Engine flexible environment.booleanhasApiConfig()Serving configuration for [Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/).booleanhasAutomaticScaling()Automatic scaling is based on request rate, response latencies, and other application metrics.booleanhasBasicScaling()A service with basic scaling will create an instance when the application receives a request.booleanhasCreateTime()Time that this version was created.booleanhasDefaultExpiration()Duration that static files should be cached by web proxies and browsers.booleanhasDeployment()Code and application artifacts that make up this version.booleanhasEndpointsApiService()Cloud Endpoints configuration.booleanhasEntrypoint()The entrypoint for the application.inthashCode()booleanhasHealthCheck()Configures health checking for instances.booleanhasLivenessCheck()Configures liveness health checking for instances.booleanhasManualScaling()A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.booleanhasNetwork()Extra network settings.booleanhasReadinessCheck()Configures readiness health checking for instances.booleanhasResources()Machine resources for this version.booleanhasVpcAccessConnector()Enables VPC connectivity for standard apps.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Version.BuildernewBuilder()static Version.BuildernewBuilder(Version prototype)Version.BuildernewBuilderForType()protected Version.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static VersionparseDelimitedFrom(InputStream input)static VersionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VersionparseFrom(byte[] data)static VersionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VersionparseFrom(com.google.protobuf.ByteString data)static VersionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VersionparseFrom(com.google.protobuf.CodedInputStream input)static VersionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VersionparseFrom(InputStream input)static VersionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static VersionparseFrom(ByteBuffer data)static VersionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Version>parser()Version.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getScalingCase
public Version.ScalingCase getScalingCase()
- Specified by:
getScalingCasein 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:
getNamein 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:
getNameBytesin 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:
getIdin 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:
getIdBytesin 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:
hasAutomaticScalingin 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:
getAutomaticScalingin 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:
getAutomaticScalingOrBuilderin 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:
hasBasicScalingin 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:
getBasicScalingin 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:
getBasicScalingOrBuilderin 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:
hasManualScalingin 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:
getManualScalingin 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:
getManualScalingOrBuilderin 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:
getInboundServicesListin 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:
getInboundServicesCountin 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:
getInboundServicesin 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:
getInboundServicesValueListin 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:
getInboundServicesValuein 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:
getInstanceClassin 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:
getInstanceClassBytesin 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:
hasNetworkin 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:
getNetworkin 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:
getNetworkOrBuilderin 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:
getZonesListin 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:
getZonesCountin 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:
getZonesin 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:
getZonesBytesin 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:
hasResourcesin 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:
getResourcesin 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:
getResourcesOrBuilderin interfaceVersionOrBuilder
-
getRuntime
public String getRuntime()
Desired runtime. Example: `python27`.
string runtime = 10;- Specified by:
getRuntimein interfaceVersionOrBuilder- Returns:
- The runtime.
-
getRuntimeBytes
public com.google.protobuf.ByteString getRuntimeBytes()
Desired runtime. Example: `python27`.
string runtime = 10;- Specified by:
getRuntimeBytesin 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:
getRuntimeChannelin 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:
getRuntimeChannelBytesin 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:
getThreadsafein 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:
getVmin 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:
getAppEngineApisin interfaceVersionOrBuilder- Returns:
- The appEngineApis.
-
getBetaSettingsCount
public int getBetaSettingsCount()
Description copied from interface:VersionOrBuilderMetadata settings that are supplied to this version to enable beta runtime features.
map<string, string> beta_settings = 13;- Specified by:
getBetaSettingsCountin 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:
containsBetaSettingsin interfaceVersionOrBuilder
-
getBetaSettings
@Deprecated public Map<String,String> getBetaSettings()
Deprecated.UsegetBetaSettingsMap()instead.- Specified by:
getBetaSettingsin 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:
getBetaSettingsMapin 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:
getBetaSettingsOrDefaultin 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:
getBetaSettingsOrThrowin interfaceVersionOrBuilder
-
getEnv
public String getEnv()
App Engine execution environment for this version. Defaults to `standard`.
string env = 14;- Specified by:
getEnvin 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:
getEnvBytesin 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:
getServingStatusValuein 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:
getServingStatusin interfaceVersionOrBuilder- Returns:
- The servingStatus.
-
getCreatedBy
public String getCreatedBy()
Email address of the user who created this version. @OutputOnly
string created_by = 16;- Specified by:
getCreatedByin 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:
getCreatedByBytesin 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:
hasCreateTimein 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:
getCreateTimein 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:
getCreateTimeOrBuilderin 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:
getDiskUsageBytesin 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:
getRuntimeApiVersionin 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:
getRuntimeApiVersionBytesin 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:
getRuntimeMainExecutablePathin 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:
getRuntimeMainExecutablePathBytesin 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:
getServiceAccountin 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:
getServiceAccountBytesin 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:
getHandlersListin 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:
getHandlersOrBuilderListin 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:
getHandlersCountin 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:
getHandlersin 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:
getHandlersOrBuilderin 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:
getErrorHandlersListin 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:
getErrorHandlersOrBuilderListin 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:
getErrorHandlersCountin 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:
getErrorHandlersin 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:
getErrorHandlersOrBuilderin 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:
getLibrariesListin 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:
getLibrariesOrBuilderListin 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:
getLibrariesCountin 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:
getLibrariesin 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:
getLibrariesOrBuilderin 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:
hasApiConfigin 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:
getApiConfigin 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:
getApiConfigOrBuilderin interfaceVersionOrBuilder
-
getEnvVariablesCount
public int getEnvVariablesCount()
Description copied from interface:VersionOrBuilderEnvironment variables available to the application. Only returned in `GET` requests if `view=FULL` is set.
map<string, string> env_variables = 104;- Specified by:
getEnvVariablesCountin 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:
containsEnvVariablesin interfaceVersionOrBuilder
-
getEnvVariables
@Deprecated public Map<String,String> getEnvVariables()
Deprecated.UsegetEnvVariablesMap()instead.- Specified by:
getEnvVariablesin 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:
getEnvVariablesMapin 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:
getEnvVariablesOrDefaultin 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:
getEnvVariablesOrThrowin interfaceVersionOrBuilder
-
getBuildEnvVariablesCount
public int getBuildEnvVariablesCount()
Description copied from interface:VersionOrBuilderEnvironment 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:
getBuildEnvVariablesCountin 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:
containsBuildEnvVariablesin interfaceVersionOrBuilder
-
getBuildEnvVariables
@Deprecated public Map<String,String> getBuildEnvVariables()
Deprecated.UsegetBuildEnvVariablesMap()instead.- Specified by:
getBuildEnvVariablesin 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:
getBuildEnvVariablesMapin 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:
getBuildEnvVariablesOrDefaultin 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:
getBuildEnvVariablesOrThrowin 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:
hasDefaultExpirationin 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:
getDefaultExpirationin 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:
getDefaultExpirationOrBuilderin 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:
hasHealthCheckin 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:
getHealthCheckin 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:
getHealthCheckOrBuilderin 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:
hasReadinessCheckin 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:
getReadinessCheckin 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:
getReadinessCheckOrBuilderin 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:
hasLivenessCheckin 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:
getLivenessCheckin 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:
getLivenessCheckOrBuilderin 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:
getNobuildFilesRegexin 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:
getNobuildFilesRegexBytesin 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:
hasDeploymentin 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:
getDeploymentin 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:
getDeploymentOrBuilderin 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:
getVersionUrlin 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:
getVersionUrlBytesin 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:
hasEndpointsApiServicein 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:
getEndpointsApiServicein 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:
getEndpointsApiServiceOrBuilderin interfaceVersionOrBuilder
-
hasEntrypoint
public boolean hasEntrypoint()
The entrypoint for the application.
.google.appengine.v1.Entrypoint entrypoint = 122;- Specified by:
hasEntrypointin 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:
getEntrypointin interfaceVersionOrBuilder- Returns:
- The entrypoint.
-
getEntrypointOrBuilder
public EntrypointOrBuilder getEntrypointOrBuilder()
The entrypoint for the application.
.google.appengine.v1.Entrypoint entrypoint = 122;- Specified by:
getEntrypointOrBuilderin interfaceVersionOrBuilder
-
hasVpcAccessConnector
public boolean hasVpcAccessConnector()
Enables VPC connectivity for standard apps.
.google.appengine.v1.VpcAccessConnector vpc_access_connector = 121;- Specified by:
hasVpcAccessConnectorin 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:
getVpcAccessConnectorin interfaceVersionOrBuilder- Returns:
- The vpcAccessConnector.
-
getVpcAccessConnectorOrBuilder
public VpcAccessConnectorOrBuilder getVpcAccessConnectorOrBuilder()
Enables VPC connectivity for standard apps.
.google.appengine.v1.VpcAccessConnector vpc_access_connector = 121;- Specified by:
getVpcAccessConnectorOrBuilderin interfaceVersionOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Version.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Version getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-