Class Application (2.16.0)

public final class Application extends GeneratedMessageV3 implements ApplicationOrBuilder

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

Protobuf type google.appengine.v1.Application

Static Fields

AUTH_DOMAIN_FIELD_NUMBER

public static final int AUTH_DOMAIN_FIELD_NUMBER
Field Value
TypeDescription
int

CODE_BUCKET_FIELD_NUMBER

public static final int CODE_BUCKET_FIELD_NUMBER
Field Value
TypeDescription
int

DATABASE_TYPE_FIELD_NUMBER

public static final int DATABASE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

DEFAULT_BUCKET_FIELD_NUMBER

public static final int DEFAULT_BUCKET_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int DEFAULT_COOKIE_EXPIRATION_FIELD_NUMBER
Field Value
TypeDescription
int

DEFAULT_HOSTNAME_FIELD_NUMBER

public static final int DEFAULT_HOSTNAME_FIELD_NUMBER
Field Value
TypeDescription
int

DISPATCH_RULES_FIELD_NUMBER

public static final int DISPATCH_RULES_FIELD_NUMBER
Field Value
TypeDescription
int

FEATURE_SETTINGS_FIELD_NUMBER

public static final int FEATURE_SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

GCR_DOMAIN_FIELD_NUMBER

public static final int GCR_DOMAIN_FIELD_NUMBER
Field Value
TypeDescription
int

IAP_FIELD_NUMBER

public static final int IAP_FIELD_NUMBER
Field Value
TypeDescription
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
TypeDescription
int

LOCATION_ID_FIELD_NUMBER

public static final int LOCATION_ID_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICE_ACCOUNT_FIELD_NUMBER

public static final int SERVICE_ACCOUNT_FIELD_NUMBER
Field Value
TypeDescription
int

SERVING_STATUS_FIELD_NUMBER

public static final int SERVING_STATUS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Application getDefaultInstance()
Returns
TypeDescription
Application

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Application.Builder newBuilder()
Returns
TypeDescription
Application.Builder

newBuilder(Application prototype)

public static Application.Builder newBuilder(Application prototype)
Parameter
NameDescription
prototypeApplication
Returns
TypeDescription
Application.Builder

parseDelimitedFrom(InputStream input)

public static Application parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Application
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Application parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Application
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Application parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Application
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Application parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Application
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Application parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Application
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Application parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Application
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Application parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Application
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Application parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Application
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Application parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Application
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Application parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Application
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Application parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Application
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Application parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Application
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Application> parser()
Returns
TypeDescription
Parser<Application>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAuthDomain()

public String getAuthDomain()

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
TypeDescription
String

The authDomain.

getAuthDomainBytes()

public ByteString getAuthDomainBytes()

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
TypeDescription
ByteString

The bytes for authDomain.

getCodeBucket()

public String getCodeBucket()

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
TypeDescription
String

The codeBucket.

getCodeBucketBytes()

public ByteString getCodeBucketBytes()

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
TypeDescription
ByteString

The bytes for codeBucket.

getDatabaseType()

public Application.DatabaseType getDatabaseType()

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

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

Returns
TypeDescription
Application.DatabaseType

The databaseType.

getDatabaseTypeValue()

public int getDatabaseTypeValue()

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

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

Returns
TypeDescription
int

The enum numeric value on the wire for databaseType.

getDefaultBucket()

public String getDefaultBucket()

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

string default_bucket = 12;

Returns
TypeDescription
String

The defaultBucket.

getDefaultBucketBytes()

public ByteString getDefaultBucketBytes()

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

string default_bucket = 12;

Returns
TypeDescription
ByteString

The bytes for defaultBucket.

getDefaultCookieExpiration()

public Duration getDefaultCookieExpiration()

Cookie expiration policy for this application.

.google.protobuf.Duration default_cookie_expiration = 9;

Returns
TypeDescription
Duration

The defaultCookieExpiration.

getDefaultCookieExpirationOrBuilder()

public DurationOrBuilder getDefaultCookieExpirationOrBuilder()

Cookie expiration policy for this application.

.google.protobuf.Duration default_cookie_expiration = 9;

