Class ApiEndpointHandler.Builder (2.3.1)

public static final class ApiEndpointHandler.Builder extends GeneratedMessageV3.Builder<ApiEndpointHandler.Builder> implements ApiEndpointHandlerOrBuilder

Uses Google Cloud Endpoints to handle requests.

Protobuf type google.appengine.v1.ApiEndpointHandler

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ApiEndpointHandler build()
Returns
TypeDescription
ApiEndpointHandler

buildPartial()

public ApiEndpointHandler buildPartial()
Returns
TypeDescription
ApiEndpointHandler

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearScriptPath()

public ApiEndpointHandler.Builder clearScriptPath()

Path to the script from the application root directory.

string script_path = 1;

Returns
TypeDescription
ApiEndpointHandler.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ApiEndpointHandler getDefaultInstanceForType()
Returns
TypeDescription
ApiEndpointHandler

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(ApiEndpointHandler other)

public ApiEndpointHandler.Builder mergeFrom(ApiEndpointHandler other)
Parameter
NameDescription
otherApiEndpointHandler
Returns
TypeDescription
ApiEndpointHandler.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ApiEndpointHandler.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ApiEndpointHandler.Builder
Overrides

setScriptPath(String value)

public ApiEndpointHandler.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
ApiEndpointHandler.Builder

This builder for chaining.

setScriptPathBytes(ByteString value)

public ApiEndpointHandler.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
ApiEndpointHandler.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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