events

package
v0.0.0-...-a42463b Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package events is a generated protocol buffer package.

It is generated from these files:

envelope.proto
error.proto
http.proto
log.proto
metric.proto
uuid.proto

It has these top-level messages:

Envelope
Error
HttpStartStop
LogMessage
ValueMetric
CounterEvent
ContainerMetric
UUID

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthEnvelope = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEnvelope   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthError = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowError   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthHttp = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowHttp   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthLog = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLog   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthMetric = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMetric   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthUuid = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowUuid   = fmt.Errorf("proto: integer overflow")
)
View Source
var Envelope_EventType_name = map[int32]string{
	4: "HttpStartStop",
	5: "LogMessage",
	6: "ValueMetric",
	7: "CounterEvent",
	8: "Error",
	9: "ContainerMetric",
}
View Source
var Envelope_EventType_value = map[string]int32{
	"HttpStartStop":   4,
	"LogMessage":      5,
	"ValueMetric":     6,
	"CounterEvent":    7,
	"Error":           8,
	"ContainerMetric": 9,
}
View Source
var LogMessage_MessageType_name = map[int32]string{
	1: "OUT",
	2: "ERR",
}
View Source
var LogMessage_MessageType_value = map[string]int32{
	"OUT": 1,
	"ERR": 2,
}
View Source
var Method_name = map[int32]string{
	1:  "GET",
	2:  "POST",
	3:  "PUT",
	4:  "DELETE",
	5:  "HEAD",
	6:  "ACL",
	7:  "BASELINE_CONTROL",
	8:  "BIND",
	9:  "CHECKIN",
	10: "CHECKOUT",
	11: "CONNECT",
	12: "COPY",
	13: "DEBUG",
	14: "LABEL",
	15: "LINK",
	16: "LOCK",
	17: "MERGE",
	18: "MKACTIVITY",
	19: "MKCALENDAR",
	20: "MKCOL",
	21: "MKREDIRECTREF",
	22: "MKWORKSPACE",
	23: "MOVE",
	24: "OPTIONS",
	25: "ORDERPATCH",
	26: "PATCH",
	27: "PRI",
	28: "PROPFIND",
	29: "PROPPATCH",
	30: "REBIND",
	31: "REPORT",
	32: "SEARCH",
	33: "SHOWMETHOD",
	34: "SPACEJUMP",
	35: "TEXTSEARCH",
	36: "TRACE",
	37: "TRACK",
	38: "UNBIND",
	39: "UNCHECKOUT",
	40: "UNLINK",
	41: "UNLOCK",
	42: "UPDATE",
	43: "UPDATEREDIRECTREF",
	44: "VERSION_CONTROL",
}
View Source
var Method_value = map[string]int32{
	"GET":               1,
	"POST":              2,
	"PUT":               3,
	"DELETE":            4,
	"HEAD":              5,
	"ACL":               6,
	"BASELINE_CONTROL":  7,
	"BIND":              8,
	"CHECKIN":           9,
	"CHECKOUT":          10,
	"CONNECT":           11,
	"COPY":              12,
	"DEBUG":             13,
	"LABEL":             14,
	"LINK":              15,
	"LOCK":              16,
	"MERGE":             17,
	"MKACTIVITY":        18,
	"MKCALENDAR":        19,
	"MKCOL":             20,
	"MKREDIRECTREF":     21,
	"MKWORKSPACE":       22,
	"MOVE":              23,
	"OPTIONS":           24,
	"ORDERPATCH":        25,
	"PATCH":             26,
	"PRI":               27,
	"PROPFIND":          28,
	"PROPPATCH":         29,
	"REBIND":            30,
	"REPORT":            31,
	"SEARCH":            32,
	"SHOWMETHOD":        33,
	"SPACEJUMP":         34,
	"TEXTSEARCH":        35,
	"TRACE":             36,
	"TRACK":             37,
	"UNBIND":            38,
	"UNCHECKOUT":        39,
	"UNLINK":            40,
	"UNLOCK":            41,
	"UPDATE":            42,
	"UPDATEREDIRECTREF": 43,
	"VERSION_CONTROL":   44,
}
View Source
var PeerType_name = map[int32]string{
	1: "Client",
	2: "Server",
}
View Source
var PeerType_value = map[string]int32{
	"Client": 1,
	"Server": 2,
}