Returns
TypeDescription
DurationOrBuilder

getDefaultHostname()

public String getDefaultHostname()

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

string default_hostname = 11;

Returns
TypeDescription
String

The defaultHostname.

getDefaultHostnameBytes()

public ByteString getDefaultHostnameBytes()

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

string default_hostname = 11;

Returns
TypeDescription
ByteString

The bytes for defaultHostname.

getDefaultInstanceForType()

public Application getDefaultInstanceForType()
Returns
TypeDescription
Application

getDispatchRules(int index)

public UrlDispatchRule getDispatchRules(int index)

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
NameDescription
indexint
Returns
TypeDescription
UrlDispatchRule

getDispatchRulesCount()

public int getDispatchRulesCount()

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
TypeDescription
int

getDispatchRulesList()

public List<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
TypeDescription
List<UrlDispatchRule>

getDispatchRulesOrBuilder(int index)

public UrlDispatchRuleOrBuilder getDispatchRulesOrBuilder(int index)

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
NameDescription
indexint
Returns
TypeDescription
UrlDispatchRuleOrBuilder

getDispatchRulesOrBuilderList()

public List<? extends UrlDispatchRuleOrBuilder> 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
TypeDescription
List<? extends com.google.appengine.v1.UrlDispatchRuleOrBuilder>

getFeatureSettings()

public Application.FeatureSettings getFeatureSettings()

The feature specific settings to be used in the application.

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

Returns
TypeDescription
Application.FeatureSettings

The featureSettings.

getFeatureSettingsOrBuilder()

public Application.FeatureSettingsOrBuilder getFeatureSettingsOrBuilder()

The feature specific settings to be used in the application.

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

Returns
TypeDescription
Application.FeatureSettingsOrBuilder

getGcrDomain()

public String getGcrDomain()

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

string gcr_domain = 16;

Returns
TypeDescription
String

The gcrDomain.

getGcrDomainBytes()

public ByteString getGcrDomainBytes()

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

string gcr_domain = 16;

Returns
TypeDescription
ByteString

The bytes for gcrDomain.

getIap()

public Application.IdentityAwareProxy getIap()

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

Returns
TypeDescription
Application.IdentityAwareProxy

The iap.

getIapOrBuilder()

public Application.IdentityAwareProxyOrBuilder getIapOrBuilder()

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

Returns
TypeDescription
Application.IdentityAwareProxyOrBuilder

getId()

public String getId()

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
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

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
TypeDescription
ByteString

The bytes for id.

getLocationId()

public String getLocationId()

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
TypeDescription
String

The locationId.

getLocationIdBytes()

public ByteString getLocationIdBytes()

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
TypeDescription
ByteString

The bytes for locationId.

getName()

public String getName()

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

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<Application> getParserForType()
Returns
TypeDescription
Parser<Application>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServiceAccount()

public String getServiceAccount()

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
TypeDescription
String

The serviceAccount.

getServiceAccountBytes()

public ByteString getServiceAccountBytes()

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
TypeDescription
ByteString

The bytes for serviceAccount.

getServingStatus()

public Application.ServingStatus getServingStatus()

Serving status of this application.

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

Returns
TypeDescription
Application.ServingStatus

The servingStatus.

getServingStatusValue()

public int getServingStatusValue()

Serving status of this application.

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

Returns
TypeDescription
int

The enum numeric value on the wire for servingStatus.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasDefaultCookieExpiration()

public boolean hasDefaultCookieExpiration()

Cookie expiration policy for this application.

.google.protobuf.Duration default_cookie_expiration = 9;

Returns
TypeDescription
boolean

Whether the defaultCookieExpiration field is set.

hasFeatureSettings()

public boolean hasFeatureSettings()

The feature specific settings to be used in the application.

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

Returns
TypeDescription
boolean

Whether the featureSettings field is set.

hasIap()

public boolean hasIap()

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

Returns
TypeDescription
boolean

Whether the iap field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Application.Builder newBuilderForType()
Returns
TypeDescription
Application.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Application.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Application.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Application.Builder toBuilder()
Returns
TypeDescription
Application.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException