Package com.google.appengine.v1
Class UrlMap.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
- com.google.appengine.v1.UrlMap.Builder
-
- All Implemented Interfaces:
UrlMapOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- UrlMap
public static final class UrlMap.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder> implements UrlMapOrBuilder
URL pattern and description of how the URL should be handled. App Engine can handle URLs by executing application code or by serving static files uploaded with the version, such as images, CSS, or JavaScript.
Protobuf typegoogle.appengine.v1.UrlMap
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UrlMap.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
UrlMap
build()
UrlMap
buildPartial()
UrlMap.Builder
clear()
UrlMap.Builder
clearApiEndpoint()
Uses API Endpoints to handle requests.UrlMap.Builder
clearAuthFailAction()
Action to take when users access resources that require authentication.UrlMap.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
UrlMap.Builder
clearHandlerType()
UrlMap.Builder
clearLogin()
Level of login required to access this resource.UrlMap.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
UrlMap.Builder
clearRedirectHttpResponseCode()
`30x` code to use when performing redirects for the `secure` field.UrlMap.Builder
clearScript()
Executes a script to handle the requests that match this URL pattern.UrlMap.Builder
clearSecurityLevel()
Security (HTTPS) enforcement for this URL.UrlMap.Builder
clearStaticFiles()
Returns the contents of a file, such as an image, as the response.UrlMap.Builder
clearUrlRegex()
URL prefix.UrlMap.Builder
clone()
ApiEndpointHandler
getApiEndpoint()
Uses API Endpoints to handle requests.ApiEndpointHandler.Builder
getApiEndpointBuilder()
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
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.ScriptHandler.Builder
getScriptBuilder()
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.StaticFilesHandler.Builder
getStaticFilesBuilder()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
UrlMap.Builder
mergeApiEndpoint(ApiEndpointHandler value)
Uses API Endpoints to handle requests.UrlMap.Builder
mergeFrom(UrlMap other)
UrlMap.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
UrlMap.Builder
mergeFrom(com.google.protobuf.Message other)
UrlMap.Builder
mergeScript(ScriptHandler value)
Executes a script to handle the requests that match this URL pattern.UrlMap.Builder
mergeStaticFiles(StaticFilesHandler value)
Returns the contents of a file, such as an image, as the response.UrlMap.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
UrlMap.Builder
setApiEndpoint(ApiEndpointHandler value)
Uses API Endpoints to handle requests.UrlMap.Builder
setApiEndpoint(ApiEndpointHandler.Builder builderForValue)
Uses API Endpoints to handle requests.UrlMap.Builder
setAuthFailAction(AuthFailAction value)
Action to take when users access resources that require authentication.UrlMap.Builder
setAuthFailActionValue(int value)
Action to take when users access resources that require authentication.UrlMap.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
UrlMap.Builder
setLogin(LoginRequirement value)
Level of login required to access this resource.UrlMap.Builder
setLoginValue(int value)
Level of login required to access this resource.UrlMap.Builder
setRedirectHttpResponseCode(UrlMap.RedirectHttpResponseCode value)
`30x` code to use when performing redirects for the `secure` field.UrlMap.Builder
setRedirectHttpResponseCodeValue(int value)
`30x` code to use when performing redirects for the `secure` field.UrlMap.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
UrlMap.Builder
setScript(ScriptHandler value)
Executes a script to handle the requests that match this URL pattern.UrlMap.Builder
setScript(ScriptHandler.Builder builderForValue)
Executes a script to handle the requests that match this URL pattern.UrlMap.Builder
setSecurityLevel(SecurityLevel value)
Security (HTTPS) enforcement for this URL.UrlMap.Builder
setSecurityLevelValue(int value)
Security (HTTPS) enforcement for this URL.UrlMap.Builder
setStaticFiles(StaticFilesHandler value)
Returns the contents of a file, such as an image, as the response.UrlMap.Builder
setStaticFiles(StaticFilesHandler.Builder builderForValue)
Returns the contents of a file, such as an image, as the response.UrlMap.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
UrlMap.Builder
setUrlRegex(String value)
URL prefix.UrlMap.Builder
setUrlRegexBytes(com.google.protobuf.ByteString value)
URL prefix.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
clear
public UrlMap.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
getDefaultInstanceForType
public UrlMap getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public UrlMap build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UrlMap buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UrlMap.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
setField
public UrlMap.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
clearField
public UrlMap.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
clearOneof
public UrlMap.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
setRepeatedField
public UrlMap.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
addRepeatedField
public UrlMap.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
mergeFrom
public UrlMap.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UrlMap.Builder>
-
mergeFrom
public UrlMap.Builder mergeFrom(UrlMap other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
mergeFrom
public UrlMap.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UrlMap.Builder>
- Throws:
IOException
-
getHandlerTypeCase
public UrlMap.HandlerTypeCase getHandlerTypeCase()
- Specified by:
getHandlerTypeCase
in interfaceUrlMapOrBuilder
-
clearHandlerType
public UrlMap.Builder clearHandlerType()
-
getUrlRegex
public 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;
- Specified by:
getUrlRegex
in interfaceUrlMapOrBuilder
- Returns:
- The urlRegex.
-
getUrlRegexBytes
public 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;
- Specified by:
getUrlRegexBytes
in interfaceUrlMapOrBuilder
- Returns:
- The bytes for urlRegex.
-
setUrlRegex
public UrlMap.Builder setUrlRegex(String value)
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;
- Parameters:
value
- The urlRegex to set.- Returns:
- This builder for chaining.
-
clearUrlRegex
public UrlMap.Builder clearUrlRegex()
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:
- This builder for chaining.
-
setUrlRegexBytes
public UrlMap.Builder setUrlRegexBytes(com.google.protobuf.ByteString value)
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;
- Parameters:
value
- The bytes for urlRegex to set.- Returns:
- This builder for chaining.
-
hasStaticFiles
public boolean hasStaticFiles()
Returns the contents of a file, such as an image, as the response.
.google.appengine.v1.StaticFilesHandler static_files = 2;
- Specified by:
hasStaticFiles
in interfaceUrlMapOrBuilder
- Returns:
- Whether the staticFiles field is set.
-
getStaticFiles
public StaticFilesHandler getStaticFiles()
Returns the contents of a file, such as an image, as the response.
.google.appengine.v1.StaticFilesHandler static_files = 2;
- Specified by:
getStaticFiles
in interfaceUrlMapOrBuilder
- Returns:
- The staticFiles.
-
setStaticFiles
public UrlMap.Builder setStaticFiles(StaticFilesHandler value)
Returns the contents of a file, such as an image, as the response.
.google.appengine.v1.StaticFilesHandler static_files = 2;
-
setStaticFiles
public UrlMap.Builder setStaticFiles(StaticFilesHandler.Builder builderForValue)
Returns the contents of a file, such as an image, as the response.
.google.appengine.v1.StaticFilesHandler static_files = 2;
-
mergeStaticFiles
public UrlMap.Builder mergeStaticFiles(StaticFilesHandler value)
Returns the contents of a file, such as an image, as the response.
.google.appengine.v1.StaticFilesHandler static_files = 2;
-
clearStaticFiles
public UrlMap.Builder clearStaticFiles()
Returns the contents of a file, such as an image, as the response.
.google.appengine.v1.StaticFilesHandler static_files = 2;
-
getStaticFilesBuilder
public StaticFilesHandler.Builder getStaticFilesBuilder()
Returns the contents of a file, such as an image, as the response.
.google.appengine.v1.StaticFilesHandler static_files = 2;
-
getStaticFilesOrBuilder
public StaticFilesHandlerOrBuilder getStaticFilesOrBuilder()
Returns the contents of a file, such as an image, as the response.
.google.appengine.v1.StaticFilesHandler static_files = 2;
- Specified by:
getStaticFilesOrBuilder
in interfaceUrlMapOrBuilder
-
hasScript
public 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;
- Specified by:
hasScript
in interfaceUrlMapOrBuilder
- Returns:
- Whether the script field is set.
-
getScript
public 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;
- Specified by:
getScript
in interfaceUrlMapOrBuilder
- Returns:
- The script.
-
setScript
public UrlMap.Builder setScript(ScriptHandler value)
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;
-
setScript
public UrlMap.Builder setScript(ScriptHandler.Builder builderForValue)
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;
-
mergeScript
public UrlMap.Builder mergeScript(ScriptHandler value)
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;
-
clearScript
public UrlMap.Builder clearScript()
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;
-
getScriptBuilder
public ScriptHandler.Builder getScriptBuilder()
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;
-
getScriptOrBuilder
public 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;
- Specified by:
getScriptOrBuilder
in interfaceUrlMapOrBuilder
-
hasApiEndpoint
public boolean hasApiEndpoint()
Uses API Endpoints to handle requests.
.google.appengine.v1.ApiEndpointHandler api_endpoint = 4;
- Specified by:
hasApiEndpoint
in interfaceUrlMapOrBuilder
- Returns:
- Whether the apiEndpoint field is set.
-
getApiEndpoint
public ApiEndpointHandler getApiEndpoint()
Uses API Endpoints to handle requests.
.google.appengine.v1.ApiEndpointHandler api_endpoint = 4;
- Specified by:
getApiEndpoint
in interfaceUrlMapOrBuilder
- Returns:
- The apiEndpoint.
-
setApiEndpoint
public UrlMap.Builder setApiEndpoint(ApiEndpointHandler value)
Uses API Endpoints to handle requests.
.google.appengine.v1.ApiEndpointHandler api_endpoint = 4;
-
setApiEndpoint
public UrlMap.Builder setApiEndpoint(ApiEndpointHandler.Builder builderForValue)
Uses API Endpoints to handle requests.
.google.appengine.v1.ApiEndpointHandler api_endpoint = 4;
-
mergeApiEndpoint
public UrlMap.Builder mergeApiEndpoint(ApiEndpointHandler value)
Uses API Endpoints to handle requests.
.google.appengine.v1.ApiEndpointHandler api_endpoint = 4;
-
clearApiEndpoint
public UrlMap.Builder clearApiEndpoint()
Uses API Endpoints to handle requests.
.google.appengine.v1.ApiEndpointHandler api_endpoint = 4;
-
getApiEndpointBuilder
public ApiEndpointHandler.Builder getApiEndpointBuilder()
Uses API Endpoints to handle requests.
.google.appengine.v1.ApiEndpointHandler api_endpoint = 4;
-
getApiEndpointOrBuilder
public ApiEndpointHandlerOrBuilder getApiEndpointOrBuilder()
Uses API Endpoints to handle requests.
.google.appengine.v1.ApiEndpointHandler api_endpoint = 4;
- Specified by:
getApiEndpointOrBuilder
in interfaceUrlMapOrBuilder
-
getSecurityLevelValue
public int getSecurityLevelValue()
Security (HTTPS) enforcement for this URL.
.google.appengine.v1.SecurityLevel security_level = 5;
- Specified by:
getSecurityLevelValue
in interfaceUrlMapOrBuilder
- Returns:
- The enum numeric value on the wire for securityLevel.
-
setSecurityLevelValue
public UrlMap.Builder setSecurityLevelValue(int value)
Security (HTTPS) enforcement for this URL.
.google.appengine.v1.SecurityLevel security_level = 5;
- Parameters:
value
- The enum numeric value on the wire for securityLevel to set.- Returns:
- This builder for chaining.
-
getSecurityLevel
public SecurityLevel getSecurityLevel()
Security (HTTPS) enforcement for this URL.
.google.appengine.v1.SecurityLevel security_level = 5;
- Specified by:
getSecurityLevel
in interfaceUrlMapOrBuilder
- Returns:
- The securityLevel.
-
setSecurityLevel
public UrlMap.Builder setSecurityLevel(SecurityLevel value)
Security (HTTPS) enforcement for this URL.
.google.appengine.v1.SecurityLevel security_level = 5;
- Parameters:
value
- The securityLevel to set.- Returns:
- This builder for chaining.
-
clearSecurityLevel
public UrlMap.Builder clearSecurityLevel()
Security (HTTPS) enforcement for this URL.
.google.appengine.v1.SecurityLevel security_level = 5;
- Returns:
- This builder for chaining.
-
getLoginValue
public 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;
- Specified by:
getLoginValue
in interfaceUrlMapOrBuilder
- Returns:
- The enum numeric value on the wire for login.
-
setLoginValue
public UrlMap.Builder setLoginValue(int value)
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;
- Parameters:
value
- The enum numeric value on the wire for login to set.- Returns:
- This builder for chaining.
-
getLogin
public 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;
- Specified by:
getLogin
in interfaceUrlMapOrBuilder
- Returns:
- The login.
-
setLogin
public UrlMap.Builder setLogin(LoginRequirement value)
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;
- Parameters:
value
- The login to set.- Returns:
- This builder for chaining.
-
clearLogin
public UrlMap.Builder clearLogin()
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:
- This builder for chaining.
-
getAuthFailActionValue
public int getAuthFailActionValue()
Action to take when users access resources that require authentication. Defaults to `redirect`.
.google.appengine.v1.AuthFailAction auth_fail_action = 7;
- Specified by:
getAuthFailActionValue
in interfaceUrlMapOrBuilder
- Returns:
- The enum numeric value on the wire for authFailAction.
-
setAuthFailActionValue
public UrlMap.Builder setAuthFailActionValue(int value)
Action to take when users access resources that require authentication. Defaults to `redirect`.
.google.appengine.v1.AuthFailAction auth_fail_action = 7;
- Parameters:
value
- The enum numeric value on the wire for authFailAction to set.- Returns:
- This builder for chaining.
-
getAuthFailAction
public AuthFailAction getAuthFailAction()
Action to take when users access resources that require authentication. Defaults to `redirect`.
.google.appengine.v1.AuthFailAction auth_fail_action = 7;
- Specified by:
getAuthFailAction
in interfaceUrlMapOrBuilder
- Returns:
- The authFailAction.
-
setAuthFailAction
public UrlMap.Builder setAuthFailAction(AuthFailAction value)
Action to take when users access resources that require authentication. Defaults to `redirect`.
.google.appengine.v1.AuthFailAction auth_fail_action = 7;
- Parameters:
value
- The authFailAction to set.- Returns:
- This builder for chaining.
-
clearAuthFailAction
public UrlMap.Builder clearAuthFailAction()
Action to take when users access resources that require authentication. Defaults to `redirect`.
.google.appengine.v1.AuthFailAction auth_fail_action = 7;
- Returns:
- This builder for chaining.
-
getRedirectHttpResponseCodeValue
public 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;
- Specified by:
getRedirectHttpResponseCodeValue
in interfaceUrlMapOrBuilder
- Returns:
- The enum numeric value on the wire for redirectHttpResponseCode.
-
setRedirectHttpResponseCodeValue
public UrlMap.Builder setRedirectHttpResponseCodeValue(int value)
`30x` code to use when performing redirects for the `secure` field. Defaults to `302`.
.google.appengine.v1.UrlMap.RedirectHttpResponseCode redirect_http_response_code = 8;
- Parameters:
value
- The enum numeric value on the wire for redirectHttpResponseCode to set.- Returns:
- This builder for chaining.
-
getRedirectHttpResponseCode
public 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;
- Specified by:
getRedirectHttpResponseCode
in interfaceUrlMapOrBuilder
- Returns:
- The redirectHttpResponseCode.
-
setRedirectHttpResponseCode
public UrlMap.Builder setRedirectHttpResponseCode(UrlMap.RedirectHttpResponseCode value)
`30x` code to use when performing redirects for the `secure` field. Defaults to `302`.
.google.appengine.v1.UrlMap.RedirectHttpResponseCode redirect_http_response_code = 8;
- Parameters:
value
- The redirectHttpResponseCode to set.- Returns:
- This builder for chaining.
-
clearRedirectHttpResponseCode
public UrlMap.Builder clearRedirectHttpResponseCode()
`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:
- This builder for chaining.
-
setUnknownFields
public final UrlMap.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
mergeUnknownFields
public final UrlMap.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UrlMap.Builder>
-
-