// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.19.0
// source: interservice/cfgmgmt/response/telemetry.proto

package response

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 UpdateTelemetryReportedResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UpdateTelemetryReportedResponse) Reset() {
	*x = UpdateTelemetryReportedResponse{}
	mi := &file_interservice_cfgmgmt_response_telemetry_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *UpdateTelemetryReportedResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*UpdateTelemetryReportedResponse) ProtoMessage() {}

func (x *UpdateTelemetryReportedResponse) ProtoReflect() protoreflect.Message {
	mi := &file_interservice_cfgmgmt_response_telemetry_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 UpdateTelemetryReportedResponse.ProtoReflect.Descriptor instead.
func (*UpdateTelemetryReportedResponse) Descriptor() ([]byte, []int) {
	return file_interservice_cfgmgmt_response_telemetry_proto_rawDescGZIP(), []int{0}
}

type GetNodesUsageCountResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// number of days since telematics was last posted
	DaysSinceLastPost int64 `protobuf:"varint,1,opt,name=days_since_last_post,json=daysSinceLastPost,proto3" json:"days_since_last_post,omitempty" toml:"days_since_last_post,omitempty" mapstructure:"days_since_last_post,omitempty"`
	// unique nodes count in a duration
	NodeCnt       int64 `protobuf:"varint,2,opt,name=node_cnt,json=nodeCnt,proto3" json:"node_cnt,omitempty" toml:"node_cnt,omitempty" mapstructure:"node_cnt,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetNodesUsageCountResponse) Reset() {
	*x = GetNodesUsageCountResponse{}
	mi := &file_interservice_cfgmgmt_response_telemetry_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *GetNodesUsageCountResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetNodesUsageCountResponse) ProtoMessage() {}

func (x *GetNodesUsageCountResponse) ProtoReflect() protoreflect.Message {
	mi := &file_interservice_cfgmgmt_response_telemetry_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 GetNodesUsageCountResponse.ProtoReflect.Descriptor instead.
func (*GetNodesUsageCountResponse) Descriptor() ([]byte, []int) {
	return file_interservice_cfgmgmt_response_telemetry_proto_rawDescGZIP(), []int{1}
}

func (x *GetNodesUsageCountResponse) GetDaysSinceLastPost() int64 {
	if x != nil {
		return x.DaysSinceLastPost
	}
	return 0
}

func (x *GetNodesUsageCountResponse) GetNodeCnt() int64 {
	if x != nil {
		return x.NodeCnt
	}
	return 0
}

var File_interservice_cfgmgmt_response_telemetry_proto protoreflect.FileDescriptor

const file_interservice_cfgmgmt_response_telemetry_proto_rawDesc = "" +
	"\n" +
	"-interservice/cfgmgmt/response/telemetry.proto\x12%chef.automate.domain.cfgmgmt.response\"!\n" +
	"\x1fUpdateTelemetryReportedResponse\"h\n" +
	"\x1aGetNodesUsageCountResponse\x12/\n" +
	"\x14days_since_last_post\x18\x01 \x01(\x03R\x11daysSinceLastPost\x12\x19\n" +
	"\bnode_cnt\x18\x02 \x01(\x03R\anodeCntB<Z:github.com/chef/automate/api/interservice/cfgmgmt/responseb\x06proto3"

var (
	file_interservice_cfgmgmt_response_telemetry_proto_rawDescOnce sync.Once
	file_interservice_cfgmgmt_response_telemetry_proto_rawDescData []byte
)

func file_interservice_cfgmgmt_response_telemetry_proto_rawDescGZIP() []byte {
	file_interservice_cfgmgmt_response_telemetry_proto_rawDescOnce.Do(func() {
		file_interservice_cfgmgmt_response_telemetry_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_interservice_cfgmgmt_response_telemetry_proto_rawDesc), len(file_interservice_cfgmgmt_response_telemetry_proto_rawDesc)))
	})
	return file_interservice_cfgmgmt_response_telemetry_proto_rawDescData
}

var file_interservice_cfgmgmt_response_telemetry_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_interservice_cfgmgmt_response_telemetry_proto_goTypes = []any{
	(*UpdateTelemetryReportedResponse)(nil), // 0: chef.automate.domain.cfgmgmt.response.UpdateTelemetryReportedResponse
	(*GetNodesUsageCountResponse)(nil),      // 1: chef.automate.domain.cfgmgmt.response.GetNodesUsageCountResponse
}
var file_interservice_cfgmgmt_response_telemetry_proto_depIdxs = []int32{
	0, // [0:0] is the sub-list for method output_type
	0, // [0:0] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_interservice_cfgmgmt_response_telemetry_proto_init() }
func file_interservice_cfgmgmt_response_telemetry_proto_init() {
	if File_interservice_cfgmgmt_response_telemetry_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_interservice_cfgmgmt_response_telemetry_proto_rawDesc), len(file_interservice_cfgmgmt_response_telemetry_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_interservice_cfgmgmt_response_telemetry_proto_goTypes,
		DependencyIndexes: file_interservice_cfgmgmt_response_telemetry_proto_depIdxs,
		MessageInfos:      file_interservice_cfgmgmt_response_telemetry_proto_msgTypes,
	}.Build()
	File_interservice_cfgmgmt_response_telemetry_proto = out.File
	file_interservice_cfgmgmt_response_telemetry_proto_goTypes = nil
	file_interservice_cfgmgmt_response_telemetry_proto_depIdxs = nil
}
