Package com.google.appengine.v1
Interface ErrorHandlerOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ErrorHandler,ErrorHandler.Builder
public interface ErrorHandlerOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ErrorHandler.ErrorCodegetErrorCode()Error condition this handler applies to.intgetErrorCodeValue()Error condition this handler applies to.StringgetMimeType()MIME type of file.com.google.protobuf.ByteStringgetMimeTypeBytes()MIME type of file.StringgetStaticFile()Static file content to be served for this error.com.google.protobuf.ByteStringgetStaticFileBytes()Static file content to be served for this error.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getErrorCodeValue
int getErrorCodeValue()
Error condition this handler applies to.
.google.appengine.v1.ErrorHandler.ErrorCode error_code = 1;- Returns:
- The enum numeric value on the wire for errorCode.
-
getErrorCode
ErrorHandler.ErrorCode getErrorCode()
Error condition this handler applies to.
.google.appengine.v1.ErrorHandler.ErrorCode error_code = 1;- Returns:
- The errorCode.
-
getStaticFile
String getStaticFile()
Static file content to be served for this error.
string static_file = 2;- Returns:
- The staticFile.
-
getStaticFileBytes
com.google.protobuf.ByteString getStaticFileBytes()
Static file content to be served for this error.
string static_file = 2;- Returns:
- The bytes for staticFile.
-
getMimeType
String getMimeType()
MIME type of file. Defaults to `text/html`.
string mime_type = 3;- Returns:
- The mimeType.
-
getMimeTypeBytes
com.google.protobuf.ByteString getMimeTypeBytes()
MIME type of file. Defaults to `text/html`.
string mime_type = 3;- Returns:
- The bytes for mimeType.
-
-