goa: github.com/raphael/goa/grpc/pb Index | Files

package goapb

import "github.com/raphael/goa/grpc/pb"

Package goapb contains protocol buffer message types used by the code generation logic.

Index

Package Files

doc.go error.pb.go

type ErrorResponse Uses

type ErrorResponse struct {
    // name is the name for that class of errors.
    Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    // id is the unique error instance identifier.
    Id  string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
    // msg describes the specific error occurrence.
    Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"`
    // temporary indicates whether the error is temporary.
    Temporary bool `protobuf:"varint,4,opt,name=temporary,proto3" json:"temporary,omitempty"`
    // timeout indicates whether the error is a timeout.
    Timeout bool `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
    // fault indicates whether the error is a server-side fault.
    Fault                bool     `protobuf:"varint,6,opt,name=fault,proto3" json:"fault,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

ErrorResponse message defines the error encoded in the gRPC response that correspond to the errors created by the generated code. This is mainly intended for the clients to decode error responses.

func (*ErrorResponse) Descriptor Uses

func (*ErrorResponse) Descriptor() ([]byte, []int)

func (*ErrorResponse) GetFault Uses

func (m *ErrorResponse) GetFault() bool

func (*ErrorResponse) GetId Uses

func (m *ErrorResponse) GetId() string

func (*ErrorResponse) GetMsg Uses

func (m *ErrorResponse) GetMsg() string

func (*ErrorResponse) GetName Uses

func (m *ErrorResponse) GetName() string

func (*ErrorResponse) GetTemporary Uses

func (m *ErrorResponse) GetTemporary() bool

func (*ErrorResponse) GetTimeout Uses

func (m *ErrorResponse) GetTimeout() bool

func (*ErrorResponse) ProtoMessage Uses

func (*ErrorResponse) ProtoMessage()

func (*ErrorResponse) Reset Uses

func (m *ErrorResponse) Reset()

func (*ErrorResponse) String Uses

func (m *ErrorResponse) String() string

func (*ErrorResponse) XXX_DiscardUnknown Uses

func (m *ErrorResponse) XXX_DiscardUnknown()

func (*ErrorResponse) XXX_Marshal Uses

func (m *ErrorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ErrorResponse) XXX_Merge Uses

func (dst *ErrorResponse) XXX_Merge(src proto.Message)

func (*ErrorResponse) XXX_Size Uses

func (m *ErrorResponse) XXX_Size() int

func (*ErrorResponse) XXX_Unmarshal Uses

func (m *ErrorResponse) XXX_Unmarshal(b []byte) error

Package goapb imports 3 packages (graph). Updated 2019-09-16. Refresh now. Tools for package owners.