Documentation ¶
Overview ¶
Package loggingv2 is a generated protocol buffer package.
It is generated from these files:
v2/event.proto
It has these top-level messages:
Event
Index ¶
- Variables
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetEventAt() *google_protobuf1.Timestamp
- func (m *Event) GetEventSource() Event_EventSource
- func (m *Event) GetEventType() Event_EventType
- func (m *Event) GetId() uint64
- func (m *Event) GetProcessedAt() *google_protobuf1.Timestamp
- func (m *Event) GetProperties() *google_protobuf.Any
- func (m *Event) GetUserAgent() Event_UserAgent
- func (m *Event) GetUserId() uint64
- func (m *Event) GetValue() string
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) String() string
- type Event_EventSource
- type Event_EventType
- type Event_UserAgent
Constants ¶
This section is empty.
Variables ¶
View Source
var Event_EventSource_name = map[int32]string{
0: "SOURCE_UNKNOWN",
1: "SOURCE_PRIVATE_TIMETIME",
2: "SOURCE_PUBLIC_TIMELINE",
3: "SOURCE_OTHERS_TIMELINE",
4: "SOURCE_EMBED",
}
View Source
var Event_EventSource_value = map[string]int32{
"SOURCE_UNKNOWN": 0,
"SOURCE_PRIVATE_TIMETIME": 1,
"SOURCE_PUBLIC_TIMELINE": 2,
"SOURCE_OTHERS_TIMELINE": 3,
"SOURCE_EMBED": 4,
}
View Source
var Event_EventType_name = map[int32]string{
0: "TYPE_UNKNOWN",
1: "TYPE_TWEET",
2: "TYPE_RETWEET",
3: "TYPE_FOLLOW",
4: "TYPE_LIKE",
5: "TYPE_REMOVE",
6: "TYPE_BLOCK",
}
View Source
var Event_EventType_value = map[string]int32{
"TYPE_UNKNOWN": 0,
"TYPE_TWEET": 1,
"TYPE_RETWEET": 2,
"TYPE_FOLLOW": 3,
"TYPE_LIKE": 4,
"TYPE_REMOVE": 5,
"TYPE_BLOCK": 6,
}
View Source
var Event_UserAgent_name = map[int32]string{
0: "UA_UNKNOWN",
1: "UA_ANDROID",
2: "UA_IOS",
3: "UA_WEB",
4: "UA_THIRD_PARTY",
}
View Source
var Event_UserAgent_value = map[string]int32{
"UA_UNKNOWN": 0,
"UA_ANDROID": 1,
"UA_IOS": 2,
"UA_WEB": 3,
"UA_THIRD_PARTY": 4,
}
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { Id uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` EventAt *google_protobuf1.Timestamp `protobuf:"bytes,2,opt,name=event_at,json=eventAt" json:"event_at,omitempty"` ProcessedAt *google_protobuf1.Timestamp `protobuf:"bytes,3,opt,name=processed_at,json=processedAt" json:"processed_at,omitempty"` EventType Event_EventType `protobuf:"varint,4,opt,name=event_type,json=eventType,enum=logging.v2.Event_EventType" json:"event_type,omitempty"` EventSource Event_EventSource `protobuf:"varint,5,opt,name=event_source,json=eventSource,enum=logging.v2.Event_EventSource" json:"event_source,omitempty"` UserId uint64 `protobuf:"varint,6,opt,name=user_id,json=userId" json:"user_id,omitempty"` UserAgent Event_UserAgent `protobuf:"varint,7,opt,name=user_agent,json=userAgent,enum=logging.v2.Event_UserAgent" json:"user_agent,omitempty"` Value string `protobuf:"bytes,8,opt,name=value" json:"value,omitempty"` Properties *google_protobuf.Any `protobuf:"bytes,100,opt,name=properties" json:"properties,omitempty"` }
func (*Event) Descriptor ¶
func (*Event) GetEventAt ¶
func (m *Event) GetEventAt() *google_protobuf1.Timestamp
func (*Event) GetEventSource ¶
func (m *Event) GetEventSource() Event_EventSource
func (*Event) GetEventType ¶
func (m *Event) GetEventType() Event_EventType
func (*Event) GetProcessedAt ¶
func (m *Event) GetProcessedAt() *google_protobuf1.Timestamp
func (*Event) GetProperties ¶
func (m *Event) GetProperties() *google_protobuf.Any
func (*Event) GetUserAgent ¶
func (m *Event) GetUserAgent() Event_UserAgent
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
type Event_EventSource ¶
type Event_EventSource int32
const ( Event_SOURCE_UNKNOWN Event_EventSource = 0 Event_SOURCE_PRIVATE_TIMETIME Event_EventSource = 1 Event_SOURCE_PUBLIC_TIMELINE Event_EventSource = 2 Event_SOURCE_OTHERS_TIMELINE Event_EventSource = 3 Event_SOURCE_EMBED Event_EventSource = 4 )
func (Event_EventSource) EnumDescriptor ¶
func (Event_EventSource) EnumDescriptor() ([]byte, []int)
func (Event_EventSource) String ¶
func (x Event_EventSource) String() string
type Event_EventType ¶
type Event_EventType int32
const ( Event_TYPE_UNKNOWN Event_EventType = 0 Event_TYPE_TWEET Event_EventType = 1 Event_TYPE_RETWEET Event_EventType = 2 Event_TYPE_FOLLOW Event_EventType = 3 Event_TYPE_LIKE Event_EventType = 4 Event_TYPE_REMOVE Event_EventType = 5 Event_TYPE_BLOCK Event_EventType = 6 )
func (Event_EventType) EnumDescriptor ¶
func (Event_EventType) EnumDescriptor() ([]byte, []int)
func (Event_EventType) String ¶
func (x Event_EventType) String() string
type Event_UserAgent ¶
type Event_UserAgent int32
const ( Event_UA_UNKNOWN Event_UserAgent = 0 Event_UA_ANDROID Event_UserAgent = 1 Event_UA_IOS Event_UserAgent = 2 Event_UA_WEB Event_UserAgent = 3 Event_UA_THIRD_PARTY Event_UserAgent = 4 )
func (Event_UserAgent) EnumDescriptor ¶
func (Event_UserAgent) EnumDescriptor() ([]byte, []int)
func (Event_UserAgent) String ¶
func (x Event_UserAgent) String() string
Click to show internal directories.
Click to hide internal directories.