github.com/timstclair/heapster@v0.20.0-alpha1/Godeps/_workspace/src/google.golang.org/appengine/internal/remote_api/remote_api.pb.go (about)

     1  // Code generated by protoc-gen-go.
     2  // source: google.golang.org/appengine/internal/remote_api/remote_api.proto
     3  // DO NOT EDIT!
     4  
     5  /*
     6  Package remote_api is a generated protocol buffer package.
     7  
     8  It is generated from these files:
     9  	google.golang.org/appengine/internal/remote_api/remote_api.proto
    10  
    11  It has these top-level messages:
    12  	Request
    13  	ApplicationError
    14  	RpcError
    15  	Response
    16  */
    17  package remote_api
    18  
    19  import proto "github.com/golang/protobuf/proto"
    20  import fmt "fmt"
    21  import math "math"
    22  
    23  // Reference imports to suppress errors if they are not otherwise used.
    24  var _ = proto.Marshal
    25  var _ = fmt.Errorf
    26  var _ = math.Inf
    27  
    28  type RpcError_ErrorCode int32
    29  
    30  const (
    31  	RpcError_UNKNOWN             RpcError_ErrorCode = 0
    32  	RpcError_CALL_NOT_FOUND      RpcError_ErrorCode = 1
    33  	RpcError_PARSE_ERROR         RpcError_ErrorCode = 2
    34  	RpcError_SECURITY_VIOLATION  RpcError_ErrorCode = 3
    35  	RpcError_OVER_QUOTA          RpcError_ErrorCode = 4
    36  	RpcError_REQUEST_TOO_LARGE   RpcError_ErrorCode = 5
    37  	RpcError_CAPABILITY_DISABLED RpcError_ErrorCode = 6
    38  	RpcError_FEATURE_DISABLED    RpcError_ErrorCode = 7
    39  	RpcError_BAD_REQUEST         RpcError_ErrorCode = 8
    40  	RpcError_RESPONSE_TOO_LARGE  RpcError_ErrorCode = 9
    41  	RpcError_CANCELLED           RpcError_ErrorCode = 10
    42  	RpcError_REPLAY_ERROR        RpcError_ErrorCode = 11
    43  	RpcError_DEADLINE_EXCEEDED   RpcError_ErrorCode = 12
    44  )
    45  
    46  var RpcError_ErrorCode_name = map[int32]string{
    47  	0:  "UNKNOWN",
    48  	1:  "CALL_NOT_FOUND",
    49  	2:  "PARSE_ERROR",
    50  	3:  "SECURITY_VIOLATION",
    51  	4:  "OVER_QUOTA",
    52  	5:  "REQUEST_TOO_LARGE",
    53  	6:  "CAPABILITY_DISABLED",
    54  	7:  "FEATURE_DISABLED",
    55  	8:  "BAD_REQUEST",
    56  	9:  "RESPONSE_TOO_LARGE",
    57  	10: "CANCELLED",
    58  	11: "REPLAY_ERROR",
    59  	12: "DEADLINE_EXCEEDED",
    60  }
    61  var RpcError_ErrorCode_value = map[string]int32{
    62  	"UNKNOWN":             0,
    63  	"CALL_NOT_FOUND":      1,
    64  	"PARSE_ERROR":         2,
    65  	"SECURITY_VIOLATION":  3,
    66  	"OVER_QUOTA":          4,
    67  	"REQUEST_TOO_LARGE":   5,
    68  	"CAPABILITY_DISABLED": 6,
    69  	"FEATURE_DISABLED":    7,
    70  	"BAD_REQUEST":         8,
    71  	"RESPONSE_TOO_LARGE":  9,
    72  	"CANCELLED":           10,
    73  	"REPLAY_ERROR":        11,
    74  	"DEADLINE_EXCEEDED":   12,
    75  }
    76  
    77  func (x RpcError_ErrorCode) Enum() *RpcError_ErrorCode {
    78  	p := new(RpcError_ErrorCode)
    79  	*p = x
    80  	return p
    81  }
    82  func (x RpcError_ErrorCode) String() string {
    83  	return proto.EnumName(RpcError_ErrorCode_name, int32(x))
    84  }
    85  func (x *RpcError_ErrorCode) UnmarshalJSON(data []byte) error {
    86  	value, err := proto.UnmarshalJSONEnum(RpcError_ErrorCode_value, data, "RpcError_ErrorCode")
    87  	if err != nil {
    88  		return err
    89  	}
    90  	*x = RpcError_ErrorCode(value)
    91  	return nil
    92  }
    93  
    94  type Request struct {
    95  	ServiceName      *string `protobuf:"bytes,2,req,name=service_name" json:"service_name,omitempty"`
    96  	Method           *string `protobuf:"bytes,3,req,name=method" json:"method,omitempty"`
    97  	Request          []byte  `protobuf:"bytes,4,req,name=request" json:"request,omitempty"`
    98  	RequestId        *string `protobuf:"bytes,5,opt,name=request_id" json:"request_id,omitempty"`
    99  	XXX_unrecognized []byte  `json:"-"`
   100  }
   101  
   102  func (m *Request) Reset()         { *m = Request{} }
   103  func (m *Request) String() string { return proto.CompactTextString(m) }
   104  func (*Request) ProtoMessage()    {}
   105  
   106  func (m *Request) GetServiceName() string {
   107  	if m != nil && m.ServiceName != nil {
   108  		return *m.ServiceName
   109  	}
   110  	return ""
   111  }
   112  
   113  func (m *Request) GetMethod() string {
   114  	if m != nil && m.Method != nil {
   115  		return *m.Method
   116  	}
   117  	return ""
   118  }
   119  
   120  func (m *Request) GetRequest() []byte {
   121  	if m != nil {
   122  		return m.Request
   123  	}
   124  	return nil
   125  }
   126  
   127  func (m *Request) GetRequestId() string {
   128  	if m != nil && m.RequestId != nil {
   129  		return *m.RequestId
   130  	}
   131  	return ""
   132  }
   133  
   134  type ApplicationError struct {
   135  	Code             *int32  `protobuf:"varint,1,req,name=code" json:"code,omitempty"`
   136  	Detail           *string `protobuf:"bytes,2,req,name=detail" json:"detail,omitempty"`
   137  	XXX_unrecognized []byte  `json:"-"`
   138  }
   139  
   140  func (m *ApplicationError) Reset()         { *m = ApplicationError{} }
   141  func (m *ApplicationError) String() string { return proto.CompactTextString(m) }
   142  func (*ApplicationError) ProtoMessage()    {}
   143  
   144  func (m *ApplicationError) GetCode() int32 {
   145  	if m != nil && m.Code != nil {
   146  		return *m.Code
   147  	}
   148  	return 0
   149  }
   150  
   151  func (m *ApplicationError) GetDetail() string {
   152  	if m != nil && m.Detail != nil {
   153  		return *m.Detail
   154  	}
   155  	return ""
   156  }
   157  
   158  type RpcError struct {
   159  	Code             *int32  `protobuf:"varint,1,req,name=code" json:"code,omitempty"`
   160  	Detail           *string `protobuf:"bytes,2,opt,name=detail" json:"detail,omitempty"`
   161  	XXX_unrecognized []byte  `json:"-"`
   162  }
   163  
   164  func (m *RpcError) Reset()         { *m = RpcError{} }
   165  func (m *RpcError) String() string { return proto.CompactTextString(m) }
   166  func (*RpcError) ProtoMessage()    {}
   167  
   168  func (m *RpcError) GetCode() int32 {
   169  	if m != nil && m.Code != nil {
   170  		return *m.Code
   171  	}
   172  	return 0
   173  }
   174  
   175  func (m *RpcError) GetDetail() string {
   176  	if m != nil && m.Detail != nil {
   177  		return *m.Detail
   178  	}
   179  	return ""
   180  }
   181  
   182  type Response struct {
   183  	Response         []byte            `protobuf:"bytes,1,opt,name=response" json:"response,omitempty"`
   184  	Exception        []byte            `protobuf:"bytes,2,opt,name=exception" json:"exception,omitempty"`
   185  	ApplicationError *ApplicationError `protobuf:"bytes,3,opt,name=application_error" json:"application_error,omitempty"`
   186  	JavaException    []byte            `protobuf:"bytes,4,opt,name=java_exception" json:"java_exception,omitempty"`
   187  	RpcError         *RpcError         `protobuf:"bytes,5,opt,name=rpc_error" json:"rpc_error,omitempty"`
   188  	XXX_unrecognized []byte            `json:"-"`
   189  }
   190  
   191  func (m *Response) Reset()         { *m = Response{} }
   192  func (m *Response) String() string { return proto.CompactTextString(m) }
   193  func (*Response) ProtoMessage()    {}
   194  
   195  func (m *Response) GetResponse() []byte {
   196  	if m != nil {
   197  		return m.Response
   198  	}
   199  	return nil
   200  }
   201  
   202  func (m *Response) GetException() []byte {
   203  	if m != nil {
   204  		return m.Exception
   205  	}
   206  	return nil
   207  }
   208  
   209  func (m *Response) GetApplicationError() *ApplicationError {
   210  	if m != nil {
   211  		return m.ApplicationError
   212  	}
   213  	return nil
   214  }
   215  
   216  func (m *Response) GetJavaException() []byte {
   217  	if m != nil {
   218  		return m.JavaException
   219  	}
   220  	return nil
   221  }
   222  
   223  func (m *Response) GetRpcError() *RpcError {
   224  	if m != nil {
   225  		return m.RpcError
   226  	}
   227  	return nil
   228  }
   229  
   230  func init() {
   231  }