Interface ErrorHandlerOrBuilder (2.9.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
TypeDescription
ErrorHandler.ErrorCode

The errorCode.

getErrorCodeValue()

public abstract int getErrorCodeValue()

Error condition this handler applies to.

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

Returns
TypeDescription
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
TypeDescription
String

The mimeType.

getMimeTypeBytes()

public abstract ByteString getMimeTypeBytes()

MIME type of file. Defaults to text/html.

string mime_type = 3;

Returns
TypeDescription
ByteString

The bytes for mimeType.

getStaticFile()

public abstract String getStaticFile()

Static file content to be served for this error.

string static_file = 2;

Returns
TypeDescription
String

The staticFile.

getStaticFileBytes()

public abstract ByteString getStaticFileBytes()

Static file content to be served for this error.

string static_file = 2;

Returns
TypeDescription
ByteString

The bytes for staticFile.