public static final class ApiConfigHandler.Builder extends GeneratedMessageV3.Builder<ApiConfigHandler.Builder> implements ApiConfigHandlerOrBuilder
[Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/) configuration for API handlers.Protobuf type
google.appengine.v1.ApiConfigHandler
Modifier and Type | Method and Description |
---|---|
ApiConfigHandler.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ApiConfigHandler |
build() |
ApiConfigHandler |
buildPartial() |
ApiConfigHandler.Builder |
clear() |
ApiConfigHandler.Builder |
clearAuthFailAction()
Action to take when users access resources that require
authentication.
|
ApiConfigHandler.Builder |
clearField(Descriptors.FieldDescriptor field) |
ApiConfigHandler.Builder |
clearLogin()
Level of login required to access this resource.
|
ApiConfigHandler.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ApiConfigHandler.Builder |
clearScript()
Path to the script from the application root directory.
|
ApiConfigHandler.Builder |
clearSecurityLevel()
Security (HTTPS) enforcement for this URL.
|
ApiConfigHandler.Builder |
clearUrl()
URL to serve the endpoint at.
|
ApiConfigHandler.Builder |
clone() |
AuthFailAction |
getAuthFailAction()
Action to take when users access resources that require
authentication.
|
int |
getAuthFailActionValue()
Action to take when users access resources that require
authentication.
|
ApiConfigHandler |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
LoginRequirement |
getLogin()
Level of login required to access this resource.
|
int |
getLoginValue()
Level of login required to access this resource.
|
java.lang.String |
getScript()
Path to the script from the application root directory.
|
ByteString |
getScriptBytes()
Path to the script from the application root directory.
|
SecurityLevel |
getSecurityLevel()
Security (HTTPS) enforcement for this URL.
|
int |
getSecurityLevelValue()
Security (HTTPS) enforcement for this URL.
|
java.lang.String |
getUrl()
URL to serve the endpoint at.
|
ByteString |
getUrlBytes()
URL to serve the endpoint at.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ApiConfigHandler.Builder |
mergeFrom(ApiConfigHandler other) |
ApiConfigHandler.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ApiConfigHandler.Builder |
mergeFrom(Message other) |
ApiConfigHandler.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ApiConfigHandler.Builder |
setAuthFailAction(AuthFailAction value)
Action to take when users access resources that require
authentication.
|
ApiConfigHandler.Builder |
setAuthFailActionValue(int value)
Action to take when users access resources that require
authentication.
|
ApiConfigHandler.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ApiConfigHandler.Builder |
setLogin(LoginRequirement value)
Level of login required to access this resource.
|
ApiConfigHandler.Builder |
setLoginValue(int value)
Level of login required to access this resource.
|
ApiConfigHandler.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ApiConfigHandler.Builder |
setScript(java.lang.String value)
Path to the script from the application root directory.
|
ApiConfigHandler.Builder |
setScriptBytes(ByteString value)
Path to the script from the application root directory.
|
ApiConfigHandler.Builder |
setSecurityLevel(SecurityLevel value)
Security (HTTPS) enforcement for this URL.
|
ApiConfigHandler.Builder |
setSecurityLevelValue(int value)
Security (HTTPS) enforcement for this URL.
|
ApiConfigHandler.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
ApiConfigHandler.Builder |
setUrl(java.lang.String value)
URL to serve the endpoint at.
|
ApiConfigHandler.Builder |
setUrlBytes(ByteString value)
URL to serve the endpoint at.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ApiConfigHandler.Builder>
public ApiConfigHandler.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ApiConfigHandler.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ApiConfigHandler.Builder>
public ApiConfigHandler getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ApiConfigHandler build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ApiConfigHandler buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ApiConfigHandler.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ApiConfigHandler.Builder>
public ApiConfigHandler.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ApiConfigHandler.Builder>
public ApiConfigHandler.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ApiConfigHandler.Builder>
public ApiConfigHandler.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ApiConfigHandler.Builder>
public ApiConfigHandler.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ApiConfigHandler.Builder>
public ApiConfigHandler.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ApiConfigHandler.Builder>
public ApiConfigHandler.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ApiConfigHandler.Builder>
public ApiConfigHandler.Builder mergeFrom(ApiConfigHandler other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ApiConfigHandler.Builder>
public ApiConfigHandler.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ApiConfigHandler.Builder>
java.io.IOException
public int getAuthFailActionValue()
Action to take when users access resources that require authentication. Defaults to `redirect`.
.google.appengine.v1.AuthFailAction auth_fail_action = 1;
getAuthFailActionValue
in interface ApiConfigHandlerOrBuilder
public ApiConfigHandler.Builder setAuthFailActionValue(int value)
Action to take when users access resources that require authentication. Defaults to `redirect`.
.google.appengine.v1.AuthFailAction auth_fail_action = 1;
public AuthFailAction getAuthFailAction()
Action to take when users access resources that require authentication. Defaults to `redirect`.
.google.appengine.v1.AuthFailAction auth_fail_action = 1;
getAuthFailAction
in interface ApiConfigHandlerOrBuilder
public ApiConfigHandler.Builder setAuthFailAction(AuthFailAction value)
Action to take when users access resources that require authentication. Defaults to `redirect`.
.google.appengine.v1.AuthFailAction auth_fail_action = 1;
public ApiConfigHandler.Builder clearAuthFailAction()
Action to take when users access resources that require authentication. Defaults to `redirect`.
.google.appengine.v1.AuthFailAction auth_fail_action = 1;
public int getLoginValue()
Level of login required to access this resource. Defaults to `optional`.
.google.appengine.v1.LoginRequirement login = 2;
getLoginValue
in interface ApiConfigHandlerOrBuilder
public ApiConfigHandler.Builder setLoginValue(int value)
Level of login required to access this resource. Defaults to `optional`.
.google.appengine.v1.LoginRequirement login = 2;
public LoginRequirement getLogin()
Level of login required to access this resource. Defaults to `optional`.
.google.appengine.v1.LoginRequirement login = 2;
getLogin
in interface ApiConfigHandlerOrBuilder
public ApiConfigHandler.Builder setLogin(LoginRequirement value)
Level of login required to access this resource. Defaults to `optional`.
.google.appengine.v1.LoginRequirement login = 2;
public ApiConfigHandler.Builder clearLogin()
Level of login required to access this resource. Defaults to `optional`.
.google.appengine.v1.LoginRequirement login = 2;
public java.lang.String getScript()
Path to the script from the application root directory.
string script = 3;
getScript
in interface ApiConfigHandlerOrBuilder
public ByteString getScriptBytes()
Path to the script from the application root directory.
string script = 3;
getScriptBytes
in interface ApiConfigHandlerOrBuilder
public ApiConfigHandler.Builder setScript(java.lang.String value)
Path to the script from the application root directory.
string script = 3;
public ApiConfigHandler.Builder clearScript()
Path to the script from the application root directory.
string script = 3;
public ApiConfigHandler.Builder setScriptBytes(ByteString value)
Path to the script from the application root directory.
string script = 3;
public int getSecurityLevelValue()
Security (HTTPS) enforcement for this URL.
.google.appengine.v1.SecurityLevel security_level = 4;
getSecurityLevelValue
in interface ApiConfigHandlerOrBuilder
public ApiConfigHandler.Builder setSecurityLevelValue(int value)
Security (HTTPS) enforcement for this URL.
.google.appengine.v1.SecurityLevel security_level = 4;
public SecurityLevel getSecurityLevel()
Security (HTTPS) enforcement for this URL.
.google.appengine.v1.SecurityLevel security_level = 4;
getSecurityLevel
in interface ApiConfigHandlerOrBuilder
public ApiConfigHandler.Builder setSecurityLevel(SecurityLevel value)
Security (HTTPS) enforcement for this URL.
.google.appengine.v1.SecurityLevel security_level = 4;
public ApiConfigHandler.Builder clearSecurityLevel()
Security (HTTPS) enforcement for this URL.
.google.appengine.v1.SecurityLevel security_level = 4;
public java.lang.String getUrl()
URL to serve the endpoint at.
string url = 5;
getUrl
in interface ApiConfigHandlerOrBuilder
public ByteString getUrlBytes()
URL to serve the endpoint at.
string url = 5;
getUrlBytes
in interface ApiConfigHandlerOrBuilder
public ApiConfigHandler.Builder setUrl(java.lang.String value)
URL to serve the endpoint at.
string url = 5;
public ApiConfigHandler.Builder clearUrl()
URL to serve the endpoint at.
string url = 5;
public ApiConfigHandler.Builder setUrlBytes(ByteString value)
URL to serve the endpoint at.
string url = 5;
public final ApiConfigHandler.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ApiConfigHandler.Builder>
public final ApiConfigHandler.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ApiConfigHandler.Builder>