Class Application.Builder (2.6.0)

Stay organized with collections Save and categorize content based on your preferences.
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 b