github.com/hashicorp/vault/sdk@v0.11.0/helper/clientcountutil/generation/generate_data.pb.go (about) 1 // Copyright (c) HashiCorp, Inc. 2 // SPDX-License-Identifier: MPL-2.0 3 4 // Code generated by protoc-gen-go. DO NOT EDIT. 5 // versions: 6 // protoc-gen-go v1.32.0 7 // protoc (unknown) 8 // source: sdk/helper/clientcountutil/generation/generate_data.proto 9 10 package generation 11 12 import ( 13 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 14 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 15 reflect "reflect" 16 sync "sync" 17 ) 18 19 const ( 20 // Verify that this generated code is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 22 // Verify that runtime/protoimpl is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 24 ) 25 26 type WriteOptions int32 27 28 const ( 29 WriteOptions_WRITE_UNKNOWN WriteOptions = 0 30 WriteOptions_WRITE_PRECOMPUTED_QUERIES WriteOptions = 1 31 WriteOptions_WRITE_DISTINCT_CLIENTS WriteOptions = 2 32 WriteOptions_WRITE_ENTITIES WriteOptions = 3 33 WriteOptions_WRITE_DIRECT_TOKENS WriteOptions = 4 34 WriteOptions_WRITE_INTENT_LOGS WriteOptions = 5 35 ) 36 37 // Enum value maps for WriteOptions. 38 var ( 39 WriteOptions_name = map[int32]string{ 40 0: "WRITE_UNKNOWN", 41 1: "WRITE_PRECOMPUTED_QUERIES", 42 2: "WRITE_DISTINCT_CLIENTS", 43 3: "WRITE_ENTITIES", 44 4: "WRITE_DIRECT_TOKENS", 45 5: "WRITE_INTENT_LOGS", 46 } 47 WriteOptions_value = map[string]int32{ 48 "WRITE_UNKNOWN": 0, 49 "WRITE_PRECOMPUTED_QUERIES": 1, 50 "WRITE_DISTINCT_CLIENTS": 2, 51 "WRITE_ENTITIES": 3, 52 "WRITE_DIRECT_TOKENS": 4, 53 "WRITE_INTENT_LOGS": 5, 54 } 55 ) 56 57 func (x WriteOptions) Enum() *WriteOptions { 58 p := new(WriteOptions) 59 *p = x 60 return p 61 } 62 63 func (x WriteOptions) String() string { 64 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 65 } 66 67 func (WriteOptions) Descriptor() protoreflect.EnumDescriptor { 68 return file_sdk_helper_clientcountutil_generation_generate_data_proto_enumTypes[0].Descriptor() 69 } 70 71 func (WriteOptions) Type() protoreflect.EnumType { 72 return &file_sdk_helper_clientcountutil_generation_generate_data_proto_enumTypes[0] 73 } 74 75 func (x WriteOptions) Number() protoreflect.EnumNumber { 76 return protoreflect.EnumNumber(x) 77 } 78 79 // Deprecated: Use WriteOptions.Descriptor instead. 80 func (WriteOptions) EnumDescriptor() ([]byte, []int) { 81 return file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescGZIP(), []int{0} 82 } 83 84 type ActivityLogMockInput struct { 85 state protoimpl.MessageState 86 sizeCache protoimpl.SizeCache 87 unknownFields protoimpl.UnknownFields 88 89 Write []WriteOptions `protobuf:"varint,1,rep,packed,name=write,proto3,enum=generation.WriteOptions" json:"write,omitempty"` 90 Data []*Data `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` 91 } 92 93 func (x *ActivityLogMockInput) Reset() { 94 *x = ActivityLogMockInput{} 95 if protoimpl.UnsafeEnabled { 96 mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[0] 97 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 98 ms.StoreMessageInfo(mi) 99 } 100 } 101 102 func (x *ActivityLogMockInput) String() string { 103 return protoimpl.X.MessageStringOf(x) 104 } 105 106 func (*ActivityLogMockInput) ProtoMessage() {} 107 108 func (x *ActivityLogMockInput) ProtoReflect() protoreflect.Message { 109 mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[0] 110 if protoimpl.UnsafeEnabled && x != nil { 111 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 112 if ms.LoadMessageInfo() == nil { 113 ms.StoreMessageInfo(mi) 114 } 115 return ms 116 } 117 return mi.MessageOf(x) 118 } 119 120 // Deprecated: Use ActivityLogMockInput.ProtoReflect.Descriptor instead. 121 func (*ActivityLogMockInput) Descriptor() ([]byte, []int) { 122 return file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescGZIP(), []int{0} 123 } 124 125 func (x *ActivityLogMockInput) GetWrite() []WriteOptions { 126 if x != nil { 127 return x.Write 128 } 129 return nil 130 } 131 132 func (x *ActivityLogMockInput) GetData() []*Data { 133 if x != nil { 134 return x.Data 135 } 136 return nil 137 } 138 139 type Data struct { 140 state protoimpl.MessageState 141 sizeCache protoimpl.SizeCache 142 unknownFields protoimpl.UnknownFields 143 144 // Types that are assignable to Month: 145 // 146 // *Data_CurrentMonth 147 // *Data_MonthsAgo 148 Month isData_Month `protobuf_oneof:"month"` 149 // Types that are assignable to Clients: 150 // 151 // *Data_All 152 // *Data_Segments 153 Clients isData_Clients `protobuf_oneof:"clients"` 154 EmptySegmentIndexes []int32 `protobuf:"varint,5,rep,packed,name=empty_segment_indexes,json=emptySegmentIndexes,proto3" json:"empty_segment_indexes,omitempty"` 155 SkipSegmentIndexes []int32 `protobuf:"varint,6,rep,packed,name=skip_segment_indexes,json=skipSegmentIndexes,proto3" json:"skip_segment_indexes,omitempty"` 156 NumSegments int32 `protobuf:"varint,7,opt,name=num_segments,json=numSegments,proto3" json:"num_segments,omitempty"` 157 } 158 159 func (x *Data) Reset() { 160 *x = Data{} 161 if protoimpl.UnsafeEnabled { 162 mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[1] 163 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 164 ms.StoreMessageInfo(mi) 165 } 166 } 167 168 func (x *Data) String() string { 169 return protoimpl.X.MessageStringOf(x) 170 } 171 172 func (*Data) ProtoMessage() {} 173 174 func (x *Data) ProtoReflect() protoreflect.Message { 175 mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[1] 176 if protoimpl.UnsafeEnabled && x != nil { 177 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 178 if ms.LoadMessageInfo() == nil { 179 ms.StoreMessageInfo(mi) 180 } 181 return ms 182 } 183 return mi.MessageOf(x) 184 } 185 186 // Deprecated: Use Data.ProtoReflect.Descriptor instead. 187 func (*Data) Descriptor() ([]byte, []int) { 188 return file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescGZIP(), []int{1} 189 } 190 191 func (m *Data) GetMonth() isData_Month { 192 if m != nil { 193 return m.Month 194 } 195 return nil 196 } 197 198 func (x *Data) GetCurrentMonth() bool { 199 if x, ok := x.GetMonth().(*Data_CurrentMonth); ok { 200 return x.CurrentMonth 201 } 202 return false 203 } 204 205 func (x *Data) GetMonthsAgo() int32 { 206 if x, ok := x.GetMonth().(*Data_MonthsAgo); ok { 207 return x.MonthsAgo 208 } 209 return 0 210 } 211 212 func (m *Data) GetClients() isData_Clients { 213 if m != nil { 214 return m.Clients 215 } 216 return nil 217 } 218 219 func (x *Data) GetAll() *Clients { 220 if x, ok := x.GetClients().(*Data_All); ok { 221 return x.All 222 } 223 return nil 224 } 225 226 func (x *Data) GetSegments() *Segments { 227 if x, ok := x.GetClients().(*Data_Segments); ok { 228 return x.Segments 229 } 230 return nil 231 } 232 233 func (x *Data) GetEmptySegmentIndexes() []int32 { 234 if x != nil { 235 return x.EmptySegmentIndexes 236 } 237 return nil 238 } 239 240 func (x *Data) GetSkipSegmentIndexes() []int32 { 241 if x != nil { 242 return x.SkipSegmentIndexes 243 } 244 return nil 245 } 246 247 func (x *Data) GetNumSegments() int32 { 248 if x != nil { 249 return x.NumSegments 250 } 251 return 0 252 } 253 254 type isData_Month interface { 255 isData_Month() 256 } 257 258 type Data_CurrentMonth struct { 259 CurrentMonth bool `protobuf:"varint,1,opt,name=current_month,json=currentMonth,proto3,oneof"` 260 } 261 262 type Data_MonthsAgo struct { 263 MonthsAgo int32 `protobuf:"varint,2,opt,name=months_ago,json=monthsAgo,proto3,oneof"` 264 } 265 266 func (*Data_CurrentMonth) isData_Month() {} 267 268 func (*Data_MonthsAgo) isData_Month() {} 269 270 type isData_Clients interface { 271 isData_Clients() 272 } 273 274 type Data_All struct { 275 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 276 } 277 278 type Data_Segments struct { 279 Segments *Segments `protobuf:"bytes,4,opt,name=segments,proto3,oneof"` 280 } 281 282 func (*Data_All) isData_Clients() {} 283 284 func (*Data_Segments) isData_Clients() {} 285 286 type Segments struct { 287 state protoimpl.MessageState 288 sizeCache protoimpl.SizeCache 289 unknownFields protoimpl.UnknownFields 290 291 Segments []*Segment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"` 292 } 293 294 func (x *Segments) Reset() { 295 *x = Segments{} 296 if protoimpl.UnsafeEnabled { 297 mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[2] 298 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 299 ms.StoreMessageInfo(mi) 300 } 301 } 302 303 func (x *Segments) String() string { 304 return protoimpl.X.MessageStringOf(x) 305 } 306 307 func (*Segments) ProtoMessage() {} 308 309 func (x *Segments) ProtoReflect() protoreflect.Message { 310 mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[2] 311 if protoimpl.UnsafeEnabled && x != nil { 312 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 313 if ms.LoadMessageInfo() == nil { 314 ms.StoreMessageInfo(mi) 315 } 316 return ms 317 } 318 return mi.MessageOf(x) 319 } 320 321 // Deprecated: Use Segments.ProtoReflect.Descriptor instead. 322 func (*Segments) Descriptor() ([]byte, []int) { 323 return file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescGZIP(), []int{2} 324 } 325 326 func (x *Segments) GetSegments() []*Segment { 327 if x != nil { 328 return x.Segments 329 } 330 return nil 331 } 332 333 type Segment struct { 334 state protoimpl.MessageState 335 sizeCache protoimpl.SizeCache 336 unknownFields protoimpl.UnknownFields 337 338 SegmentIndex *int32 `protobuf:"varint,1,opt,name=segment_index,json=segmentIndex,proto3,oneof" json:"segment_index,omitempty"` 339 Clients *Clients `protobuf:"bytes,2,opt,name=clients,proto3" json:"clients,omitempty"` 340 } 341 342 func (x *Segment) Reset() { 343 *x = Segment{} 344 if protoimpl.UnsafeEnabled { 345 mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[3] 346 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 347 ms.StoreMessageInfo(mi) 348 } 349 } 350 351 func (x *Segment) String() string { 352 return protoimpl.X.MessageStringOf(x) 353 } 354 355 func (*Segment) ProtoMessage() {} 356 357 func (x *Segment) ProtoReflect() protoreflect.Message { 358 mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[3] 359 if protoimpl.UnsafeEnabled && x != nil { 360 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 361 if ms.LoadMessageInfo() == nil { 362 ms.StoreMessageInfo(mi) 363 } 364 return ms 365 } 366 return mi.MessageOf(x) 367 } 368 369 // Deprecated: Use Segment.ProtoReflect.Descriptor instead. 370 func (*Segment) Descriptor() ([]byte, []int) { 371 return file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescGZIP(), []int{3} 372 } 373 374 func (x *Segment) GetSegmentIndex() int32 { 375 if x != nil && x.SegmentIndex != nil { 376 return *x.SegmentIndex 377 } 378 return 0 379 } 380 381 func (x *Segment) GetClients() *Clients { 382 if x != nil { 383 return x.Clients 384 } 385 return nil 386 } 387 388 type Clients struct { 389 state protoimpl.MessageState 390 sizeCache protoimpl.SizeCache 391 unknownFields protoimpl.UnknownFields 392 393 Clients []*Client `protobuf:"bytes,1,rep,name=clients,proto3" json:"clients,omitempty"` 394 } 395 396 func (x *Clients) Reset() { 397 *x = Clients{} 398 if protoimpl.UnsafeEnabled { 399 mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[4] 400 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 401 ms.StoreMessageInfo(mi) 402 } 403 } 404 405 func (x *Clients) String() string { 406 return protoimpl.X.MessageStringOf(x) 407 } 408 409 func (*Clients) ProtoMessage() {} 410 411 func (x *Clients) ProtoReflect() protoreflect.Message { 412 mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[4] 413 if protoimpl.UnsafeEnabled && x != nil { 414 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 415 if ms.LoadMessageInfo() == nil { 416 ms.StoreMessageInfo(mi) 417 } 418 return ms 419 } 420 return mi.MessageOf(x) 421 } 422 423 // Deprecated: Use Clients.ProtoReflect.Descriptor instead. 424 func (*Clients) Descriptor() ([]byte, []int) { 425 return file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescGZIP(), []int{4} 426 } 427 428 func (x *Clients) GetClients() []*Client { 429 if x != nil { 430 return x.Clients 431 } 432 return nil 433 } 434 435 type Client struct { 436 state protoimpl.MessageState 437 sizeCache protoimpl.SizeCache 438 unknownFields protoimpl.UnknownFields 439 440 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` 441 Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` 442 Repeated bool `protobuf:"varint,3,opt,name=repeated,proto3" json:"repeated,omitempty"` 443 RepeatedFromMonth int32 `protobuf:"varint,4,opt,name=repeated_from_month,json=repeatedFromMonth,proto3" json:"repeated_from_month,omitempty"` 444 Namespace string `protobuf:"bytes,5,opt,name=namespace,proto3" json:"namespace,omitempty"` 445 Mount string `protobuf:"bytes,6,opt,name=mount,proto3" json:"mount,omitempty"` 446 ClientType string `protobuf:"bytes,7,opt,name=client_type,json=clientType,proto3" json:"client_type,omitempty"` 447 } 448 449 func (x *Client) Reset() { 450 *x = Client{} 451 if protoimpl.UnsafeEnabled { 452 mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[5] 453 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 454 ms.StoreMessageInfo(mi) 455 } 456 } 457 458 func (x *Client) String() string { 459 return protoimpl.X.MessageStringOf(x) 460 } 461 462 func (*Client) ProtoMessage() {} 463 464 func (x *Client) ProtoReflect() protoreflect.Message { 465 mi := &file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[5] 466 if protoimpl.UnsafeEnabled && x != nil { 467 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 468 if ms.LoadMessageInfo() == nil { 469 ms.StoreMessageInfo(mi) 470 } 471 return ms 472 } 473 return mi.MessageOf(x) 474 } 475 476 // Deprecated: Use Client.ProtoReflect.Descriptor instead. 477 func (*Client) Descriptor() ([]byte, []int) { 478 return file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescGZIP(), []int{5} 479 } 480 481 func (x *Client) GetId() string { 482 if x != nil { 483 return x.Id 484 } 485 return "" 486 } 487 488 func (x *Client) GetCount() int32 { 489 if x != nil { 490 return x.Count 491 } 492 return 0 493 } 494 495 func (x *Client) GetRepeated() bool { 496 if x != nil { 497 return x.Repeated 498 } 499 return false 500 } 501 502 func (x *Client) GetRepeatedFromMonth() int32 { 503 if x != nil { 504 return x.RepeatedFromMonth 505 } 506 return 0 507 } 508 509 func (x *Client) GetNamespace() string { 510 if x != nil { 511 return x.Namespace 512 } 513 return "" 514 } 515 516 func (x *Client) GetMount() string { 517 if x != nil { 518 return x.Mount 519 } 520 return "" 521 } 522 523 func (x *Client) GetClientType() string { 524 if x != nil { 525 return x.ClientType 526 } 527 return "" 528 } 529 530 var File_sdk_helper_clientcountutil_generation_generate_data_proto protoreflect.FileDescriptor 531 532 var file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDesc = []byte{ 533 0x0a, 0x39, 0x73, 0x64, 0x6b, 0x2f, 0x68, 0x65, 0x6c, 0x70, 0x65, 0x72, 0x2f, 0x63, 0x6c, 0x69, 534 0x65, 0x6e, 0x74, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x75, 0x74, 0x69, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 535 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 536 0x5f, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x65, 0x6e, 537 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x6c, 0x0a, 0x14, 0x41, 0x63, 0x74, 0x69, 0x76, 538 0x69, 0x74, 0x79, 0x4c, 0x6f, 0x67, 0x4d, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x12, 539 0x2e, 0x0a, 0x05, 0x77, 0x72, 0x69, 0x74, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x18, 540 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x57, 0x72, 0x69, 0x74, 541 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x05, 0x77, 0x72, 0x69, 0x74, 0x65, 0x12, 542 0x24, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 543 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x52, 544 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xc8, 0x02, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x12, 0x25, 545 0x0a, 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x18, 546 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0c, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 547 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0a, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x73, 0x5f, 548 0x61, 0x67, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x09, 0x6d, 0x6f, 0x6e, 549 0x74, 0x68, 0x73, 0x41, 0x67, 0x6f, 0x12, 0x27, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x03, 0x20, 550 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 551 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x48, 0x01, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x12, 552 0x32, 0x0a, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 553 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 554 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x48, 0x01, 0x52, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, 555 0x6e, 0x74, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x5f, 0x73, 0x65, 0x67, 556 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 557 0x28, 0x05, 0x52, 0x13, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 558 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x6b, 0x69, 0x70, 0x5f, 559 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 560 0x06, 0x20, 0x03, 0x28, 0x05, 0x52, 0x12, 0x73, 0x6b, 0x69, 0x70, 0x53, 0x65, 0x67, 0x6d, 0x65, 561 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x75, 0x6d, 562 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 563 0x0b, 0x6e, 0x75, 0x6d, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x42, 0x07, 0x0a, 0x05, 564 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x42, 0x09, 0x0a, 0x07, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 565 0x22, 0x3b, 0x0a, 0x08, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2f, 0x0a, 0x08, 566 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 567 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x65, 0x67, 0x6d, 568 0x65, 0x6e, 0x74, 0x52, 0x08, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x74, 0x0a, 569 0x07, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x0d, 0x73, 0x65, 0x67, 0x6d, 570 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x48, 571 0x00, 0x52, 0x0c, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x88, 572 0x01, 0x01, 0x12, 0x2d, 0x0a, 0x07, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 573 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 574 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x07, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 575 0x73, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 576 0x64, 0x65, 0x78, 0x22, 0x37, 0x0a, 0x07, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2c, 577 0x0a, 0x07, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 578 0x12, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x6c, 0x69, 579 0x65, 0x6e, 0x74, 0x52, 0x07, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xcf, 0x01, 0x0a, 580 0x06, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 581 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 582 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 583 0x08, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 584 0x08, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x72, 0x65, 0x70, 585 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 586 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 587 0x46, 0x72, 0x6f, 0x6d, 0x4d, 0x6f, 0x6e, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 588 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 589 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 590 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 591 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 592 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x2a, 0xa0, 593 0x01, 0x0a, 0x0c, 0x57, 0x72, 0x69, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 594 0x11, 0x0a, 0x0d, 0x57, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 595 0x10, 0x00, 0x12, 0x1d, 0x0a, 0x19, 0x57, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x50, 0x52, 0x45, 0x43, 596 0x4f, 0x4d, 0x50, 0x55, 0x54, 0x45, 0x44, 0x5f, 0x51, 0x55, 0x45, 0x52, 0x49, 0x45, 0x53, 0x10, 597 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x57, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x54, 0x49, 598 0x4e, 0x43, 0x54, 0x5f, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x53, 0x10, 0x02, 0x12, 0x12, 0x0a, 599 0x0e, 0x57, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x45, 0x4e, 0x54, 0x49, 0x54, 0x49, 0x45, 0x53, 0x10, 600 0x03, 0x12, 0x17, 0x0a, 0x13, 0x57, 0x52, 0x49, 0x54, 0x45, 0x5f, 0x44, 0x49, 0x52, 0x45, 0x43, 601 0x54, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x53, 0x10, 0x04, 0x12, 0x15, 0x0a, 0x11, 0x57, 0x52, 602 0x49, 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x4e, 0x54, 0x5f, 0x4c, 0x4f, 0x47, 0x53, 0x10, 603 0x05, 0x42, 0x3b, 0x5a, 0x39, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 604 0x68, 0x61, 0x73, 0x68, 0x69, 0x63, 0x6f, 0x72, 0x70, 0x2f, 0x76, 0x61, 0x75, 0x6c, 0x74, 0x2f, 605 0x73, 0x64, 0x6b, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x75, 606 0x74, 0x69, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 607 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 608 } 609 610 var ( 611 file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescOnce sync.Once 612 file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescData = file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDesc 613 ) 614 615 func file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescGZIP() []byte { 616 file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescOnce.Do(func() { 617 file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescData = protoimpl.X.CompressGZIP(file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescData) 618 }) 619 return file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDescData 620 } 621 622 var file_sdk_helper_clientcountutil_generation_generate_data_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 623 var file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 624 var file_sdk_helper_clientcountutil_generation_generate_data_proto_goTypes = []interface{}{ 625 (WriteOptions)(0), // 0: generation.WriteOptions 626 (*ActivityLogMockInput)(nil), // 1: generation.ActivityLogMockInput 627 (*Data)(nil), // 2: generation.Data 628 (*Segments)(nil), // 3: generation.Segments 629 (*Segment)(nil), // 4: generation.Segment 630 (*Clients)(nil), // 5: generation.Clients 631 (*Client)(nil), // 6: generation.Client 632 } 633 var file_sdk_helper_clientcountutil_generation_generate_data_proto_depIdxs = []int32{ 634 0, // 0: generation.ActivityLogMockInput.write:type_name -> generation.WriteOptions 635 2, // 1: generation.ActivityLogMockInput.data:type_name -> generation.Data 636 5, // 2: generation.Data.all:type_name -> generation.Clients 637 3, // 3: generation.Data.segments:type_name -> generation.Segments 638 4, // 4: generation.Segments.segments:type_name -> generation.Segment 639 5, // 5: generation.Segment.clients:type_name -> generation.Clients 640 6, // 6: generation.Clients.clients:type_name -> generation.Client 641 7, // [7:7] is the sub-list for method output_type 642 7, // [7:7] is the sub-list for method input_type 643 7, // [7:7] is the sub-list for extension type_name 644 7, // [7:7] is the sub-list for extension extendee 645 0, // [0:7] is the sub-list for field type_name 646 } 647 648 func init() { file_sdk_helper_clientcountutil_generation_generate_data_proto_init() } 649 func file_sdk_helper_clientcountutil_generation_generate_data_proto_init() { 650 if File_sdk_helper_clientcountutil_generation_generate_data_proto != nil { 651 return 652 } 653 if !protoimpl.UnsafeEnabled { 654 file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 655 switch v := v.(*ActivityLogMockInput); i { 656 case 0: 657 return &v.state 658 case 1: 659 return &v.sizeCache 660 case 2: 661 return &v.unknownFields 662 default: 663 return nil 664 } 665 } 666 file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 667 switch v := v.(*Data); i { 668 case 0: 669 return &v.state 670 case 1: 671 return &v.sizeCache 672 case 2: 673 return &v.unknownFields 674 default: 675 return nil 676 } 677 } 678 file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 679 switch v := v.(*Segments); i { 680 case 0: 681 return &v.state 682 case 1: 683 return &v.sizeCache 684 case 2: 685 return &v.unknownFields 686 default: 687 return nil 688 } 689 } 690 file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 691 switch v := v.(*Segment); i { 692 case 0: 693 return &v.state 694 case 1: 695 return &v.sizeCache 696 case 2: 697 return &v.unknownFields 698 default: 699 return nil 700 } 701 } 702 file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 703 switch v := v.(*Clients); i { 704 case 0: 705 return &v.state 706 case 1: 707 return &v.sizeCache 708 case 2: 709 return &v.unknownFields 710 default: 711 return nil 712 } 713 } 714 file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 715 switch v := v.(*Client); i { 716 case 0: 717 return &v.state 718 case 1: 719 return &v.sizeCache 720 case 2: 721 return &v.unknownFields 722 default: 723 return nil 724 } 725 } 726 } 727 file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[1].OneofWrappers = []interface{}{ 728 (*Data_CurrentMonth)(nil), 729 (*Data_MonthsAgo)(nil), 730 (*Data_All)(nil), 731 (*Data_Segments)(nil), 732 } 733 file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes[3].OneofWrappers = []interface{}{} 734 type x struct{} 735 out := protoimpl.TypeBuilder{ 736 File: protoimpl.DescBuilder{ 737 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 738 RawDescriptor: file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDesc, 739 NumEnums: 1, 740 NumMessages: 6, 741 NumExtensions: 0, 742 NumServices: 0, 743 }, 744 GoTypes: file_sdk_helper_clientcountutil_generation_generate_data_proto_goTypes, 745 DependencyIndexes: file_sdk_helper_clientcountutil_generation_generate_data_proto_depIdxs, 746 EnumInfos: file_sdk_helper_clientcountutil_generation_generate_data_proto_enumTypes, 747 MessageInfos: file_sdk_helper_clientcountutil_generation_generate_data_proto_msgTypes, 748 }.Build() 749 File_sdk_helper_clientcountutil_generation_generate_data_proto = out.File 750 file_sdk_helper_clientcountutil_generation_generate_data_proto_rawDesc = nil 751 file_sdk_helper_clientcountutil_generation_generate_data_proto_goTypes = nil 752 file_sdk_helper_clientcountutil_generation_generate_data_proto_depIdxs = nil 753 }