Class ScriptHandler.Builder (2.42.0)

public static final class ScriptHandler.Builder extends GeneratedMessageV3.Builder<ScriptHandler.Builder> implements ScriptHandlerOrBuilder

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

Protobuf type google.appengine.v1.ScriptHandler

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ScriptHandler.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ScriptHandler.Builder
Overrides

build()

public ScriptHandler build()
Returns
Type Description
ScriptHandler

buildPartial()

public ScriptHandler buildPartial()
Returns
Type Description
ScriptHandler

clear()

public ScriptHandler.Builder clear()
Returns
Type Description
ScriptHandler.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ScriptHandler.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ScriptHandler.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ScriptHandler.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ScriptHandler.Builder
Overrides

clearScriptPath()

public ScriptHandler.Builder clearScriptPath()

Path to the script from the application root directory.

string script_path = 1;

Returns
Type Description
ScriptHandler.Builder

This builder for chaining.

clone()

public ScriptHandler.Builder clone()
Returns
Type Description
ScriptHandler.Builder
Overrides

getDefaultInstanceForType()

public ScriptHandler getDefaultInstanceForType()
Returns
Type Description
ScriptHandler

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getScriptPath()

public String getScriptPath()

Path to the script from the application root directory.

string script_path = 1;

Returns
Type Description
String

The scriptPath.

getScriptPathBytes()

public ByteString getScriptPathBytes()

Path to the script from the application root directory.

string script_path = 1;

Returns
Type Description
ByteString

The bytes for scriptPath.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ScriptHandler other)

public ScriptHandler.Builder mergeFrom(ScriptHandler other)
Parameter
Name Description
other ScriptHandler
Returns
Type Description
ScriptHandler.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ScriptHandler.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ScriptHandler.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ScriptHandler.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ScriptHandler.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ScriptHandler.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ScriptHandler.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ScriptHandler.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ScriptHandler.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ScriptHandler.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ScriptHandler.Builder
Overrides

setScriptPath(String value)

public ScriptHandler.Builder setScriptPath(String value)

Path to the script from the application root directory.

string script_path = 1;

Parameter
Name Description
value String

The scriptPath to set.

Returns
Type Description
ScriptHandler.Builder

This builder for chaining.

setScriptPathBytes(ByteString value)

public ScriptHandler.Builder setScriptPathBytes(ByteString value)

Path to the script from the application root directory.

string script_path = 1;

Parameter
Name Description
value ByteString

The bytes for scriptPath to set.

Returns
Type Description
ScriptHandler.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ScriptHandler.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ScriptHandler.Builder
Overrides