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 ApiEndpointHandlergetApiEndpoint()Uses API Endpoints to handle requests.ApiEndpointHandlerOrBuildergetApiEndpointOrBuilder()Uses API Endpoints to handle requests.AuthFailActiongetAuthFailAction()Action to take when users access resources that require authentication.intgetAuthFailActionValue()Action to take when users access resources that require authentication.UrlMap.HandlerTypeCasegetHandlerTypeCase()LoginRequirementgetLogin()Level of login required to access this resource.intgetLoginValue()Level of login required to access this resource.UrlMap.RedirectHttpResponseCodegetRedirectHttpResponseCode()`30x` code to use when performing redirects for the `secure` field.intgetRedirectHttpResponseCodeValue()`30x` code to use when performing redirects for the `secure` field.ScriptHandlergetScript()Executes a script to handle the requests that match this URL pattern.ScriptHandlerOrBuildergetScriptOrBuilder()Executes a script to handle the requests that match this URL pattern.SecurityLevelgetSecurityLevel()Security (HTTPS) enforcement for this URL.intgetSecurityLevelValue()Security (HTTPS) enforcement for this URL.StaticFilesHandlergetStaticFiles()Returns the contents of a file, such as an image, as the response.StaticFilesHandlerOrBuildergetStaticFilesOrBuilder()Returns the contents of a file, such as an image, as the response.StringgetUrlRegex()URL prefix.com.google.protobuf.ByteStringgetUrlRegexBytes()URL prefix.booleanhasApiEndpoint()Uses API Endpoints to handle requests.booleanhasScript()Executes a script to handle the requests that match this URL pattern.booleanhasStaticFiles()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()
-
-