Class ScriptHandler.Builder (2.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ScriptHandler.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ScriptHandler.Builder
Overrides

build()

public ScriptHandler build()
Returns
TypeDescription
ScriptHandler

buildPartial()

public ScriptHandler buildPartial()
Returns
TypeDescription
ScriptHandler

clear()

public ScriptHandler.Builder clear()
Returns
TypeDescription
ScriptHandler.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ScriptHandler.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ScriptHandler.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ScriptHandler.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ScriptHandler.Builder
Overrides

clearScriptPath()

public ScriptHandler.Builder clearScriptPath()

Path to the script from the application root directory.

string script_path = 1;

Returns
TypeDescription
ScriptHandler.Builder

This builder for chaining.

clone()

public ScriptHandler.Builder clone()
Returns
TypeDescription
ScriptHandler.Builder
Overrides

getDefaultInstanceForType()

public ScriptHandler getDefaultInstanceForType()
Returns
TypeDescription
ScriptHandler

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ScriptHandler other)

public ScriptHandler.Builder mergeFrom(ScriptHandler other)
Parameter
NameDescription
otherScriptHandler
Returns
TypeDescription
ScriptHandler.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ScriptHandler.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ScriptHandler.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ScriptHandler.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ScriptHandler.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ScriptHandler.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ScriptHandler.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ScriptHandler.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ScriptHandler.Builder
Overrides

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

public ScriptHandler.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The scriptPath to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for scriptPath to set.

Returns
TypeDescription
ScriptHandler.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ScriptHandler.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ScriptHandler.Builder
Overrides