generation

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Client.ProtoReflect.Descriptor instead.

func (*Client) GetClientType

func (x *Client) GetClientType() string

func (*Client) GetCount

func (x *Client) GetCount() int32

func (*Client) GetId

func (x *Client) GetId() string

func (*Client) GetMount

func (x *Client) GetMount() string

func (*Client) GetNamespace

func (x *Client) GetNamespace() string

func (*Client) GetRepeated

func (x *Client) GetRepeated() bool

func (*Client) GetRepeatedFromMonth

func (x *Client) GetRepeatedFromMonth() int32

func (*Client) ProtoMessage

func (*Client) ProtoMessage()

func (*Client) ProtoReflect

func (x *Client) ProtoReflect() protoreflect.Message

func (*Client) Reset

func (x *Client) Reset()

func (*Client) String

func (x *Client) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Clients.ProtoReflect.Descriptor instead.

func (*Clients) GetClients

func (x *Clients) GetClients() []*Client

func (*Clients) ProtoMessage

func (*Clients) ProtoMessage()

func (*Clients) ProtoReflect

func (x *Clients) ProtoReflect() protoreflect.Message

func (*Clients) Reset

func (x *Clients) Reset()

func (*Clients) String

func (x *Clients) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetAll

func (x *Data) GetAll() *Clients

func (*Data) GetClients

func (m *Data) GetClients() isData_Clients

func (*Data) GetCurrentMonth

func (x *Data) GetCurrentMonth() bool

func (*Data) GetEmptySegmentIndexes

func (x *Data) GetEmptySegmentIndexes() []int32

func (*Data) GetMonth

func (m *Data) GetMonth() isData_Month

func (*Data) GetMonthsAgo

func (x *Data) GetMonthsAgo() int32

func (*Data) GetNumSegments

func (x *Data) GetNumSegments() int32

func (*Data) GetSegments

func (x *Data) GetSegments() *Segments

func (*Data) GetSkipSegmentIndexes

func (x *Data) GetSkipSegmentIndexes() []int32

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

func (x *Data) ProtoReflect() protoreflect.Message

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Segment.ProtoReflect.Descriptor instead.

func (*Segment) GetClients

func (x *Segment) GetClients() *Clients

func (*Segment) GetSegmentIndex

func (x *Segment) GetSegmentIndex() int32

func (*Segment) ProtoMessage

func (*Segment) ProtoMessage()

func (*Segment) ProtoReflect

func (x *Segment) ProtoReflect() protoreflect.Message

func (*Segment) Reset

func (x *Segment) Reset()

func (*Segment) String

func (x *Segment) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Segments.ProtoReflect.Descriptor instead.

func (*Segments) GetSegments

func (x *Segments) GetSegments() []*Segment

func (*Segments) ProtoMessage

func (*Segments) ProtoMessage()

func (*Segments) ProtoReflect

func (x *Segments) ProtoReflect() protoreflect.Message

func (*Segments) Reset

func (x *Segments) Reset()

func (*Segments) String

func (x *Segments) String() string

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) Enum

func (x WriteOptions) Enum() *WriteOptions

func (WriteOptions) EnumDescriptor deprecated

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

Deprecated: Use WriteOptions.Descriptor instead.

func (WriteOptions) Number

func (WriteOptions) String

func (x WriteOptions) String() string

func (WriteOptions) Type

Jump to

Keyboard shortcuts

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