Class ApiEndpointHandler (2.22.0)

public final class ApiEndpointHandler extends GeneratedMessageV3 implements ApiEndpointHandlerOrBuilder

Uses Google Cloud Endpoints to handle requests.

Protobuf type google.appengine.v1.ApiEndpointHandler

Static Fields

SCRIPT_PATH_FIELD_NUMBER

public static final int SCRIPT_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ApiEndpointHandler getDefaultInstance()
Returns
TypeDescription
ApiEndpointHandler

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ApiEndpointHandler.Builder newBuilder()
Returns
TypeDescription
ApiEndpointHandler.Builder

newBuilder(ApiEndpointHandler prototype)

public static ApiEndpointHandler.Builder newBuilder(ApiEndpointHandler prototype)
Parameter
NameDescription
prototypeApiEndpointHandler
Returns
TypeDescription
ApiEndpointHandler.Builder

parseDelimitedFrom(InputStream input)

public static ApiEndpointHandler parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ApiEndpointHandler
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ApiEndpointHandler parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ApiEndpointHandler
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ApiEndpointHandler parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ApiEndpointHandler
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ApiEndpointHandler parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ApiEndpointHandler
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ApiEndpointHandler parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ApiEndpointHandler
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ApiEndpointHandler parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ApiEndpointHandler
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ApiEndpointHandler parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ApiEndpointHandler
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ApiEndpointHandler parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ApiEndpointHandler
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ApiEndpointHandler parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ApiEndpointHandler
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ApiEndpointHandler parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ApiEndpointHandler
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ApiEndpointHandler parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ApiEndpointHandler
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ApiEndpointHandler parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ApiEndpointHandler
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ApiEndpointHandler> parser()
Returns
TypeDescription
Parser<ApiEndpointHandler>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ApiEndpointHandler getDefaultInstanceForType()
Returns
TypeDescription
ApiEndpointHandler

getParserForType()

public Parser<ApiEndpointHandler> getParserForType()
Returns
TypeDescription
Parser<ApiEndpointHandler>
Overrides

getScriptPath()

public String getScriptPath()

Path to the script from the application root directory.

string script_path = 1;

Returns
TypeDescription
String

The scriptPath.

getScriptPathBytes()

public ByteString getScriptPathBytes()

Path to the script from the application root directory.

string script_path = 1;

Returns
TypeDescription
ByteString

The bytes for scriptPath.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ApiEndpointHandler.Builder newBuilderForType()
Returns
TypeDescription
ApiEndpointHandler.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ApiEndpointHandler.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ApiEndpointHandler.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ApiEndpointHandler.Builder toBuilder()
Returns
TypeDescription
ApiEndpointHandler.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException