Documentation ¶
Index ¶
- Variables
- type ActivityLogMockInput
- func (*ActivityLogMockInput) Descriptor() ([]byte, []int)deprecated
- func (x *ActivityLogMockInput) GetData() []*Data
- func (x *ActivityLogMockInput) GetWrite() []WriteOptions
- func (*ActivityLogMockInput) ProtoMessage()
- func (x *ActivityLogMockInput) ProtoReflect() protoreflect.Message
- func (x *ActivityLogMockInput) Reset()
- func (x *ActivityLogMockInput) String() string
- type Client
- func (*Client) Descriptor() ([]byte, []int)deprecated
- func (x *Client) GetClientType() string
- func (x *Client) GetCount() int32
- func (x *Client) GetId() string
- func (x *Client) GetMount() string
- func (x *Client) GetNamespace() string
- func (x *Client) GetRepeated() bool
- func (x *Client) GetRepeatedFromMonth() int32
- func (*Client) ProtoMessage()
- func (x *Client) ProtoReflect() protoreflect.Message
- func (x *Client) Reset()
- func (x *Client) String() string
- type Clients
- type Data
- func (*Data) Descriptor() ([]byte, []int)deprecated
- func (x *Data) GetAll() *Clients
- func (m *Data) GetClients() isData_Clients
- func (x *Data) GetCurrentMonth() bool
- func (x *Data) GetEmptySegmentIndexes() []int32
- func (m *Data) GetMonth() isData_Month
- func (x *Data) GetMonthsAgo() int32
- func (x *Data) GetNumSegments() int32
- func (x *Data) GetSegments() *Segments
- func (x *Data) GetSkipSegmentIndexes() []int32
- func (*Data) ProtoMessage()
- func (x *Data) ProtoReflect() protoreflect.Message
- func (x *Data) Reset()
- func (x *Data) String() string
- type Data_All
- type Data_CurrentMonth
- type Data_MonthsAgo
- type Data_Segments
- type Segment
- type Segments
- type WriteOptions
- func (WriteOptions) Descriptor() protoreflect.EnumDescriptor
- func (x WriteOptions) Enum() *WriteOptions
- func (WriteOptions) EnumDescriptor() ([]byte, []int)deprecated
- func (x WriteOptions) Number() protoreflect.EnumNumber
- func (x WriteOptions) String() string
- func (WriteOptions) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( WriteOptions_name = map[int32]string{ 0: "WRITE_UNKNOWN", 1: "WRITE_PRECOMPUTED_QUERIES", 2: "WRITE_DISTINCT_CLIENTS", 3: "WRITE_ENTITIES", 4: "WRITE_DIRECT_TOKENS", 5: "WRITE_INTENT_LOGS", } WriteOptions_value = map[string]int32{ "WRITE_UNKNOWN": 0, "WRITE_PRECOMPUTED_QUERIES": 1, "WRITE_DISTINCT_CLIENTS": 2, "WRITE_ENTITIES": 3, "WRITE_DIRECT_TOKENS": 4, "WRITE_INTENT_LOGS": 5, } )
Enum value maps for WriteOptions.
View Source
var File_sdk_helper_clientcountutil_generation_generate_data_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ActivityLogMockInput ¶
type ActivityLogMockInput struct { Write []WriteOptions `protobuf:"varint,1,rep,packed,name=write,proto3,enum=generation.WriteOptions" json:"write,omitempty"` Data []*Data `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ActivityLogMockInput) Descriptor
deprecated
func (*ActivityLogMockInput) Descriptor() ([]byte, []int)
Deprecated: Use ActivityLogMockInput.ProtoReflect.Descriptor instead.
func (*ActivityLogMockInput) GetData ¶
func (x *ActivityLogMockInput) GetData() []*Data
func (*ActivityLogMockInput) GetWrite ¶
func (x *ActivityLogMockInput) GetWrite() []WriteOptions
func (*ActivityLogMockInput) ProtoMessage ¶
func (*ActivityLogMockInput) ProtoMessage()
func (*ActivityLogMockInput) ProtoReflect ¶
func (x *ActivityLogMockInput) ProtoReflect() protoreflect.Message
func (*ActivityLogMockInput) Reset ¶
func (x *ActivityLogMockInput) Reset()
func (*ActivityLogMockInput) String ¶
func (x *ActivityLogMockInput) String() string
type Client ¶
type Client struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Repeated bool `protobuf:"varint,3,opt,name=repeated,proto3" json:"repeated,omitempty"` RepeatedFromMonth int32 `protobuf:"varint,4,opt,name=repeated_from_month,json=repeatedFromMonth,proto3" json:"repeated_from_month,omitempty"` Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"` Mount string `protobuf:"bytes,6,opt,name=mount,proto3" json:"mount,omitempty"` ClientType string `protobuf:"bytes,7,opt,name=client_type,json=clientType,proto3" json:"client_type,omitempty"` // contains filtered or unexported fields }
func (*Client) Descriptor
deprecated
func (*Client) GetClientType ¶
func (*Client) GetNamespace ¶
func (*Client) GetRepeated ¶
func (*Client) GetRepeatedFromMonth ¶
func (*Client) ProtoMessage ¶
func (*Client) ProtoMessage()
func (*Client) ProtoReflect ¶
func (x *Client) ProtoReflect() protoreflect.Message
type Clients ¶
type Clients struct { Clients []*Client `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"` // contains filtered or unexported fields }
func (*Clients) Descriptor
deprecated
func (*Clients) GetClients ¶
func (*Clients) ProtoMessage ¶
func (*Clients) ProtoMessage()
func (*Clients) ProtoReflect ¶
func (x *Clients) ProtoReflect() protoreflect.Message
type Data ¶
type Data struct { // Types that are assignable to Month: // // *Data_CurrentMonth // *Data_MonthsAgo Month isData_Month `protobuf_oneof:"month"` // Types that are assignable to Clients: // // *Data_All // *Data_Segments Clients isData_Clients `protobuf_oneof:"clients"` EmptySegmentIndexes []int32 `` /* 128-byte string literal not displayed */ SkipSegmentIndexes []int32 `protobuf:"varint,6,rep,packed,name=skip_segment_indexes,json=skipSegmentIndexes,proto3" json:"skip_segment_indexes,omitempty"` NumSegments int32 `protobuf:"varint,7,opt,name=num_segments,json=numSegments,proto3" json:"num_segments,omitempty"` // contains filtered or unexported fields }
func (*Data) Descriptor
deprecated
func (*Data) GetClients ¶
func (m *Data) GetClients() isData_Clients
func (*Data) GetCurrentMonth ¶
func (*Data) GetEmptySegmentIndexes ¶
func (*Data) GetMonthsAgo ¶
func (*Data) GetNumSegments ¶
func (*Data) GetSegments ¶
func (*Data) GetSkipSegmentIndexes ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type Data_All ¶
type Data_All struct {
All *Clients `protobuf:"bytes,3,opt,name=all,proto3,oneof"` // you can’t have repeated fields in a oneof, which is why these are separate message types
}
type Data_CurrentMonth ¶
type Data_CurrentMonth struct {
CurrentMonth bool `protobuf:"varint,1,opt,name=current_month,json=currentMonth,proto3,oneof"`
}
type Data_MonthsAgo ¶
type Data_MonthsAgo struct {
MonthsAgo int32 `protobuf:"varint,2,opt,name=months_ago,json=monthsAgo,proto3,oneof"`
}
type Data_Segments ¶
type Data_Segments struct {
Segments *Segments `protobuf:"bytes,4,opt,name=segments,proto3,oneof"`
}
type Segment ¶
type Segment struct { SegmentIndex *int32 `protobuf:"varint,1,opt,name=segment_index,json=segmentIndex,proto3,oneof" json:"segment_index,omitempty"` Clients *Clients `protobuf:"bytes,2,opt,name=clients,proto3" json:"clients,omitempty"` // contains filtered or unexported fields }
func (*Segment) Descriptor
deprecated
func (*Segment) GetClients ¶
func (*Segment) GetSegmentIndex ¶
func (*Segment) ProtoMessage ¶
func (*Segment) ProtoMessage()
func (*Segment) ProtoReflect ¶
func (x *Segment) ProtoReflect() protoreflect.Message
type Segments ¶
type Segments struct { Segments []*Segment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"` // contains filtered or unexported fields }
func (*Segments) Descriptor
deprecated
func (*Segments) GetSegments ¶
func (*Segments) ProtoMessage ¶
func (*Segments) ProtoMessage()
func (*Segments) ProtoReflect ¶
func (x *Segments) ProtoReflect() protoreflect.Message
type WriteOptions ¶
type WriteOptions int32
const ( WriteOptions_WRITE_UNKNOWN WriteOptions = 0 WriteOptions_WRITE_PRECOMPUTED_QUERIES WriteOptions = 1 WriteOptions_WRITE_DISTINCT_CLIENTS WriteOptions = 2 WriteOptions_WRITE_ENTITIES WriteOptions = 3 WriteOptions_WRITE_DIRECT_TOKENS WriteOptions = 4 WriteOptions_WRITE_INTENT_LOGS WriteOptions = 5 )
func (WriteOptions) Descriptor ¶
func (WriteOptions) Descriptor() protoreflect.EnumDescriptor
func (WriteOptions) Enum ¶
func (x WriteOptions) Enum() *WriteOptions
func (WriteOptions) EnumDescriptor
deprecated
func (WriteOptions) EnumDescriptor() ([]byte, []int)
Deprecated: Use WriteOptions.Descriptor instead.
func (WriteOptions) Number ¶
func (x WriteOptions) Number() protoreflect.EnumNumber
func (WriteOptions) String ¶
func (x WriteOptions) String() string
func (WriteOptions) Type ¶
func (WriteOptions) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.