1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277
|
// Code generated by protoc-gen-go.
// source: google.golang.org/genproto/googleapis/monitoring/v3/agent.proto
// DO NOT EDIT!
/*
Package google_monitoring_v3 is a generated protocol buffer package.
It is generated from these files:
google.golang.org/genproto/googleapis/monitoring/v3/agent.proto
google.golang.org/genproto/googleapis/monitoring/v3/agent_service.proto
google.golang.org/genproto/googleapis/monitoring/v3/common.proto
google.golang.org/genproto/googleapis/monitoring/v3/group.proto
google.golang.org/genproto/googleapis/monitoring/v3/group_service.proto
google.golang.org/genproto/googleapis/monitoring/v3/metric.proto
google.golang.org/genproto/googleapis/monitoring/v3/metric_service.proto
It has these top-level messages:
CollectdValue
CollectdPayload
CreateCollectdTimeSeriesRequest
TypedValue
TimeInterval
Aggregation
Group
ListGroupsRequest
ListGroupsResponse
GetGroupRequest
CreateGroupRequest
UpdateGroupRequest
DeleteGroupRequest
ListGroupMembersRequest
ListGroupMembersResponse
Point
TimeSeries
ListMonitoredResourceDescriptorsRequest
ListMonitoredResourceDescriptorsResponse
GetMonitoredResourceDescriptorRequest
ListMetricDescriptorsRequest
ListMetricDescriptorsResponse
GetMetricDescriptorRequest
CreateMetricDescriptorRequest
DeleteMetricDescriptorRequest
ListTimeSeriesRequest
ListTimeSeriesResponse
CreateTimeSeriesRequest
CreateTimeSeriesError
*/
package google_monitoring_v3
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import _ "google.golang.org/genproto/googleapis/api/serviceconfig"
import google_protobuf2 "github.com/golang/protobuf/ptypes/timestamp"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// The type of measurement for the data source.
type CollectdValue_DataSourceType int32
const (
// An unspecified data source type.
// This corresponds to [google.api.MetricDescriptor.MetricKind.METRIC_KIND_UNSPECIFIED].
CollectdValue_UNSPECIFIED_DATA_SOURCE_TYPE CollectdValue_DataSourceType = 0
// An instantaneous measurement of a varying quantity.
// This corresponds to [google.api.MetricDescriptor.MetricKind.GAUGE].
CollectdValue_GAUGE CollectdValue_DataSourceType = 1
// A cumulative value over time.
// This corresponds to [google.api.MetricDescriptor.MetricKind.CUMULATIVE].
CollectdValue_COUNTER CollectdValue_DataSourceType = 2
// A rate of change of the measurement.
CollectdValue_DERIVE CollectdValue_DataSourceType = 3
// An amount of change since the last measurement interval.
// This corresponds to [google.api.MetricDescriptor.MetricKind.DELTA].
CollectdValue_ABSOLUTE CollectdValue_DataSourceType = 4
)
var CollectdValue_DataSourceType_name = map[int32]string{
0: "UNSPECIFIED_DATA_SOURCE_TYPE",
1: "GAUGE",
2: "COUNTER",
3: "DERIVE",
4: "ABSOLUTE",
}
var CollectdValue_DataSourceType_value = map[string]int32{
"UNSPECIFIED_DATA_SOURCE_TYPE": 0,
"GAUGE": 1,
"COUNTER": 2,
"DERIVE": 3,
"ABSOLUTE": 4,
}
func (x CollectdValue_DataSourceType) String() string {
return proto.EnumName(CollectdValue_DataSourceType_name, int32(x))
}
func (CollectdValue_DataSourceType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor0, []int{0, 0}
}
// A single data point from a `collectd`-based plugin.
type CollectdValue struct {
// The data source for the `collectd` value. For example there are
// two data sources for network measurements: `"rx"` and `"tx"`.
DataSourceName string `protobuf:"bytes,1,opt,name=data_source_name,json=dataSourceName" json:"data_source_name,omitempty"`
// The type of measurement.
DataSourceType CollectdValue_DataSourceType `protobuf:"varint,2,opt,name=data_source_type,json=dataSourceType,enum=google.monitoring.v3.CollectdValue_DataSourceType" json:"data_source_type,omitempty"`
// The measurement value.
Value *TypedValue `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
}
func (m *CollectdValue) Reset() { *m = CollectdValue{} }
func (m *CollectdValue) String() string { return proto.CompactTextString(m) }
func (*CollectdValue) ProtoMessage() {}
func (*CollectdValue) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
func (m *CollectdValue) GetDataSourceName() string {
if m != nil {
return m.DataSourceName
}
return ""
}
func (m *CollectdValue) GetDataSourceType() CollectdValue_DataSourceType {
if m != nil {
return m.DataSourceType
}
return CollectdValue_UNSPECIFIED_DATA_SOURCE_TYPE
}
func (m *CollectdValue) GetValue() *TypedValue {
if m != nil {
return m.Value
}
return nil
}
// A collection of data points sent from a `collectd`-based plugin.
// See the `collectd` documentation for more information.
type CollectdPayload struct {
// The measured values during this time interval.
// Each value must have a different `dataSourceName`.
Values []*CollectdValue `protobuf:"bytes,1,rep,name=values" json:"values,omitempty"`
// The start time of the interval.
StartTime *google_protobuf2.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
// The end time of the interval.
EndTime *google_protobuf2.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime" json:"end_time,omitempty"`
// The name of the plugin. Example: `"disk"`.
Plugin string `protobuf:"bytes,4,opt,name=plugin" json:"plugin,omitempty"`
// The instance name of the plugin Example: `"hdcl"`.
PluginInstance string `protobuf:"bytes,5,opt,name=plugin_instance,json=pluginInstance" json:"plugin_instance,omitempty"`
// The measurement type. Example: `"memory"`.
Type string `protobuf:"bytes,6,opt,name=type" json:"type,omitempty"`
// The measurement type instance. Example: `"used"`.
TypeInstance string `protobuf:"bytes,7,opt,name=type_instance,json=typeInstance" json:"type_instance,omitempty"`
// The measurement metadata. Example: `"process_id" -> 12345`
Metadata map[string]*TypedValue `protobuf:"bytes,8,rep,name=metadata" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
}
func (m *CollectdPayload) Reset() { *m = CollectdPayload{} }
func (m *CollectdPayload) String() string { return proto.CompactTextString(m) }
func (*CollectdPayload) ProtoMessage() {}
func (*CollectdPayload) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
func (m *CollectdPayload) GetValues() []*CollectdValue {
if m != nil {
return m.Values
}
return nil
}
func (m *CollectdPayload) GetStartTime() *google_protobuf2.Timestamp {
if m != nil {
return m.StartTime
}
return nil
}
func (m *CollectdPayload) GetEndTime() *google_protobuf2.Timestamp {
if m != nil {
return m.EndTime
}
return nil
}
func (m *CollectdPayload) GetPlugin() string {
if m != nil {
return m.Plugin
}
return ""
}
func (m *CollectdPayload) GetPluginInstance() string {
if m != nil {
return m.PluginInstance
}
return ""
}
func (m *CollectdPayload) GetType() string {
if m != nil {
return m.Type
}
return ""
}
func (m *CollectdPayload) GetTypeInstance() string {
if m != nil {
return m.TypeInstance
}
return ""
}
func (m *CollectdPayload) GetMetadata() map[string]*TypedValue {
if m != nil {
return m.Metadata
}
return nil
}
func init() {
proto.RegisterType((*CollectdValue)(nil), "google.monitoring.v3.CollectdValue")
proto.RegisterType((*CollectdPayload)(nil), "google.monitoring.v3.CollectdPayload")
proto.RegisterEnum("google.monitoring.v3.CollectdValue_DataSourceType", CollectdValue_DataSourceType_name, CollectdValue_DataSourceType_value)
}
func init() {
proto.RegisterFile("google.golang.org/genproto/googleapis/monitoring/v3/agent.proto", fileDescriptor0)
}
var fileDescriptor0 = []byte{
// 566 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x9c, 0x54, 0x5d, 0x8b, 0xd3, 0x40,
0x14, 0x35, 0xcd, 0x6e, 0xb7, 0x7b, 0xbb, 0xed, 0x86, 0x41, 0x24, 0x14, 0x1f, 0x42, 0xf7, 0xc1,
0x3c, 0x25, 0xd0, 0xa2, 0xa8, 0xfb, 0xa0, 0xfd, 0x88, 0x4b, 0x41, 0xdb, 0x92, 0xa6, 0x0b, 0x82,
0x12, 0xa6, 0xc9, 0x6c, 0x0c, 0x26, 0x33, 0x21, 0x99, 0x16, 0xfa, 0xc3, 0xfc, 0x53, 0xfe, 0x0a,
0x99, 0x49, 0xda, 0x5a, 0x28, 0xba, 0xfa, 0xd4, 0x3b, 0xf7, 0x9e, 0x73, 0x66, 0x7a, 0xce, 0x25,
0xf0, 0x2e, 0x62, 0x2c, 0x4a, 0x88, 0x15, 0xb1, 0x04, 0xd3, 0xc8, 0x62, 0x79, 0x64, 0x47, 0x84,
0x66, 0x39, 0xe3, 0xcc, 0x2e, 0x47, 0x38, 0x8b, 0x0b, 0x3b, 0x65, 0x34, 0xe6, 0x2c, 0x8f, 0x69,
0x64, 0x6f, 0xfa, 0x36, 0x8e, 0x08, 0xe5, 0x96, 0x04, 0xa1, 0xa7, 0x95, 0xc0, 0x01, 0x61, 0x6d,
0xfa, 0x9d, 0xc9, 0xe3, 0x64, 0x71, 0x16, 0xdb, 0x05, 0xc9, 0x37, 0x71, 0x40, 0x02, 0x46, 0x1f,
0xe2, 0xc8, 0xc6, 0x94, 0x32, 0x8e, 0x79, 0xcc, 0x68, 0x51, 0x5e, 0xd0, 0x79, 0xff, 0x3f, 0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