Class Application (2.39.0)

publicfinalclass ApplicationextendsGeneratedMessageV3implementsApplicationOrBuilder

An Application resource contains the top-level configuration of an App Engine application.

Protobuf type google.appengine.v1.Application

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

AUTH_DOMAIN_FIELD_NUMBER

publicstaticfinalintAUTH_DOMAIN_FIELD_NUMBER
Field Value
Type Description
int

CODE_BUCKET_FIELD_NUMBER

publicstaticfinalintCODE_BUCKET_FIELD_NUMBER
Field Value
Type Description
int

DATABASE_TYPE_FIELD_NUMBER

publicstaticfinalintDATABASE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

DEFAULT_BUCKET_FIELD_NUMBER

publicstaticfinalintDEFAULT_BUCKET_FIELD_NUMBER
Field Value
Type Description
int
publicstaticfinalintDEFAULT_COOKIE_EXPIRATION_FIELD_NUMBER
Field Value
Type Description
int

DEFAULT_HOSTNAME_FIELD_NUMBER

publicstaticfinalintDEFAULT_HOSTNAME_FIELD_NUMBER
Field Value
Type Description
int

DISPATCH_RULES_FIELD_NUMBER

publicstaticfinalintDISPATCH_RULES_FIELD_NUMBER
Field Value
Type Description
int

FEATURE_SETTINGS_FIELD_NUMBER

publicstaticfinalintFEATURE_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

GCR_DOMAIN_FIELD_NUMBER

publicstaticfinalintGCR_DOMAIN_FIELD_NUMBER
Field Value
Type Description
int

IAP_FIELD_NUMBER

publicstaticfinalintIAP_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

publicstaticfinalintID_FIELD_NUMBER
Field Value
Type Description
int

LOCATION_ID_FIELD_NUMBER

publicstaticfinalintLOCATION_ID_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

publicstaticfinalintNAME_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_ACCOUNT_FIELD_NUMBER

publicstaticfinalintSERVICE_ACCOUNT_FIELD_NUMBER
Field Value
Type Description
int

SERVING_STATUS_FIELD_NUMBER

publicstaticfinalintSERVING_STATUS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticApplicationgetDefaultInstance()
Returns
Type Description
Application

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticApplication.BuildernewBuilder()
Returns
Type Description
Application.Builder

newBuilder(Application prototype)

publicstaticApplication.BuildernewBuilder(Applicationprototype)
Parameter
Name Description
prototype Application
Returns
Type Description
Application.Builder

parseDelimitedFrom(InputStream input)

publicstaticApplicationparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Application
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticApplicationparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Application
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticApplicationparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
Application
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticApplicationparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Application
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticApplicationparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
Application
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticApplicationparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Application
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticApplicationparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Application
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticApplicationparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Application
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticApplicationparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Application
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticApplicationparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Application
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticApplicationparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Application
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticApplicationparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Application
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<Application>parser()
Returns
Type Description
Parser<Application>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAuthDomain()

publicStringgetAuthDomain()

Google Apps authentication domain that controls which users can access this application.

Defaults to open access for any Google Account.

string auth_domain = 6;

Returns
Type Description
String

The authDomain.

getAuthDomainBytes()

publicByteStringgetAuthDomainBytes()

Google Apps authentication domain that controls which users can access this application.

Defaults to open access for any Google Account.

string auth_domain = 6;

Returns
Type Description
ByteString

The bytes for authDomain.

getCodeBucket()

publicStringgetCodeBucket()

Google Cloud Storage bucket that can be used for storing files associated with this application. This bucket is associated with the application and can be used by the gcloud deployment commands.

@OutputOnly

string code_bucket = 8;

Returns
Type Description
String

The codeBucket.

getCodeBucketBytes()

publicByteStringgetCodeBucketBytes()

Google Cloud Storage bucket that can be used for storing files associated with this application. This bucket is associated with the application and can be used by the gcloud deployment commands.

@OutputOnly

string code_bucket = 8;

Returns
Type Description
ByteString

The bytes for codeBucket.

getDatabaseType()

