Class ScriptHandler (2.2.0)

public final class ScriptHandler extends GeneratedMessageV3 implements ScriptHandlerOrBuilder

Executes a script to handle the request that matches the URL pattern.

Protobuf type google.appengine.v1.ScriptHandler

Static Fields

SCRIPT_PATH_FIELD_NUMBER

public static final int SCRIPT_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ScriptHandler getDefaultInstance()
Returns
TypeDescription
ScriptHandler

getDescriptor()

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

newBuilder()

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

newBuilder(ScriptHandler prototype)

public static ScriptHandler.Builder newBuilder(ScriptHandler prototype)
Parameter
NameDescription
prototypeScriptHandler
Returns
TypeDescription
ScriptHandler.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ScriptHandler getDefaultInstanceForType()
Returns
TypeDescription
ScriptHandler

getParserForType()

public Parser<ScriptHandler> getParserForType()
Returns
TypeDescription
Parser<ScriptHandler>
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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 ScriptHandler.Builder newBuilderForType()
Returns
TypeDescription
ScriptHandler.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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