diff --git a/agent_payload.proto b/agent_payload.proto index 423be2f6..12dbfb82 100644 --- a/agent_payload.proto +++ b/agent_payload.proto @@ -15,8 +15,8 @@ message CommonMetadata { string api_key = 6; } -message MetricsPayload { - message Sample { +message MetricPayload { + message Series { message Point { int64 ts = 1; double value = 2; @@ -28,11 +28,11 @@ message MetricsPayload { repeated string tags = 5; string source_type_name = 6; } - repeated Sample samples = 1; + repeated Series series = 1; CommonMetadata metadata = 2; } -message ServiceChecksPayload { +message ServiceCheckPayload { message ServiceCheck { string name = 1; string host = 2; @@ -45,7 +45,7 @@ message ServiceChecksPayload { CommonMetadata metadata = 2; } -message EventsPayload { +message EventPayload { message Event { string title = 1; string text = 2; diff --git a/gogen/agent_payload.pb.go b/gogen/agent_payload.pb.go index 3f3d8664..c6ffde1d 100644 --- a/gogen/agent_payload.pb.go +++ b/gogen/agent_payload.pb.go @@ -1,5 +1,6 @@ -// Code generated by protoc-gen-gogo. DO NOT EDIT. +// Code generated by protoc-gen-gogo. // source: agent_payload.proto +// DO NOT EDIT! /* Package gogen is a generated protocol buffer package. @@ -9,9 +10,9 @@ It has these top-level messages: CommonMetadata - MetricsPayload - ServiceChecksPayload - EventsPayload + MetricPayload + ServiceCheckPayload + EventPayload SketchPayload HostMetadataPayload KubeMetadataPayload @@ -51,181 +52,90 @@ func (m *CommonMetadata) String() string { return proto.CompactTextSt func (*CommonMetadata) ProtoMessage() {} func (*CommonMetadata) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{0} } -func (m *CommonMetadata) GetAgentVersion() string { - if m != nil { - return m.AgentVersion - } - return "" -} - -func (m *CommonMetadata) GetTimezone() string { - if m != nil { - return m.Timezone - } - return "" -} - -func (m *CommonMetadata) GetCurrentEpoch() float64 { - if m != nil { - return m.CurrentEpoch - } - return 0 -} - -func (m *CommonMetadata) GetInternalIp() string { - if m != nil { - return m.InternalIp - } - return "" -} - -func (m *CommonMetadata) GetPublicIp() string { - if m != nil { - return m.PublicIp - } - return "" -} - -func (m *CommonMetadata) GetApiKey() string { - if m != nil { - return m.ApiKey - } - return "" +type MetricPayload struct { + Series []*MetricPayload_Series `protobuf:"bytes,1,rep,name=series" json:"series,omitempty"` + Metadata *CommonMetadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"` } -type MetricsPayload struct { - Samples []*MetricsPayload_Sample `protobuf:"bytes,1,rep,name=samples" json:"samples,omitempty"` - Metadata *CommonMetadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"` -} +func (m *MetricPayload) Reset() { *m = MetricPayload{} } +func (m *MetricPayload) String() string { return proto.CompactTextString(m) } +func (*MetricPayload) ProtoMessage() {} +func (*MetricPayload) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{1} } -func (m *MetricsPayload) Reset() { *m = MetricsPayload{} } -func (m *MetricsPayload) String() string { return proto.CompactTextString(m) } -func (*MetricsPayload) ProtoMessage() {} -func (*MetricsPayload) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{1} } - -func (m *MetricsPayload) GetSamples() []*MetricsPayload_Sample { +func (m *MetricPayload) GetSeries() []*MetricPayload_Series { if m != nil { - return m.Samples + return m.Series } return nil } -func (m *MetricsPayload) GetMetadata() *CommonMetadata { +func (m *MetricPayload) GetMetadata() *CommonMetadata { if m != nil { return m.Metadata } return nil } -type MetricsPayload_Sample struct { - Metric string `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"` - Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` - Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` - Points []*MetricsPayload_Sample_Point `protobuf:"bytes,4,rep,name=points" json:"points,omitempty"` - Tags []string `protobuf:"bytes,5,rep,name=tags" json:"tags,omitempty"` - SourceTypeName string `protobuf:"bytes,6,opt,name=source_type_name,json=sourceTypeName,proto3" json:"source_type_name,omitempty"` +type MetricPayload_Series struct { + Metric string `protobuf:"bytes,1,opt,name=metric,proto3" json:"metric,omitempty"` + Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` + Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` + Points []*MetricPayload_Series_Point `protobuf:"bytes,4,rep,name=points" json:"points,omitempty"` + Tags []string `protobuf:"bytes,5,rep,name=tags" json:"tags,omitempty"` + SourceTypeName string `protobuf:"bytes,6,opt,name=source_type_name,json=sourceTypeName,proto3" json:"source_type_name,omitempty"` } -func (m *MetricsPayload_Sample) Reset() { *m = MetricsPayload_Sample{} } -func (m *MetricsPayload_Sample) String() string { return proto.CompactTextString(m) } -func (*MetricsPayload_Sample) ProtoMessage() {} -func (*MetricsPayload_Sample) Descriptor() ([]byte, []int) { +func (m *MetricPayload_Series) Reset() { *m = MetricPayload_Series{} } +func (m *MetricPayload_Series) String() string { return proto.CompactTextString(m) } +func (*MetricPayload_Series) ProtoMessage() {} +func (*MetricPayload_Series) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{1, 0} } -func (m *MetricsPayload_Sample) GetMetric() string { - if m != nil { - return m.Metric - } - return "" -} - -func (m *MetricsPayload_Sample) GetType() string { - if m != nil { - return m.Type - } - return "" -} - -func (m *MetricsPayload_Sample) GetHost() string { - if m != nil { - return m.Host - } - return "" -} - -func (m *MetricsPayload_Sample) GetPoints() []*MetricsPayload_Sample_Point { +func (m *MetricPayload_Series) GetPoints() []*MetricPayload_Series_Point { if m != nil { return m.Points } return nil } -func (m *MetricsPayload_Sample) GetTags() []string { - if m != nil { - return m.Tags - } - return nil -} - -func (m *MetricsPayload_Sample) GetSourceTypeName() string { - if m != nil { - return m.SourceTypeName - } - return "" -} - -type MetricsPayload_Sample_Point struct { +type MetricPayload_Series_Point struct { Ts int64 `protobuf:"varint,1,opt,name=ts,proto3" json:"ts,omitempty"` Value float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *MetricsPayload_Sample_Point) Reset() { *m = MetricsPayload_Sample_Point{} } -func (m *MetricsPayload_Sample_Point) String() string { return proto.CompactTextString(m) } -func (*MetricsPayload_Sample_Point) ProtoMessage() {} -func (*MetricsPayload_Sample_Point) Descriptor() ([]byte, []int) { +func (m *MetricPayload_Series_Point) Reset() { *m = MetricPayload_Series_Point{} } +func (m *MetricPayload_Series_Point) String() string { return proto.CompactTextString(m) } +func (*MetricPayload_Series_Point) ProtoMessage() {} +func (*MetricPayload_Series_Point) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{1, 0, 0} } -func (m *MetricsPayload_Sample_Point) GetTs() int64 { - if m != nil { - return m.Ts - } - return 0 -} - -func (m *MetricsPayload_Sample_Point) GetValue() float64 { - if m != nil { - return m.Value - } - return 0 -} - -type ServiceChecksPayload struct { - ServiceChecks []*ServiceChecksPayload_ServiceCheck `protobuf:"bytes,1,rep,name=service_checks,json=serviceChecks" json:"service_checks,omitempty"` - Metadata *CommonMetadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"` +type ServiceCheckPayload struct { + ServiceChecks []*ServiceCheckPayload_ServiceCheck `protobuf:"bytes,1,rep,name=service_checks,json=serviceChecks" json:"service_checks,omitempty"` + Metadata *CommonMetadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"` } -func (m *ServiceChecksPayload) Reset() { *m = ServiceChecksPayload{} } -func (m *ServiceChecksPayload) String() string { return proto.CompactTextString(m) } -func (*ServiceChecksPayload) ProtoMessage() {} -func (*ServiceChecksPayload) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{2} } +func (m *ServiceCheckPayload) Reset() { *m = ServiceCheckPayload{} } +func (m *ServiceCheckPayload) String() string { return proto.CompactTextString(m) } +func (*ServiceCheckPayload) ProtoMessage() {} +func (*ServiceCheckPayload) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{2} } -func (m *ServiceChecksPayload) GetServiceChecks() []*ServiceChecksPayload_ServiceCheck { +func (m *ServiceCheckPayload) GetServiceChecks() []*ServiceCheckPayload_ServiceCheck { if m != nil { return m.ServiceChecks } return nil } -func (m *ServiceChecksPayload) GetMetadata() *CommonMetadata { +func (m *ServiceCheckPayload) GetMetadata() *CommonMetadata { if m != nil { return m.Metadata } return nil } -type ServiceChecksPayload_ServiceCheck struct { +type ServiceCheckPayload_ServiceCheck struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` Ts int64 `protobuf:"varint,3,opt,name=ts,proto3" json:"ts,omitempty"` @@ -234,80 +144,38 @@ type ServiceChecksPayload_ServiceCheck struct { Tags []string `protobuf:"bytes,6,rep,name=tags" json:"tags,omitempty"` } -func (m *ServiceChecksPayload_ServiceCheck) Reset() { *m = ServiceChecksPayload_ServiceCheck{} } -func (m *ServiceChecksPayload_ServiceCheck) String() string { return proto.CompactTextString(m) } -func (*ServiceChecksPayload_ServiceCheck) ProtoMessage() {} -func (*ServiceChecksPayload_ServiceCheck) Descriptor() ([]byte, []int) { +func (m *ServiceCheckPayload_ServiceCheck) Reset() { *m = ServiceCheckPayload_ServiceCheck{} } +func (m *ServiceCheckPayload_ServiceCheck) String() string { return proto.CompactTextString(m) } +func (*ServiceCheckPayload_ServiceCheck) ProtoMessage() {} +func (*ServiceCheckPayload_ServiceCheck) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{2, 0} } -func (m *ServiceChecksPayload_ServiceCheck) GetName() string { - if m != nil { - return m.Name - } - return "" +type EventPayload struct { + Events []*EventPayload_Event `protobuf:"bytes,1,rep,name=events" json:"events,omitempty"` + Metadata *CommonMetadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"` } -func (m *ServiceChecksPayload_ServiceCheck) GetHost() string { - if m != nil { - return m.Host - } - return "" -} - -func (m *ServiceChecksPayload_ServiceCheck) GetTs() int64 { - if m != nil { - return m.Ts - } - return 0 -} +func (m *EventPayload) Reset() { *m = EventPayload{} } +func (m *EventPayload) String() string { return proto.CompactTextString(m) } +func (*EventPayload) ProtoMessage() {} +func (*EventPayload) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{3} } -func (m *ServiceChecksPayload_ServiceCheck) GetStatus() int32 { - if m != nil { - return m.Status - } - return 0 -} - -func (m *ServiceChecksPayload_ServiceCheck) GetMessage() string { - if m != nil { - return m.Message - } - return "" -} - -func (m *ServiceChecksPayload_ServiceCheck) GetTags() []string { - if m != nil { - return m.Tags - } - return nil -} - -type EventsPayload struct { - Events []*EventsPayload_Event `protobuf:"bytes,1,rep,name=events" json:"events,omitempty"` - Metadata *CommonMetadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"` -} - -func (m *EventsPayload) Reset() { *m = EventsPayload{} } -func (m *EventsPayload) String() string { return proto.CompactTextString(m) } -func (*EventsPayload) ProtoMessage() {} -func (*EventsPayload) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{3} } - -func (m *EventsPayload) GetEvents() []*EventsPayload_Event { +func (m *EventPayload) GetEvents() []*EventPayload_Event { if m != nil { return m.Events } return nil } -func (m *EventsPayload) GetMetadata() *CommonMetadata { +func (m *EventPayload) GetMetadata() *CommonMetadata { if m != nil { return m.Metadata } return nil } -type EventsPayload_Event struct { +type EventPayload_Event struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` Ts int64 `protobuf:"varint,3,opt,name=ts,proto3" json:"ts,omitempty"` @@ -319,76 +187,13 @@ type EventsPayload_Event struct { SourceTypeName string `protobuf:"bytes,9,opt,name=source_type_name,json=sourceTypeName,proto3" json:"source_type_name,omitempty"` } -func (m *EventsPayload_Event) Reset() { *m = EventsPayload_Event{} } -func (m *EventsPayload_Event) String() string { return proto.CompactTextString(m) } -func (*EventsPayload_Event) ProtoMessage() {} -func (*EventsPayload_Event) Descriptor() ([]byte, []int) { +func (m *EventPayload_Event) Reset() { *m = EventPayload_Event{} } +func (m *EventPayload_Event) String() string { return proto.CompactTextString(m) } +func (*EventPayload_Event) ProtoMessage() {} +func (*EventPayload_Event) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{3, 0} } -func (m *EventsPayload_Event) GetTitle() string { - if m != nil { - return m.Title - } - return "" -} - -func (m *EventsPayload_Event) GetText() string { - if m != nil { - return m.Text - } - return "" -} - -func (m *EventsPayload_Event) GetTs() int64 { - if m != nil { - return m.Ts - } - return 0 -} - -func (m *EventsPayload_Event) GetPriority() string { - if m != nil { - return m.Priority - } - return "" -} - -func (m *EventsPayload_Event) GetHost() string { - if m != nil { - return m.Host - } - return "" -} - -func (m *EventsPayload_Event) GetTags() []string { - if m != nil { - return m.Tags - } - return nil -} - -func (m *EventsPayload_Event) GetAlertType() string { - if m != nil { - return m.AlertType - } - return "" -} - -func (m *EventsPayload_Event) GetAggregationKey() string { - if m != nil { - return m.AggregationKey - } - return "" -} - -func (m *EventsPayload_Event) GetSourceTypeName() string { - if m != nil { - return m.SourceTypeName - } - return "" -} - type SketchPayload struct { Sketches []SketchPayload_Sketch `protobuf:"bytes,1,rep,name=sketches" json:"sketches"` Metadata CommonMetadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata"` @@ -427,20 +232,6 @@ func (*SketchPayload_Sketch) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{4, 0} } -func (m *SketchPayload_Sketch) GetMetric() string { - if m != nil { - return m.Metric - } - return "" -} - -func (m *SketchPayload_Sketch) GetHost() string { - if m != nil { - return m.Host - } - return "" -} - func (m *SketchPayload_Sketch) GetDistributions() []SketchPayload_Sketch_Distribution { if m != nil { return m.Distributions @@ -448,13 +239,6 @@ func (m *SketchPayload_Sketch) GetDistributions() []SketchPayload_Sketch_Distrib return nil } -func (m *SketchPayload_Sketch) GetTags() []string { - if m != nil { - return m.Tags - } - return nil -} - type SketchPayload_Sketch_Distribution struct { Ts int64 `protobuf:"varint,1,opt,name=ts,proto3" json:"ts,omitempty"` Cnt int64 `protobuf:"varint,2,opt,name=cnt,proto3" json:"cnt,omitempty"` @@ -462,9 +246,9 @@ type SketchPayload_Sketch_Distribution struct { Max float64 `protobuf:"fixed64,4,opt,name=max,proto3" json:"max,omitempty"` Avg float64 `protobuf:"fixed64,5,opt,name=avg,proto3" json:"avg,omitempty"` Sum float64 `protobuf:"fixed64,6,opt,name=sum,proto3" json:"sum,omitempty"` - V []float64 `protobuf:"fixed64,7,rep,packed,name=v" json:"v,omitempty"` - G []uint32 `protobuf:"varint,8,rep,packed,name=g" json:"g,omitempty"` - Delta []uint32 `protobuf:"varint,9,rep,packed,name=delta" json:"delta,omitempty"` + V []float64 `protobuf:"fixed64,7,rep,name=v" json:"v,omitempty"` + G []uint32 `protobuf:"varint,8,rep,name=g" json:"g,omitempty"` + Delta []uint32 `protobuf:"varint,9,rep,name=delta" json:"delta,omitempty"` } func (m *SketchPayload_Sketch_Distribution) Reset() { *m = SketchPayload_Sketch_Distribution{} } @@ -474,69 +258,6 @@ func (*SketchPayload_Sketch_Distribution) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{4, 0, 0} } -func (m *SketchPayload_Sketch_Distribution) GetTs() int64 { - if m != nil { - return m.Ts - } - return 0 -} - -func (m *SketchPayload_Sketch_Distribution) GetCnt() int64 { - if m != nil { - return m.Cnt - } - return 0 -} - -func (m *SketchPayload_Sketch_Distribution) GetMin() float64 { - if m != nil { - return m.Min - } - return 0 -} - -func (m *SketchPayload_Sketch_Distribution) GetMax() float64 { - if m != nil { - return m.Max - } - return 0 -} - -func (m *SketchPayload_Sketch_Distribution) GetAvg() float64 { - if m != nil { - return m.Avg - } - return 0 -} - -func (m *SketchPayload_Sketch_Distribution) GetSum() float64 { - if m != nil { - return m.Sum - } - return 0 -} - -func (m *SketchPayload_Sketch_Distribution) GetV() []float64 { - if m != nil { - return m.V - } - return nil -} - -func (m *SketchPayload_Sketch_Distribution) GetG() []uint32 { - if m != nil { - return m.G - } - return nil -} - -func (m *SketchPayload_Sketch_Distribution) GetDelta() []uint32 { - if m != nil { - return m.Delta - } - return nil -} - type HostMetadataPayload struct { HostsMetadata []*HostMetadataPayload_HostMetadata `protobuf:"bytes,1,rep,name=hosts_metadata,json=hostsMetadata" json:"hosts_metadata,omitempty"` Metadata *CommonMetadata `protobuf:"bytes,2,opt,name=metadata" json:"metadata,omitempty"` @@ -573,20 +294,6 @@ func (*HostMetadataPayload_TagSet) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{5, 0} } -func (m *HostMetadataPayload_TagSet) GetType() string { - if m != nil { - return m.Type - } - return "" -} - -func (m *HostMetadataPayload_TagSet) GetTags() []string { - if m != nil { - return m.Tags - } - return nil -} - type HostMetadataPayload_HostMetadata struct { Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` Tags []*HostMetadataPayload_TagSet `protobuf:"bytes,2,rep,name=tags" json:"tags,omitempty"` @@ -600,13 +307,6 @@ func (*HostMetadataPayload_HostMetadata) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{5, 1} } -func (m *HostMetadataPayload_HostMetadata) GetHostname() string { - if m != nil { - return m.Hostname - } - return "" -} - func (m *HostMetadataPayload_HostMetadata) GetTags() []*HostMetadataPayload_TagSet { if m != nil { return m.Tags @@ -614,13 +314,6 @@ func (m *HostMetadataPayload_HostMetadata) GetTags() []*HostMetadataPayload_TagS return nil } -func (m *HostMetadataPayload_HostMetadata) GetAliases() []string { - if m != nil { - return m.Aliases - } - return nil -} - type KubeMetadataPayload struct { Deployments []*KubeMetadataPayload_Deployment `protobuf:"bytes,1,rep,name=deployments" json:"deployments,omitempty"` ReplicaSets []*KubeMetadataPayload_ReplicaSet `protobuf:"bytes,2,rep,name=replica_sets,json=replicaSets" json:"replica_sets,omitempty"` @@ -698,27 +391,6 @@ func (*KubeMetadataPayload_Deployment) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{6, 0} } -func (m *KubeMetadataPayload_Deployment) GetUid() string { - if m != nil { - return m.Uid - } - return "" -} - -func (m *KubeMetadataPayload_Deployment) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *KubeMetadataPayload_Deployment) GetNamespace() string { - if m != nil { - return m.Namespace - } - return "" -} - type KubeMetadataPayload_ReplicaSet struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` @@ -733,34 +405,6 @@ func (*KubeMetadataPayload_ReplicaSet) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{6, 1} } -func (m *KubeMetadataPayload_ReplicaSet) GetUid() string { - if m != nil { - return m.Uid - } - return "" -} - -func (m *KubeMetadataPayload_ReplicaSet) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *KubeMetadataPayload_ReplicaSet) GetNamespace() string { - if m != nil { - return m.Namespace - } - return "" -} - -func (m *KubeMetadataPayload_ReplicaSet) GetDeployment() string { - if m != nil { - return m.Deployment - } - return "" -} - type KubeMetadataPayload_DaemonSet struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` @@ -774,27 +418,6 @@ func (*KubeMetadataPayload_DaemonSet) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{6, 2} } -func (m *KubeMetadataPayload_DaemonSet) GetUid() string { - if m != nil { - return m.Uid - } - return "" -} - -func (m *KubeMetadataPayload_DaemonSet) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *KubeMetadataPayload_DaemonSet) GetNamespace() string { - if m != nil { - return m.Namespace - } - return "" -} - type KubeMetadataPayload_Service struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` @@ -810,27 +433,6 @@ func (*KubeMetadataPayload_Service) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{6, 3} } -func (m *KubeMetadataPayload_Service) GetUid() string { - if m != nil { - return m.Uid - } - return "" -} - -func (m *KubeMetadataPayload_Service) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *KubeMetadataPayload_Service) GetNamespace() string { - if m != nil { - return m.Namespace - } - return "" -} - func (m *KubeMetadataPayload_Service) GetSelector() map[string]string { if m != nil { return m.Selector @@ -838,13 +440,6 @@ func (m *KubeMetadataPayload_Service) GetSelector() map[string]string { return nil } -func (m *KubeMetadataPayload_Service) GetType() string { - if m != nil { - return m.Type - } - return "" -} - type KubeMetadataPayload_Job struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` @@ -858,27 +453,6 @@ func (*KubeMetadataPayload_Job) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{6, 4} } -func (m *KubeMetadataPayload_Job) GetUid() string { - if m != nil { - return m.Uid - } - return "" -} - -func (m *KubeMetadataPayload_Job) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *KubeMetadataPayload_Job) GetNamespace() string { - if m != nil { - return m.Namespace - } - return "" -} - type KubeMetadataPayload_Pod struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` @@ -901,41 +475,6 @@ func (*KubeMetadataPayload_Pod) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{6, 5} } -func (m *KubeMetadataPayload_Pod) GetUid() string { - if m != nil { - return m.Uid - } - return "" -} - -func (m *KubeMetadataPayload_Pod) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *KubeMetadataPayload_Pod) GetNamespace() string { - if m != nil { - return m.Namespace - } - return "" -} - -func (m *KubeMetadataPayload_Pod) GetHostIp() string { - if m != nil { - return m.HostIp - } - return "" -} - -func (m *KubeMetadataPayload_Pod) GetPodIp() string { - if m != nil { - return m.PodIp - } - return "" -} - func (m *KubeMetadataPayload_Pod) GetLabels() map[string]string { if m != nil { return m.Labels @@ -943,48 +482,6 @@ func (m *KubeMetadataPayload_Pod) GetLabels() map[string]string { return nil } -func (m *KubeMetadataPayload_Pod) GetServiceUids() []string { - if m != nil { - return m.ServiceUids - } - return nil -} - -func (m *KubeMetadataPayload_Pod) GetContainerIds() []string { - if m != nil { - return m.ContainerIds - } - return nil -} - -func (m *KubeMetadataPayload_Pod) GetDaemonSet() string { - if m != nil { - return m.DaemonSet - } - return "" -} - -func (m *KubeMetadataPayload_Pod) GetReplicaSet() string { - if m != nil { - return m.ReplicaSet - } - return "" -} - -func (m *KubeMetadataPayload_Pod) GetReplicationController() string { - if m != nil { - return m.ReplicationController - } - return "" -} - -func (m *KubeMetadataPayload_Pod) GetJob() string { - if m != nil { - return m.Job - } - return "" -} - type KubeMetadataPayload_Container struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` @@ -999,34 +496,6 @@ func (*KubeMetadataPayload_Container) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{6, 6} } -func (m *KubeMetadataPayload_Container) GetId() string { - if m != nil { - return m.Id - } - return "" -} - -func (m *KubeMetadataPayload_Container) GetName() string { - if m != nil { - return m.Name - } - return "" -} - -func (m *KubeMetadataPayload_Container) GetImage() string { - if m != nil { - return m.Image - } - return "" -} - -func (m *KubeMetadataPayload_Container) GetImageId() string { - if m != nil { - return m.ImageId - } - return "" -} - type ECSMetadataPayload struct { Tasks []*ECSMetadataPayload_Task `protobuf:"bytes,1,rep,name=tasks" json:"tasks,omitempty"` } @@ -1059,41 +528,6 @@ func (*ECSMetadataPayload_Task) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{7, 0} } -func (m *ECSMetadataPayload_Task) GetArn() string { - if m != nil { - return m.Arn - } - return "" -} - -func (m *ECSMetadataPayload_Task) GetDesiredStatus() string { - if m != nil { - return m.DesiredStatus - } - return "" -} - -func (m *ECSMetadataPayload_Task) GetKnownStatus() string { - if m != nil { - return m.KnownStatus - } - return "" -} - -func (m *ECSMetadataPayload_Task) GetFamily() string { - if m != nil { - return m.Family - } - return "" -} - -func (m *ECSMetadataPayload_Task) GetVersion() string { - if m != nil { - return m.Version - } - return "" -} - func (m *ECSMetadataPayload_Task) GetContainers() []*ECSMetadataPayload_Container { if m != nil { return m.Containers @@ -1114,36 +548,15 @@ func (*ECSMetadataPayload_Container) Descriptor() ([]byte, []int) { return fileDescriptorAgentPayload, []int{7, 1} } -func (m *ECSMetadataPayload_Container) GetDockerId() string { - if m != nil { - return m.DockerId - } - return "" -} - -func (m *ECSMetadataPayload_Container) GetDockerName() string { - if m != nil { - return m.DockerName - } - return "" -} - -func (m *ECSMetadataPayload_Container) GetName() string { - if m != nil { - return m.Name - } - return "" -} - func init() { proto.RegisterType((*CommonMetadata)(nil), "datadog.agentpayload.CommonMetadata") - proto.RegisterType((*MetricsPayload)(nil), "datadog.agentpayload.MetricsPayload") - proto.RegisterType((*MetricsPayload_Sample)(nil), "datadog.agentpayload.MetricsPayload.Sample") - proto.RegisterType((*MetricsPayload_Sample_Point)(nil), "datadog.agentpayload.MetricsPayload.Sample.Point") - proto.RegisterType((*ServiceChecksPayload)(nil), "datadog.agentpayload.ServiceChecksPayload") - proto.RegisterType((*ServiceChecksPayload_ServiceCheck)(nil), "datadog.agentpayload.ServiceChecksPayload.ServiceCheck") - proto.RegisterType((*EventsPayload)(nil), "datadog.agentpayload.EventsPayload") - proto.RegisterType((*EventsPayload_Event)(nil), "datadog.agentpayload.EventsPayload.Event") + proto.RegisterType((*MetricPayload)(nil), "datadog.agentpayload.MetricPayload") + proto.RegisterType((*MetricPayload_Series)(nil), "datadog.agentpayload.MetricPayload.Series") + proto.RegisterType((*MetricPayload_Series_Point)(nil), "datadog.agentpayload.MetricPayload.Series.Point") + proto.RegisterType((*ServiceCheckPayload)(nil), "datadog.agentpayload.ServiceCheckPayload") + proto.RegisterType((*ServiceCheckPayload_ServiceCheck)(nil), "datadog.agentpayload.ServiceCheckPayload.ServiceCheck") + proto.RegisterType((*EventPayload)(nil), "datadog.agentpayload.EventPayload") + proto.RegisterType((*EventPayload_Event)(nil), "datadog.agentpayload.EventPayload.Event") proto.RegisterType((*SketchPayload)(nil), "datadog.agentpayload.SketchPayload") proto.RegisterType((*SketchPayload_Sketch)(nil), "datadog.agentpayload.SketchPayload.Sketch") proto.RegisterType((*SketchPayload_Sketch_Distribution)(nil), "datadog.agentpayload.SketchPayload.Sketch.Distribution") @@ -1162,80 +575,80 @@ func init() { proto.RegisterType((*ECSMetadataPayload_Task)(nil), "datadog.agentpayload.ECSMetadataPayload.Task") proto.RegisterType((*ECSMetadataPayload_Container)(nil), "datadog.agentpayload.ECSMetadataPayload.Container") } -func (m *CommonMetadata) Marshal() (dAtA []byte, err error) { +func (m *CommonMetadata) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *CommonMetadata) MarshalTo(dAtA []byte) (int, error) { +func (m *CommonMetadata) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if len(m.AgentVersion) > 0 { - dAtA[i] = 0xa + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.AgentVersion))) - i += copy(dAtA[i:], m.AgentVersion) + i = encodeVarintAgentPayload(data, i, uint64(len(m.AgentVersion))) + i += copy(data[i:], m.AgentVersion) } if len(m.Timezone) > 0 { - dAtA[i] = 0x12 + data[i] = 0x12 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Timezone))) - i += copy(dAtA[i:], m.Timezone) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Timezone))) + i += copy(data[i:], m.Timezone) } if m.CurrentEpoch != 0 { - dAtA[i] = 0x19 + data[i] = 0x19 i++ - i = encodeFixed64AgentPayload(dAtA, i, uint64(math.Float64bits(float64(m.CurrentEpoch)))) + i = encodeFixed64AgentPayload(data, i, uint64(math.Float64bits(float64(m.CurrentEpoch)))) } if len(m.InternalIp) > 0 { - dAtA[i] = 0x22 + data[i] = 0x22 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.InternalIp))) - i += copy(dAtA[i:], m.InternalIp) + i = encodeVarintAgentPayload(data, i, uint64(len(m.InternalIp))) + i += copy(data[i:], m.InternalIp) } if len(m.PublicIp) > 0 { - dAtA[i] = 0x2a + data[i] = 0x2a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.PublicIp))) - i += copy(dAtA[i:], m.PublicIp) + i = encodeVarintAgentPayload(data, i, uint64(len(m.PublicIp))) + i += copy(data[i:], m.PublicIp) } if len(m.ApiKey) > 0 { - dAtA[i] = 0x32 + data[i] = 0x32 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.ApiKey))) - i += copy(dAtA[i:], m.ApiKey) + i = encodeVarintAgentPayload(data, i, uint64(len(m.ApiKey))) + i += copy(data[i:], m.ApiKey) } return i, nil } -func (m *MetricsPayload) Marshal() (dAtA []byte, err error) { +func (m *MetricPayload) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *MetricsPayload) MarshalTo(dAtA []byte) (int, error) { +func (m *MetricPayload) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l - if len(m.Samples) > 0 { - for _, msg := range m.Samples { - dAtA[i] = 0xa + if len(m.Series) > 0 { + for _, msg := range m.Series { + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) + i = encodeVarintAgentPayload(data, i, uint64(msg.Size())) + n, err := msg.MarshalTo(data[i:]) if err != nil { return 0, err } @@ -1243,10 +656,10 @@ func (m *MetricsPayload) MarshalTo(dAtA []byte) (int, error) { } } if m.Metadata != nil { - dAtA[i] = 0x12 + data[i] = 0x12 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(m.Metadata.Size())) - n1, err := m.Metadata.MarshalTo(dAtA[i:]) + i = encodeVarintAgentPayload(data, i, uint64(m.Metadata.Size())) + n1, err := m.Metadata.MarshalTo(data[i:]) if err != nil { return 0, err } @@ -1255,45 +668,45 @@ func (m *MetricsPayload) MarshalTo(dAtA []byte) (int, error) { return i, nil } -func (m *MetricsPayload_Sample) Marshal() (dAtA []byte, err error) { +func (m *MetricPayload_Series) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *MetricsPayload_Sample) MarshalTo(dAtA []byte) (int, error) { +func (m *MetricPayload_Series) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if len(m.Metric) > 0 { - dAtA[i] = 0xa + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Metric))) - i += copy(dAtA[i:], m.Metric) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Metric))) + i += copy(data[i:], m.Metric) } if len(m.Type) > 0 { - dAtA[i] = 0x12 + data[i] = 0x12 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Type))) - i += copy(dAtA[i:], m.Type) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Type))) + i += copy(data[i:], m.Type) } if len(m.Host) > 0 { - dAtA[i] = 0x1a + data[i] = 0x1a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Host))) - i += copy(dAtA[i:], m.Host) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Host))) + i += copy(data[i:], m.Host) } if len(m.Points) > 0 { for _, msg := range m.Points { - dAtA[i] = 0x22 + data[i] = 0x22 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) + i = encodeVarintAgentPayload(data, i, uint64(msg.Size())) + n, err := msg.MarshalTo(data[i:]) if err != nil { return 0, err } @@ -1302,77 +715,77 @@ func (m *MetricsPayload_Sample) MarshalTo(dAtA []byte) (int, error) { } if len(m.Tags) > 0 { for _, s := range m.Tags { - dAtA[i] = 0x2a + data[i] = 0x2a i++ l = len(s) for l >= 1<<7 { - dAtA[i] = uint8(uint64(l)&0x7f | 0x80) + data[i] = uint8(uint64(l)&0x7f | 0x80) l >>= 7 i++ } - dAtA[i] = uint8(l) + data[i] = uint8(l) i++ - i += copy(dAtA[i:], s) + i += copy(data[i:], s) } } if len(m.SourceTypeName) > 0 { - dAtA[i] = 0x32 + data[i] = 0x32 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.SourceTypeName))) - i += copy(dAtA[i:], m.SourceTypeName) + i = encodeVarintAgentPayload(data, i, uint64(len(m.SourceTypeName))) + i += copy(data[i:], m.SourceTypeName) } return i, nil } -func (m *MetricsPayload_Sample_Point) Marshal() (dAtA []byte, err error) { +func (m *MetricPayload_Series_Point) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *MetricsPayload_Sample_Point) MarshalTo(dAtA []byte) (int, error) { +func (m *MetricPayload_Series_Point) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if m.Ts != 0 { - dAtA[i] = 0x8 + data[i] = 0x8 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(m.Ts)) + i = encodeVarintAgentPayload(data, i, uint64(m.Ts)) } if m.Value != 0 { - dAtA[i] = 0x11 + data[i] = 0x11 i++ - i = encodeFixed64AgentPayload(dAtA, i, uint64(math.Float64bits(float64(m.Value)))) + i = encodeFixed64AgentPayload(data, i, uint64(math.Float64bits(float64(m.Value)))) } return i, nil } -func (m *ServiceChecksPayload) Marshal() (dAtA []byte, err error) { +func (m *ServiceCheckPayload) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *ServiceChecksPayload) MarshalTo(dAtA []byte) (int, error) { +func (m *ServiceCheckPayload) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if len(m.ServiceChecks) > 0 { for _, msg := range m.ServiceChecks { - dAtA[i] = 0xa + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) + i = encodeVarintAgentPayload(data, i, uint64(msg.Size())) + n, err := msg.MarshalTo(data[i:]) if err != nil { return 0, err } @@ -1380,10 +793,10 @@ func (m *ServiceChecksPayload) MarshalTo(dAtA []byte) (int, error) { } } if m.Metadata != nil { - dAtA[i] = 0x12 + data[i] = 0x12 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(m.Metadata.Size())) - n2, err := m.Metadata.MarshalTo(dAtA[i:]) + i = encodeVarintAgentPayload(data, i, uint64(m.Metadata.Size())) + n2, err := m.Metadata.MarshalTo(data[i:]) if err != nil { return 0, err } @@ -1392,88 +805,88 @@ func (m *ServiceChecksPayload) MarshalTo(dAtA []byte) (int, error) { return i, nil } -func (m *ServiceChecksPayload_ServiceCheck) Marshal() (dAtA []byte, err error) { +func (m *ServiceCheckPayload_ServiceCheck) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *ServiceChecksPayload_ServiceCheck) MarshalTo(dAtA []byte) (int, error) { +func (m *ServiceCheckPayload_ServiceCheck) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if len(m.Name) > 0 { - dAtA[i] = 0xa + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Name))) - i += copy(dAtA[i:], m.Name) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Name))) + i += copy(data[i:], m.Name) } if len(m.Host) > 0 { - dAtA[i] = 0x12 + data[i] = 0x12 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Host))) - i += copy(dAtA[i:], m.Host) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Host))) + i += copy(data[i:], m.Host) } if m.Ts != 0 { - dAtA[i] = 0x18 + data[i] = 0x18 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(m.Ts)) + i = encodeVarintAgentPayload(data, i, uint64(m.Ts)) } if m.Status != 0 { - dAtA[i] = 0x20 + data[i] = 0x20 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(m.Status)) + i = encodeVarintAgentPayload(data, i, uint64(m.Status)) } if len(m.Message) > 0 { - dAtA[i] = 0x2a + data[i] = 0x2a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Message))) - i += copy(dAtA[i:], m.Message) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Message))) + i += copy(data[i:], m.Message) } if len(m.Tags) > 0 { for _, s := range m.Tags { - dAtA[i] = 0x32 + data[i] = 0x32 i++ l = len(s) for l >= 1<<7 { - dAtA[i] = uint8(uint64(l)&0x7f | 0x80) + data[i] = uint8(uint64(l)&0x7f | 0x80) l >>= 7 i++ } - dAtA[i] = uint8(l) + data[i] = uint8(l) i++ - i += copy(dAtA[i:], s) + i += copy(data[i:], s) } } return i, nil } -func (m *EventsPayload) Marshal() (dAtA []byte, err error) { +func (m *EventPayload) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *EventsPayload) MarshalTo(dAtA []byte) (int, error) { +func (m *EventPayload) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if len(m.Events) > 0 { for _, msg := range m.Events { - dAtA[i] = 0xa + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) + i = encodeVarintAgentPayload(data, i, uint64(msg.Size())) + n, err := msg.MarshalTo(data[i:]) if err != nil { return 0, err } @@ -1481,10 +894,10 @@ func (m *EventsPayload) MarshalTo(dAtA []byte) (int, error) { } } if m.Metadata != nil { - dAtA[i] = 0x12 + data[i] = 0x12 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(m.Metadata.Size())) - n3, err := m.Metadata.MarshalTo(dAtA[i:]) + i = encodeVarintAgentPayload(data, i, uint64(m.Metadata.Size())) + n3, err := m.Metadata.MarshalTo(data[i:]) if err != nil { return 0, err } @@ -1493,117 +906,117 @@ func (m *EventsPayload) MarshalTo(dAtA []byte) (int, error) { return i, nil } -func (m *EventsPayload_Event) Marshal() (dAtA []byte, err error) { +func (m *EventPayload_Event) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *EventsPayload_Event) MarshalTo(dAtA []byte) (int, error) { +func (m *EventPayload_Event) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if len(m.Title) > 0 { - dAtA[i] = 0xa + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Title))) - i += copy(dAtA[i:], m.Title) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Title))) + i += copy(data[i:], m.Title) } if len(m.Text) > 0 { - dAtA[i] = 0x12 + data[i] = 0x12 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Text))) - i += copy(dAtA[i:], m.Text) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Text))) + i += copy(data[i:], m.Text) } if m.Ts != 0 { - dAtA[i] = 0x18 + data[i] = 0x18 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(m.Ts)) + i = encodeVarintAgentPayload(data, i, uint64(m.Ts)) } if len(m.Priority) > 0 { - dAtA[i] = 0x22 + data[i] = 0x22 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Priority))) - i += copy(dAtA[i:], m.Priority) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Priority))) + i += copy(data[i:], m.Priority) } if len(m.Host) > 0 { - dAtA[i] = 0x2a + data[i] = 0x2a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Host))) - i += copy(dAtA[i:], m.Host) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Host))) + i += copy(data[i:], m.Host) } if len(m.Tags) > 0 { for _, s := range m.Tags { - dAtA[i] = 0x32 + data[i] = 0x32 i++ l = len(s) for l >= 1<<7 { - dAtA[i] = uint8(uint64(l)&0x7f | 0x80) + data[i] = uint8(uint64(l)&0x7f | 0x80) l >>= 7 i++ } - dAtA[i] = uint8(l) + data[i] = uint8(l) i++ - i += copy(dAtA[i:], s) + i += copy(data[i:], s) } } if len(m.AlertType) > 0 { - dAtA[i] = 0x3a + data[i] = 0x3a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.AlertType))) - i += copy(dAtA[i:], m.AlertType) + i = encodeVarintAgentPayload(data, i, uint64(len(m.AlertType))) + i += copy(data[i:], m.AlertType) } if len(m.AggregationKey) > 0 { - dAtA[i] = 0x42 + data[i] = 0x42 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.AggregationKey))) - i += copy(dAtA[i:], m.AggregationKey) + i = encodeVarintAgentPayload(data, i, uint64(len(m.AggregationKey))) + i += copy(data[i:], m.AggregationKey) } if len(m.SourceTypeName) > 0 { - dAtA[i] = 0x4a + data[i] = 0x4a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.SourceTypeName))) - i += copy(dAtA[i:], m.SourceTypeName) + i = encodeVarintAgentPayload(data, i, uint64(len(m.SourceTypeName))) + i += copy(data[i:], m.SourceTypeName) } return i, nil } -func (m *SketchPayload) Marshal() (dAtA []byte, err error) { +func (m *SketchPayload) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *SketchPayload) MarshalTo(dAtA []byte) (int, error) { +func (m *SketchPayload) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if len(m.Sketches) > 0 { for _, msg := range m.Sketches { - dAtA[i] = 0xa + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) + i = encodeVarintAgentPayload(data, i, uint64(msg.Size())) + n, err := msg.MarshalTo(data[i:]) if err != nil { return 0, err } i += n } } - dAtA[i] = 0x12 + data[i] = 0x12 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(m.Metadata.Size())) - n4, err := m.Metadata.MarshalTo(dAtA[i:]) + i = encodeVarintAgentPayload(data, i, uint64(m.Metadata.Size())) + n4, err := m.Metadata.MarshalTo(data[i:]) if err != nil { return 0, err } @@ -1611,39 +1024,39 @@ func (m *SketchPayload) MarshalTo(dAtA []byte) (int, error) { return i, nil } -func (m *SketchPayload_Sketch) Marshal() (dAtA []byte, err error) { +func (m *SketchPayload_Sketch) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *SketchPayload_Sketch) MarshalTo(dAtA []byte) (int, error) { +func (m *SketchPayload_Sketch) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if len(m.Metric) > 0 { - dAtA[i] = 0xa + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Metric))) - i += copy(dAtA[i:], m.Metric) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Metric))) + i += copy(data[i:], m.Metric) } if len(m.Host) > 0 { - dAtA[i] = 0x12 + data[i] = 0x12 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Host))) - i += copy(dAtA[i:], m.Host) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Host))) + i += copy(data[i:], m.Host) } if len(m.Distributions) > 0 { for _, msg := range m.Distributions { - dAtA[i] = 0x1a + data[i] = 0x1a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) + i = encodeVarintAgentPayload(data, i, uint64(msg.Size())) + n, err := msg.MarshalTo(data[i:]) if err != nil { return 0, err } @@ -1652,149 +1065,128 @@ func (m *SketchPayload_Sketch) MarshalTo(dAtA []byte) (int, error) { } if len(m.Tags) > 0 { for _, s := range m.Tags { - dAtA[i] = 0x22 + data[i] = 0x22 i++ l = len(s) for l >= 1<<7 { - dAtA[i] = uint8(uint64(l)&0x7f | 0x80) + data[i] = uint8(uint64(l)&0x7f | 0x80) l >>= 7 i++ } - dAtA[i] = uint8(l) + data[i] = uint8(l) i++ - i += copy(dAtA[i:], s) + i += copy(data[i:], s) } } return i, nil } -func (m *SketchPayload_Sketch_Distribution) Marshal() (dAtA []byte, err error) { +func (m *SketchPayload_Sketch_Distribution) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *SketchPayload_Sketch_Distribution) MarshalTo(dAtA []byte) (int, error) { +func (m *SketchPayload_Sketch_Distribution) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if m.Ts != 0 { - dAtA[i] = 0x8 + data[i] = 0x8 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(m.Ts)) + i = encodeVarintAgentPayload(data, i, uint64(m.Ts)) } if m.Cnt != 0 { - dAtA[i] = 0x10 + data[i] = 0x10 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(m.Cnt)) + i = encodeVarintAgentPayload(data, i, uint64(m.Cnt)) } if m.Min != 0 { - dAtA[i] = 0x19 + data[i] = 0x19 i++ - i = encodeFixed64AgentPayload(dAtA, i, uint64(math.Float64bits(float64(m.Min)))) + i = encodeFixed64AgentPayload(data, i, uint64(math.Float64bits(float64(m.Min)))) } if m.Max != 0 { - dAtA[i] = 0x21 + data[i] = 0x21 i++ - i = encodeFixed64AgentPayload(dAtA, i, uint64(math.Float64bits(float64(m.Max)))) + i = encodeFixed64AgentPayload(data, i, uint64(math.Float64bits(float64(m.Max)))) } if m.Avg != 0 { - dAtA[i] = 0x29 + data[i] = 0x29 i++ - i = encodeFixed64AgentPayload(dAtA, i, uint64(math.Float64bits(float64(m.Avg)))) + i = encodeFixed64AgentPayload(data, i, uint64(math.Float64bits(float64(m.Avg)))) } if m.Sum != 0 { - dAtA[i] = 0x31 + data[i] = 0x31 i++ - i = encodeFixed64AgentPayload(dAtA, i, uint64(math.Float64bits(float64(m.Sum)))) + i = encodeFixed64AgentPayload(data, i, uint64(math.Float64bits(float64(m.Sum)))) } if len(m.V) > 0 { - dAtA[i] = 0x3a - i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.V)*8)) for _, num := range m.V { + data[i] = 0x39 + i++ f5 := math.Float64bits(float64(num)) - dAtA[i] = uint8(f5) + data[i] = uint8(f5) i++ - dAtA[i] = uint8(f5 >> 8) + data[i] = uint8(f5 >> 8) i++ - dAtA[i] = uint8(f5 >> 16) + data[i] = uint8(f5 >> 16) i++ - dAtA[i] = uint8(f5 >> 24) + data[i] = uint8(f5 >> 24) i++ - dAtA[i] = uint8(f5 >> 32) + data[i] = uint8(f5 >> 32) i++ - dAtA[i] = uint8(f5 >> 40) + data[i] = uint8(f5 >> 40) i++ - dAtA[i] = uint8(f5 >> 48) + data[i] = uint8(f5 >> 48) i++ - dAtA[i] = uint8(f5 >> 56) + data[i] = uint8(f5 >> 56) i++ } } if len(m.G) > 0 { - dAtA7 := make([]byte, len(m.G)*10) - var j6 int for _, num := range m.G { - for num >= 1<<7 { - dAtA7[j6] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j6++ - } - dAtA7[j6] = uint8(num) - j6++ + data[i] = 0x40 + i++ + i = encodeVarintAgentPayload(data, i, uint64(num)) } - dAtA[i] = 0x42 - i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(j6)) - i += copy(dAtA[i:], dAtA7[:j6]) } if len(m.Delta) > 0 { - dAtA9 := make([]byte, len(m.Delta)*10) - var j8 int for _, num := range m.Delta { - for num >= 1<<7 { - dAtA9[j8] = uint8(uint64(num)&0x7f | 0x80) - num >>= 7 - j8++ - } - dAtA9[j8] = uint8(num) - j8++ + data[i] = 0x48 + i++ + i = encodeVarintAgentPayload(data, i, uint64(num)) } - dAtA[i] = 0x4a - i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(j8)) - i += copy(dAtA[i:], dAtA9[:j8]) } return i, nil } -func (m *HostMetadataPayload) Marshal() (dAtA []byte, err error) { +func (m *HostMetadataPayload) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *HostMetadataPayload) MarshalTo(dAtA []byte) (int, error) { +func (m *HostMetadataPayload) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if len(m.HostsMetadata) > 0 { for _, msg := range m.HostsMetadata { - dAtA[i] = 0xa + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) + i = encodeVarintAgentPayload(data, i, uint64(msg.Size())) + n, err := msg.MarshalTo(data[i:]) if err != nil { return 0, err } @@ -1802,84 +1194,84 @@ func (m *HostMetadataPayload) MarshalTo(dAtA []byte) (int, error) { } } if m.Metadata != nil { - dAtA[i] = 0x12 + data[i] = 0x12 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(m.Metadata.Size())) - n10, err := m.Metadata.MarshalTo(dAtA[i:]) + i = encodeVarintAgentPayload(data, i, uint64(m.Metadata.Size())) + n6, err := m.Metadata.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n10 + i += n6 } return i, nil } -func (m *HostMetadataPayload_TagSet) Marshal() (dAtA []byte, err error) { +func (m *HostMetadataPayload_TagSet) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *HostMetadataPayload_TagSet) MarshalTo(dAtA []byte) (int, error) { +func (m *HostMetadataPayload_TagSet) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if len(m.Type) > 0 { - dAtA[i] = 0xa + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Type))) - i += copy(dAtA[i:], m.Type) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Type))) + i += copy(data[i:], m.Type) } if len(m.Tags) > 0 { for _, s := range m.Tags { - dAtA[i] = 0x12 + data[i] = 0x12 i++ l = len(s) for l >= 1<<7 { - dAtA[i] = uint8(uint64(l)&0x7f | 0x80) + data[i] = uint8(uint64(l)&0x7f | 0x80) l >>= 7 i++ } - dAtA[i] = uint8(l) + data[i] = uint8(l) i++ - i += copy(dAtA[i:], s) + i += copy(data[i:], s) } } return i, nil } -func (m *HostMetadataPayload_HostMetadata) Marshal() (dAtA []byte, err error) { +func (m *HostMetadataPayload_HostMetadata) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *HostMetadataPayload_HostMetadata) MarshalTo(dAtA []byte) (int, error) { +func (m *HostMetadataPayload_HostMetadata) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if len(m.Hostname) > 0 { - dAtA[i] = 0xa + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Hostname))) - i += copy(dAtA[i:], m.Hostname) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Hostname))) + i += copy(data[i:], m.Hostname) } if len(m.Tags) > 0 { for _, msg := range m.Tags { - dAtA[i] = 0x12 + data[i] = 0x12 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) + i = encodeVarintAgentPayload(data, i, uint64(msg.Size())) + n, err := msg.MarshalTo(data[i:]) if err != nil { return 0, err } @@ -1888,43 +1280,43 @@ func (m *HostMetadataPayload_HostMetadata) MarshalTo(dAtA []byte) (int, error) { } if len(m.Aliases) > 0 { for _, s := range m.Aliases { - dAtA[i] = 0x1a + data[i] = 0x1a i++ l = len(s) for l >= 1<<7 { - dAtA[i] = uint8(uint64(l)&0x7f | 0x80) + data[i] = uint8(uint64(l)&0x7f | 0x80) l >>= 7 i++ } - dAtA[i] = uint8(l) + data[i] = uint8(l) i++ - i += copy(dAtA[i:], s) + i += copy(data[i:], s) } } return i, nil } -func (m *KubeMetadataPayload) Marshal() (dAtA []byte, err error) { +func (m *KubeMetadataPayload) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *KubeMetadataPayload) MarshalTo(dAtA []byte) (int, error) { +func (m *KubeMetadataPayload) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if len(m.Deployments) > 0 { for _, msg := range m.Deployments { - dAtA[i] = 0xa + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) + i = encodeVarintAgentPayload(data, i, uint64(msg.Size())) + n, err := msg.MarshalTo(data[i:]) if err != nil { return 0, err } @@ -1933,10 +1325,10 @@ func (m *KubeMetadataPayload) MarshalTo(dAtA []byte) (int, error) { } if len(m.ReplicaSets) > 0 { for _, msg := range m.ReplicaSets { - dAtA[i] = 0x12 + data[i] = 0x12 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) + i = encodeVarintAgentPayload(data, i, uint64(msg.Size())) + n, err := msg.MarshalTo(data[i:]) if err != nil { return 0, err } @@ -1945,10 +1337,10 @@ func (m *KubeMetadataPayload) MarshalTo(dAtA []byte) (int, error) { } if len(m.DaemonSets) > 0 { for _, msg := range m.DaemonSets { - dAtA[i] = 0x1a + data[i] = 0x1a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) + i = encodeVarintAgentPayload(data, i, uint64(msg.Size())) + n, err := msg.MarshalTo(data[i:]) if err != nil { return 0, err } @@ -1957,10 +1349,10 @@ func (m *KubeMetadataPayload) MarshalTo(dAtA []byte) (int, error) { } if len(m.Services) > 0 { for _, msg := range m.Services { - dAtA[i] = 0x22 + data[i] = 0x22 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) + i = encodeVarintAgentPayload(data, i, uint64(msg.Size())) + n, err := msg.MarshalTo(data[i:]) if err != nil { return 0, err } @@ -1969,10 +1361,10 @@ func (m *KubeMetadataPayload) MarshalTo(dAtA []byte) (int, error) { } if len(m.Jobs) > 0 { for _, msg := range m.Jobs { - dAtA[i] = 0x2a + data[i] = 0x2a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) + i = encodeVarintAgentPayload(data, i, uint64(msg.Size())) + n, err := msg.MarshalTo(data[i:]) if err != nil { return 0, err } @@ -1981,10 +1373,10 @@ func (m *KubeMetadataPayload) MarshalTo(dAtA []byte) (int, error) { } if len(m.Pods) > 0 { for _, msg := range m.Pods { - dAtA[i] = 0x32 + data[i] = 0x32 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) + i = encodeVarintAgentPayload(data, i, uint64(msg.Size())) + n, err := msg.MarshalTo(data[i:]) if err != nil { return 0, err } @@ -1993,10 +1385,10 @@ func (m *KubeMetadataPayload) MarshalTo(dAtA []byte) (int, error) { } if len(m.Containers) > 0 { for _, msg := range m.Containers { - dAtA[i] = 0x3a + data[i] = 0x3a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) + i = encodeVarintAgentPayload(data, i, uint64(msg.Size())) + n, err := msg.MarshalTo(data[i:]) if err != nil { return 0, err } @@ -2006,397 +1398,397 @@ func (m *KubeMetadataPayload) MarshalTo(dAtA []byte) (int, error) { return i, nil } -func (m *KubeMetadataPayload_Deployment) Marshal() (dAtA []byte, err error) { +func (m *KubeMetadataPayload_Deployment) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *KubeMetadataPayload_Deployment) MarshalTo(dAtA []byte) (int, error) { +func (m *KubeMetadataPayload_Deployment) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if len(m.Uid) > 0 { - dAtA[i] = 0xa + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Uid))) - i += copy(dAtA[i:], m.Uid) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Uid))) + i += copy(data[i:], m.Uid) } if len(m.Name) > 0 { - dAtA[i] = 0x12 + data[i] = 0x12 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Name))) - i += copy(dAtA[i:], m.Name) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Name))) + i += copy(data[i:], m.Name) } if len(m.Namespace) > 0 { - dAtA[i] = 0x1a + data[i] = 0x1a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Namespace))) - i += copy(dAtA[i:], m.Namespace) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Namespace))) + i += copy(data[i:], m.Namespace) } return i, nil } -func (m *KubeMetadataPayload_ReplicaSet) Marshal() (dAtA []byte, err error) { +func (m *KubeMetadataPayload_ReplicaSet) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *KubeMetadataPayload_ReplicaSet) MarshalTo(dAtA []byte) (int, error) { +func (m *KubeMetadataPayload_ReplicaSet) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if len(m.Uid) > 0 { - dAtA[i] = 0xa + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Uid))) - i += copy(dAtA[i:], m.Uid) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Uid))) + i += copy(data[i:], m.Uid) } if len(m.Name) > 0 { - dAtA[i] = 0x12 + data[i] = 0x12 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Name))) - i += copy(dAtA[i:], m.Name) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Name))) + i += copy(data[i:], m.Name) } if len(m.Namespace) > 0 { - dAtA[i] = 0x1a + data[i] = 0x1a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Namespace))) - i += copy(dAtA[i:], m.Namespace) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Namespace))) + i += copy(data[i:], m.Namespace) } if len(m.Deployment) > 0 { - dAtA[i] = 0x22 + data[i] = 0x22 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Deployment))) - i += copy(dAtA[i:], m.Deployment) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Deployment))) + i += copy(data[i:], m.Deployment) } return i, nil } -func (m *KubeMetadataPayload_DaemonSet) Marshal() (dAtA []byte, err error) { +func (m *KubeMetadataPayload_DaemonSet) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *KubeMetadataPayload_DaemonSet) MarshalTo(dAtA []byte) (int, error) { +func (m *KubeMetadataPayload_DaemonSet) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if len(m.Uid) > 0 { - dAtA[i] = 0xa + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Uid))) - i += copy(dAtA[i:], m.Uid) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Uid))) + i += copy(data[i:], m.Uid) } if len(m.Name) > 0 { - dAtA[i] = 0x12 + data[i] = 0x12 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Name))) - i += copy(dAtA[i:], m.Name) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Name))) + i += copy(data[i:], m.Name) } if len(m.Namespace) > 0 { - dAtA[i] = 0x1a + data[i] = 0x1a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Namespace))) - i += copy(dAtA[i:], m.Namespace) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Namespace))) + i += copy(data[i:], m.Namespace) } return i, nil } -func (m *KubeMetadataPayload_Service) Marshal() (dAtA []byte, err error) { +func (m *KubeMetadataPayload_Service) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *KubeMetadataPayload_Service) MarshalTo(dAtA []byte) (int, error) { +func (m *KubeMetadataPayload_Service) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if len(m.Uid) > 0 { - dAtA[i] = 0xa + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Uid))) - i += copy(dAtA[i:], m.Uid) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Uid))) + i += copy(data[i:], m.Uid) } if len(m.Name) > 0 { - dAtA[i] = 0x12 + data[i] = 0x12 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Name))) - i += copy(dAtA[i:], m.Name) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Name))) + i += copy(data[i:], m.Name) } if len(m.Namespace) > 0 { - dAtA[i] = 0x1a + data[i] = 0x1a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Namespace))) - i += copy(dAtA[i:], m.Namespace) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Namespace))) + i += copy(data[i:], m.Namespace) } if len(m.Selector) > 0 { for k, _ := range m.Selector { - dAtA[i] = 0x22 + data[i] = 0x22 i++ v := m.Selector[k] mapSize := 1 + len(k) + sovAgentPayload(uint64(len(k))) + 1 + len(v) + sovAgentPayload(uint64(len(v))) - i = encodeVarintAgentPayload(dAtA, i, uint64(mapSize)) - dAtA[i] = 0xa + i = encodeVarintAgentPayload(data, i, uint64(mapSize)) + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(k))) - i += copy(dAtA[i:], k) - dAtA[i] = 0x12 + i = encodeVarintAgentPayload(data, i, uint64(len(k))) + i += copy(data[i:], k) + data[i] = 0x12 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(v))) - i += copy(dAtA[i:], v) + i = encodeVarintAgentPayload(data, i, uint64(len(v))) + i += copy(data[i:], v) } } if len(m.Type) > 0 { - dAtA[i] = 0x2a + data[i] = 0x2a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Type))) - i += copy(dAtA[i:], m.Type) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Type))) + i += copy(data[i:], m.Type) } return i, nil } -func (m *KubeMetadataPayload_Job) Marshal() (dAtA []byte, err error) { +func (m *KubeMetadataPayload_Job) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *KubeMetadataPayload_Job) MarshalTo(dAtA []byte) (int, error) { +func (m *KubeMetadataPayload_Job) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if len(m.Uid) > 0 { - dAtA[i] = 0xa + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Uid))) - i += copy(dAtA[i:], m.Uid) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Uid))) + i += copy(data[i:], m.Uid) } if len(m.Name) > 0 { - dAtA[i] = 0x12 + data[i] = 0x12 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Name))) - i += copy(dAtA[i:], m.Name) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Name))) + i += copy(data[i:], m.Name) } if len(m.Namespace) > 0 { - dAtA[i] = 0x1a + data[i] = 0x1a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Namespace))) - i += copy(dAtA[i:], m.Namespace) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Namespace))) + i += copy(data[i:], m.Namespace) } return i, nil } -func (m *KubeMetadataPayload_Pod) Marshal() (dAtA []byte, err error) { +func (m *KubeMetadataPayload_Pod) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *KubeMetadataPayload_Pod) MarshalTo(dAtA []byte) (int, error) { +func (m *KubeMetadataPayload_Pod) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if len(m.Uid) > 0 { - dAtA[i] = 0xa + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Uid))) - i += copy(dAtA[i:], m.Uid) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Uid))) + i += copy(data[i:], m.Uid) } if len(m.Name) > 0 { - dAtA[i] = 0x12 + data[i] = 0x12 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Name))) - i += copy(dAtA[i:], m.Name) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Name))) + i += copy(data[i:], m.Name) } if len(m.Namespace) > 0 { - dAtA[i] = 0x1a + data[i] = 0x1a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Namespace))) - i += copy(dAtA[i:], m.Namespace) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Namespace))) + i += copy(data[i:], m.Namespace) } if len(m.HostIp) > 0 { - dAtA[i] = 0x22 + data[i] = 0x22 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.HostIp))) - i += copy(dAtA[i:], m.HostIp) + i = encodeVarintAgentPayload(data, i, uint64(len(m.HostIp))) + i += copy(data[i:], m.HostIp) } if len(m.PodIp) > 0 { - dAtA[i] = 0x2a + data[i] = 0x2a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.PodIp))) - i += copy(dAtA[i:], m.PodIp) + i = encodeVarintAgentPayload(data, i, uint64(len(m.PodIp))) + i += copy(data[i:], m.PodIp) } if len(m.Labels) > 0 { for k, _ := range m.Labels { - dAtA[i] = 0x32 + data[i] = 0x32 i++ v := m.Labels[k] mapSize := 1 + len(k) + sovAgentPayload(uint64(len(k))) + 1 + len(v) + sovAgentPayload(uint64(len(v))) - i = encodeVarintAgentPayload(dAtA, i, uint64(mapSize)) - dAtA[i] = 0xa + i = encodeVarintAgentPayload(data, i, uint64(mapSize)) + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(k))) - i += copy(dAtA[i:], k) - dAtA[i] = 0x12 + i = encodeVarintAgentPayload(data, i, uint64(len(k))) + i += copy(data[i:], k) + data[i] = 0x12 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(v))) - i += copy(dAtA[i:], v) + i = encodeVarintAgentPayload(data, i, uint64(len(v))) + i += copy(data[i:], v) } } if len(m.ServiceUids) > 0 { for _, s := range m.ServiceUids { - dAtA[i] = 0x3a + data[i] = 0x3a i++ l = len(s) for l >= 1<<7 { - dAtA[i] = uint8(uint64(l)&0x7f | 0x80) + data[i] = uint8(uint64(l)&0x7f | 0x80) l >>= 7 i++ } - dAtA[i] = uint8(l) + data[i] = uint8(l) i++ - i += copy(dAtA[i:], s) + i += copy(data[i:], s) } } if len(m.ContainerIds) > 0 { for _, s := range m.ContainerIds { - dAtA[i] = 0x42 + data[i] = 0x42 i++ l = len(s) for l >= 1<<7 { - dAtA[i] = uint8(uint64(l)&0x7f | 0x80) + data[i] = uint8(uint64(l)&0x7f | 0x80) l >>= 7 i++ } - dAtA[i] = uint8(l) + data[i] = uint8(l) i++ - i += copy(dAtA[i:], s) + i += copy(data[i:], s) } } if len(m.DaemonSet) > 0 { - dAtA[i] = 0x4a + data[i] = 0x4a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.DaemonSet))) - i += copy(dAtA[i:], m.DaemonSet) + i = encodeVarintAgentPayload(data, i, uint64(len(m.DaemonSet))) + i += copy(data[i:], m.DaemonSet) } if len(m.ReplicaSet) > 0 { - dAtA[i] = 0x52 + data[i] = 0x52 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.ReplicaSet))) - i += copy(dAtA[i:], m.ReplicaSet) + i = encodeVarintAgentPayload(data, i, uint64(len(m.ReplicaSet))) + i += copy(data[i:], m.ReplicaSet) } if len(m.ReplicationController) > 0 { - dAtA[i] = 0x5a + data[i] = 0x5a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.ReplicationController))) - i += copy(dAtA[i:], m.ReplicationController) + i = encodeVarintAgentPayload(data, i, uint64(len(m.ReplicationController))) + i += copy(data[i:], m.ReplicationController) } if len(m.Job) > 0 { - dAtA[i] = 0x62 + data[i] = 0x62 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Job))) - i += copy(dAtA[i:], m.Job) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Job))) + i += copy(data[i:], m.Job) } return i, nil } -func (m *KubeMetadataPayload_Container) Marshal() (dAtA []byte, err error) { +func (m *KubeMetadataPayload_Container) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *KubeMetadataPayload_Container) MarshalTo(dAtA []byte) (int, error) { +func (m *KubeMetadataPayload_Container) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if len(m.Id) > 0 { - dAtA[i] = 0xa + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Id))) - i += copy(dAtA[i:], m.Id) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Id))) + i += copy(data[i:], m.Id) } if len(m.Name) > 0 { - dAtA[i] = 0x12 + data[i] = 0x12 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Name))) - i += copy(dAtA[i:], m.Name) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Name))) + i += copy(data[i:], m.Name) } if len(m.Image) > 0 { - dAtA[i] = 0x1a + data[i] = 0x1a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Image))) - i += copy(dAtA[i:], m.Image) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Image))) + i += copy(data[i:], m.Image) } if len(m.ImageId) > 0 { - dAtA[i] = 0x22 + data[i] = 0x22 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.ImageId))) - i += copy(dAtA[i:], m.ImageId) + i = encodeVarintAgentPayload(data, i, uint64(len(m.ImageId))) + i += copy(data[i:], m.ImageId) } return i, nil } -func (m *ECSMetadataPayload) Marshal() (dAtA []byte, err error) { +func (m *ECSMetadataPayload) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *ECSMetadataPayload) MarshalTo(dAtA []byte) (int, error) { +func (m *ECSMetadataPayload) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if len(m.Tasks) > 0 { for _, msg := range m.Tasks { - dAtA[i] = 0xa + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) + i = encodeVarintAgentPayload(data, i, uint64(msg.Size())) + n, err := msg.MarshalTo(data[i:]) if err != nil { return 0, err } @@ -2406,57 +1798,57 @@ func (m *ECSMetadataPayload) MarshalTo(dAtA []byte) (int, error) { return i, nil } -func (m *ECSMetadataPayload_Task) Marshal() (dAtA []byte, err error) { +func (m *ECSMetadataPayload_Task) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *ECSMetadataPayload_Task) MarshalTo(dAtA []byte) (int, error) { +func (m *ECSMetadataPayload_Task) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if len(m.Arn) > 0 { - dAtA[i] = 0xa + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Arn))) - i += copy(dAtA[i:], m.Arn) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Arn))) + i += copy(data[i:], m.Arn) } if len(m.DesiredStatus) > 0 { - dAtA[i] = 0x12 + data[i] = 0x12 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.DesiredStatus))) - i += copy(dAtA[i:], m.DesiredStatus) + i = encodeVarintAgentPayload(data, i, uint64(len(m.DesiredStatus))) + i += copy(data[i:], m.DesiredStatus) } if len(m.KnownStatus) > 0 { - dAtA[i] = 0x1a + data[i] = 0x1a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.KnownStatus))) - i += copy(dAtA[i:], m.KnownStatus) + i = encodeVarintAgentPayload(data, i, uint64(len(m.KnownStatus))) + i += copy(data[i:], m.KnownStatus) } if len(m.Family) > 0 { - dAtA[i] = 0x22 + data[i] = 0x22 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Family))) - i += copy(dAtA[i:], m.Family) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Family))) + i += copy(data[i:], m.Family) } if len(m.Version) > 0 { - dAtA[i] = 0x2a + data[i] = 0x2a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Version))) - i += copy(dAtA[i:], m.Version) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Version))) + i += copy(data[i:], m.Version) } if len(m.Containers) > 0 { for _, msg := range m.Containers { - dAtA[i] = 0x32 + data[i] = 0x32 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(msg.Size())) - n, err := msg.MarshalTo(dAtA[i:]) + i = encodeVarintAgentPayload(data, i, uint64(msg.Size())) + n, err := msg.MarshalTo(data[i:]) if err != nil { return 0, err } @@ -2466,67 +1858,67 @@ func (m *ECSMetadataPayload_Task) MarshalTo(dAtA []byte) (int, error) { return i, nil } -func (m *ECSMetadataPayload_Container) Marshal() (dAtA []byte, err error) { +func (m *ECSMetadataPayload_Container) Marshal() (data []byte, err error) { size := m.Size() - dAtA = make([]byte, size) - n, err := m.MarshalTo(dAtA) + data = make([]byte, size) + n, err := m.MarshalTo(data) if err != nil { return nil, err } - return dAtA[:n], nil + return data[:n], nil } -func (m *ECSMetadataPayload_Container) MarshalTo(dAtA []byte) (int, error) { +func (m *ECSMetadataPayload_Container) MarshalTo(data []byte) (int, error) { var i int _ = i var l int _ = l if len(m.DockerId) > 0 { - dAtA[i] = 0xa + data[i] = 0xa i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.DockerId))) - i += copy(dAtA[i:], m.DockerId) + i = encodeVarintAgentPayload(data, i, uint64(len(m.DockerId))) + i += copy(data[i:], m.DockerId) } if len(m.DockerName) > 0 { - dAtA[i] = 0x12 + data[i] = 0x12 i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.DockerName))) - i += copy(dAtA[i:], m.DockerName) + i = encodeVarintAgentPayload(data, i, uint64(len(m.DockerName))) + i += copy(data[i:], m.DockerName) } if len(m.Name) > 0 { - dAtA[i] = 0x1a + data[i] = 0x1a i++ - i = encodeVarintAgentPayload(dAtA, i, uint64(len(m.Name))) - i += copy(dAtA[i:], m.Name) + i = encodeVarintAgentPayload(data, i, uint64(len(m.Name))) + i += copy(data[i:], m.Name) } return i, nil } -func encodeFixed64AgentPayload(dAtA []byte, offset int, v uint64) int { - dAtA[offset] = uint8(v) - dAtA[offset+1] = uint8(v >> 8) - dAtA[offset+2] = uint8(v >> 16) - dAtA[offset+3] = uint8(v >> 24) - dAtA[offset+4] = uint8(v >> 32) - dAtA[offset+5] = uint8(v >> 40) - dAtA[offset+6] = uint8(v >> 48) - dAtA[offset+7] = uint8(v >> 56) +func encodeFixed64AgentPayload(data []byte, offset int, v uint64) int { + data[offset] = uint8(v) + data[offset+1] = uint8(v >> 8) + data[offset+2] = uint8(v >> 16) + data[offset+3] = uint8(v >> 24) + data[offset+4] = uint8(v >> 32) + data[offset+5] = uint8(v >> 40) + data[offset+6] = uint8(v >> 48) + data[offset+7] = uint8(v >> 56) return offset + 8 } -func encodeFixed32AgentPayload(dAtA []byte, offset int, v uint32) int { - dAtA[offset] = uint8(v) - dAtA[offset+1] = uint8(v >> 8) - dAtA[offset+2] = uint8(v >> 16) - dAtA[offset+3] = uint8(v >> 24) +func encodeFixed32AgentPayload(data []byte, offset int, v uint32) int { + data[offset] = uint8(v) + data[offset+1] = uint8(v >> 8) + data[offset+2] = uint8(v >> 16) + data[offset+3] = uint8(v >> 24) return offset + 4 } -func encodeVarintAgentPayload(dAtA []byte, offset int, v uint64) int { +func encodeVarintAgentPayload(data []byte, offset int, v uint64) int { for v >= 1<<7 { - dAtA[offset] = uint8(v&0x7f | 0x80) + data[offset] = uint8(v&0x7f | 0x80) v >>= 7 offset++ } - dAtA[offset] = uint8(v) + data[offset] = uint8(v) return offset + 1 } func (m *CommonMetadata) Size() (n int) { @@ -2558,11 +1950,11 @@ func (m *CommonMetadata) Size() (n int) { return n } -func (m *MetricsPayload) Size() (n int) { +func (m *MetricPayload) Size() (n int) { var l int _ = l - if len(m.Samples) > 0 { - for _, e := range m.Samples { + if len(m.Series) > 0 { + for _, e := range m.Series { l = e.Size() n += 1 + l + sovAgentPayload(uint64(l)) } @@ -2574,7 +1966,7 @@ func (m *MetricsPayload) Size() (n int) { return n } -func (m *MetricsPayload_Sample) Size() (n int) { +func (m *MetricPayload_Series) Size() (n int) { var l int _ = l l = len(m.Metric) @@ -2608,7 +2000,7 @@ func (m *MetricsPayload_Sample) Size() (n int) { return n } -func (m *MetricsPayload_Sample_Point) Size() (n int) { +func (m *MetricPayload_Series_Point) Size() (n int) { var l int _ = l if m.Ts != 0 { @@ -2620,7 +2012,7 @@ func (m *MetricsPayload_Sample_Point) Size() (n int) { return n } -func (m *ServiceChecksPayload) Size() (n int) { +func (m *ServiceCheckPayload) Size() (n int) { var l int _ = l if len(m.ServiceChecks) > 0 { @@ -2636,7 +2028,7 @@ func (m *ServiceChecksPayload) Size() (n int) { return n } -func (m *ServiceChecksPayload_ServiceCheck) Size() (n int) { +func (m *ServiceCheckPayload_ServiceCheck) Size() (n int) { var l int _ = l l = len(m.Name) @@ -2666,7 +2058,7 @@ func (m *ServiceChecksPayload_ServiceCheck) Size() (n int) { return n } -func (m *EventsPayload) Size() (n int) { +func (m *EventPayload) Size() (n int) { var l int _ = l if len(m.Events) > 0 { @@ -2682,7 +2074,7 @@ func (m *EventsPayload) Size() (n int) { return n } -func (m *EventsPayload_Event) Size() (n int) { +func (m *EventPayload_Event) Size() (n int) { var l int _ = l l = len(m.Title) @@ -2787,21 +2179,17 @@ func (m *SketchPayload_Sketch_Distribution) Size() (n int) { n += 9 } if len(m.V) > 0 { - n += 1 + sovAgentPayload(uint64(len(m.V)*8)) + len(m.V)*8 + n += 9 * len(m.V) } if len(m.G) > 0 { - l = 0 for _, e := range m.G { - l += sovAgentPayload(uint64(e)) + n += 1 + sovAgentPayload(uint64(e)) } - n += 1 + sovAgentPayload(uint64(l)) + l } if len(m.Delta) > 0 { - l = 0 for _, e := range m.Delta { - l += sovAgentPayload(uint64(e)) + n += 1 + sovAgentPayload(uint64(e)) } - n += 1 + sovAgentPayload(uint64(l)) + l } return n } @@ -3173,8 +2561,8 @@ func sovAgentPayload(x uint64) (n int) { func sozAgentPayload(x uint64) (n int) { return sovAgentPayload(uint64((x << 1) ^ uint64((int64(x) >> 63)))) } -func (m *CommonMetadata) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *CommonMetadata) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -3186,7 +2574,7 @@ func (m *CommonMetadata) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -3214,7 +2602,7 @@ func (m *CommonMetadata) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -3229,7 +2617,7 @@ func (m *CommonMetadata) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AgentVersion = string(dAtA[iNdEx:postIndex]) + m.AgentVersion = string(data[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -3243,7 +2631,7 @@ func (m *CommonMetadata) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -3258,7 +2646,7 @@ func (m *CommonMetadata) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Timezone = string(dAtA[iNdEx:postIndex]) + m.Timezone = string(data[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 1 { @@ -3269,14 +2657,14 @@ func (m *CommonMetadata) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } iNdEx += 8 - v = uint64(dAtA[iNdEx-8]) - v |= uint64(dAtA[iNdEx-7]) << 8 - v |= uint64(dAtA[iNdEx-6]) << 16 - v |= uint64(dAtA[iNdEx-5]) << 24 - v |= uint64(dAtA[iNdEx-4]) << 32 - v |= uint64(dAtA[iNdEx-3]) << 40 - v |= uint64(dAtA[iNdEx-2]) << 48 - v |= uint64(dAtA[iNdEx-1]) << 56 + v = uint64(data[iNdEx-8]) + v |= uint64(data[iNdEx-7]) << 8 + v |= uint64(data[iNdEx-6]) << 16 + v |= uint64(data[iNdEx-5]) << 24 + v |= uint64(data[iNdEx-4]) << 32 + v |= uint64(data[iNdEx-3]) << 40 + v |= uint64(data[iNdEx-2]) << 48 + v |= uint64(data[iNdEx-1]) << 56 m.CurrentEpoch = float64(math.Float64frombits(v)) case 4: if wireType != 2 { @@ -3290,7 +2678,7 @@ func (m *CommonMetadata) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -3305,7 +2693,7 @@ func (m *CommonMetadata) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.InternalIp = string(dAtA[iNdEx:postIndex]) + m.InternalIp = string(data[iNdEx:postIndex]) iNdEx = postIndex case 5: if wireType != 2 { @@ -3319,7 +2707,7 @@ func (m *CommonMetadata) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -3334,7 +2722,7 @@ func (m *CommonMetadata) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PublicIp = string(dAtA[iNdEx:postIndex]) + m.PublicIp = string(data[iNdEx:postIndex]) iNdEx = postIndex case 6: if wireType != 2 { @@ -3348,7 +2736,7 @@ func (m *CommonMetadata) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -3363,11 +2751,11 @@ func (m *CommonMetadata) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ApiKey = string(dAtA[iNdEx:postIndex]) + m.ApiKey = string(data[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -3386,8 +2774,8 @@ func (m *CommonMetadata) Unmarshal(dAtA []byte) error { } return nil } -func (m *MetricsPayload) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *MetricPayload) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -3399,7 +2787,7 @@ func (m *MetricsPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -3409,15 +2797,15 @@ func (m *MetricsPayload) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: MetricsPayload: wiretype end group for non-group") + return fmt.Errorf("proto: MetricPayload: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: MetricsPayload: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: MetricPayload: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Samples", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Series", wireType) } var msglen int for shift := uint(0); ; shift += 7 { @@ -3427,7 +2815,7 @@ func (m *MetricsPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -3441,8 +2829,8 @@ func (m *MetricsPayload) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Samples = append(m.Samples, &MetricsPayload_Sample{}) - if err := m.Samples[len(m.Samples)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Series = append(m.Series, &MetricPayload_Series{}) + if err := m.Series[len(m.Series)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -3458,7 +2846,7 @@ func (m *MetricsPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -3475,13 +2863,13 @@ func (m *MetricsPayload) Unmarshal(dAtA []byte) error { if m.Metadata == nil { m.Metadata = &CommonMetadata{} } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Metadata.Unmarshal(data[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -3500,8 +2888,8 @@ func (m *MetricsPayload) Unmarshal(dAtA []byte) error { } return nil } -func (m *MetricsPayload_Sample) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *MetricPayload_Series) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -3513,7 +2901,7 @@ func (m *MetricsPayload_Sample) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -3523,10 +2911,10 @@ func (m *MetricsPayload_Sample) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: Sample: wiretype end group for non-group") + return fmt.Errorf("proto: Series: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: Sample: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: Series: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -3541,7 +2929,7 @@ func (m *MetricsPayload_Sample) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -3556,7 +2944,7 @@ func (m *MetricsPayload_Sample) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Metric = string(dAtA[iNdEx:postIndex]) + m.Metric = string(data[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -3570,7 +2958,7 @@ func (m *MetricsPayload_Sample) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -3585,7 +2973,7 @@ func (m *MetricsPayload_Sample) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Type = string(dAtA[iNdEx:postIndex]) + m.Type = string(data[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -3599,7 +2987,7 @@ func (m *MetricsPayload_Sample) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -3614,7 +3002,7 @@ func (m *MetricsPayload_Sample) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Host = string(dAtA[iNdEx:postIndex]) + m.Host = string(data[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { @@ -3628,7 +3016,7 @@ func (m *MetricsPayload_Sample) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -3642,8 +3030,8 @@ func (m *MetricsPayload_Sample) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Points = append(m.Points, &MetricsPayload_Sample_Point{}) - if err := m.Points[len(m.Points)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Points = append(m.Points, &MetricPayload_Series_Point{}) + if err := m.Points[len(m.Points)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -3659,7 +3047,7 @@ func (m *MetricsPayload_Sample) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -3674,7 +3062,7 @@ func (m *MetricsPayload_Sample) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) + m.Tags = append(m.Tags, string(data[iNdEx:postIndex])) iNdEx = postIndex case 6: if wireType != 2 { @@ -3688,7 +3076,7 @@ func (m *MetricsPayload_Sample) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -3703,11 +3091,11 @@ func (m *MetricsPayload_Sample) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.SourceTypeName = string(dAtA[iNdEx:postIndex]) + m.SourceTypeName = string(data[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -3726,8 +3114,8 @@ func (m *MetricsPayload_Sample) Unmarshal(dAtA []byte) error { } return nil } -func (m *MetricsPayload_Sample_Point) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *MetricPayload_Series_Point) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -3739,7 +3127,7 @@ func (m *MetricsPayload_Sample_Point) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -3767,7 +3155,7 @@ func (m *MetricsPayload_Sample_Point) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ m.Ts |= (int64(b) & 0x7F) << shift if b < 0x80 { @@ -3783,18 +3171,18 @@ func (m *MetricsPayload_Sample_Point) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } iNdEx += 8 - v = uint64(dAtA[iNdEx-8]) - v |= uint64(dAtA[iNdEx-7]) << 8 - v |= uint64(dAtA[iNdEx-6]) << 16 - v |= uint64(dAtA[iNdEx-5]) << 24 - v |= uint64(dAtA[iNdEx-4]) << 32 - v |= uint64(dAtA[iNdEx-3]) << 40 - v |= uint64(dAtA[iNdEx-2]) << 48 - v |= uint64(dAtA[iNdEx-1]) << 56 + v = uint64(data[iNdEx-8]) + v |= uint64(data[iNdEx-7]) << 8 + v |= uint64(data[iNdEx-6]) << 16 + v |= uint64(data[iNdEx-5]) << 24 + v |= uint64(data[iNdEx-4]) << 32 + v |= uint64(data[iNdEx-3]) << 40 + v |= uint64(data[iNdEx-2]) << 48 + v |= uint64(data[iNdEx-1]) << 56 m.Value = float64(math.Float64frombits(v)) default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -3813,8 +3201,8 @@ func (m *MetricsPayload_Sample_Point) Unmarshal(dAtA []byte) error { } return nil } -func (m *ServiceChecksPayload) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *ServiceCheckPayload) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -3826,7 +3214,7 @@ func (m *ServiceChecksPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -3836,10 +3224,10 @@ func (m *ServiceChecksPayload) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: ServiceChecksPayload: wiretype end group for non-group") + return fmt.Errorf("proto: ServiceCheckPayload: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: ServiceChecksPayload: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: ServiceCheckPayload: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -3854,7 +3242,7 @@ func (m *ServiceChecksPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -3868,8 +3256,8 @@ func (m *ServiceChecksPayload) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ServiceChecks = append(m.ServiceChecks, &ServiceChecksPayload_ServiceCheck{}) - if err := m.ServiceChecks[len(m.ServiceChecks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.ServiceChecks = append(m.ServiceChecks, &ServiceCheckPayload_ServiceCheck{}) + if err := m.ServiceChecks[len(m.ServiceChecks)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -3885,7 +3273,7 @@ func (m *ServiceChecksPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -3902,13 +3290,13 @@ func (m *ServiceChecksPayload) Unmarshal(dAtA []byte) error { if m.Metadata == nil { m.Metadata = &CommonMetadata{} } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Metadata.Unmarshal(data[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -3927,8 +3315,8 @@ func (m *ServiceChecksPayload) Unmarshal(dAtA []byte) error { } return nil } -func (m *ServiceChecksPayload_ServiceCheck) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *ServiceCheckPayload_ServiceCheck) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -3940,7 +3328,7 @@ func (m *ServiceChecksPayload_ServiceCheck) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -3968,7 +3356,7 @@ func (m *ServiceChecksPayload_ServiceCheck) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -3983,7 +3371,7 @@ func (m *ServiceChecksPayload_ServiceCheck) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.Name = string(data[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -3997,7 +3385,7 @@ func (m *ServiceChecksPayload_ServiceCheck) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -4012,7 +3400,7 @@ func (m *ServiceChecksPayload_ServiceCheck) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Host = string(dAtA[iNdEx:postIndex]) + m.Host = string(data[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 0 { @@ -4026,7 +3414,7 @@ func (m *ServiceChecksPayload_ServiceCheck) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ m.Ts |= (int64(b) & 0x7F) << shift if b < 0x80 { @@ -4045,7 +3433,7 @@ func (m *ServiceChecksPayload_ServiceCheck) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ m.Status |= (int32(b) & 0x7F) << shift if b < 0x80 { @@ -4064,7 +3452,7 @@ func (m *ServiceChecksPayload_ServiceCheck) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -4079,7 +3467,7 @@ func (m *ServiceChecksPayload_ServiceCheck) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Message = string(dAtA[iNdEx:postIndex]) + m.Message = string(data[iNdEx:postIndex]) iNdEx = postIndex case 6: if wireType != 2 { @@ -4093,7 +3481,7 @@ func (m *ServiceChecksPayload_ServiceCheck) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -4108,11 +3496,11 @@ func (m *ServiceChecksPayload_ServiceCheck) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) + m.Tags = append(m.Tags, string(data[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -4131,8 +3519,8 @@ func (m *ServiceChecksPayload_ServiceCheck) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventsPayload) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *EventPayload) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -4144,7 +3532,7 @@ func (m *EventsPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -4154,10 +3542,10 @@ func (m *EventsPayload) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: EventsPayload: wiretype end group for non-group") + return fmt.Errorf("proto: EventPayload: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: EventsPayload: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: EventPayload: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -4172,7 +3560,7 @@ func (m *EventsPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -4186,8 +3574,8 @@ func (m *EventsPayload) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Events = append(m.Events, &EventsPayload_Event{}) - if err := m.Events[len(m.Events)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + m.Events = append(m.Events, &EventPayload_Event{}) + if err := m.Events[len(m.Events)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -4203,7 +3591,7 @@ func (m *EventsPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -4220,13 +3608,13 @@ func (m *EventsPayload) Unmarshal(dAtA []byte) error { if m.Metadata == nil { m.Metadata = &CommonMetadata{} } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Metadata.Unmarshal(data[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -4245,8 +3633,8 @@ func (m *EventsPayload) Unmarshal(dAtA []byte) error { } return nil } -func (m *EventsPayload_Event) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *EventPayload_Event) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -4258,7 +3646,7 @@ func (m *EventsPayload_Event) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -4286,7 +3674,7 @@ func (m *EventsPayload_Event) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -4301,7 +3689,7 @@ func (m *EventsPayload_Event) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Title = string(dAtA[iNdEx:postIndex]) + m.Title = string(data[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -4315,7 +3703,7 @@ func (m *EventsPayload_Event) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -4330,7 +3718,7 @@ func (m *EventsPayload_Event) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Text = string(dAtA[iNdEx:postIndex]) + m.Text = string(data[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 0 { @@ -4344,7 +3732,7 @@ func (m *EventsPayload_Event) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ m.Ts |= (int64(b) & 0x7F) << shift if b < 0x80 { @@ -4363,7 +3751,7 @@ func (m *EventsPayload_Event) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -4378,7 +3766,7 @@ func (m *EventsPayload_Event) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Priority = string(dAtA[iNdEx:postIndex]) + m.Priority = string(data[iNdEx:postIndex]) iNdEx = postIndex case 5: if wireType != 2 { @@ -4392,7 +3780,7 @@ func (m *EventsPayload_Event) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -4407,7 +3795,7 @@ func (m *EventsPayload_Event) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Host = string(dAtA[iNdEx:postIndex]) + m.Host = string(data[iNdEx:postIndex]) iNdEx = postIndex case 6: if wireType != 2 { @@ -4421,7 +3809,7 @@ func (m *EventsPayload_Event) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -4436,7 +3824,7 @@ func (m *EventsPayload_Event) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) + m.Tags = append(m.Tags, string(data[iNdEx:postIndex])) iNdEx = postIndex case 7: if wireType != 2 { @@ -4450,7 +3838,7 @@ func (m *EventsPayload_Event) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -4465,7 +3853,7 @@ func (m *EventsPayload_Event) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AlertType = string(dAtA[iNdEx:postIndex]) + m.AlertType = string(data[iNdEx:postIndex]) iNdEx = postIndex case 8: if wireType != 2 { @@ -4479,7 +3867,7 @@ func (m *EventsPayload_Event) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -4494,7 +3882,7 @@ func (m *EventsPayload_Event) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.AggregationKey = string(dAtA[iNdEx:postIndex]) + m.AggregationKey = string(data[iNdEx:postIndex]) iNdEx = postIndex case 9: if wireType != 2 { @@ -4508,7 +3896,7 @@ func (m *EventsPayload_Event) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -4523,11 +3911,11 @@ func (m *EventsPayload_Event) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.SourceTypeName = string(dAtA[iNdEx:postIndex]) + m.SourceTypeName = string(data[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -4546,8 +3934,8 @@ func (m *EventsPayload_Event) Unmarshal(dAtA []byte) error { } return nil } -func (m *SketchPayload) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *SketchPayload) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -4559,7 +3947,7 @@ func (m *SketchPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -4587,7 +3975,7 @@ func (m *SketchPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -4602,7 +3990,7 @@ func (m *SketchPayload) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } m.Sketches = append(m.Sketches, SketchPayload_Sketch{}) - if err := m.Sketches[len(m.Sketches)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Sketches[len(m.Sketches)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -4618,7 +4006,7 @@ func (m *SketchPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -4632,13 +4020,13 @@ func (m *SketchPayload) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Metadata.Unmarshal(data[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -4657,8 +4045,8 @@ func (m *SketchPayload) Unmarshal(dAtA []byte) error { } return nil } -func (m *SketchPayload_Sketch) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *SketchPayload_Sketch) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -4670,7 +4058,7 @@ func (m *SketchPayload_Sketch) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -4698,7 +4086,7 @@ func (m *SketchPayload_Sketch) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -4713,7 +4101,7 @@ func (m *SketchPayload_Sketch) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Metric = string(dAtA[iNdEx:postIndex]) + m.Metric = string(data[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -4727,7 +4115,7 @@ func (m *SketchPayload_Sketch) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -4742,7 +4130,7 @@ func (m *SketchPayload_Sketch) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Host = string(dAtA[iNdEx:postIndex]) + m.Host = string(data[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -4756,7 +4144,7 @@ func (m *SketchPayload_Sketch) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -4771,7 +4159,7 @@ func (m *SketchPayload_Sketch) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } m.Distributions = append(m.Distributions, SketchPayload_Sketch_Distribution{}) - if err := m.Distributions[len(m.Distributions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Distributions[len(m.Distributions)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -4787,7 +4175,7 @@ func (m *SketchPayload_Sketch) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -4802,11 +4190,11 @@ func (m *SketchPayload_Sketch) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) + m.Tags = append(m.Tags, string(data[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -4825,8 +4213,8 @@ func (m *SketchPayload_Sketch) Unmarshal(dAtA []byte) error { } return nil } -func (m *SketchPayload_Sketch_Distribution) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *SketchPayload_Sketch_Distribution) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -4838,7 +4226,7 @@ func (m *SketchPayload_Sketch_Distribution) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -4866,7 +4254,7 @@ func (m *SketchPayload_Sketch_Distribution) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ m.Ts |= (int64(b) & 0x7F) << shift if b < 0x80 { @@ -4885,7 +4273,7 @@ func (m *SketchPayload_Sketch_Distribution) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ m.Cnt |= (int64(b) & 0x7F) << shift if b < 0x80 { @@ -4901,14 +4289,14 @@ func (m *SketchPayload_Sketch_Distribution) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } iNdEx += 8 - v = uint64(dAtA[iNdEx-8]) - v |= uint64(dAtA[iNdEx-7]) << 8 - v |= uint64(dAtA[iNdEx-6]) << 16 - v |= uint64(dAtA[iNdEx-5]) << 24 - v |= uint64(dAtA[iNdEx-4]) << 32 - v |= uint64(dAtA[iNdEx-3]) << 40 - v |= uint64(dAtA[iNdEx-2]) << 48 - v |= uint64(dAtA[iNdEx-1]) << 56 + v = uint64(data[iNdEx-8]) + v |= uint64(data[iNdEx-7]) << 8 + v |= uint64(data[iNdEx-6]) << 16 + v |= uint64(data[iNdEx-5]) << 24 + v |= uint64(data[iNdEx-4]) << 32 + v |= uint64(data[iNdEx-3]) << 40 + v |= uint64(data[iNdEx-2]) << 48 + v |= uint64(data[iNdEx-1]) << 56 m.Min = float64(math.Float64frombits(v)) case 4: if wireType != 1 { @@ -4919,14 +4307,14 @@ func (m *SketchPayload_Sketch_Distribution) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } iNdEx += 8 - v = uint64(dAtA[iNdEx-8]) - v |= uint64(dAtA[iNdEx-7]) << 8 - v |= uint64(dAtA[iNdEx-6]) << 16 - v |= uint64(dAtA[iNdEx-5]) << 24 - v |= uint64(dAtA[iNdEx-4]) << 32 - v |= uint64(dAtA[iNdEx-3]) << 40 - v |= uint64(dAtA[iNdEx-2]) << 48 - v |= uint64(dAtA[iNdEx-1]) << 56 + v = uint64(data[iNdEx-8]) + v |= uint64(data[iNdEx-7]) << 8 + v |= uint64(data[iNdEx-6]) << 16 + v |= uint64(data[iNdEx-5]) << 24 + v |= uint64(data[iNdEx-4]) << 32 + v |= uint64(data[iNdEx-3]) << 40 + v |= uint64(data[iNdEx-2]) << 48 + v |= uint64(data[iNdEx-1]) << 56 m.Max = float64(math.Float64frombits(v)) case 5: if wireType != 1 { @@ -4937,14 +4325,14 @@ func (m *SketchPayload_Sketch_Distribution) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } iNdEx += 8 - v = uint64(dAtA[iNdEx-8]) - v |= uint64(dAtA[iNdEx-7]) << 8 - v |= uint64(dAtA[iNdEx-6]) << 16 - v |= uint64(dAtA[iNdEx-5]) << 24 - v |= uint64(dAtA[iNdEx-4]) << 32 - v |= uint64(dAtA[iNdEx-3]) << 40 - v |= uint64(dAtA[iNdEx-2]) << 48 - v |= uint64(dAtA[iNdEx-1]) << 56 + v = uint64(data[iNdEx-8]) + v |= uint64(data[iNdEx-7]) << 8 + v |= uint64(data[iNdEx-6]) << 16 + v |= uint64(data[iNdEx-5]) << 24 + v |= uint64(data[iNdEx-4]) << 32 + v |= uint64(data[iNdEx-3]) << 40 + v |= uint64(data[iNdEx-2]) << 48 + v |= uint64(data[iNdEx-1]) << 56 m.Avg = float64(math.Float64frombits(v)) case 6: if wireType != 1 { @@ -4955,202 +4343,77 @@ func (m *SketchPayload_Sketch_Distribution) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } iNdEx += 8 - v = uint64(dAtA[iNdEx-8]) - v |= uint64(dAtA[iNdEx-7]) << 8 - v |= uint64(dAtA[iNdEx-6]) << 16 - v |= uint64(dAtA[iNdEx-5]) << 24 - v |= uint64(dAtA[iNdEx-4]) << 32 - v |= uint64(dAtA[iNdEx-3]) << 40 - v |= uint64(dAtA[iNdEx-2]) << 48 - v |= uint64(dAtA[iNdEx-1]) << 56 + v = uint64(data[iNdEx-8]) + v |= uint64(data[iNdEx-7]) << 8 + v |= uint64(data[iNdEx-6]) << 16 + v |= uint64(data[iNdEx-5]) << 24 + v |= uint64(data[iNdEx-4]) << 32 + v |= uint64(data[iNdEx-3]) << 40 + v |= uint64(data[iNdEx-2]) << 48 + v |= uint64(data[iNdEx-1]) << 56 m.Sum = float64(math.Float64frombits(v)) case 7: - if wireType == 1 { - var v uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF - } - iNdEx += 8 - v = uint64(dAtA[iNdEx-8]) - v |= uint64(dAtA[iNdEx-7]) << 8 - v |= uint64(dAtA[iNdEx-6]) << 16 - v |= uint64(dAtA[iNdEx-5]) << 24 - v |= uint64(dAtA[iNdEx-4]) << 32 - v |= uint64(dAtA[iNdEx-3]) << 40 - v |= uint64(dAtA[iNdEx-2]) << 48 - v |= uint64(dAtA[iNdEx-1]) << 56 - v2 := float64(math.Float64frombits(v)) - m.V = append(m.V, v2) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgentPayload - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthAgentPayload - } - postIndex := iNdEx + packedLen - if postIndex > l { - return io.ErrUnexpectedEOF - } - for iNdEx < postIndex { - var v uint64 - if (iNdEx + 8) > l { - return io.ErrUnexpectedEOF - } - iNdEx += 8 - v = uint64(dAtA[iNdEx-8]) - v |= uint64(dAtA[iNdEx-7]) << 8 - v |= uint64(dAtA[iNdEx-6]) << 16 - v |= uint64(dAtA[iNdEx-5]) << 24 - v |= uint64(dAtA[iNdEx-4]) << 32 - v |= uint64(dAtA[iNdEx-3]) << 40 - v |= uint64(dAtA[iNdEx-2]) << 48 - v |= uint64(dAtA[iNdEx-1]) << 56 - v2 := float64(math.Float64frombits(v)) - m.V = append(m.V, v2) - } - } else { + if wireType != 1 { return fmt.Errorf("proto: wrong wireType = %d for field V", wireType) } + var v uint64 + if (iNdEx + 8) > l { + return io.ErrUnexpectedEOF + } + iNdEx += 8 + v = uint64(data[iNdEx-8]) + v |= uint64(data[iNdEx-7]) << 8 + v |= uint64(data[iNdEx-6]) << 16 + v |= uint64(data[iNdEx-5]) << 24 + v |= uint64(data[iNdEx-4]) << 32 + v |= uint64(data[iNdEx-3]) << 40 + v |= uint64(data[iNdEx-2]) << 48 + v |= uint64(data[iNdEx-1]) << 56 + v2 := float64(math.Float64frombits(v)) + m.V = append(m.V, v2) case 8: - if wireType == 0 { - var v uint32 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgentPayload - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= (uint32(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - m.G = append(m.G, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgentPayload - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthAgentPayload + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field G", wireType) + } + var v uint32 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgentPayload } - postIndex := iNdEx + packedLen - if postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - for iNdEx < postIndex { - var v uint32 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgentPayload - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= (uint32(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - m.G = append(m.G, v) + b := data[iNdEx] + iNdEx++ + v |= (uint32(b) & 0x7F) << shift + if b < 0x80 { + break } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field G", wireType) } + m.G = append(m.G, v) case 9: - if wireType == 0 { - var v uint32 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgentPayload - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= (uint32(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - m.Delta = append(m.Delta, v) - } else if wireType == 2 { - var packedLen int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgentPayload - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - packedLen |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - if packedLen < 0 { - return ErrInvalidLengthAgentPayload + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Delta", wireType) + } + var v uint32 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowAgentPayload } - postIndex := iNdEx + packedLen - if postIndex > l { + if iNdEx >= l { return io.ErrUnexpectedEOF } - for iNdEx < postIndex { - var v uint32 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowAgentPayload - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= (uint32(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - m.Delta = append(m.Delta, v) + b := data[iNdEx] + iNdEx++ + v |= (uint32(b) & 0x7F) << shift + if b < 0x80 { + break } - } else { - return fmt.Errorf("proto: wrong wireType = %d for field Delta", wireType) } + m.Delta = append(m.Delta, v) default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -5169,8 +4432,8 @@ func (m *SketchPayload_Sketch_Distribution) Unmarshal(dAtA []byte) error { } return nil } -func (m *HostMetadataPayload) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *HostMetadataPayload) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -5182,7 +4445,7 @@ func (m *HostMetadataPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -5210,7 +4473,7 @@ func (m *HostMetadataPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -5225,7 +4488,7 @@ func (m *HostMetadataPayload) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } m.HostsMetadata = append(m.HostsMetadata, &HostMetadataPayload_HostMetadata{}) - if err := m.HostsMetadata[len(m.HostsMetadata)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.HostsMetadata[len(m.HostsMetadata)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -5241,7 +4504,7 @@ func (m *HostMetadataPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -5258,13 +4521,13 @@ func (m *HostMetadataPayload) Unmarshal(dAtA []byte) error { if m.Metadata == nil { m.Metadata = &CommonMetadata{} } - if err := m.Metadata.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Metadata.Unmarshal(data[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -5283,8 +4546,8 @@ func (m *HostMetadataPayload) Unmarshal(dAtA []byte) error { } return nil } -func (m *HostMetadataPayload_TagSet) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *HostMetadataPayload_TagSet) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -5296,7 +4559,7 @@ func (m *HostMetadataPayload_TagSet) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -5324,7 +4587,7 @@ func (m *HostMetadataPayload_TagSet) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -5339,7 +4602,7 @@ func (m *HostMetadataPayload_TagSet) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Type = string(dAtA[iNdEx:postIndex]) + m.Type = string(data[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -5353,7 +4616,7 @@ func (m *HostMetadataPayload_TagSet) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -5368,11 +4631,11 @@ func (m *HostMetadataPayload_TagSet) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Tags = append(m.Tags, string(dAtA[iNdEx:postIndex])) + m.Tags = append(m.Tags, string(data[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -5391,8 +4654,8 @@ func (m *HostMetadataPayload_TagSet) Unmarshal(dAtA []byte) error { } return nil } -func (m *HostMetadataPayload_HostMetadata) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *HostMetadataPayload_HostMetadata) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -5404,7 +4667,7 @@ func (m *HostMetadataPayload_HostMetadata) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -5432,7 +4695,7 @@ func (m *HostMetadataPayload_HostMetadata) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -5447,7 +4710,7 @@ func (m *HostMetadataPayload_HostMetadata) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Hostname = string(dAtA[iNdEx:postIndex]) + m.Hostname = string(data[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -5461,7 +4724,7 @@ func (m *HostMetadataPayload_HostMetadata) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -5476,7 +4739,7 @@ func (m *HostMetadataPayload_HostMetadata) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } m.Tags = append(m.Tags, &HostMetadataPayload_TagSet{}) - if err := m.Tags[len(m.Tags)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Tags[len(m.Tags)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -5492,7 +4755,7 @@ func (m *HostMetadataPayload_HostMetadata) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -5507,11 +4770,11 @@ func (m *HostMetadataPayload_HostMetadata) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Aliases = append(m.Aliases, string(dAtA[iNdEx:postIndex])) + m.Aliases = append(m.Aliases, string(data[iNdEx:postIndex])) iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -5530,8 +4793,8 @@ func (m *HostMetadataPayload_HostMetadata) Unmarshal(dAtA []byte) error { } return nil } -func (m *KubeMetadataPayload) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *KubeMetadataPayload) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -5543,7 +4806,7 @@ func (m *KubeMetadataPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -5571,7 +4834,7 @@ func (m *KubeMetadataPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -5586,7 +4849,7 @@ func (m *KubeMetadataPayload) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } m.Deployments = append(m.Deployments, &KubeMetadataPayload_Deployment{}) - if err := m.Deployments[len(m.Deployments)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Deployments[len(m.Deployments)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -5602,7 +4865,7 @@ func (m *KubeMetadataPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -5617,7 +4880,7 @@ func (m *KubeMetadataPayload) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } m.ReplicaSets = append(m.ReplicaSets, &KubeMetadataPayload_ReplicaSet{}) - if err := m.ReplicaSets[len(m.ReplicaSets)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.ReplicaSets[len(m.ReplicaSets)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -5633,7 +4896,7 @@ func (m *KubeMetadataPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -5648,7 +4911,7 @@ func (m *KubeMetadataPayload) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } m.DaemonSets = append(m.DaemonSets, &KubeMetadataPayload_DaemonSet{}) - if err := m.DaemonSets[len(m.DaemonSets)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.DaemonSets[len(m.DaemonSets)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -5664,7 +4927,7 @@ func (m *KubeMetadataPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -5679,7 +4942,7 @@ func (m *KubeMetadataPayload) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } m.Services = append(m.Services, &KubeMetadataPayload_Service{}) - if err := m.Services[len(m.Services)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Services[len(m.Services)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -5695,7 +4958,7 @@ func (m *KubeMetadataPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -5710,7 +4973,7 @@ func (m *KubeMetadataPayload) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } m.Jobs = append(m.Jobs, &KubeMetadataPayload_Job{}) - if err := m.Jobs[len(m.Jobs)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Jobs[len(m.Jobs)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -5726,7 +4989,7 @@ func (m *KubeMetadataPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -5741,7 +5004,7 @@ func (m *KubeMetadataPayload) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } m.Pods = append(m.Pods, &KubeMetadataPayload_Pod{}) - if err := m.Pods[len(m.Pods)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Pods[len(m.Pods)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -5757,7 +5020,7 @@ func (m *KubeMetadataPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -5772,13 +5035,13 @@ func (m *KubeMetadataPayload) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } m.Containers = append(m.Containers, &KubeMetadataPayload_Container{}) - if err := m.Containers[len(m.Containers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Containers[len(m.Containers)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -5797,8 +5060,8 @@ func (m *KubeMetadataPayload) Unmarshal(dAtA []byte) error { } return nil } -func (m *KubeMetadataPayload_Deployment) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *KubeMetadataPayload_Deployment) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -5810,7 +5073,7 @@ func (m *KubeMetadataPayload_Deployment) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -5838,7 +5101,7 @@ func (m *KubeMetadataPayload_Deployment) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -5853,7 +5116,7 @@ func (m *KubeMetadataPayload_Deployment) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Uid = string(dAtA[iNdEx:postIndex]) + m.Uid = string(data[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -5867,7 +5130,7 @@ func (m *KubeMetadataPayload_Deployment) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -5882,7 +5145,7 @@ func (m *KubeMetadataPayload_Deployment) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.Name = string(data[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -5896,7 +5159,7 @@ func (m *KubeMetadataPayload_Deployment) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -5911,11 +5174,11 @@ func (m *KubeMetadataPayload_Deployment) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + m.Namespace = string(data[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -5934,8 +5197,8 @@ func (m *KubeMetadataPayload_Deployment) Unmarshal(dAtA []byte) error { } return nil } -func (m *KubeMetadataPayload_ReplicaSet) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *KubeMetadataPayload_ReplicaSet) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -5947,7 +5210,7 @@ func (m *KubeMetadataPayload_ReplicaSet) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -5975,7 +5238,7 @@ func (m *KubeMetadataPayload_ReplicaSet) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -5990,7 +5253,7 @@ func (m *KubeMetadataPayload_ReplicaSet) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Uid = string(dAtA[iNdEx:postIndex]) + m.Uid = string(data[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -6004,7 +5267,7 @@ func (m *KubeMetadataPayload_ReplicaSet) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6019,7 +5282,7 @@ func (m *KubeMetadataPayload_ReplicaSet) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.Name = string(data[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -6033,7 +5296,7 @@ func (m *KubeMetadataPayload_ReplicaSet) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6048,7 +5311,7 @@ func (m *KubeMetadataPayload_ReplicaSet) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + m.Namespace = string(data[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { @@ -6062,7 +5325,7 @@ func (m *KubeMetadataPayload_ReplicaSet) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6077,11 +5340,11 @@ func (m *KubeMetadataPayload_ReplicaSet) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Deployment = string(dAtA[iNdEx:postIndex]) + m.Deployment = string(data[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -6100,8 +5363,8 @@ func (m *KubeMetadataPayload_ReplicaSet) Unmarshal(dAtA []byte) error { } return nil } -func (m *KubeMetadataPayload_DaemonSet) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *KubeMetadataPayload_DaemonSet) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -6113,7 +5376,7 @@ func (m *KubeMetadataPayload_DaemonSet) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6141,7 +5404,7 @@ func (m *KubeMetadataPayload_DaemonSet) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6156,7 +5419,7 @@ func (m *KubeMetadataPayload_DaemonSet) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Uid = string(dAtA[iNdEx:postIndex]) + m.Uid = string(data[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -6170,7 +5433,7 @@ func (m *KubeMetadataPayload_DaemonSet) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6185,7 +5448,7 @@ func (m *KubeMetadataPayload_DaemonSet) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.Name = string(data[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -6199,7 +5462,7 @@ func (m *KubeMetadataPayload_DaemonSet) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6214,11 +5477,11 @@ func (m *KubeMetadataPayload_DaemonSet) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + m.Namespace = string(data[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -6237,8 +5500,8 @@ func (m *KubeMetadataPayload_DaemonSet) Unmarshal(dAtA []byte) error { } return nil } -func (m *KubeMetadataPayload_Service) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *KubeMetadataPayload_Service) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -6250,7 +5513,7 @@ func (m *KubeMetadataPayload_Service) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6278,7 +5541,7 @@ func (m *KubeMetadataPayload_Service) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6293,7 +5556,7 @@ func (m *KubeMetadataPayload_Service) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Uid = string(dAtA[iNdEx:postIndex]) + m.Uid = string(data[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -6307,7 +5570,7 @@ func (m *KubeMetadataPayload_Service) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6322,7 +5585,7 @@ func (m *KubeMetadataPayload_Service) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.Name = string(data[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -6336,7 +5599,7 @@ func (m *KubeMetadataPayload_Service) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6351,7 +5614,7 @@ func (m *KubeMetadataPayload_Service) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + m.Namespace = string(data[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { @@ -6365,7 +5628,7 @@ func (m *KubeMetadataPayload_Service) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -6387,7 +5650,7 @@ func (m *KubeMetadataPayload_Service) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ keykey |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6402,7 +5665,7 @@ func (m *KubeMetadataPayload_Service) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLenmapkey |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6417,7 +5680,7 @@ func (m *KubeMetadataPayload_Service) Unmarshal(dAtA []byte) error { if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } - mapkey := string(dAtA[iNdEx:postStringIndexmapkey]) + mapkey := string(data[iNdEx:postStringIndexmapkey]) iNdEx = postStringIndexmapkey if m.Selector == nil { m.Selector = make(map[string]string) @@ -6431,7 +5694,7 @@ func (m *KubeMetadataPayload_Service) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ valuekey |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6446,7 +5709,7 @@ func (m *KubeMetadataPayload_Service) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLenmapvalue |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6461,7 +5724,7 @@ func (m *KubeMetadataPayload_Service) Unmarshal(dAtA []byte) error { if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } - mapvalue := string(dAtA[iNdEx:postStringIndexmapvalue]) + mapvalue := string(data[iNdEx:postStringIndexmapvalue]) iNdEx = postStringIndexmapvalue m.Selector[mapkey] = mapvalue } else { @@ -6481,7 +5744,7 @@ func (m *KubeMetadataPayload_Service) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6496,11 +5759,11 @@ func (m *KubeMetadataPayload_Service) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Type = string(dAtA[iNdEx:postIndex]) + m.Type = string(data[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -6519,8 +5782,8 @@ func (m *KubeMetadataPayload_Service) Unmarshal(dAtA []byte) error { } return nil } -func (m *KubeMetadataPayload_Job) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *KubeMetadataPayload_Job) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -6532,7 +5795,7 @@ func (m *KubeMetadataPayload_Job) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6560,7 +5823,7 @@ func (m *KubeMetadataPayload_Job) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6575,7 +5838,7 @@ func (m *KubeMetadataPayload_Job) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Uid = string(dAtA[iNdEx:postIndex]) + m.Uid = string(data[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -6589,7 +5852,7 @@ func (m *KubeMetadataPayload_Job) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6604,7 +5867,7 @@ func (m *KubeMetadataPayload_Job) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.Name = string(data[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -6618,7 +5881,7 @@ func (m *KubeMetadataPayload_Job) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6633,11 +5896,11 @@ func (m *KubeMetadataPayload_Job) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + m.Namespace = string(data[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -6656,8 +5919,8 @@ func (m *KubeMetadataPayload_Job) Unmarshal(dAtA []byte) error { } return nil } -func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *KubeMetadataPayload_Pod) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -6669,7 +5932,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6697,7 +5960,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6712,7 +5975,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Uid = string(dAtA[iNdEx:postIndex]) + m.Uid = string(data[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -6726,7 +5989,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6741,7 +6004,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.Name = string(data[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -6755,7 +6018,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6770,7 +6033,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Namespace = string(dAtA[iNdEx:postIndex]) + m.Namespace = string(data[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { @@ -6784,7 +6047,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6799,7 +6062,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.HostIp = string(dAtA[iNdEx:postIndex]) + m.HostIp = string(data[iNdEx:postIndex]) iNdEx = postIndex case 5: if wireType != 2 { @@ -6813,7 +6076,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6828,7 +6091,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.PodIp = string(dAtA[iNdEx:postIndex]) + m.PodIp = string(data[iNdEx:postIndex]) iNdEx = postIndex case 6: if wireType != 2 { @@ -6842,7 +6105,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -6864,7 +6127,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ keykey |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6879,7 +6142,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLenmapkey |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6894,7 +6157,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } - mapkey := string(dAtA[iNdEx:postStringIndexmapkey]) + mapkey := string(data[iNdEx:postStringIndexmapkey]) iNdEx = postStringIndexmapkey if m.Labels == nil { m.Labels = make(map[string]string) @@ -6908,7 +6171,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ valuekey |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6923,7 +6186,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLenmapvalue |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6938,7 +6201,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } - mapvalue := string(dAtA[iNdEx:postStringIndexmapvalue]) + mapvalue := string(data[iNdEx:postStringIndexmapvalue]) iNdEx = postStringIndexmapvalue m.Labels[mapkey] = mapvalue } else { @@ -6958,7 +6221,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -6973,7 +6236,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ServiceUids = append(m.ServiceUids, string(dAtA[iNdEx:postIndex])) + m.ServiceUids = append(m.ServiceUids, string(data[iNdEx:postIndex])) iNdEx = postIndex case 8: if wireType != 2 { @@ -6987,7 +6250,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -7002,7 +6265,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ContainerIds = append(m.ContainerIds, string(dAtA[iNdEx:postIndex])) + m.ContainerIds = append(m.ContainerIds, string(data[iNdEx:postIndex])) iNdEx = postIndex case 9: if wireType != 2 { @@ -7016,7 +6279,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -7031,7 +6294,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.DaemonSet = string(dAtA[iNdEx:postIndex]) + m.DaemonSet = string(data[iNdEx:postIndex]) iNdEx = postIndex case 10: if wireType != 2 { @@ -7045,7 +6308,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -7060,7 +6323,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ReplicaSet = string(dAtA[iNdEx:postIndex]) + m.ReplicaSet = string(data[iNdEx:postIndex]) iNdEx = postIndex case 11: if wireType != 2 { @@ -7074,7 +6337,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -7089,7 +6352,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ReplicationController = string(dAtA[iNdEx:postIndex]) + m.ReplicationController = string(data[iNdEx:postIndex]) iNdEx = postIndex case 12: if wireType != 2 { @@ -7103,7 +6366,7 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -7118,11 +6381,11 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Job = string(dAtA[iNdEx:postIndex]) + m.Job = string(data[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -7141,8 +6404,8 @@ func (m *KubeMetadataPayload_Pod) Unmarshal(dAtA []byte) error { } return nil } -func (m *KubeMetadataPayload_Container) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *KubeMetadataPayload_Container) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -7154,7 +6417,7 @@ func (m *KubeMetadataPayload_Container) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -7182,7 +6445,7 @@ func (m *KubeMetadataPayload_Container) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -7197,7 +6460,7 @@ func (m *KubeMetadataPayload_Container) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Id = string(dAtA[iNdEx:postIndex]) + m.Id = string(data[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -7211,7 +6474,7 @@ func (m *KubeMetadataPayload_Container) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -7226,7 +6489,7 @@ func (m *KubeMetadataPayload_Container) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.Name = string(data[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -7240,7 +6503,7 @@ func (m *KubeMetadataPayload_Container) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -7255,7 +6518,7 @@ func (m *KubeMetadataPayload_Container) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Image = string(dAtA[iNdEx:postIndex]) + m.Image = string(data[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { @@ -7269,7 +6532,7 @@ func (m *KubeMetadataPayload_Container) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -7284,11 +6547,11 @@ func (m *KubeMetadataPayload_Container) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.ImageId = string(dAtA[iNdEx:postIndex]) + m.ImageId = string(data[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -7307,8 +6570,8 @@ func (m *KubeMetadataPayload_Container) Unmarshal(dAtA []byte) error { } return nil } -func (m *ECSMetadataPayload) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *ECSMetadataPayload) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -7320,7 +6583,7 @@ func (m *ECSMetadataPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -7348,7 +6611,7 @@ func (m *ECSMetadataPayload) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -7363,13 +6626,13 @@ func (m *ECSMetadataPayload) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } m.Tasks = append(m.Tasks, &ECSMetadataPayload_Task{}) - if err := m.Tasks[len(m.Tasks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Tasks[len(m.Tasks)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -7388,8 +6651,8 @@ func (m *ECSMetadataPayload) Unmarshal(dAtA []byte) error { } return nil } -func (m *ECSMetadataPayload_Task) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *ECSMetadataPayload_Task) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -7401,7 +6664,7 @@ func (m *ECSMetadataPayload_Task) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -7429,7 +6692,7 @@ func (m *ECSMetadataPayload_Task) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -7444,7 +6707,7 @@ func (m *ECSMetadataPayload_Task) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Arn = string(dAtA[iNdEx:postIndex]) + m.Arn = string(data[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -7458,7 +6721,7 @@ func (m *ECSMetadataPayload_Task) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -7473,7 +6736,7 @@ func (m *ECSMetadataPayload_Task) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.DesiredStatus = string(dAtA[iNdEx:postIndex]) + m.DesiredStatus = string(data[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -7487,7 +6750,7 @@ func (m *ECSMetadataPayload_Task) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -7502,7 +6765,7 @@ func (m *ECSMetadataPayload_Task) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.KnownStatus = string(dAtA[iNdEx:postIndex]) + m.KnownStatus = string(data[iNdEx:postIndex]) iNdEx = postIndex case 4: if wireType != 2 { @@ -7516,7 +6779,7 @@ func (m *ECSMetadataPayload_Task) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -7531,7 +6794,7 @@ func (m *ECSMetadataPayload_Task) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Family = string(dAtA[iNdEx:postIndex]) + m.Family = string(data[iNdEx:postIndex]) iNdEx = postIndex case 5: if wireType != 2 { @@ -7545,7 +6808,7 @@ func (m *ECSMetadataPayload_Task) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -7560,7 +6823,7 @@ func (m *ECSMetadataPayload_Task) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Version = string(dAtA[iNdEx:postIndex]) + m.Version = string(data[iNdEx:postIndex]) iNdEx = postIndex case 6: if wireType != 2 { @@ -7574,7 +6837,7 @@ func (m *ECSMetadataPayload_Task) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ msglen |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -7589,13 +6852,13 @@ func (m *ECSMetadataPayload_Task) Unmarshal(dAtA []byte) error { return io.ErrUnexpectedEOF } m.Containers = append(m.Containers, &ECSMetadataPayload_Container{}) - if err := m.Containers[len(m.Containers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + if err := m.Containers[len(m.Containers)-1].Unmarshal(data[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -7614,8 +6877,8 @@ func (m *ECSMetadataPayload_Task) Unmarshal(dAtA []byte) error { } return nil } -func (m *ECSMetadataPayload_Container) Unmarshal(dAtA []byte) error { - l := len(dAtA) +func (m *ECSMetadataPayload_Container) Unmarshal(data []byte) error { + l := len(data) iNdEx := 0 for iNdEx < l { preIndex := iNdEx @@ -7627,7 +6890,7 @@ func (m *ECSMetadataPayload_Container) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -7655,7 +6918,7 @@ func (m *ECSMetadataPayload_Container) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -7670,7 +6933,7 @@ func (m *ECSMetadataPayload_Container) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.DockerId = string(dAtA[iNdEx:postIndex]) + m.DockerId = string(data[iNdEx:postIndex]) iNdEx = postIndex case 2: if wireType != 2 { @@ -7684,7 +6947,7 @@ func (m *ECSMetadataPayload_Container) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -7699,7 +6962,7 @@ func (m *ECSMetadataPayload_Container) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.DockerName = string(dAtA[iNdEx:postIndex]) + m.DockerName = string(data[iNdEx:postIndex]) iNdEx = postIndex case 3: if wireType != 2 { @@ -7713,7 +6976,7 @@ func (m *ECSMetadataPayload_Container) Unmarshal(dAtA []byte) error { if iNdEx >= l { return io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ stringLen |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -7728,11 +6991,11 @@ func (m *ECSMetadataPayload_Container) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.Name = string(data[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex - skippy, err := skipAgentPayload(dAtA[iNdEx:]) + skippy, err := skipAgentPayload(data[iNdEx:]) if err != nil { return err } @@ -7751,8 +7014,8 @@ func (m *ECSMetadataPayload_Container) Unmarshal(dAtA []byte) error { } return nil } -func skipAgentPayload(dAtA []byte) (n int, err error) { - l := len(dAtA) +func skipAgentPayload(data []byte) (n int, err error) { + l := len(data) iNdEx := 0 for iNdEx < l { var wire uint64 @@ -7763,7 +7026,7 @@ func skipAgentPayload(dAtA []byte) (n int, err error) { if iNdEx >= l { return 0, io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ wire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -7781,7 +7044,7 @@ func skipAgentPayload(dAtA []byte) (n int, err error) { return 0, io.ErrUnexpectedEOF } iNdEx++ - if dAtA[iNdEx-1] < 0x80 { + if data[iNdEx-1] < 0x80 { break } } @@ -7798,7 +7061,7 @@ func skipAgentPayload(dAtA []byte) (n int, err error) { if iNdEx >= l { return 0, io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ length |= (int(b) & 0x7F) << shift if b < 0x80 { @@ -7821,7 +7084,7 @@ func skipAgentPayload(dAtA []byte) (n int, err error) { if iNdEx >= l { return 0, io.ErrUnexpectedEOF } - b := dAtA[iNdEx] + b := data[iNdEx] iNdEx++ innerWire |= (uint64(b) & 0x7F) << shift if b < 0x80 { @@ -7832,7 +7095,7 @@ func skipAgentPayload(dAtA []byte) (n int, err error) { if innerWireType == 4 { break } - next, err := skipAgentPayload(dAtA[start:]) + next, err := skipAgentPayload(data[start:]) if err != nil { return 0, err } @@ -7859,104 +7122,103 @@ var ( func init() { proto.RegisterFile("agent_payload.proto", fileDescriptorAgentPayload) } var fileDescriptorAgentPayload = []byte{ - // 1569 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xcd, 0x73, 0x1b, 0x45, - 0x16, 0xdf, 0xd1, 0xe8, 0xf3, 0x49, 0xf2, 0xa6, 0x3a, 0x8e, 0x33, 0xab, 0xec, 0x3a, 0x8e, 0xf6, - 0xcb, 0xbb, 0x5b, 0x96, 0xb3, 0x4e, 0x76, 0x21, 0x70, 0x80, 0xc4, 0x36, 0x85, 0xf2, 0x85, 0x19, - 0x99, 0x50, 0x05, 0x15, 0x44, 0x6b, 0xa6, 0x33, 0x9e, 0x78, 0x66, 0x7a, 0x6a, 0xba, 0x65, 0x22, - 0x4e, 0x14, 0x47, 0x8a, 0xe2, 0x2f, 0xe0, 0xc6, 0x8d, 0x7f, 0x84, 0x5c, 0xa8, 0xe2, 0x48, 0x71, - 0xa0, 0x20, 0x27, 0xfe, 0x01, 0x8a, 0x03, 0x17, 0xaa, 0x3f, 0xa6, 0x35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 0x96, 0x07, 0x24, 0x3b, 0x0a, 0x3d, 0xb2, 0x7d, 0x40, - 0xbc, 0x43, 0x13, 0xa4, 0x77, 0x60, 0x89, 0x29, 0xfd, 0xd0, 0x93, 0x13, 0x3a, 0x56, 0xcf, 0xcd, - 0x77, 0x6c, 0x1e, 0xc6, 0x8c, 0xd2, 0x6d, 0xb3, 0xe2, 0x92, 0x13, 0x88, 0xde, 0xc7, 0x16, 0xb4, - 0x8a, 0x5f, 0x10, 0xc4, 0x49, 0x62, 0x54, 0x04, 0xe5, 0xd8, 0xc4, 0xaa, 0x54, 0x88, 0x95, 0x62, - 0xc6, 0x36, 0xcc, 0xac, 0x40, 0x95, 0x71, 0xcc, 0xc7, 0x4c, 0x26, 0x7d, 0xc5, 0xd5, 0x12, 0x72, - 0xa0, 0x16, 0x13, 0xc6, 0x70, 0x40, 0x74, 0xba, 0xe7, 0xa2, 0x09, 0x51, 0x75, 0x1a, 0xa2, 0xee, - 0x27, 0x36, 0xb4, 0x77, 0x8f, 0x48, 0xc2, 0x0d, 0x85, 0x57, 0xa1, 0x4a, 0xa4, 0x42, 0x53, 0xf7, - 0xaf, 0xf9, 0x0e, 0xce, 0x18, 0x29, 0xc9, 0xd5, 0x86, 0x27, 0xc0, 0xd2, 0x4f, 0x16, 0x54, 0x24, - 0xa6, 0x48, 0x00, 0x1e, 0xf2, 0x28, 0xe7, 0x47, 0x09, 0xd2, 0x15, 0xf2, 0xc0, 0x10, 0x24, 0xc6, - 0xc7, 0x08, 0xea, 0x40, 0x3d, 0xcd, 0x42, 0x9a, 0x85, 0x7c, 0xa2, 0xeb, 0x82, 0x91, 0x0d, 0xc1, - 0x95, 0x02, 0xc1, 0x73, 0xe8, 0x41, 0x7f, 0x01, 0xc0, 0x11, 0xc9, 0xb8, 0x4c, 0x60, 0xa7, 0x26, - 0x57, 0x37, 0xa4, 0x46, 0xa4, 0x2e, 0xfa, 0x27, 0xfc, 0x11, 0x07, 0x41, 0x46, 0x02, 0xcc, 0x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0x46, 0x55, 0xf9, - 0x6f, 0xcc, 0xa5, 0x5f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x21, 0xab, 0xb4, 0x6c, 0xe9, 0x11, 0x00, - 0x00, + // 1555 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x58, 0xcd, 0x6f, 0x1b, 0x45, + 0x14, 0x67, 0xbd, 0xf6, 0xda, 0x7e, 0xb6, 0x43, 0x35, 0x69, 0xd3, 0xc5, 0x85, 0x34, 0x35, 0x5f, + 0x11, 0x52, 0x9c, 0x92, 0x96, 0x8f, 0xc2, 0x81, 0xd2, 0x24, 0xa8, 0xee, 0x17, 0x61, 0x1d, 0x8a, + 0x04, 0xaa, 0xcc, 0x78, 0x77, 0xba, 0xd9, 0x66, 0x77, 0x67, 0xb5, 0x33, 0x0e, 0x35, 0x47, 0x8e, + 0xa8, 0x77, 0xfe, 0x00, 0x6e, 0xfc, 0x1f, 0x48, 0xbd, 0x20, 0x71, 0x44, 0x1c, 0x10, 0xf4, 0xc4, + 0x3f, 0x80, 0x38, 0x70, 0x00, 0xcd, 0xc7, 0xae, 0xd7, 0x8d, 0x5b, 0x12, 0xf0, 0xc9, 0xf3, 0xde, + 0xec, 0xfb, 0xcd, 0xbc, 0xf7, 0x7b, 0xf3, 0xe6, 0x8d, 0x61, 0x11, 0xfb, 0x24, 0xe6, 0x83, 0x04, + 0x8f, 0x43, 0x8a, 0xbd, 0x6e, 0x92, 0x52, 0x4e, 0xd1, 0x49, 0x0f, 0x73, 0xec, 0x51, 0xbf, 0x2b, + 0x27, 0xf5, 0x5c, 0x7b, 0xcd, 0x0f, 0xf8, 0xde, 0x68, 0xd8, 0x75, 0x69, 0xb4, 0xee, 0x53, 0x9f, + 0xae, 0xcb, 0x8f, 0x87, 0xa3, 0xbb, 0x52, 0x92, 0x82, 0x1c, 0x29, 0x90, 0xce, 0x0f, 0x06, 0x2c, + 0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0x3a, 0xb0, 0x5a, 0x42, 0x08, 0xca, 0x7c, 0x9c, 0x64, + 0xe1, 0x94, 0x63, 0xa1, 0xdb, 0xa3, 0x8c, 0xcb, 0x08, 0xd6, 0x1d, 0x39, 0x46, 0x57, 0xc1, 0x4a, + 0x68, 0x10, 0x73, 0x66, 0x97, 0xa5, 0x43, 0xe7, 0x8f, 0xee, 0x50, 0x77, 0x47, 0x18, 0x3a, 0xda, + 0x5e, 0xae, 0x88, 0x7d, 0x66, 0x57, 0x56, 0x4c, 0xb9, 0x22, 0xf6, 0x19, 0x5a, 0x85, 0x13, 0x8c, + 0x8e, 0x52, 0x97, 0x0c, 0xc4, 0x06, 0x06, 0x31, 0x8e, 0x88, 0x0e, 0xf1, 0x82, 0xd2, 0xef, 0x8e, + 0x13, 0x72, 0x0b, 0x47, 0xa4, 0xbd, 0x06, 0x15, 0x09, 0x87, 0x16, 0xa0, 0xc4, 0x99, 0x74, 0xc6, + 0x74, 0x4a, 0x9c, 0xa1, 0x93, 0x50, 0x39, 0xc0, 0xe1, 0x48, 0x79, 0x62, 0x38, 0x4a, 0xe8, 0x7c, + 0x5f, 0x82, 0xc5, 0x3e, 0x49, 0x0f, 0x02, 0x97, 0x6c, 0xee, 0x11, 0x77, 0x3f, 0xe3, 0xe7, 0x0e, + 0x2c, 0x30, 0xa5, 0x1e, 0xb8, 0x42, 0x9f, 0xf1, 0xf4, 0xe6, 0x6c, 0xb7, 0x66, 0x40, 0x4c, 0xe9, + 0x9c, 0x16, 0x2b, 0x48, 0xf3, 0xa0, 0xee, 0x81, 0x01, 0xcd, 0xe2, 0x0a, 0x22, 0x6c, 0x32, 0x2c, + 0x8a, 0x3e, 0x39, 0xce, 0x89, 0x2a, 0x15, 0x88, 0x52, 0x71, 0x31, 0xf3, 0xb8, 0x2c, 0x81, 0xc5, + 0x38, 0xe6, 0x23, 0x26, 0xb3, 0xbd, 0xe2, 0x68, 0x09, 0xd9, 0x50, 0x8d, 0x08, 0x63, 0xd8, 0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e, + 0x82, 0x30, 0xeb, 0xea, 0xb5, 0x24, 0xae, 0xf5, 0xec, 0x1f, 0x06, 0xfd, 0xec, 0xd1, 0x22, 0x72, + 0xa6, 0x4a, 0xbc, 0xca, 0xdb, 0x8d, 0x23, 0x3b, 0x38, 0xbb, 0xc2, 0xdf, 0x29, 0x12, 0x75, 0x06, + 0xea, 0x1e, 0x75, 0xf7, 0x65, 0x6e, 0x66, 0x4d, 0x8b, 0x52, 0xf4, 0x3c, 0x91, 0x77, 0x7a, 0xb2, + 0x40, 0x1e, 0x28, 0xd5, 0x2d, 0xfd, 0xd6, 0x93, 0x33, 0xe6, 0x84, 0xd6, 0x2b, 0x17, 0x1f, 0x3e, + 0x5a, 0x36, 0x7e, 0x7c, 0xb4, 0x6c, 0xfc, 0xfa, 0x68, 0xd9, 0xf8, 0xf4, 0x95, 0xc2, 0x9f, 0x30, + 0x5b, 0x98, 0xe3, 0x2d, 0xea, 0xaf, 0xcb, 0x6d, 0xaf, 0xe9, 0x7d, 0xaf, 0xfb, 0xd4, 0x27, 0xf1, + 0xd0, 0x92, 0x7f, 0xc2, 0x5c, 0xf8, 0x27, 0x00, 0x00, 0xff, 0xff, 0x71, 0x19, 0x4c, 0xef, 0xe0, + 0x11, 0x00, 0x00, } diff --git a/python/agent_payload_pb2.py b/python/agent_payload_pb2.py index ebda9ec9..236213ff 100644 --- a/python/agent_payload_pb2.py +++ b/python/agent_payload_pb2.py @@ -20,9 +20,10 @@ name='agent_payload.proto', package='datadog.agentpayload', syntax='proto3', - serialized_pb=_b('\n\x13\x61gent_payload.proto\x12\x14\x64\x61tadog.agentpayload\x1a-github.com/gogo/protobuf/gogoproto/gogo.proto\"\x89\x01\n\x0e\x43ommonMetadata\x12\x15\n\ragent_version\x18\x01 \x01(\t\x12\x10\n\x08timezone\x18\x02 \x01(\t\x12\x15\n\rcurrent_epoch\x18\x03 \x01(\x01\x12\x13\n\x0binternal_ip\x18\x04 \x01(\t\x12\x11\n\tpublic_ip\x18\x05 \x01(\t\x12\x0f\n\x07\x61pi_key\x18\x06 \x01(\t\"\xcc\x02\n\x0eMetricsPayload\x12<\n\x07samples\x18\x01 \x03(\x0b\x32+.datadog.agentpayload.MetricsPayload.Sample\x12\x36\n\x08metadata\x18\x02 \x01(\x0b\x32$.datadog.agentpayload.CommonMetadata\x1a\xc3\x01\n\x06Sample\x12\x0e\n\x06metric\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0c\n\x04host\x18\x03 \x01(\t\x12\x41\n\x06points\x18\x04 \x03(\x0b\x32\x31.datadog.agentpayload.MetricsPayload.Sample.Point\x12\x0c\n\x04tags\x18\x05 \x03(\t\x12\x18\n\x10source_type_name\x18\x06 \x01(\t\x1a\"\n\x05Point\x12\n\n\x02ts\x18\x01 \x01(\x03\x12\r\n\x05value\x18\x02 \x01(\x01\"\x86\x02\n\x14ServiceChecksPayload\x12O\n\x0eservice_checks\x18\x01 \x03(\x0b\x32\x37.datadog.agentpayload.ServiceChecksPayload.ServiceCheck\x12\x36\n\x08metadata\x18\x02 \x01(\x0b\x32$.datadog.agentpayload.CommonMetadata\x1a\x65\n\x0cServiceCheck\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04host\x18\x02 \x01(\t\x12\n\n\x02ts\x18\x03 \x01(\x03\x12\x0e\n\x06status\x18\x04 \x01(\x05\x12\x0f\n\x07message\x18\x05 \x01(\t\x12\x0c\n\x04tags\x18\x06 \x03(\t\"\xaa\x02\n\rEventsPayload\x12\x39\n\x06\x65vents\x18\x01 \x03(\x0b\x32).datadog.agentpayload.EventsPayload.Event\x12\x36\n\x08metadata\x18\x02 \x01(\x0b\x32$.datadog.agentpayload.CommonMetadata\x1a\xa5\x01\n\x05\x45vent\x12\r\n\x05title\x18\x01 \x01(\t\x12\x0c\n\x04text\x18\x02 \x01(\t\x12\n\n\x02ts\x18\x03 \x01(\x03\x12\x10\n\x08priority\x18\x04 \x01(\t\x12\x0c\n\x04host\x18\x05 \x01(\t\x12\x0c\n\x04tags\x18\x06 \x03(\t\x12\x12\n\nalert_type\x18\x07 \x01(\t\x12\x17\n\x0f\x61ggregation_key\x18\x08 \x01(\t\x12\x18\n\x10source_type_name\x18\t \x01(\t\"\xa1\x03\n\rSketchPayload\x12\x42\n\x08sketches\x18\x01 \x03(\x0b\x32*.datadog.agentpayload.SketchPayload.SketchB\x04\xc8\xde\x1f\x00\x12<\n\x08metadata\x18\x02 \x01(\x0b\x32$.datadog.agentpayload.CommonMetadataB\x04\xc8\xde\x1f\x00\x1a\x8d\x02\n\x06Sketch\x12\x0e\n\x06metric\x18\x01 \x01(\t\x12\x0c\n\x04host\x18\x02 \x01(\t\x12T\n\rdistributions\x18\x03 \x03(\x0b\x32\x37.datadog.agentpayload.SketchPayload.Sketch.DistributionB\x04\xc8\xde\x1f\x00\x12\x0c\n\x04tags\x18\x04 \x03(\t\x1a\x80\x01\n\x0c\x44istribution\x12\n\n\x02ts\x18\x01 \x01(\x03\x12\x0b\n\x03\x63nt\x18\x02 \x01(\x03\x12\x0b\n\x03min\x18\x03 \x01(\x01\x12\x0b\n\x03max\x18\x04 \x01(\x01\x12\x0b\n\x03\x61vg\x18\x05 \x01(\x01\x12\x0b\n\x03sum\x18\x06 \x01(\x01\x12\t\n\x01v\x18\x07 \x03(\x01\x12\t\n\x01g\x18\x08 \x03(\r\x12\r\n\x05\x64\x65lta\x18\t \x03(\r\"\xb6\x02\n\x13HostMetadataPayload\x12N\n\x0ehosts_metadata\x18\x01 \x03(\x0b\x32\x36.datadog.agentpayload.HostMetadataPayload.HostMetadata\x12\x36\n\x08metadata\x18\x02 \x01(\x0b\x32$.datadog.agentpayload.CommonMetadata\x1a$\n\x06TagSet\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04tags\x18\x02 \x03(\t\x1aq\n\x0cHostMetadata\x12\x10\n\x08hostname\x18\x01 \x01(\t\x12>\n\x04tags\x18\x02 \x03(\x0b\x32\x30.datadog.agentpayload.HostMetadataPayload.TagSet\x12\x0f\n\x07\x61liases\x18\x03 \x03(\t\"\xe2\n\n\x13KubeMetadataPayload\x12I\n\x0b\x64\x65ployments\x18\x01 \x03(\x0b\x32\x34.datadog.agentpayload.KubeMetadataPayload.Deployment\x12J\n\x0creplica_sets\x18\x02 \x03(\x0b\x32\x34.datadog.agentpayload.KubeMetadataPayload.ReplicaSet\x12H\n\x0b\x64\x61\x65mon_sets\x18\x03 \x03(\x0b\x32\x33.datadog.agentpayload.KubeMetadataPayload.DaemonSet\x12\x43\n\x08services\x18\x04 \x03(\x0b\x32\x31.datadog.agentpayload.KubeMetadataPayload.Service\x12;\n\x04jobs\x18\x05 \x03(\x0b\x32-.datadog.agentpayload.KubeMetadataPayload.Job\x12;\n\x04pods\x18\x06 \x03(\x0b\x32-.datadog.agentpayload.KubeMetadataPayload.Pod\x12G\n\ncontainers\x18\x07 \x03(\x0b\x32\x33.datadog.agentpayload.KubeMetadataPayload.Container\x1a:\n\nDeployment\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x1aN\n\nReplicaSet\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x12\n\ndeployment\x18\x04 \x01(\t\x1a\x39\n\tDaemonSet\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x1a\xc9\x01\n\x07Service\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12Q\n\x08selector\x18\x04 \x03(\x0b\x32?.datadog.agentpayload.KubeMetadataPayload.Service.SelectorEntry\x12\x0c\n\x04type\x18\x05 \x01(\t\x1a/\n\rSelectorEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x33\n\x03Job\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x1a\xd1\x02\n\x03Pod\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x0f\n\x07host_ip\x18\x04 \x01(\t\x12\x0e\n\x06pod_ip\x18\x05 \x01(\t\x12I\n\x06labels\x18\x06 \x03(\x0b\x32\x39.datadog.agentpayload.KubeMetadataPayload.Pod.LabelsEntry\x12\x14\n\x0cservice_uids\x18\x07 \x03(\t\x12\x15\n\rcontainer_ids\x18\x08 \x03(\t\x12\x12\n\ndaemon_set\x18\t \x01(\t\x12\x13\n\x0breplica_set\x18\n \x01(\t\x12\x1e\n\x16replication_controller\x18\x0b \x01(\t\x12\x0b\n\x03job\x18\x0c \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x46\n\tContainer\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\r\n\x05image\x18\x03 \x01(\t\x12\x10\n\x08image_id\x18\x04 \x01(\t\"\xc2\x02\n\x12\x45\x43SMetadataPayload\x12<\n\x05tasks\x18\x01 \x03(\x0b\x32-.datadog.agentpayload.ECSMetadataPayload.Task\x1a\xaa\x01\n\x04Task\x12\x0b\n\x03\x61rn\x18\x01 \x01(\t\x12\x16\n\x0e\x64\x65sired_status\x18\x02 \x01(\t\x12\x14\n\x0cknown_status\x18\x03 \x01(\t\x12\x0e\n\x06\x66\x61mily\x18\x04 \x01(\t\x12\x0f\n\x07version\x18\x05 \x01(\t\x12\x46\n\ncontainers\x18\x06 \x03(\x0b\x32\x32.datadog.agentpayload.ECSMetadataPayload.Container\x1a\x41\n\tContainer\x12\x11\n\tdocker_id\x18\x01 \x01(\t\x12\x13\n\x0b\x64ocker_name\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\tB(Z&github.com/DataDog/agent-payload/gogenb\x06proto3') + serialized_pb=_b('\n\x13\x61gent_payload.proto\x12\x14\x64\x61tadog.agentpayload\x1a-github.com/gogo/protobuf/gogoproto/gogo.proto\"\x89\x01\n\x0e\x43ommonMetadata\x12\x15\n\ragent_version\x18\x01 \x01(\t\x12\x10\n\x08timezone\x18\x02 \x01(\t\x12\x15\n\rcurrent_epoch\x18\x03 \x01(\x01\x12\x13\n\x0binternal_ip\x18\x04 \x01(\t\x12\x11\n\tpublic_ip\x18\x05 \x01(\t\x12\x0f\n\x07\x61pi_key\x18\x06 \x01(\t\"\xc8\x02\n\rMetricPayload\x12:\n\x06series\x18\x01 \x03(\x0b\x32*.datadog.agentpayload.MetricPayload.Series\x12\x36\n\x08metadata\x18\x02 \x01(\x0b\x32$.datadog.agentpayload.CommonMetadata\x1a\xc2\x01\n\x06Series\x12\x0e\n\x06metric\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0c\n\x04host\x18\x03 \x01(\t\x12@\n\x06points\x18\x04 \x03(\x0b\x32\x30.datadog.agentpayload.MetricPayload.Series.Point\x12\x0c\n\x04tags\x18\x05 \x03(\t\x12\x18\n\x10source_type_name\x18\x06 \x01(\t\x1a\"\n\x05Point\x12\n\n\x02ts\x18\x01 \x01(\x03\x12\r\n\x05value\x18\x02 \x01(\x01\"\x84\x02\n\x13ServiceCheckPayload\x12N\n\x0eservice_checks\x18\x01 \x03(\x0b\x32\x36.datadog.agentpayload.ServiceCheckPayload.ServiceCheck\x12\x36\n\x08metadata\x18\x02 \x01(\x0b\x32$.datadog.agentpayload.CommonMetadata\x1a\x65\n\x0cServiceCheck\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04host\x18\x02 \x01(\t\x12\n\n\x02ts\x18\x03 \x01(\x03\x12\x0e\n\x06status\x18\x04 \x01(\x05\x12\x0f\n\x07message\x18\x05 \x01(\t\x12\x0c\n\x04tags\x18\x06 \x03(\t\"\xa8\x02\n\x0c\x45ventPayload\x12\x38\n\x06\x65vents\x18\x01 \x03(\x0b\x32(.datadog.agentpayload.EventPayload.Event\x12\x36\n\x08metadata\x18\x02 \x01(\x0b\x32$.datadog.agentpayload.CommonMetadata\x1a\xa5\x01\n\x05\x45vent\x12\r\n\x05title\x18\x01 \x01(\t\x12\x0c\n\x04text\x18\x02 \x01(\t\x12\n\n\x02ts\x18\x03 \x01(\x03\x12\x10\n\x08priority\x18\x04 \x01(\t\x12\x0c\n\x04host\x18\x05 \x01(\t\x12\x0c\n\x04tags\x18\x06 \x03(\t\x12\x12\n\nalert_type\x18\x07 \x01(\t\x12\x17\n\x0f\x61ggregation_key\x18\x08 \x01(\t\x12\x18\n\x10source_type_name\x18\t \x01(\t\"\xa1\x03\n\rSketchPayload\x12\x42\n\x08sketches\x18\x01 \x03(\x0b\x32*.datadog.agentpayload.SketchPayload.SketchB\x04\xc8\xde\x1f\x00\x12<\n\x08metadata\x18\x02 \x01(\x0b\x32$.datadog.agentpayload.CommonMetadataB\x04\xc8\xde\x1f\x00\x1a\x8d\x02\n\x06Sketch\x12\x0e\n\x06metric\x18\x01 \x01(\t\x12\x0c\n\x04host\x18\x02 \x01(\t\x12T\n\rdistributions\x18\x03 \x03(\x0b\x32\x37.datadog.agentpayload.SketchPayload.Sketch.DistributionB\x04\xc8\xde\x1f\x00\x12\x0c\n\x04tags\x18\x04 \x03(\t\x1a\x80\x01\n\x0c\x44istribution\x12\n\n\x02ts\x18\x01 \x01(\x03\x12\x0b\n\x03\x63nt\x18\x02 \x01(\x03\x12\x0b\n\x03min\x18\x03 \x01(\x01\x12\x0b\n\x03max\x18\x04 \x01(\x01\x12\x0b\n\x03\x61vg\x18\x05 \x01(\x01\x12\x0b\n\x03sum\x18\x06 \x01(\x01\x12\t\n\x01v\x18\x07 \x03(\x01\x12\t\n\x01g\x18\x08 \x03(\r\x12\r\n\x05\x64\x65lta\x18\t \x03(\r\"\xb6\x02\n\x13HostMetadataPayload\x12N\n\x0ehosts_metadata\x18\x01 \x03(\x0b\x32\x36.datadog.agentpayload.HostMetadataPayload.HostMetadata\x12\x36\n\x08metadata\x18\x02 \x01(\x0b\x32$.datadog.agentpayload.CommonMetadata\x1a$\n\x06TagSet\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04tags\x18\x02 \x03(\t\x1aq\n\x0cHostMetadata\x12\x10\n\x08hostname\x18\x01 \x01(\t\x12>\n\x04tags\x18\x02 \x03(\x0b\x32\x30.datadog.agentpayload.HostMetadataPayload.TagSet\x12\x0f\n\x07\x61liases\x18\x03 \x03(\t\"\xe2\n\n\x13KubeMetadataPayload\x12I\n\x0b\x64\x65ployments\x18\x01 \x03(\x0b\x32\x34.datadog.agentpayload.KubeMetadataPayload.Deployment\x12J\n\x0creplica_sets\x18\x02 \x03(\x0b\x32\x34.datadog.agentpayload.KubeMetadataPayload.ReplicaSet\x12H\n\x0b\x64\x61\x65mon_sets\x18\x03 \x03(\x0b\x32\x33.datadog.agentpayload.KubeMetadataPayload.DaemonSet\x12\x43\n\x08services\x18\x04 \x03(\x0b\x32\x31.datadog.agentpayload.KubeMetadataPayload.Service\x12;\n\x04jobs\x18\x05 \x03(\x0b\x32-.datadog.agentpayload.KubeMetadataPayload.Job\x12;\n\x04pods\x18\x06 \x03(\x0b\x32-.datadog.agentpayload.KubeMetadataPayload.Pod\x12G\n\ncontainers\x18\x07 \x03(\x0b\x32\x33.datadog.agentpayload.KubeMetadataPayload.Container\x1a:\n\nDeployment\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x1aN\n\nReplicaSet\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x12\n\ndeployment\x18\x04 \x01(\t\x1a\x39\n\tDaemonSet\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x1a\xc9\x01\n\x07Service\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12Q\n\x08selector\x18\x04 \x03(\x0b\x32?.datadog.agentpayload.KubeMetadataPayload.Service.SelectorEntry\x12\x0c\n\x04type\x18\x05 \x01(\t\x1a/\n\rSelectorEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x33\n\x03Job\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x1a\xd1\x02\n\x03Pod\x12\x0b\n\x03uid\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tnamespace\x18\x03 \x01(\t\x12\x0f\n\x07host_ip\x18\x04 \x01(\t\x12\x0e\n\x06pod_ip\x18\x05 \x01(\t\x12I\n\x06labels\x18\x06 \x03(\x0b\x32\x39.datadog.agentpayload.KubeMetadataPayload.Pod.LabelsEntry\x12\x14\n\x0cservice_uids\x18\x07 \x03(\t\x12\x15\n\rcontainer_ids\x18\x08 \x03(\t\x12\x12\n\ndaemon_set\x18\t \x01(\t\x12\x13\n\x0breplica_set\x18\n \x01(\t\x12\x1e\n\x16replication_controller\x18\x0b \x01(\t\x12\x0b\n\x03job\x18\x0c \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x46\n\tContainer\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\r\n\x05image\x18\x03 \x01(\t\x12\x10\n\x08image_id\x18\x04 \x01(\t\"\xc2\x02\n\x12\x45\x43SMetadataPayload\x12<\n\x05tasks\x18\x01 \x03(\x0b\x32-.datadog.agentpayload.ECSMetadataPayload.Task\x1a\xaa\x01\n\x04Task\x12\x0b\n\x03\x61rn\x18\x01 \x01(\t\x12\x16\n\x0e\x64\x65sired_status\x18\x02 \x01(\t\x12\x14\n\x0cknown_status\x18\x03 \x01(\t\x12\x0e\n\x06\x66\x61mily\x18\x04 \x01(\t\x12\x0f\n\x07version\x18\x05 \x01(\t\x12\x46\n\ncontainers\x18\x06 \x03(\x0b\x32\x32.datadog.agentpayload.ECSMetadataPayload.Container\x1a\x41\n\tContainer\x12\x11\n\tdocker_id\x18\x01 \x01(\t\x12\x13\n\x0b\x64ocker_name\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\tB(Z&github.com/DataDog/agent-payload/gogenb\x06proto3') , dependencies=[github_dot_com_dot_gogo_dot_protobuf_dot_gogoproto_dot_gogo__pb2.DESCRIPTOR,]) +_sym_db.RegisterFileDescriptor(DESCRIPTOR) @@ -93,22 +94,22 @@ ) -_METRICSPAYLOAD_SAMPLE_POINT = _descriptor.Descriptor( +_METRICPAYLOAD_SERIES_POINT = _descriptor.Descriptor( name='Point', - full_name='datadog.agentpayload.MetricsPayload.Sample.Point', + full_name='datadog.agentpayload.MetricPayload.Series.Point', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='ts', full_name='datadog.agentpayload.MetricsPayload.Sample.Point.ts', index=0, + name='ts', full_name='datadog.agentpayload.MetricPayload.Series.Point.ts', index=0, number=1, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='value', full_name='datadog.agentpayload.MetricsPayload.Sample.Point.value', index=1, + name='value', full_name='datadog.agentpayload.MetricPayload.Series.Point.value', index=1, number=2, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, @@ -126,54 +127,54 @@ extension_ranges=[], oneofs=[ ], - serialized_start=531, - serialized_end=565, + serialized_start=527, + serialized_end=561, ) -_METRICSPAYLOAD_SAMPLE = _descriptor.Descriptor( - name='Sample', - full_name='datadog.agentpayload.MetricsPayload.Sample', +_METRICPAYLOAD_SERIES = _descriptor.Descriptor( + name='Series', + full_name='datadog.agentpayload.MetricPayload.Series', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='metric', full_name='datadog.agentpayload.MetricsPayload.Sample.metric', index=0, + name='metric', full_name='datadog.agentpayload.MetricPayload.Series.metric', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='type', full_name='datadog.agentpayload.MetricsPayload.Sample.type', index=1, + name='type', full_name='datadog.agentpayload.MetricPayload.Series.type', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='host', full_name='datadog.agentpayload.MetricsPayload.Sample.host', index=2, + name='host', full_name='datadog.agentpayload.MetricPayload.Series.host', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='points', full_name='datadog.agentpayload.MetricsPayload.Sample.points', index=3, + name='points', full_name='datadog.agentpayload.MetricPayload.Series.points', index=3, number=4, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='tags', full_name='datadog.agentpayload.MetricsPayload.Sample.tags', index=4, + name='tags', full_name='datadog.agentpayload.MetricPayload.Series.tags', index=4, number=5, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='source_type_name', full_name='datadog.agentpayload.MetricsPayload.Sample.source_type_name', index=5, + name='source_type_name', full_name='datadog.agentpayload.MetricPayload.Series.source_type_name', index=5, number=6, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -182,7 +183,7 @@ ], extensions=[ ], - nested_types=[_METRICSPAYLOAD_SAMPLE_POINT, ], + nested_types=[_METRICPAYLOAD_SERIES_POINT, ], enum_types=[ ], options=None, @@ -191,26 +192,26 @@ extension_ranges=[], oneofs=[ ], - serialized_start=370, - serialized_end=565, + serialized_start=367, + serialized_end=561, ) -_METRICSPAYLOAD = _descriptor.Descriptor( - name='MetricsPayload', - full_name='datadog.agentpayload.MetricsPayload', +_METRICPAYLOAD = _descriptor.Descriptor( + name='MetricPayload', + full_name='datadog.agentpayload.MetricPayload', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='samples', full_name='datadog.agentpayload.MetricsPayload.samples', index=0, + name='series', full_name='datadog.agentpayload.MetricPayload.series', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='metadata', full_name='datadog.agentpayload.MetricsPayload.metadata', index=1, + name='metadata', full_name='datadog.agentpayload.MetricPayload.metadata', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -219,7 +220,7 @@ ], extensions=[ ], - nested_types=[_METRICSPAYLOAD_SAMPLE, ], + nested_types=[_METRICPAYLOAD_SERIES, ], enum_types=[ ], options=None, @@ -229,54 +230,54 @@ oneofs=[ ], serialized_start=233, - serialized_end=565, + serialized_end=561, ) -_SERVICECHECKSPAYLOAD_SERVICECHECK = _descriptor.Descriptor( +_SERVICECHECKPAYLOAD_SERVICECHECK = _descriptor.Descriptor( name='ServiceCheck', - full_name='datadog.agentpayload.ServiceChecksPayload.ServiceCheck', + full_name='datadog.agentpayload.ServiceCheckPayload.ServiceCheck', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='name', full_name='datadog.agentpayload.ServiceChecksPayload.ServiceCheck.name', index=0, + name='name', full_name='datadog.agentpayload.ServiceCheckPayload.ServiceCheck.name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='host', full_name='datadog.agentpayload.ServiceChecksPayload.ServiceCheck.host', index=1, + name='host', full_name='datadog.agentpayload.ServiceCheckPayload.ServiceCheck.host', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='ts', full_name='datadog.agentpayload.ServiceChecksPayload.ServiceCheck.ts', index=2, + name='ts', full_name='datadog.agentpayload.ServiceCheckPayload.ServiceCheck.ts', index=2, number=3, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='status', full_name='datadog.agentpayload.ServiceChecksPayload.ServiceCheck.status', index=3, + name='status', full_name='datadog.agentpayload.ServiceCheckPayload.ServiceCheck.status', index=3, number=4, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='message', full_name='datadog.agentpayload.ServiceChecksPayload.ServiceCheck.message', index=4, + name='message', full_name='datadog.agentpayload.ServiceCheckPayload.ServiceCheck.message', index=4, number=5, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='tags', full_name='datadog.agentpayload.ServiceChecksPayload.ServiceCheck.tags', index=5, + name='tags', full_name='datadog.agentpayload.ServiceCheckPayload.ServiceCheck.tags', index=5, number=6, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, @@ -294,26 +295,26 @@ extension_ranges=[], oneofs=[ ], - serialized_start=729, - serialized_end=830, + serialized_start=723, + serialized_end=824, ) -_SERVICECHECKSPAYLOAD = _descriptor.Descriptor( - name='ServiceChecksPayload', - full_name='datadog.agentpayload.ServiceChecksPayload', +_SERVICECHECKPAYLOAD = _descriptor.Descriptor( + name='ServiceCheckPayload', + full_name='datadog.agentpayload.ServiceCheckPayload', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='service_checks', full_name='datadog.agentpayload.ServiceChecksPayload.service_checks', index=0, + name='service_checks', full_name='datadog.agentpayload.ServiceCheckPayload.service_checks', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='metadata', full_name='datadog.agentpayload.ServiceChecksPayload.metadata', index=1, + name='metadata', full_name='datadog.agentpayload.ServiceCheckPayload.metadata', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -322,7 +323,7 @@ ], extensions=[ ], - nested_types=[_SERVICECHECKSPAYLOAD_SERVICECHECK, ], + nested_types=[_SERVICECHECKPAYLOAD_SERVICECHECK, ], enum_types=[ ], options=None, @@ -331,76 +332,76 @@ extension_ranges=[], oneofs=[ ], - serialized_start=568, - serialized_end=830, + serialized_start=564, + serialized_end=824, ) -_EVENTSPAYLOAD_EVENT = _descriptor.Descriptor( +_EVENTPAYLOAD_EVENT = _descriptor.Descriptor( name='Event', - full_name='datadog.agentpayload.EventsPayload.Event', + full_name='datadog.agentpayload.EventPayload.Event', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='title', full_name='datadog.agentpayload.EventsPayload.Event.title', index=0, + name='title', full_name='datadog.agentpayload.EventPayload.Event.title', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='text', full_name='datadog.agentpayload.EventsPayload.Event.text', index=1, + name='text', full_name='datadog.agentpayload.EventPayload.Event.text', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='ts', full_name='datadog.agentpayload.EventsPayload.Event.ts', index=2, + name='ts', full_name='datadog.agentpayload.EventPayload.Event.ts', index=2, number=3, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='priority', full_name='datadog.agentpayload.EventsPayload.Event.priority', index=3, + name='priority', full_name='datadog.agentpayload.EventPayload.Event.priority', index=3, number=4, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='host', full_name='datadog.agentpayload.EventsPayload.Event.host', index=4, + name='host', full_name='datadog.agentpayload.EventPayload.Event.host', index=4, number=5, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='tags', full_name='datadog.agentpayload.EventsPayload.Event.tags', index=5, + name='tags', full_name='datadog.agentpayload.EventPayload.Event.tags', index=5, number=6, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='alert_type', full_name='datadog.agentpayload.EventsPayload.Event.alert_type', index=6, + name='alert_type', full_name='datadog.agentpayload.EventPayload.Event.alert_type', index=6, number=7, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='aggregation_key', full_name='datadog.agentpayload.EventsPayload.Event.aggregation_key', index=7, + name='aggregation_key', full_name='datadog.agentpayload.EventPayload.Event.aggregation_key', index=7, number=8, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='source_type_name', full_name='datadog.agentpayload.EventsPayload.Event.source_type_name', index=8, + name='source_type_name', full_name='datadog.agentpayload.EventPayload.Event.source_type_name', index=8, number=9, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, @@ -418,26 +419,26 @@ extension_ranges=[], oneofs=[ ], - serialized_start=966, - serialized_end=1131, + serialized_start=958, + serialized_end=1123, ) -_EVENTSPAYLOAD = _descriptor.Descriptor( - name='EventsPayload', - full_name='datadog.agentpayload.EventsPayload', +_EVENTPAYLOAD = _descriptor.Descriptor( + name='EventPayload', + full_name='datadog.agentpayload.EventPayload', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( - name='events', full_name='datadog.agentpayload.EventsPayload.events', index=0, + name='events', full_name='datadog.agentpayload.EventPayload.events', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( - name='metadata', full_name='datadog.agentpayload.EventsPayload.metadata', index=1, + name='metadata', full_name='datadog.agentpayload.EventPayload.metadata', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, @@ -446,7 +447,7 @@ ], extensions=[ ], - nested_types=[_EVENTSPAYLOAD_EVENT, ], + nested_types=[_EVENTPAYLOAD_EVENT, ], enum_types=[ ], options=None, @@ -455,8 +456,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=833, - serialized_end=1131, + serialized_start=827, + serialized_end=1123, ) @@ -542,8 +543,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1423, - serialized_end=1551, + serialized_start=1415, + serialized_end=1543, ) _SKETCHPAYLOAD_SKETCH = _descriptor.Descriptor( @@ -593,8 +594,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1282, - serialized_end=1551, + serialized_start=1274, + serialized_end=1543, ) _SKETCHPAYLOAD = _descriptor.Descriptor( @@ -630,8 +631,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1134, - serialized_end=1551, + serialized_start=1126, + serialized_end=1543, ) @@ -668,8 +669,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1713, - serialized_end=1749, + serialized_start=1705, + serialized_end=1741, ) _HOSTMETADATAPAYLOAD_HOSTMETADATA = _descriptor.Descriptor( @@ -712,8 +713,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1751, - serialized_end=1864, + serialized_start=1743, + serialized_end=1856, ) _HOSTMETADATAPAYLOAD = _descriptor.Descriptor( @@ -749,8 +750,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1554, - serialized_end=1864, + serialized_start=1546, + serialized_end=1856, ) @@ -794,8 +795,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2379, - serialized_end=2437, + serialized_start=2371, + serialized_end=2429, ) _KUBEMETADATAPAYLOAD_REPLICASET = _descriptor.Descriptor( @@ -845,8 +846,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2439, - serialized_end=2517, + serialized_start=2431, + serialized_end=2509, ) _KUBEMETADATAPAYLOAD_DAEMONSET = _descriptor.Descriptor( @@ -889,8 +890,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2519, - serialized_end=2576, + serialized_start=2511, + serialized_end=2568, ) _KUBEMETADATAPAYLOAD_SERVICE_SELECTORENTRY = _descriptor.Descriptor( @@ -926,8 +927,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2733, - serialized_end=2780, + serialized_start=2725, + serialized_end=2772, ) _KUBEMETADATAPAYLOAD_SERVICE = _descriptor.Descriptor( @@ -984,8 +985,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2579, - serialized_end=2780, + serialized_start=2571, + serialized_end=2772, ) _KUBEMETADATAPAYLOAD_JOB = _descriptor.Descriptor( @@ -1028,8 +1029,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2782, - serialized_end=2833, + serialized_start=2774, + serialized_end=2825, ) _KUBEMETADATAPAYLOAD_POD_LABELSENTRY = _descriptor.Descriptor( @@ -1065,8 +1066,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3128, - serialized_end=3173, + serialized_start=3120, + serialized_end=3165, ) _KUBEMETADATAPAYLOAD_POD = _descriptor.Descriptor( @@ -1172,8 +1173,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=2836, - serialized_end=3173, + serialized_start=2828, + serialized_end=3165, ) _KUBEMETADATAPAYLOAD_CONTAINER = _descriptor.Descriptor( @@ -1223,8 +1224,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3175, - serialized_end=3245, + serialized_start=3167, + serialized_end=3237, ) _KUBEMETADATAPAYLOAD = _descriptor.Descriptor( @@ -1295,8 +1296,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=1867, - serialized_end=3245, + serialized_start=1859, + serialized_end=3237, ) @@ -1361,8 +1362,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3333, - serialized_end=3503, + serialized_start=3325, + serialized_end=3495, ) _ECSMETADATAPAYLOAD_CONTAINER = _descriptor.Descriptor( @@ -1405,8 +1406,8 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3505, - serialized_end=3570, + serialized_start=3497, + serialized_end=3562, ) _ECSMETADATAPAYLOAD = _descriptor.Descriptor( @@ -1435,21 +1436,21 @@ extension_ranges=[], oneofs=[ ], - serialized_start=3248, - serialized_end=3570, + serialized_start=3240, + serialized_end=3562, ) -_METRICSPAYLOAD_SAMPLE_POINT.containing_type = _METRICSPAYLOAD_SAMPLE -_METRICSPAYLOAD_SAMPLE.fields_by_name['points'].message_type = _METRICSPAYLOAD_SAMPLE_POINT -_METRICSPAYLOAD_SAMPLE.containing_type = _METRICSPAYLOAD -_METRICSPAYLOAD.fields_by_name['samples'].message_type = _METRICSPAYLOAD_SAMPLE -_METRICSPAYLOAD.fields_by_name['metadata'].message_type = _COMMONMETADATA -_SERVICECHECKSPAYLOAD_SERVICECHECK.containing_type = _SERVICECHECKSPAYLOAD -_SERVICECHECKSPAYLOAD.fields_by_name['service_checks'].message_type = _SERVICECHECKSPAYLOAD_SERVICECHECK -_SERVICECHECKSPAYLOAD.fields_by_name['metadata'].message_type = _COMMONMETADATA -_EVENTSPAYLOAD_EVENT.containing_type = _EVENTSPAYLOAD -_EVENTSPAYLOAD.fields_by_name['events'].message_type = _EVENTSPAYLOAD_EVENT -_EVENTSPAYLOAD.fields_by_name['metadata'].message_type = _COMMONMETADATA +_METRICPAYLOAD_SERIES_POINT.containing_type = _METRICPAYLOAD_SERIES +_METRICPAYLOAD_SERIES.fields_by_name['points'].message_type = _METRICPAYLOAD_SERIES_POINT +_METRICPAYLOAD_SERIES.containing_type = _METRICPAYLOAD +_METRICPAYLOAD.fields_by_name['series'].message_type = _METRICPAYLOAD_SERIES +_METRICPAYLOAD.fields_by_name['metadata'].message_type = _COMMONMETADATA +_SERVICECHECKPAYLOAD_SERVICECHECK.containing_type = _SERVICECHECKPAYLOAD +_SERVICECHECKPAYLOAD.fields_by_name['service_checks'].message_type = _SERVICECHECKPAYLOAD_SERVICECHECK +_SERVICECHECKPAYLOAD.fields_by_name['metadata'].message_type = _COMMONMETADATA +_EVENTPAYLOAD_EVENT.containing_type = _EVENTPAYLOAD +_EVENTPAYLOAD.fields_by_name['events'].message_type = _EVENTPAYLOAD_EVENT +_EVENTPAYLOAD.fields_by_name['metadata'].message_type = _COMMONMETADATA _SKETCHPAYLOAD_SKETCH_DISTRIBUTION.containing_type = _SKETCHPAYLOAD_SKETCH _SKETCHPAYLOAD_SKETCH.fields_by_name['distributions'].message_type = _SKETCHPAYLOAD_SKETCH_DISTRIBUTION _SKETCHPAYLOAD_SKETCH.containing_type = _SKETCHPAYLOAD @@ -1483,14 +1484,13 @@ _ECSMETADATAPAYLOAD_CONTAINER.containing_type = _ECSMETADATAPAYLOAD _ECSMETADATAPAYLOAD.fields_by_name['tasks'].message_type = _ECSMETADATAPAYLOAD_TASK DESCRIPTOR.message_types_by_name['CommonMetadata'] = _COMMONMETADATA -DESCRIPTOR.message_types_by_name['MetricsPayload'] = _METRICSPAYLOAD -DESCRIPTOR.message_types_by_name['ServiceChecksPayload'] = _SERVICECHECKSPAYLOAD -DESCRIPTOR.message_types_by_name['EventsPayload'] = _EVENTSPAYLOAD +DESCRIPTOR.message_types_by_name['MetricPayload'] = _METRICPAYLOAD +DESCRIPTOR.message_types_by_name['ServiceCheckPayload'] = _SERVICECHECKPAYLOAD +DESCRIPTOR.message_types_by_name['EventPayload'] = _EVENTPAYLOAD DESCRIPTOR.message_types_by_name['SketchPayload'] = _SKETCHPAYLOAD DESCRIPTOR.message_types_by_name['HostMetadataPayload'] = _HOSTMETADATAPAYLOAD DESCRIPTOR.message_types_by_name['KubeMetadataPayload'] = _KUBEMETADATAPAYLOAD DESCRIPTOR.message_types_by_name['ECSMetadataPayload'] = _ECSMETADATAPAYLOAD -_sym_db.RegisterFileDescriptor(DESCRIPTOR) CommonMetadata = _reflection.GeneratedProtocolMessageType('CommonMetadata', (_message.Message,), dict( DESCRIPTOR = _COMMONMETADATA, @@ -1499,58 +1499,58 @@ )) _sym_db.RegisterMessage(CommonMetadata) -MetricsPayload = _reflection.GeneratedProtocolMessageType('MetricsPayload', (_message.Message,), dict( +MetricPayload = _reflection.GeneratedProtocolMessageType('MetricPayload', (_message.Message,), dict( - Sample = _reflection.GeneratedProtocolMessageType('Sample', (_message.Message,), dict( + Series = _reflection.GeneratedProtocolMessageType('Series', (_message.Message,), dict( Point = _reflection.GeneratedProtocolMessageType('Point', (_message.Message,), dict( - DESCRIPTOR = _METRICSPAYLOAD_SAMPLE_POINT, + DESCRIPTOR = _METRICPAYLOAD_SERIES_POINT, __module__ = 'agent_payload_pb2' - # @@protoc_insertion_point(class_scope:datadog.agentpayload.MetricsPayload.Sample.Point) + # @@protoc_insertion_point(class_scope:datadog.agentpayload.MetricPayload.Series.Point) )) , - DESCRIPTOR = _METRICSPAYLOAD_SAMPLE, + DESCRIPTOR = _METRICPAYLOAD_SERIES, __module__ = 'agent_payload_pb2' - # @@protoc_insertion_point(class_scope:datadog.agentpayload.MetricsPayload.Sample) + # @@protoc_insertion_point(class_scope:datadog.agentpayload.MetricPayload.Series) )) , - DESCRIPTOR = _METRICSPAYLOAD, + DESCRIPTOR = _METRICPAYLOAD, __module__ = 'agent_payload_pb2' - # @@protoc_insertion_point(class_scope:datadog.agentpayload.MetricsPayload) + # @@protoc_insertion_point(class_scope:datadog.agentpayload.MetricPayload) )) -_sym_db.RegisterMessage(MetricsPayload) -_sym_db.RegisterMessage(MetricsPayload.Sample) -_sym_db.RegisterMessage(MetricsPayload.Sample.Point) +_sym_db.RegisterMessage(MetricPayload) +_sym_db.RegisterMessage(MetricPayload.Series) +_sym_db.RegisterMessage(MetricPayload.Series.Point) -ServiceChecksPayload = _reflection.GeneratedProtocolMessageType('ServiceChecksPayload', (_message.Message,), dict( +ServiceCheckPayload = _reflection.GeneratedProtocolMessageType('ServiceCheckPayload', (_message.Message,), dict( ServiceCheck = _reflection.GeneratedProtocolMessageType('ServiceCheck', (_message.Message,), dict( - DESCRIPTOR = _SERVICECHECKSPAYLOAD_SERVICECHECK, + DESCRIPTOR = _SERVICECHECKPAYLOAD_SERVICECHECK, __module__ = 'agent_payload_pb2' - # @@protoc_insertion_point(class_scope:datadog.agentpayload.ServiceChecksPayload.ServiceCheck) + # @@protoc_insertion_point(class_scope:datadog.agentpayload.ServiceCheckPayload.ServiceCheck) )) , - DESCRIPTOR = _SERVICECHECKSPAYLOAD, + DESCRIPTOR = _SERVICECHECKPAYLOAD, __module__ = 'agent_payload_pb2' - # @@protoc_insertion_point(class_scope:datadog.agentpayload.ServiceChecksPayload) + # @@protoc_insertion_point(class_scope:datadog.agentpayload.ServiceCheckPayload) )) -_sym_db.RegisterMessage(ServiceChecksPayload) -_sym_db.RegisterMessage(ServiceChecksPayload.ServiceCheck) +_sym_db.RegisterMessage(ServiceCheckPayload) +_sym_db.RegisterMessage(ServiceCheckPayload.ServiceCheck) -EventsPayload = _reflection.GeneratedProtocolMessageType('EventsPayload', (_message.Message,), dict( +EventPayload = _reflection.GeneratedProtocolMessageType('EventPayload', (_message.Message,), dict( Event = _reflection.GeneratedProtocolMessageType('Event', (_message.Message,), dict( - DESCRIPTOR = _EVENTSPAYLOAD_EVENT, + DESCRIPTOR = _EVENTPAYLOAD_EVENT, __module__ = 'agent_payload_pb2' - # @@protoc_insertion_point(class_scope:datadog.agentpayload.EventsPayload.Event) + # @@protoc_insertion_point(class_scope:datadog.agentpayload.EventPayload.Event) )) , - DESCRIPTOR = _EVENTSPAYLOAD, + DESCRIPTOR = _EVENTPAYLOAD, __module__ = 'agent_payload_pb2' - # @@protoc_insertion_point(class_scope:datadog.agentpayload.EventsPayload) + # @@protoc_insertion_point(class_scope:datadog.agentpayload.EventPayload) )) -_sym_db.RegisterMessage(EventsPayload) -_sym_db.RegisterMessage(EventsPayload.Event) +_sym_db.RegisterMessage(EventPayload) +_sym_db.RegisterMessage(EventPayload.Event) SketchPayload = _reflection.GeneratedProtocolMessageType('SketchPayload', (_message.Message,), dict(