publicApplication.DatabaseTypegetDatabaseType()

The type of the Cloud Firestore or Cloud Datastore database associated with this application.

.google.appengine.v1.Application.DatabaseType database_type = 17;

Returns
Type Description
Application.DatabaseType

The databaseType.

getDatabaseTypeValue()

publicintgetDatabaseTypeValue()

The type of the Cloud Firestore or Cloud Datastore database associated with this application.

.google.appengine.v1.Application.DatabaseType database_type = 17;

Returns
Type Description
int

The enum numeric value on the wire for databaseType.

getDefaultBucket()

publicStringgetDefaultBucket()

Google Cloud Storage bucket that can be used by this application to store content.

@OutputOnly

string default_bucket = 12;

Returns
Type Description
String

The defaultBucket.

getDefaultBucketBytes()

publicByteStringgetDefaultBucketBytes()

Google Cloud Storage bucket that can be used by this application to store content.

@OutputOnly

string default_bucket = 12;

Returns
Type Description
ByteString

The bytes for defaultBucket.

getDefaultCookieExpiration()

publicDurationgetDefaultCookieExpiration()

Cookie expiration policy for this application.

.google.protobuf.Duration default_cookie_expiration = 9;

Returns
Type Description
Duration

The defaultCookieExpiration.

getDefaultCookieExpirationOrBuilder()

publicDurationOrBuildergetDefaultCookieExpirationOrBuilder()

Cookie expiration policy for this application.

.google.protobuf.Duration default_cookie_expiration = 9;

Returns
Type Description
DurationOrBuilder

getDefaultHostname()

publicStringgetDefaultHostname()

Hostname used to reach this application, as resolved by App Engine.

@OutputOnly

string default_hostname = 11;

Returns
Type Description
String

The defaultHostname.

getDefaultHostnameBytes()

publicByteStringgetDefaultHostnameBytes()

Hostname used to reach this application, as resolved by App Engine.

@OutputOnly

string default_hostname = 11;

Returns
Type Description
ByteString

The bytes for defaultHostname.

getDefaultInstanceForType()

publicApplicationgetDefaultInstanceForType()
Returns
Type Description
Application

getDispatchRules(int index)

publicUrlDispatchRulegetDispatchRules(intindex)

HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order-dependent. Up to 20 dispatch rules can be supported.

repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;

Parameter
Name Description
index int
Returns
Type Description
UrlDispatchRule

getDispatchRulesCount()

publicintgetDispatchRulesCount()

HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order-dependent. Up to 20 dispatch rules can be supported.

repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;

Returns
Type Description
int

getDispatchRulesList()

publicList<UrlDispatchRule>getDispatchRulesList()

HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order-dependent. Up to 20 dispatch rules can be supported.

repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;

Returns
Type Description
List<UrlDispatchRule>

getDispatchRulesOrBuilder(int index)

publicUrlDispatchRuleOrBuildergetDispatchRulesOrBuilder(intindex)

HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order-dependent. Up to 20 dispatch rules can be supported.

repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;

Parameter
Name Description
index int
Returns
Type Description
UrlDispatchRuleOrBuilder

getDispatchRulesOrBuilderList()

publicList<?extendsUrlDispatchRuleOrBuilder>getDispatchRulesOrBuilderList()

HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order-dependent. Up to 20 dispatch rules can be supported.

repeated .google.appengine.v1.UrlDispatchRule dispatch_rules = 3;

Returns
Type Description
List<? extends com.google.appengine.v1.UrlDispatchRuleOrBuilder>

getFeatureSettings()

publicApplication.FeatureSettingsgetFeatureSettings()

The feature specific settings to be used in the application.

.google.appengine.v1.Application.FeatureSettings feature_settings = 18;

Returns
Type Description
Application.FeatureSettings

The featureSettings.

getFeatureSettingsOrBuilder()

publicApplication.FeatureSettingsOrBuildergetFeatureSettingsOrBuilder()

The feature specific settings to be used in the application.

.google.appengine.v1.Application.FeatureSettings feature_settings = 18;

Returns
Type Description
Application.FeatureSettingsOrBuilder

getGcrDomain()

