Class Application.Builder (2.2.0)

publicstaticfinalclass Application.BuilderextendsGeneratedMessageV3.Builder<Application.Builder>implementsApplicationOrBuilder

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

Protobuf type google.appengine.v1.Application

Inherited Members

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description

Methods

addAllDispatchRules(Iterable<? extends UrlDispatchRule> values)

publicApplication.BuilderaddAllDispatchRules(Iterable<?extendsUrlDispatchRule>values)

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
values Iterable<? extends com.google.appengine.v1.UrlDispatchRule>
Returns
Type Description

addDispatchRules(UrlDispatchRule value)

publicApplication.BuilderaddDispatchRules(UrlDispatchRulevalue)

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
Returns
Type Description

addDispatchRules(UrlDispatchRule.Builder builderForValue)

publicApplication.BuilderaddDispatchRules(UrlDispatchRule.BuilderbuilderForValue)

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
builderForValue UrlDispatchRule.Builder
Returns
Type Description

addDispatchRules(int index, UrlDispatchRule value)

publicApplication.BuilderaddDispatchRules(intindex,UrlDispatchRulevalue)

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;

Parameters
Name Description
index int
Returns
Type Description

addDispatchRules(int index, UrlDispatchRule.Builder builderForValue)

publicApplication.BuilderaddDispatchRules(intindex,UrlDispatchRule.BuilderbuilderForValue)

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;

Parameters
Name Description
index int
builderForValue UrlDispatchRule.Builder
Returns
Type Description

addDispatchRulesBuilder()

publicUrlDispatchRule.BuilderaddDispatchRulesBuilder()

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

addDispatchRulesBuilder(int index)

