abaeve_common

package
v1.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package abaeve_common is a generated protocol buffer package.

It is generated from these files:

common.proto

It has these top-level messages:

ServiceResponseDetail

Index

Constants

This section is empty.

Variables

View Source
var ErrorType_name = map[int32]string{
	0: "PERMANENT_ERROR",
	1: "TEMPORARY_ERROR",
}
View Source
var ErrorType_value = map[string]int32{
	"PERMANENT_ERROR": 0,
	"TEMPORARY_ERROR": 1,
}

Functions

This section is empty.

Types

type ErrorType

type ErrorType int32
const (
	ErrorType_PERMANENT_ERROR ErrorType = 0
	ErrorType_TEMPORARY_ERROR ErrorType = 1
)

func (ErrorType) EnumDescriptor

func (ErrorType) EnumDescriptor() ([]byte, []int)

func (ErrorType) String

func (x ErrorType) String() string

type ServiceResponseDetail

type ServiceResponseDetail struct {
	Success   bool      `protobuf:"varint,1,opt,name=Success" json:"Success,omitempty"`
	ErrorText string    `protobuf:"bytes,2,opt,name=ErrorText" json:"ErrorText,omitempty"`
	Type      ErrorType `protobuf:"varint,3,opt,name=Type,enum=abaeve.common.ErrorType" json:"Type,omitempty"`
}

func (*ServiceResponseDetail) Descriptor

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

func (*ServiceResponseDetail) GetErrorText

func (m *ServiceResponseDetail) GetErrorText() string

func (*ServiceResponseDetail) GetSuccess

func (m *ServiceResponseDetail) GetSuccess() bool

func (*ServiceResponseDetail) GetType

func (m *ServiceResponseDetail) GetType() ErrorType

func (*ServiceResponseDetail) ProtoMessage

func (*ServiceResponseDetail) ProtoMessage()

func (*ServiceResponseDetail) Reset

func (m *ServiceResponseDetail) Reset()

func (*ServiceResponseDetail) String

func (m *ServiceResponseDetail) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL