vault/sdk/helper/clientcountutil/generation/generate_data.pb.go
akshya96 10223f2d83
Vault-34681 : Remove estimates and return actual values for new clients in the current month CE (#30370)
* adding partial month activity log changes from ent

* check for empty billing start
2025-04-25 09:36:29 -07:00

675 lines
25 KiB
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.5
// protoc (unknown)
// source: sdk/helper/clientcountutil/generation/generate_data.proto
package generation
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
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
WriteOptions_WRITE_CLIENT_IDS_MEMORY WriteOptions = 6
)
// Enum value maps for WriteOptions.
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",
6: "WRITE_CLIENT_IDS_MEMORY",
}
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,
"WRITE_CLIENT_IDS_MEMORY": 6,
}
)
func (x WriteOptions) Enum() *WriteOptions {
p := new(WriteOptions)
*p = x
return p
}
func (x WriteOptions) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (WriteOptions) Descriptor() protoreflect.EnumDescriptor {
return file_sdk_helper_clientcountutil_generation_generate_data_proto_enumTypes[0].Descriptor()
}
func (WriteOptions) Type() protoreflect.EnumType {
return &file_sdk_helper_clientcountutil_generation_generate_data_proto_enumTypes[0]
}
func (x WriteOptions) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use WriteOptions.Descriptor instead.
func (WriteOptions) EnumDescriptor() ([]byte, []int) {
return file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescGZIP(), []int{0}
}
type ActivityLogMockInput struct {
state protoimpl.MessageState `protogen:"open.v1"`
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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ActivityLogMockInput) Reset() {
*x = ActivityLogMockInput{}
mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ActivityLogMockInput) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ActivityLogMockInput) ProtoMessage() {}
func (x *ActivityLogMockInput) ProtoReflect() protoreflect.Message {
mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ActivityLogMockInput.ProtoReflect.Descriptor instead.
func (*ActivityLogMockInput) Descriptor() ([]byte, []int) {
return file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescGZIP(), []int{0}
}
func (x *ActivityLogMockInput) GetWrite() []WriteOptions {
if x != nil {
return x.Write
}
return nil
}
func (x *ActivityLogMockInput) GetData() []*Data {
if x != nil {
return x.Data
}
return nil
}
type Data struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Month:
//
// *Data_CurrentMonth
// *Data_MonthsAgo
Month isData_Month `protobuf_oneof:"month"`
// Types that are valid to be assigned to Clients:
//
// *Data_All
// *Data_Segments
Clients isData_Clients `protobuf_oneof:"clients"`
EmptySegmentIndexes []int32 `protobuf:"varint,5,rep,packed,name=empty_segment_indexes,json=emptySegmentIndexes,proto3" json:"empty_segment_indexes,omitempty"`
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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Data) Reset() {
*x = Data{}
mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Data) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Data) ProtoMessage() {}
func (x *Data) ProtoReflect() protoreflect.Message {
mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Data.ProtoReflect.Descriptor instead.
func (*Data) Descriptor() ([]byte, []int) {
return file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescGZIP(), []int{1}
}
func (x *Data) GetMonth() isData_Month {
if x != nil {
return x.Month
}
return nil
}
func (x *Data) GetCurrentMonth() bool {
if x != nil {
if x, ok := x.Month.(*Data_CurrentMonth); ok {
return x.CurrentMonth
}
}
return false
}
func (x *Data) GetMonthsAgo() int32 {
if x != nil {
if x, ok := x.Month.(*Data_MonthsAgo); ok {
return x.MonthsAgo
}
}
return 0
}
func (x *Data) GetClients() isData_Clients {
if x != nil {
return x.Clients
}
return nil
}
func (x *Data) GetAll() *Clients {
if x != nil {
if x, ok := x.Clients.(*Data_All); ok {
return x.All
}
}
return nil
}
func (x *Data) GetSegments() *Segments {
if x != nil {
if x, ok := x.Clients.(*Data_Segments); ok {
return x.Segments
}
}
return nil
}
func (x *Data) GetEmptySegmentIndexes() []int32 {
if x != nil {
return x.EmptySegmentIndexes
}
return nil
}
func (x *Data) GetSkipSegmentIndexes() []int32 {
if x != nil {
return x.SkipSegmentIndexes
}
return nil
}
func (x *Data) GetNumSegments() int32 {
if x != nil {
return x.NumSegments
}
return 0
}
type isData_Month interface {
isData_Month()
}
type Data_CurrentMonth struct {
CurrentMonth bool `protobuf:"varint,1,opt,name=current_month,json=currentMonth,proto3,oneof"`
}
type Data_MonthsAgo struct {
MonthsAgo int32 `protobuf:"varint,2,opt,name=months_ago,json=monthsAgo,proto3,oneof"`
}
func (*Data_CurrentMonth) isData_Month() {}
func (*Data_MonthsAgo) isData_Month() {}
type isData_Clients interface {
isData_Clients()
}
type Data_All struct {
All *Clients `protobuf:"bytes,3,opt,name=all,proto3,oneof"` // you cant have repeated fields in a oneof, which is why these are separate message types
}
type Data_Segments struct {
Segments *Segments `protobuf:"bytes,4,opt,name=segments,proto3,oneof"`
}
func (*Data_All) isData_Clients() {}
func (*Data_Segments) isData_Clients() {}
type Segments struct {
state protoimpl.MessageState `protogen:"open.v1"`
Segments []*Segment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Segments) Reset() {
*x = Segments{}
mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Segments) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Segments) ProtoMessage() {}
func (x *Segments) ProtoReflect() protoreflect.Message {
mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Segments.ProtoReflect.Descriptor instead.
func (*Segments) Descriptor() ([]byte, []int) {
return file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescGZIP(), []int{2}
}
func (x *Segments) GetSegments() []*Segment {
if x != nil {
return x.Segments
}
return nil
}
type Segment struct {
state protoimpl.MessageState `protogen:"open.v1"`
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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Segment) Reset() {
*x = Segment{}
mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Segment) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Segment) ProtoMessage() {}
func (x *Segment) ProtoReflect() protoreflect.Message {
mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Segment.ProtoReflect.Descriptor instead.
func (*Segment) Descriptor() ([]byte, []int) {
return file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescGZIP(), []int{3}
}
func (x *Segment) GetSegmentIndex() int32 {
if x != nil && x.SegmentIndex != nil {
return *x.SegmentIndex
}
return 0
}
func (x *Segment) GetClients() *Clients {
if x != nil {
return x.Clients
}
return nil
}
type Clients struct {
state protoimpl.MessageState `protogen:"open.v1"`
Clients []*Client `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Clients) Reset() {
*x = Clients{}
mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Clients) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Clients) ProtoMessage() {}
func (x *Clients) ProtoReflect() protoreflect.Message {
mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Clients.ProtoReflect.Descriptor instead.
func (*Clients) Descriptor() ([]byte, []int) {
return file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescGZIP(), []int{4}
}
func (x *Clients) GetClients() []*Client {
if x != nil {
return x.Clients
}
return nil
}
type Client struct {
state protoimpl.MessageState `protogen:"open.v1"`
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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Client) Reset() {
*x = Client{}
mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Client) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Client) ProtoMessage() {}
func (x *Client) ProtoReflect() protoreflect.Message {
mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Client.ProtoReflect.Descriptor instead.
func (*Client) Descriptor() ([]byte, []int) {
return file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescGZIP(), []int{5}
}
func (x *Client) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *Client) GetCount() int32 {
if x != nil {
return x.Count
}
return 0
}
func (x *Client) GetRepeated() bool {
if x != nil {
return x.Repeated
}
return false
}
func (x *Client) GetRepeatedFromMonth() int32 {
if x != nil {
return x.RepeatedFromMonth
}
return 0
}
func (x *Client) GetNamespace() string {
if x != nil {
return x.Namespace
}
return ""
}
func (x *Client) GetMount() string {
if x != nil {
return x.Mount
}
return ""
}
func (x *Client) GetClientType() string {
if x != nil {
return x.ClientType
}
return ""
}
var File_sdk_helper_clientcountutil_generation_generate_data_proto protoreflect.FileDescriptor
var file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDesc = string([]byte{
0x0a, 0x39, 0x73, 0x64, 0x6b, 0x2f, 0x68, 0x65, 0x6c, 0x70, 0x65, 0x72, 0x2f, 0x63, 0x6c, 0x69,
0x65, 0x6e, 0x74, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x75, 0x74, 0x69, 0x6c, 0x2f, 0x67, 0x65, 0x6e,
0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65,
0x5f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x65, 0x6e,
0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x6c, 0x0a, 0x14, 0x41, 0x63, 0x74, 0x69, 0x76,
0x69, 0x74, 0x79, 0x4c, 0x6f, 0x67, 0x4d, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12,
0x2e, 0x0a, 0x05, 0x77, 0x72, 0x69, 0x74, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x18,
0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x57, 0x72, 0x69, 0x74,
0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x05, 0x77, 0x72, 0x69, 0x74, 0x65, 0x12,
0x24, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e,
0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x52,
0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xc8, 0x02, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x12, 0x25,
0x0a, 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x18,
0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74,
0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0a, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x73, 0x5f,
0x61, 0x67, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x09, 0x6d, 0x6f, 0x6e,
0x74, 0x68, 0x73, 0x41, 0x67, 0x6f, 0x12, 0x27, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x03, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x48, 0x01, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x12,
0x32, 0x0a, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x14, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53,
0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x48, 0x01, 0x52, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65,
0x6e, 0x74, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x67,
0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03,
0x28, 0x05, 0x52, 0x13, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74,
0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x6b, 0x69, 0x70, 0x5f,
0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18,
0x06, 0x20, 0x03, 0x28, 0x05, 0x52, 0x12, 0x73, 0x6b, 0x69, 0x70, 0x53, 0x65, 0x67, 0x6d, 0x65,
0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x75, 0x6d,
0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52,
0x0b, 0x6e, 0x75, 0x6d, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x07, 0x0a, 0x05,
0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x42, 0x09, 0x0a, 0x07, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73,
0x22, 0x3b, 0x0a, 0x08, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2f, 0x0a, 0x08,
0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13,
0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x67, 0x6d,
0x65, 0x6e, 0x74, 0x52, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x74, 0x0a,
0x07, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x0d, 0x73, 0x65, 0x67, 0x6d,
0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x48,
0x00, 0x52, 0x0c, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x88,
0x01, 0x01, 0x12, 0x2d, 0x0a, 0x07, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x07, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
0x73, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e,
0x64, 0x65, 0x78, 0x22, 0x37, 0x0a, 0x07, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2c,
0x0a, 0x07, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x12, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6c, 0x69,
0x65, 0x6e, 0x74, 0x52, 0x07, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xcf, 0x01, 0x0a,
0x06, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74,
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a,
0x08, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
0x08, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x72, 0x65, 0x70,
0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6d, 0x6f, 0x6e, 0x74, 0x68,
0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64,
0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d,
0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61,
0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a,
0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2a, 0xbd,
0x01, 0x0a, 0x0c, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12,
0x11, 0x0a, 0x0d, 0x57, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x57, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x50, 0x52, 0x45, 0x43,
0x4f, 0x4d, 0x50, 0x55, 0x54, 0x45, 0x44, 0x5f, 0x51, 0x55, 0x45, 0x52, 0x49, 0x45, 0x53, 0x10,
0x01, 0x12, 0x1a, 0x0a, 0x16, 0x57, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x54, 0x49,
0x4e, 0x43, 0x54, 0x5f, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x53, 0x10, 0x02, 0x12, 0x12, 0x0a,
0x0e, 0x57, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x49, 0x45, 0x53, 0x10,
0x03, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x44, 0x49, 0x52, 0x45, 0x43,
0x54, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x53, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x57, 0x52,
0x49, 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x4c, 0x4f, 0x47, 0x53, 0x10,
0x05, 0x12, 0x1b, 0x0a, 0x17, 0x57, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x43, 0x4c, 0x49, 0x45, 0x4e,
0x54, 0x5f, 0x49, 0x44, 0x53, 0x5f, 0x4d, 0x45, 0x4d, 0x4f, 0x52, 0x59, 0x10, 0x06, 0x42, 0x3b,
0x5a, 0x39, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x68, 0x61, 0x73,
0x68, 0x69, 0x63, 0x6f, 0x72, 0x70, 0x2f, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 0x73, 0x64, 0x6b,
0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x75, 0x74, 0x69, 0x6c,
0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
})
var (
file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescOnce sync.Once
file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescData []byte
)
func file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescGZIP() []byte {
file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescOnce.Do(func() {
file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDesc), len(file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDesc)))
})
return file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescData
}
var file_sdk_helper_clientcountutil_generation_generate_data_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_sdk_helper_clientcountutil_generation_generate_data_proto_goTypes = []any{
(WriteOptions)(0), // 0: generation.WriteOptions
(*ActivityLogMockInput)(nil), // 1: generation.ActivityLogMockInput
(*Data)(nil), // 2: generation.Data
(*Segments)(nil), // 3: generation.Segments
(*Segment)(nil), // 4: generation.Segment
(*Clients)(nil), // 5: generation.Clients
(*Client)(nil), // 6: generation.Client
}
var file_sdk_helper_clientcountutil_generation_generate_data_proto_depIdxs = []int32{
0, // 0: generation.ActivityLogMockInput.write:type_name -> generation.WriteOptions
2, // 1: generation.ActivityLogMockInput.data:type_name -> generation.Data
5, // 2: generation.Data.all:type_name -> generation.Clients
3, // 3: generation.Data.segments:type_name -> generation.Segments
4, // 4: generation.Segments.segments:type_name -> generation.Segment
5, // 5: generation.Segment.clients:type_name -> generation.Clients
6, // 6: generation.Clients.clients:type_name -> generation.Client
7, // [7:7] is the sub-list for method output_type
7, // [7:7] is the sub-list for method input_type
7, // [7:7] is the sub-list for extension type_name
7, // [7:7] is the sub-list for extension extendee
0, // [0:7] is the sub-list for field type_name
}
func init() { file_sdk_helper_clientcountutil_generation_generate_data_proto_init() }
func file_sdk_helper_clientcountutil_generation_generate_data_proto_init() {
if File_sdk_helper_clientcountutil_generation_generate_data_proto != nil {
return
}
file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[1].OneofWrappers = []any{
(*Data_CurrentMonth)(nil),
(*Data_MonthsAgo)(nil),
(*Data_All)(nil),
(*Data_Segments)(nil),
}
file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[3].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDesc), len(file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDesc)),
NumEnums: 1,
NumMessages: 6,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_sdk_helper_clientcountutil_generation_generate_data_proto_goTypes,
DependencyIndexes: file_sdk_helper_clientcountutil_generation_generate_data_proto_depIdxs,
EnumInfos: file_sdk_helper_clientcountutil_generation_generate_data_proto_enumTypes,
MessageInfos: file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes,
}.Build()
File_sdk_helper_clientcountutil_generation_generate_data_proto = out.File
file_sdk_helper_clientcountutil_generation_generate_data_proto_goTypes = nil
file_sdk_helper_clientcountutil_generation_generate_data_proto_depIdxs = nil
}