publicUrlDispatchRule.BuilderaddDispatchRulesBuilder(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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicApplication.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

build()

publicApplicationbuild()
Returns
Type Description

buildPartial()

publicApplicationbuildPartial()
Returns
Type Description

clear()

publicApplication.Builderclear()
Returns
Type Description
Overrides

clearAuthDomain()

publicApplication.BuilderclearAuthDomain()

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
Application.Builder

This builder for chaining.

clearCodeBucket()

publicApplication.BuilderclearCodeBucket()

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
Application.Builder

This builder for chaining.

clearDatabaseType()

publicApplication.BuilderclearDatabaseType()

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.Builder

This builder for chaining.

clearDefaultBucket()

publicApplication.BuilderclearDefaultBucket()

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

string default_bucket = 12;

Returns
Type Description
Application.Builder

This builder for chaining.

clearDefaultCookieExpiration()

publicApplication.BuilderclearDefaultCookieExpiration()

Cookie expiration policy for this application.

.google.protobuf.Duration default_cookie_expiration = 9;

Returns
Type Description

clearDefaultHostname()

publicApplication.BuilderclearDefaultHostname()

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

string default_hostname = 11;

Returns
Type Description
Application.Builder

This builder for chaining.

clearDispatchRules()

publicApplication.BuilderclearDispatchRules()

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

clearFeatureSettings()

publicApplication.BuilderclearFeatureSettings()

The feature specific settings to be used in the application.

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

Returns
Type Description

clearField(Descriptors.FieldDescriptor field)

publicApplication.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
Returns
Type Description
Overrides

clearGcrDomain()

publicApplication.BuilderclearGcrDomain()

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

string gcr_domain = 16;

Returns
Type Description
Application.Builder

This builder for chaining.

clearIap()

publicApplication.BuilderclearIap()

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

Returns
Type Description

clearId()

publicApplication.BuilderclearId()

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
Application.Builder

This builder for chaining.

clearLocationId()

publicApplication.BuilderclearLocationId()

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
Application.Builder

This builder for chaining.

clearName()

publicApplication.BuilderclearName()

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

string name = 1;

Returns
Type Description
Application.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicApplication.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
Returns
Type Description
Overrides

clearServiceAccount()

publicApplication.BuilderclearServiceAccount()

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
Application.Builder

This builder for chaining.

clearServingStatus()

publicApplication.BuilderclearServingStatus()

Serving status of this application.

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

Returns
Type Description
Application.Builder

This builder for chaining.

clone()

publicApplication.Builderclone()
Returns
Type Description
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.

getDefaultCookieExpirationBuilder()

publicDuration.BuildergetDefaultCookieExpirationBuilder()

Cookie expiration policy for this application.

.google.protobuf.Duration default_cookie_expiration = 9;

Returns
Type Description

getDefaultCookieExpirationOrBuilder()

publicDurationOrBuildergetDefaultCookieExpirationOrBuilder()

Cookie expiration policy for this application.

.google.protobuf.Duration default_cookie_expiration = 9;

Returns
Type Description

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

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Overrides

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

getDispatchRulesBuilder(int index)

publicUrlDispatchRule.BuildergetDispatchRulesBuilder(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

getDispatchRulesBuilderList()

publicList<UrlDispatchRule.Builder>getDispatchRulesBuilderList()

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

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

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

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.

getFeatureSettingsBuilder()

publicApplication.FeatureSettings.BuildergetFeatureSettingsBuilder()

The feature specific settings to be used in the application.

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

Returns
Type Description

getFeatureSettingsOrBuilder()

publicApplication.FeatureSettingsOrBuildergetFeatureSettingsOrBuilder()

The feature specific settings to be used in the application.

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

Returns
Type Description

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

getIapBuilder()

publicApplication.IdentityAwareProxy.BuildergetIapBuilder()

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

Returns
Type Description

getIapOrBuilder()

publicApplication.IdentityAwareProxyOrBuildergetIapOrBuilder()

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

Returns
Type Description

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.

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.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
Overrides

mergeDefaultCookieExpiration(Duration value)

publicApplication.BuildermergeDefaultCookieExpiration(Durationvalue)

Cookie expiration policy for this application.

.google.protobuf.Duration default_cookie_expiration = 9;

Parameter
Name Description
value Duration
Returns
Type Description

mergeFeatureSettings(Application.FeatureSettings value)

publicApplication.BuildermergeFeatureSettings(Application.FeatureSettingsvalue)

The feature specific settings to be used in the application.

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

Parameter
Name Description
Returns
Type Description

mergeFrom(Application other)

publicApplication.BuildermergeFrom(Applicationother)
Parameter
Name Description
other Application
Returns
Type Description

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicApplication.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Overrides Exceptions
Type Description

mergeFrom(Message other)

publicApplication.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Overrides

mergeIap(Application.IdentityAwareProxy value)

publicApplication.BuildermergeIap(Application.IdentityAwareProxyvalue)

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

Parameter
Name Description
Returns
Type Description

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalApplication.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

removeDispatchRules(int index)

publicApplication.BuilderremoveDispatchRules(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

setAuthDomain(String value)

publicApplication.BuildersetAuthDomain(Stringvalue)

Google Apps authentication domain that controls which users can access this application. Defaults to open access for any Google Account.

string auth_domain = 6;

Parameter
Name Description
value String

The authDomain to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setAuthDomainBytes(ByteString value)

publicApplication.BuildersetAuthDomainBytes(ByteStringvalue)

Google Apps authentication domain that controls which users can access this application. Defaults to open access for any Google Account.

string auth_domain = 6;

Parameter
Name Description
value ByteString

The bytes for authDomain to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setCodeBucket(String value)

publicApplication.BuildersetCodeBucket(Stringvalue)

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;

Parameter
Name Description
value String

The codeBucket to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setCodeBucketBytes(ByteString value)

publicApplication.BuildersetCodeBucketBytes(ByteStringvalue)

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;

Parameter
Name Description
value ByteString

The bytes for codeBucket to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setDatabaseType(Application.DatabaseType value)

publicApplication.BuildersetDatabaseType(Application.DatabaseTypevalue)

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

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

Parameter
Name Description
value Application.DatabaseType

The databaseType to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setDatabaseTypeValue(int value)

publicApplication.BuildersetDatabaseTypeValue(intvalue)

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

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

Parameter
Name Description
value int

The enum numeric value on the wire for databaseType to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setDefaultBucket(String value)

publicApplication.BuildersetDefaultBucket(Stringvalue)

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

string default_bucket = 12;

Parameter
Name Description
value String

The defaultBucket to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setDefaultBucketBytes(ByteString value)

publicApplication.BuildersetDefaultBucketBytes(ByteStringvalue)

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

string default_bucket = 12;

Parameter
Name Description
value ByteString

The bytes for defaultBucket to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setDefaultCookieExpiration(Duration value)

publicApplication.BuildersetDefaultCookieExpiration(Durationvalue)

Cookie expiration policy for this application.

.google.protobuf.Duration default_cookie_expiration = 9;

Parameter
Name Description
value Duration
Returns
Type Description

setDefaultCookieExpiration(Duration.Builder builderForValue)

publicApplication.BuildersetDefaultCookieExpiration(Duration.BuilderbuilderForValue)

Cookie expiration policy for this application.

.google.protobuf.Duration default_cookie_expiration = 9;

Parameter
Name Description
builderForValue Builder
Returns
Type Description

setDefaultHostname(String value)

publicApplication.BuildersetDefaultHostname(Stringvalue)

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

string default_hostname = 11;

Parameter
Name Description
value String

The defaultHostname to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setDefaultHostnameBytes(ByteString value)

publicApplication.BuildersetDefaultHostnameBytes(ByteStringvalue)

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

string default_hostname = 11;

Parameter
Name Description
value ByteString

The bytes for defaultHostname to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setDispatchRules(int index, UrlDispatchRule value)

publicApplication.BuildersetDispatchRules(intindex,UrlDispatchRulevalue)

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;

Parameters
Name Description
index int
Returns
Type Description

setDispatchRules(int index, UrlDispatchRule.Builder builderForValue)

publicApplication.BuildersetDispatchRules(intindex,UrlDispatchRule.BuilderbuilderForValue)

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;

Parameters
Name Description
index int
builderForValue UrlDispatchRule.Builder
Returns
Type Description

setFeatureSettings(Application.FeatureSettings value)

publicApplication.BuildersetFeatureSettings(Application.FeatureSettingsvalue)

The feature specific settings to be used in the application.

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

Parameter
Name Description
Returns
Type Description

setFeatureSettings(Application.FeatureSettings.Builder builderForValue)

publicApplication.BuildersetFeatureSettings(Application.FeatureSettings.BuilderbuilderForValue)

The feature specific settings to be used in the application.

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

Parameter
Name Description
Returns
Type Description

setField(Descriptors.FieldDescriptor field, Object value)

publicApplication.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
value Object
Returns
Type Description
Overrides

setGcrDomain(String value)

publicApplication.BuildersetGcrDomain(Stringvalue)

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

string gcr_domain = 16;

Parameter
Name Description
value String

The gcrDomain to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setGcrDomainBytes(ByteString value)

publicApplication.BuildersetGcrDomainBytes(ByteStringvalue)

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

string gcr_domain = 16;

Parameter
Name Description
value ByteString

The bytes for gcrDomain to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setIap(Application.IdentityAwareProxy value)

publicApplication.BuildersetIap(Application.IdentityAwareProxyvalue)

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

Parameter
Name Description
Returns
Type Description

setIap(Application.IdentityAwareProxy.Builder builderForValue)

publicApplication.BuildersetIap(Application.IdentityAwareProxy.BuilderbuilderForValue)

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

Parameter
Name Description
Returns
Type Description

setId(String value)

publicApplication.BuildersetId(Stringvalue)

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;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setIdBytes(ByteString value)

publicApplication.BuildersetIdBytes(ByteStringvalue)

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;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setLocationId(String value)

publicApplication.BuildersetLocationId(Stringvalue)

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;

Parameter
Name Description
value String

The locationId to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setLocationIdBytes(ByteString value)

publicApplication.BuildersetLocationIdBytes(ByteStringvalue)

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;

Parameter
Name Description
value ByteString

The bytes for locationId to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setName(String value)

publicApplication.BuildersetName(Stringvalue)

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

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setNameBytes(ByteString value)

publicApplication.BuildersetNameBytes(ByteStringvalue)

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

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicApplication.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
index int
value Object
Returns
Type Description
Overrides

setServiceAccount(String value)

publicApplication.BuildersetServiceAccount(Stringvalue)

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;

Parameter
Name Description
value String

The serviceAccount to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setServiceAccountBytes(ByteString value)

publicApplication.BuildersetServiceAccountBytes(ByteStringvalue)

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;

Parameter
Name Description
value ByteString

The bytes for serviceAccount to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setServingStatus(Application.ServingStatus value)

publicApplication.BuildersetServingStatus(Application.ServingStatusvalue)

Serving status of this application.

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

Parameter
Name Description
value Application.ServingStatus

The servingStatus to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setServingStatusValue(int value)

publicApplication.BuildersetServingStatusValue(intvalue)

Serving status of this application.

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

Parameter
Name Description
value int

The enum numeric value on the wire for servingStatus to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalApplication.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Overrides

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.