Interface UrlMapOrBuilder (2.21.0)

public interface UrlMapOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApiEndpoint()

public abstract ApiEndpointHandler getApiEndpoint()

Uses API Endpoints to handle requests.

.google.appengine.v1.ApiEndpointHandler api_endpoint = 4;

Returns
TypeDescription
ApiEndpointHandler

The apiEndpoint.

getApiEndpointOrBuilder()

public abstract ApiEndpointHandlerOrBuilder getApiEndpointOrBuilder()

Uses API Endpoints to handle requests.

.google.appengine.v1.ApiEndpointHandler api_endpoint = 4;

Returns
TypeDescription
ApiEndpointHandlerOrBuilder

getAuthFailAction()

public abstract AuthFailAction getAuthFailAction()

Action to take when users access resources that require authentication. Defaults to redirect.

.google.appengine.v1.AuthFailAction auth_fail_action = 7;

Returns
TypeDescription
AuthFailAction

The authFailAction.

getAuthFailActionValue()

public abstract int getAuthFailActionValue()

Action to take when users access resources that require authentication. Defaults to redirect.

.google.appengine.v1.AuthFailAction auth_fail_action = 7;

Returns
TypeDescription
int

The enum numeric value on the wire for authFailAction.

getHandlerTypeCase()

public abstract UrlMap.HandlerTypeCase getHandlerTypeCase()
Returns
TypeDescription
UrlMap.HandlerTypeCase

getLogin()

public abstract LoginRequirement getLogin()

Level of login required to access this resource. Not supported for Node.js in the App Engine standard environment.

.google.appengine.v1.LoginRequirement login = 6;

Returns
TypeDescription
LoginRequirement

The login.

getLoginValue()

public abstract int getLoginValue()

Level of login required to access this resource. Not supported for Node.js in the App Engine standard environment.

.google.appengine.v1.LoginRequirement login = 6;

Returns
TypeDescription
int

The enum numeric value on the wire for login.

getRedirectHttpResponseCode()

public abstract UrlMap.RedirectHttpResponseCode getRedirectHttpResponseCode()

30x code to use when performing redirects for the secure field. Defaults to 302.

.google.appengine.v1.UrlMap.RedirectHttpResponseCode redirect_http_response_code = 8;

Returns
TypeDescription
UrlMap.RedirectHttpResponseCode

The redirectHttpResponseCode.

getRedirectHttpResponseCodeValue()

public abstract int getRedirectHttpResponseCodeValue()

30x code to use when performing redirects for the secure field. Defaults to 302.

.google.appengine.v1.UrlMap.RedirectHttpResponseCode redirect_http_response_code = 8;

Returns
TypeDescription
int

The enum numeric value on the wire for redirectHttpResponseCode.

getScript()

public abstract ScriptHandler getScript()

Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script": "auto".

.google.appengine.v1.ScriptHandler script = 3;

Returns
TypeDescription
ScriptHandler

The script.

getScriptOrBuilder()

public abstract ScriptHandlerOrBuilder getScriptOrBuilder()

Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script": "auto".

.google.appengine.v1.ScriptHandler script = 3;

Returns
TypeDescription
ScriptHandlerOrBuilder

getSecurityLevel()

public abstract SecurityLevel getSecurityLevel()

Security (HTTPS) enforcement for this URL.

.google.appengine.v1.SecurityLevel security_level = 5;

Returns
TypeDescription
SecurityLevel

The securityLevel.

getSecurityLevelValue()

public abstract int getSecurityLevelValue()

Security (HTTPS) enforcement for this URL.

.google.appengine.v1.SecurityLevel security_level = 5;

Returns
TypeDescription
int

The enum numeric value on the wire for securityLevel.

getStaticFiles()

public abstract StaticFilesHandler getStaticFiles()

Returns the contents of a file, such as an image, as the response.

.google.appengine.v1.StaticFilesHandler static_files = 2;

Returns
TypeDescription
StaticFilesHandler

The staticFiles.

getStaticFilesOrBuilder()

public abstract StaticFilesHandlerOrBuilder getStaticFilesOrBuilder()

Returns the contents of a file, such as an image, as the response.

.google.appengine.v1.StaticFilesHandler static_files = 2;

Returns
TypeDescription
StaticFilesHandlerOrBuilder

getUrlRegex()

public abstract String getUrlRegex()

URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.

string url_regex = 1;

Returns
TypeDescription
String

The urlRegex.

getUrlRegexBytes()

public abstract ByteString getUrlRegexBytes()

URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.

string url_regex = 1;

Returns
TypeDescription
ByteString

The bytes for urlRegex.

hasApiEndpoint()

public abstract boolean hasApiEndpoint()

Uses API Endpoints to handle requests.

.google.appengine.v1.ApiEndpointHandler api_endpoint = 4;

Returns
TypeDescription
boolean

Whether the apiEndpoint field is set.

hasScript()

public abstract boolean hasScript()

Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for Node.js in the App Engine standard environment, for example "script": "auto".

.google.appengine.v1.ScriptHandler script = 3;

Returns
TypeDescription
boolean

Whether the script field is set.

hasStaticFiles()

public abstract boolean hasStaticFiles()

Returns the contents of a file, such as an image, as the response.

.google.appengine.v1.StaticFilesHandler static_files = 2;

Returns
TypeDescription
boolean

Whether the staticFiles field is set.