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
CODE_BUCKET_FIELD_NUMBER
public static final int CODE_BUCKET_FIELD_NUMBER
Field Value
DATABASE_TYPE_FIELD_NUMBER
public static final int DATABASE_TYPE_FIELD_NUMBER
Field Value
DEFAULT_BUCKET_FIELD_NUMBER
public static final int DEFAULT_BUCKET_FIELD_NUMBER
Field Value
DEFAULT_COOKIE_EXPIRATION_FIELD_NUMBER
public static final int DEFAULT_COOKIE_EXPIRATION_FIELD_NUMBER
Field Value
DEFAULT_HOSTNAME_FIELD_NUMBER
public static final int DEFAULT_HOSTNAME_FIELD_NUMBER
Field Value
DISPATCH_RULES_FIELD_NUMBER
public static final int DISPATCH_RULES_FIELD_NUMBER
Field Value
FEATURE_SETTINGS_FIELD_NUMBER
public static final int FEATURE_SETTINGS_FIELD_NUMBER
Field Value
GCR_DOMAIN_FIELD_NUMBER
public static final int GCR_DOMAIN_FIELD_NUMBER
Field Value
IAP_FIELD_NUMBER
public static final int IAP_FIELD_NUMBER
Field Value
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value
LOCATION_ID_FIELD_NUMBER
public static final int LOCATION_ID_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
SERVICE_ACCOUNT_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
Field Value
SERVING_STATUS_FIELD_NUMBER
public static final int SERVING_STATUS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Application getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Application.Builder newBuilder()
Returns
newBuilder(Application prototype)
public static Application.Builder newBuilder(Application prototype)
Parameter
Returns
public static Application parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Application parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Application parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Application parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Application parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Application parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Application parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Application parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Application parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Application parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Application parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Application parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Application> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
Type | Description |
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
Type | Description |
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
Type | Description |
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
Type | Description |
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
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
Type | Description |
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
Type | Description |
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
Type | Description |
ByteString | The bytes for defaultBucket.
|
getDefaultCookieExpiration()
public Duration getDefaultCookieExpiration()
Cookie expiration policy for this application.
.google.protobuf.Duration default_cookie_expiration = 9;
Returns
Type | Description |
Duration | The defaultCookieExpiration.
|
getDefaultCookieExpirationOrBuilder()
public DurationOrBuilder getDefaultCookieExpirationOrBuilder()
Cookie expiration policy for this application.
.google.protobuf.Duration default_cookie_expiration = 9;
Returns
getDefaultHostname()
public String getDefaultHostname()
Hostname used to reach this application, as resolved by App Engine.
@OutputOnly
string default_hostname = 11;
Returns
Type | Description |
String | The defaultHostname.
|
getDefaultHostnameBytes()
public ByteString getDefaultHostnameBytes()
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()
public Application getDefaultInstanceForType()
Returns
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
Returns
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
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
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
Returns
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
Type | Description |
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
getFeatureSettingsOrBuilder()
public Application.FeatureSettingsOrBuilder getFeatureSettingsOrBuilder()
The feature specific settings to be used in the application.
.google.appengine.v1.Application.FeatureSettings feature_settings = 18;
Returns
getGcrDomain()
public String getGcrDomain()
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()
public ByteString getGcrDomainBytes()
The Google Container Registry domain used for storing managed build docker
images for this application.
string gcr_domain = 16;
Returns
getIap()
public Application.IdentityAwareProxy getIap()
.google.appengine.v1.Application.IdentityAwareProxy iap = 14;
Returns
getIapOrBuilder()
public Application.IdentityAwareProxyOrBuilder getIapOrBuilder()
.google.appengine.v1.Application.IdentityAwareProxy iap = 14;
Returns
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
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
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
Type | Description |
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
Type | Description |
ByteString | The bytes for locationId.
|
getName()
Full path to the Application resource in the API.
Example: apps/myapp
.
@OutputOnly
string name = 1;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Full path to the Application resource in the API.
Example: apps/myapp
.
@OutputOnly
string name = 1;
Returns
getParserForType()
public Parser<Application> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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
Type | Description |
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
Type | Description |
ByteString | The bytes for serviceAccount.
|
getServingStatus()
public Application.ServingStatus getServingStatus()
Serving status of this application.
.google.appengine.v1.Application.ServingStatus serving_status = 10;
Returns
getServingStatusValue()
public int getServingStatusValue()
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasDefaultCookieExpiration()
public boolean hasDefaultCookieExpiration()
Cookie expiration policy for this application.
.google.protobuf.Duration default_cookie_expiration = 9;
Returns
Type | Description |
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
Type | Description |
boolean | Whether the featureSettings field is set.
|
hasIap()
.google.appengine.v1.Application.IdentityAwareProxy iap = 14;
Returns
Type | Description |
boolean | Whether the iap field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Application.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Application.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Application.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions