com_hailocab_kernel_platform_trace

package
v0.0.0-...-f307310 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package com_hailocab_kernel_platform_trace is a generated protocol buffer package.

It is generated from these files:

github.com/hailocab/h2/go/internal/p/proto/trace/trace.proto

It has these top-level messages:

Event

Index

Constants

View Source
const Default_Event_PersistentTrace bool = false

Variables

View Source
var Event_Type_name = map[int32]string{
	1: "IN",
	2: "OUT",
	3: "REQ",
	4: "REP",
	5: "ATTEMPT_TIMEOUT",
	6: "START",
}
View Source
var Event_Type_value = map[string]int32{
	"IN":              1,
	"OUT":             2,
	"REQ":             3,
	"REP":             4,
	"ATTEMPT_TIMEOUT": 5,
	"START":           6,
}

Functions

This section is empty.

Types

type Event

type Event struct {
	Timestamp         *int64      `protobuf:"varint,1,req,name=timestamp" json:"timestamp,omitempty"`
	TraceId           *string     `protobuf:"bytes,2,req,name=traceId" json:"traceId,omitempty"`
	Type              *Event_Type `protobuf:"varint,3,req,name=type,enum=com.hailocab.kernel.platform.trace.Event_Type" json:"type,omitempty"`
	MessageId         *string     `protobuf:"bytes,4,opt,name=messageId" json:"messageId,omitempty"`
	ParentMessageId   *string     `protobuf:"bytes,5,opt,name=parentMessageId" json:"parentMessageId,omitempty"`
	From              *string     `protobuf:"bytes,6,opt,name=from" json:"from,omitempty"`
	FromEndpoint      *string     `protobuf:"bytes,16,opt,name=fromEndpoint" json:"fromEndpoint,omitempty"`
	To                *string     `protobuf:"bytes,7,opt,name=to" json:"to,omitempty"`
	Hostname          *string     `protobuf:"bytes,8,opt,name=hostname" json:"hostname,omitempty"`
	Az                *string     `protobuf:"bytes,9,opt,name=az" json:"az,omitempty"`
	Payload           *string     `protobuf:"bytes,10,opt,name=payload" json:"payload,omitempty"`
	ErrorCode         *string     `protobuf:"bytes,11,opt,name=errorCode" json:"errorCode,omitempty"`
	ErrorDescription  *string     `protobuf:"bytes,12,opt,name=errorDescription" json:"errorDescription,omitempty"`
	HandlerInstanceId *string     `protobuf:"bytes,13,opt,name=handlerInstanceId" json:"handlerInstanceId,omitempty"`
	Duration          *int64      `protobuf:"varint,14,opt,name=duration" json:"duration,omitempty"`
	PersistentTrace   *bool       `protobuf:"varint,15,opt,name=persistentTrace,def=0" json:"persistentTrace,omitempty"`
	XXX_unrecognized  []byte      `json:"-"`
}

func (*Event) GetAz

func (m *Event) GetAz() string

func (*Event) GetDuration

func (m *Event) GetDuration() int64

func (*Event) GetErrorCode

func (m *Event) GetErrorCode() string

func (*Event) GetErrorDescription

func (m *Event) GetErrorDescription() string

func (*Event) GetFrom

func (m *Event) GetFrom() string

func (*Event) GetFromEndpoint

func (m *Event) GetFromEndpoint() string

func (*Event) GetHandlerInstanceId

func (m *Event) GetHandlerInstanceId() string

func (*Event) GetHostname

func (m *Event) GetHostname() string

func (*Event) GetMessageId

func (m *Event) GetMessageId() string

func (*Event) GetParentMessageId

func (m *Event) GetParentMessageId() string

func (*Event) GetPayload

func (m *Event) GetPayload() string

func (*Event) GetPersistentTrace

func (m *Event) GetPersistentTrace() bool

func (*Event) GetTimestamp

func (m *Event) GetTimestamp() int64

func (*Event) GetTo

func (m *Event) GetTo() string

func (*Event) GetTraceId

func (m *Event) GetTraceId() string

func (*Event) GetType

func (m *Event) GetType() Event_Type

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) String

func (m *Event) String() string

type Event_Type

type Event_Type int32
const (
	Event_IN              Event_Type = 1
	Event_OUT             Event_Type = 2
	Event_REQ             Event_Type = 3
	Event_REP             Event_Type = 4
	Event_ATTEMPT_TIMEOUT Event_Type = 5
	Event_START           Event_Type = 6
)

func (Event_Type) Enum

func (x Event_Type) Enum() *Event_Type

func (Event_Type) MarshalJSON

func (x Event_Type) MarshalJSON() ([]byte, error)

func (Event_Type) String

func (x Event_Type) String() string

func (*Event_Type) UnmarshalJSON

func (x *Event_Type) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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