public final class Version extends GeneratedMessageV3 implements VersionOrBuilder
A Version resource is a specific set of source code and configuration files that are deployed into a service.Protobuf type
google.appengine.v1.Version| Modifier and Type | Class and 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 |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTablealwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
containsBetaSettings(java.lang.String key)
Metadata settings that are supplied to this version to enable
beta runtime features.
|
boolean |
containsEnvVariables(java.lang.String key)
Environment variables available to the application.
|
boolean |
equals(java.lang.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/).
|
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.
|
java.util.Map<java.lang.String,java.lang.String> |
getBetaSettings()
Deprecated.
|
int |
getBetaSettingsCount()
Metadata settings that are supplied to this version to enable
beta runtime features.
|
java.util.Map<java.lang.String,java.lang.String> |
getBetaSettingsMap()
Metadata settings that are supplied to this version to enable
beta runtime features.
|
java.lang.String |
getBetaSettingsOrDefault(java.lang.String key,
java.lang.String defaultValue)
Metadata settings that are supplied to this version to enable
beta runtime features.
|
java.lang.String |
getBetaSettingsOrThrow(java.lang.String key)
Metadata settings that are supplied to this version to enable
beta runtime features.
|
java.lang.String |
getCreatedBy()
Email address of the user who created this version.
|
ByteString |
getCreatedByBytes()
Email address of the user who created this version.
|
Timestamp |
getCreateTime()
Time that this version was created.
|
TimestampOrBuilder |
getCreateTimeOrBuilder()
Time that this version was created.
|
Duration |
getDefaultExpiration()
Duration that static files should be cached by web proxies and browsers.
|
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 Descriptors.Descriptor |
getDescriptor() |
long |
getDiskUsageBytes()
Total size in bytes of all the files that are included in this version
and curerntly hosted on the App Engine disk.
|
java.lang.String |
getEnv()
App Engine execution environment for this version.
|
ByteString |
getEnvBytes()
App Engine execution environment for this version.
|
java.util.Map<java.lang.String,java.lang.String> |
getEnvVariables()
Deprecated.
|
int |
getEnvVariablesCount()
Environment variables available to the application.
|
java.util.Map<java.lang.String,java.lang.String> |
getEnvVariablesMap()
Environment variables available to the application.
|
java.lang.String |
getEnvVariablesOrDefault(java.lang.String key,
java.lang.String defaultValue)
Environment variables available to the application.
|
java.lang.String |
getEnvVariablesOrThrow(java.lang.String key)
Environment variables available to the application.
|
ErrorHandler |
getErrorHandlers(int index)
Custom static error pages.
|
int |
getErrorHandlersCount()
Custom static error pages.
|
java.util.List<ErrorHandler> |
getErrorHandlersList()
Custom static error pages.
|
ErrorHandlerOrBuilder |
getErrorHandlersOrBuilder(int index)
Custom static error pages.
|
java.util.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.
|
java.util.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.
|
java.util.List<? extends UrlMapOrBuilder> |
getHandlersOrBuilderList()
An ordered list of URL-matching patterns that should be applied to incoming
requests.
|
HealthCheck |
getHealthCheck()
Configures health checking for VM instances.
|
HealthCheckOrBuilder |
getHealthCheckOrBuilder()
Configures health checking for VM instances.
|
java.lang.String |
getId()
Relative name of the version within the service.
|
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.
|
java.util.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.
|
java.util.List<java.lang.Integer> |
getInboundServicesValueList()
Before an application can receive email or XMPP messages, the application
must be configured to enable the service.
|
java.lang.String |
getInstanceClass()
Instance class that is used to run this version.
|
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.
|
java.util.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.
|
java.util.List<? extends LibraryOrBuilder> |
getLibrariesOrBuilderList()
Configuration for third-party Python runtime libraries that are required
by the application.
|
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.
|
java.lang.String |
getName()
Full path to the Version resource in the API.
|
ByteString |
getNameBytes()
Full path to the Version resource in the API.
|
Network |
getNetwork()
Extra network settings.
|
NetworkOrBuilder |
getNetworkOrBuilder()
Extra network settings.
|
java.lang.String |
getNobuildFilesRegex()
Files that match this pattern will not be built into this version.
|
ByteString |
getNobuildFilesRegexBytes()
Files that match this pattern will not be built into this version.
|
Parser<Version> |
getParserForType() |
Resources |
getResources()
Machine resources for this version.
|
ResourcesOrBuilder |
getResourcesOrBuilder()
Machine resources for this version.
|
java.lang.String |
getRuntime()
Desired runtime.
|
ByteString |
getRuntimeBytes()
Desired runtime.
|
Version.ScalingCase |
getScalingCase() |
int |
getSerializedSize() |
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.
|
UnknownFieldSet |
getUnknownFields() |
java.lang.String |
getVersionUrl()
Serving URL for this version.
|
ByteString |
getVersionUrlBytes()
Serving URL for this version.
|
boolean |
getVm()
Whether to deploy this version in a container on a virtual machine.
|
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.
|
int |
hashCode() |
boolean |
hasHealthCheck()
Configures health checking for VM 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 |
hasResources()
Machine resources for this version.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Version.Builder |
newBuilder() |
static Version.Builder |
newBuilder(Version prototype) |
Version.Builder |
newBuilderForType() |
protected Version.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static Version |
parseDelimitedFrom(java.io.InputStream input) |
static Version |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Version |
parseFrom(byte[] data) |
static Version |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Version |
parseFrom(java.nio.ByteBuffer data) |
static Version |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Version |
parseFrom(ByteString data) |
static Version |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Version |
parseFrom(CodedInputStream input) |
static Version |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Version |
parseFrom(java.io.InputStream input) |
static Version |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Version> |
parser() |
Version.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int AUTOMATIC_SCALING_FIELD_NUMBER
public static final int BASIC_SCALING_FIELD_NUMBER
public static final int MANUAL_SCALING_FIELD_NUMBER
public static final int INBOUND_SERVICES_FIELD_NUMBER
public static final int INSTANCE_CLASS_FIELD_NUMBER
public static final int NETWORK_FIELD_NUMBER
public static final int RESOURCES_FIELD_NUMBER
public static final int RUNTIME_FIELD_NUMBER
public static final int THREADSAFE_FIELD_NUMBER
public static final int VM_FIELD_NUMBER
public static final int BETA_SETTINGS_FIELD_NUMBER
public static final int ENV_FIELD_NUMBER
public static final int SERVING_STATUS_FIELD_NUMBER
public static final int CREATED_BY_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int DISK_USAGE_BYTES_FIELD_NUMBER
public static final int HANDLERS_FIELD_NUMBER
public static final int ERROR_HANDLERS_FIELD_NUMBER
public static final int LIBRARIES_FIELD_NUMBER
public static final int API_CONFIG_FIELD_NUMBER
public static final int ENV_VARIABLES_FIELD_NUMBER
public static final int DEFAULT_EXPIRATION_FIELD_NUMBER
public static final int HEALTH_CHECK_FIELD_NUMBER
public static final int NOBUILD_FILES_REGEX_FIELD_NUMBER
public static final int DEPLOYMENT_FIELD_NUMBER
public static final int VERSION_URL_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField in class GeneratedMessageV3protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public Version.ScalingCase getScalingCase()
getScalingCase in interface VersionOrBuilderpublic java.lang.String getName()
Full path to the Version resource in the API. Example: `apps/myapp/services/default/versions/v1`. @OutputOnly
string name = 1;getName in interface VersionOrBuilderpublic ByteString getNameBytes()
Full path to the Version resource in the API. Example: `apps/myapp/services/default/versions/v1`. @OutputOnly
string name = 1;getNameBytes in interface VersionOrBuilderpublic java.lang.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;getId in interface VersionOrBuilderpublic 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;getIdBytes in interface VersionOrBuilderpublic boolean hasAutomaticScaling()
Automatic scaling is based on request rate, response latencies, and other application metrics.
.google.appengine.v1.AutomaticScaling automatic_scaling = 3;hasAutomaticScaling in interface VersionOrBuilderpublic AutomaticScaling getAutomaticScaling()
Automatic scaling is based on request rate, response latencies, and other application metrics.
.google.appengine.v1.AutomaticScaling automatic_scaling = 3;getAutomaticScaling in interface VersionOrBuilderpublic AutomaticScalingOrBuilder getAutomaticScalingOrBuilder()
Automatic scaling is based on request rate, response latencies, and other application metrics.
.google.appengine.v1.AutomaticScaling automatic_scaling = 3;getAutomaticScalingOrBuilder in interface VersionOrBuilderpublic 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;hasBasicScaling in interface VersionOrBuilderpublic 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;getBasicScaling in interface VersionOrBuilderpublic 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;getBasicScalingOrBuilder in interface VersionOrBuilderpublic 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.
.google.appengine.v1.ManualScaling manual_scaling = 5;hasManualScaling in interface VersionOrBuilderpublic 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.
.google.appengine.v1.ManualScaling manual_scaling = 5;getManualScaling in interface VersionOrBuilderpublic 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.
.google.appengine.v1.ManualScaling manual_scaling = 5;getManualScalingOrBuilder in interface VersionOrBuilderpublic java.util.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;getInboundServicesList in interface VersionOrBuilderpublic 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;getInboundServicesCount in interface VersionOrBuilderpublic 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;getInboundServices in interface VersionOrBuilderpublic java.util.List<java.lang.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;getInboundServicesValueList in interface VersionOrBuilderpublic 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;getInboundServicesValue in interface VersionOrBuilderpublic java.lang.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;getInstanceClass in interface VersionOrBuilderpublic 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;getInstanceClassBytes in interface VersionOrBuilderpublic boolean hasNetwork()
Extra network settings. Only applicable for VM runtimes.
.google.appengine.v1.Network network = 8;hasNetwork in interface VersionOrBuilderpublic Network getNetwork()
Extra network settings. Only applicable for VM runtimes.
.google.appengine.v1.Network network = 8;getNetwork in interface VersionOrBuilderpublic NetworkOrBuilder getNetworkOrBuilder()
Extra network settings. Only applicable for VM runtimes.
.google.appengine.v1.Network network = 8;getNetworkOrBuilder in interface VersionOrBuilderpublic boolean hasResources()
Machine resources for this version. Only applicable for VM runtimes.
.google.appengine.v1.Resources resources = 9;hasResources in interface VersionOrBuilderpublic Resources getResources()
Machine resources for this version. Only applicable for VM runtimes.
.google.appengine.v1.Resources resources = 9;getResources in interface VersionOrBuilderpublic ResourcesOrBuilder getResourcesOrBuilder()
Machine resources for this version. Only applicable for VM runtimes.
.google.appengine.v1.Resources resources = 9;getResourcesOrBuilder in interface VersionOrBuilderpublic java.lang.String getRuntime()
Desired runtime. Example: `python27`.
string runtime = 10;getRuntime in interface VersionOrBuilderpublic ByteString getRuntimeBytes()
Desired runtime. Example: `python27`.
string runtime = 10;getRuntimeBytes in interface VersionOrBuilderpublic boolean getThreadsafe()
Whether multiple requests can be dispatched to this version at once.
bool threadsafe = 11;getThreadsafe in interface VersionOrBuilderpublic boolean getVm()
Whether to deploy this version in a container on a virtual machine.
bool vm = 12;getVm in interface VersionOrBuilderpublic int getBetaSettingsCount()
VersionOrBuilderMetadata settings that are supplied to this version to enable beta runtime features.
map<string, string> beta_settings = 13;getBetaSettingsCount in interface VersionOrBuilderpublic boolean containsBetaSettings(java.lang.String key)
Metadata settings that are supplied to this version to enable beta runtime features.
map<string, string> beta_settings = 13;containsBetaSettings in interface VersionOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getBetaSettings()
getBetaSettingsMap() instead.getBetaSettings in interface VersionOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getBetaSettingsMap()
Metadata settings that are supplied to this version to enable beta runtime features.
map<string, string> beta_settings = 13;getBetaSettingsMap in interface VersionOrBuilderpublic java.lang.String getBetaSettingsOrDefault(java.lang.String key,
java.lang.String defaultValue)
Metadata settings that are supplied to this version to enable beta runtime features.
map<string, string> beta_settings = 13;getBetaSettingsOrDefault in interface VersionOrBuilderpublic java.lang.String getBetaSettingsOrThrow(java.lang.String key)
Metadata settings that are supplied to this version to enable beta runtime features.
map<string, string> beta_settings = 13;getBetaSettingsOrThrow in interface VersionOrBuilderpublic java.lang.String getEnv()
App Engine execution environment for this version. Defaults to `standard`.
string env = 14;getEnv in interface VersionOrBuilderpublic ByteString getEnvBytes()
App Engine execution environment for this version. Defaults to `standard`.
string env = 14;getEnvBytes in interface VersionOrBuilderpublic 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;getServingStatusValue in interface VersionOrBuilderpublic 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;getServingStatus in interface VersionOrBuilderpublic java.lang.String getCreatedBy()
Email address of the user who created this version. @OutputOnly
string created_by = 16;getCreatedBy in interface VersionOrBuilderpublic ByteString getCreatedByBytes()
Email address of the user who created this version. @OutputOnly
string created_by = 16;getCreatedByBytes in interface VersionOrBuilderpublic boolean hasCreateTime()
Time that this version was created. @OutputOnly
.google.protobuf.Timestamp create_time = 17;hasCreateTime in interface VersionOrBuilderpublic Timestamp getCreateTime()
Time that this version was created. @OutputOnly
.google.protobuf.Timestamp create_time = 17;getCreateTime in interface VersionOrBuilderpublic TimestampOrBuilder getCreateTimeOrBuilder()
Time that this version was created. @OutputOnly
.google.protobuf.Timestamp create_time = 17;getCreateTimeOrBuilder in interface VersionOrBuilderpublic long getDiskUsageBytes()
Total size in bytes of all the files that are included in this version and curerntly hosted on the App Engine disk. @OutputOnly
int64 disk_usage_bytes = 18;getDiskUsageBytes in interface VersionOrBuilderpublic java.util.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;getHandlersList in interface VersionOrBuilderpublic java.util.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;getHandlersOrBuilderList in interface VersionOrBuilderpublic 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;getHandlersCount in interface VersionOrBuilderpublic 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;getHandlers in interface VersionOrBuilderpublic 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;getHandlersOrBuilder in interface VersionOrBuilderpublic java.util.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;getErrorHandlersList in interface VersionOrBuilderpublic java.util.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;getErrorHandlersOrBuilderList in interface VersionOrBuilderpublic 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;getErrorHandlersCount in interface VersionOrBuilderpublic 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;getErrorHandlers in interface VersionOrBuilderpublic 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;getErrorHandlersOrBuilder in interface VersionOrBuilderpublic java.util.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;getLibrariesList in interface VersionOrBuilderpublic java.util.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;getLibrariesOrBuilderList in interface VersionOrBuilderpublic 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;getLibrariesCount in interface VersionOrBuilderpublic 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;getLibraries in interface VersionOrBuilderpublic 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;getLibrariesOrBuilder in interface VersionOrBuilderpublic 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;hasApiConfig in interface VersionOrBuilderpublic 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;getApiConfig in interface VersionOrBuilderpublic 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;getApiConfigOrBuilder in interface VersionOrBuilderpublic int getEnvVariablesCount()
VersionOrBuilderEnvironment variables available to the application. Only returned in `GET` requests if `view=FULL` is set.
map<string, string> env_variables = 104;getEnvVariablesCount in interface VersionOrBuilderpublic boolean containsEnvVariables(java.lang.String key)
Environment variables available to the application. Only returned in `GET` requests if `view=FULL` is set.
map<string, string> env_variables = 104;containsEnvVariables in interface VersionOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getEnvVariables()
getEnvVariablesMap() instead.getEnvVariables in interface VersionOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getEnvVariablesMap()
Environment variables available to the application. Only returned in `GET` requests if `view=FULL` is set.
map<string, string> env_variables = 104;getEnvVariablesMap in interface VersionOrBuilderpublic java.lang.String getEnvVariablesOrDefault(java.lang.String key,
java.lang.String defaultValue)
Environment variables available to the application. Only returned in `GET` requests if `view=FULL` is set.
map<string, string> env_variables = 104;getEnvVariablesOrDefault in interface VersionOrBuilderpublic java.lang.String getEnvVariablesOrThrow(java.lang.String key)
Environment variables available to the application. Only returned in `GET` requests if `view=FULL` is set.
map<string, string> env_variables = 104;getEnvVariablesOrThrow in interface VersionOrBuilderpublic 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;hasDefaultExpiration in interface VersionOrBuilderpublic 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;getDefaultExpiration in interface VersionOrBuilderpublic 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;getDefaultExpirationOrBuilder in interface VersionOrBuilderpublic boolean hasHealthCheck()
Configures health checking for VM instances. Unhealthy instances are stopped and replaced with new instances. Only applicable for VM runtimes. Only returned in `GET` requests if `view=FULL` is set.
.google.appengine.v1.HealthCheck health_check = 106;hasHealthCheck in interface VersionOrBuilderpublic HealthCheck getHealthCheck()
Configures health checking for VM instances. Unhealthy instances are stopped and replaced with new instances. Only applicable for VM runtimes. Only returned in `GET` requests if `view=FULL` is set.
.google.appengine.v1.HealthCheck health_check = 106;getHealthCheck in interface VersionOrBuilderpublic HealthCheckOrBuilder getHealthCheckOrBuilder()
Configures health checking for VM instances. Unhealthy instances are stopped and replaced with new instances. Only applicable for VM runtimes. Only returned in `GET` requests if `view=FULL` is set.
.google.appengine.v1.HealthCheck health_check = 106;getHealthCheckOrBuilder in interface VersionOrBuilderpublic java.lang.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;getNobuildFilesRegex in interface VersionOrBuilderpublic 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;getNobuildFilesRegexBytes in interface VersionOrBuilderpublic 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;hasDeployment in interface VersionOrBuilderpublic 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;getDeployment in interface VersionOrBuilderpublic 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;getDeploymentOrBuilder in interface VersionOrBuilderpublic java.lang.String getVersionUrl()
Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com" @OutputOnly
string version_url = 109;getVersionUrl in interface VersionOrBuilderpublic ByteString getVersionUrlBytes()
Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com" @OutputOnly
string version_url = 109;getVersionUrlBytes in interface VersionOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static Version parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Version parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Version parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Version parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Version parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Version parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Version parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Version parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Version parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Version parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Version parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Version parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Version.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Version.Builder newBuilder()
public static Version.Builder newBuilder(Version prototype)
public Version.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Version.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Version getDefaultInstance()
public Parser<Version> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Version getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder