loggingv1

package
v0.0.0-...-99438f8 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package loggingv1 is a generated protocol buffer package.

It is generated from these files:

v1/event.proto

It has these top-level messages:

Event
RichEvent

Index

Constants

This section is empty.

Variables

View Source
var Event_EventType_name = map[int32]string{
	0: "UNKNOWN",
	1: "TWEET",
	2: "FOLLOW",
	3: "LIKE",
}
View Source
var Event_EventType_value = map[string]int32{
	"UNKNOWN": 0,
	"TWEET":   1,
	"FOLLOW":  2,
	"LIKE":    3,
}
View Source
var RichEvent_EventType_name = map[int32]string{
	0: "UNKNOWN",
	1: "TWEET",
	2: "FOLLOW",
	3: "LIKE",
}
View Source
var RichEvent_EventType_value = map[string]int32{
	"UNKNOWN": 0,
	"TWEET":   1,
	"FOLLOW":  2,
	"LIKE":    3,
}

Functions

This section is empty.

Types

type Event

type Event struct {
	Id        uint64                     `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	CreatedAt *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt" json:"created_at,omitempty"`
	EventType Event_EventType            `protobuf:"varint,3,opt,name=event_type,json=eventType,enum=logging.v1.Event_EventType" json:"event_type,omitempty"`
	UserId    uint64                     `protobuf:"varint,4,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	Value     string                     `protobuf:"bytes,5,opt,name=value" json:"value,omitempty"`
}

func (*Event) Descriptor

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

func (*Event) GetCreatedAt

func (m *Event) GetCreatedAt() *google_protobuf.Timestamp

func (*Event) GetEventType

func (m *Event) GetEventType() Event_EventType

func (*Event) GetId

func (m *Event) GetId() uint64

func (*Event) GetUserId

func (m *Event) GetUserId() uint64

func (*Event) GetValue

func (m *Event) GetValue() string

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) String

func (m *Event) String() string

type Event_EventType

type Event_EventType int32
const (
	Event_UNKNOWN Event_EventType = 0
	Event_TWEET   Event_EventType = 1
	Event_FOLLOW  Event_EventType = 2
	Event_LIKE    Event_EventType = 3
)

func (Event_EventType) EnumDescriptor

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

func (Event_EventType) String

func (x Event_EventType) String() string

type RichEvent

type RichEvent struct {
	Id        uint64                     `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	CreatedAt *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt" json:"created_at,omitempty"`
	EventType RichEvent_EventType        `protobuf:"varint,3,opt,name=event_type,json=eventType,enum=logging.v1.RichEvent_EventType" json:"event_type,omitempty"`
	UserId    uint64                     `protobuf:"varint,4,opt,name=user_id,json=userId" json:"user_id,omitempty"`
	Value     string                     `protobuf:"bytes,5,opt,name=value" json:"value,omitempty"`
	Url       string                     `protobuf:"bytes,10,opt,name=url" json:"url,omitempty"`
	ReplyTo   uint64                     `protobuf:"varint,11,opt,name=reply_to,json=replyTo" json:"reply_to,omitempty"`
}

func (*RichEvent) Descriptor

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

func (*RichEvent) GetCreatedAt

func (m *RichEvent) GetCreatedAt() *google_protobuf.Timestamp

func (*RichEvent) GetEventType

func (m *RichEvent) GetEventType() RichEvent_EventType

func (*RichEvent) GetId

func (m *RichEvent) GetId() uint64

func (*RichEvent) GetReplyTo

func (m *RichEvent) GetReplyTo() uint64

func (*RichEvent) GetUrl

func (m *RichEvent) GetUrl() string

func (*RichEvent) GetUserId

func (m *RichEvent) GetUserId() uint64

func (*RichEvent) GetValue

func (m *RichEvent) GetValue() string

func (*RichEvent) ProtoMessage

func (*RichEvent) ProtoMessage()

func (*RichEvent) Reset

func (m *RichEvent) Reset()

func (*RichEvent) String

func (m *RichEvent) String() string

type RichEvent_EventType

type RichEvent_EventType int32
const (
	RichEvent_UNKNOWN RichEvent_EventType = 0
	RichEvent_TWEET   RichEvent_EventType = 1
	RichEvent_FOLLOW  RichEvent_EventType = 2
	RichEvent_LIKE    RichEvent_EventType = 3
)

func (RichEvent_EventType) EnumDescriptor

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

func (RichEvent_EventType) String

func (x RichEvent_EventType) String() string

Jump to

Keyboard shortcuts

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