Class Application.Builder (2.32.0)

public static final class Application.Builder extends GeneratedMessageV3.Builder<Application.Builder> implements ApplicationOrBuilder

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

Protobuf type google.appengine.v1.Application

Static Methods

getDescriptor()

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

Methods

addAllDispatchRules(Iterable<? extends UrlDispatchRule> values)

public Application.Builder addAllDispatchRules(Iterable<? extends UrlDispatchRule> 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
NameDescription
valuesIterable<? extends com.google.appengine.v1.UrlDispatchRule>
Returns
TypeDescription
Application.Builder

addDispatchRules(UrlDispatchRule value)

public Application.Builder addDispatchRules(UrlDispatchRule value)

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
valueUrlDispatchRule
Returns
TypeDescription
Application.Builder

addDispatchRules(UrlDispatchRule.Builder builderForValue)

public Application.Builder addDispatchRules(UrlDispatchRule.Builder builderForValue)

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
builderForValueUrlDispatchRule.Builder
Returns
TypeDescription
Application.Builder

addDispatchRules(int index, UrlDispatchRule value)

public Application.Builder addDispatchRules(int index, UrlDispatchRule value)

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
NameDescription
indexint
valueUrlDispatchRule
Returns
TypeDescription
Application.Builder

addDispatchRules(int index, UrlDispatchRule.Builder builderForValue)

public Application.Builder addDispatchRules(int index, UrlDispatchRule.Builder builderForValue)

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
NameDescription
indexint
builderForValueUrlDispatchRule.Builder
Returns
TypeDescription
Application.Builder

addDispatchRulesBuilder()

public UrlDispatchRule.Builder addDispatchRulesBuilder()

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

addDispatchRulesBuilder(int index)

public UrlDispatchRule.Builder addDispatchRulesBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Application.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Application.Builder
Overrides

build()

public Application build()
Returns
TypeDescription
Application

buildPartial()

public Application buildPartial()
Returns
TypeDescription
Application

clear()

public Application.Builder clear()
Returns
TypeDescription
Application.Builder
Overrides

clearAuthDomain()

public Application.Builder clearAuthDomain()

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

This builder for chaining.

clearCodeBucket()

public Application.Builder clearCodeBucket()

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

This builder for chaining.

clearDatabaseType()

public Application.Builder clearDatabaseType()

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

This builder for chaining.

clearDefaultBucket()

public Application.Builder clearDefaultBucket()

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

@OutputOnly

string default_bucket = 12;

Returns
TypeDescription
Application.Builder

This builder for chaining.

clearDefaultCookieExpiration()

public Application.Builder clearDefaultCookieExpiration()

Cookie expiration policy for this application.

.google.protobuf.Duration default_cookie_expiration = 9;

Returns
TypeDescription
Application.Builder

clearDefaultHostname()

public Application.Builder clearDefaultHostname()

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

@OutputOnly

string default_hostname = 11;

Returns
TypeDescription
Application.Builder

This builder for chaining.

clearDispatchRules()

public Application.Builder clearDispatchRules()

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

clearFeatureSettings()

public Application.Builder clearFeatureSettings()

The feature specific settings to be used in the application.

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

Returns
TypeDescription
Application.Builder

clearField(Descriptors.FieldDescriptor field)

public Application.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Application.Builder
Overrides

clearGcrDomain()

public Application.Builder clearGcrDomain()

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

string gcr_domain = 16;

Returns
TypeDescription
Application.Builder

This builder for chaining.

clearIap()

public Application.Builder clearIap()

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

Returns
TypeDescription
Application.Builder

clearId()

public Application.Builder clearId()

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

This builder for chaining.

clearLocationId()

public Application.Builder clearLocationId()

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

This builder for chaining.

clearName()

public Application.Builder clearName()

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

@OutputOnly

string name = 1;

Returns
TypeDescription
Application.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Application.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Application.Builder
Overrides

clearServiceAccount()

public Application.Builder clearServiceAccount()

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

This builder for chaining.

clearServingStatus()

public Application.Builder clearServingStatus()

Serving status of this application.

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

Returns
TypeDescription
Application.Builder

This builder for chaining.

clone()

public Application.Builder clone()
Returns
TypeDescription
Application.Builder
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.

getDefaultCookieExpirationBuilder()

public Duration.Builder getDefaultCookieExpirationBuilder()

Cookie expiration policy for this application.

.google.protobuf.Duration default_cookie_expiration = 9;

Returns
TypeDescription
Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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

getDispatchRulesBuilder(int index)

public UrlDispatchRule.Builder getDispatchRulesBuilder(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.Builder

getDispatchRulesBuilderList()

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

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.

getFeatureSettingsBuilder()

public Application.FeatureSettings.Builder getFeatureSettingsBuilder()

The feature specific settings to be used in the application.

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

Returns
TypeDescription
Application.FeatureSettings.Builder

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.

getIapBuilder()

public Application.IdentityAwareProxy.Builder getIapBuilder()

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

Returns
TypeDescription
Application.IdentityAwareProxy.Builder

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.

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDefaultCookieExpiration(Duration value)

public Application.Builder mergeDefaultCookieExpiration(Duration value)

Cookie expiration policy for this application.

.google.protobuf.Duration default_cookie_expiration = 9;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
Application.Builder

mergeFeatureSettings(Application.FeatureSettings value)

public Application.Builder mergeFeatureSettings(Application.FeatureSettings value)

The feature specific settings to be used in the application.

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

Parameter
NameDescription
valueApplication.FeatureSettings
Returns
TypeDescription
Application.Builder

mergeFrom(Application other)

public Application.Builder mergeFrom(Application other)
Parameter
NameDescription
otherApplication
Returns
TypeDescription
Application.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Application.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Application.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Application.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Application.Builder
Overrides

mergeIap(Application.IdentityAwareProxy value)

public Application.Builder mergeIap(Application.IdentityAwareProxy value)

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

Parameter
NameDescription
valueApplication.IdentityAwareProxy
Returns
TypeDescription
Application.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Application.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Application.Builder
Overrides

removeDispatchRules(int index)

public Application.Builder removeDispatchRules(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
Application.Builder

setAuthDomain(String value)

public Application.Builder setAuthDomain(String value)

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
NameDescription
valueString

The authDomain to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setAuthDomainBytes(ByteString value)

public Application.Builder setAuthDomainBytes(ByteString value)

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
NameDescription
valueByteString

The bytes for authDomain to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setCodeBucket(String value)

public Application.Builder setCodeBucket(String value)

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
NameDescription
valueString

The codeBucket to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setCodeBucketBytes(ByteString value)

public Application.Builder setCodeBucketBytes(ByteString value)

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
NameDescription
valueByteString

The bytes for codeBucket to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setDatabaseType(Application.DatabaseType value)

public Application.Builder setDatabaseType(Application.DatabaseType value)

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

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

Parameter
NameDescription
valueApplication.DatabaseType

The databaseType to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setDatabaseTypeValue(int value)

public Application.Builder setDatabaseTypeValue(int value)

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

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
Application.Builder

This builder for chaining.

setDefaultBucket(String value)

public Application.Builder setDefaultBucket(String value)

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

@OutputOnly

string default_bucket = 12;

Parameter
NameDescription
valueString

The defaultBucket to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setDefaultBucketBytes(ByteString value)

public Application.Builder setDefaultBucketBytes(ByteString value)

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

@OutputOnly

string default_bucket = 12;

Parameter
NameDescription
valueByteString

The bytes for defaultBucket to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setDefaultCookieExpiration(Duration value)

public Application.Builder setDefaultCookieExpiration(Duration value)

Cookie expiration policy for this application.

.google.protobuf.Duration default_cookie_expiration = 9;

Parameter
NameDescription
valueDuration
Returns
TypeDescription
Application.Builder

setDefaultCookieExpiration(Duration.Builder builderForValue)

public Application.Builder setDefaultCookieExpiration(Duration.Builder builderForValue)

Cookie expiration policy for this application.

.google.protobuf.Duration default_cookie_expiration = 9;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Application.Builder

setDefaultHostname(String value)

public Application.Builder setDefaultHostname(String value)

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

@OutputOnly

string default_hostname = 11;

Parameter
NameDescription
valueString

The defaultHostname to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setDefaultHostnameBytes(ByteString value)

public Application.Builder setDefaultHostnameBytes(ByteString value)

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

@OutputOnly

string default_hostname = 11;

Parameter
NameDescription
valueByteString

The bytes for defaultHostname to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setDispatchRules(int index, UrlDispatchRule value)

public Application.Builder setDispatchRules(int index, UrlDispatchRule value)

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
NameDescription
indexint
valueUrlDispatchRule
Returns
TypeDescription
Application.Builder

setDispatchRules(int index, UrlDispatchRule.Builder builderForValue)

public Application.Builder setDispatchRules(int index, UrlDispatchRule.Builder builderForValue)

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
NameDescription
indexint
builderForValueUrlDispatchRule.Builder
Returns
TypeDescription
Application.Builder

setFeatureSettings(Application.FeatureSettings value)

public Application.Builder setFeatureSettings(Application.FeatureSettings value)

The feature specific settings to be used in the application.

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

Parameter
NameDescription
valueApplication.FeatureSettings
Returns
TypeDescription
Application.Builder

setFeatureSettings(Application.FeatureSettings.Builder builderForValue)

public Application.Builder setFeatureSettings(Application.FeatureSettings.Builder builderForValue)

The feature specific settings to be used in the application.

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

Parameter
NameDescription
builderForValueApplication.FeatureSettings.Builder
Returns
TypeDescription
Application.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Application.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Application.Builder
Overrides

setGcrDomain(String value)

public Application.Builder setGcrDomain(String value)

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

string gcr_domain = 16;

Parameter
NameDescription
valueString

The gcrDomain to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setGcrDomainBytes(ByteString value)

public Application.Builder setGcrDomainBytes(ByteString value)

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

string gcr_domain = 16;

Parameter
NameDescription
valueByteString

The bytes for gcrDomain to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setIap(Application.IdentityAwareProxy value)

public Application.Builder setIap(Application.IdentityAwareProxy value)

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

Parameter
NameDescription
valueApplication.IdentityAwareProxy
Returns
TypeDescription
Application.Builder

setIap(Application.IdentityAwareProxy.Builder builderForValue)

public Application.Builder setIap(Application.IdentityAwareProxy.Builder builderForValue)

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

Parameter
NameDescription
builderForValueApplication.IdentityAwareProxy.Builder
Returns
TypeDescription
Application.Builder

setId(String value)

public Application.Builder setId(String value)

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
NameDescription
valueString

The id to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setIdBytes(ByteString value)

public Application.Builder setIdBytes(ByteString value)

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
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setLocationId(String value)

public Application.Builder setLocationId(String value)

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
NameDescription
valueString

The locationId to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setLocationIdBytes(ByteString value)

public Application.Builder setLocationIdBytes(ByteString value)

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
NameDescription
valueByteString

The bytes for locationId to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setName(String value)

public Application.Builder setName(String value)

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

@OutputOnly

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Application.Builder setNameBytes(ByteString value)

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

@OutputOnly

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

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

public Application.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Application.Builder
Overrides

setServiceAccount(String value)

public Application.Builder setServiceAccount(String value)

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
NameDescription
valueString

The serviceAccount to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setServiceAccountBytes(ByteString value)

public Application.Builder setServiceAccountBytes(ByteString value)

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
NameDescription
valueByteString

The bytes for serviceAccount to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setServingStatus(Application.ServingStatus value)

public Application.Builder setServingStatus(Application.ServingStatus value)

Serving status of this application.

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

Parameter
NameDescription
valueApplication.ServingStatus

The servingStatus to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setServingStatusValue(int value)

public Application.Builder setServingStatusValue(int value)

Serving status of this application.

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
Application.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Application.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Application.Builder
Overrides