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 ¶
- Variables
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetCreatedAt() *google_protobuf.Timestamp
- func (m *Event) GetEventType() Event_EventType
- func (m *Event) GetId() uint64
- func (m *Event) GetUserId() uint64
- func (m *Event) GetValue() string
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) String() string
- type Event_EventType
- type RichEvent
- func (*RichEvent) Descriptor() ([]byte, []int)
- func (m *RichEvent) GetCreatedAt() *google_protobuf.Timestamp
- func (m *RichEvent) GetEventType() RichEvent_EventType
- func (m *RichEvent) GetId() uint64
- func (m *RichEvent) GetReplyTo() uint64
- func (m *RichEvent) GetUrl() string
- func (m *RichEvent) GetUserId() uint64
- func (m *RichEvent) GetValue() string
- func (*RichEvent) ProtoMessage()
- func (m *RichEvent) Reset()
- func (m *RichEvent) String() string
- type RichEvent_EventType
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) GetCreatedAt ¶
func (m *Event) GetCreatedAt() *google_protobuf.Timestamp
func (*Event) GetEventType ¶
func (m *Event) GetEventType() Event_EventType
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
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) GetCreatedAt ¶
func (m *RichEvent) GetCreatedAt() *google_protobuf.Timestamp
func (*RichEvent) GetEventType ¶
func (m *RichEvent) GetEventType() RichEvent_EventType
func (*RichEvent) GetReplyTo ¶
func (*RichEvent) ProtoMessage ¶
func (*RichEvent) ProtoMessage()
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
Click to show internal directories.
Click to hide internal directories.