Interface ErrorHandlerOrBuilder (2.47.0)

public interface ErrorHandlerOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getErrorCode()

public abstract ErrorHandler.ErrorCode getErrorCode()

Error condition this handler applies to.

.google.appengine.v1.ErrorHandler.ErrorCode error_code = 1;

Returns
Type Description
ErrorHandler.ErrorCode

The errorCode.

getErrorCodeValue()

public abstract int getErrorCodeValue()

Error condition this handler applies to.

.google.appengine.v1.ErrorHandler.ErrorCode error_code = 1;

Returns
Type Description
int

The enum numeric value on the wire for errorCode.

getMimeType()

public abstract String getMimeType()

MIME type of file. Defaults to text/html.

string mime_type = 3;

Returns
Type Description
String

The mimeType.

getMimeTypeBytes()

public abstract ByteString getMimeTypeBytes()

MIME type of file. Defaults to text/html.

string mime_type = 3;

Returns
Type Description
ByteString

The bytes for mimeType.

getStaticFile()

public abstract String getStaticFile()

Static file content to be served for this error.

string static_file = 2;

Returns
Type Description
String

The staticFile.

getStaticFileBytes()

public abstract ByteString getStaticFileBytes()

Static file content to be served for this error.

string static_file = 2;

Returns
Type Description
ByteString

The bytes for staticFile.