Package com.google.appengine.v1
Interface UrlMapOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UrlMap
,UrlMap.Builder
public interface UrlMapOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApiEndpointHandler
getApiEndpoint()
Uses API Endpoints to handle requests.ApiEndpointHandlerOrBuilder
getApiEndpointOrBuilder()
Uses API Endpoints to handle requests.AuthFailAction
getAuthFailAction()
Action to take when users access resources that require authentication.int
getAuthFailActionValue()
Action to take when users access resources that require authentication.UrlMap.HandlerTypeCase
getHandlerTypeCase()
LoginRequirement
getLogin()
Level of login required to access this resource.int
getLoginValue()
Level of login required to access this resource.UrlMap.RedirectHttpResponseCode
getRedirectHttpResponseCode()
`30x` code to use when performing redirects for the `secure` field.int
getRedirectHttpResponseCodeValue()
`30x` code to use when performing redirects for the `secure` field.ScriptHandler
getScript()
Executes a script to handle the requests that match this URL pattern.ScriptHandlerOrBuilder
getScriptOrBuilder()
Executes a script to handle the requests that match this URL pattern.SecurityLevel
getSecurityLevel()
Security (HTTPS) enforcement for this URL.int
getSecurityLevelValue()
Security (HTTPS) enforcement for this URL.StaticFilesHandler
getStaticFiles()
Returns the contents of a file, such as an image, as the response.StaticFilesHandlerOrBuilder
getStaticFilesOrBuilder()
Returns the contents of a file, such as an image, as the response.String
getUrlRegex()
URL prefix.com.google.protobuf.ByteString
getUrlRegexBytes()
URL prefix.boolean
hasApiEndpoint()
Uses API Endpoints to handle requests.boolean
hasScript()
Executes a script to handle the requests that match this URL pattern.boolean
hasStaticFiles()
Returns the contents of a file, such as an image, as the response.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getUrlRegex
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:
- The urlRegex.
-
getUrlRegexBytes
com.google.protobuf.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:
- The bytes for urlRegex.
-
hasStaticFiles
boolean hasStaticFiles()
Returns the contents of a file, such as an image, as the response.
.google.appengine.v1.StaticFilesHandler static_files = 2;
- Returns:
- Whether the staticFiles field is set.
-
getStaticFiles
StaticFilesHandler getStaticFiles()
Returns the contents of a file, such as an image, as the response.
.google.appengine.v1.StaticFilesHandler static_files = 2;
- Returns:
- The staticFiles.
-
getStaticFilesOrBuilder
StaticFilesHandlerOrBuilder getStaticFilesOrBuilder()
Returns the contents of a file, such as an image, as the response.
.google.appengine.v1.StaticFilesHandler static_files = 2;
-
hasScript
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:
- Whether the script field is set.
-
getScript
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:
- The script.
-
getScriptOrBuilder
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;
-
hasApiEndpoint
boolean hasApiEndpoint()
Uses API Endpoints to handle requests.
.google.appengine.v1.ApiEndpointHandler api_endpoint = 4;
- Returns:
- Whether the apiEndpoint field is set.
-
getApiEndpoint
ApiEndpointHandler getApiEndpoint()
Uses API Endpoints to handle requests.
.google.appengine.v1.ApiEndpointHandler api_endpoint = 4;
- Returns:
- The apiEndpoint.
-
getApiEndpointOrBuilder
ApiEndpointHandlerOrBuilder getApiEndpointOrBuilder()
Uses API Endpoints to handle requests.
.google.appengine.v1.ApiEndpointHandler api_endpoint = 4;
-
getSecurityLevelValue
int getSecurityLevelValue()
Security (HTTPS) enforcement for this URL.
.google.appengine.v1.SecurityLevel security_level = 5;
- Returns:
- The enum numeric value on the wire for securityLevel.
-
getSecurityLevel
SecurityLevel getSecurityLevel()
Security (HTTPS) enforcement for this URL.
.google.appengine.v1.SecurityLevel security_level = 5;
- Returns:
- The securityLevel.
-
getLoginValue
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:
- The enum numeric value on the wire for login.
-
getLogin
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:
- The login.
-
getAuthFailActionValue
int getAuthFailActionValue()
Action to take when users access resources that require authentication. Defaults to `redirect`.
.google.appengine.v1.AuthFailAction auth_fail_action = 7;
- Returns:
- The enum numeric value on the wire for authFailAction.
-
getAuthFailAction
AuthFailAction getAuthFailAction()
Action to take when users access resources that require authentication. Defaults to `redirect`.
.google.appengine.v1.AuthFailAction auth_fail_action = 7;
- Returns:
- The authFailAction.
-
getRedirectHttpResponseCodeValue
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:
- The enum numeric value on the wire for redirectHttpResponseCode.
-
getRedirectHttpResponseCode
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:
- The redirectHttpResponseCode.
-
getHandlerTypeCase
UrlMap.HandlerTypeCase getHandlerTypeCase()
-
-