Functions

This section is empty.

Types

type ContainerMetric

type ContainerMetric struct {
	ApplicationId    *string  `protobuf:"bytes,1,req,name=applicationId" json:"applicationId,omitempty"`
	InstanceIndex    *int32   `protobuf:"varint,2,req,name=instanceIndex" json:"instanceIndex,omitempty"`
	CpuPercentage    *float64 `protobuf:"fixed64,3,req,name=cpuPercentage" json:"cpuPercentage,omitempty"`
	MemoryBytes      *uint64  `protobuf:"varint,4,req,name=memoryBytes" json:"memoryBytes,omitempty"`
	DiskBytes        *uint64  `protobuf:"varint,5,req,name=diskBytes" json:"diskBytes,omitempty"`
	MemoryBytesQuota *uint64  `protobuf:"varint,6,opt,name=memoryBytesQuota" json:"memoryBytesQuota,omitempty"`
	DiskBytesQuota   *uint64  `protobuf:"varint,7,opt,name=diskBytesQuota" json:"diskBytesQuota,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

/ A ContainerMetric records resource usage of an app in a container.

func (*ContainerMetric) Descriptor

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

func (*ContainerMetric) GetApplicationId

func (m *ContainerMetric) GetApplicationId() string

func (*ContainerMetric) GetCpuPercentage

func (m *ContainerMetric) GetCpuPercentage() float64

func (*ContainerMetric) GetDiskBytes

func (m *ContainerMetric) GetDiskBytes() uint64

func (*ContainerMetric) GetDiskBytesQuota

func (m *ContainerMetric) GetDiskBytesQuota() uint64

func (*ContainerMetric) GetInstanceIndex

func (m *ContainerMetric) GetInstanceIndex() int32

func (*ContainerMetric) GetMemoryBytes

func (m *ContainerMetric) GetMemoryBytes() uint64

func (*ContainerMetric) GetMemoryBytesQuota

func (m *ContainerMetric) GetMemoryBytesQuota() uint64

func (*ContainerMetric) Marshal

func (m *ContainerMetric) Marshal() (dAtA []byte, err error)

func (ContainerMetric) MarshalEasyJSON

func (v ContainerMetric) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (*ContainerMetric) MarshalTo

func (m *ContainerMetric) MarshalTo(dAtA []byte) (int, error)

func (*ContainerMetric) ProtoMessage

func (*ContainerMetric) ProtoMessage()

func (*ContainerMetric) Reset

func (m *ContainerMetric) Reset()

func (*ContainerMetric) Size

func (m *ContainerMetric) Size() (n int)

func (*ContainerMetric) String

func (m *ContainerMetric) String() string

func (*ContainerMetric) Unmarshal

func (m *ContainerMetric) Unmarshal(dAtA []byte) error

func (*ContainerMetric) UnmarshalEasyJSON

func (v *ContainerMetric) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

type CounterEvent

type CounterEvent struct {
	Name             *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Delta            *uint64 `protobuf:"varint,2,req,name=delta" json:"delta,omitempty"`
	Total            *uint64 `protobuf:"varint,3,opt,name=total" json:"total,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

/ A CounterEvent represents the increment of a counter. It contains only the change in the value; it is the responsibility of downstream consumers to maintain the value of the counter.

func (*CounterEvent) Descriptor

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

func (*CounterEvent) GetDelta

func (m *CounterEvent) GetDelta() uint64

func (*CounterEvent) GetName

func (m *CounterEvent) GetName() string

func (*CounterEvent) GetTotal

func (m *CounterEvent) GetTotal() uint64

func (*CounterEvent) Marshal

func (m *CounterEvent) Marshal() (dAtA []byte, err error)

func (CounterEvent) MarshalEasyJSON

func (v CounterEvent) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (*CounterEvent) MarshalTo

func (m *CounterEvent) MarshalTo(dAtA []byte) (int, error)

func (*CounterEvent) ProtoMessage

func (*CounterEvent) ProtoMessage()

func (*CounterEvent) Reset

func (m *CounterEvent) Reset()

func (*CounterEvent) Size

func (m *CounterEvent) Size() (n int)

func (*CounterEvent) String

func (m *CounterEvent) String() string

func (*CounterEvent) Unmarshal

func (m *CounterEvent) Unmarshal(dAtA []byte) error

func (*CounterEvent) UnmarshalEasyJSON

func (v *CounterEvent) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

type Envelope

type Envelope struct {
	Origin     *string             `protobuf:"bytes,1,req,name=origin" json:"origin,omitempty"`
	EventType  *Envelope_EventType `protobuf:"varint,2,req,name=eventType,enum=events.Envelope_EventType" json:"eventType,omitempty"`
	Timestamp  *int64              `protobuf:"varint,6,opt,name=timestamp" json:"timestamp,omitempty"`
	Deployment *string             `protobuf:"bytes,13,opt,name=deployment" json:"deployment,omitempty"`
	Job        *string             `protobuf:"bytes,14,opt,name=job" json:"job,omitempty"`
	Index      *string             `protobuf:"bytes,15,opt,name=index" json:"index,omitempty"`
	Ip         *string             `protobuf:"bytes,16,opt,name=ip" json:"ip,omitempty"`
	Tags       map[string]string   `` /* 129-byte string literal not displayed */
	// Removed Heartbeat at position 3
	// Removed HttpStart at position 4
	// Removed HttpStop at position 5
	HttpStartStop    *HttpStartStop   `protobuf:"bytes,7,opt,name=httpStartStop" json:"httpStartStop,omitempty"`
	LogMessage       *LogMessage      `protobuf:"bytes,8,opt,name=logMessage" json:"logMessage,omitempty"`
	ValueMetric      *ValueMetric     `protobuf:"bytes,9,opt,name=valueMetric" json:"valueMetric,omitempty"`
	CounterEvent     *CounterEvent    `protobuf:"bytes,10,opt,name=counterEvent" json:"counterEvent,omitempty"`
	Error            *Error           `protobuf:"bytes,11,opt,name=error" json:"error,omitempty"`
	ContainerMetric  *ContainerMetric `protobuf:"bytes,12,opt,name=containerMetric" json:"containerMetric,omitempty"`
	XXX_unrecognized []byte           `json:"-"`
}

/ Envelope wraps an Event and adds metadata.

func (*Envelope) Descriptor

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

func (*Envelope) GetContainerMetric

func (m *Envelope) GetContainerMetric() *ContainerMetric

func (*Envelope) GetCounterEvent

func (m *Envelope) GetCounterEvent() *CounterEvent

func (*Envelope) GetDeployment

func (m *Envelope) GetDeployment() string

func (*Envelope) GetError

func (m *Envelope) GetError() *Error

func (*Envelope) GetEventType

func (m *Envelope) GetEventType() Envelope_EventType

func (*Envelope) GetHttpStartStop

func (m *Envelope) GetHttpStartStop() *HttpStartStop

func (*Envelope) GetIndex

func (m *Envelope) GetIndex() string

func (*Envelope) GetIp

func (m *Envelope) GetIp() string

func (*Envelope) GetJob

func (m *Envelope) GetJob() string

func (*Envelope) GetLogMessage

func (m *Envelope) GetLogMessage() *LogMessage

func (*Envelope) GetOrigin

func (m *Envelope) GetOrigin() string

func (*Envelope) GetTags

func (m *Envelope) GetTags() map[string]string

func (*Envelope) GetTimestamp

func (m *Envelope) GetTimestamp() int64

func (*Envelope) GetValueMetric

func (m *Envelope) GetValueMetric() *ValueMetric

func (*Envelope) Marshal

func (m *Envelope) Marshal() (dAtA []byte, err error)

func (Envelope) MarshalEasyJSON

func (v Envelope) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (*Envelope) MarshalTo

func (m *Envelope) MarshalTo(dAtA []byte) (int, error)

func (*Envelope) ProtoMessage

func (*Envelope) ProtoMessage()

func (*Envelope) Reset

func (m *Envelope) Reset()

func (*Envelope) Size

func (m *Envelope) Size() (n int)

func (*Envelope) String

func (m *Envelope) String() string

func (*Envelope) Unmarshal

func (m *Envelope) Unmarshal(dAtA []byte) error

func (*Envelope) UnmarshalEasyJSON

func (v *Envelope) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

type Envelope_EventType

type Envelope_EventType int32

/ Type of the wrapped event.

const (
	// Removed Heartbeat at position 1
	// Removed HttpStart at position 2
	// Removed HttpStop at position 3
	Envelope_HttpStartStop   Envelope_EventType = 4
	Envelope_LogMessage      Envelope_EventType = 5
	Envelope_ValueMetric     Envelope_EventType = 6
	Envelope_CounterEvent    Envelope_EventType = 7
	Envelope_Error           Envelope_EventType = 8
	Envelope_ContainerMetric Envelope_EventType = 9
)

func (Envelope_EventType) Enum

func (Envelope_EventType) EnumDescriptor

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

func (Envelope_EventType) String

func (x Envelope_EventType) String() string

func (*Envelope_EventType) UnmarshalJSON

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

type Error

type Error struct {
	Source           *string `protobuf:"bytes,1,req,name=source" json:"source,omitempty"`
	Code             *int32  `protobuf:"varint,2,req,name=code" json:"code,omitempty"`
	Message          *string `protobuf:"bytes,3,req,name=message" json:"message,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

/ An Error event represents an error in the originating process.

func (*Error) Descriptor

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

func (*Error) GetCode

func (m *Error) GetCode() int32

func (*Error) GetMessage

func (m *Error) GetMessage() string

func (*Error) GetSource

func (m *Error) GetSource() string

func (*Error) Marshal

func (m *Error) Marshal() (dAtA []byte, err error)

func (Error) MarshalEasyJSON

func (v Error) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (*Error) MarshalTo

func (m *Error) MarshalTo(dAtA []byte) (int, error)

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) Reset

func (m *Error) Reset()

func (*Error) Size

func (m *Error) Size() (n int)

func (*Error) String

func (m *Error) String() string

func (*Error) Unmarshal

func (m *Error) Unmarshal(dAtA []byte) error

func (*Error) UnmarshalEasyJSON

func (v *Error) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

type Event

type Event interface {
	ProtoMessage()
}

type HttpStartStop

type HttpStartStop struct {
	StartTimestamp   *int64    `protobuf:"varint,1,req,name=startTimestamp" json:"startTimestamp,omitempty"`
	StopTimestamp    *int64    `protobuf:"varint,2,req,name=stopTimestamp" json:"stopTimestamp,omitempty"`
	RequestId        *UUID     `protobuf:"bytes,3,req,name=requestId" json:"requestId,omitempty"`
	PeerType         *PeerType `protobuf:"varint,4,req,name=peerType,enum=events.PeerType" json:"peerType,omitempty"`
	Method           *Method   `protobuf:"varint,5,req,name=method,enum=events.Method" json:"method,omitempty"`
	Uri              *string   `protobuf:"bytes,6,req,name=uri" json:"uri,omitempty"`
	RemoteAddress    *string   `protobuf:"bytes,7,req,name=remoteAddress" json:"remoteAddress,omitempty"`
	UserAgent        *string   `protobuf:"bytes,8,req,name=userAgent" json:"userAgent,omitempty"`
	StatusCode       *int32    `protobuf:"varint,9,req,name=statusCode" json:"statusCode,omitempty"`
	ContentLength    *int64    `protobuf:"varint,10,req,name=contentLength" json:"contentLength,omitempty"`
	ApplicationId    *UUID     `protobuf:"bytes,12,opt,name=applicationId" json:"applicationId,omitempty"`
	InstanceIndex    *int32    `protobuf:"varint,13,opt,name=instanceIndex" json:"instanceIndex,omitempty"`
	InstanceId       *string   `protobuf:"bytes,14,opt,name=instanceId" json:"instanceId,omitempty"`
	Forwarded        []string  `protobuf:"bytes,15,rep,name=forwarded" json:"forwarded,omitempty"`
	XXX_unrecognized []byte    `json:"-"`
}

/ An HttpStartStop event represents the whole lifecycle of an HTTP request.

func (*HttpStartStop) Descriptor

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

func (*HttpStartStop) GetApplicationId

func (m *HttpStartStop) GetApplicationId() *UUID

func (*HttpStartStop) GetContentLength

func (m *HttpStartStop) GetContentLength() int64

func (*HttpStartStop) GetForwarded

func (m *HttpStartStop) GetForwarded() []string

func (*HttpStartStop) GetInstanceId

func (m *HttpStartStop) GetInstanceId() string

func (*HttpStartStop) GetInstanceIndex

func (m *HttpStartStop) GetInstanceIndex() int32

func (*HttpStartStop) GetMethod

func (m *HttpStartStop) GetMethod() Method

func (*HttpStartStop) GetPeerType

func (m *HttpStartStop) GetPeerType() PeerType

func (*HttpStartStop) GetRemoteAddress

func (m *HttpStartStop) GetRemoteAddress() string

func (*HttpStartStop) GetRequestId

func (m *HttpStartStop) GetRequestId() *UUID

func (*HttpStartStop) GetStartTimestamp

func (m *HttpStartStop) GetStartTimestamp() int64

func (*HttpStartStop) GetStatusCode

func (m *HttpStartStop) GetStatusCode() int32

func (*HttpStartStop) GetStopTimestamp

func (m *HttpStartStop) GetStopTimestamp() int64

func (*HttpStartStop) GetUri

func (m *HttpStartStop) GetUri() string

func (*HttpStartStop) GetUserAgent

func (m *HttpStartStop) GetUserAgent() string

func (*HttpStartStop) Marshal

func (m *HttpStartStop) Marshal() (dAtA []byte, err error)

func (HttpStartStop) MarshalEasyJSON

func (v HttpStartStop) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (*HttpStartStop) MarshalTo

func (m *HttpStartStop) MarshalTo(dAtA []byte) (int, error)

func (*HttpStartStop) ProtoMessage

func (*HttpStartStop) ProtoMessage()

func (*HttpStartStop) Reset

func (m *HttpStartStop) Reset()

func (*HttpStartStop) Size

func (m *HttpStartStop) Size() (n int)

func (*HttpStartStop) String

func (m *HttpStartStop) String() string

func (*HttpStartStop) Unmarshal

func (m *HttpStartStop) Unmarshal(dAtA []byte) error

func (*HttpStartStop) UnmarshalEasyJSON

func (v *HttpStartStop) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

type LogMessage

type LogMessage struct {
	Message          []byte                  `protobuf:"bytes,1,req,name=message" json:"message,omitempty"`
	MessageType      *LogMessage_MessageType `protobuf:"varint,2,req,name=message_type,json=messageType,enum=events.LogMessage_MessageType" json:"message_type,omitempty"`
	Timestamp        *int64                  `protobuf:"varint,3,req,name=timestamp" json:"timestamp,omitempty"`
	AppId            *string                 `protobuf:"bytes,4,opt,name=app_id,json=appId" json:"app_id,omitempty"`
	SourceType       *string                 `protobuf:"bytes,5,opt,name=source_type,json=sourceType" json:"source_type,omitempty"`
	SourceInstance   *string                 `protobuf:"bytes,6,opt,name=source_instance,json=sourceInstance" json:"source_instance,omitempty"`
	XXX_unrecognized []byte                  `json:"-"`
}

/ A LogMessage contains a "log line" and associated metadata.

func (*LogMessage) Descriptor

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

func (*LogMessage) GetAppId

func (m *LogMessage) GetAppId() string

func (*LogMessage) GetMessage

func (m *LogMessage) GetMessage() []byte

func (*LogMessage) GetMessageType

func (m *LogMessage) GetMessageType() LogMessage_MessageType

func (*LogMessage) GetSourceInstance

func (m *LogMessage) GetSourceInstance() string

func (*LogMessage) GetSourceType

func (m *LogMessage) GetSourceType() string

func (*LogMessage) GetTimestamp

func (m *LogMessage) GetTimestamp() int64

func (*LogMessage) Marshal

func (m *LogMessage) Marshal() (dAtA []byte, err error)

func (LogMessage) MarshalEasyJSON

func (v LogMessage) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (*LogMessage) MarshalTo

func (m *LogMessage) MarshalTo(dAtA []byte) (int, error)

func (*LogMessage) ProtoMessage

func (*LogMessage) ProtoMessage()

func (*LogMessage) Reset

func (m *LogMessage) Reset()

func (*LogMessage) Size

func (m *LogMessage) Size() (n int)

func (*LogMessage) String

func (m *LogMessage) String() string

func (*LogMessage) Unmarshal

func (m *LogMessage) Unmarshal(dAtA []byte) error

func (*LogMessage) UnmarshalEasyJSON

func (v *LogMessage) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

type LogMessage_MessageType

type LogMessage_MessageType int32

/ MessageType stores the destination of the message (corresponding to STDOUT or STDERR).

const (
	LogMessage_OUT LogMessage_MessageType = 1
	LogMessage_ERR LogMessage_MessageType = 2
)

func (LogMessage_MessageType) Enum

func (LogMessage_MessageType) EnumDescriptor

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

func (LogMessage_MessageType) String

func (x LogMessage_MessageType) String() string

func (*LogMessage_MessageType) UnmarshalJSON

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

type Method

type Method int32

/ HTTP method.

const (
	Method_GET               Method = 1
	Method_POST              Method = 2
	Method_PUT               Method = 3
	Method_DELETE            Method = 4
	Method_HEAD              Method = 5
	Method_ACL               Method = 6
	Method_BASELINE_CONTROL  Method = 7
	Method_BIND              Method = 8
	Method_CHECKIN           Method = 9
	Method_CHECKOUT          Method = 10
	Method_CONNECT           Method = 11
	Method_COPY              Method = 12
	Method_DEBUG             Method = 13
	Method_LABEL             Method = 14
	Method_LINK              Method = 15
	Method_LOCK              Method = 16
	Method_MERGE             Method = 17
	Method_MKACTIVITY        Method = 18
	Method_MKCALENDAR        Method = 19
	Method_MKCOL             Method = 20
	Method_MKREDIRECTREF     Method = 21
	Method_MKWORKSPACE       Method = 22
	Method_MOVE              Method = 23
	Method_OPTIONS           Method = 24
	Method_ORDERPATCH        Method = 25
	Method_PATCH             Method = 26
	Method_PRI               Method = 27
	Method_PROPFIND          Method = 28
	Method_PROPPATCH         Method = 29
	Method_REBIND            Method = 30
	Method_REPORT            Method = 31
	Method_SEARCH            Method = 32
	Method_SHOWMETHOD        Method = 33
	Method_SPACEJUMP         Method = 34
	Method_TEXTSEARCH        Method = 35
	Method_TRACE             Method = 36
	Method_TRACK             Method = 37
	Method_UNBIND            Method = 38
	Method_UNCHECKOUT        Method = 39
	Method_UNLINK            Method = 40
	Method_UNLOCK            Method = 41
	Method_UPDATE            Method = 42
	Method_UPDATEREDIRECTREF Method = 43
	Method_VERSION_CONTROL   Method = 44
)

func (Method) Enum

func (x Method) Enum() *Method

func (Method) EnumDescriptor

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

func (Method) String

func (x Method) String() string

func (*Method) UnmarshalJSON

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

type PeerType

type PeerType int32

/ Type of peer handling request.

const (
	PeerType_Client PeerType = 1
	PeerType_Server PeerType = 2
)

func (PeerType) Enum

func (x PeerType) Enum() *PeerType

func (PeerType) EnumDescriptor

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

func (PeerType) String

func (x PeerType) String() string

func (*PeerType) UnmarshalJSON

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

type UUID

type UUID struct {
	Low              *uint64 `protobuf:"varint,1,req,name=low" json:"low,omitempty"`
	High             *uint64 `protobuf:"varint,2,req,name=high" json:"high,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

/ Type representing a 128-bit UUID.

The bytes of the UUID should be packed in little-endian **byte** (not bit) order. For example, the UUID `f47ac10b-58cc-4372-a567-0e02b2c3d479` should be encoded as `UUID{ low: 0x7243cc580bc17af4, high: 0x79d4c3b2020e67a5 }`

func (*UUID) Descriptor

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

func (*UUID) GetHigh

func (m *UUID) GetHigh() uint64

func (*UUID) GetLow

func (m *UUID) GetLow() uint64

func (*UUID) Marshal

func (m *UUID) Marshal() (dAtA []byte, err error)

func (UUID) MarshalEasyJSON

func (v UUID) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (*UUID) MarshalTo

func (m *UUID) MarshalTo(dAtA []byte) (int, error)

func (*UUID) ProtoMessage

func (*UUID) ProtoMessage()

func (*UUID) Reset

func (m *UUID) Reset()

func (*UUID) Size

func (m *UUID) Size() (n int)

func (*UUID) String

func (m *UUID) String() string

func (*UUID) Unmarshal

func (m *UUID) Unmarshal(dAtA []byte) error

func (*UUID) UnmarshalEasyJSON

func (v *UUID) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

type ValueMetric

type ValueMetric struct {
	Name             *string  `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
	Value            *float64 `protobuf:"fixed64,2,req,name=value" json:"value,omitempty"`
	Unit             *string  `protobuf:"bytes,3,req,name=unit" json:"unit,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

/ A ValueMetric indicates the value of a metric at an instant in time.

func (*ValueMetric) Descriptor

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

func (*ValueMetric) GetName

func (m *ValueMetric) GetName() string

func (*ValueMetric) GetUnit

func (m *ValueMetric) GetUnit() string

func (*ValueMetric) GetValue

func (m *ValueMetric) GetValue() float64

func (*ValueMetric) Marshal

func (m *ValueMetric) Marshal() (dAtA []byte, err error)

func (ValueMetric) MarshalEasyJSON

func (v ValueMetric) MarshalEasyJSON(w *jwriter.Writer)

MarshalEasyJSON supports easyjson.Marshaler interface

func (*ValueMetric) MarshalTo

func (m *ValueMetric) MarshalTo(dAtA []byte) (int, error)

func (*ValueMetric) ProtoMessage

func (*ValueMetric) ProtoMessage()

func (*ValueMetric) Reset

func (m *ValueMetric) Reset()

func (*ValueMetric) Size

func (m *ValueMetric) Size() (n int)

func (*ValueMetric) String

func (m *ValueMetric) String() string

func (*ValueMetric) Unmarshal

func (m *ValueMetric) Unmarshal(dAtA []byte) error

func (*ValueMetric) UnmarshalEasyJSON

func (v *ValueMetric) UnmarshalEasyJSON(l *jlexer.Lexer)

UnmarshalEasyJSON supports easyjson.Unmarshaler interface

Jump to

Keyboard shortcuts

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