1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/appengine/v1/app_yaml.proto 18 19 package com.google.appengine.v1; 20 21 public interface ErrorHandlerOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.appengine.v1.ErrorHandler) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Error condition this handler applies to. 31 * </pre> 32 * 33 * <code>.google.appengine.v1.ErrorHandler.ErrorCode error_code = 1;</code> 34 * 35 * @return The enum numeric value on the wire for errorCode. 36 */ getErrorCodeValue()37 int getErrorCodeValue(); 38 /** 39 * 40 * 41 * <pre> 42 * Error condition this handler applies to. 43 * </pre> 44 * 45 * <code>.google.appengine.v1.ErrorHandler.ErrorCode error_code = 1;</code> 46 * 47 * @return The errorCode. 48 */ getErrorCode()49 com.google.appengine.v1.ErrorHandler.ErrorCode getErrorCode(); 50 51 /** 52 * 53 * 54 * <pre> 55 * Static file content to be served for this error. 56 * </pre> 57 * 58 * <code>string static_file = 2;</code> 59 * 60 * @return The staticFile. 61 */ getStaticFile()62 java.lang.String getStaticFile(); 63 /** 64 * 65 * 66 * <pre> 67 * Static file content to be served for this error. 68 * </pre> 69 * 70 * <code>string static_file = 2;</code> 71 * 72 * @return The bytes for staticFile. 73 */ getStaticFileBytes()74 com.google.protobuf.ByteString getStaticFileBytes(); 75 76 /** 77 * 78 * 79 * <pre> 80 * MIME type of file. Defaults to `text/html`. 81 * </pre> 82 * 83 * <code>string mime_type = 3;</code> 84 * 85 * @return The mimeType. 86 */ getMimeType()87 java.lang.String getMimeType(); 88 /** 89 * 90 * 91 * <pre> 92 * MIME type of file. Defaults to `text/html`. 93 * </pre> 94 * 95 * <code>string mime_type = 3;</code> 96 * 97 * @return The bytes for mimeType. 98 */ getMimeTypeBytes()99 com.google.protobuf.ByteString getMimeTypeBytes(); 100 } 101