Class ApiConfigHandler (2.52.0)

public final class ApiConfigHandler extends GeneratedMessageV3 implements ApiConfigHandlerOrBuilder

Google Cloud Endpoints configuration for API handlers.

Protobuf type google.appengine.v1.ApiConfigHandler

Static Fields

AUTH_FAIL_ACTION_FIELD_NUMBER

public static final int AUTH_FAIL_ACTION_FIELD_NUMBER
Field Value
Type Description
int

LOGIN_FIELD_NUMBER

public static final int LOGIN_FIELD_NUMBER
Field Value
Type Description
int

SCRIPT_FIELD_NUMBER

public static final int SCRIPT_FIELD_NUMBER
Field Value
Type Description
int

SECURITY_LEVEL_FIELD_NUMBER

public static final int SECURITY_LEVEL_FIELD_NUMBER
Field Value
Type Description
int

URL_FIELD_NUMBER

public static final int URL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ApiConfigHandler getDefaultInstance()
Returns
Type Description
ApiConfigHandler

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ApiConfigHandler.Builder newBuilder()
Returns
Type Description
ApiConfigHandler.Builder

newBuilder(ApiConfigHandler prototype)

public static ApiConfigHandler.Builder newBuilder(ApiConfigHandler prototype)
Parameter
Name Description
prototype ApiConfigHandler
Returns
Type Description
ApiConfigHandler.Builder

parseDelimitedFrom(InputStream input)

public static ApiConfigHandler parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ApiConfigHandler
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ApiConfigHandler parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApiConfigHandler
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ApiConfigHandler parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ApiConfigHandler
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ApiConfigHandler parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApiConfigHandler
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ApiConfigHandler parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ApiConfigHandler
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ApiConfigHandler parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApiConfigHandler
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ApiConfigHandler parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ApiConfigHandler
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ApiConfigHandler parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApiConfigHandler
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ApiConfigHandler parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ApiConfigHandler
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ApiConfigHandler parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApiConfigHandler
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ApiConfigHandler parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ApiConfigHandler
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ApiConfigHandler parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApiConfigHandler
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ApiConfigHandler> parser()
Returns
Type Description
Parser<ApiConfigHandler>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAuthFailAction()

public AuthFailAction getAuthFailAction()

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

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

Returns
Type Description
AuthFailAction

The authFailAction.

getAuthFailActionValue()

public int getAuthFailActionValue()

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

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

Returns
Type Description
int

The enum numeric value on the wire for authFailAction.

getDefaultInstanceForType()

public ApiConfigHandler getDefaultInstanceForType()
Returns
Type Description
ApiConfigHandler

getLogin()

public LoginRequirement getLogin()

Level of login required to access this resource. Defaults to optional.

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

Returns
Type Description
LoginRequirement

The login.

getLoginValue()

public int getLoginValue()

Level of login required to access this resource. Defaults to optional.

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

Returns
Type Description
int

The enum numeric value on the wire for login.

getParserForType()

public Parser<ApiConfigHandler> getParserForType()
Returns
Type Description
Parser<ApiConfigHandler>
Overrides

getScript()

public String getScript()

Path to the script from the application root directory.

string script = 3;

Returns
Type Description
String

The script.

getScriptBytes()

public ByteString getScriptBytes()

Path to the script from the application root directory.

string script = 3;

Returns
Type Description
ByteString

The bytes for script.

getSecurityLevel()

public SecurityLevel getSecurityLevel()

Security (HTTPS) enforcement for this URL.

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

Returns
Type Description
SecurityLevel

The securityLevel.

getSecurityLevelValue()

public int getSecurityLevelValue()

Security (HTTPS) enforcement for this URL.

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

Returns
Type Description
int

The enum numeric value on the wire for securityLevel.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUrl()

public String getUrl()

URL to serve the endpoint at.

string url = 5;

Returns
Type Description
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

URL to serve the endpoint at.

string url = 5;

Returns
Type Description
ByteString

The bytes for url.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ApiConfigHandler.Builder newBuilderForType()
Returns
Type Description
ApiConfigHandler.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ApiConfigHandler.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ApiConfigHandler.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ApiConfigHandler.Builder toBuilder()
Returns
Type Description
ApiConfigHandler.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException