1 Star 0 Fork 0

MixerJ / pitaya

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
error.pb.go 3.55 KB
Copy Edit Raw Blame History
zhusw authored 2020-07-21 15:44 . 删除默写bug
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: error.proto
package protos
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type Error struct {
Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
Metadata map[string]string `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
func (m *Error) Reset() { *m = Error{} }
func (m *Error) String() string { return proto.CompactTextString(m) }
func (*Error) ProtoMessage() {}
func (*Error) Descriptor() ([]byte, []int) {
return fileDescriptor_0579b252106fcf4a, []int{0}
func (m *Error) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Error.Unmarshal(m, b)
func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Error.Marshal(b, m, deterministic)
func (m *Error) XXX_Merge(src proto.Message) {
xxx_messageInfo_Error.Merge(m, src)
func (m *Error) XXX_Size() int {
return xxx_messageInfo_Error.Size(m)
func (m *Error) XXX_DiscardUnknown() {
var xxx_messageInfo_Error proto.InternalMessageInfo
func (m *Error) GetCode() uint32 {
if m != nil {
return m.Code
return 0
func (m *Error) GetMsg() string {
if m != nil {
return m.Msg
return ""
func (m *Error) GetMetadata() map[string]string {
if m != nil {
return m.Metadata
return nil
func init() {
proto.RegisterType((*Error)(nil), "protos.Error")
proto.RegisterMapType((map[string]string)(nil), "protos.Error.MetadataEntry")
func init() { proto.RegisterFile("error.proto", fileDescriptor_0579b252106fcf4a) }
var fileDescriptor_0579b252106fcf4a = []byte{
// 175 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4e, 0x2d, 0x2a, 0xca,
0x2f, 0xd2, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x03, 0x53, 0xc5, 0x4a, 0x8b, 0x19, 0xb9,
0x58, 0x5d, 0x41, 0xe2, 0x42, 0x42, 0x5c, 0x2c, 0xc9, 0xf9, 0x29, 0xa9, 0x12, 0x8c, 0x0a, 0x8c,
0x1a, 0xbc, 0x41, 0x60, 0xb6, 0x90, 0x00, 0x17, 0x73, 0x6e, 0x71, 0xba, 0x04, 0x93, 0x02, 0xa3,
0x06, 0x67, 0x10, 0x88, 0x29, 0x64, 0xce, 0xc5, 0x91, 0x9b, 0x5a, 0x92, 0x98, 0x92, 0x58, 0x92,
0x28, 0xc1, 0xac, 0xc0, 0xac, 0xc1, 0x6d, 0x24, 0x0d, 0x31, 0xb1, 0x58, 0x0f, 0x6c, 0x8c, 0x9e,
0x2f, 0x54, 0xd6, 0x35, 0xaf, 0xa4, 0xa8, 0x32, 0x08, 0xae, 0x58, 0xca, 0x9a, 0x8b, 0x17, 0x45,
0x0a, 0x64, 0x76, 0x76, 0x6a, 0x25, 0xd8, 0x3a, 0xce, 0x20, 0x10, 0x53, 0x48, 0x84, 0x8b, 0xb5,
0x2c, 0x31, 0xa7, 0x34, 0x15, 0x6a, 0x1f, 0x84, 0x63, 0xc5, 0x64, 0xc1, 0xe8, 0x24, 0xb8, 0x8a,
0x89, 0xcf, 0x2f, 0x20, 0xb3, 0x24, 0xb1, 0x32, 0x51, 0x2f, 0x00, 0x6c, 0x5b, 0x12, 0xc4, 0x03,
0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd0, 0x75, 0xc3, 0xfd, 0xd6, 0x00, 0x00, 0x00,

Comment ( 0 )

Sign in for post a comment