publicStringgetGcrDomain()

The Google Container Registry domain used for storing managed build docker images for this application.

string gcr_domain = 16;

Returns
Type Description
String

The gcrDomain.

getGcrDomainBytes()

publicByteStringgetGcrDomainBytes()

The Google Container Registry domain used for storing managed build docker images for this application.

string gcr_domain = 16;

Returns
Type Description
ByteString

The bytes for gcrDomain.

getIap()

publicApplication.IdentityAwareProxygetIap()

.google.appengine.v1.Application.IdentityAwareProxy iap = 14;

Returns
Type Description
Application.IdentityAwareProxy

The iap.

getIapOrBuilder()

publicApplication.IdentityAwareProxyOrBuildergetIapOrBuilder()

.google.appengine.v1.Application.IdentityAwareProxy iap = 14;

Returns
Type Description
Application.IdentityAwareProxyOrBuilder

getId()

publicStringgetId()

Identifier of the Application resource. This identifier is equivalent to the project ID of the Google Cloud Platform project where you want to deploy your application. Example: myapp.

string id = 2;

Returns
Type Description
String

The id.

getIdBytes()

publicByteStringgetIdBytes()

Identifier of the Application resource. This identifier is equivalent to the project ID of the Google Cloud Platform project where you want to deploy your application. Example: myapp.

string id = 2;

Returns
Type Description
ByteString

The bytes for id.

getLocationId()

publicStringgetLocationId()

Location from which this application runs. Application instances run out of the data centers in the specified location, which is also where all of the application's end user content is stored.

Defaults to us-central.

View the list of supported locations.

string location_id = 7;

Returns
Type Description
String

The locationId.

getLocationIdBytes()

publicByteStringgetLocationIdBytes()

Location from which this application runs. Application instances run out of the data centers in the specified location, which is also where all of the application's end user content is stored.

Defaults to us-central.

View the list of supported locations.

string location_id = 7;

Returns
Type Description
ByteString

The bytes for locationId.

getName()

publicStringgetName()

Full path to the Application resource in the API. Example: apps/myapp.

@OutputOnly

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

publicByteStringgetNameBytes()

Full path to the Application resource in the API. Example: apps/myapp.

@OutputOnly

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

publicParser<Application>getParserForType()
Returns
Type Description
Parser<Application>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getServiceAccount()

publicStringgetServiceAccount()

The service account associated with the application. This is the app-level default identity. If no identity provided during create version, Admin API will fallback to this one.

string service_account = 13;

Returns
Type Description
String

The serviceAccount.

getServiceAccountBytes()

publicByteStringgetServiceAccountBytes()

The service account associated with the application. This is the app-level default identity. If no identity provided during create version, Admin API will fallback to this one.

string service_account = 13;

Returns
Type Description
ByteString

The bytes for serviceAccount.

getServingStatus()

publicApplication.ServingStatusgetServingStatus()

Serving status of this application.

.google.appengine.v1.Application.ServingStatus serving_status = 10;

Returns
Type Description
Application.ServingStatus

The servingStatus.

getServingStatusValue()

publicintgetServingStatusValue()

Serving status of this application.

.google.appengine.v1.Application.ServingStatus serving_status = 10;

Returns
Type Description
int

The enum numeric value on the wire for servingStatus.

hasDefaultCookieExpiration()

publicbooleanhasDefaultCookieExpiration()

Cookie expiration policy for this application.

.google.protobuf.Duration default_cookie_expiration = 9;

Returns
Type Description
boolean

Whether the defaultCookieExpiration field is set.

hasFeatureSettings()

publicbooleanhasFeatureSettings()

The feature specific settings to be used in the application.

.google.appengine.v1.Application.FeatureSettings feature_settings = 18;

Returns
Type Description
boolean

Whether the featureSettings field is set.

hasIap()

publicbooleanhasIap()

.google.appengine.v1.Application.IdentityAwareProxy iap = 14;

Returns
Type Description
boolean

Whether the iap field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicApplication.BuildernewBuilderForType()
Returns
Type Description
Application.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedApplication.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Application.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicApplication.BuildertoBuilder()
Returns
Type Description
Application.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.