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.FieldAccessorTable
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public Version.ScalingCase getScalingCase()
getScalingCase
in interface VersionOrBuilder
public 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 VersionOrBuilder
public 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 VersionOrBuilder
public 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 VersionOrBuilder
public ByteString getIdBytes()
Relative name of the version within the service. Example: `v1`. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: "default", "latest", and any name with the prefix "ah-".
string id = 2;
getIdBytes
in interface VersionOrBuilder
public 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 VersionOrBuilder
public 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 VersionOrBuilder
public 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 VersionOrBuilder
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;
hasBasicScaling
in interface VersionOrBuilder
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;
getBasicScaling
in interface VersionOrBuilder
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;
getBasicScalingOrBuilder
in interface VersionOrBuilder
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.
.google.appengine.v1.ManualScaling manual_scaling = 5;
hasManualScaling
in interface VersionOrBuilder
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.
.google.appengine.v1.ManualScaling manual_scaling = 5;
getManualScaling
in interface VersionOrBuilder
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.
.google.appengine.v1.ManualScaling manual_scaling = 5;
getManualScalingOrBuilder
in interface VersionOrBuilder
public 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 VersionOrBuilder
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;
getInboundServicesCount
in interface VersionOrBuilder
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;
getInboundServices
in interface VersionOrBuilder
public 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 VersionOrBuilder
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;
getInboundServicesValue
in interface VersionOrBuilder
public 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 VersionOrBuilder
public ByteString getInstanceClassBytes()
Instance class that is used to run this version. Valid values are: * AutomaticScaling: `F1`, `F2`, `F4`, `F4_1G` * ManualScaling or BasicScaling: `B1`, `B2`, `B4`, `B8`, `B4_1G` Defaults to `F1` for AutomaticScaling and `B1` for ManualScaling or BasicScaling.
string instance_class = 7;
getInstanceClassBytes
in interface VersionOrBuilder
public boolean hasNetwork()
Extra network settings. Only applicable for VM runtimes.
.google.appengine.v1.Network network = 8;
hasNetwork
in interface VersionOrBuilder
public Network getNetwork()
Extra network settings. Only applicable for VM runtimes.
.google.appengine.v1.Network network = 8;
getNetwork
in interface VersionOrBuilder
public NetworkOrBuilder getNetworkOrBuilder()
Extra network settings. Only applicable for VM runtimes.
.google.appengine.v1.Network network = 8;
getNetworkOrBuilder
in interface VersionOrBuilder
public boolean hasResources()
Machine resources for this version. Only applicable for VM runtimes.
.google.appengine.v1.Resources resources = 9;
hasResources
in interface VersionOrBuilder
public Resources getResources()
Machine resources for this version. Only applicable for VM runtimes.
.google.appengine.v1.Resources resources = 9;
getResources
in interface VersionOrBuilder
public ResourcesOrBuilder getResourcesOrBuilder()
Machine resources for this version. Only applicable for VM runtimes.
.google.appengine.v1.Resources resources = 9;
getResourcesOrBuilder
in interface VersionOrBuilder
public java.lang.String getRuntime()
Desired runtime. Example: `python27`.
string runtime = 10;
getRuntime
in interface VersionOrBuilder
public ByteString getRuntimeBytes()
Desired runtime. Example: `python27`.
string runtime = 10;
getRuntimeBytes
in interface VersionOrBuilder
public boolean getThreadsafe()
Whether multiple requests can be dispatched to this version at once.
bool threadsafe = 11;
getThreadsafe
in interface VersionOrBuilder
public boolean getVm()
Whether to deploy this version in a container on a virtual machine.
bool vm = 12;
getVm
in interface VersionOrBuilder
public int getBetaSettingsCount()
VersionOrBuilder
Metadata settings that are supplied to this version to enable beta runtime features.
map<string, string> beta_settings = 13;
getBetaSettingsCount
in interface VersionOrBuilder
public 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 VersionOrBuilder
public 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 VersionOrBuilder
public 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 VersionOrBuilder
public 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 VersionOrBuilder
public java.lang.String getEnv()
App Engine execution environment for this version. Defaults to `standard`.
string env = 14;
getEnv
in interface VersionOrBuilder
public ByteString getEnvBytes()
App Engine execution environment for this version. Defaults to `standard`.
string env = 14;
getEnvBytes
in interface VersionOrBuilder
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;
getServingStatusValue
in interface VersionOrBuilder
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;
getServingStatus
in interface VersionOrBuilder
public java.lang.String getCreatedBy()
Email address of the user who created this version. @OutputOnly
string created_by = 16;
getCreatedBy
in interface VersionOrBuilder
public ByteString getCreatedByBytes()
Email address of the user who created this version. @OutputOnly
string created_by = 16;
getCreatedByBytes
in interface VersionOrBuilder
public boolean hasCreateTime()
Time that this version was created. @OutputOnly
.google.protobuf.Timestamp create_time = 17;
hasCreateTime
in interface VersionOrBuilder
public Timestamp getCreateTime()
Time that this version was created. @OutputOnly
.google.protobuf.Timestamp create_time = 17;
getCreateTime
in interface VersionOrBuilder
public TimestampOrBuilder getCreateTimeOrBuilder()
Time that this version was created. @OutputOnly
.google.protobuf.Timestamp create_time = 17;
getCreateTimeOrBuilder
in interface VersionOrBuilder
public 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 VersionOrBuilder
public 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 VersionOrBuilder
public 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 VersionOrBuilder
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;
getHandlersCount
in interface VersionOrBuilder
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;
getHandlers
in interface VersionOrBuilder
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;
getHandlersOrBuilder
in interface VersionOrBuilder
public 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 VersionOrBuilder
public 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 VersionOrBuilder
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;
getErrorHandlersCount
in interface VersionOrBuilder
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;
getErrorHandlers
in interface VersionOrBuilder
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;
getErrorHandlersOrBuilder
in interface VersionOrBuilder
public 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 VersionOrBuilder
public 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 VersionOrBuilder
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;
getLibrariesCount
in interface VersionOrBuilder
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;
getLibraries
in interface VersionOrBuilder
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;
getLibrariesOrBuilder
in interface VersionOrBuilder
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;
hasApiConfig
in interface VersionOrBuilder
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;
getApiConfig
in interface VersionOrBuilder
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;
getApiConfigOrBuilder
in interface VersionOrBuilder
public int getEnvVariablesCount()
VersionOrBuilder
Environment variables available to the application. Only returned in `GET` requests if `view=FULL` is set.
map<string, string> env_variables = 104;
getEnvVariablesCount
in interface VersionOrBuilder
public 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 VersionOrBuilder
public 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 VersionOrBuilder
public 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 VersionOrBuilder
public 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 VersionOrBuilder
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;
hasDefaultExpiration
in interface VersionOrBuilder
public 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 VersionOrBuilder
public 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 VersionOrBuilder
public 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 VersionOrBuilder
public 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 VersionOrBuilder
public 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 VersionOrBuilder
public 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 VersionOrBuilder
public ByteString getNobuildFilesRegexBytes()
Files that match this pattern will not be built into this version. Only applicable for Go runtimes. Only returned in `GET` requests if `view=FULL` is set.
string nobuild_files_regex = 107;
getNobuildFilesRegexBytes
in interface VersionOrBuilder
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;
hasDeployment
in interface VersionOrBuilder
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;
getDeployment
in interface VersionOrBuilder
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;
getDeploymentOrBuilder
in interface VersionOrBuilder
public 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 VersionOrBuilder
public ByteString getVersionUrlBytes()
Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com" @OutputOnly
string version_url = 109;
getVersionUrlBytes
in interface VersionOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Version parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Version parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Version parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Version parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Version parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Version parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Version parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Version parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Version parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Version parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Version parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Version parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Version.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Version.Builder newBuilder()
public static Version.Builder newBuilder(Version prototype)
public Version.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Version.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Version getDefaultInstance()
public Parser<Version> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Version getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder